Contract template editing method and device, computer device and storage medium

Through the visual editing page, business personnel can import fixed templates, contract texts, and variables to generate contract templates, which solves the problem of low efficiency when branches use the head office version of contract templates and achieves efficient contract template creation.

CN114239525BActive Publication Date: 2025-12-23CHINA CONSTRUCTION BANK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111414513.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2025-12-23
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

When branches use the head office's contract template, local differences prevent them from meeting specific agreement requirements, resulting in low efficiency in contract template creation. This necessitates manual modification by professional IT personnel, which is time-consuming.

Method used

This paper provides a method for editing contract templates. Through a visual editing page, business personnel can import fixed templates, contract texts, and variables to generate contract templates, simplifying the operation process and reducing reliance on professional technical personnel.

Benefits of technology

It improved the efficiency of contract template creation, simplified the operation process, shortened the production time, reduced labor costs, and improved timeliness and editing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114239525B_ABST
    Figure CN114239525B_ABST
Patent Text Reader

Abstract

The application relates to a contract template editing method and device, computer equipment and a storage medium. The method comprises the following steps: displaying a contract template editing page, wherein the contract template editing page comprises a display area; in response to a fixed template import operation, adding the imported fixed template in the display area, the fixed template comprising a cover, a title page, a signature page and fixed clauses; in response to a contract text input operation, adding the input contract text in the display area, the contract text comprising agreed clauses; in response to a variable import operation, adding the imported variable in the display area, the variable corresponding to business data related to a contract; and generating a contract template based on the fixed template, the contract text and the variable in the display area. The method can improve the contract template production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of artificial intelligence recognition classification, in particular to a contract template editing method and device, computer equipment and storage medium. BACKGROUND

[0002] With the development of Internet technology, the bank business system supports the printing function of various contracts (such as loan contracts, mortgage contracts, etc.), but due to the local differences of the first branch, the branch may need to make special provisions for part of the contract clauses (after passing the branch legal review), and the system unified clauses cannot meet the needs, that is, the branch cannot directly use the contract template of the total line version hanging system.

[0003] In the traditional technology, the branch needs to submit the demand for special transformation of the contract template to the development center to meet the business needs, and the contract template is made and maintained by professional information technology (IT) personnel. However, the process of submitting demand to the development center is time-consuming, which affects the production efficiency of the contract template. SUMMARY

[0004] Therefore, it is necessary to provide a contract template editing method, device, computer equipment and storage medium capable of improving the production efficiency of the contract template to solve the above technical problems.

[0005] A contract template editing method, the method comprising:

[0006] displaying a contract template editing page, the contract template editing page comprising a display area;

[0007] in response to a fixed template import operation, adding the imported fixed template in the display area, the fixed template comprising a cover, a title page, a signature page and fixed clauses;

[0008] in response to a contract text input operation, adding the input contract text in the display area, the contract text comprising agreement clauses;

[0009] in response to a variable import operation, adding the imported variable in the display area, the variable corresponding to contract-related business data;

[0010] generating a contract template based on the fixed template, contract text and variable in the display area.

[0011] A contract template editing device, the device comprising:

[0012] a display module configured to display a contract template editing page, the contract template editing page comprising a display area;

[0013] The fixed template import module is configured to add an imported fixed template in the display area in response to a fixed template import operation, the fixed template including a cover, a title page, a signature page, and fixed clauses;

[0014] The contract text input module is configured to add an input contract text in the display area in response to a contract text input operation, the contract text including agreed clauses;

[0015] The variable import module is configured to add an imported variable in the display area in response to a variable import operation, the variable corresponding to business data related to a contract;

[0016] The generation module is configured to generate a contract template based on the fixed template, the contract text, and the variable in the display area.

[0017] A computer device includes a memory and a processor, the memory storing a computer program, and the processor implementing the following steps when executing the computer program:

[0018] A contract template editing page is displayed, the contract template editing page including a display area;

