File generation method, electronic equipment and computer storage medium

By automatically determining and filling the templates of the construction layout plan, the repeated configuration problems caused by changes in input parameters are solved, efficient and automatic generation of the construction layout plan is realized, and the construction preparation process of the engineering project is simplified.

CN119250048APending Publication Date: 2025-01-03ZHONGKE YUNGU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411141328.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the construction layout plan of the project, when input parameters are changed, the template needs to be reconfigured and the program is written, which leads to cumbersome and inefficient processes, especially suitable for scenarios with many parameters and complex calculation results.

Method used

Provide a file generation method, which automatically determines and fills the corresponding template by obtaining input parameters, so as to achieve automatic generation of target files, simplifying the process. The method includes obtaining input parameters, determining the target template in the preset template collection, and filling the template according to the input parameters to generate the target file.

Benefits of technology

It realizes automatic acquisition and filling of file templates based on different input parameters, simplifies the generation process of construction layout plans, improves efficiency, and avoids duplicate configuration and writing operations caused by parameter changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119250048A_ABST
    Figure CN119250048A_ABST
Patent Text Reader

Abstract

The invention relates to a file generation method, electronic equipment and a computer storage medium, and the file generation method comprises the steps: obtaining an input parameter; determining a target template in a preset template set according to the input parameters; and filling the target template according to the input parameters to obtain a target file. According to the technical scheme, the corresponding file template can be automatically obtained according to different input parameters, automatic filling of the template data is carried out, automatic generation of the target file is achieved, and the method is simple and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer processing technology, and in particular, relates to a file generation method, an electronic device and a computer storage medium. Background Art

[0002] A construction layout plan refers to a detailed plan made during the construction preparation phase of a project in order to rationally arrange the spatial layout of the construction site and ensure that construction activities are carried out efficiently and orderly. In the field of engineering machinery construction, the construction layout plan is used to plan and arrange various elements in the construction process. There are many calculation formulas, calculation processes, and calculation results in the construction layout plan. Usually, the input parameters are filled into the corresponding positions of the template based on manual configuration of fixed templates and automatic calculation by writing programs to obtain the construction layout plan. However, when the input parameters change, it is necessary to manually reconfigure the corresponding template and rewrite the program code for automatic calculation. The above process is cumbersome and inefficient for construction layout plans with many parameters and complex calculation results. Summary of the invention

[0003] In response to the above technical problems, the present application provides a file generation method, electronic device and computer storage medium, which can automatically obtain the corresponding file template according to different input parameters, and automatically fill in the template data, so as to realize the automatic generation of the target file, which is simple and efficient.

[0004] The present application provides a file generation method, comprising:

[0005] Get input parameters;

[0006] Determine a target template in a preset template set according to the input parameters;

[0007] The target template is filled according to the input parameters to obtain a target file.

[0008] In one embodiment, determining a target template in a preset template set according to the input parameters includes:

[0009] Acquire a preset field and / or a parameter combination mode of the input parameter according to the input parameter;

[0010] According to the preset fields and / or the parameter combination mode, a target template in the preset template set is determined.

[0011] In one embodiment, before determining the target template in the preset template set according to the input parameters, the method further includes:

[0012] Obtain at least one module from the module pool;

[0013] Processing the at least one module according to a preset rule to obtain a preset template;

[0014] The preset template set is obtained according to a plurality of different preset templates.

[0015] In one embodiment, before obtaining at least one module in the module pool, the method further includes:

[0016] Obtain the variable name of the to-be-filled area corresponding to the first target module to be generated and the attribute information corresponding to the variable name;

[0017] Generate the first target module according to the variable name and the attribute information;

[0018] The module pool is obtained according to a plurality of different first target modules.

[0019] In one implementation, generating a first target module according to the variable name and the attribute information includes:

[0020] Generate a target statement according to the variable name and the attribute information;

[0021] A first target module is generated according to the target statement.

[0022] In one embodiment, the method further comprises:

[0023] Output the target sentence, the first target module and / or the preset template.

[0024] In one embodiment, the method further comprises:

[0025] If determining a target template in the preset template set according to the input parameters fails, generating at least one second target module according to some or all of the parameters in the input parameters, the second target module being different from the first target module;

[0026] updating the module pool according to the second target module;

[0027] The preset template set is updated according to the updated module pool.

[0028] In one embodiment, after filling the target template according to the input parameters, the method further includes:

[0029] Output the filled target template;

[0030] In response to a modification operation on the filled target template, the target template is adjusted and / or a parameter filling method of the target template is adjusted.

