CN115543314A - Report generation method, device, equipment and storage medium - Google Patents

Report generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN115543314A
CN115543314A CN202211304521.7A CN202211304521A CN115543314A CN 115543314 A CN115543314 A CN 115543314A CN 202211304521 A CN202211304521 A CN 202211304521A CN 115543314 A CN115543314 A CN 115543314A
Authority
CN
China
Prior art keywords
target
page
data
menu
configuring
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
CN202211304521.7A
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.)
Ping An Bank Co Ltd
Original Assignee
Ping An Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Bank Co Ltd filed Critical Ping An Bank Co Ltd
Priority to CN202211304521.7A priority Critical patent/CN115543314A/en
Publication of CN115543314A publication Critical patent/CN115543314A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a report generation method, a device, equipment and a storage medium, wherein the method comprises the following steps: configuring an initial page, wherein the initial page comprises a target component for constructing a report; acquiring a target data source, wherein the target data source stores dynamically updated target data; configuring the target data into the target component to generate a dynamic target page; configuring a target menu, wherein the target menu is an index menu of a plurality of target pages; and associating the target page with the target menu to generate a target report. The method and the device can obviously improve the efficiency and the effect of report generation.

Description

Report generation method, device, equipment and storage medium
Technical Field
The invention relates to the field of computers, in particular to a report generation method, device equipment and a storage medium.
Background
At present, most of the requirements for making the background management system report are data display requirements for submitting and viewing list pages and forms.
However, such requirements, while simple to interact and without technical difficulties, are not reusable in developing code. The development and the test of the front end and the back end are needed, the simple and repeated work occupies a large part of time of developers, and a complete version period is needed, so that the requirements of business personnel cannot be responded quickly, and the efficiency and the effect of generating the report are greatly reduced.
Disclosure of Invention
The invention provides a report generation method, device and storage medium, which can obviously improve the efficiency and effect of report generation.
In one aspect, the invention provides a report generation method, which is applied to the recruitment period and the open period of a target fund, and comprises the following steps:
configuring an initial page, wherein the initial page comprises a target component for constructing a report;
acquiring a target data source, wherein the target data source stores dynamically updated target data;
configuring the target data into the target component to generate a dynamic target page;
configuring a target menu, wherein the target menu is an index menu of a plurality of target pages;
and associating the target page with the target menu to generate a target report.
Optionally, the configuring the target data into the target component to generate a dynamic target page includes:
acquiring a first database and a first interface library related to the configuration of the target page;
acquiring configuration information of the target data;
inputting the configuration information configuration into the first database or the first interface library, and determining target configuration data returned by the first database or the first interface library;
and configuring the target configuration data into the target component, wherein the target component is updated along with the change of the target configuration data to generate the target page.
Optionally, the method further comprises:
acquiring a first data source from the target data source;
responding to a first selection operation executed on the first data source, acquiring first target configuration data returned by the first data source, and determining the first target configuration data as a full set element of any column in the target page;
and responding to the execution of a second selected operation on the first target configuration data, reserving and displaying selected data in the first target configuration data, and adding a first function to the selected data.
Optionally, the configuration target menu includes:
configuring a leaf node, wherein the leaf node comprises the initial page and the target page;
configuring a plurality of the leaf nodes as a page directory tree;
and rendering the page directory tree to obtain the target menu.
Optionally, the method further comprises:
configuring role authority, wherein the role authority is used for representing authority possessed by role characteristics of a user, and the role characteristics comprise at least one of departments, posts, services and positions corresponding to the user;
and associating the role authority with the target data source, the target page and the target menu.
Optionally, the method further comprises:
responding to a first user with the role authority, executing a third selection operation on the target page in the target menu, and acquiring the target page;
and responding to the fourth selected operation executed by the first user on the target page, and viewing the target data source corresponding to the target page.
In another aspect, the present invention provides a report generating apparatus, including:
the initial page configuration module is used for configuring an initial page, and the initial page comprises a target component for constructing a report;
the target data acquisition module is used for acquiring a target data source, and the target data source stores dynamically updated target data;
the target page generation module is used for configuring the target data into the target component to generate a dynamic target page;
the target menu configuration module is used for configuring a target menu, and the target menu is an index menu of a plurality of target pages;
a report generation module for associating the target page with the target menu to generate a target report
Optionally, the target page generating module is further specifically configured to:
acquiring a first database and a first interface library related to the configuration of the target page;
acquiring configuration information of the target data;
inputting the configuration information configuration into the first database or the first interface library, and determining target configuration data returned by the first database or the first interface library;
and configuring the target configuration data into the target component, wherein the target component is updated along with the change of the target configuration data to generate the target page.
In another aspect, the present invention also provides an apparatus comprising a memory and a processor; the memory stores an application program, and the processor is used for running the application program in the memory to execute the operation in the report generation method.
In another aspect, the present invention further provides a storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps in the report generating method.
According to the method and the device, each component of the target page can be constructed through the dynamic target data in the dynamic target data source, and the target menu can be flexibly configured through the dynamic page and the static page together, so that the report data can be generated quickly, accurately and efficiently without developing data such as interfaces, codes and methods again, and the efficiency and the effect of report generation can be remarkably improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a report generation method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a report generating method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a configuration target report according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an embodiment of a report generating apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a report generating device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first", "second", and "third", etc. in the present invention are used for distinguishing different objects, and are not used for describing a specific order. Also, the terms "comprises" and "comprising," as well as any variations thereof, are intended to cover a non-exclusive inclusion.
The embodiment of the invention provides a report generation method, a report generation device, report generation equipment and a storage medium. According to an embodiment of the report generating method provided by the embodiment of the present invention, it should be noted that the steps shown in the flowchart of the attached drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the illustrated flowchart, in some cases, the steps described or illustrated may be executed in an order different from the execution order here.
In some embodiments of the present invention, the report generation method may be applied to at least one of a computer device and a terminal device, where the computer device may be an independent server, or may be a server network or a server cluster composed of servers, for example, a computer, a network host, a single network server, multiple network server sets, or a cloud server composed of multiple servers. Among them, the Cloud server is constituted by a large number of computers or web servers based on Cloud Computing (Cloud Computing). The terminal device includes but is not limited to a smart phone, a tablet computer and a PC terminal. In some embodiments of the present invention, when the report generating method may be applied to a computer device and a terminal device, the terminal device and the computer device may implement communication through any communication method, where the communication method includes, but is not limited to, mobile communication based on third Generation Partnership project (3 gpp), long Term Evolution (LTE), worldwide Interoperability for Microwave Access (WiMAX), or computer network communication based on TCP/IP Protocol Suite (TCP/IP), user Datagram Protocol (UDP), and the like.
Referring to fig. 1, for example, the report generation apparatus is integrated in a server, the server may configure an initial page, where the initial page includes a target component for building a report; then acquiring a target data source, wherein the target data source stores dynamically updated target data; then configuring the target data into the target component to generate a dynamic target page; then configuring a target menu, wherein the target menu is an index menu of a plurality of target pages; and finally, associating the target page with the target menu to generate a target report.
In some embodiments of the present invention, the report generation method may be applied to scenarios in which the user purchases the target fund in the recruitment period and the open period. Referring to fig. 2 and fig. 3, fig. 2 is a schematic flowchart of a report generating method according to an embodiment of the present invention, fig. 3 is a schematic diagram of a configuration target report according to an embodiment of the present invention, and the report generating method shown in fig. 2 includes steps 201 to 205:
step 201, configuring an initial page, wherein the initial page comprises a target component for constructing a report.
The initial page refers to an initial configuration page of the report, and the components contained in the report can be configured in the initial page to obtain the target components. For example, the initial page may include a table component, a navigation component, an input box, a chart component, a drop down box, a text component, a button component, a custom component, and other groups, among other target components, needed to build a report.
Step 202, a target data source is obtained, and the target data source stores dynamically updated target data.
It can be understood that, in the process of configuring the target page, the target page can be obtained by acquiring the target data in the dynamic target data source and configuring the initial page through the target data, so as to realize the effect of configuring the target page in real time.
Step 203, configuring the target data into the target component to generate a dynamic target page.
Optionally, step 203 may further include the steps of:
acquiring a first database and a first interface library related to the configuration of the target page;
acquiring configuration information of the target data;
inputting the configuration information configuration into the first database or the first interface library, and determining target configuration data returned by the first database or the first interface library;
and configuring the target configuration data into the target component, wherein the target component is updated along with the change of the target configuration data to generate the target page.
Specifically, the method supports that SQL statements and big data of the first database and data source modes such as an internal interface and an external interface of the first interface library are registered in the system, necessary information required by configuration is completely filled, a preview button is clicked, a return data structure corresponding to the target data source is returned, for example, the data structure can be target configuration data including field names and field types, and a pre-query is executed.
For example only, when the target data is from an SQL-type data source, the SQL statement itself needs to fill in information such as connection information, whether paging is performed, and query parameters of the first database. When the target data comes from the interface type data source, parameters such as interface address, request mode, interface parameter transmission, paging and the like need to be configured. Accordingly, other types of data sources are filled out as actually required.
Optionally, step 203 may further include the steps of:
acquiring a first data source from the target data source;
responding to a first selection operation executed on the first data source, acquiring first target configuration data returned by the first data source, and determining the first target configuration data as a full set element of any column in the target page;
and responding to the execution of a second selection operation on the first target configuration data, reserving and displaying the selected data in the first target configuration data, and adding a first function to the selected data.
Specifically, the form component may select a data source defined by a dynamic target data source, and after selecting one data source, may return the data structure of the first target configuration data to the selected first data source as a full set of form columns, and by checking column data determined to be displayed, it is supported to add a first function, such as a formatting function, to the column data, where the formatting function may be customized by interaction logic.
Optionally, the button component and the form component (e.g., input box, drop-down box) in the target page may constitute a form submission sub-page in the target page, and the button click event obtains the form element value and sends it to the dynamic target data source, and removing the button component is the view type form.
Optionally, the data source of the drop-down box of the target page may be static data configured by the component itself, or dynamic data in a dynamic target data source, and the drop-down box is developed into a search drop-down box by combining with the target data source parameters.
Optionally, the navigation component may refer to dynamic pages and static pages, organize scattered pages into a complete functional module, and implement more complex interactions by extending configuration parameters to the component.
Step 204, configuring a target menu, wherein the target menu is an index menu of a plurality of target pages.
Optionally, step 204 may further include the steps of:
configuring a leaf node, wherein the leaf node comprises the initial page and the target page;
configuring a plurality of the leaf nodes as a page directory tree;
and rendering the page directory tree to obtain the target menu.
Alternatively, the target menu of the form may be generated based on a page directory tree rendering of the dynamic target menu configuration. The tree structure can be used for summarizing the system function structure. The method supports the configuration of the pages of the static page (physical page) and the dynamic page module into leaf nodes, and after the configuration is completed, a user can view the dynamic target page.
And 205, associating the target page with the target menu to generate a target report.
It can be understood that since the target menu is an index menu of the target page, it is possible to provide a menu for searching for the target page
Optionally, the method according to the embodiment of the present application may further include:
configuring role authority, wherein the role authority is used for representing authority possessed by role characteristics of a user, and the role characteristics comprise at least one of departments, posts, services and positions corresponding to the user;
and associating the role permission with the target data source, the target page and the target menu.
Alternatively, the role may be a department to which the user belongs, a post, a department service, a job rating, and the like. It can be understood that associating the role authority with the target data source, the target page and the target menu can realize user configuration of different roles or control different report units, so as to form the effects of effectively dividing labor, not interfering with each other and enhancing privacy of unit configuration.
Optionally, the method in the embodiment of the present application may further include:
responding to a first user with the role authority, executing a third selection operation on the target page in the target menu, and acquiring the target page;
and responding to the fourth selected operation executed by the first user on the target page, and viewing the target data source corresponding to the target page.
Optionally, in the process of configuring the target menu, it may be supported that a role is assigned to the menu in the configuration, and only the user belonging to the corresponding role can view the menu in the configuration process. Through the relation of the menu- > page- > dynamic target data sources, which data sources the user has the authority to execute can be deduced reversely, so that the problem of checking the menu in the configuration in an override mode can be solved, and the privacy and the safety of report generation are enhanced.
According to the method and the device, each component of the target page can be constructed through the dynamic target data in the dynamic target data source, and the target menu can be flexibly configured through the dynamic page and the static page together, so that the report data can be generated quickly, accurately and efficiently without developing data such as interfaces, codes and methods again, and the efficiency and the effect of report generation can be remarkably improved.
In order to better implement the report generating method provided by the embodiment of the present invention, on the basis of the report generating method, a report generating device is provided, as shown in fig. 4, fig. 4 is a schematic structural diagram of an embodiment of the report generating device provided by the embodiment of the present invention, and the report generating device shown is applied to a recruitment period and an opening period of a target fund, and the device includes:
an initial page configuration module 301, configured to configure an initial page, where the initial page includes a target component for building a report;
a target data obtaining module 302, configured to obtain a target data source, where the target data source stores dynamically updated target data;
a target page generating module 303, configured to configure the target data into the target component to generate a dynamic target page;
a target menu configuration module 304, configured to configure a target menu, where the target menu is an index menu of a plurality of target pages;
a report generating module 305, configured to associate the target page with the target menu, and generate a target report
Optionally, the target page generating module 303 is further specifically configured to:
acquiring a first database and a first interface library related to the configuration of the target page;
acquiring configuration information of the target data;
inputting the configuration information configuration into the first database or the first interface library, and determining target configuration data returned by the first database or the first interface library;
and configuring the target configuration data into the target component, wherein the target component is updated along with the change of the target configuration data to generate the target page.
According to the method and the device, each component of the target page can be constructed through the dynamic target data in the dynamic target data source, and the target menu can be flexibly configured through the dynamic page and the static page together, so that the report data can be generated quickly, accurately and efficiently without developing data such as interfaces, codes and methods again, and the efficiency and the effect of report generation can be remarkably improved.
An embodiment of the present invention further provides a report generating device, as shown in fig. 5, which shows a schematic structural diagram of the report generating device according to the embodiment of the present invention, specifically:
the report generating device may include components such as a processing module 401 of one or more processing cores, a storage module 402 of one or more computer-readable storage media, a power module 403, and an input module 404. Those skilled in the art will appreciate that the report generating device architecture illustrated in FIG. 5 does not constitute a limitation of report generating devices and may include more or fewer components than illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the processing module 401 is a control center of the report generating device, connects various parts of the entire report generating device by using various interfaces and lines, and executes various functions and processes data of the report generating device by running or executing software programs and/or modules stored in the storage module 402 and calling data stored in the storage module 402. Optionally, the processing module 401 may include one or more processing cores; preferably, the processing module 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processing module 401.
The storage module 402 may be used to store software programs and modules, and the processing module 401 executes various functional applications and data processing by running the software programs and modules stored in the storage module 402. The storage module 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created from use of the report generating apparatus, and the like. Further, the memory module 402 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory module 402 may also include a memory controller to provide the processing module 401 access to the memory module 402.
The report generating device further comprises a power module 403 for supplying power to each component, and preferably, the power module 403 may be logically connected to the processing module 401 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power module 403 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and any other components.
The report generating device may also include an input module 404, the input module 404 being operable to receive entered numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the report generation device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processing module 401 in the report generating device loads the executable file corresponding to the process of one or more application programs into the storage module 402 according to the following instructions, and the processing module 401 runs the application programs stored in the storage module 402, thereby implementing various functions as follows:
configuring an initial page, wherein the initial page comprises a target component for constructing a report;
acquiring a target data source, wherein the target data source stores dynamically updated target data;
configuring the target data into the target component to generate a dynamic target page;
configuring a target menu, wherein the target menu is an index menu of a plurality of target pages;
and associating the target page with the target menu to generate a target report.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the embodiment of the present invention provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any report generation method provided in the embodiment of the present invention. For example, the instructions may perform the steps of:
configuring an initial page, wherein the initial page comprises a target component for constructing a report;
acquiring a target data source, wherein the target data source stores dynamically updated target data;
configuring the target data into the target component to generate a dynamic target page;
configuring a target menu, wherein the target menu is an index menu of a plurality of target pages;
and associating the target page with the target menu to generate a target report.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any report generation method provided in the embodiments of the present invention, beneficial effects that can be achieved by any report generation method provided in the embodiments of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
In an embodiment, the electronic device provided in the embodiments of the present application includes a terminal, a server, and the like, which are separately described.
The present embodiment also provides a terminal, as shown in fig. 6, the terminal may include a Radio Frequency (RF) circuit 501, a memory 502 having one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a Wireless (WiFi) module 507, a processor 508 of one or more processing cores, and a power supply 509. Those skilled in the art will appreciate that the terminal structure shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 508 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile phone. In one embodiment, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing by running the computer programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The audio circuit 506 includes a speaker and a microphone may provide an audio interface between the user and the terminal. The audio circuit 506 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508 and then sent to another terminal via the RF circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
The display unit 504 may be used to display information input by or provided to a user and various graphic user interfaces of the terminal, which may be configured of graphics, text, icons, video, and any combination thereof. The Display unit 504 may include a Display panel, and in one embodiment, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 6 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The input unit 503 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (such as operations by the user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. In one embodiment, the touch sensitive surface may include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The terminal may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like which can be configured at the terminal are not described in detail herein.
The terminal also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 508 via a power management system that manages charging, discharging, and power consumption. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), general Packet Radio Service (GPRS), code Division Multiple Access (CDMA), wideband Code Division Multiple Access (WCDMA), long Term Evolution (LTE), email, short Messaging Service (SMS), and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 508 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application program stored in the memory 502, so as to implement the following functions:
configuring an initial page, wherein the initial page comprises a target component for constructing a report;
acquiring a target data source, wherein the target data source stores dynamically updated target data;
configuring the target data into the target component to generate a dynamic target page;
configuring a target menu, wherein the target menu is an index menu of a plurality of target pages;
and associating the target page with the target menu to generate a target report.
The report generation method, apparatus, device and storage medium provided in the embodiments of the present invention are described in detail above, and specific examples are applied herein to explain the principles and embodiments of the present invention, and the description of the above embodiments is only used to help understanding the method and its core ideas of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A report generation method is characterized by comprising the following steps:
configuring an initial page, wherein the initial page comprises a target component for constructing a report;
acquiring a target data source, wherein the target data source stores dynamically updated target data;
configuring the target data into the target component to generate a dynamic target page;
configuring a target menu, wherein the target menu is an index menu of a plurality of target pages;
and associating the target page with the target menu to generate a target report.
2. A report generation method according to claim 1, characterized in that said configuring said target data into said target component to generate a dynamic target page comprises:
acquiring a first database and a first interface library related to the configuration of the target page;
acquiring configuration information of the target data;
inputting the configuration information configuration into the first database or the first interface library, and determining target configuration data returned by the first database or the first interface library;
and configuring the target configuration data into the target component, wherein the target component is updated along with the change of the target configuration data to generate the target page.
3. A report generation method according to claim 2, characterized in that the method further comprises:
acquiring a first data source from the target data source;
responding to a first selected operation executed on the first data source, acquiring first target configuration data returned by the first data source, and determining the first target configuration data as a full set element of any column in the target page;
and responding to the execution of a second selected operation on the first target configuration data, reserving and displaying selected data in the first target configuration data, and adding a first function to the selected data.
4. The report generation method according to claim 1, wherein the configure target menu comprises:
configuring leaf nodes, wherein the leaf nodes comprise the initial page and the target page;
configuring a plurality of the leaf nodes as a page directory tree;
and rendering the page directory tree to obtain the target menu.
5. A report generation method according to claim 1, characterized in that said method further comprises:
configuring role authority, wherein the role authority is used for representing authority of role characteristics of a user, and the role characteristics comprise at least one of departments, positions, services and positions corresponding to the user;
and associating the role permission with the target data source, the target page and the target menu.
6. A report generation method according to claim 5, characterized in that said method further comprises:
responding to a first user with the role authority, executing a third selection operation on the target page in the target menu, and acquiring the target page;
and responding to the fourth selected operation executed by the first user on the target page, and viewing the target data source corresponding to the target page.
7. A report generation apparatus, characterized in that the apparatus comprises:
the initial page configuration module is used for configuring an initial page, and the initial page comprises a target component for constructing a report;
the target data acquisition module is used for acquiring a target data source, and the target data source stores dynamically updated target data;
the target page generation module is used for configuring the target data into the target component so as to generate a dynamic target page;
the target menu configuration module is used for configuring a target menu, and the target menu is an index menu of a plurality of target pages;
and the report generation module is used for associating the target page with the target menu to generate a target report.
8. The report generation apparatus according to claim 7, wherein the target page generation module is further specifically configured to:
acquiring a first database and a first interface library related to the configuration of the target page;
acquiring configuration information of the target data;
inputting the configuration information configuration into the first database or the first interface library, and determining target configuration data returned by the first database or the first interface library;
and configuring the target configuration data into the target component, wherein the target component is updated along with the change of the target configuration data to generate the target page.
9. An apparatus comprising a memory and a processor; the memory stores an application program, and the processor is configured to run the application program in the memory to perform the operations of the report generating method according to any one of claims 1 to 6.
10. A storage medium storing instructions adapted to be loaded by a processor to perform the steps of a report generation method according to any of claims 1 to 6.
CN202211304521.7A 2022-10-24 2022-10-24 Report generation method, device, equipment and storage medium Pending CN115543314A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211304521.7A CN115543314A (en) 2022-10-24 2022-10-24 Report generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211304521.7A CN115543314A (en) 2022-10-24 2022-10-24 Report generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115543314A true CN115543314A (en) 2022-12-30

