CN117171160A - Report access method, device, equipment and medium - Google Patents

Report access method, device, equipment and medium Download PDF

Info

Publication number
CN117171160A
CN117171160A CN202210627910.7A CN202210627910A CN117171160A CN 117171160 A CN117171160 A CN 117171160A CN 202210627910 A CN202210627910 A CN 202210627910A CN 117171160 A CN117171160 A CN 117171160A
Authority
CN
China
Prior art keywords
report
component
configuration
page
data
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
CN202210627910.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.)
Tencent Cyber Tianjin Co Ltd
Original Assignee
Tencent Cyber Tianjin 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 Tencent Cyber Tianjin Co Ltd filed Critical Tencent Cyber Tianjin Co Ltd
Priority to CN202210627910.7A priority Critical patent/CN117171160A/en
Publication of CN117171160A publication Critical patent/CN117171160A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The application discloses a report access method, a report access device, report access equipment and report access media, relates to the technical field of data processing, and particularly relates to the technical field of data access. The method comprises the following steps: receiving an access request of a report page; calling an access component according to the access request, and acquiring configuration information corresponding to a report page from a report configuration system through the access component; obtaining a report component from a report configuration system according to the configuration information and obtaining report data from a service database; the method for rendering the report page according to the report data and the report components obtains the configuration information through the access component, and then obtains each report component required by the report page according to the configuration information, so that the report page control flexibility is higher, repeated loading of resources is not required, and the access performance and experience are improved.

Description