[0019] An imported fixed template is added in the display area in response to a fixed template import operation, the fixed template including a cover, a title page, a signature page, and fixed clauses;

[0020] An input contract text is added in the display area in response to a contract text input operation, the contract text including agreed clauses;

[0021] An imported variable is added in the display area in response to a variable import operation, the variable corresponding to business data related to a contract;

[0022] A contract template is generated based on the fixed template, the contract text, and the variable in the display area.

[0023] A computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the following steps:

[0024] A contract template editing page is displayed, the contract template editing page including a display area;

[0025] An imported fixed template is added in the display area in response to a fixed template import operation, the fixed template including a cover, a title page, a signature page, and fixed clauses;

[0026] An input contract text is added in the display area in response to a contract text input operation, the contract text including agreed clauses;

[0027] In response to the variable import operation, the imported variable is added in the display area, the variable corresponding to the business data related to the contract;

[0028] The contract template is generated based on the fixed template, the contract text and the variable in the display area.

[0029] A computer program product comprising a computer program which, when executed by a processor, implements the following steps:

[0030] A contract template editing page is displayed, the contract template editing page comprising a display area;

[0031] In response to the fixed template import operation, the imported fixed template is added in the display area, the fixed template comprising a cover, a title page, a signature page and fixed clauses;

[0032] In response to the contract text input operation, the input contract text is added in the display area, the contract text comprising agreed clauses;

[0033] In response to the variable import operation, the imported variable is added in the display area, the variable corresponding to the business data related to the contract;

[0034] The contract template is generated based on the fixed template, the contract text and the variable in the display area.

[0035] The contract template editing method, device, computer equipment and storage medium, a contract template editing page is displayed, the contract template editing page comprising a display area; in response to the fixed template import operation, the imported fixed template is added in the display area, the fixed template comprising a cover, a title page, a signature page and fixed clauses; in response to the contract text input operation, the input contract text is added in the display area, the contract text comprising agreed clauses; in response to the variable import operation, the imported variable is added in the display area, the variable corresponding to the business data related to the contract; the contract template is generated based on the fixed template, the contract text and the variable in the display area. Accordingly, through the visual editing page, the contract content can be edited like office software, and the contract template can be obtained visually and efficiently and conveniently; through the visual editing, the business personnel can realize the contract template production through simple import and input operations, the operation of contract production and maintenance is simplified, and general personnel can operate without submitting the demand to the development center and producing the contract template by the professional technical personnel, thereby shortening the production process of the contract template, reducing the time consumption, and improving the production efficiency of the contract template. BRIEF DESCRIPTION OF DRAWINGS

[0036] Figure 1 A flowchart of the contract template editing method in one embodiment;

[0037] Figure 2Fig. 1 is a schematic diagram of a contract template query page in an embodiment;

[0038] Figure 3 Fig. 2 is a schematic diagram of a contract template editing page in an embodiment;

[0039] Figure 4 Fig. 3 is a schematic diagram of a preview page in an embodiment;

[0040] Figure 5 Fig. 4 is a structural block diagram of a contract template editing device in an embodiment;

[0041] Figure 6 Fig. 5 is an internal structural diagram of a computer device in an embodiment. DETAILED DESCRIPTION

[0042] In order to make the purposes, technical solutions and advantages of the present application clearer, further detailed description will be made to the present application in combination with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.

[0043] The contract template editing method provided by the present application can be applied to a contract middle platform system. The contract middle platform system is a separate middle platform system positioned to provide an integrated contract law review, production, review, release and printing process and solution for a business system. The system can be constructed based on JAVA using a micro-service architecture and mainstream Web front-end technology. The product is standardized and has good compatibility. It can be compatible with mainstream browsers (based on webkit or trident core) and can be connected to business systems of different technical platforms. The contract middle platform system includes a visual editing function module. Business personnel can access the visual editing function module in the contract middle platform system through a terminal and use the visual editing function module to produce a contract template. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones and tablet computers.

