CN108089899B - Method and device for realizing query report - Google Patents

Method and device for realizing query report Download PDF

Info

Publication number
CN108089899B
CN108089899B CN201611043766.3A CN201611043766A CN108089899B CN 108089899 B CN108089899 B CN 108089899B CN 201611043766 A CN201611043766 A CN 201611043766A CN 108089899 B CN108089899 B CN 108089899B
Authority
CN
China
Prior art keywords
graphic
parameters
condition
control
report
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.)
Active
Application number
CN201611043766.3A
Other languages
Chinese (zh)
Other versions
CN108089899A (en
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.)
Shenzhen Idreamsky Technology Co ltd
Original Assignee
Shenzhen Idreamsky Technology 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 Shenzhen Idreamsky Technology Co ltd filed Critical Shenzhen Idreamsky Technology Co ltd
Priority to CN201611043766.3A priority Critical patent/CN108089899B/en
Publication of CN108089899A publication Critical patent/CN108089899A/en
Application granted granted Critical
Publication of CN108089899B publication Critical patent/CN108089899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a method and a device for realizing query reports, wherein the method for realizing query reports comprises the following steps: the client monitors and obtains an operation instruction generated by responding to the triggering operation of a user, and generates report configuration information according to the operation instruction, wherein the operation instruction comprises a search condition setting instruction and a graphic component selecting instruction; initiating a control rendering request to a server through the report configuration information, and receiving control data returned by the server; and displaying the control data in a report query interface. By adopting the method and the device for realizing the query report, the development efficiency of the query report can be effectively improved.

Description