Report access method, device, equipment and medium
Technical Field
The present disclosure relates generally to the field of data processing technologies, and in particular, to the field of data access technologies, and in particular, to a report accessing method, apparatus, device, and medium.
Background
In the related art, when the business data of the business system is displayed in a report form, the report form page is usually introduced in an iframe label mode, and although the change of the contents on the report form page can be realized in a URL parameter transmission mode, the flexibility is poor and the access performance and experience sense of the report form page are poor. For example: taking report display of operation data of a game service as an example, assuming that operation data conditions of an active user number and a new registered user number of the game, an active user number, a paid user number and operation data conditions of stream income need to be provided, the report page can be preset, corresponding query sentences are configured and used for querying corresponding operation data from a database of operation data of the game service, in this way, when operation data such as in a certain time period need to be queried, corresponding parameters can be transmitted through URLs as query conditions of query sentences, and then corresponding operation data in the time period need to be queried, so that content on the report page is changed, however, the mode of changing the content on the report page can only change the range of the queried operation data, the overall control flexibility of the whole report page is poor, resources need to be reloaded due to the change of query conditions, and the access performance and experience are affected.
Disclosure of Invention
In view of the above-mentioned drawbacks or shortcomings in the prior art, it is desirable to provide a method, an apparatus, a device, and a medium for accessing a report, in which configuration information is obtained through an access component, and then each report component required for obtaining a report page according to the configuration information, so that the control flexibility of the report page is higher, resources do not need to be repeatedly loaded, and access performance and experience are improved.
In a first aspect, the present application provides a report accessing method, where the method includes: receiving an access request of a report page; calling an access component according to the access request, and acquiring configuration information corresponding to the report page from a report configuration system through the access component; obtaining a report component from the report configuration system and report data from a service database according to the configuration information; and rendering a report page according to the report data and the report component.
In a second aspect, the present application provides a report accessing apparatus, including: the receiving unit is used for receiving an access request of the report page; the configuration information acquisition unit is used for calling an access component according to the access request and acquiring configuration information corresponding to the report page from a report configuration system through the access component; the report acquisition unit is used for acquiring a report component from the report configuration system and acquiring report data from a service database according to the configuration information; and the rendering unit is used for rendering the report page according to the report data and the report component.
In a possible implementation manner of the second aspect, the report acquiring unit is specifically configured to:
acquiring the report component from the report configuration system according to the page configuration item;
and obtaining the report data from a service database according to the data configuration item.
In a possible implementation manner of the second aspect, the page configuration item includes a component configuration, and the report obtaining unit is specifically configured to:
determining a component type according to the component configuration;
and acquiring the report component corresponding to the component type.
In a possible implementation manner of the second aspect, the data configuration item includes a connection configuration and a query configuration of the service database, and the report obtaining unit is specifically configured to:
connecting the service database according to the connection configuration;
and after the service database is successfully connected, inquiring the report data from the service database according to the inquiring configuration.
In a possible implementation manner of the second aspect, the configuration information further includes a layout configuration item, and the rendering unit is specifically configured to:
and rendering the report component according to the layout configuration item and the report data to obtain the report page.
In a possible implementation manner of the second aspect, the method further includes: a configuration unit for:
receiving a configuration request of the configuration information;
and configuring configuration information corresponding to the report page based on the configuration request.
In a possible implementation manner of the second aspect, the method further includes: an editing unit configured to:
receiving an editing request of the report component;
and adjusting the style of the report component based on the editing request.
In a possible implementation manner of the second aspect, the report component includes a slot, and the access device further includes: an adjusting unit for:
and adjusting the content displayed by the report component by utilizing the slot.
In a third aspect, embodiments of the present application provide a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method as described in embodiments of the present application when the program is executed by the processor.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in embodiments of the present application.
After receiving the access request of the report page, the access method, the access device, the equipment and the medium can acquire the configuration information of the report page from the report configuration system through the access component, acquire the report components and the report data of the report components required by the report page according to the configuration information, and finally render the report page according to the acquired report components and the report data of the report components. The method for obtaining the components in the report page through the configuration information can be used for drawing corresponding report data by the components and then rendering the report page, different components can be selected to form different report pages through the mode of embedding the components, the control flexibility of the report page is higher, and the components obtained through the access components can be loaded into different report pages, so that resources do not need to be repeatedly loaded, and the access performance and experience are improved.
Compared with the report page adopting the mode of introducing the iframe label, the method has higher control flexibility of the report page, and the components acquired by the access component can be loaded into different report pages without repeatedly loading resources, thereby improving the access performance and experience.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is a flow chart of a report accessing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interaction process between a business system and a report configuration system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a report configuration system of a report access method according to an embodiment of the present application;
fig. 4 is a schematic data flow diagram of a report page requested by a service system in the report access method according to the embodiment of the present application;
fig. 5 is a schematic illustration of a report page rendered by a report component in the report accessing method according to the embodiment of the present application;
FIG. 6 is a schematic diagram of a page component of a report accessing method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of page components of a report access method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of attributes included in a data icon component in a report accessing method according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a filtering component in a component transferring query conditions to a data graph component according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a report page of a report access method according to an embodiment of the present application;
FIG. 11 is a schematic diagram of the report page shown in FIG. 10 after the report page has been adjusted to the content displayed by the report component using the slots;
FIG. 12 is a schematic diagram of a new data source added in a report configuration system in the report accessing method according to the embodiment of the present application;
FIG. 13 is a schematic diagram of a report page created by the report access method according to the embodiment of the present application;
FIG. 14 is a schematic diagram of component types of a configuration report component in a report accessing method according to an embodiment of the present application;
FIG. 15 is a schematic diagram of configuring SQL query statements in a report component in a report accessing method according to an embodiment of the present application;
FIG. 16 is a schematic diagram of a report accessing apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be noted that, for convenience of description, only the portions related to the application are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other. The application will be described in detail below with reference to the drawings in connection with embodiments.
At present, when the business data of the business system is displayed in a report form, the report form page is usually introduced in an iframe label mode, and the change of the contents on the report form page can be realized in a URL parameter transmission mode, but the flexibility is poor and the access performance experience of the report form page is poor.
Based on the method, the device, the equipment and the storage medium for accessing the report, the method, the device and the storage medium for accessing the report are provided, the configuration information is obtained through the access component, and then the mode of each report component required by the report page is obtained according to the configuration information, so that the control flexibility of the report page is higher, resources do not need to be loaded repeatedly, and the access performance and experience are improved.
The implementation environment of the embodiment of the application can receive the access request of the report page by personal computer equipment, mobile terminals and the like; calling an access component according to the access request, and acquiring configuration information corresponding to a report page from a report configuration system through the access component; obtaining a report component from a report configuration system according to the configuration information and obtaining report data from a service database; and rendering the report page according to the report data and the report component.
Alternatively, it may be implemented by a server, for example: the server receives an access request of a report page; calling an access component according to the access request, and acquiring configuration information corresponding to a report page from a report configuration system through the access component; obtaining a report component from a report configuration system according to the configuration information and obtaining report data from a service database; and rendering the report page according to the report data and the report component.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a content distribution network (content delivery network, CDN), basic cloud computing services such as big data and an artificial intelligent platform.
In a specific application scenario, the service system is, for example, a service system of a game service, service data displayed on a report page is operation data of the game service, and the operation data of the game service are as follows: and the data report of the operation data conditions of the active user number and the newly registered user number of the game, the operation data conditions of the active user number, the paid user number and the stream income, and the like.
The embodiment of the application provides a report accessing method which can be applied to computer equipment. As shown in fig. 1, the method comprises the steps of:
101. and receiving an access request of the report page.
The access request of the report page can be triggered by a button, taking a certain service system such as a data marketing system as an example, the front end of the service system, namely the interface of the client, such as a certain user interface, is provided with a button, the function of the button is to access a certain report page, and after clicking the button, the access request of the report page is triggered. Namely: the access request is received by a user interface of a front end of the business system.
As shown in fig. 2, on the user interface of the front end of the business system, the user accesses the report page xx.com, namely: and receiving an access request of a report page xx.com input by a user on a user interface of the front end of the business system.
Of course, the service system may also be a game service, taking a report page for inquiring operation data of the flower cat game as an example, a button is arranged on an interface of a client of the game service, and the function of the button is to access the report page of the operation data of the flower cat game, and after clicking the button, an access request of the report page of the operation data of the flower cat game is triggered. Namely: the access request is received by a user interface of a client of the flower cat game.
102. And calling the access assembly according to the access request, and acquiring configuration information corresponding to the report page from the report configuration system through the access assembly.
The access component is, for example, a JS file, a JS-SDK, etc. developed for the report configuration system in advance. The JS file and the JS-SDK comprise a data access interface which is used for accessing the report configuration system, so that the access of the business system to the report configuration system can be realized through the data access interface. Specifically, referring to fig. 2, after receiving an access request of a report page xx.com, a user interface at a front end of a service system sends the access request to a background of the service system, namely: and the access component is called to access the report configuration system, and configuration information corresponding to the report page is acquired from the report configuration system.
The configuration information is preconfigured in the report configuration system, namely: the report accessing method further comprises the following steps: receiving a configuration request of configuration information; based on the configuration request, configuration information corresponding to the report page is configured. Specifically, different configuration information is provided for different report pages, so that when a certain target report page is accessed, the configuration information corresponding to the target report page can be obtained from a report configuration system. Configuration information includes, but is not limited to, page configuration items and data configuration items for report pages, such as: the page configuration items include, but are not limited to, component configurations, and the data configuration items include, but are not limited to, connection configurations and query configurations of the business database. The component configuration includes, for example, the type of component in the report page that uses the component, so that the component required for the report page can be selected by the component configuration. The connection configuration of the service database comprises, for example, a connection configuration of a service database of the service system, by means of which connection configuration a connection to the service database can be made. The query configuration includes, for example, an SQL query statement of report data to be displayed in the component, so that corresponding report data can be queried from the service database through the SQL query statement.
As shown in fig. 3, the report configuration system is, for example, a Nami platform, and the front end can be used for configuring configuration data, such as connection configuration of a configuration database, and configuring SQL query statements and configuration page configuration items, such as: component type, etc. And, the Nami platform provides access stratum APIs, namely: an access component. In this way, the user can access the reporting system through the access component. In addition, the report configuration system provides a plurality of components of component types, so that corresponding components can be obtained from the report configuration system through configuration data.
Before the access component is called according to the access request and the configuration information corresponding to the report page is obtained from the report configuration system through the access component, the connection configuration of the service database, which is the data source connection information of the report data, needs to be pre-configured in the report configuration system, for example: for a game service, the report data is operation data of the game service, such as operation data of the active user number and the newly registered user number of the game, and data report of the active user number, the paid user number, the operation data of the stream income and the like, and these operation data come from a service database of the game service. When the above information is configured, it is possible to connect to the service database of the game running data of the game service according to the configuration information.
After the report configuration system configures a service database of game operation data which can be successfully connected to a game service, a corresponding report page is created in advance according to the report page which needs to be accessed by an access request of the report page, as shown in fig. 13, and the report configuration system is a schematic diagram of the created page (i.e. the report page), and when the page is created, names the report page, i.e. the title name of the report page is input, for example: the report page needs to present the operation data of the active user number and the new registered user number of the flower cat game, and the operation data of the active user number, the paid user number and the stream income can be named as: and (5) comparing game users.
After the report page is successfully created, because the report page needs to present the operation data of the active user number and the new registered user number of the flower cat game, the operation data of the active user number, the paid user number and the stream income can be added into the report page, for example: the operation data of the active user number and the new registered user number of the flower cat game are used as a comparison display, a report component is required to be added, and the operation data of the active user number, the paid user number and the running income are used as a comparison display, and another report component is required to be added.
The report components of different types are different in presentation form, that is, different in type, as shown in fig. 14, and are configured as report components of a query component type, and the corresponding presentation form is a line graph, for example: the comparison and display of the operation data of the active user number and the new registered user number of the flower cat game need to be compared in a histogram mode, and a report component with a display form of a histogram can be added, and the following steps are performed: and comparing the operation data of the active user number, the paid user number and the running income in a folding line mode, and adding a report component with a display form of a folding line. The position of each report component can be dragged randomly in the report page, so that the position can be conveniently adjusted to display corresponding data in a required area. Corresponding configuration information such as page configuration items are generated after the corresponding report components are added.
Two report components in a report page need to present the required business data, for example: one reporting component needs to display the comparison of the operation data of the active user number and the new registered user number in the flower cat game, and the other reporting component needs to display the comparison of the operation data of the active user number, the paid user number and the stream income. The corresponding configuration information is required to be configured for each report component, and typically, an SQL query statement (i.e., a data configuration item) is configured for each report component, so that the corresponding SQL query statement can be executed, and corresponding game running data is queried from a service database of the running data of the flower cat game and displayed. Namely: the data source of the report component, namely the SQL query statement which needs to be executed by the report component, is configured, so that corresponding operation data can be queried from the operation data service database of the flower cat game through the query statement, such as: active user number, paid user number, and running data of running income.
103. And obtaining a report component from the report configuration system according to the configuration information and obtaining report data from the service database.
Because the configuration information comprises page configuration items and data configuration items of the report page, a report component can be obtained from the report configuration system according to the page configuration items; and obtaining report data from the service database according to the data configuration items.
The report component is obtained from the report configuration system according to the page configuration item, and the report component can be realized in the following way: determining a component type according to the component configuration; and acquiring a report component corresponding to the component type. Obtaining report data from the business database according to the data configuration items can be achieved by: connecting a service database according to the connection configuration; after the service database is successfully connected, the report data is queried in the service database according to query configuration.
In a specific example, as shown in fig. 2, a service server of a service system generates a signature through an item token, an item ID, a timestamp, and the like, and then when the service server accesses a report configuration system through an access component, the report configuration system verifies the signature to determine whether a request for accessing a report page sent by a correct service party (i.e., the correct service system) is a request for accessing the report page sent by the correct service party (i.e., the correct service system), if the request is a request for accessing the report page sent by the correct service party (i.e., the correct service system), configuration data corresponding to the report page is provided to the service system, and the service system obtains a corresponding report component from the report configuration system by using a page configuration item of the configuration data, namely: determining a component type according to the component configuration; and acquiring a report component corresponding to the component type, and after the service database (namely, the service DB data) is successfully connected according to the connection configuration in the data configuration item, inquiring corresponding report data from the service database according to the inquiry configuration.
As shown in fig. 12 to 15, for the game service, connection with the service database of the operation data of the flower cat game is achieved by performing connection configuration of the service database of the operation data of the flower cat game, then, a report page and a report component are obtained by performing a page configuration item, and then, corresponding operation data of the flower cat game is queried from corresponding data tables in the service database of the operation data of the flower cat game by SQL query statements configured in the report component.
104. And rendering the report page according to the report data and the report component.
The configuration information may further include a layout configuration item, and render a report page according to the report data and the report component, including: and rendering the report component according to the layout configuration items and the report data to obtain a report page. Namely: and filling the report data into a report component, rendering the report component to obtain a report page, and displaying the report page. That is, the size and the position of each region of the report component and the component type carried by each region are drawn based on the layout configuration, and then the report data corresponding to the report component in the corresponding region is pulled and rendered by each region.
As shown in fig. 4, for the business system, the data processing flow of requesting the report page is: acquiring page layout configuration and component configuration, namely: the access component is utilized to acquire configuration information from the report configuration system, and then the report component is laid out, namely: and drawing the layout, then acquiring report data to be displayed in the report component, drawing the component, and finally displaying a report page after rendering.
As shown in fig. 5, the rendered result of the report component of a report page is displayed. As shown in fig. 6, the analysis is performed from the structure of the report component, that is, the structure of the page component (Nami-report), which includes a filtering area and a data presentation area, wherein each block carries one component. As shown in FIG. 7, the entire page component (Nami-report) contains a layout component layout. Vue, one or more filtering components Nami-input. Vue, and one or more data diagram components Nami-char. Vue (i.e., data components). For the data diagram component nami-char.vue, attributes as shown in FIG. 8 may be included, such as: name, sql_id, and type. As shown in FIG. 9, the filtering conditions in the filtering component nami-input will affect the query conditions in the data diagram component nami-chart. The report page can be rendered to present data by selectively introducing the whole page component Nami-report or a single data component Nami-char according to the configuration information.
It should be noted that, when a business system, such as a flower cat game, accesses a report page through an external network, the business system is usually connected to a report configuration system through an agent (i.e. an access component), and the agent can encrypt data by using a token when requesting the data in the report configuration system, so that the security and reliability of the external network access can be improved.
According to the report accessing method provided by the embodiment of the application, after the access request of the report page is received, the configuration information of the report page can be obtained from the report configuration system through the access component, then each report component and the report data of each report component required by the report page are obtained according to the configuration information, and finally the report page is rendered according to the obtained report components and the report data of each report component. The method for obtaining the components in the report page through the configuration information can be used for drawing corresponding report data by the components and then rendering the report page, different components can be selected to form different report pages through the mode of embedding the components, the control flexibility of the report page is higher, and the components obtained through the access components can be loaded into different report pages, so that resources do not need to be repeatedly loaded, and the access performance and experience are improved.
Compared with the report page adopting the mode of introducing the iframe label, the method has higher control flexibility of the report page, and the components acquired by the access component can be loaded into different report pages without repeatedly loading resources, thereby improving the access performance and experience.
In one embodiment of the present application, the report accessing method further includes: receiving an editing request of a report component; based on the editing request, the style of the report component is adjusted. Namely: the page component (Nami-report) may give the user the ability to develop secondarily in the following manner. For example: class reservation: ensuring that the user can randomly modify the style of the chart; in the style, reserving a nami-chart-type- $ { typeName }, so that the style of the component type is convenient to adjust in the later period; the hops reserves, events that occur inside the component, can be selectively received and processed externally: page data load complete @ getPageData, parameter change @ queryParamsChange, page load complete @ updateloadStatus, etc.
In one embodiment of the application, the report component includes a slot, and the access method further includes: and adjusting the content displayed by the report component by using the slot. Namely: and adding slot labels into the report components. The user may need to further process the data of the components, such as paying attention to each component, etc., while using the reporting component. As shown in fig. 10, a target report page is shown. After being embedded into a business system: the ability of each data component to focus can be increased a second time. Fig. 11 is a schematic diagram of a target report page after focusing attention. This is achieved by a slot, for example: by defining a slot with a chart header name of chartHeader inside the page component; the user can select a slot mode of inputting a Vue language into the page component, the slot is processed into a node of a virtual DOM (document object model) in the component, and then the node is inserted into the head of each data component, so that the insertion of the content of each data component in the data component page is self-defined, and the interactive experience of the report page is improved.
FIG. 16 is a block diagram of a report accessing apparatus according to an embodiment of the present application.
As shown in fig. 16, the report accessing apparatus includes: a receiving unit 1601, a configuration information acquiring unit 1602, a report acquiring unit 1603, and a rendering unit 1604, wherein:
a receiving unit 1601, configured to receive an access request of a report page; the configuration information obtaining unit 1602 is configured to invoke the access component according to the access request, and obtain configuration information corresponding to the report page from the report configuration system through the access component; a report acquisition unit 1603, configured to obtain a report component from a report configuration system and report data from a service database according to the configuration information; and the rendering unit 1604 is used for rendering the report page according to the report data and the report component.
In one possible implementation, the report acquiring unit 1603 is specifically configured to:
obtaining a report component from a report configuration system according to the page configuration item;
and obtaining report data from the service database according to the data configuration items.
In one possible implementation, the page configuration item includes a component configuration, and the report acquiring unit 1603 is specifically configured to:
determining a component type according to the component configuration;
and acquiring a report component corresponding to the component type.
In one possible implementation, the data configuration items include a connection configuration and a query configuration of the service database, and the report obtaining unit 1603 is specifically configured to:
connecting a service database according to the connection configuration;
after the service database is successfully connected, the report data is queried in the service database according to query configuration.
In a possible implementation, the configuration information further includes a layout configuration item, and the rendering unit 1604 is specifically configured to:
and rendering the report component according to the layout configuration items and the report data to obtain a report page.
In one possible implementation, the method further includes: a configuration unit for:
receiving a configuration request of configuration information;
based on the configuration request, configuration information corresponding to the report page is configured.
In one possible implementation, the method further includes: an editing unit configured to:
receiving an editing request of a report component;
based on the editing request, the style of the report component is adjusted.
In one possible implementation, the report component includes a slot, and the accessing device further includes: an adjusting unit for:
and adjusting the content displayed by the report component by utilizing the slot.
According to the access device for the report, after the access request of the report page is received, the configuration information of the report page can be obtained from the report configuration system through the access component, then each report component and the report data of each report component required by the report page are obtained according to the configuration information, and finally the report page is rendered according to the obtained report components and the report data of each report component. The method for obtaining the components in the report page through the configuration information can be used for drawing corresponding report data by the components and then rendering the report page, different components can be selected to form different report pages through the mode of embedding the components, the control flexibility of the report page is higher, and the components obtained through the access components can be loaded into different report pages, so that resources do not need to be repeatedly loaded, and the access performance and experience are improved.
Compared with the report page adopting the mode of introducing the iframe label, the method has higher control flexibility of the report page, and the components acquired by the access component can be loaded into different report pages without repeatedly loading resources, thereby improving the access performance and experience.
It should be understood that the units described in the accessing means of the report correspond to the respective steps in the accessing method of the report described with reference to fig. 1. Thus, the operations and features described above for the method are equally applicable to the report accessing device and the units contained therein, and are not described herein. The report accessing device can be realized in the browser of the computer equipment or other security applications in advance, and can also be loaded into the browser of the computer equipment or the security applications thereof by means of downloading and the like. Corresponding units in the report access device can be matched with units in the computer equipment to realize the scheme of the embodiment of the application.
The division of the modules or units mentioned in the above detailed description is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
It should be noted that, for details not disclosed in the report accessing apparatus in the embodiment of the present application, please refer to details disclosed in the above embodiment of the present application, and details are not described herein.
Referring now to fig. 17, fig. 17 shows a schematic diagram of a computer device suitable for use in implementing an embodiment of the present application, as shown in fig. 17, a computer system 1700 includes a Central Processing Unit (CPU) 1701 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1702 or a program loaded from a storage section 1708 into a Random Access Memory (RAM) 1703. In the RAM1703, various programs and data required for operation instructions of the system are also stored. The CPU1701, ROM1702, and RAM1703 are connected to each other through a bus 1704. An input/output (I/O) interface 1705 is also connected to the bus 1704.
The following components are connected to the I/O interface 1705; an input section 1706 including a keyboard, a mouse, and the like; an output portion 1707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage portion 1708 including a hard disk or the like; and a communication section 1709 including a network interface card such as a LAN card, a modem, or the like. The communication section 1709 performs communication processing via a network such as the internet. The driver 1710 is also connected to the I/O interface 1705 as needed. A removable medium 1711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 1710, so that a computer program read therefrom is installed into the storage portion 1708 as needed.
In particular, the process described above with reference to flowchart fig. 1 may be implemented as a computer software program according to an embodiment of the application. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program contains program code for performing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1709, and/or installed from the removable media 1711. The above-described functions defined in the system of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 1701.
The computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation instructions of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, blocks shown in two separate connections may in fact be performed substantially in parallel, or they may sometimes be performed in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules involved in the embodiments of the present application may be implemented in software or in hardware. The described units or modules may also be provided in a processor, for example, as: a processor includes a first collection module, a second collection module, and a transmission module. Wherein the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present application also provides a computer-readable storage medium that may be included in the electronic device described in the above embodiment or may exist alone without being incorporated in the electronic device. The computer-readable storage medium stores one or more programs that when executed by one or more processors perform the method of accessing a report described in the present application.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present application is not limited to the specific combinations of technical features described above, but also covers other technical features which may be formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.