[0044] In an embodiment, as shown in Figure 1 Fig. 1, a contract template editing method is provided. The method is described by taking a terminal as an example and includes the following steps S102 to S110.

[0045] S102, a contract template editing page is displayed. The contract template editing page includes a display area.

[0046] The contract template editing page refers to a page for editing contract template content. The display area is used to display the edited contract template content. Specifically, when a business personnel needs to produce a new contract template, the business personnel can access the contract middle platform system through a terminal, perform relevant page operations, and the terminal displays the contract template editing page.

[0047] In one embodiment, the step of displaying the contract template editing page can specifically include: displaying a contract template query page, the contract template query page including a new control; in response to a triggering operation on the new control, displaying the contract template editing page.

[0048] Specifically, the business personnel accesses the contract middle platform system through a terminal, and after clicking a contract template query control on a homepage, the terminal displays a contract template query page. Figure 2 As shown in the figure, a schematic diagram of the contract template query page in one embodiment is provided, and the contract template query page includes a query information input area, a control area, and a contract template list display area.

[0049] The inputtable query information in the query information input area includes but is not limited to template number, primary row number, organization number, basic product, template type, and contract status, and the input form includes but is not limited to directly inputting information through an input box and selecting optional information through a drop-down menu. After the business personnel completes the input of the query information, the business personnel initiates a query request by clicking a query button, and the query result is displayed through the contract template list display area. In addition, the business personnel can clear the input query information by clicking a reset button, so as to re-input.

[0050] The control area includes a plurality of controls that can realize corresponding functions when triggered, such as a new control, a modification control, a deletion control, an audit control, a browse control, a historical version control, and a variable update control. The new control is used to trigger the display of the contract template editing page. Specifically, the business personnel clicks the new control, the terminal displays a new page, the business personnel initiates a new request on the new page, and the terminal displays the contract template editing page.

[0051] In one embodiment, the new page includes a contract template basic information input area. The inputtable basic information in the contract template basic information input area includes but is not limited to template number, template name, basic product, template standard, template type, master-slave contract type, equipment type, organization number, and remarks, and the input form includes but is not limited to directly inputting information through an input box and selecting optional information through a drop-down menu. After the business personnel completes the input of the basic information, the business personnel initiates a new request by clicking a create button, and after the terminal receives the new request, the terminal displays the contract template editing page. In addition, the business personnel can also close the new page by clicking a cancel button or a close control in the upper right corner of the page.

[0052] As shown in the figure, Figure 3As shown, a schematic diagram of a contract template editing page in an embodiment is provided, which includes a display area, which is blank at this time. The contract template editing page can also include a function area, which includes a plurality of controls that can implement corresponding functions when triggered, such as return, keep, submit, single variable, logic variable, fixed template, editable area, blank in this column, pagination, cover title, main text title, clause title, preview, and the like. The function area can also include content editing areas such as font, font size, alignment format, and the like, so that a business person can edit according to actual needs.

[0053] In response to the fixed template import operation, the imported fixed template is added to the display area, and the fixed template includes a cover, a title page, a signature page, and fixed clauses.

[0054] The fixed template refers to the text content in the contract template, and does not include variable settings. The fixed template can be pre-made before the contract template is made, and can be reused to make the contract template more quickly later.

[0055] In an embodiment, the contract template editing page also includes a function area, and the function area includes a fixed template control. In response to the fixed template import operation, the step of adding the imported fixed template to the display area can specifically include: in response to a triggering operation on the fixed template control, a fixed template selection page is displayed; in response to a fixed template selection operation on the fixed template selection page, a fixed template corresponding to the fixed template selection operation is added to the display area; and the imported fixed template includes the fixed template corresponding to the fixed template selection operation.

[0056] Reference Figure 3 The function area of the contract template editing page includes a fixed template control, and a business person clicks the fixed template control. The terminal displays a fixed template selection page, which can be displayed as a pop-up window above the current contract template editing page.