Method and device for realizing query report
Technical Field
The disclosure relates to the technical field of computer application, in particular to a method and a device for realizing query reports.
Background
At present, the development of query reports, especially the development of query reports providing query conditions, is usually completed manually, and at least one developer is required to participate in the development of each query report in the whole process, which results in low development efficiency of the query reports.
Disclosure of Invention
Based on this, an object of the present disclosure is to provide a method for implementing a query report, which is used to solve the problem of low development efficiency of the query report in the prior art.
In addition, another object of the present disclosure is to provide an apparatus for implementing query report, which is used to solve the problem in the prior art that the development efficiency of query report is low.
In order to solve the technical problem, the technical scheme adopted by the disclosure is as follows:
a method for realizing query report includes: the client monitors and obtains an operation instruction generated by responding to the triggering operation of a user, and generates report configuration information according to the operation instruction, wherein the operation instruction comprises a search condition setting instruction and a graphic component selecting instruction; initiating a control rendering request to a server through the report configuration information, and receiving control data returned by the server; and displaying the control data in a report query interface.
Further, the step of generating report configuration information according to the operation instruction includes: acquiring corresponding condition parameters from a preset condition mapping relation according to the search condition setting instruction, and acquiring corresponding graphic parameters from a preset graphic mapping relation according to the graphic component selection instruction; obtaining control attribute parameters and data source configuration parameters according to the condition parameters and the graphic parameters; and packing the condition parameters, the graphic parameters, the control attribute parameters and the data source configuration parameters to generate the report configuration information.
Further, before the step of initiating a control rendering request to the server through the report configuration information and receiving control data returned by the server, the method further includes: the server receives the control rendering request, and the report configuration information is carried in the control rendering request; based on a preset database template, generating a database according to the data source configuration parameters in the report configuration information; analyzing the condition parameters and the graphic parameters in the report configuration information to respectively obtain corresponding condition controls and graphic controls; and rendering the condition control and the graphic control by calling the database to obtain control data, and sending the control data to the client.
Further, before the step of analyzing the condition parameters and the graphic parameters in the report configuration information to obtain the corresponding condition controls and graphic controls, the method further includes: respectively carrying out abstract packaging on the search condition and the graphic assembly to form a condition control and a graphic control; and respectively generating the corresponding condition parameters and the corresponding graphic parameters according to the condition control and the graphic control.
Further, before the step of displaying the control data in the report query interface, the method further includes: and calling a browser service by starting a Webkit kernel so as to create the report query interface through the browser service.
An apparatus for implementing query report, the apparatus comprising: the information generation module is used for intercepting and obtaining an operation instruction generated by responding to the triggering operation of a user by a client and generating report configuration information according to the operation instruction, wherein the operation instruction comprises a search condition setting instruction and a graphic component selection instruction; the data receiving module is used for initiating a control rendering request to the server through the report configuration information and receiving control data returned by the server; and the data display module is used for displaying the control data in a report query interface.
Further, the information generation module includes: a first parameter obtaining unit, configured to obtain a corresponding condition parameter from a preset condition mapping relationship according to the search condition setting instruction, and obtain a corresponding graphic parameter from a preset graphic mapping relationship according to the graphic component selection instruction; the second parameter acquisition unit is used for obtaining control attribute parameters and data source configuration parameters according to the condition parameters and the graphic parameters in a matching mode; and the parameter packing unit is used for packing the condition parameters, the graphic parameters, the control attribute parameters and the data source configuration parameters to generate the report configuration information.
Further, the apparatus further comprises: the request receiving module is used for the server to receive the control rendering request, and the control rendering request carries the report configuration information; the database generation module is used for generating a database according to the data source configuration parameters in the report configuration information based on a preset database template; the parameter analysis module is used for analyzing the condition parameters and the graphic parameters in the report configuration information to respectively obtain corresponding condition controls and graphic controls; and the data return module is used for rendering the condition control and the graphic control by calling the database to obtain the control data and sending the control data to the client.
Further, the apparatus further comprises: the control packaging module is used for respectively carrying out abstract packaging on the search conditions and the graphic components to form the condition controls and the graphic controls; and the parameter generation module is used for respectively generating the corresponding condition parameters and the corresponding graphic parameters according to the condition controls and the graphic controls.
Further, the apparatus further comprises: and the service calling module is used for calling browser services by starting the Webkit kernel so as to create the report inquiry interface through the browser services.
Compared with the prior art, the method has the following beneficial effects:
monitoring an operation instruction generated by responding to the triggering operation of the user through the client, generating report configuration information according to the operation instruction, and further initiating a control rendering request to the server through the report configuration information to obtain control data returned by the server so as to display the control data in a report query interface.
In other words, developers can check the query report needed to be developed through the control data displayed in the report query interface by means of interaction between the client and the server only by completing the operation of triggering input at the client, so that the development of the query report is avoided being participated in the whole process, the development workload is greatly reduced, and the development efficiency of the query report is effectively improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic illustration of an implementation environment according to the present disclosure;
FIG. 2 is a block diagram illustrating a terminal device according to an example embodiment;
FIG. 3 is a flow diagram illustrating a method for implementing a query statement in accordance with an illustrative embodiment;
FIG. 4 is a flowchart of an embodiment of the step of generating report configuration information according to the operation instruction in the embodiment corresponding to FIG. 3;
FIG. 5 is a flow diagram illustrating another method for implementing a query report in accordance with an illustrative embodiment;
FIG. 6 is a flow diagram illustrating another method for implementing a query report in accordance with an illustrative embodiment;
FIG. 7 is a block diagram illustrating an apparatus for implementing a query report in accordance with an illustrative embodiment;
FIG. 8 is a block diagram illustrating another apparatus for implementing query reporting, according to an example embodiment.
While specific embodiments of the disclosure have been shown and described in detail in the drawings and foregoing description, such drawings and description are not intended to limit the scope of the disclosed concepts in any way, but rather to explain the concepts of the disclosure to those skilled in the art by reference to the particular embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
FIG. 1 is an implementation environment related to a method for implementing a query report. The implementation environment comprises at least two terminal devices 100, the terminal devices 100 comprising a client 101 and a server 103.
The client 101 may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a computer, or the like, and is responsible for generating report configuration information according to an operation instruction generated in response to a trigger operation of a user, and displaying control data returned by the server 103 for a developer to check.
The server 103 may be a computer, a server, or other terminal device, and is responsible for rendering the conditional control and the graphical control related to the report configuration information according to the control rendering request initiated by the client 101 to generate control data, and returning the control data to the client 101.
Through the interaction between the client 101 and the server 103, the development of efficiently inquiring the report can be realized.
Fig. 2 is a block diagram illustrating a terminal device according to an example embodiment. The hardware configuration is only one example to which the present disclosure is applicable, and is not to be considered as any limitation on the scope of use of the present disclosure, nor is it to be construed that the present disclosure needs to be dependent on the terminal device 100.
The terminal device 100 may have a large difference due to the difference of configuration or performance, as shown in fig. 2, the terminal device 100 includes: a power supply 110, an interface 130, at least one storage medium 150, and at least one Central Processing Unit (CPU) 170.
The power supply 110 is used to provide operating voltage for each hardware device on the terminal device 100.
The interface 130 includes at least one wired or wireless network interface 131, at least one serial-to-parallel conversion interface 133, at least one input/output interface 135, and at least one USB interface 137, etc. for communicating with external devices.
The storage medium 150 may be a random access medium, a magnetic disk or an optical disk as a carrier for storing resources, the resources stored thereon include an operating system 151, an application 153, data 155, and the like, and the storage mode may be a transient storage mode or a permanent storage mode. The operating system 151 is used for managing and controlling each hardware device and the application 153 on the terminal device 100, so as to realize the calculation and processing of the mass data 155 by the central processing unit 170, which may be Windows server, Mac OS XTM, unix, linux, FreeBSDTM, or the like. The application 153 is a computer program that is based on the operating system 151 and performs at least one specific task, and may include at least one module (not shown), each of which may respectively include a series of operation instructions for the terminal device 100. Data 155 may be files, pictures, etc. stored in disk.
The central processor 170 may include one or more processors and is configured to communicate with the storage medium 150 via a bus for computing and processing the mass data 155 in the storage medium 150.
As described in detail above, the terminal device 100 to which the present disclosure is applied will implement development of the query report by the central processor 170 reading a series of operation instructions stored in the storage medium 150.
Furthermore, the present disclosure can be implemented equally as hardware circuitry or hardware circuitry in combination with software instructions, and thus implementation of the present disclosure is not limited to any specific hardware circuitry, software, or combination of both.
Referring to fig. 3, in an exemplary embodiment, an implementation method of a query report is applied to the client 101 in the implementation environment shown in fig. 1, and the implementation method of the query report may be executed by the client 101, and may include the following steps:
and 310, the client monitors and obtains an operation instruction generated by responding to the triggering operation of the user, and generates report configuration information according to the operation instruction.
In order to know the relevant information of the query report that the developer needs to develop, for example, the relevant information includes a search condition provided in the query report, a graph provided in the query report, and the like, an operation entry is added to the client, so that the developer performs a corresponding trigger operation on the operation entry, and the client can listen to an operation instruction generated in response to the trigger operation.
Further, the operation instruction includes a search condition setting instruction and a graphic component selection instruction.
For example, a search condition setting box is added in the client, and the search condition setting box can comprise a text box, a drop-down box, a date box and the like. Correspondingly, the developer can input a corresponding search condition through the text box, or select one of the pull-down items as the search condition from the pull-down list shown in the pull-down box, or input a date as the search condition in the date box, wherein the input and the selection are regarded as trigger operations of the developer, so that the client monitors to obtain a search condition setting instruction generated in response to the trigger operations.
For another example, a graphic component frame is added in the client, the graphic component contained in the graphic component frame may be one or more graphics in a line graph, a pie graph, a data table, and the like, and each graphic component is provided with a corresponding selection frame. Correspondingly, the developer can select the corresponding graphic component by clicking the selection frame, wherein the selection is regarded as the trigger operation of the developer, so that the client monitors to obtain the graphic component selection instruction generated by responding to the trigger operation.
Therefore, after the operation instruction is intercepted, the client knows the search condition or the graphic component corresponding to the operation instruction, and can generate report configuration information according to the search condition or the graphic component.
Further, the report configuration information may directly include the search condition and the graphic component, or may include a condition parameter corresponding to the search condition and a graphic parameter corresponding to the graphic component, so as to simplify the content in the report configuration information, thereby facilitating reduction of the data transmission amount between the client and the server.
In other words, the report configuration information reflects the relevant information of the query report that the developer needs to develop, and the corresponding query report can be further developed through the report configuration information.
And step 330, initiating a control rendering request to the server through the report configuration information, and receiving control data returned by the server.
After the report configuration information is generated, the client side can send the report configuration information to the server side so as to receive control data returned by the server side. The control data is a query report which is required to be developed by a developer.
Specifically, after the client obtains the report configuration information, a control rendering request is generated in an information carrying manner, that is, the report configuration information is carried in the control rendering request, and the control rendering request is sent to the server.
After receiving the control rendering request, the server extracts the report configuration information from the control rendering request, further obtains corresponding conditional controls and graphic controls by analyzing the report configuration information, and renders the conditional controls and the graphic controls by calling the database to generate control data.
It should be noted that the condition control is formed by abstractly encapsulating the search condition, and the graphics control is formed by abstractly encapsulating the graphics component. The report configuration information can directly comprise the search condition and the graphic component, and can also comprise condition parameters corresponding to the search condition and graphic parameters corresponding to the graphic component, so that the corresponding condition control and the graphic control can be obtained through the analysis of the report configuration information.
And 350, displaying the control data in the report inquiry interface.
After the control data is obtained, the control data can be displayed, so that developers can check the query report needed to be developed.
In this embodiment, the control data is displayed in a report query interface created by a browser service invoked by starting a Webkit kernel, so as to implement human-computer interaction between a developer and a client.
Through the process, the efficient development of the query report is realized, the development workload is greatly reduced, and the requirements on developers are reduced.
In addition, the report configuration information is generated according to the operation instruction generated by responding to the triggering operation of the user, so that not only is the diversification of the query report development realized, namely the report configuration information for forming the query report is changed along with the change of the triggering operation of the user, but also the unification of data interfaces is realized, namely the interaction is carried out between the client and the server in the form of the report configuration information, so that the condition control and the graphic control are not influenced by each other, and the fault positioning in the development process is facilitated.
Referring to FIG. 4, in an exemplary embodiment, step 310 may include the steps of:
step 311, obtaining the corresponding condition parameter from the preset condition mapping relation according to the search condition setting instruction, and obtaining the corresponding graphic parameter from the preset graphic mapping relation according to the graphic component selection instruction.
In this embodiment, the report configuration information includes a condition parameter corresponding to the search condition and a graphic parameter corresponding to the graphic component.
Based on the method, before the report configuration information is generated, corresponding condition parameters and graphic parameters are respectively obtained according to the search conditions and the graphic components.
Specifically, in the server, the condition control is formed by abstracting and packaging the search condition, and the graphic control is formed by abstracting and packaging the graphic component.
After the condition control and the graphic control are formed, the condition parameters corresponding to the condition control are further generated, and the graphic parameters corresponding to the graphic control are generated. That is, the condition parameters are used to uniquely identify the condition control, and the graphical parameters are used to uniquely identify the graphical control.
Then, the server sends the condition parameters and the graphic parameters to the client, so as to respectively establish a condition mapping relation between the condition parameters and the search conditions and a graphic mapping relation between the graphic parameters and the graphic components in the client.
Therefore, after the client monitors the search condition setting instruction, the client knows the search condition corresponding to the search condition setting instruction, and further obtains the condition parameter corresponding to the search condition through the condition mapping relation.
Correspondingly, after the client monitors the graphic component selection instruction, the client knows the graphic component corresponding to the graphic component selection instruction, and further obtains the graphic parameter corresponding to the graphic component through the graphic mapping relation.
And 313, obtaining control attribute parameters and data source configuration parameters according to the condition parameters and the graphic parameters.
The control attribute parameters and the data source configuration parameters are used for rendering the control, namely the control attribute parameters are used for setting the appearance style and the rendering mode of the condition control or the graphic control, and the data source configuration parameters are used for generating a database for rendering the control by combining with a database template.
The control attribute parameters and the data source configuration parameters can be obtained by selecting according to the triggering operation of a user and can also be obtained by matching according to preset matching rules.
In this embodiment, in order to ensure the rendering effect of the control, the attribute parameters of the control and the configuration parameters of the data source are matched through a preset matching rule.
Further, the preset matching rule is to perform matching according to the condition parameters and the graphic parameters, that is, the control attribute parameters and the data source configuration parameters are changed correspondingly with the change of the condition parameters and the graphic parameters.
For example, if the condition parameter is a1 and the graphic parameter is B1, the matched control attribute parameter is C1 and the data source configuration parameter is D1; if the condition parameter is A2 and the graphic parameter is B2, the matched control attribute parameter is C2 and the data source configuration parameter is D1.
Step 315, packing the condition parameters, the graphic parameters, the control attribute parameters and the data source configuration parameters to generate report configuration information.
After the report configuration information is generated, the server side can generate corresponding control data according to the report configuration information, and then developers can check the query report required to be developed through the display of the control data.
Through the process, diversification of query report development is realized, namely report configuration information changes along with changes of various parameters contained in the report configuration information.
Referring to fig. 5, in an exemplary embodiment, an implementation method for querying a report is applied to the server 103 in the implementation environment shown in fig. 1, and the method for pushing a graph in a report may be executed by the server 103, and may include the following steps:
and step 410, the server receives a control rendering request initiated by the client, wherein the control rendering request carries report configuration information.
The report configuration information is generated by the client according to an operation instruction generated by responding to the triggering operation of the user.
And step 430, generating a database according to the data source configuration parameters in the report configuration information based on a preset database template.
And 450, analyzing the condition parameters and the graphic parameters in the report configuration information to respectively obtain corresponding condition controls and graphic controls, and rendering the condition controls and the graphic controls by calling a database to obtain control data.
Step 470, returning the control data to the client to display the control data through the client.
Referring to fig. 6, in an exemplary embodiment, the method as described above may further include the steps of:
step 510, abstract packaging is performed on the search condition and the graphic component respectively to form a condition control and a graphic control.
And 530, respectively generating corresponding condition parameters and corresponding graphic parameters according to the condition controls and the graphic controls.
Through the process, the development efficiency of the query report is effectively improved, the development of a plurality of different query reports can be completed by only one developer, and the development time can be shortened to within 10 minutes from at least 2 hours.
The following is an embodiment of the apparatus of the present disclosure, which may be used to execute an implementation method of a query report according to the present disclosure. For details not disclosed in the embodiments of the device of the present disclosure, please refer to the embodiments of the method for implementing the query report related to the present disclosure.
Referring to fig. 7, in an exemplary embodiment, an apparatus 700 for implementing query reporting is applied to a client, including but not limited to: an information generating module 710, a data receiving module 730, and a data displaying module 750.
The information generating module 710 is configured to monitor, by the client, an operation instruction generated in response to a trigger operation of the user, and generate report configuration information according to the operation instruction.
The operation instruction comprises a search condition setting instruction and a graphic component selection instruction.
The data receiving module 730 is configured to initiate a control rendering request to the server through the report configuration information, and receive control data returned by the server.
The control data is obtained by the server side by analyzing the report configuration information to obtain corresponding condition controls and graphic controls and by the calling of the database, rendering the condition controls and the graphic controls.
The data display module 750 is configured to display the control data in the report query interface.
Referring to fig. 8, in an exemplary embodiment, an apparatus 800 for implementing query reporting is applied to a server, including but not limited to: a request receiving module 810, a database generating module 830, a data generating module 850, and a data returning module 870.
The request receiving module 810 is configured to receive, by a server, a control rendering request initiated by a client, where the control rendering request carries report configuration information.
The report configuration information is generated by the client according to an operation instruction generated by responding to the triggering operation of the user.
The database generation module 830 is configured to generate a database according to the data source configuration parameters in the report configuration information based on a preset database template.
The data generating module 850 is configured to analyze the condition parameters and the graphic parameters in the report configuration information to obtain corresponding condition controls and graphic controls, and render the condition controls and the graphic controls by calling a database to obtain control data.
The data return module 870 is configured to return the control data to the client to display the control data through the client.
It should be noted that, when the implementation apparatus for querying a report provided in the foregoing embodiment develops a query report, the above-mentioned division of each function module is merely used as an example, and in practical applications, the function distribution may be completed by different function modules according to needs, that is, the internal structure of the implementation apparatus for querying a report is divided into different function modules to complete all or part of the functions described above.
In addition, the implementation apparatus of the query report provided in the above embodiments and the implementation method of the query report belong to the same concept, and the specific manner in which each module executes operations has been described in detail in the method embodiments, and is not described herein again.
The above description is only a preferred exemplary embodiment of the present disclosure, and not intended to limit the embodiments of the present disclosure, and one of ordinary skill in the art can easily make various changes and modifications according to the main concept and spirit of the present disclosure, so that the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (6)