Claims (11)

1. The report accessing method is characterized by comprising the following steps:
receiving an access request of a report page;
calling an access component according to the access request, and acquiring configuration information corresponding to the report page from a report configuration system through the access component;
obtaining a report component from the report configuration system and report data from a service database according to the configuration information;
and rendering a report page according to the report data and the report component.
2. The method for accessing a report according to claim 1, wherein the configuration information includes a page configuration item and a data configuration item of the report page, and the obtaining report data from the report configuration system and from a service database according to the configuration information includes:
acquiring the report component from the report configuration system according to the page configuration item;
and obtaining the report data from a service database according to the data configuration item.
3. The method for accessing a report according to claim 2, wherein the page configuration item includes a component configuration, and the report component is obtained from the report configuration system according to the page configuration item, including:
determining a component type according to the component configuration;
and acquiring the report component corresponding to the component type.
4. A method of accessing a report according to claim 2 or 3, wherein the data configuration items comprise connection configuration and query configuration of the business database, and the obtaining the report data from the business database according to the data configuration items comprises:
connecting the service database according to the connection configuration;
and after the service database is successfully connected, inquiring the report data from the service database according to the inquiring configuration.
5. The method for accessing a report according to claim 2, wherein the configuration information further comprises a layout configuration item, and the rendering of the report page according to the report data and the report component comprises:
and rendering the report component according to the layout configuration item and the report data to obtain the report page.
6. The method for accessing a report according to claim 1, further comprising:
receiving a configuration request of the configuration information;
and configuring configuration information corresponding to the report page based on the configuration request.
7. The method for accessing a report according to claim 1, further comprising:
receiving an editing request of the report component;
and adjusting the style of the report component based on the editing request.
8. The method of accessing a report of claim 1, wherein the report component comprises a slot, the method of accessing further comprising:
and adjusting the content displayed by the report component by utilizing the slot.
9. An access device for a report, comprising:
the receiving unit is used for receiving an access request of the report page;
the configuration information acquisition unit is used for calling an access component according to the access request and acquiring configuration information corresponding to the report page from a report configuration system through the access component;
the report acquisition unit is used for acquiring a report component from the report configuration system and acquiring report data from a service database according to the configuration information;
and the rendering unit is used for rendering the report page according to the report data and the report component.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of accessing a report according to any of claims 1-8 when executing the program.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements a method of accessing a report according to any of claims 1-8.
CN202210627910.7A 2022-05-26 2022-05-26 Report access method, device, equipment and medium Pending CN117171160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210627910.7A CN117171160A (en) 2022-05-26 2022-05-26 Report access method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210627910.7A CN117171160A (en) 2022-05-26 2022-05-26 Report access method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117171160A true CN117171160A (en) 2023-12-05