[0057] In an embodiment, the fixed template selection page includes a fixed template selection area and a fixed template preview area. The fixed template selection area includes a fixed template list display area, in which information (such as a fixed template name) of the already-made fixed template is displayed in a list form. The fixed template selection area can also include a fixed template filtering condition input area, and the filterable conditions in the fixed template filtering condition input area include but are not limited to template type and first-level row, and the input forms include but are not limited to directly inputting conditions through an input box and selecting optional conditions through a drop-down menu.

[0058] The fixed template preview area is used for previewing the selected fixed template. When the business personnel clicks any fixed template in the fixed template list, the clicked fixed template is displayed in the fixed template preview area. After the business personnel completes the selection of the fixed template, the business personnel clicks the OK button. At this time, the selected fixed template by the business personnel is added in the display area of the contract template editing page, thereby realizing the import of the fixed template.

[0059] S106, in response to a contract text input operation, adding the input contract text in the display area, the contract text including the agreed terms.

[0060] The contract text refers to the contract content that is passed by the branch legal review, which includes the terms agreed by the branch features, and the input of the corresponding contract text can be combined with the actual business situation.

[0061] In one embodiment, the step of adding the input contract text in the display area in response to the contract text input operation can specifically include: in response to a paste operation in the display area, adding the contract text carried by the paste operation in the display area; and the input contract text includes the contract text carried by the paste operation.

[0062] The business personnel can add the required contract text to the display area of the contract template editing page by copying and pasting. The text and tables in the pasted contract text can be consistent with the original style of the law review contract, without the need for secondary editing, which is efficient and convenient.

[0063] S108, in response to a variable import operation, adding the imported variable in the display area, the variable corresponding to the business data related to the contract.

[0064] The variable can specifically include a single variable and a block variable. The single variable corresponds to the basic business data of the business system, mainly provides a single business data field definition related to the contract content, and the data variable that can be directly referenced in the contract template, such as the borrower's name, the type of identification, etc. The block variable includes a logic variable and a list variable. The logic variable is defined by the single variable, and outputs the predetermined contract content after the logical judgment of the single variable, such as the loan market quotation rate (LPR rate). The list variable is mainly used to generate the table content in the contract, and the data source is the list business data defined in the background, including the co-borrower, the guarantor, the mortgagor, the list of mortgaged properties, etc.

[0065] In one embodiment, the function area further includes a variable control; and the step of adding the imported variable in the display area in response to the variable import operation can specifically include: in response to a trigger operation on the variable control, displaying a variable selection page; in response to a variable selection operation in the variable selection page, adding the variable corresponding to the variable selection operation in the display area; and the imported variable includes the variable corresponding to the variable selection operation.

[0066] Referring to Figure 3 The variable control includes a single variable control and a logic variable control. The business personnel clicks the single variable control, and the terminal displays a single variable selection page, which can be displayed in a pop-up window above the current contract template editing page.

[0067] In an embodiment, the single variable selection page includes a single variable selection area and a single variable option area. The single variable selection area includes a single variable list display area, in which information (such as variable ID, variable name, classification, etc.) of the single variable stored in the variable library is displayed in a list form. The single variable selection area can also include a single variable filtering condition input area. The filterable conditions in the single variable filtering condition input area include but are not limited to variable name, classification, and system source, and the input forms include but are not limited to directly inputting conditions through an input box and selecting optional conditions through a drop-down menu. The single variable option area includes the following options: display blank (editable) when the value is empty, set default value (editable) when the value is empty, mark as editable, and mark underlined (not editable). After the business personnel completes the selection of the single variable, the business personnel clicks the confirm button, and the selected single variable is added to the corresponding position in the display area of the contract template editing page, thereby realizing the import of the single variable.

[0068] The business personnel clicks the logic variable control, and the terminal displays a logic variable selection page, which can be displayed in a pop-up window above the current contract template editing page.