1. A method for realizing query report is characterized by comprising the following steps:
the client monitors and obtains an operation instruction generated by responding to the triggering operation of a user, wherein the operation instruction comprises a search condition setting instruction and a graphic component selecting instruction;
acquiring a condition parameter corresponding to a search condition corresponding to the search condition setting instruction from a condition mapping relation according to the search condition setting instruction, and acquiring a graphic parameter corresponding to a graphic component corresponding to the graphic component selecting instruction from a graphic mapping relation according to the graphic component selecting instruction, wherein the condition parameter is used for uniquely identifying a condition control, and the graphic parameter is used for uniquely identifying a graphic control;
obtaining control attribute parameters and data source configuration parameters according to the condition parameters and the graphic parameters in a matching mode, wherein the control attribute parameters are used for setting the appearance style and the rendering mode of the condition control or the graphic control, and the data source configuration parameters are used for generating a database of the rendering control by combining a preset database module;
packing the condition parameters, the graphic parameters, the control attribute parameters and the data source configuration parameters to generate report configuration information; initiating a control rendering request to a server through the report configuration information so that the server generates control data according to the report configuration information carried in the control rendering request;
receiving the control data returned by the server, wherein the control data is obtained by calling the database and rendering the condition control and the graphic control according to the control attribute parameters after the server generates the database according to the data source configuration parameters and the preset database template and analyzes the condition parameters and the graphic parameters to respectively obtain the condition control and the graphic control;
and displaying the control data in a report query interface.
2. The method according to claim 1, wherein before the obtaining the condition parameter corresponding to the search condition setting instruction from the condition mapping relationship according to the search condition setting instruction and obtaining the graphic parameter corresponding to the graphic component selecting instruction from the graphic mapping relationship according to the graphic component selecting instruction, the method further comprises:
receiving the condition parameters and the graphic parameters sent by a server, wherein the condition parameters and the graphic parameters are generated respectively according to the condition controls and the graphic controls after the server abstractly packages the search conditions and the graphic components respectively to form the condition controls and the graphic controls;
and respectively establishing a condition mapping relation between the condition parameters and the search conditions and a graph mapping relation between the graph parameters and the graph components according to the condition parameters and the graph parameters.
3. The method of any of claims 1-2, wherein prior to the step of displaying the control data in a report query interface, the method further comprises:
and calling a browser service by starting a Webkit kernel so as to create the report query interface through the browser service.
4. An apparatus for implementing report query, the apparatus comprising:
the information generation module is used for intercepting and obtaining an operation instruction generated by responding to the triggering operation of a user by a client, wherein the operation instruction comprises a search condition setting instruction and a graphic component selection instruction;
the data receiving module is used for initiating a control rendering request to the server through the report configuration information so that the server generates control data according to the report configuration information carried in the control rendering request;
the data receiving module is further configured to receive the control data returned by the server, where the control data is obtained by calling the database and rendering the condition control and the graphic control according to the control attribute parameters after the server generates the database according to the data source configuration parameters and a preset database template and analyzes the condition parameters and the graphic parameters to obtain the condition control and the graphic control respectively;
the data display module is used for displaying the control data in a report query interface;
the information generation module includes:
a first parameter obtaining unit, configured to obtain, according to the search condition setting instruction, a condition parameter corresponding to a search condition corresponding to the search condition setting instruction from a condition mapping relationship, and obtain, according to the graphic component selection instruction, a graphic parameter corresponding to a graphic component corresponding to the graphic component selection instruction from a graphic mapping relationship, where the condition parameter is used to uniquely identify a condition control, and the graphic parameter is used to uniquely identify a graphic control;
the second parameter acquisition unit is used for obtaining control attribute parameters and data source configuration parameters according to the condition parameters and the graphic parameters in a matching mode, wherein the control attribute parameters are used for setting the appearance style and the rendering mode of the condition control or the graphic control, and the data source configuration parameters are used for generating a database of the rendering control by combining a preset database module;
and the parameter packing unit is used for packing the condition parameters, the graphic parameters, the control attribute parameters and the data source configuration parameters to generate the report configuration information.
5. The apparatus of claim 4, wherein the apparatus further comprises:
the control packaging module is used for receiving the condition parameters and the graphic parameters sent by the server, wherein the condition parameters and the graphic parameters are generated by the server according to the condition controls and the graphic controls after the search conditions and the graphic components are respectively abstracted and packaged by the server to form the condition controls and the graphic controls;
and the establishing module is used for respectively establishing a condition mapping relation between the condition parameters and the search conditions and a graph mapping relation between the graph parameters and the graph components according to the condition parameters and the graph parameters.
6. The apparatus of any of claims 4 to 5, further comprising:
and the service calling module is used for calling browser services by starting the Webkit kernel so as to create the report inquiry interface through the browser services.
CN201611043766.3A 2016-11-22 2016-11-22 Method and device for realizing query report Active CN108089899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611043766.3A CN108089899B (en) 2016-11-22 2016-11-22 Method and device for realizing query report

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611043766.3A CN108089899B (en) 2016-11-22 2016-11-22 Method and device for realizing query report