Family

ID=84718805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211304521.7A Pending CN115543314A (en) 2022-10-24 2022-10-24 Report generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115543314A (en)

Similar Documents

Publication Publication Date Title
CN106970790B (en) Application program creating method, related equipment and system
CN108345543B (en) Data processing method, device, equipment and storage medium
CN111178012A (en) Form rendering method, device and equipment and storage medium
CN105471931B (en) Method, device and system for inquiring service data
CN108039963B (en) Container configuration method and device and storage medium
CN107204964B (en) Authority management method, device and system
CN106502703B (en) Function calling method and device
CN111078556B (en) Application testing method and device
CN107368298B (en) Text control simulation touch method, terminal and computer readable storage medium
CN111580815A (en) Editing method of page elements and related equipment
CN112749074B (en) Test case recommending method and device
CN114115895A (en) Code query method and device, electronic equipment and storage medium
CN112328349B (en) Parameter setting method and related equipment
CN105631059B (en) Data processing method, data processing device and data processing system
CN111359210B (en) Data processing method and device, electronic equipment and storage medium
CN106230919B (en) File uploading method and device
CN107741895B (en) Server management method, device and equipment
CN110309454B (en) Interface display method, device, equipment and storage medium
CN115065609A (en) B-end SaaS system hybrid deployment method and system
CN114064447B (en) Interface testing method and device, storage medium and terminal
CN115543314A (en) Report generation method, device, equipment and storage medium
CN107346347B (en) Webpage table display method and device
CN115686506A (en) Data display method and device, electronic equipment and storage medium
CN108616552B (en) Webpage access method, device and system
CN111191998A (en) Item processing method and device

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