[0069] In an embodiment, the logic variable selection page includes a logic variable selection area. The logic variable selection area includes a logic variable list display area, in which information (such as variable ID, variable name, insertion position, primary line, agency number, and timestamp) of the logic variable stored in the variable library is displayed in a list form. The logic variable selection area can also include a logic variable filtering condition input area. The filterable conditions in the logic variable filtering condition input area include but are not limited to variable name and primary line, and the input forms include but are not limited to directly inputting conditions through an input box and selecting optional conditions through a drop-down menu. After the business personnel completes the selection of the logic variable, the business personnel clicks the confirm button, and the selected logic variable is added to the corresponding position in the display area of the contract template editing page, thereby realizing the import of the logic variable.

[0070] S110, generating a contract template based on the fixed template, the contract text, and the variable in the display area.

[0071] After adding the fixed template, the contract text and the variable in the display area of the contract template editing page, the business personnel clicks the submit control in the function area of the contract template editing page, and the terminal displays a submission review page. Specifically, the submission review page can be displayed in a pop-up window above the current contract template editing page. In an embodiment, the submission review page includes a confirm button, and the business personnel clicks the confirm button to generate the contract template.

[0072] In the contract template editing method described above, the contract content can be edited like office software through the visual editing page, and the contract content can be obtained visually and efficiently. Through the visual editing, the business personnel can realize the production of the contract template through simple import and input operations, which simplifies the operation of contract production and maintenance, and general personnel can operate without the need to submit requirements to the development center and then have the contract template produced by professional technical personnel, thereby shortening the production process of the contract template, reducing the time consumption, and improving the production efficiency of the contract template.

[0073] In an embodiment, the function area further includes a preview control; in response to a triggering operation on the preview control, a preview page is displayed, and the generated contract template is displayed in the preview page.

[0074] Reference Figure 3 The function area of the contract template editing page includes a preview control, and the business personnel clicks the preview control to display a preview page on the terminal. Specifically, the preview page can be displayed in a pop-up window above the current contract template editing page. As shown in Figure 4 , a schematic diagram of the preview page in an embodiment is provided, and the preview page includes the generated contract template, so that the business personnel can check through the preview.

[0075] In an embodiment, the contract template query page further includes a modification control and a contract template list; in response to a selection operation on the contract template list, a contract template to be modified is determined; and in response to a triggering operation on the modification control, a contract template editing page is displayed, and the contract template to be modified is displayed in the contract template editing page.

[0076] After the contract template is submitted for review, if it is found that the contract template needs to be modified, the contract template can be edited and maintained again. The content maintained through this way includes but is not limited to the contract text and the single variable. Referring to Figure 2 The control area of the contract template query page includes a modification control, and the contract template list display area displays the information of the generated contract template in a list form (such as template serial number, template name, template number, state, basic product name, etc.). The business personnel selects the contract template in the contract template list and clicks the modification control, and the terminal displays a contract template editing page. At this time, the contract template to be modified (i.e., the selected contract template) is displayed in the contract template editing page, so that the business personnel can modify it.

[0077] In one embodiment, the contract template query page further includes a variable update control, the variable including a logical variable; in response to a selection operation on the contract template list, a contract template to be updated is determined; and in response to a triggering operation of the variable update control, the logical variable in the contract template to be updated is updated.

[0078] For logical variable parameters such as LPR interest rate and the like, there are many variable judgment conditions and various combinations, and complex logical judgment and calculation are required to obtain the corresponding results. Generally, policy documents are issued, and the time efficiency is high, the scope is wide, and errors cannot be made. The existing parameter variable modification needs to be modified in each contract, which is time-consuming and prone to errors, has low editing efficiency, high labor cost, poor risk control, and cannot respond to business needs and implement policy requirements in a timely manner. Based on this, the present embodiment uniformly manages the contract template variable parameters, and only needs to update and maintain the parameters in the variable library once, and the contracts that reference the variable parameters only need to be triggered by the system to take effect, thereby improving the editing efficiency and timeliness.