Family

ID=88943735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210627910.7A Pending CN117171160A (en) 2022-05-26 2022-05-26 Report access method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117171160A (en)

Similar Documents

Publication Publication Date Title
CN108282529B (en) System, method and device for publishing and subscribing data
US7490167B2 (en) System and method for platform and language-independent development and delivery of page-based content
CN108684205B (en) Method and system for processing digital components
US20130054812A1 (en) System and method for dynamically assembling an application on a client device
US11586772B2 (en) Method and device for displaying information
CN107491382B (en) Log output method and device
CN107391561B (en) Advertisement processing method in content source page, server and computer readable medium
US20160072927A1 (en) Odata enabled mobile software applications
CN108540508B (en) Method, device and equipment for pushing information
CN109992719B (en) Method and apparatus for determining push priority information
CN111931100B (en) Request processing system, method, apparatus, electronic device, and computer readable medium
CN112818654B (en) Message storage method, message generation method, device, electronic equipment and computer readable medium
CN112395027B (en) Widget interface generation method and device, storage medium and electronic equipment
CN108924183B (en) Method and device for processing information
CN111258988A (en) Asset management method, device, electronic device, and medium
US9053184B2 (en) On-demand generation of correlated collections of mashable data from distributed, non-homogeneous data sources
CN110647327B (en) Method and device for dynamic control of user interface based on card
CN113452733A (en) File downloading method and device
US12001458B2 (en) Multi-cloud object store access
US9288280B1 (en) Viral flow of the media content across client devices
CN117171160A (en) Report access method, device, equipment and medium
CN111460273B (en) Information pushing method and device
CN112784195A (en) Page data publishing method and system
US11770437B1 (en) Techniques for integrating server-side and client-side rendered content
CN111090485B (en) Multi-cluster-oriented help data processing method and device, medium and equipment

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