Publications (2)

Publication Number Publication Date
CN108089899A CN108089899A (en) 2018-05-29
CN108089899B true CN108089899B (en) 2021-06-01

Family

ID=62170237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611043766.3A Active CN108089899B (en) 2016-11-22 2016-11-22 Method and device for realizing query report

Country Status (1)

Country Link
CN (1) CN108089899B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114064716B (en) * 2021-10-29 2023-10-20 北京市农林科学院信息技术研究中心 Metadata-based automatic WEB report generation method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697122A (en) * 2009-10-16 2010-04-21 深圳市科陆电子科技股份有限公司 Method for generating report query conditions through predefined components
US20110197122A1 (en) * 2010-02-05 2011-08-11 Yuen Sheung Chan Generating and Displaying Active Reports
CN103577189A (en) * 2013-10-30 2014-02-12 北京华胜天成科技股份有限公司 Method and system for realizing query condition
CN104376068A (en) * 2014-11-07 2015-02-25 北京思特奇信息技术股份有限公司 Data representation system and method based on dynamic report template
CN104516864A (en) * 2013-09-30 2015-04-15 北大方正集团有限公司 Report generating method and report generating device
CN104636127A (en) * 2014-08-06 2015-05-20 歌尔声学股份有限公司 Method and device for developing report form or billboard
CN105302567A (en) * 2015-11-12 2016-02-03 用友网络科技股份有限公司 Device and method for dynamically generating report template
US20160092502A1 (en) * 2014-09-25 2016-03-31 Sundaresan Krishnamurthy Graphical modeling of database query statements

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697122A (en) * 2009-10-16 2010-04-21 深圳市科陆电子科技股份有限公司 Method for generating report query conditions through predefined components
US20110197122A1 (en) * 2010-02-05 2011-08-11 Yuen Sheung Chan Generating and Displaying Active Reports
CN104516864A (en) * 2013-09-30 2015-04-15 北大方正集团有限公司 Report generating method and report generating device
CN103577189A (en) * 2013-10-30 2014-02-12 北京华胜天成科技股份有限公司 Method and system for realizing query condition
CN104636127A (en) * 2014-08-06 2015-05-20 歌尔声学股份有限公司 Method and device for developing report form or billboard
US20160092502A1 (en) * 2014-09-25 2016-03-31 Sundaresan Krishnamurthy Graphical modeling of database query statements
CN104376068A (en) * 2014-11-07 2015-02-25 北京思特奇信息技术股份有限公司 Data representation system and method based on dynamic report template
CN105302567A (en) * 2015-11-12 2016-02-03 用友网络科技股份有限公司 Device and method for dynamically generating report template

