CN115794771A - Document information generation method, device, equipment and storage medium - Google Patents

Document information generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN115794771A
CN115794771A CN202211353581.8A CN202211353581A CN115794771A CN 115794771 A CN115794771 A CN 115794771A CN 202211353581 A CN202211353581 A CN 202211353581A CN 115794771 A CN115794771 A CN 115794771A
Authority
CN
China
Prior art keywords
document information
data
information
request
parameter
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
CN202211353581.8A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202211353581.8A priority Critical patent/CN115794771A/en
Publication of CN115794771A publication Critical patent/CN115794771A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a document information generation method, a document information generation device and a storage medium, and relates to the technical field of data information processing. The method comprises the following steps: traversing request parameters in the first document information by acquiring the first document information; the first document information represents document information to be written; determining a data interface corresponding to the request parameter according to the request parameter; calling corresponding data information from the data interface, writing the data information into the first document information, and generating second document information; and the second document information represents the finished document information. By adopting the technical scheme, the labor cost can be effectively reduced, the data accuracy is improved, and the operation and maintenance work efficiency is improved.

Description

Document information generation method, device, equipment and storage medium
Technical Field
The present application relates to the field of data information processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating document information.
Background
At present, the distributed database provides solutions such as elastic expansion, backup, recovery and monitoring by virtue of the advantages of large capacity, easy expansion, high performance and the like, and provides great convenience for financial services. In daily operation and maintenance work of a data center, in order to guarantee continuous and stable operation of a distributed database, related indexes such as performance, capacity and the like need to be tracked and analyzed. Documents are effective tools for solving the above requirements, however, the current document generation mode mostly depends on manual work, and is time-consuming, tedious in steps, large in calculation amount and prone to errors.
Therefore, a document information generating method is needed to effectively reduce labor cost, improve data accuracy and improve operation and maintenance efficiency.
Disclosure of Invention
The application provides a document information generation method, a document information generation device, document information generation equipment and a storage medium, which can effectively reduce labor cost, improve data accuracy and improve operation and maintenance work efficiency.
In a first aspect, the present application provides a document information generating method, including:
acquiring first document information, and traversing request parameters in the first document information; the first document information represents document information to be written;
determining a data interface corresponding to the request parameter according to the request parameter;
calling the corresponding data information from the data interface, writing the data information into the first document information, and generating second document information; and the second document information represents the finished document information.
In one example, the determining, according to the request parameter, a data interface corresponding to the request parameter includes:
analyzing the request parameter to obtain a parameter identifier of the request parameter;
and determining a data interface corresponding to the request parameter according to the parameter identifier.
In one example, after determining the data interface corresponding to the request parameter according to the parameter identifier, the method includes:
generating a query request instruction according to the request parameters;
and sending the query request instruction to a data interface corresponding to the request parameter.
In one example, before the writing the data information into the first document information, the writing includes:
and if the type of the data information belongs to the calculation type, calculating the data information to obtain a calculation result.
In one example, the method further comprises:
and uploading the second document information to a data platform so that a user can obtain the second document information from the data platform.
In one example, the first document information includes address information of a gateway device, a port number of the gateway device, address information of a database device, and a port number of the database device.
In a second aspect, the present application provides a document information generating apparatus, the apparatus including:
the acquisition unit is used for acquiring first document information and traversing request parameters in the first document information; the first document information represents document information to be written;
the determining unit is used for determining a data interface corresponding to the request parameter according to the request parameter;
the writing unit is used for calling the corresponding data information from the data interface, writing the data information into the first document information and generating second document information; and the second document information represents the finished document information.
In one example, a determination unit includes:
the analysis module is used for analyzing the request parameters to obtain parameter identifiers of the request parameters;
and the determining module is used for determining the data interface corresponding to the request parameter according to the parameter identifier.
In one example, the apparatus comprises:
the generating unit is used for generating a query request instruction according to the request parameter;
and the sending unit is used for sending the query request instruction to a data interface corresponding to the request parameter.
In one example, the apparatus comprises:
and the calculating unit is used for calculating the data information to obtain a calculation result if the type of the data information belongs to a calculation type.
In one example, the apparatus comprises:
and the uploading unit is used for uploading the second document information to a data platform so that a user can obtain the second document information from the data platform.
In one example, the first document information includes address information of the gateway device, a port number of the gateway device, address information of the database device, and a port number of the database device.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer-executable instructions for implementing the method of the first aspect when executed by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect.
According to the document information generation method, the document information generation device, the document information generation equipment and the storage medium, the request parameters in the first document information are traversed by acquiring the first document information; the first document information represents document information to be written; determining a data interface corresponding to the request parameter according to the request parameter; calling the corresponding data information from the data interface, writing the data information into the first document information, and generating second document information; and the second document information represents the finished document information. By adopting the technical scheme, the labor cost can be effectively reduced, the data accuracy is improved, and the operation and maintenance work efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a flowchart illustrating a document information generating method according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a document information generating method according to a second embodiment of the present application;
FIG. 3 is a schematic structural diagram of a document information generating apparatus according to a third embodiment of the present application;
FIG. 4 is a schematic structural diagram of a document information generating apparatus according to a fourth embodiment of the present application;
FIG. 5 is a block diagram of an electronic device shown in accordance with an example embodiment.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
At present, although the existing technical solutions rely on the way of parameter parsing to implement automatic generation of documents, the aspects of template design and parameter parsing are different. In the current scheme, data item parameters to be analyzed are stored in a database, and are acquired and maintained by operating the database. When parameter analysis is carried out, the analysis function is bound with specific parameters, each method is only used for processing one parameter, and finally all processing results are summarized to generate a data document.
The disadvantages of the prior art mainly have two aspects: in the aspect of parameter storage, document parameters are acquired and depend on a database too much, and once the database fails, document generation may fail; the risk of directly operating the database by the user is higher, and the safety risk of the system is increased; in the aspect of parameter analysis, the workload of designing and analyzing functions for each parameter is large, the reusability of the functions is poor, when the parameters are more, the code amount is huge, redundancy is easy to realize, the system operation cost is high, and the document generation efficiency is influenced; the coupling degree of the template and the analytic function is too high, so that the use range of the template is limited, and a plurality of templates and analytic functions need to be designed to meet the generation requirements of different documents.
The document information generation method provided by the application aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a document information generating method according to an embodiment of the present application. The first embodiment comprises the following steps:
s101, acquiring first document information, and traversing request parameters in the first document information; the first document information represents document information to be written.
In this embodiment, the first document information is a document designed according to different usage scenarios, for example, a business rush hour comparison document, and the first document information at this time is a document that divides the same business according to different time periods. In this embodiment, the first document information may also be a performance monitoring document or a capacity analysis document, and the first document information may also be divided into monthly document information, weekly document information, and japanese document information according to the issue frequency.
Specifically, the execution subject of the present embodiment is a tool for generating document information, and the tool can be configured in the data management platform. The request parameter refers to parameter information in the first document information, for example, the first document information includes address information of the gateway device, a port number of the gateway device, address information of the database device, and a port number of the database device, where the address information of the gateway device, the port number of the gateway device, the address information of the database device, and the port number of the database device are all request parameters. Specifically, each line in the first document information is a request parameter. In this embodiment, the gateway device may be a PROXY machine. The PROXY machine is a main functional module of the TDSQL and is mainly responsible for authentication of account numbers and parsing and forwarding of SQL.
And S102, determining a data interface corresponding to the request parameter according to the request parameter.
In this embodiment, the data interface is an interface for providing data information, where the data interface may be a TDSQL interface facing the TDSQL cluster monitoring library, or a monitor interface facing the data management platform monitoring module. The tdsqlagent interface is a packaged TDSQL service interface, comprises various functions such as inquiry and the like, standardizes calling modes and parameters of a TDSQL native interface, and simplifies returned data information. By calling the tdsqlagent interface, the return value processing which is required to be carried out when the TDSQL is directly called to provide the interface can be reduced, the code redundancy is reduced, and the use efficiency is improved.
In this embodiment, the detailed parameters of the tdsqlagent interface can be referred to in table 1, and the detailed parameters of the monitor interface of the data management platform monitoring module can be referred to in table 2.
TABLE 1 detailed parameters of the tdsqlagent interface
Figure BDA0003919980780000051
TABLE 2 detailed parameters of monitor interface of data management platform monitoring module
Figure BDA0003919980780000061
In this embodiment, the TDSQL cluster monitor stores the original data information, and the data management platform stores the data information after the original data information is processed. Different request parameters are obtained from the data interface which is not passed through. In this embodiment, the data interface is encapsulated in the form of Web Service. The Web Service is a platform-independent and low-coupling Web application program. The Web Service technology enables applications running on different machines to exchange data information or integrate with each other without the aid of other software or hardware.
S103, calling corresponding data information from the data interface, writing the data information into the first document information, and generating second document information; and the second document information represents the finished document information.
In this embodiment, the original data information is acquired from the tdsqlagent interface of the TDSQL cluster monitoring library, and the data information processed from the original data information is acquired from the monitor interface of the data management platform monitoring module. And after the data information is acquired, writing the data information into the first document information, and generating second document information, wherein the second document information is completely filled document information. For example, the query request instruction is "(" agent # ZT24 (X86) & A7& indedirect ("time parameter | A2") & indidirect ("time parameter | B2") & avg _ cpu & max }), wherein { } represents the data information that needs to be obtained by the cell in the first document information and processes the data information, further, # left side represents the identification of the data interface, right side represents the request parameter, agent represents that the cell obtains the original data information from the tdsqlagent interface; ZT24 (X86 indicates that the source of the cell data information is ZT24 (X86 cluster, A7 indicates that the data information of the cell is read from A7 cell, indidirect ("time parameter | A2") indicates the time when data information collection starts, and collection function is read from "time parameter" table by reference, indidirect ("time parameter | B2") indicates the time when data information collection ends, and collection function is read from "time parameter" table by reference, and the time interval from the start is one week.
According to the document information generation method, the request parameters in the first document information are traversed by acquiring the first document information; the first document information represents document information to be written; determining a data interface corresponding to the request parameter according to the request parameter; calling corresponding data information from the data interface, writing the data information into the first document information, and generating second document information; and the second document information represents the finished document information. By adopting the technical scheme, the labor cost can be effectively reduced, the data accuracy is improved, and the operation and maintenance work efficiency is improved.
Fig. 2 is a schematic flowchart of a document information generating method according to a second embodiment of the present application. The second embodiment comprises the following steps:
s201, acquiring first document information, and traversing request parameters in the first document information; the first document information represents document information to be written.
For example, this step may refer to step S101 described above, and is not described again.
S202, analyzing the request parameters to obtain the parameter identifiers of the request parameters.
In this embodiment, the request parameter includes a gap marker in addition to the parameter identifier, where the gap marker can be referred to in table 3. In this embodiment, the parameter identifier is a flag for identifying an attribute of the request parameter, where the detailed information of the parameter identifier can be referred to in table 4.
Table 3 details of interval markers
Figure BDA0003919980780000071
TABLE 4 detailed information of parameter identifiers
Figure BDA0003919980780000081
And S203, determining a data interface corresponding to the request parameter according to the parameter identifier.
In this embodiment, according to the interfaceType in the parameter identifier, the corresponding data interface can be determined.
And S204, generating a query request instruction according to the request parameters.
In this embodiment, the query request instructions are sent in parallel, and each request parameter generates one query request instruction. And S205, sending the query request instruction to a data interface corresponding to the request parameter.
In this embodiment, if the data interface corresponding to the request parameter is determined to be a TDSQL interface of the TDSQL cluster monitoring library, sending a query request instruction to the tdsqlagent interface of the TDSQL cluster monitoring library; and if the data interface corresponding to the request parameter is determined to be the monitor interface of the data management platform monitoring module, sending a query request instruction to the monitor interface of the data management platform monitoring module.
And S206, calling corresponding data information from the data interface.
For example, this step may refer to step S103 described above, and is not described again.
And S207, if the type of the data information belongs to the calculation type, calculating the data information to obtain a calculation result.
In this embodiment, if the parameter identifier of the request parameter includes the function, the aggregation function is obtained, and the data information is calculated according to the aggregation function, so as to obtain the calculation result and the time point of the calculation result.
Wherein the aggregation function comprises max, min, avg, sum or now. Wherein now returns the latest value, and does not transmit all data information in the return time range.
S208, writing the data information into the first document information to generate second document information; and the second document information represents the finished document information.
In this embodiment, the data information at this time is a processed calculation result, and the calculation result is written in the first document information to generate the second document information. In this embodiment, the second document information is generated at regular time, so that the advantage of this arrangement is that the purpose of analyzing the second document information at regular time can be satisfied.
S209, uploading the second document information to the data management platform, so that the user can obtain the second document information from the data management platform.
In this embodiment, the second document information is uploaded through an upload interface in the data management platform, and specific details of the upload interface may be shown in table 5.
Table 5 details of the upload interface
Figure BDA0003919980780000091
In this embodiment, the user may download the second document information from the download interface, where details of the download interface and details of the interface that generates the second document information may be referred to in table 6.
Table 6 details of the download interface and details of the interface for generating the second document information
Figure BDA0003919980780000101
According to the document information generation method, a query request instruction is generated according to a request parameter, the query request instruction is sent to a data interface corresponding to the request parameter, and corresponding data information is called from the data interface. By adopting the technical scheme, the coordination and unification of various data sources can be realized, the requirements of various documents in different scenes are met, and the expandability of the document information generation tool is improved.
Fig. 3 is a schematic structural diagram of a document information generating apparatus according to a third embodiment of the present application. Specifically, the apparatus 30 of the third embodiment includes:
an obtaining unit 301, configured to obtain first document information, and traverse request parameters in the first document information; the first document information represents document information to be written.
The determining unit 302 is configured to determine, according to the request parameter, a data interface corresponding to the request parameter.
The writing unit 303 is configured to call corresponding data information from the data interface, write the data information into the first document information, and generate second document information; and the second document information represents the finished document information.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the above-described device may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
Fig. 4 is a schematic structural diagram of a document information generating apparatus according to a fourth embodiment of the present application. Specifically, the apparatus 40 of the fourth embodiment includes:
an obtaining unit 401, configured to obtain first document information, and traverse request parameters in the first document information; the first document information represents document information to be written.
A determining unit 402, configured to determine, according to the request parameter, a data interface corresponding to the request parameter.
A writing unit 403, configured to call corresponding data information from the data interface, write the data information into the first document information, and generate second document information; and the second document information represents the finished document information.
In one example, the determining unit 402 includes:
the parsing module 4021 is configured to parse the request parameter to obtain a parameter identifier of the request parameter.
The determining module 4022 is configured to determine a data interface corresponding to the request parameter according to the parameter identifier.
In one example, an apparatus includes:
the generating unit 404 is configured to generate a query request instruction according to the request parameter.
The sending unit 405 is configured to send the query request instruction to the data interface corresponding to the request parameter.
In one example, the apparatus includes:
and the calculating unit 406 is configured to calculate the data information to obtain a calculation result if the type of the data information belongs to a calculation type.
In one example, the apparatus includes:
the uploading unit 407 is configured to upload the second document information to the data platform, so that the user acquires the second document information from the data platform.
In one example, the first document information includes address information of the gateway device, a port number of the gateway device, address information of the database device, and a port number of the database device.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
FIG. 5 is a block diagram illustrating an electronic device, which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like, in accordance with an exemplary embodiment.
The apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communications component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in operating modes, such as call mode, record mode, and voice recognition mode. The received audio signal may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect the open/closed status of the device 500, the relative positioning of the components, such as the display and keypad of the device 500, the change in position of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, the orientation or acceleration/deceleration of the device 500, and the change in temperature of the device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a document information generation method of the electronic device.
The application also discloses a computer program product comprising a computer program which, when executed by a processor, implements the method as described in the embodiments.
Various implementations of the systems and techniques described here above may be realized 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 electronic device.
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 data electronics), or that includes a middleware component (e.g., application electronics), 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 a client and an electronic device. The client and the electronic device are generally remote from each other and typically interact through a communication network. The relationship of client and electronic devices arises by virtue of computer programs running on the respective computers and having a client-electronic device relationship to each other. The electronic device may be a cloud electronic device, which is also called a cloud computing electronic device or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service extensibility in a traditional physical host and a VPS service ("Virtual Private Server", or "VPS" for short). The electronic device may also be a distributed system of electronic devices or an electronic device incorporating a blockchain. It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present application can be achieved.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A document information generation method, characterized by comprising:
acquiring first document information, and traversing request parameters in the first document information; the first document information represents document information to be written;
determining a data interface corresponding to the request parameter according to the request parameter;
calling the corresponding data information from the data interface, writing the data information into the first document information, and generating second document information; and the second document information represents the finished document information.
2. The method according to claim 1, wherein the determining, according to the request parameter, the data interface corresponding to the request parameter includes:
analyzing the request parameter to obtain a parameter identifier of the request parameter;
and determining a data interface corresponding to the request parameter according to the parameter identifier.
3. The method according to claim 2, wherein after determining the data interface corresponding to the request parameter according to the parameter identifier, the method comprises:
generating a query request instruction according to the request parameters;
and sending the query request instruction to a data interface corresponding to the request parameter.
4. The method according to claim 1, wherein before writing the data information into the first document information, the method comprises:
and if the type of the data information belongs to the calculation type, calculating the data information to obtain a calculation result.
5. The method according to any one of claims 1-4, further comprising:
and uploading the second document information to a data platform so that a user can obtain the second document information from the data platform.
6. The method according to claim 1, wherein the first document information includes address information of a gateway device, a port number of the gateway device, address information of a database device, and a port number of the database device.
7. A document information generation apparatus, characterized in that the apparatus comprises:
the acquisition unit is used for acquiring first document information and traversing request parameters in the first document information; the first document information represents document information to be written;
the determining unit is used for determining a data interface corresponding to the request parameter according to the request parameter;
the writing unit is used for calling the corresponding data information from the data interface, writing the data information into the first document information and generating second document information; and the second document information represents the finished document information.
8. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the method of any of claims 1-6.
9. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the method of any one of claims 1-6.
10. A computer program product comprising a computer program which, when executed by a processor, carries out the method of any one of claims 1-6.
CN202211353581.8A 2022-11-01 2022-11-01 Document information generation method, device, equipment and storage medium Pending CN115794771A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211353581.8A CN115794771A (en) 2022-11-01 2022-11-01 Document information generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211353581.8A CN115794771A (en) 2022-11-01 2022-11-01 Document information generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115794771A true CN115794771A (en) 2023-03-14