[0079] Reference Figure 2 The control area of the contract template query page further includes a variable update control. The business personnel selects a contract template in the contract template list and clicks the variable update control. The system automatically updates the logical variable in the contract template to be updated (i.e., the selected contract template). Accordingly, when maintaining the logical variable, the business personnel only needs to click the variable update control to take effect after the technical personnel maintain the logical variable in the variable library. For example, if the LPR interest rate and the like are changed, there is no need to edit and maintain each contract, thereby reducing the consumption of time and labor and reducing the probability of errors.

[0080] The above embodiments have the following advantages: through visual editing, the contract content can be edited like an office software (e.g., Word), the contract text is copied and pasted to the visual editing page according to the law review, the text and table in the visual editing page are consistent with the original law review contract style, and no secondary editing is required. The variable parameters are added at the corresponding positions, and the results can be obtained visually and efficiently and conveniently. Through visual editing, the process and operation of contract production and maintenance are simplified, and general personnel can handle the operation without the need to send the requirements to the development center for processing by professional technical personnel, thereby improving the timeliness. Through uniform management of the contract template variable parameters, the technical personnel only need to update and maintain the parameters in the variable library once, so that the contracts that reference the variable parameters only need to be clicked to take effect in the system, without the need to edit each contract again, thereby improving the editing efficiency, reducing the editing risk, improving the contract production timeliness, responding to business needs in a timely manner, and meeting policy requirements.

[0081] It should be understood that although the above embodiments involve that the steps in each flowchart are displayed in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in each flowchart involved in the above embodiments can include multiple steps or multiple stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least part of other steps or steps or stages in other steps.

[0082] In one embodiment, as shown in FIG. 5, a contract template editing apparatus 500 is provided, comprising a display module 510, a fixed template import module 520, a contract text input module 530, a variable import module 540, and a generation module 550, wherein: Figure 5

[0083] The display module 510 is configured to display a contract template editing page, and the contract template editing page comprises a display area.

[0084] The fixed template import module 520 is configured to add an imported fixed template in the display area in response to a fixed template import operation, and the fixed template comprises a cover, a title page, a signature page, and a fixed clause.

[0085] The contract text input module 530 is configured to add an input contract text in the display area in response to a contract text input operation, and the contract text comprises an agreement clause.

[0086] The variable import module 540 is configured to add an imported variable in the display area in response to a variable import operation, and the variable corresponds to business data related to the contract.

[0087] The generation module 550 is configured to generate a contract template based on the fixed template, the contract text, and the variable in the display area.

[0088] In one embodiment, the contract template editing page further comprises a function area, and the function area comprises a fixed template control; the fixed template import module 520 comprises a fixed template selection page display unit and a fixed template adding unit; the fixed template selection page display unit is configured to display a fixed template selection page in response to a triggering operation on the fixed template control; and the fixed template adding unit is configured to add a fixed template corresponding to a fixed template selection operation in the display area in response to the fixed template selection operation in the fixed template selection page; and the imported fixed template comprises the fixed template corresponding to the fixed template selection operation.

[0089] ​In an embodiment, the function area further includes a variable control; the variable import module 540 includes: a variable selection page display unit and a variable adding unit; the variable selection page display unit is configured to display a variable selection page in response to a triggering operation on the variable control; the variable adding unit is configured to add a variable corresponding to a variable selection operation in the display area in response to the variable selection operation on the variable selection page; the imported variable includes the variable corresponding to the variable selection operation.

[0090] In an embodiment, the contract text input module 530 is specifically configured to: add contract text carried by a paste operation in the display area in the display area in response to the paste operation; the input contract text includes the contract text carried by the paste operation.

[0091] In an embodiment, the function area further includes a preview control; the display module 510 is further configured to: display a preview page in response to a triggering operation on the preview control, and display the generated contract template in the preview page.

[0092] In an embodiment, the display module 510 includes: a contract template query page display unit and a contract template editing page display unit; the contract template query page display unit is configured to display a contract template query page, and the contract template query page includes a new control; the contract template editing page display unit is configured to display a contract template editing page in response to a triggering operation on the new control.