[0031] The present application also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0032] The present application also provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0033] The present application provides a file generation method, an electronic device, and a computer storage medium, wherein the file generation method includes: obtaining input parameters; determining a target template in a preset template set according to the input parameters; filling the target template according to the input parameters to obtain a target file. The technical solution of the present application can automatically obtain the corresponding file template according to different input parameters, and automatically fill in the template data to realize the automatic generation of the target file, which is simple and efficient. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a flowchart of the file generation method provided in the embodiment of the present application.

[0035] Figure 2 It is a flowchart of constructing a preset template set provided in an embodiment of the present application.

[0036] Figure 3 It is a schematic diagram of a preset template of the file generation method provided in an embodiment of the present application.

[0037] Figure 4 It is a schematic diagram of the process of constructing a module pool provided in an embodiment of the present application.

[0038] Figure 5 It is a schematic diagram of a preset template after filling in variables in the file generation method provided in an embodiment of the present application.

[0039] Figure 6 It is a schematic diagram of the target file of the file generation method provided in the embodiment of the present application.

[0040] Figure 7 It is a specific flow chart of the file generation method provided in the embodiment of the present application.

[0041] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0043] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0044] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate the presence of the described features, steps, operations, elements, parts, projects, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, steps, operations, elements, parts, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.

[0045] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0046] It should be noted that in this article, step codes such as S1 and S2 are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the order. When implementing the step, those skilled in the art may execute S2 first and then S1, etc., but these should all be within the scope of protection of this application.

[0047] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0049] Figure 1 is a flowchart of a file generation method provided in an embodiment of the present application, such as Figure 1 As shown, the file generation method provided in the embodiment of the present application may include the following steps:

[0050] Step S1: Obtain input parameters.

[0051] Step S2: Determine a target template in a preset template set according to input parameters.

[0052] Step S3: Fill the target template according to the input parameters to obtain the target file.

[0053] The embodiment of the present application automatically matches the corresponding target template from the preset template set according to the user input parameters, and automatically fills in the input parameters and / or the data obtained according to the input parameters based on the target template. As the input parameters are different, the selected target template is also different, which avoids the change of input parameters causing the reconfiguration of templates and the update of programs, and realizes the automatic generation of target files, which is simple and efficient.

[0054] In one embodiment, determining a target template in a preset template set according to input parameters includes:

[0055] Obtaining a parameter combination mode of a preset field and / or input parameter according to input parameters;

[0056] According to the preset fields and / or parameter combinations, a target template in the preset template set is determined.

[0057] When determining the target template in the preset template set according to the input parameters, the preset fields contained in the input parameters can be obtained, and the target template in the preset template set can be determined according to the preset fields. The preset field can be a column for selecting the template number. For example, the preset field A corresponds to template 1, and the preset field B corresponds to template 2. The preset field can also be a keyword used to find the template name. For example, the content of the preset field is "material", and the target template with the template name "material layout plan" can be found according to the keyword. In addition, the target template in the preset template set can also be determined according to the parameter combination of the input parameters. For example, the combination of input parameters C, D, E, and F corresponds to template 3; the combination of input parameters C, D, E, F, G, and H corresponds to template 4. Of course, the preset fields and the parameter combination of the input parameters can also be obtained according to the input parameters to jointly determine the target template to improve the accuracy of template screening.

[0058] In one embodiment, before determining the target template in the preset template set according to the input parameters, the file generation method further includes:

[0059] Obtain at least one module from the module pool;

[0060] Process at least one module according to a preset rule to obtain a preset template;

[0061] A preset template set is obtained according to a plurality of different preset templates.

[0062] Before determining the target template in the preset template set according to the input parameters, it is necessary to construct a preset template set, which includes multiple preset templates. Figure 2 As shown in the figure, the target file is the target PDF as an example, and the target PDF is the expected PDF sample provided by the user. According to the target PDF, one or more required modules are selected from the module pool. The module is a component of the template. At least one module is selected from the module pool for integration. The module pool provides a variety of modules for building a preset template. One or more modules are combined in sequence to generate a preset template. The preset template is output to obtain user feedback to ensure that the generated preset template meets expectations. The above process is repeated according to different target files to build multiple different preset templates and obtain a preset template set to match the user's diverse template requirements.

[0063] In some implementations, such as Figure 3As shown, it is a schematic diagram of a preset template, in which a fillable area is reserved (such as Figure 3 ). The fillable area is used to fill in the input parameters and / or the variable values ​​calculated based on the input parameters. For example, the blank area on the right side of the "Recipient" column is used to fill in the specific name of the recipient. The blank area on the right side of the "Project Name" column is used to fill in the specific project name. The blank area on the right side of the "Recipient" column is used to fill in the name of the recipient. The blank area on the right side of the "Telephone" column is used to fill in the telephone number of the recipient or the recipient unit. The blank area on the right side of the "Host Number" column is used to fill in the number of the recipient host. The blank area on the right side of the "Date" column is used to fill in the date when the construction layout plan was written. The format of the template document can be PDF. The fillable area in the preset template is arranged with multiple blocks, which are used to fill in the corresponding data.

