CN115659935A - File generation method and device, storage medium and electronic equipment - Google Patents

File generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115659935A
CN115659935A CN202211282576.2A CN202211282576A CN115659935A CN 115659935 A CN115659935 A CN 115659935A CN 202211282576 A CN202211282576 A CN 202211282576A CN 115659935 A CN115659935 A CN 115659935A
Authority
CN
China
Prior art keywords
template
network access
target
access data
filled
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
CN202211282576.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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202211282576.2A priority Critical patent/CN115659935A/en
Publication of CN115659935A publication Critical patent/CN115659935A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a file generation method, a file generation device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: displaying selection interfaces of different types of services; acquiring a service selected by a target object as a target service; determining a network access data document template and a template to be filled corresponding to a target service; responding to an operation instruction input by the target object, inputting content corresponding to the operation instruction in the template to be filled to obtain a target filling template, matching the target filling template with the network access data document template, and updating the content of the network access data document template according to a matching result. The method and the device solve the technical problems that due to the fact that the required information of the networking data of the Internet of things card is continuously increased, the networking data template is continuously updated, and too many types of networking data cause incomplete data, non-uniform new and old templates and the networking data cannot meet the requirement of compliance when the Internet of things card is handled.

Description

File generation method and device, storage medium and electronic equipment
Technical Field
The application relates to the field of internet of things cards, in particular to a file generation method, a file generation device, a storage medium and electronic equipment.
Background
The internet of things card is a flow card for enterprise hardware equipment networking, brings great convenience to the society in the internet of things era of internet of everything interconnection, and simultaneously causes great risk hidden danger. Any company can handle a large number of internet of things cards, and if the data functions of the internet of things cards are not compliant and the requirements of the accessed data are not compliant, many unsafe factors are generated.
The data function compliance of the Internet of things card is strictly controlled according to a CRM system managed by a customer relationship of an operator group, and the requirement of the compliance is met. But the data related to the compliance of the networking data comprises relatively complex networking data such as an internet of things contract, a client risk acceptance letter, a client networking risk evaluation table, an enterprise license, a manager authorized person certificate photo, a manager site photo, a legal person authorization letter and the like. The required information of the network access data is continuously increased, and the template is continuously updated; when the internet of things card is transacted due to too many kinds of the network access data, the data is incomplete, and new and old templates are not uniform, so that the compliance of the network access data of an operator is difficult to meet the compliance requirement.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a file generation method, a file generation device, a storage medium and electronic equipment, and aims to at least solve the technical problems that due to the fact that required information of networking data of an Internet of things card is continuously increased, a networking data template is continuously updated, and too many types of networking data cause incomplete data, non-uniform new and old templates and difficulty in meeting the requirement of compliance of the networking data when the Internet of things card is handled.
According to an aspect of an embodiment of the present application, there is provided a file generation method, including: displaying selection interfaces of different types of services, wherein the corresponding network access data of the different types of services are different, and the selection interfaces comprise: file directories corresponding to different types of services; acquiring a service selected by a target object as a target service; determining a network access data document template and a template to be filled corresponding to a target service, wherein the template to be filled is a template for filling information of a target object, and the network access data document template is used for providing entry information required by network access; responding to an operation instruction input by the target object, inputting content corresponding to the operation instruction in the template to be filled to obtain a target filling template, matching the target filling template with the network access data document template, and updating the content of the network access data document template according to a matching result.
Optionally, matching the target filling template with the network access material document template, and updating the content of the network access material document template according to the matching result, including: determining the target type of each variable parameter indicated by the target filling template and the target parameter value corresponding to each variable parameter; traversing the network access data document template, acquiring the corresponding position of the variable parameter of the target type in the network access data document template, and determining the variable on the position as the variable to be updated; and updating the variable to be updated based on the target parameter value.
Optionally, traversing the web-accessing document template includes: under the condition that a plurality of network access data document templates exist, determining the updating time of the network access data document templates, and determining the network access data document template with the smallest difference value between the updating time and the target time as a target network data document template; all types of variables of the target web profile template are traversed.
Optionally, the target type comprises at least one of: single line text, multiple lines of text, pictures, and tables.
Optionally, before determining the network access profile document template and the template to be filled in corresponding to the target service, the method further includes: determining the application times of different types of services in a historical period; determining an updating detection period of the network access data document template and the template to be filled corresponding to different types of services based on the application times, wherein the updating detection period is shorter as the application times are more; acquiring a preset time length indicated by an updating detection period; and detecting whether the network access data document templates and the templates to be filled corresponding to different types of services are updated or not at preset intervals.
Optionally, before determining the network access profile document template and the template to be filled in corresponding to the target service, the method further includes: determining priorities corresponding to different types of services, wherein the priorities are used for indicating the importance degree of the services; and updating the network access data document templates and templates to be filled corresponding to different types of services according to the sequence indicated by the priority.
Optionally, after updating the content of the web-access profile document template, the method further includes: and receiving a downloading instruction of the target object, and responding to the downloading instruction to generate a compression package of the network-accessing data document template.
According to another aspect of the embodiments of the present application, there is also provided a file generation system, including: the selection module is used for displaying selection interfaces of different types of services, wherein the corresponding network access data of the different types of services are different, and the selection interfaces comprise: file directories corresponding to different types of services; the acquisition module acquires the service selected by the target object as a target service; the determining module is used for determining a network access data document template and a template to be filled corresponding to the target service, wherein the template to be filled is a template for filling information of a target object, and the network access data document template is used for providing entry information required by network access; and the generating module responds to an operation instruction input by the target object, inputs the content corresponding to the operation instruction in the template to be filled to obtain a target filling template, matches the target filling template with the network access data document template, and updates the content of the network access data document template according to the matching result.
According to another aspect of embodiments of the present application, there is also provided a nonvolatile storage medium including: the storage medium includes a stored program, wherein the apparatus on which the storage medium is located is controlled to execute any one of the text generation methods when the program is executed.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a processor: a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the text generation methods.
In the embodiment of the application, a mode that a network access data document template is matched with a template to be filled is adopted, and different types of service selection interfaces are displayed; acquiring a service selected by a target object as a target service; determining a network access data document template and a template to be filled corresponding to a target service; responding to an operation instruction input by a target object, inputting contents corresponding to the operation instruction into a template to be filled, obtaining a target filling template, matching the target filling template with a network access data document template, and updating the contents of the network access data document template according to a matching result, so that the purpose of no concern about whether the network access data template of the Internet of things network card changes when network access data is handled is achieved, different template files to be filled are filled in different scenes, the technical effect that a network access data of the Internet of things network card with a complete integration rule is automatically generated after the network access data document template and the template to be filled are matched with each other is achieved, and the technical problems that the network access data is incomplete in data, new and old templates are not uniform when the Internet of things network card is handled due to the fact that the network access data of the Internet of things network card is continuously increased, the network access data template is continuously updated, and the network access data is too many in types are caused, and the network access data are difficult to meet the requirement of compliance are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a text generation method according to an embodiment of the present application;
FIG. 2 is a diagram of a template to be filled in of a single line of text according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a web-feed document template with a single line of text according to an embodiment of the present application;
FIG. 4 is a diagram of a template to be filled in for multiple lines of text, according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a template of an online profile document with multiple lines of text, according to an embodiment of the present application;
FIG. 6 is a diagram illustrating a template to be filled in with a picture according to an embodiment of the present disclosure;
FIG. 7 is a diagram illustrating a template of a picture web-entry document according to an embodiment of the present application;
FIG. 8 is a diagram of a template to be filled in for a form according to an embodiment of the present application;
FIG. 9 is a diagram illustrating a web-based profile template of a form according to an embodiment of the present application;
FIG. 10 is a diagram illustrating a template of a web-enabled profile document according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a template to be filled in for generating a name according to an embodiment of the present application;
FIG. 12 is a diagram illustrating a template to be filled in for a contract heading according to an embodiment of the application;
FIG. 13 is a schematic illustration of a generated document according to an embodiment of the present application;
fig. 14 is a schematic page diagram of an upload access network data document template and a template to be filled in of an internet of things security management system according to an embodiment of the present application;
fig. 15 is a schematic page diagram of a template to be filled in selected by an internet of things security management system according to an embodiment of the application;
fig. 16 is a schematic diagram of a compressed package page of an internet of things security management system according to an embodiment of the application;
FIG. 17 is a schematic diagram of a system for automatically generating Internet of things full-range networking data according to an embodiment of the application;
FIG. 18 is a block diagram of a text generation apparatus according to an embodiment of the present application;
FIG. 19 shows a schematic block diagram of an example electronic device 1900 with which embodiments of the present application may be implemented.
Detailed Description
In order to make the technical solutions of the present application better understood by those skilled in the art, 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 only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present application, there is provided a method embodiment of text generation, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a text generation method according to an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step S102, displaying selection interfaces of different types of services;
it should be noted that different types of services include, but are not limited to: new-test card, new-business card, new-public card, change-passing, change-charge discount change, change-real name system information change, change-auxiliary function change, change-product attribute change, over-range illegal shutdown recovery, card supplement and replacement and machine dismantling.
Step S104, acquiring the selected service of the target object as a target service;
it can be understood that the service selected by the target object is selected as the target service in the service selection interface, and the target service is acquired.
Step S106, determining a network access data document template and a template to be filled corresponding to the target service;
step S108, responding to the operation instruction input by the target object, inputting the content corresponding to the operation instruction in the template to be filled to obtain a target filling template, matching the target filling template with the network-accessing data document template, and updating the content of the network-accessing data document template according to the matching result.
In the embodiment of the application, a mode that a network access data document template is matched with a template to be filled is adopted, and different types of service selection interfaces are displayed; acquiring a service selected by a target object as a target service; determining a network access data document template and a template to be filled corresponding to a target service; responding to an operation instruction input by a target object, inputting contents corresponding to the operation instruction into a template to be filled, obtaining a target filling template, matching the target filling template with a network access data document template, and updating the contents of the network access data document template according to a matching result, so that the purpose of no concern about whether the network access data template of the Internet of things network card changes when network access data is handled is achieved, different template files to be filled are filled in different scenes, the technical effect that a network access data of the Internet of things network card with a complete integration rule is automatically generated after the network access data document template and the template to be filled are matched with each other is achieved, and the technical problems that the network access data is incomplete in data, new and old templates are not uniform when the Internet of things network card is handled due to the fact that the network access data of the Internet of things network card is continuously increased, the network access data template is continuously updated, and the network access data is too many in types are caused, and the network access data are difficult to meet the requirement of compliance are solved.
In an exemplary embodiment of the present application, matching the target filling template with the network access profile document template, and updating the content of the network access profile document template according to the matching result includes: determining the target type of each variable parameter indicated by the target filling template and the target parameter value corresponding to each variable parameter; traversing the network access data document template, acquiring the corresponding position of the variable parameter of the target type in the network access data document template, and determining the variable on the position as the variable to be updated; and updating the variable to be updated based on the target parameter value.
For example, fig. 2 is a schematic diagram of a template to be filled in of a single-line text according to an embodiment of the present application, and as shown in fig. 2, the target type of each variable parameter of the target filling template is a single-line text; the variable parameters of the target filling template are an owner of the first party, a responsible person of the first party, a legal person of the first party and a contract name; wherein, the target parameter value corresponding to each variable parameter is as follows: the first part manager is Zhangsan, the first part responsibility is Zhangsan, the first method is Liqun and the contract name is Xinjiang telecommunication Internet of things contract.
Fig. 3 is a schematic diagram of a web-access data document template with a single-line text according to an embodiment of the present application, and as shown in fig. 3, the web-access data document template is traversed to obtain a corresponding position of a variable parameter of a target type in the template to be filled in fig. 2 in the web-access data document template, determine a variable at the position as a variable to be updated, and update the variable to be updated based on the target parameter value.
It should be noted that the template parameter in the template to be filled in is & { { xxx _ name } } format, and xxx is variable, and the parameter needs to distinguish the font size of the text and the attribute of whether to bold.
For example, fig. 4 is a schematic diagram of a template to be filled in with multiple lines of text according to an embodiment of the present application, and as shown in fig. 4, the target type of each variable parameter of the target filling template is multiple lines of text; each variable parameter of the target filling template is contract head-up, contract signing place, company information of the first party and company information of the second party; wherein, the target parameter value corresponding to each variable parameter is as follows: the contract is signed as Wulu wood level in Xinjiang.
Fig. 5 is a schematic diagram of a network-accessing data document template with multiple lines of texts according to an embodiment of the present application, and as shown in fig. 5, the network-accessing data document template is traversed to obtain a corresponding position of a variable parameter of a target type in the template to be filled in fig. 4 in the network-accessing data document template, determine a variable at the position as a variable to be updated, and update the variable to be updated based on the target parameter value.
It should be noted that the template parameters in the template to be filled are & { { wnamex } } format, and the last x is changeable, and the parameters need to be distinguished from different parameters for corresponding to the replacement positions of the template of the incoming data document.
For example, fig. 6 is a schematic diagram of a template to be filled in of a picture according to an embodiment of the present application, and as shown in fig. 6, the target type of each variable parameter of the target filling template is a picture; each variable parameter of the target filling template is a positive and negative picture of the identity card of the sponsor; wherein, the target parameter value corresponding to each variable parameter is as follows: the positive and negative photos of the identity card of the sponsor are resident identity cards.
Fig. 7 is a schematic diagram of a network-accessing data document template of a picture according to an embodiment of the present application, and as shown in fig. 7, the network-accessing data document template is traversed to obtain a corresponding position of a variable parameter of a target type in the template to be filled in fig. 6 in the network-accessing data document template, determine a variable in the position as a variable to be updated, and update the variable to be updated based on the target parameter value.
It should be noted that the template parameter in the template to be filled is & { { imgx } } format, and the last x is variable, and the parameter needs to be distinguished from different parameters for corresponding to the replacement location of the template of the network-accessing data document.
For example, fig. 8 is a schematic diagram of a template to be filled in of a form according to an embodiment of the present application, and as shown in fig. 8, the target type of each variable parameter of the target filling template is a form; each variable parameter of the target filling template is a form; wherein, the target parameter value corresponding to each variable parameter is as follows: the table is shown in fig. 8.
Fig. 9 is a schematic diagram of a web-access information document template of a form according to an embodiment of the present application, and as shown in fig. 9, the web-access information document template is traversed to obtain a corresponding position of a variable parameter of a target type in the template to be filled in fig. 8 in the web-access information document template, determine a variable at the position as a variable to be updated, and update the variable to be updated based on the target parameter value.
It should be noted that the template parameter in the template to be filled is & { { table } } format, and the last x is variable, and the parameter needs to be distinguished from different parameters for corresponding to the replacement location of the template of the network-accessing data document.
It is easy to notice that some templates have relatively complex forms, if the contents of the forms are respectively made into parameters, the difficulty of filling people is increased due to excessive parameters, and the forms can be replaced by the method, so that the usability of the method is enhanced.
Optionally, traversing the web-access profile document template includes: under the condition that a plurality of network access data document templates exist, determining the updating time of the network access data document templates, and determining the network access data document template with the smallest difference value between the updating time and the target time as a target network data document template; and traversing all types of variables of the target web document template.
It can be understood that the target time is the current time, that is, the difference between the update time and the current time is determined, and the network-accessing data document template corresponding to the smallest difference is the target network data document template.
Optionally, the target type comprises at least one of: single line text, multiple lines of text, pictures, and tables.
In some optional embodiments of the present application, before determining the web accessing data document template and the template to be filled in corresponding to the target service, the method further includes: determining the application times of different types of services in a historical period; determining an updating detection period of the network access data document template and the template to be filled corresponding to different types of services based on the application times, wherein the updating detection period is shorter as the application times are more; acquiring a preset time length indicated by an updating detection period; and detecting whether the network access data document templates and the templates to be filled corresponding to different types of services are updated or not at preset intervals.
It can be understood that the service with the higher application frequency means that the service corresponding to the service has a higher usage frequency, and when the network access data document template is updated, the service detection period with the higher application frequency is shorter.
In an exemplary embodiment of the present application, before determining the web accessing data document template and the template to be filled in corresponding to the target service, the method further includes: determining priorities corresponding to different types of services, wherein the priorities are used for indicating the importance degree of the services; and updating the network access data document templates and templates to be filled corresponding to different types of services according to the sequence indicated by the priority.
It can be understood that, the service with the higher application times has the higher priority, and it should be noted that the determination method of the priority includes, but is not limited to: the number of applications may also be based on other dimensions, such as the privacy of the service itself.
As an optional implementation manner, after the content of the network-accessing document template is updated, a downloading instruction of the target object may be further received, and a compressed package of the network-accessing document template may be generated in response to the downloading instruction.
Fig. 10 is a schematic diagram of a web-enabled document template according to an embodiment of the present application, and as shown in fig. 10, in the web-enabled document template to be replaced, a part of a file to be replaced is enclosed by two braces, variable names are filled in the braces, and the replaced text is automatically consistent with the attributes of the variables.
Fig. 11 is a schematic diagram of a template to be filled in for generating a name according to an embodiment of the present application, as shown in fig. 11, where parameters of the template to be filled in are: and generating a contract named Xinjiang telecommunication and government Internet of things.
Fig. 12 is a schematic diagram of a template to be filled in for a contract new line according to an embodiment of the present application, and as shown in fig. 12, the parameters of the template to be filled in are: the contract is signed as Wulu wood level in Xinjiang.
Fig. 13 is a schematic diagram of a generated document according to an embodiment of the present application, and as shown in fig. 13, the template of the networked material document is matched with the template to be filled in to obtain a final document.
Fig. 14 is a schematic page diagram of an internet-of-things security management system uploading an internet-of-things document template and a template to be filled in according to an embodiment of the present application, and as shown in fig. 14, an administrator uploads the internet-of-things document template and the template to be filled in to the system for use by a user.
Fig. 15 is a schematic page diagram of a template to be filled in selected by an internet of things security management system according to an embodiment of the present application, and as shown in fig. 15, when a user transacts a service, the template to be filled in is selected by the user, and the template of the selected service is downloaded, filled in and completed, and uploaded to the system.
Fig. 16 is a schematic diagram of a compressed package page of the internet of things security management system according to the embodiment of the present application, and as shown in fig. 16, a compressed package of a finally generated file is obtained by matching a network access document template and a template to be filled in, and the compressed package is downloaded, printed, signed and stamped.
To facilitate better understanding of the technical solutions of the present application, a description will now be given with reference to a specific embodiment.
Fig. 17 is a schematic diagram of a system for automatically generating internet-of-things complete networking data according to an embodiment of the present application, and as shown in fig. 17, the process mainly includes the following steps:
(1) A user downloads a template to be filled in on a webpage;
(2) Filling according to the template requirement;
(3) Submitting the filled template;
(4) When the system detects that a template is uploaded, firstly, the system finds a template folder of the network access data document corresponding to the uploaded template;
(5) The system automatically creates a folder and traverses each file under the template folder of the network-accessing data document. The system automatically creates a file under the new folder and traverses the content of the file;
(6) Sequentially calling text replacement, picture replacement and form replacement methods, and replacing the parameters of the new file with the contents of the uploading template;
(7) After traversing, the system also automatically completes the replacement of all files;
(8) And compressing and packaging the file, and providing page downloading.
It is easy to notice that the method of matching the network-accessing data document template with the template to be filled has the following advantages:
(1) In the network access data of the Internet of things card, a middleware for processing documents is added between the final user and the final result, so that the compliance of the documents is solved, and the development of business of a client manager is facilitated.
(2) The file generation system is based on a jruby + java + mongodb + poi + poi-tl architecture.
(3) Filling in a template can generate the final complete set of data.
(4) Not only can replace texts and pictures, but also can perfectly replace complex tables, and the consistency of data such as contracts and the like is ensured to the greatest extent.
(5) The compliance of the engineering department to the networking data of the Internet of things card is met to the maximum extent.
(6) The customer manager can concentrate on developing the internet of things card, and does not need to worry about worries about the worries of rectification, etc.
(7) A single operation can generate multiple documents.
Fig. 18 is a schematic structural diagram of a text generating apparatus according to an embodiment of the present application, and as shown in fig. 18, the apparatus includes:
a selecting module 180, configured to display a selection interface of different types of services, where the access information corresponding to the different types of services is different, and the selection interface includes: file directories corresponding to different types of services;
an obtaining module 182, configured to obtain a service selected by a target object as a target service;
a determining module 184, configured to determine a network access data document template and a template to be filled corresponding to the target service, where the template to be filled is a template for filling information on a target object, and the network access data document template is used to provide entry information required for network access;
the generating module 186 is configured to, in response to an operation instruction input by the target object, input a content corresponding to the operation instruction in the template to be filled, obtain a target filling template, match the target filling template with the network access information document template, and update the content of the network access information document template according to a matching result.
In the device, the selection module 180 is configured to display selection interfaces of different types of services, where the access information corresponding to the different types of services is different, and the selection interfaces include: file directories corresponding to different types of services; an obtaining module 182, configured to obtain a service selected by a target object as a target service; a determining module 184, configured to determine a network access data document template and a template to be filled in corresponding to the target service, where the template to be filled in is a template for filling information in a target object, and the network access data document template is used to provide entry information required for network access; the generating module 186 is used for responding to an operation instruction input by a target object, inputting contents corresponding to the operation instruction in a template to be filled to obtain a target filling template, matching the target filling template with a network access data document template, and updating the contents of the network access data document template according to a matching result, so that the purpose of no concern about whether the network access data template of the internet of things network card changes when network access data is handled is achieved, thereby realizing the technical effects that different template files to be filled are filled in different scenes, and after the network access data document template is matched with the template to be filled, a piece of network access data of the internet of things network card which is completely integrated is automatically generated, thereby solving the technical problems that the required information of the network access data of the internet of things network card is continuously increased, the network access data template is continuously updated, and when the internet access data is too many in types, the data is incomplete, the new template and the old template are not uniform, and the network access data are difficult to meet the requirement of compliance.
According to another aspect of embodiments of the present application, there is also provided a nonvolatile storage medium including: the storage medium includes a stored program, wherein the apparatus on which the storage medium is located is controlled to execute any one of the text generation methods when the program is executed.
Specifically, the storage medium is used for storing program instructions of the following functions, and the following functions are realized:
displaying selection interfaces of different types of services; acquiring a service selected by a target object as a target service; determining a network access data document template and a template to be filled corresponding to a target service; responding to an operation instruction input by the target object, inputting content corresponding to the operation instruction in the template to be filled to obtain a target filling template, matching the target filling template with the network access data document template, and updating the content of the network access data document template according to a matching result.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the aforementioned storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the aforementioned.
In an exemplary embodiment of the present application, there is also provided a computer program product, comprising a computer program, which when executed by a processor, implements any of the text generation methods described above.
Optionally, the computer program may, when executed by a processor, implement the steps of:
displaying selection interfaces of different types of services; acquiring a service selected by a target object as a target service; determining a network access data document template and a template to be filled corresponding to a target service; responding to an operation instruction input by the target object, inputting content corresponding to the operation instruction in the template to be filled to obtain a target filling template, matching the target filling template with the network access data document template, and updating the content of the network access data document template according to a matching result.
An embodiment according to the present application provides an electronic device including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any of the text generation methods described above.
Optionally, the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
FIG. 19 shows a schematic block diagram of an example electronic device 1900 that may be used to implement embodiments of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 19, the device 1900 includes a computing unit 1901, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1902 or a computer program loaded from a storage unit 1908 into a Random Access Memory (RAM) 1903. In the RAM 1903, various programs and data required for the operation of the device 1900 can also be stored. The calculation unit 1901, ROM 1902, and RAM 1903 are connected to each other via a bus 1904. An input/output (I/O) interface 1905 is also connected to bus 1904.
A number of components in device 1900 connect to I/O interface 1905, including: an input unit 1906 such as a keyboard, a mouse, and the like; an output unit 1907 such as various types of displays, speakers, and the like; a storage unit 1908 such as a magnetic disk, an optical disk, or the like; and a communication unit 1909 such as a network card, modem, wireless communication transceiver, and the like. The communication unit 1909 allows the device 1900 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 1901 may be a variety of general purpose and/or special purpose processing components with processing and computing capabilities. Some examples of the computation unit 1901 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computation chips, various computation units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 1901 executes the respective methods and processes described above, such as a text generation method. For example, in some embodiments, the text generation method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 1908. In some embodiments, part or all of a computer program may be loaded and/or installed onto the device 1900 via the ROM 1902 and/or the communication unit 1909. When the computer program is loaded into the RAM 1903 and executed by the computing unit 1901, one or more steps of the text generation method described above may be performed. Alternatively, in other embodiments, the computing unit 1901 may be configured by any other suitable means (e.g., by means of firmware) to perform the text generation method.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this application, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A file generation method, comprising:
displaying selection interfaces of different types of services, wherein the corresponding network access data of the different types of services are different, and the selection interfaces comprise: the file directories corresponding to the different types of services;
acquiring a service selected by a target object as a target service;
determining a network access data document template and a template to be filled corresponding to the target service, wherein the template to be filled is a template for filling information of the target object, and the network access data document template is used for providing entry information required by network access;
responding to an operation instruction input by the target object, inputting the content corresponding to the operation instruction in the template to be filled to obtain a target filling template, matching the target filling template with the network access data document template, and updating the content of the network access data document template according to the matching result.
2. The method of claim 1, wherein matching the target filling template with the network-accessible profile document template and updating the content of the network-accessible profile document template according to the matching result comprises:
determining the target type of each variable parameter indicated by the target filling template and the target parameter value corresponding to each variable parameter;
traversing the network access data document template, acquiring a corresponding position of the variable parameter of the target type in the network access data document template, and determining a variable at the position as a variable to be updated;
and updating the variable to be updated based on the target parameter value.
3. The method of claim 2, wherein traversing the web-entry profile document template comprises:
under the condition that a plurality of network access data document templates exist, determining the updating time of the network access data document templates, and determining the network access data document template with the smallest difference value between the updating time and the target time as a target network data document template;
and traversing all types of variables of the target network data document template.
4. The method of claim 2, wherein the target type comprises at least one of: single line text, multiple lines of text, pictures, and tables.
5. The method of claim 1, wherein before determining the template of the network-accessing data document corresponding to the target service and the template to be filled, the method further comprises:
determining the application times of the different types of services in a historical time period;
determining an updating detection period of the network access data document template and the template to be filled corresponding to the different types of services based on the application times, wherein the updating detection period is shorter as the application times are more;
acquiring a preset time length indicated by the updating detection period;
and detecting whether the network access data document templates and the templates to be filled corresponding to the different types of services are updated or not at intervals of the preset time length.
6. The method of claim 1, wherein before determining the template of the network-accessing data document corresponding to the target service and the template to be filled, the method further comprises:
determining priorities corresponding to the different types of services, wherein the priorities are used for indicating the importance degree of the services;
and updating the network access data document templates and templates to be filled corresponding to the different types of services according to the sequence indicated by the priority.
7. The method of any one of claims 1 to 6, wherein after updating the content of the web-feed document template, the method further comprises:
and receiving a downloading instruction of the target object, and responding to the downloading instruction to generate a compression package of the network access data document template.
8. A file generation system, comprising:
the selection module is used for displaying selection interfaces of different types of services, wherein the corresponding network access data of the different types of services are different, and the selection interfaces comprise: the file directories corresponding to the different types of services;
the acquisition module acquires the service selected by the target object as a target service;
the determining module is used for determining a network access data document template and a template to be filled corresponding to the target service, wherein the template to be filled is a template for filling information of the target object, and the network access data document template is used for providing entry information required by network access;
and the generating module responds to an operation instruction input by the target object, inputs the content corresponding to the operation instruction in the template to be filled to obtain a target filling template, matches the target filling template with the network access material document template, and updates the content of the network access material document template according to a matching result.
9. A non-volatile storage medium, characterized in that the storage medium includes a stored program, wherein when the program runs, a device in which the storage medium is located is controlled to execute the file generation method according to any one of claims 1 to 7.
10. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the file generation method of any of claims 1 to 7.
CN202211282576.2A 2022-10-19 2022-10-19 File generation method and device, storage medium and electronic equipment Pending CN115659935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211282576.2A CN115659935A (en) 2022-10-19 2022-10-19 File generation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211282576.2A CN115659935A (en) 2022-10-19 2022-10-19 File generation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115659935A true CN115659935A (en) 2023-01-31