[0093] In an embodiment, the contract template query page further includes a modification control and a contract template list; the apparatus further includes: a determination module configured to determine a contract template to be modified in response to a selection operation on the contract template list; and the display module 510 is further configured to display the contract template editing page in response to a triggering operation on the modification control, and display the contract template to be modified in the contract template editing page.

[0094] In an embodiment, the contract template query page further includes a variable updating control, and the variable includes a logical variable; the determination module is further configured to determine a contract template to be updated in response to a selection operation on the contract template list; and the apparatus further includes an updating module configured to update the logical variable in the contract template to be updated in response to a triggering operation on the variable updating control.

[0095] For specific limitations of the contract template editing apparatus, refer to the limitations of the contract template editing method in the foregoing, which will not be described here. Each module in the contract template editing apparatus described above can be realized by software, hardware, and combinations thereof, in whole or in part. Each module described above can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform operations corresponding to each module.

[0096] In one embodiment, a computer device is provided, which can be a terminal, and an internal structure diagram thereof can be as shown in FIG. 1. Figure 6 The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is configured to perform wired or wireless communication with an external terminal. The wireless communication can be achieved through WIFI, an operator network, NFC (Near Field Communication) or other technologies. The computer program is executed by the processor to implement a contract template editing method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.

[0097] Those skilled in the art can understand that Figure 6 The structure shown in FIG. 1 is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0098] In one embodiment, a computer device is provided, which can be a terminal, and an internal structure diagram thereof can be as shown in FIG. 1.

[0099] In one embodiment, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.

[0100] In one embodiment, a computer program product or computer program is provided, which includes computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium. The processor executes the computer instructions to make the computer device perform the steps in the above method embodiments.

[0101] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, storage, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0102] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, but as long as the combination of the technical features does not exist, it should be considered as the scope of the present application.

[0103] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, some modifications and improvements can be made, which are all within the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A contract template editing method characterized by, The method comprises: displaying a contract template editing page, the contract template editing page comprising a display area; in response to a fixed template import operation, adding the imported fixed template in the display area, the fixed template comprising a cover, a title page, a signature page and fixed clauses; in response to a contract text input operation, adding the input contract text in the display area, the contract text comprising agreed clauses; in response to a variable import operation, adding the imported variable in the display area, the variable corresponding to business data related to a contract, the variable comprising a single variable and a block variable, the single variable being used to represent a data variable that can be directly referenced by a contract template, the block variable comprising a logic variable and a list variable, the logic variable being used to represent contract content output after logical judgment on the single variable, and the list variable being used to generate table content; generating a contract template based on the fixed template, the contract text and the variable in the display area; the contract template editing page further comprising a variable update control; the method further comprising: in response to a selection operation on the contract template list, determining a contract template to be updated; in response to a triggering operation of the variable update control, updating the logic variable in the contract template to be updated.

2. The method of claim 1, wherein, the contract template editing page further comprising a function area, the function area comprising a fixed template control; in response to a fixed template import operation, adding the imported fixed template in the display area, comprising: in response to a triggering operation of the fixed template control, displaying a fixed template selection page; in response to a fixed template selection operation on the fixed template selection page, adding the fixed template corresponding to the fixed template selection operation in the display area; the imported fixed template comprising the fixed template corresponding to the fixed template selection operation.

3. The method of claim 2, wherein, the function area further comprising a variable control; in response to a variable import operation, adding the imported variable in the display area, comprising: in response to a triggering operation of the variable control, displaying a variable selection page; in response to a variable selection operation on the variable selection page, adding the variable corresponding to the variable selection operation in the display area; the imported variable comprising the variable corresponding to the variable selection operation.

4. The method of claim 1, wherein, in response to a contract text input operation, adding the input contract text in the display area, comprising: in response to a paste operation in the display area, adding the contract text carried by the paste operation in the display area; the input contract text comprising the contract text carried by the paste operation.