Also Published As

Publication number Publication date
CN108089899A (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN106874174B (en) Method and device for realizing interface test and function test
US11880297B2 (en) Codeless logging in an integration platform
CN107608901B (en) Jmeter-based testing method and device, storage medium and electronic equipment
CN113010827B (en) Page rendering method and device, electronic equipment and storage medium
CN108108986B (en) Design method and device of customer relationship management system and electronic equipment
US20180159724A1 (en) Automatic task tracking
CN109582317B (en) Method and apparatus for debugging hosted applications
CN111694857A (en) Method and device for storing resource data, electronic equipment and computer readable medium
CN110795181A (en) Application program interface display method and device based on skip protocol and electronic equipment
CN113050940A (en) Method for previewing small program, related device and computer program product
CN114490268A (en) Full link monitoring method, device, equipment, storage medium and program product
US10873628B2 (en) System and method for non-intrusive context correlation across cloud services
US11366704B2 (en) Configurable analytics for microservices performance analysis
CN112395098A (en) Application program interface calling method and device, storage medium and electronic equipment
CN108089899B (en) Method and device for realizing query report
CN111414154A (en) Method and device for front-end development, electronic equipment and storage medium
CN113590217B (en) Function management method and device based on engine, electronic equipment and storage medium
CN115145652A (en) Method, device, equipment and medium for creating data processing task
CN114116509A (en) Program analysis method, program analysis device, electronic device, and storage medium
US20210042319A1 (en) Data processing method, apparatus, and device
CN114328686A (en) Data docking method and related equipment
CN112131095B (en) Pressure testing method and device
CN109756393B (en) Information processing method, system, medium, and computing device
US11100077B2 (en) Event table management using type-dependent portions
CN113468041A (en) Interface comparison test 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
GR01 Patent grant
GR01 Patent grant