[0064] In one embodiment, before obtaining at least one module in the module pool, the file generation method further includes:

[0065] Obtain the variable name of the to-be-filled area corresponding to the first target module to be generated and the attribute information corresponding to the variable name;

[0066] Generate a first target module according to the variable name and attribute information;

[0067] A module pool is obtained according to a plurality of different first target modules.

[0068] In the process of building a module pool, a single module is built first. If the module includes filled areas and areas to be filled, they can be respectively Figure 3 Get the variable name of the area to be filled in the module and the attribute information corresponding to the variable name. Figure 4 As shown, variables can be divided into first variables, second variables and third variables according to their types. Among them, the first variable belongs to a fixed field, and its attribute information may include field length and field format; the second variable belongs to a result field, and its result needs to be obtained after providing input parameters for calculation, and its attribute information may include calculation formula and field type; the third variable is a picture variable, which requires a display area of ​​fixed size, and its attribute information may include display size. Referring to the area where the module is located in the target PDF, the corresponding variable name is arranged in the area to be filled in the module, and the data filling method of the area to be filled is determined according to the attribute information corresponding to the variable name, and the filling method is encoded so that the data can be automatically filled according to the input parameters later. In this way, the html file of the first target module can be obtained. Next, the first target module is output to obtain user feedback to ensure that the generated first target module meets expectations.

[0069] like Figure 5As shown, in the blank preset template document, the corresponding positions of multiple blocks are marked with relevant variable names, and the corresponding data can be obtained from the program through these variable names. For example, the variable name in the fillable area corresponding to the recipient unit is creatorName, the variable name in the fillable area corresponding to the project name is projectName, the variable name in the fillable area corresponding to the recipient is linkName, the variable name in the fillable area corresponding to the telephone is phone, the variable name in the fillable area corresponding to the host number is deviceName, and the variable name in the fillable area corresponding to the date is creatName. In the automatic calculation program written, the PdfReader class and PdfStamper class in the Java programming language can be used to identify and locate the above block positions. Use PdfReader to read the preset template, and embed data in these specific blocks through PdfStamper technology. The file effect after data filling is as follows. Figure 6 As shown, the block where the variable name is located is replaced by data, and a final PDF document is obtained after all the data is filled.

[0070] In one embodiment, generating a first target module according to the variable name and the attribute information includes:

[0071] Generate target statements based on variable names and attribute information;

[0072] A first target module is generated according to the target statement.

[0073] like Figure 4 As shown, when the first target module is generated according to the variable name and attribute information, the variable name and attribute information set by the user are imported into the optimization organization module. The optimization organization module uses an artificial intelligence algorithm or a machine learning algorithm to automatically generate a highly structured target sentence that is adapted to the AI ​​generation context based on different variable names and attribute information. The target sentence is output to obtain user feedback to ensure that the generated target sentence meets expectations. Next, the target sentence is imported into the AI ​​content generation system (AIGC), and the system generates a module file in HTML format based on the target sentence. This file is added to the module pool as a new module for subsequent steps to build a preset template. In this way, the flexibility and efficiency of template configuration are enhanced.

[0074] In one embodiment, the file generation method further includes:

[0075] If determining the target template in the preset template set according to the input parameters fails, generating at least one second target module according to part or all of the parameters in the input parameters, the second target module being different from the first target module;

[0076] updating the module pool according to the second target module;

[0077] Update the preset template collection according to the updated module pool.

[0078] If the specified target template cannot be successfully matched in the preset template set according to the current input parameters, it is necessary to re-customize the corresponding modules and templates according to the current file requirements. Generate at least one second target module according to all or part of the relevant parameters in the input parameters. Optionally, all modules required for the target file are generated according to the input parameters, and then the modules that do not exist in the module pool are screened out as the second target module. That is, the second target module is different from the first target module, and the newly generated second target module is added to the module pool to update the module pool. Then, according to the target file, the required modules are selected from the module pool, which at least include the second target module and may also include the first target module. The selected modules are integrated in sequence to obtain the target template corresponding to the target file. The target template is added to the preset template set to update the preset template set. In this way, the continuous iteration and optimization of the module pool and the preset template set are ensured, and the matching degree between the input parameters and the target template is improved.

[0079] In one embodiment, after filling the target template according to the input parameters, the file generation method further includes:

[0080] Output the filled target template;

[0081] In response to a modification operation on the filled target template, the target template is adjusted and / or a parameter filling method of the target template is adjusted.