5. The method of claim 2, wherein, the function area further comprising a preview control; the method further comprising: in response to a triggering operation of the preview control, displaying a preview page, and displaying the generated contract template in the preview page.

6. The method according to any one of claims 1 to 5, characterized in that, displaying a contract template editing page, comprising: displaying a contract template query page, the contract template query page comprising a new control; in response to a triggering operation of the new control, displaying a contract template editing page.

7. The method of claim 6, wherein, the contract template query page further comprising a modification control and a contract template list; the method further comprising: In response to a selection operation on the contract template list, a contract template to be modified is determined; In response to a triggering operation on the modification control, a contract template editing page is displayed, and the contract template to be modified is displayed in the contract template editing page.

8. A contract template editing apparatus characterized by comprising: The apparatus comprises: A display module configured to display a contract template editing page, the contract template editing page comprising a display area; A fixed template import module configured to add an imported fixed template in the display area in response to a fixed template import operation, the fixed template comprising a cover, a title page, a signature page, and fixed clauses; A contract text input module configured to add an input contract text in the display area in response to a contract text input operation, the contract text comprising agreed clauses; A variable import module configured to add an imported variable in the display area in response to a variable import operation, the variable corresponding to business data related to a contract, the variable comprising a single variable and a block variable, the single variable being used to represent a data variable that can be directly referenced by a contract template, the block variable comprising a logic variable and a list variable, the logic variable being used to represent contract content output after logical judgment on the single variable, and the list variable being used to generate table content; A generation module configured to generate a contract template based on the fixed template, the contract text, and the variable in the display area; The contract template query page further comprises a variable update control; The determination module is further configured to determine a contract template to be updated in response to a selection operation on the contract template list; The apparatus further comprises an update module configured to update a logic variable in the contract template to be updated in response to a triggering operation of the variable update control.

9. The apparatus of claim 8, wherein, The contract template editing page further comprises a function area, and the function area comprises a fixed template control; the fixed template import module comprises: A fixed template selection page display unit configured to display a fixed template selection page in response to a triggering operation of the fixed template control; A fixed template adding unit configured to add a fixed template corresponding to a fixed template selection operation in the display area in response to the fixed template selection operation on the fixed template selection page; the imported fixed template comprises the fixed template corresponding to the fixed template selection operation.

10. The apparatus of claim 9, wherein, The function area further comprises a variable control; the variable import module comprises: A variable selection page display unit configured to display a variable selection page in response to a triggering operation of the variable control; A variable adding unit configured to add a variable corresponding to a variable selection operation in the display area in response to the variable selection operation on the variable selection page; the imported variable comprises the variable corresponding to the variable selection operation.

11. The apparatus of claim 8, wherein, The contract text input module is specifically configured to: add a contract text carried by a paste operation in the display area in response to the paste operation in the display area; the input contract text comprises the contract text carried by the paste operation.

12. The apparatus of claim 9, wherein, The function area further comprises a preview control; and the display module is further configured to: In response to a triggering operation on the preview control, a preview page is displayed, and the generated contract template is displayed in the preview page.

13. The apparatus of any one of claims 8-12, wherein, The display module comprises: The contract template query page display unit is configured to display a contract template query page, wherein the contract template query page comprises a new control; The contract template editing page display unit is configured to display a contract template editing page in response to a triggering operation on the new control.

14. The apparatus of claim 13, wherein, The contract template query page further comprises a modification control and a contract template list; wherein The determination module is configured to determine a contract template to be modified in response to a selection operation on the contract template list. The display module is further configured to display the contract template editing page and display the contract template to be modified in the contract template editing page in response to a triggering operation on the modification control.

15. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that, The processor executes the computer program to implement the steps of the method of any one of claims 1 to 8.

16. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 7.

17. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 7.

Citation Information

Patent Citations

  • Electronic contract template generation method and device, computer equipment and storage medium

    CN109800404A