Family

ID=84989632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211282576.2A Pending CN115659935A (en) 2022-10-19 2022-10-19 File generation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115659935A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117609973A (en) * 2024-01-23 2024-02-27 江苏博云科技股份有限公司 Registration center nano-tube method, system, device and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117609973A (en) * 2024-01-23 2024-02-27 江苏博云科技股份有限公司 Registration center nano-tube method, system, device and server
CN117609973B (en) * 2024-01-23 2024-05-07 江苏博云科技股份有限公司 Registration center nano-tube method, system, device and server

Similar Documents

Publication Publication Date Title
CN107665225B (en) Information pushing method and device
US11132114B2 (en) Method and apparatus for generating customized visualization component
CN105808652B (en) Method and device for realizing online customer service
US20130050512A1 (en) Mobile solution for importing and signing third-party electronic signature documents
CN103959281A (en) Method for associating third party content with online document signing
CN109783757B (en) Method, device and system for rendering webpage, storage medium and electronic device
CN110969001A (en) Feedback information generation method and device, storage medium, processor and terminal
CN109903105B (en) Method and device for perfecting target commodity attributes
CN112487331A (en) Page generation method and device, storage medium and electronic equipment
CN115659935A (en) File generation method and device, storage medium and electronic equipment
CA2853386C (en) Mobile solution for importing and signing third-party electronic signature documents
CN107092634A (en) The implementation method and device of page preview
CN112632640A (en) Green power tracing method, electronic device and storage medium
CN113312083A (en) Application generation method, device and equipment
CN107147732A (en) Image processing method, device, client and service end
CN113852621B (en) License information determining method and device based on Jenkins server and storage medium
CN113056761A (en) Payment platform management method, device, payment platform and computer storage medium
CN113489714B (en) Multi-module-based intelligent message cross processing method and system
CN115361376A (en) Government affair file uploading method and device, electronic equipment and storage medium
CN114374737A (en) Message pushing method and device, computer equipment and storage medium
CN114036249A (en) Map data processing method, map data processing device, electronic equipment and medium
CN114168552A (en) Space sharing method and device based on block chain technology and computer equipment
CN112669000A (en) Government affair item processing method and device, electronic equipment and storage medium
CN111552898A (en) Flowchart drawing method and device based on Html5, computer equipment and storage medium
CN110765610A (en) PDM (product data management) integration method and device, computer equipment and storage medium

Legal Events

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