Electronic contract generation method and device, equipment, storage medium and program product
Through the personalized configuration and data processing of the template generation engine, the problem of insufficient flexibility in the formulation of electronic contract generation methods is solved, and flexible and accurate electronic contract generation is achieved to adapt to diverse business needs and legal requirements.
Patent Information
- Application Number
- CN202411431625.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-14
- Publication Date
- 2025-01-14
AI Technical Summary
The existing electronic contract generation methods are difficult to adapt to diversified business needs, resulting in low flexibility in formulation, unable to quickly adjust to adapt to emerging business terms and conditions, and fixed templates may not comply with the legal and business habits of different industries and countries.
Through the template generation engine, users can select and personalize the target business control from preset business controls, generate contract templates based on the target attribute information and relative positions, and generate electronic contracts based on this, supporting data selection and replacement, and data format conversion Adapt to different needs.
It improves the flexibility of electronic contract formulation, can generate personalized contract templates and electronic contracts according to specific business needs, reduces manual adjustment and maintenance costs, and improves the relevance and accuracy of the contract.
Smart Images

Figure CN119312786A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to methods, devices, equipment, storage media and program products for generating electronic contracts. Background Art
[0002] With the development of the digital economy, electronic contracts have become an important part of business activities.
[0003] Currently, users usually fill in the content based on a pre-designed contract template to generate an electronic contract, which is difficult to adapt to diverse business needs and reduces the flexibility of formulating electronic contracts. Summary of the invention
[0004] The main purpose of this application is to provide an electronic contract generation method, device, equipment, storage medium and program product, aiming to solve the technical problem of low flexibility in the formulation of electronic contracts.
[0005] To achieve the above objectives, the present application proposes a method for generating an electronic contract, the method comprising:
[0006] Applied to a template generation engine, the method includes:
[0007] In response to an attribute configuration operation on a target business control in a display interface, target attribute information of the target business control is determined, wherein the target business control is selected from at least one preset business control displayed in the display interface;
[0008] In response to a drag-and-drop operation on the target business control between a plurality of preset areas on the display interface, determining a target relative position of the target business control in the display interface;
[0009] Generate a contract template based on the target business control, target attribute information and the target relative position;
[0010] Based on the contract template, a target electronic contract is generated.
[0011] In one embodiment, before the step of determining the target attribute information of the target business control, the method further includes:
[0012] Displaying a control library in the display interface, wherein the control library stores preset business controls, and the preset business controls are generated based on preset basic controls and business attribute information;
[0013] In response to a determination operation on a control library in a display interface, displaying a preset business type;
[0014] In response to a determination operation on a preset business type in the display interface, at least one preset business control corresponding to the target business type is displayed based on a mapping relationship between the preset business type and the preset business control.
[0015] In one embodiment, the step of determining target attribute information of the target business control in response to an attribute configuration operation on the target business control in the display interface includes:
[0016] In response to a property configuration operation on a target business control in a display interface, displaying a display property configuration interface, a function property configuration interface and / or an interaction property configuration interface of the target business control in the display interface;
[0017] In response to a modification operation on the information to be configured in the display attribute configuration interface, the function attribute configuration interface and / or the interaction attribute configuration interface, the display attribute information, the function attribute information and / or the interaction attribute information of the target business control is determined.
[0018] In one embodiment, the step of generating a contract template based on the target business control, the target attribute information and the target relative position further includes:
[0019] In response to a determination operation on the preview function button displayed in the display interface, generating a preview contract based on the target business control, target attribute information and the target relative position;
[0020] In response to a confirmation operation on the previewed contract, a contract template is generated.
[0021] In one embodiment, the step of generating a target electronic contract based on the contract template includes:
[0022] In response to a data selection operation on a target business control in the display interface, based on an association relationship between a preset business control and preset business data, determining target business data corresponding to the target business control;
[0023] Fill the target business data into the contract template to generate a target electronic contract.
[0024] In one embodiment, after the step of determining the target business data corresponding to the target business control based on the association relationship between the preset business control and the preset business data in response to the data selection operation on the target business control in the display interface, the step further includes:
[0025] In response to a modification operation on the data source configuration information of the target business control, determining new business data corresponding to the target business control;
[0026] Replacing the target service data with the new service data;
[0027] Before the step of replacing the target service data with the new service data, the method further includes:
[0028] The data format of the new business data is converted into a preset supported format, and / or the new business data is standardized to obtain processed business data.
[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic contract generation device, the electronic contract generation device comprising:
[0030] an attribute configuration module, configured to determine target attribute information of a target business control in response to an attribute configuration operation on a target business control in a display interface, wherein the target business control is selected from at least one preset business control displayed in the display interface;
[0031] a position determination module, configured to determine a target relative position of the target business control in the display interface in response to a drag-and-drop operation between a plurality of preset areas of the display interface for the target business control;
[0032] A template generation module, used to generate a contract template based on the target business control, target attribute information and the target relative position;
[0033] The contract generation module is used to generate a target electronic contract based on the contract template.
[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic contract generation device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the electronic contract generation method described above.
[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the electronic contract generation method described above are implemented.
[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the electronic contract generation method described above.
[0037] One or more technical solutions proposed in this application have at least the following technical effects:
[0038] The template generation engine of the present application can determine the target attribute information of the target business control in response to the attribute configuration operation of the target business control selected from at least one preset business control displayed in the display interface, and realize the personalized configuration of the target business control; the template generation engine can determine the target relative position of the target business control in the display interface in response to the drag and drop operation between multiple preset areas of the display interface for the target business control, and realize the layout of the target business control; thereby, a contract template is generated based on the selected target business control, the target relative position of the target business control, and the target attribute information of the target business control.
[0039] It can be understood that the user can select a target business control from at least one preset business control, and can personalize and layout the target business control according to their own needs, thereby flexibly generating a contract template based on the selected target business control, personalized configuration and personalized layout; and then generating a personalized target electronic contract based on the flexibly generated contract template; compared with the method of generating an electronic contract based on filling in content on the basis of a pre-designed contract template in the related art, the present application can enhance the flexibility in formulating electronic contracts. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0042] Figure 1 A flowchart of the first embodiment of the electronic contract generation method of the present application is provided;
[0043] Figure 2 A schematic diagram of the first scenario provided for Embodiment 1 of the electronic contract generation method of the present application;
[0044] Figure 3 A schematic diagram of a second scenario provided for Embodiment 1 of the electronic contract generation method of this application;
[0045] Figure 4 A flowchart of the second embodiment of the electronic contract generation method of the present application is provided;
[0046] Figure 5 A schematic diagram of the third scenario provided for Embodiment 2 of the electronic contract generation method of this application;
[0047] Figure 6 This is a schematic diagram of the module structure of the electronic contract generation device according to an embodiment of the present application;
[0048] Figure 7 This is a schematic diagram of the device structure of the hardware operating environment involved in the electronic contract generation method in the embodiment of the present application.
[0049] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0051] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0052] Based on this, the present application embodiment provides a method for generating an electronic contract, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the electronic contract generation method of the present application.
[0053] In this embodiment, the electronic contract generation method includes steps S10 to S40:
[0054] Step S10, in response to an attribute configuration operation for a target business control in a display interface, determining target attribute information of the target business control, wherein the target business control is selected from at least one preset business control displayed in the display interface;
[0055] It should be noted that with the development of the digital economy, electronic contracts have become an important part of business activities. At present, users usually fill in the content based on pre-designed contract templates to generate electronic contracts, which is difficult to adapt to diverse business needs and reduces the flexibility of electronic contract formulation; specifically, it usually manifests itself in the following forms:
[0056] 1. The types of contract templates are relatively fixed. When different customers face different business needs, there is limited room for template adjustment, and it is difficult to quickly adapt to emerging business terms and conditions, such as new payment methods, delivery deadlines or performance standards, etc. Different industries have their own unique contract requirements and regulatory compliance, and fixed templates may not be able to meet these specific needs. 2. The types of contract templates are relatively fixed. When different customers face different business needs, there is limited room for template adjustment, which may limit the freedom of both parties to negotiate specific terms in business negotiations. 3. Reduce the relevance of the contract: If the business environment changes rapidly, the fixed contract template may no longer be fully relevant or applicable, resulting in the contract being unable to accurately reflect the actual business intent and risk allocation. 4. Cross-border transactions usually involve the laws and business practices of different countries, and fixed templates may find it difficult to take into account these complexities and diversities.
[0057] In order to solve the above problems, this embodiment provides an electronic contract generation method, which aims to improve the flexibility of electronic contract generation; the execution subject of this embodiment can be a template generation engine, or can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device that can realize the above functions, an electronic contract generation device, etc. The following takes the template generation engine as an example to illustrate this embodiment and the following embodiments.
[0058] Reference Figure 1 The template generation engine can be subordinate to the template management module in the contract management system. The contract management system also includes a business layer. For example, the business layer is used to manage business processes, such as contract initiation, contract approval, contract ledger, contract signing, certificate issuance, etc. The contract management system also includes a data layer. The data layer is used to manage contract data, such as contract ledgers, agreements, contract transaction data, template data, contract task data, etc. The contract management system also includes a business middle platform, which is used to manage the electronic signatures of external manufacturers required for contract generation.
[0059] Specifically, the template generation engine includes a front-end display layer, a logic processing layer and a data access layer. The front-end display layer is used to provide a visual operation interface through a visual editor; the logic processing layer is used to process the operation requests sent by the front end and execute the relevant steps of the electronic contract generation method; the data access layer is used to interact with the back-end data source, for example, data binding, data verification, data storage and retrieval, etc.
[0060] During the application process, the visual operation interface contains basic operation buttons, such as save, cancel, redo, etc. If the user needs to generate an electronic contract, he can perform visual operations in the display interface generated by the front-end display layer of the template generation engine.
[0061] Specifically, there is at least one preset business control displayed in the display interface. The user can select a target business control from the at least one preset business control based on business needs, and perform attribute configuration operations on the target business control. The template generation engine can determine the target attribute information of the target business control in response to the attribute configuration operation on the target business control in the display interface.
[0062] In order to facilitate the management of the preset business control, before the step of determining the target attribute information of the target business control, the method further includes:
[0063] A control library is displayed in the display interface, wherein the control library stores preset business controls, and the preset business controls are generated based on preset basic controls and business attribute information; in response to a determination operation on the control library in the display interface, a preset business type is displayed; in response to a determination operation on the preset business type in the display interface, based on a mapping relationship between the preset business type and the preset business control, at least one preset business control corresponding to the target business type is displayed.
[0064] It can be understood that front-end technologies such as HTML (HyperText Markup Language), CSS (Cascading Style Sheets) and JavaScript (a writing language) can be used to display the control library in the display interface. Users can select corresponding preset business controls from the control library. Since the preset business controls are generated based on preset basic controls and business attribute information, when the business attribute information is different, the corresponding preset business controls are different, which improves the diversity of business controls.
[0065] Specifically, the user can select different preset business types displayed in the control library, and thus quickly determine the required target business control based on the mapping relationship between the preset business type and the preset business control.
[0066] The control library stores preset business controls, which can be reused or combined to meet different contract requirements. That is, each preset business control is an independent module that can be developed, tested and deployed separately, which is conducive to the maintenance and expansion of the control library, allowing new control types to be added quickly or existing controls to be updated; specifically, React (an open source JavaScript library for building user interfaces) front-end framework can be used to build controls, and its componentization characteristics can be used to simplify development.
[0067] It should be noted that the preset basic controls include: Text box control: used to enter text information in the contract, supporting properties including text size, color, alignment, etc. Drop-down control: used to select options in the contract, supporting properties including single-select list. Date picker control: used to select a specific date in the contract, supporting properties including date format, optional range, etc. Amount input control: specially used for amount input to ensure the accuracy of data format. Signature area control: used for electronic signatures of contract signatories. Supported properties include signature position, size, verification mechanism, etc.
[0068] The specific implementation method based on the preset basic controls and business attribute information generation can be: based on the functions required by different businesses, different preset basic controls are combined, and business attribute information is added to obtain preset business controls with business attributes; wherein the business attribute information includes employee information (including avatar, name, former name, mobile phone number, employee number, department, position, job title, rank, work email, business group, concurrent position, reporting superior, landline number, work location, remarks); employment information (including date of entry, employee type, employee status, planned probation period, actual probation period, planned regularization date, actual regularization date, company length of service start date, company length of service deduction date, company length of service); resignation information (including application date, planned resignation date, actual resignation date, salary settlement date, resignation type, resignation reason, resignation materials, resignation remarks); personal information (including certificate The following information shall be used for the employee information: document type, document number, gender, date of birth, age, ID address, document issuance date, document expiration date, nationality / region, ethnicity, whether married, whether having children, political status, personal email address, first employment date, length of service deduction period, length of service, household registration status, household registration location, current address, contact address); emergency contact information (including emergency contact person, emergency contact phone number); education background (including graduation school, academic background, major, graduation time, and education background attachments); work experience (including work unit, previous positions, start date of work, end date of work, reference person, reference person contact number, previous reasons for leaving, leaving salary, and work experience attachments); contract information (including contract company, contract number, contract type, contract term, contract start date, contract expiration date, contract status, and contract information attachments) and employee file custom information.
[0069] Therefore, based on the functions required by different businesses, the above basic controls are combined, and employee information, contract information, educational experience, etc. are added. The preset business controls with business attributes obtained can be employee information filling controls, contract information filling controls, educational experience filling controls, etc.
[0070] Specifically, in response to the attribute configuration operation on the target business control in the display interface, the implementation method of determining the target attribute information of the target business control may be:
[0071] In response to an attribute configuration operation on a target business control in a display interface, a display attribute configuration interface, a functional attribute configuration interface and / or an interactive attribute configuration interface of the target business control is displayed in the display interface; in response to a modification operation on information to be configured in the display attribute configuration interface, the functional attribute configuration interface and / or the interactive attribute configuration interface, the display attribute information, the functional attribute information and / or the interactive attribute information of the target business control is determined.
[0072] It can be understood that each preset business control has configurable properties, such as display attribute information, functional attribute information and / or interactive attribute information, among which display attributes include size, color, font, etc., which are used to set the appearance of the control; functional attributes include required item identification, data binding, validation rules, etc., which are used to set the function of the control; interactive attributes include click events, keyboard navigation, etc., which are used to set the way users interact with the control.
[0073] After determining the target business control, the user can click on the target business control in the display interface to trigger the property configuration operation, and the template generation engine can display the display property configuration interface, function property configuration interface and / or interaction property configuration interface of the target business control in the display interface; thereby, the user can modify the configuration information in the display property configuration interface, function property configuration interface and / or interaction property configuration interface to obtain the display property information, function property information and / or interaction property information of the target business control required by the user.
[0074] Step S20, in response to a drag-and-drop operation on the target business control between a plurality of preset areas on the display interface, determining a target relative position of the target business control in the display interface;
[0075] After selecting the target business control, the user can also drag and drop the target business control between multiple preset areas of the display interface, that is, by dragging and dropping, the target business control can be placed in a position that the user finds appropriate, thereby realizing the layout of the contract.
[0076] Specifically, the template generation engine determines the target relative position of the target business control in the display interface in response to the drag-and-drop operation on the target business control between multiple preset areas of the display interface. The user can configure the format attributes of the target business control, for example, configure the size and spacing of the target business control to achieve the layout of the control; or the user can also zoom in, zoom out, move, drag, etc. on the target business control. The template generation engine determines the initial relative position of the target business control in the display interface in response to the drag-and-drop operation on the target business control between multiple preset areas of the display interface; in response to the size adjustment operation on the target business control, the target relative position of the target business control in the display interface is determined to achieve the layout of the control.
[0077] The properties configured by the user for the target business control may all be: the detailed properties of the control are displayed in the property panel in the display interface for the user to modify.
[0078] Step S30, generating a contract template based on the target business control, target attribute information and the target relative position;
[0079] Furthermore, the template generation engine generates a contract template based on the target business control, target attribute information and the target relative position. It can be understood that the layout of the contract is completed after the user selects the target business control, configures the target attribute information and the target relative position. Therefore, the template generation engine only needs to directly generate the contract template based on the information after the user's layout, thereby realizing the personalized generation of the contract template.
[0080] In order to improve user satisfaction with the template, the specific implementation method of generating a contract template based on the target business control, target attribute information and the target relative position includes:
[0081] In response to a confirmation operation on the preview function button displayed in the display interface, a preview contract is generated based on the target business control, target attribute information and the target relative position; in response to a confirmation operation on the preview contract, a contract template is generated.
[0082] It can be understood that during the process of users editing the target business controls, a real-time preview function of the contract template is provided to users; specifically, users can preview the contract template by clicking the preview function button to facilitate users to modify the target business controls. When the user triggers the confirmation operation of the previewed contract, a contract template is generated, thereby improving the efficiency of contract template generation and user convenience.
[0083] Furthermore, the user is allowed to save, modify, delete, load and manage the contract template.
[0084] Step S40: Generate a target electronic contract based on the contract template.
[0085] Furthermore, after generating a personalized contract template, the template generation engine can generate a target electronic contract based on the contract template. Specifically, the target electronic contract can be generated based on the contract template and data filled in by the user, or the target electronic contract can be generated based on the contract template and data imported by the user; for example, the data access layer of the template generation engine obtains the data imported by the user, and the logic processing layer of the template generation engine determines the fill position corresponding to the contract template based on the data imported by the user, fills in the data, and generates the target electronic contract.
[0086] It should be noted that the logic processing layer and data access layer of the above template generation engine can be developed using Java backend technology.
[0087] The data storage such as the storage of the above-mentioned control library, contract templates and target electronic contracts all involve database technology. Specifically, MySQL (a relational database) database technology can be used for data storage; the stored data format can be JSON (JavaScript Object Notation, a data format) or XML (eXtensible MarkupLanguage, a markup language) format.
[0088] In this embodiment, the user can select a target business control from at least one preset business control, and can personalize and layout the target business control according to their own needs, thereby flexibly generating a contract template based on the selected target business control, personalized configuration and personalized layout; and then generating a personalized target electronic contract based on the flexibly generated contract template; compared with the method of generating an electronic contract based on filling in content on the basis of a pre-designed contract template in the related art, the present application can enhance the flexibility in formulating electronic contracts.
[0089] And, refer to Figure 3In this embodiment, a control library is designed to provide business controls; a template generation engine is developed to provide a dynamic generation function for contract templates; a visual editor is implemented to provide a user-friendly contract template configuration interface; the above method can reduce maintenance costs, and only the controls need to be updated, reducing the need for manual code writing; the operation is relatively simple, and users do not need to spend a lot of time modifying fixed templates to meet specific needs, while avoiding the time-consuming and error-prone problems of manually formulating contract templates, improving user experience and satisfaction while improving the accuracy and efficiency of contract production; the generation of contract templates is realized based on a combination of different business controls, which is convenient for integration with the company's existing IT systems and workflows, and is convenient for updating and iteration, thereby improving the efficiency of contract production.
[0090] In addition, the template generation engine of this embodiment can also be integrated with external systems, for example, with business systems (such as CRM (Customer Relationship Management) and ERP (Enterprise Resource Planning)) to improve business processing efficiency.
[0091] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 4 , step S40 includes steps S01-S02:
[0092] Step S01, in response to a data selection operation on a target business control in a display interface, determining target business data corresponding to the target business control based on an association relationship between a preset business control and preset business data;
[0093] It should be noted that, generally, the template generation engine is integrated with the business system or the internal enterprise system, that is, the business data corresponding to different business attributes are pre-bound. For example, the business data corresponding to the personal information filling control is personal information, and the business data corresponding to the employment information filling control is employment information.
[0094] Specifically, before generating an electronic contract, the user can select the data corresponding to the target business control. For example, the personal information filling control corresponds to multiple selectable employee names. The user can select the corresponding employee name, as well as the association between the preset business control and the preset business data. The template generation engine reads the target business data (personal information corresponding to the employee name selected by the user) from the corresponding business system or the internal enterprise system through the API (Application Programming Interface), thereby realizing dynamic data filling and data updating of the contract template.
[0095] In order to further improve user convenience, after the step of determining the target business data corresponding to the target business control based on the association relationship between the preset business control and the preset business data in response to the data selection operation for the target business control in the display interface, the step further includes:
[0096] In response to a modification operation on the data source configuration information of the target business control, new business data corresponding to the target business control is determined; and the target business data is replaced with the new business data.
[0097] Specifically, users can change the data source configuration information and specify the data source, for example, modify the database field or API interface, etc., to achieve dynamic binding between the control and the backend data source; if the data source is updated, the data already filled in the contract template will also be automatically updated.
[0098] In order to increase the feasibility of this function, before the step of replacing the target business data with the new business data, it is also possible to: convert the data format of the new business data into a preset supported format, and / or standardize the new business data to obtain processed business data.
[0099] If the current template generation engine only supports several preset data formats, when the format of the data source configured by the user does not belong to the preset data format or the data format is not uniform enough, the data format of the new business data can be converted into the preset supported format, or the new business data can be standardized to obtain the processed business data; so as to improve the standardization of the contract template.
[0100] Step S02, filling the target business data into the contract template to generate a target electronic contract.
[0101] It can be understood that in the process of binding the preset business data with the data source, the data binding will be configured in the database or configuration file. The template generation engine can obtain the corresponding target business data from the database or configuration file and fill it in to obtain the target electronic contract.
[0102] In the process of filling the target business data into the contract template, the filled data can be verified, for example, the logical order between business controls, mandatory item checking, data format verification, etc., to ensure the accuracy of the contract data; and provide error prompts and correction mechanisms when errors occur.
[0103] Specifically, refer to Figure 5 When users create and modify contract templates, they need to perform permission verification to ensure information security; only after the verification is passed can data be filled.
[0104] The template management system also provides logging and audit tracking functions to ensure that the modification history of the contract template can be traced. Figure 2 .
[0105] Reference Figure 3 ,This embodiment integrates the data binding function to ensure that the ,contract content can be dynamically generated based on actual data; ,implements authority and security management to ensure the security of the ,system, and develops a contract template verification tool to ensure the ,correctness and validity of the template.
[0106] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the electronic contract generation method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0107] This application also provides an electronic contract generation device, please refer to Figure 6 , the electronic contract generating device comprises:
[0108] The attribute configuration module 10 is used to determine target attribute information of a target business control in response to an attribute configuration operation on the target business control in the display interface, wherein the target business control is selected from at least one preset business control displayed in the display interface;
[0109] A position determination module 20, configured to determine a target relative position of the target business control in the display interface in response to a drag-and-drop operation between a plurality of preset areas of the display interface for the target business control;
[0110] A template generation module 30, configured to generate a contract template based on the target business control, target attribute information and the target relative position;
[0111] The contract generation module 40 is used to generate a target electronic contract based on the contract template.
[0112] The electronic contract generation device provided by the present application adopts the electronic contract generation method in the above embodiment, which can solve the technical problem of low flexibility in the formulation of electronic contracts. Compared with the prior art, the beneficial effects of the electronic contract generation device provided by the present application are the same as the beneficial effects of the electronic contract generation method provided by the above embodiment, and other technical features in the electronic contract generation device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0113] The present application provides an electronic contract generation device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the electronic contract generation method in the above-mentioned embodiment one.
[0114] Reference below Figure 7 , which shows a schematic diagram of the structure of an electronic contract generation device suitable for implementing the embodiment of the present application. The electronic contract generation device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, tablet computers, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic contract generation device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0115] like Figure 7 As shown, the electronic contract generation device may include a processing device 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the electronic contract generation device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the electronic contract generation device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic contract generation device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0116] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0117] The electronic contract generation device provided by the present application adopts the electronic contract generation method in the above embodiment, which can solve the technical problem of low flexibility in the formulation of electronic contracts. Compared with the prior art, the beneficial effects of the electronic contract generation device provided by the present application are the same as the beneficial effects of the electronic contract generation method provided by the above embodiment, and the other technical features in the electronic contract generation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0118] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0119] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0120] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the electronic contract generation method in the above-mentioned embodiment.
[0121] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0122] The above-mentioned computer-readable storage medium may be included in the electronic contract generation device; or it may exist independently without being assembled into the electronic contract generation device.
[0123] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic contract generation device, the electronic contract generation device executes the electronic contract generation method.
[0124] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0125] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0126] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0127] The readable storage medium provided in this application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned electronic contract generation method, and can solve the technical problem of low flexibility in the formulation of electronic contracts. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the electronic contract generation method provided in the above-mentioned embodiment, and will not be repeated here.
[0128] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned electronic contract generation method when executed by a processor.
[0129] The computer program product provided by this application can solve the technical problem of low flexibility in the formulation of electronic contracts. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the electronic contract generation method provided by the above embodiment, which will not be repeated here.
[0130] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for generating an electronic contract, characterized in that: Applied to a template generation engine, the method includes: In response to an attribute configuration operation on a target business control in a display interface, target attribute information of the target business control is determined, wherein the target business control is selected from at least one preset business control displayed in the display interface; In response to a drag-and-drop operation on the target business control between a plurality of preset areas on the display interface, determining a target relative position of the target business control in the display interface; Generate a contract template based on the target business control, target attribute information and the target relative position; Based on the contract template, a target electronic contract is generated.
2. The method according to claim 1, characterized in that Before the step of determining the target attribute information of the target business control, the method further includes: Displaying a control library in the display interface, wherein the control library stores preset business controls, and the preset business controls are generated based on preset basic controls and business attribute information; In response to a determination operation on a control library in a display interface, displaying a preset business type; In response to a determination operation on a preset business type in the display interface, at least one preset business control corresponding to the target business type is displayed based on a mapping relationship between the preset business type and the preset business control.
3. The method according to claim 1, characterized in that The step of determining target attribute information of the target business control in response to the attribute configuration operation on the target business control in the display interface includes: In response to a property configuration operation on a target business control in a display interface, displaying a display property configuration interface, a function property configuration interface and / or an interaction property configuration interface of the target business control in the display interface; In response to a modification operation on the information to be configured in the display attribute configuration interface, the function attribute configuration interface and / or the interaction attribute configuration interface, the display attribute information, the function attribute information and / or the interaction attribute information of the target business control is determined.
4. The method according to claim 1, characterized in that The step of generating a contract template based on the target business control, the target attribute information and the target relative position further includes: In response to a determination operation on the preview function button displayed in the display interface, generating a preview contract based on the target business control, target attribute information and the target relative position; In response to a confirmation operation on the previewed contract, a contract template is generated.
5. The method according to claim 1, characterized in that The step of generating a target electronic contract based on the contract template includes: In response to a data selection operation on a target business control in the display interface, based on an association relationship between a preset business control and preset business data, determining target business data corresponding to the target business control; Fill the target business data into the contract template to generate a target electronic contract.
6. The method according to claim 1, characterized in that After the step of determining the target business data corresponding to the target business control based on the association relationship between the preset business control and the preset business data in response to the data selection operation on the target business control in the display interface, the method further includes: In response to a modification operation on the data source configuration information of the target business control, determining new business data corresponding to the target business control; Replacing the target service data with the new service data; Before the step of replacing the target service data with the new service data, the method further includes: The data format of the new business data is converted into a preset supported format, and / or the new business data is standardized to obtain processed business data.
7. An electronic contract generation device, characterized in that: The device comprises: an attribute configuration module, configured to determine target attribute information of a target business control in response to an attribute configuration operation on a target business control in a display interface, wherein the target business control is selected from at least one preset business control displayed in the display interface; a position determination module, configured to determine a target relative position of the target business control in the display interface in response to a drag-and-drop operation between a plurality of preset areas of the display interface for the target business control; A template generation module, used to generate a contract template based on the target business control, target attribute information and the target relative position; The contract generation module is used to generate a target electronic contract based on the contract template.
8. An electronic contract generation device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the electronic contract generation method according to any one of claims 1 to 6.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the electronic contract generation method according to any one of claims 1 to 6 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the electronic contract generation method according to any one of claims 1 to 6 are implemented.