CN110543450A - Electronic document generation method and device, computer equipment and storage medium - Google Patents

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

Info

Publication number
CN110543450A
CN110543450A CN201910684769.2A CN201910684769A CN110543450A CN 110543450 A CN110543450 A CN 110543450A CN 201910684769 A CN201910684769 A CN 201910684769A CN 110543450 A CN110543450 A CN 110543450A
Authority
CN
China
Prior art keywords
document
template
signature
electronic document
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910684769.2A
Other languages
Chinese (zh)
Inventor
龚春燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910684769.2A priority Critical patent/CN110543450A/en
Publication of CN110543450A publication Critical patent/CN110543450A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Abstract

the application is particularly applied to development assistance, realizes automatic generation of electronic documents by processing templates, and provides an electronic document generation method, an electronic document generation device, electronic document generation equipment and a storage medium. The method comprises the following steps: acquiring key word elements; generating a document element according to the keyword element, wherein the document element comprises a signature area; acquiring a document template, wherein the document template is used for generating an electronic document; determining element positions of the document elements needing to be added in the document template, and adding the document elements in the element positions in the document template; and acquiring the signature information of the electronic document, and adding the signature information to the signature area corresponding to the document element to generate the electronic document. The method can improve the generation efficiency of the electronic document and the experience degree of the user.

Description