[0082] The target template filled with content is presented to the user so that the user can check and modify the generated target template. The user's modification operation on the filled target template is received, and the organizational structure in the target template is adjusted accordingly, or the organizational structure of the corresponding module in the target template is adjusted, or the input parameter filling logic and method applied to the template is revised, so as to realize automatic optimization of the target file generation process according to user feedback and improve the user experience.

[0083] The following is a specific example of a file generation method. Figure 7As shown, the input parameters of the user operation are obtained, and the background further processes these input parameters. The preset fields in the input parameters can be used as template selection parameters to select a template from a preset template set, and the template can specifically be a construction calculation template. Then, the data filling method is determined according to the attribute information of the field to be filled in the template. The processed input parameters are converted into fillable data. For the data that needs to be calculated, the corresponding input parameters are obtained and calculated to obtain the fillable data. The fillable data obtained by converting the input parameters is filled in the selected template to obtain an HTML file. Then, using the WKHtmlToPDF conversion tool integrated in the background, this HTML file is automatically converted into a PDF format file, that is, its extension name is changed from .html to .pdf, so that the construction plan PDF file required by the user can be obtained.

[0084] The file generation method provided by the embodiment of the present application obtains input parameters; determines the target template in the preset template set according to the input parameters; fills the target template according to the input parameters to obtain the target file. The technical solution of the present application can automatically obtain the corresponding file template according to the different input parameters, and automatically fill the template data to realize the automatic generation of the target file, which is simple and efficient.

[0085] Based on the same inventive concept as the above embodiments, the embodiments of the present invention further provide an electronic device, such as Figure 8 As shown, the electronic device includes: a processor 310 and a memory 311 storing a computer program; wherein, Figure 8 The processor 310 shown in the figure is not used to indicate that the number of the processor 310 is one, but is only used to indicate the positional relationship of the processor 310 relative to other devices. In actual applications, the number of the processor 310 may be one or more; similarly, Figure 8 The memory 311 shown in the figure has the same meaning, that is, it is only used to refer to the position relationship of the memory 311 relative to other devices. In practical applications, the number of memories 311 can be one or more. When the processor 310 runs the computer program, the above method is implemented.

[0086] The electronic device may also include: at least one network interface 312. The various components in the electronic device are coupled together via a bus system 313. It is understood that the bus system 313 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 313 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 313 is not described in detail. Figure 8 Various buses are labeled as bus system 313.

[0087] The memory 311 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 311 described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable types of memories.

[0088] The memory 311 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device. Examples of these data include: any computer program used to operate on the electronic device, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Here, the program that implements the method of the embodiment of the present invention may be included in the application program.

[0089] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer-readable storage medium, in which a computer program is stored. The computer-readable storage medium may be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); or various devices including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer-readable storage medium is run by the processor, the above method or system is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to the description of the above embodiment, which will not be repeated here.

[0090] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0091] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0092] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A file generation method, characterized in that: The method comprises: Get input parameters; Determine a target template in a preset template set according to the input parameters; The target template is filled according to the input parameters to obtain a target file.

2. The method according to claim 1, characterized in that The step of determining a target template in a preset template set according to the input parameters includes: Acquire a preset field and / or a parameter combination mode of the input parameter according to the input parameter; According to the preset fields and / or the parameter combination mode, a target template in the preset template set is determined.

3. The method according to claim 1 or 2, characterized in that: Before determining the target template in the preset template set according to the input parameters, the method further includes: Obtain at least one module from the module pool; Processing the at least one module according to a preset rule to obtain a preset template; The preset template set is obtained according to a plurality of different preset templates.

4. The method according to claim 3, characterized in that Before obtaining at least one module in the module pool, the method further includes: Obtain the variable name of the to-be-filled area corresponding to the first target module to be generated and the attribute information corresponding to the variable name; Generate the first target module according to the variable name and the attribute information; The module pool is obtained according to a plurality of different first target modules.

5. The method according to claim 4, characterized in that The step of generating a first target module according to the variable name and the attribute information includes: Generate a target statement according to the variable name and the attribute information; A first target module is generated according to the target statement.

6. The method according to claim 5, characterized in that The method further comprises: Output the target sentence, the first target module and / or the preset template.

7. The method according to claim 4, characterized in that The method further comprises: If determining a target template in the preset template set according to the input parameters fails, generating at least one second target module according to some or all of the parameters in the input parameters, the second target module being different from the first target module; updating the module pool according to the second target module; The preset template set is updated according to the updated module pool.

8. The method according to claim 1, characterized in that After filling the target template according to the input parameters, the method further includes: Output the filled target template; In response to a modification operation on the filled target template, the target template is adjusted and / or a parameter filling method of the target template is adjusted.

9. An electronic device, characterized in that: The electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program.

10. A computer storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.