Family

ID=85434717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211353581.8A Pending CN115794771A (en) 2022-11-01 2022-11-01 Document information generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115794771A (en)

Similar Documents

Publication Publication Date Title
CN106569800B (en) Front-end interface generation method and device
CN112416219B (en) Target object processing method, device and system, electronic equipment and storage medium
CN112528185A (en) Comment information display method and device, server and terminal
CN111580824A (en) Program optimization method, device and storage medium
CN115687303A (en) Data information migration method, device, equipment and storage medium
CN115794771A (en) Document information generation method, device, equipment and storage medium
CN104793859A (en) Layout method and device of application interface
CN111988669B (en) Video interaction data processing method and device, electronic equipment and storage medium
CN115017406A (en) Live broadcast picture display method and device, electronic equipment and storage medium
EP3185515A1 (en) Method and device for inputting information
CN114090738A (en) Method, device and equipment for determining scene data information and storage medium
CN112988822A (en) Data query method, device, equipment, readable storage medium and product
CN112860625A (en) Data acquisition method, data storage method, device, equipment and storage medium
CN111191998A (en) Item processing method and device
CN116361071B (en) Backup file generation method, device, equipment and storage medium
CN111061633A (en) Method, device, terminal and medium for detecting first screen time of webpage
CN111159148B (en) Configuration information state management method and device, electronic equipment and storage medium
CN114756319A (en) Applet page display method, device and equipment and storage medium
CN112182027B (en) Information query method, device, electronic equipment and storage medium
CN115268935A (en) Data processing method and device
CN115952311A (en) Text information generation method, device, equipment and storage medium
CN114329088A (en) Directory structure file generation method, device, equipment and storage medium
CN115390911A (en) Node information determination method, device and equipment
CN118101659A (en) Load balancing task issuing method and device, computer equipment and storage medium
CN115544167A (en) Data transmission method, device, equipment and 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