Electronic document generation method and device, computer equipment and storage medium
Technical Field
the present application relates to the field of internet technologies, and in particular, to a method and an apparatus for generating an electronic document, a computer device, and a storage medium.
Background
at present, with the development of internet technology, the usage scenarios of electronic documents are increasing, such as commonly used electronic contracts or electronic invoices. Different users may need electronic documents with different styles, and even the same user may need electronic documents with different styles to meet different use requirements. Meanwhile, the electronic document has different requirements on which position a signature or a signature should be placed during the production, so that the same document template cannot meet the requirement on diversity, the use of a plurality of document templates leads to low electronic document generation efficiency, and how to rapidly generate the diversified electronic documents becomes a problem which needs to be solved urgently at present.
Disclosure of Invention
the application provides an electronic document generation method, an electronic document generation device, computer equipment and a storage medium, so that the generation efficiency of an electronic document is improved.
In a first aspect, the present application provides an electronic document generating method, including:
Acquiring key word elements;
Generating a document element according to the keyword element, wherein the document element comprises a signature area;
acquiring a document template, wherein the document template is used for generating an electronic document;
determining element positions of the document elements needing to be added in the document template, and adding the document elements in the element positions in the document template;
and acquiring the signature information of the electronic document, and adding the signature information to the signature area corresponding to the document element to generate the electronic document.
In a second aspect, the present application further provides an electronic document generating apparatus, including:
An element acquisition unit configured to acquire a keyword element;
The element generating unit is used for generating a document element according to the keyword element, and the document element comprises a signature area;
The system comprises a template acquisition unit, a document processing unit and a document processing unit, wherein the template acquisition unit is used for acquiring a document template which is used for generating an electronic document;
The element adding unit is used for determining the element position of the document element needing to be added in the document template and adding the document element in the element position in the document template;
And the information acquisition unit is used for acquiring the signature information of the electronic document, and adding the signature information to the signature area corresponding to the document element so as to generate the electronic document.
In a third aspect, the present application further provides a computer device comprising a memory and a processor; the memory is used for storing a computer program; the processor is configured to execute the computer program and implement the electronic document generating method as described above when executing the computer program.
in a fourth aspect, the present application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the electronic document generating method as described above.
The application discloses an electronic document generating method, an electronic document generating device, computer equipment and a storage medium, wherein a document element comprising a signature area is generated by acquiring a key element and utilizing the key element; by means of the document elements, electronic documents with different styles can be generated by using one document template, so that the generation efficiency of the electronic documents is improved, and the experience degree of users is improved.
Drawings
in order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of an electronic document generation method provided by an embodiment of the present application;
FIG. 2 is a schematic flow diagram of sub-steps of the electronic document generation method of FIG. 1;
FIG. 3 is a schematic flow diagram of sub-steps of the electronic document generation method of FIG. 1;
FIG. 4 is a schematic flow chart diagram of another electronic document generation method provided by an embodiment of the present application;
FIG. 5 is a schematic flow diagram of sub-steps of the electronic document generation method of FIG. 4;
FIG. 6 is a schematic flow chart diagram of yet another electronic document generation method provided by an embodiment of the present application;
FIG. 7 is a schematic block diagram of an electronic document generating apparatus provided by an embodiment of the present application;
Fig. 8 is a schematic block diagram of a structure of a computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
the embodiment of the application provides an electronic document generation method and device, computer equipment and a storage medium. The electronic document generating method can be applied to a server or a terminal, and different types of electronic documents can be rapidly generated by using the same document template.
The server may be an independent server or a server cluster. The terminal can be an electronic device such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and a wearable device.
Specifically, an application program can be developed based on the electronic document generation method, so that a user can generate an electronic document required by the user by using the application program, and further, the working efficiency is improved. The application programs include a local application program, a Web application program, and the like, and the Web application program will be described as an example.
some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flow chart of an electronic document generating method according to an embodiment of the present application. As shown in fig. 1, the electronic document generating method specifically includes steps S101 to S105.
And S101, acquiring key word elements.
before generating an electronic document, for example, when a user generates an electronic contract using a Web application, a corresponding keyword element needs to be added first. Specifically, a keyword element input by the user, or a keyword element selected by the user may be acquired.
in order to facilitate user operation, an element adding control can be set, the element adding control corresponds to an element adding interface, when a user opens the Web application program, the element adding interface can be triggered and displayed by clicking the element adding control, and the element adding interface is used for the user to add keyword elements.
in one embodiment, in order to improve the generation efficiency of the electronic document, as shown in fig. 2, the step S101 specifically includes the following steps:
S101a, displaying an element adding interface, wherein the element adding interface comprises a plurality of drop-down selection boxes; s101b, acquiring keywords selected by a user in a plurality of drop-down selection boxes in the element adding interface; s101, 101c, generating key word elements according to the key words.
For example, the drop-down selection boxes in the element adding interface are an element type box and an element name box, respectively, the keyword selected by the user in the element type box is a "contracted main body", the keyword selected in the element name box is a "first party", the corresponding element generation rule is queried according to the selected multiple keywords, and the keyword elements are generated according to the element generation rule, wherein the element generation rule is a rule for generating the keyword elements commonly used by the electronic document, and the commonly used keyword elements are, for example: signing by a party A stamp, signing by a party A representative, signing by a party B stamp, signing by a party B representative, signing by a party A legal representative and the like.
for example, searching for a preset element generation rule corresponding to a keyword according to the keyword "contract main body" and "party a" selected by a user, and generating the keyword elements according to the searched element generation rule as follows: and (5) sealing the place A. For example, if the selected keyword is a "signed object" and a "first party representative", searching for an element generation rule which is preset and corresponds to the keyword according to the keyword "signed object" and the "first party representative", and generating the keyword elements according to the searched element generation rule as follows: the first party represents the signature.
In addition, the added keyword elements can be modified, so that the keyword elements required by the user can be obtained through the original keyword elements. Adding an element modification control in a Web application program, wherein the element modification control corresponds to an element modification interface, and specifically, if it is detected that a user clicks a modification element operation after selecting an added keyword element, for example, clicking the element modification control, displaying the element modification interface according to the modification element operation; and modifying the added keyword elements through the element modification interface to obtain the keyword elements required by the user. For example, the "first party seal place" is modified to the "second party seal place".
it should be noted that, a function of deleting the added keyword element is also provided, for example, a delete button is provided, and the user may delete the added keyword element by clicking the delete button after selecting the keyword element.
And S102, generating a document element according to the keyword element, wherein the document element comprises a signature area.
Specifically, a document element is generated according to the acquired keyword element, and the document element is, for example: authorization terms, amounts, numbers, party B seal, party A seal, applicant legal representative signature, applicant corporate official seal, and party A legal representative signature, as shown in Table 1.
TABLE 1 different document elements
Name of element element English name
Authorization deadline TIME111
amount of money money
numbering Number1
Seal part of second square abcd
Seal place of Jiafang abc
Applicant's legal representative signature ApplicatSignature
Applicant's corporate official seal ApplicantCompanyStamp
party A legal representative signature PartyASignature
Wherein different document elements correspond to different types of signature regions, for example, a signature region corresponding to an enterprise official seal is larger than a signature region corresponding to a legal representative signature. The signature region corresponds to the type of the document element, for example, if the type of the document element is an authorization period, the signature region is in a date display format.
In one embodiment, as shown in fig. 3, the generating a document element according to the keyword element includes: s102a, extracting keywords in the keyword elements, and acquiring region generation parameters corresponding to the keywords in the keyword elements; s102, 102b, generating document elements according to the region generation parameters.
for example, the keyword "seal" in the keyword element "b square seal place" or the keywords "representative person" and "signature" in the "a square legal representative person signature" are extracted. And then, acquiring corresponding region generation parameters according to the extracted keywords, wherein the region generation parameters comprise parameters for generating the signature region, such as region size, style and the like. Generating a document element according to the key word elements added by the user, wherein the document element comprises a signature area, so that different document elements correspond to signature areas with different parameters. Thereby, the diversity of the finally generated electronic documents can be increased.
S103, obtaining a document template, wherein the document template is used for generating an electronic document.
Specifically, a document template uploaded by the user can be obtained, for example, a contract template in a Word format uploaded by the user is obtained; or acquiring a document template created by the user online, for example, displaying a preset template, and acquiring and storing document contents pasted on the preset template by the user through the preset template to obtain the document template.
S104, determining the element position of the document element to be added in the document template, and adding the document element in the element position in the document template.
Specifically, the element position where the document element needs to be added may be determined in the document template according to an element insertion operation triggered by a user in the document template, for example, if the user moves a mouse to a corresponding position in the document template and performs a click operation, the corresponding position is determined to be the element position. And adding the document elements in the element positions in the document template, specifically, displaying an element selection interface at the element positions so that the user can select the document elements created in the above steps on the element selection interface, and adding the document elements selected by the user at the determined element positions.
In another embodiment, in order to improve the generation efficiency of the electronic document, as shown in fig. 4, the step S104 includes: sub-step S104a to sub-step S104 c.
s104a, detecting whether the user triggers element insertion operation; s104b, if detecting the element inserting operation triggered by the user, determining the element position of the document element in the document template according to the element inserting operation; s104c, indexing the document element to the element position.
Specifically, the element insertion operation may be configured as an element insertion button, when the user clicks the element insertion button, the user may be detected to trigger the element insertion operation, an element position where the document element needs to be added is determined in the document template according to the element insertion operation, for example, the element insertion operation displays the document element, when the user drags the displayed document element to a corresponding position in the document template, the corresponding position is determined as the element position, and the document element is indexed to the element position, so that the document element is added to the element position in the document template.
And S105, acquiring the signature information of the electronic document, and adding the signature information to a signature area corresponding to the document element to generate the electronic document.
The signature information includes a official seal, a signature, a current date, and the like. The official seal, signature or date is inserted into the signature area corresponding to the document element, such as dragging the official seal or signature to the signature area. And further realizing the generation of the electronic document required by the user.
In one embodiment, in order to facilitate the user to add the signature information and ensure the correctness of the signature information, step S105 specifically includes the following steps: displaying a document element interface and a signature information interface; and acquiring the signature information through the signature information interface, and transferring the acquired signature information to a signature area corresponding to the contract elements in the document element interface.
The document element interface is used for displaying the document elements and the signature areas corresponding to the document elements, and the signature information interface is used for acquiring signature information.
specifically, the document element interface and the signature information interface can be displayed in parallel, and the displayed document elements comprise one or a combination of a signature of a legal representative of the first party, an enterprise official seal of the first party, a signature of a legal representative of the second party or a signature date, and signature areas corresponding to the document elements. The signature information interface displays an acquisition user signature column and user signature information, the user signature column is used for acquiring signature information such as signatures or official seal pictures, and the user signature information is used for displaying the acquired signature information so that a user can confirm the signature information. And migrating the acquired signature information to a signature area corresponding to the contract element in the document element interface, for example, the user only needs to drag the signature information displayed in the signature information interface into the signature area displayed in the document element interface, thereby completing the generation of the electronic document.
the electronic document generating method comprises the steps of obtaining key word elements; generating a document element according to the keyword element, wherein the document element comprises a signature area; acquiring a document template, wherein the document template is used for generating an electronic document; determining element positions of the document elements needing to be added in the document template, and adding the document elements in the element positions in the document template; and acquiring the signature information of the electronic document, and adding the signature information to the signature area corresponding to the document element to generate the electronic document. The method can generate the electronic documents with different styles by utilizing the document template by means of the document elements, thereby improving the generation efficiency of the electronic documents and improving the experience degree of users.
Referring to fig. 5, fig. 5 is a schematic flow chart of another electronic document generating method according to an embodiment of the present application. As shown in fig. 5, the electronic document generating method specifically includes steps S201 to S206.
S201, acquiring key word elements.
specifically, the keyword elements input by the user, or the keyword elements selected by the user, or the corresponding keyword elements are generated according to the keywords selected by the user, so that the problem that the user cannot accurately input the required keyword elements when more keyword elements exist is avoided, and the efficiency and accuracy of subsequently generating the electronic document are improved.
S202, generating a document element according to the keyword element, wherein the document element comprises a signature area.
Specifically, a document element is generated according to the acquired keyword element and the area parameter corresponding to the keyword element, where the document element includes: authorization terms, amounts, numbers, Party B sealing, Party A sealing, Applicant's legal representative signature, Applicant's corporate official seal, and Party A legal representative signature, and the like.
S203, obtaining a document template, wherein the document template is used for generating an electronic document.
Specifically, a document template uploaded by a user or a document template created online by the user may be acquired.
s204, determining the element position of the document element to be added in the document template, and adding the document element in the element position in the document template.
Specifically, for example, if the user moves the mouse to a corresponding position in the document template and performs a click operation, the corresponding position is determined to be an element position, and the document element is added to the element position in the document template.
In one embodiment, in order to improve the electronic document generation efficiency, as shown in fig. 6, step S204 specifically includes the following steps:
S204a, searching keywords matched with the keyword elements in the document content of the document template; s204b, locating the element position needing to add the document element in the document template according to the searched keywords, and indexing the document element to the element position.
For example, the document content of the document template includes "a-side stamp", so that a keyword matching the keyword element "a-side stamp", i.e. a "a-side stamp" can be searched in the document content of the document template, and the position where the keyword "a-side stamp" appears in the document template is positioned as the element position where the document element needs to be added.
S205, displaying the document template, and displaying the signature region of the document element in the displayed document template.
Specifically, in order to facilitate a user to understand an electronic document and determine a final style of the electronic document, after the document element is added to an element position in the document template, the document template is displayed and a signature region of the document element is displayed in the displayed document template. Meanwhile, the user can conveniently determine whether the added signature information is correct, and the accuracy of electronic document generation is improved.
s206, acquiring the signature information of the electronic document, adding the signature information to a signature area corresponding to the document element, and displaying the signature information in the signature area to generate the electronic document.
The signature information includes a official seal, a signature, a current date, and the like. The signature region corresponding to the document element into which the official seal, signature or date setting is inserted, such as dragging the official seal or signature to the signature region. And further realizing the generation of the electronic document required by the user.
The electronic document generating method comprises the steps of obtaining key word elements; generating a document element according to the keyword element, wherein the document element comprises a signature area; acquiring a document template, wherein the document template is used for generating an electronic document; determining element positions of the document elements needing to be added in the document template, and adding the document elements in the element positions in the document template; displaying the document template, and displaying the signature region of the document element in the displayed document template; and acquiring the signature information of the electronic document, adding the signature information to a signature area corresponding to the document element, and displaying the signature information in the signature area to generate the electronic document. The method can generate the electronic documents with different styles by utilizing the document template by means of the document elements, thereby improving the generation efficiency of the electronic documents and the accuracy of each template, and simultaneously improving the experience of users.
Referring to fig. 7, fig. 7 is a schematic block diagram of an electronic document generating apparatus according to an embodiment of the present application, the electronic document generating apparatus being configured to execute the foregoing electronic document generating method. The electronic document generating apparatus may be configured in a server or a terminal.
As shown in fig. 7, the electronic document generating apparatus 400 includes: an element acquisition unit 401, an element generation unit 402, a template acquisition unit 403, an element addition unit 404, a template display unit 405, and an information acquisition unit 406.
An element obtaining unit 401, configured to obtain a keyword element.
In an embodiment, the element obtaining unit 401 is specifically configured to: displaying a component adding interface, wherein the component adding interface comprises a plurality of drop-down selection frames; acquiring keywords selected by a user in a plurality of drop-down selection boxes in the element adding interface; and generating a keyword element according to a plurality of keywords.
an element generating unit 402, configured to generate a document element according to the keyword element, where the document element includes a signature region.
In an embodiment, the element generating unit 402 is specifically configured to: extracting keywords in the keyword elements, and acquiring region generation parameters corresponding to the keywords in the keyword elements; and generating document elements according to the region generation parameters.
A template obtaining unit 403, configured to obtain a document template, where the document template is a template used for generating an electronic document.
An element adding unit 404, configured to determine an element position in the document template where the document element needs to be added, and add the document element in the element position in the document template.
In an embodiment, the element adding unit 404 is specifically configured to: searching keywords matched with the keyword elements in the document contents of the document template; and locating the element position needing to add the document element in the document template according to the searched keywords, and indexing the document element to the element position.
in another embodiment, the element adding unit 404 is specifically configured to: detecting whether a user triggers element insertion operation; if element insertion operation triggered by a user is detected, determining the element position of the document element to be added in the document template according to the element insertion operation; indexing the document element to the element position.
A template display unit 405 for displaying the document template and displaying the signature region of the document element in the displayed document template.
An information obtaining unit 406, configured to obtain signature information of the electronic document, and add the signature information to a signature region corresponding to the document element to generate the electronic document.
accordingly, the information obtaining unit 406 is configured to add the signature information to a signature region corresponding to the document element and display the signature information in the signature region.
in an embodiment, the information obtaining unit 406 is specifically configured to: displaying a document element interface and a signature information interface, wherein the document element interface is used for displaying the document element and a signature area corresponding to the document element, and the signature information interface is used for acquiring signature information; and acquiring the signature information through the signature information interface, and transferring the acquired signature information to a signature area corresponding to the contract elements in the document element interface.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the apparatus and the units described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The apparatus described above may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device may be a terminal.
Referring to fig. 8, the computer device includes a processor, a memory, and a network interface connected through a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
the non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the electronic document generation methods.
The processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment.
The internal memory provides an environment for running a computer program in the non-volatile storage medium, which, when executed by the processor, causes the processor to perform any one of the electronic document generating methods.
The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
Acquiring key word elements; generating a document element according to the keyword element, wherein the document element comprises a signature area; acquiring a document template, wherein the document template is used for generating an electronic document; determining element positions of the document elements needing to be added in the document template, and adding the document elements in the element positions in the document template; and acquiring the signature information of the electronic document, and adding the signature information to the signature area corresponding to the document element to generate the electronic document.
In one embodiment, the processor, when implementing the get key element, is configured to implement:
displaying a component adding interface, wherein the component adding interface comprises a plurality of drop-down selection frames; acquiring keywords selected by a user in a plurality of drop-down selection boxes in the element adding interface; and generating a keyword element according to a plurality of keywords.
In one embodiment, the processor, when implementing the generating of document elements from the keyword elements, is configured to implement:
extracting keywords in the keyword elements, and acquiring region generation parameters corresponding to the keywords in the keyword elements; and generating document elements according to the region generation parameters.
In one embodiment, the processor, when implementing the determining of the element position in the document template where the document element needs to be added and adding the document element in the element position in the document template, is configured to implement:
Searching keywords matched with the keyword elements in the document contents of the document template; and locating the element position needing to add the document element in the document template according to the searched keywords, and indexing the document element to the element position.
in one embodiment, the processor, when implementing the determining of the element position in the document template where the document element needs to be added and adding the document element in the element position in the document template, is configured to implement:
detecting whether a user triggers element insertion operation; if element insertion operation triggered by a user is detected, determining the element position of the document element to be added in the document template according to the element insertion operation; indexing the document element to the element position.
In one embodiment, the processor, when implementing the obtaining of the signature information of the electronic document and adding the signature information to the signature region corresponding to the document element, is configured to implement:
displaying a document element interface and a signature information interface, wherein the document element interface is used for displaying the document element and a signature area corresponding to the document element, and the signature information interface is used for acquiring signature information; and acquiring the signature information through the signature information interface, and transferring the acquired signature information to a signature area corresponding to the contract elements in the document element interface.
In one embodiment, the processor, after enabling the adding of the document element in the element position in the document template, is further configured to enable:
Displaying the document template, and displaying the signature region of the document element in the displayed document template; the adding the signature information to the signature area corresponding to the document element includes: and adding the signature information to a signature area corresponding to the document element and displaying the signature information in the signature area.
The embodiment of the application also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, the computer program comprises program instructions, and the processor executes the program instructions to realize any electronic document generation method provided by the embodiment of the application.
the computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. an electronic document generation method, comprising:
Acquiring key word elements;
Generating a document element according to the keyword element, wherein the document element comprises a signature area;
Acquiring a document template, wherein the document template is used for generating an electronic document;
Determining element positions of the document elements needing to be added in the document template, and adding the document elements in the element positions in the document template;
And acquiring the signature information of the electronic document, and adding the signature information to the signature area corresponding to the document element to generate the electronic document.
2. The electronic document generation method according to claim 1, wherein the acquiring of the keyword element includes:
Displaying a component adding interface, wherein the component adding interface comprises a plurality of drop-down selection frames;
Acquiring keywords selected by a user in a plurality of drop-down selection boxes in the element adding interface;
And generating a keyword element according to a plurality of keywords.
3. The electronic document generation method according to claim 1 or 2, wherein the generating a document element from the keyword element includes:
Extracting keywords in the keyword elements, and acquiring region generation parameters corresponding to the keywords in the keyword elements;
And generating document elements according to the region generation parameters.
4. the electronic document generation method according to claim 3, wherein the determining of the element position in the document template where the document element needs to be added and the adding of the document element in the element position in the document template include:
Searching keywords matched with the keyword elements in the document contents of the document template;
And locating the element position needing to add the document element in the document template according to the searched keywords, and indexing the document element to the element position.
5. the electronic document generation method according to claim 3, wherein the determining of the element position in the document template where the document element needs to be added and the adding of the document element in the element position in the document template include:
detecting whether a user triggers element insertion operation;
If element insertion operation triggered by a user is detected, determining the element position of the document element to be added in the document template according to the element insertion operation;
Indexing the document element to the element position.
6. the method of generating an electronic document according to claim 1, wherein the obtaining of the signature information of the electronic document and the adding of the signature information to the signature region corresponding to the document element include:
displaying a document element interface and a signature information interface, wherein the document element interface is used for displaying the document element and a signature area corresponding to the document element, and the signature information interface is used for acquiring signature information;
and acquiring the signature information through the signature information interface, and transferring the acquired signature information to a signature area corresponding to the contract elements in the document element interface.
7. The electronic document generation method according to claim 1, further comprising, after adding the document element in an element position in the document template:
Displaying the document template, and displaying the signature region of the document element in the displayed document template;
The adding the signature information to the signature area corresponding to the document element includes: and adding the signature information to a signature area corresponding to the document element and displaying the signature information in the signature area.
8. An electronic document generating apparatus, comprising:
An element acquisition unit configured to acquire a keyword element;
The element generating unit is used for generating a document element according to the keyword element, and the document element comprises a signature area;
the system comprises a template acquisition unit, a document processing unit and a document processing unit, wherein the template acquisition unit is used for acquiring a document template which is used for generating an electronic document;
The element adding unit is used for determining the element position of the document element needing to be added in the document template and adding the document element in the element position in the document template;
and the information acquisition unit is used for acquiring the signature information of the electronic document, and adding the signature information to the signature area corresponding to the document element so as to generate the electronic document.
9. A computer device, wherein the computer device comprises a memory and a processor;
The memory is used for storing a computer program;
the processor for executing the computer program and implementing the electronic document generation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to implement the electronic document generating method according to any one of claims 1 to 7.
CN201910684769.2A 2019-07-26 2019-07-26 Electronic document generation method and device, computer equipment and storage medium Pending CN110543450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910684769.2A CN110543450A (en) 2019-07-26 2019-07-26 Electronic document generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910684769.2A CN110543450A (en) 2019-07-26 2019-07-26 Electronic document generation method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110543450A true CN110543450A (en) 2019-12-06

Family

ID=68709832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910684769.2A Pending CN110543450A (en) 2019-07-26 2019-07-26 Electronic document generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110543450A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000974A (en) * 2020-09-11 2020-11-27 支付宝(杭州)信息技术有限公司 Electronic signature method and device for document
CN112214782A (en) * 2020-11-17 2021-01-12 支付宝(杭州)信息技术有限公司 Electronic document signature method, device and equipment
CN112926946A (en) * 2021-03-16 2021-06-08 上海晓途网络科技有限公司 Electronic contract generating method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020143818A1 (en) * 2001-03-30 2002-10-03 Roberts Elizabeth A. System for generating a structured document
CN101499057A (en) * 2008-01-29 2009-08-05 鸿富锦精密工业(深圳)有限公司 Electronic document generating system and method
JP2014071584A (en) * 2012-09-28 2014-04-21 Brother Ind Ltd Template processing program and template processing method
CN106980605A (en) * 2017-02-17 2017-07-25 平安科技(深圳)有限公司 Contract generation method and device
CN107463545A (en) * 2017-06-21 2017-12-12 杭州大搜车汽车服务有限公司 A kind of generation method, electronic equipment and the storage medium of online treaty documents
CN109739448A (en) * 2018-12-26 2019-05-10 苏州浪潮智能软件有限公司 A kind of template set suitable for a variety of frameworks beats business design scheme into submission
CN110020414A (en) * 2018-01-08 2019-07-16 优信拍(北京)信息科技有限公司 A kind of electronic contract document creation method, system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020143818A1 (en) * 2001-03-30 2002-10-03 Roberts Elizabeth A. System for generating a structured document
CN101499057A (en) * 2008-01-29 2009-08-05 鸿富锦精密工业(深圳)有限公司 Electronic document generating system and method
JP2014071584A (en) * 2012-09-28 2014-04-21 Brother Ind Ltd Template processing program and template processing method
CN106980605A (en) * 2017-02-17 2017-07-25 平安科技(深圳)有限公司 Contract generation method and device
CN107463545A (en) * 2017-06-21 2017-12-12 杭州大搜车汽车服务有限公司 A kind of generation method, electronic equipment and the storage medium of online treaty documents
CN110020414A (en) * 2018-01-08 2019-07-16 优信拍(北京)信息科技有限公司 A kind of electronic contract document creation method, system
CN109739448A (en) * 2018-12-26 2019-05-10 苏州浪潮智能软件有限公司 A kind of template set suitable for a variety of frameworks beats business design scheme into submission

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
唐小石;梁洪利;: "基于关键词检索技术的PowerPoint文档自动生成方法研究", 中国信息技术教育, no. 15, pages 103 - 104 *
张琼妮;肖刚;张元鸣;吕慧强;: "一种基于Word自定义模板的文档管理模式", 浙江工业大学学报, no. 01, pages 101 - 104 *
梁海珍;: "公文自动生成系统的设计与实现", 计算机时代, no. 09, pages 65 - 66 *
米律: "创业合同自助生成神器来了,so easy! | 米律", Retrieved from the Internet <URL:https://www.sohu.com/a/19519464_190915> *
臧明相;李园园;郭瑞刚;: "智能复用EDA设计信息及调试文档自动生成技术", 计算机工程与设计, no. 03, pages 1119 - 1122 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112000974A (en) * 2020-09-11 2020-11-27 支付宝(杭州)信息技术有限公司 Electronic signature method and device for document
CN112214782A (en) * 2020-11-17 2021-01-12 支付宝(杭州)信息技术有限公司 Electronic document signature method, device and equipment
CN112926946A (en) * 2021-03-16 2021-06-08 上海晓途网络科技有限公司 Electronic contract generating method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108363587B (en) Application program operation monitoring method and device, computer equipment and storage medium
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN110543450A (en) Electronic document generation method and device, computer equipment and storage medium
US9703763B1 (en) Automatic document citations by utilizing copied content for candidate sources
US9424168B2 (en) System and method for automatic generation of software test
CN108536745B (en) Shell-based data table extraction method, terminal, equipment and storage medium
CN112965645B (en) Page dragging method and device, computer equipment and storage medium
CN108595697B (en) Webpage integration method, device and system
CN110688598A (en) Service parameter acquisition method and device, computer equipment and storage medium
CN111666740A (en) Flow chart generation method and device, computer equipment and storage medium
WO2020258650A1 (en) Page information display method and apparatus, computer device, and storage medium
CN111596911A (en) Method and device for generating control, computer equipment and storage medium
CN111177113A (en) Data migration method and device, computer equipment and storage medium
CN113076731A (en) Report file generation method and device, computer equipment and storage medium
CN111126027A (en) List generation method, device, equipment and medium
CN110727777A (en) Knowledge graph management method and device, computer equipment and storage medium
US9990348B2 (en) System and method for managing data using a spreadsheet model
CN112541240A (en) Part drawing method, computer device and storage medium
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
CN117112012A (en) Application configuration generation method, device, equipment and medium
CN108196921B (en) Document development method and device, computer equipment and storage medium
CN110647350A (en) Interface document generation method and device, computer equipment and storage medium
CN115509668A (en) Method, device and equipment for constructing front-end page analytic framework and storage medium
CN109871214B (en) Program code generation method, program code generation device, computer device, and storage medium
CN113705182A (en) Contract online generation method and device and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination