CN106293661A - The generation of pictorial statement, generation processing method and processing device - Google Patents
The generation of pictorial statement, generation processing method and processing device Download PDFInfo
- Publication number
- CN106293661A CN106293661A CN201510267155.6A CN201510267155A CN106293661A CN 106293661 A CN106293661 A CN 106293661A CN 201510267155 A CN201510267155 A CN 201510267155A CN 106293661 A CN106293661 A CN 106293661A
- Authority
- CN
- China
- Prior art keywords
- script
- pictorial statement
- data
- pictorial
- statement
- 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
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses the generation of a kind of pictorial statement, generate processing method and processing device.Wherein, this generation processing method includes: receives the request for generating pictorial statement from operation system, wherein, carries the configuration parameter for configuring script in described request;Generate the performed script of the original service data for obtaining described pictorial statement according to described configuration parameter and the script that is pre-configured with, and perform this and can perform script, wherein, described in the operation that data base carried out for instruction of the script that is pre-configured with;The data structure of graphics request is met according to the described original service data genaration obtained;Described data structure is rendered, obtains Drawing Object, and described Drawing Object is fed back to described operation system, to generate described pictorial statement.The present invention solves that the workload that the exploitation of pictorial statement in correlation technique exists is big, waste is exploited natural resources and the technical problem of construction cycle length.
Description
Technical field
The present invention relates to Graphic Design field, in particular to generation, the generation processing method of a kind of pictorial statement
And device.
Background technology
During pictorial statement (being also called chart) is developed, often one pictorial statement of exploitation, developer needs
Write substantial amounts of backstage code and JavaScript front-end code, unit to be done, integration testing after having encoded,
These efforts amounts are greatly and all the duplication of labour, easily make mistakes and code not easy care.For being unfamiliar with graphical development
Backstage developer, in addition it is also necessary to extra application front end resource, can cause extra resource overhead, and pictorial statement
Construction cycle can be extended;If additionally pictorial statement has change to also need to revise code after being published on line, perform to send out
Cloth flow process, this can bring again extra resource overhead.
For above-mentioned problem, effective solution is the most not yet proposed.
Summary of the invention
Embodiments provide the generation of a kind of pictorial statement, generate processing method and processing device, at least to solve phase
The workload that in the technology of pass, pictorial statement exploitation exists is big, waste is exploited natural resources and the technical problem such as construction cycle length.
An aspect according to embodiments of the present invention, it is provided that the generation processing means of a kind of pictorial statement, including: figure
Shape report data processes assembly, for the configuration parameter sent according to the script being pre-configured with and operation system, generates
For obtaining the performed script of the original service data of pictorial statement and performing;And according to the described original industry obtained
Business data genaration meets the data structure of graphics request, wherein, described in the script that is pre-configured with for instruction to data base
The operation carried out;Front end data library component, for the described data knot generating described pictorial statement data handling component
Structure carries out rendering and obtains Drawing Object, and described Drawing Object is fed back to described operation system, to generate described figure
Form.
Another aspect according to embodiments of the present invention, it is provided that the generation processing method of a kind of pictorial statement, including: connect
Receive the request for generating pictorial statement from operation system, wherein, described request carries for entering script
The configuration parameter of row configuration;Generate for obtaining described figure report according to described configuration parameter and the script that is pre-configured with
The performed script of the original service data of table, and perform this and can perform script, wherein, described in the script that is pre-configured with
Operation data base carried out for instruction;The number of graphics request is met according to the described original service data genaration obtained
According to structure;Described data structure is rendered, obtains Drawing Object, and described Drawing Object is fed back to described industry
Business system, to generate described pictorial statement.
Another aspect according to embodiments of the present invention, it is provided that a kind of generation method of pictorial statement, including: send and use
In the request of generation pictorial statement, wherein, described request carries the configuration parameter of described pictorial statement;Receive
The Drawing Object of the receiving terminal feedback of described request under the triggering of described request, and generate described according to described Drawing Object
Pictorial statement, wherein, described Drawing Object generates in the following manner: according to the script being pre-configured with and business system
The configuration parameter that system sends, generates the performed script of the original service data for obtaining pictorial statement and performs;With
And meet the data structure of graphics request according to the described original service data genaration obtained, wherein, described in be pre-configured with
Script for instruction operation that data base is carried out;Described data structure is rendered, obtains described Drawing Object.
Another further aspect according to embodiments of the present invention, it is provided that the generation processing means of a kind of pictorial statement, including: connect
Receive module, for receiving the request for generating pictorial statement from operation system, wherein, described request is carried
There is the configuration parameter for script is configured;Script processing module, for according to described configuration parameter and in advance
The script of configuration generates the script of the original service data for obtaining described pictorial statement, and performs this script, wherein,
The operation that data base is carried out by the described script being pre-configured with for instruction;Data structure building module, for according to obtaining
The described original service data genaration taken meets the data structure of graphics request;Rendering module, for tying described data
Structure renders, and obtains Drawing Object;Feedback module, for described Drawing Object is fed back to described operation system,
To generate described pictorial statement.
Another aspect according to embodiments of the present invention, it is provided that the generating means of a kind of pictorial statement, including: send mould
Block, for sending the request for generating pictorial statement, wherein, carries joining of described pictorial statement in described request
Put parameter;Receiver module, for receiving the Drawing Object of the receiving terminal feedback of described request under the triggering of described request,
And generate described pictorial statement according to described Drawing Object, wherein, described Drawing Object generates in the following manner: root
The configuration parameter sent according to the script being pre-configured with and operation system, generates the original service for obtaining pictorial statement
The performed script of data also performs;And the number of graphics request is met according to the described original service data genaration obtained
According to structure, wherein, the operation that data base is carried out by the script being pre-configured with described in for instruction;To described data structure
Render, obtain described Drawing Object.
In embodiments of the present invention, the configuration carried after receiving the request for generating pictorial statement is used according to it
The script of the operation that data base is carried out is generated for obtaining described pictorial statement for instruction by parameter be pre-configured with
The script of original service data also performs, and then will render according to the original service data genaration data structure obtained
The Drawing Object obtained feeds back to operation system, to generate the technological means of pictorial statement, it is achieved thereby that save figure
The technique effect of the construction cycle of exploiting natural resources, reduce of form, and then solve in correlation technique pictorial statement exploitation and deposit
Workload is big, waste is exploited natural resources and the technical problem such as construction cycle length.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.At accompanying drawing
In:
Fig. 1 is the structural representation of the generation processing means of a kind of optional pictorial statement according to embodiments of the present invention;
Fig. 2 is the structural representation of the generation processing means of another kind of optional pictorial statement according to embodiments of the present invention;
Fig. 3 is the structural representation of the generation processing means of the preferred pictorial statement of according to embodiments of the present invention another;
Fig. 4 is the hardware configuration frame of the terminal of the generation processing method of a kind of pictorial statement of the embodiment of the present invention
Figure;
Fig. 5 is the flow chart of the generation processing method of a kind of optional pictorial statement according to embodiments of the present invention;
Fig. 6 is the structured flowchart of the generation processing means of another pictorial statement according to embodiments of the present invention;
Fig. 7 is the structured flowchart of a kind of optional script processing module according to embodiments of the present invention;
Fig. 8 is the structured flowchart of a kind of optional data structure building module according to embodiments of the present invention;
Fig. 9 is the flow chart of the generation method of a kind of optional pictorial statement according to embodiments of the present invention;
Figure 10 is the structured flowchart of the generating means of a kind of optional pictorial statement according to embodiments of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention
Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment
It is only the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ability
The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, all should belong to
The scope of protection of the invention.
It should be noted that term " includes " and " having " and their any deformation, it is intended that cover not
Exclusive comprises, and such as, contains series of steps or the process of unit, method, system, product or equipment need not
Be limited to those steps or the unit clearly listed, but can include the most clearly listing or for these processes,
Other step that method, product or equipment are intrinsic or unit.
Embodiment 1
The embodiment of the present invention, it is provided that the generation processing means of a kind of pictorial statement.It should be noted that the present embodiment
The generation processing means of the pictorial statement provided can occur independent of equipment of the prior art, it is also possible to is integrated in existing
Have in equipment;And it is possible to be applied to cloud service provider side, but being not limited to this, such as, the present embodiment provides
The generation processing means of above-mentioned pictorial statement is positioned in the core switching device of cloud service provider side.
Fig. 1 is the structural representation of the generation processing means of a kind of optional pictorial statement according to embodiments of the present invention.
As it is shown in figure 1, this device includes pictorial statement data handling component 10 and front end data library component 12:
Wherein, pictorial statement data handling component 10, for send according to the script being pre-configured with and operation system
Configuration parameter, generates the performed script of the original service data for obtaining pictorial statement and performs;And according to obtaining
The described original service data genaration taken meets the data structure of graphics request, wherein, described in the script that is pre-configured with use
In the operation that data base is carried out by instruction;Alternatively, involved in the present embodiment " script " be one section executable
Program, can show as SQL statement or the program of other compiler language generation being pre-configured with.The foot being pre-configured with
This is in some scenarios it can be understood as script can not be performed, but, however it is not limited to this situation.
This pictorial statement data handling component 10 is the core of the generation processing means of the pictorial statement that the present embodiment provides
Assembly, the customization transformation of the main process being responsible for parameter and data, wherein, can manage for " customizing transformation "
Solving is the tactful original service data processing pictorial statement of process that the type selecting according to pictorial statement is different, but not
It is limited to this kind of form of expression.
Wherein, front end data library component 12, it is connected to pictorial statement data handling component 10, for described figure report
The described data structure that table data handling component generates carries out rendering and obtains Drawing Object, and is fed back by described Drawing Object
To described operation system, to generate described pictorial statement.
This front end data library component 12 is the assembly that third party's operation system touches at first, is i.e. exposed to third party's business
The assembly of system, alternatively, when rendering above-mentioned data structure, it can use front end data library component 12
In Highcharts chart storehouse render, the above-mentioned Drawing Object obtained after then rendering is by logical in this assembly
With the interface in interface library, above-mentioned Drawing Object is fed back in the interface chamber in third party's operation system, to generate figure
As form and show this pictorial statement.
Alternatively, the present embodiment calls to realize cross-domain cross-system, can use JSONP technology, now, its
Should have a JavaScript storehouse, this JavaScript storehouse includes Highcharts chart storehouse and for storing bridge joint
The general-purpose interface storehouse of the interface of miscellaneous equipment.Wherein, SONP (JSON with Padding) is the one " use of JSON
Pattern ", can be used for solving the problem that the cross-domain data of major browsers accesses;Highcharts is that a use is pure
One chart storehouse of written in JavaScript, it is possible to the most simple and convenient adds in web site or weblication
There is the chart of interactivity.
The function realized by above-mentioned modules, owing to can generate figure by the generation processing means of pictorial statement
Form, therefore, when carrying out the exploitation of pictorial statement, it is not necessary to extra application front end resource, saves a large amount of repetition
Sex work.
Alternatively, pictorial statement data handling component 10 generates according to the configuration parameter that operation system sends and can perform script
Mode have multiple, such as can be directly according only to from the above-mentioned configuration parameter of operation system and the script being pre-configured with
Generation can perform script, it is also possible to the configuration parameter configuration parameter that preserves this locality sent by operation system is carried out more
Newly, the configuration parameter after updating generates with the script being pre-configured with can perform script, it is also possible to operation system sent
Configuration parameter and locally stored configuration parameter merge script that is common and that be pre-configured with and generate and can perform script.
In an optional embodiment, as in figure 2 it is shown, pictorial statement data handling component 10 can include but not limit
In following assembly: chart parameter processing assembly 100, for the above-mentioned configuration parameter that sends according to above-mentioned operation system with
The local configuration parameter preserved merges, and obtains the above-mentioned parameter set performing script;Script formation component 102,
For performing script according to the above-mentioned parameter collection that obtains is above-mentioned with the generation of the above-mentioned script being pre-configured with and performs;Data
Structural generation assembly 104, for meeting the data structure of graphics request according to the above-mentioned original service data genaration obtained.
It should be noted that the implication of " merging " involved in function performed by chart parameter processing assembly 100 can
Following several to include, but it is not limited to this: the configuration parameter sent in operation system (for convenience of description, is referred to as sent out
Send parameter) different with the local configuration parameter (for convenience of description, referred to as local parameter) preserved time, by this L.Lucidus Turcz.
Number is updated to send parameter, or, local parameter and transmission parameter are carried out simple combination etc..
For different chart (i.e. pictorial statement) types, it is alternatively possible to its being customized is processed, such as,
Data structure building assembly 104, is additionally operable to the report form type according to above-mentioned pictorial statement and selects at graph of a correspondence data
Reason strategy, and according to the above-mentioned graphic processing data strategy generating data structure corresponding with above-mentioned report form type.Wherein,
For different graphic processing data strategies, can show and different subtypes is used different graphic processing data
Device, but it is not limited to this form of expression.
As mentioned above, the data structure that front end data library component 12 has been mainly used in generating renders, and
Feeding back to operation system to rendering the Drawing Object obtained, it can be realized by following version, but is not limited to this:
Chart library component 120, the above-mentioned data structure for generating pictorial statement data handling component 10 renders and obtains
Drawing Object, and above-mentioned Drawing Object feeds back to above-mentioned operation system by the interface called in general-purpose interface library component 122,
To generate above-mentioned pictorial statement.General-purpose interface library component 122, for providing the interface communicated with operation system.
In order to reduce exploitative unnecessary waste further, alternatively, the life of the pictorial statement that the present embodiment provides
Processing means is become can also the information that generate required for pictorial statement to be pre-configured with, as in figure 2 it is shown, figure report
The generation processing means of table also includes: pictorial statement configuration component 14, is connected to pictorial statement data handling component 10,
For being configured the information required for generating above-mentioned pictorial statement by visualized operation and showing, wherein, above-mentioned figure report
Information required for table at least includes: the above-mentioned script being pre-configured with, alternatively, and the letter required for above-mentioned pictorial statement
Breath can also include: for the configuration parameter configuring script, the data source information of above-mentioned original service data.
For ease of user operation, promoting Consumer's Experience, above-mentioned pictorial statement configuration component 14 may include that visualization is joined
Put interface 140, for for performing above-mentioned visualized operation offer visualization interface;Chart-information management assembly 142, uses
In to by above-mentioned visualized operation, the information required for generating above-mentioned pictorial statement being managed for configuration.So exploitation
Personnel just can operate intuitively in visualization interface.
For ease of understanding above-described embodiment and alternative embodiment thereof, describe in detail below in conjunction with a concrete application scenarios.
Fig. 3 is the structural representation of the generation processing means of the preferred pictorial statement of according to embodiments of the present invention another.
As it is shown on figure 3, this device includes three parts: pictorial statement visualization backstage configuration component 30 (is equivalent to figure report
Table configuration component 14), pictorial statement data handling component 32 (being equivalent to pictorial statement data handling component 10), front
End javascript storehouse 34 (being equivalent to front end data library component 12).
Pictorial statement visualization backstage configuration component 30 is open to development roles, i.e. developer uses, and this assembly comprises
Visual configuration interface 300 (being equivalent to visual configuration interface 140) and chart basic information management serviced component 302
(being equivalent to chart-information management assembly 142) two parts.Development roles has only to configure number by visualized operation
According to source, SQL statement (i.e. script).SQL parameter, data row, form ID all can automatically generate in this locality,
And be presented on visual configuration interface for developer.
Pictorial statement data handling component 32 is the core component of this device, is responsible for process and the customization of data of parameter
Transformation.This assembly comprises chart parameter processing assembly 320 (being equivalent to chart parameter processing assembly 100), SQL process
Assembly 322 (being equivalent to script formation component 102), chart customize data handling component 324 and (are equivalent to data knot
Structure formation component 104).It is real that chart parameter processing assembly 320 is responsible for resolving the incoming SQL parameter of third party's operation system
Actual value, mates for follow-up assignment one by one with the SQL parameter preserved before after resolving well;SQL processes assembly 322 to be responsible for
The parameter set good through parameter processing component matching is merged into one with the SQL statement configured before form can
The SQL script performed, then performs inquiry operation and obtains initial data;It is negative that chart customizes data handling component 324
Duty assigns different graph style data processors to carry out customization initial data, generates spy after customizing transformation
Different data structure is for rendering figure.
Being exposed to the only javascript storehouse, front end 34 of operation system, this data base comprises highcharts chart storehouse
The general-purpose interface storehouse 342 (being equivalent to general-purpose interface library component 122) of 340 (being equivalent to chart library component 120) and device.
Highcharts chart storehouse is only responsible for utilizing the special data structure data render Drawing Object returned;General-purpose interface storehouse is born
Duty bridging traffic system and device, it is provided that passage, inject the figure rendered and to interface chamber and finally show figure.
Above-described embodiment has the advantage that visualization relative to the generation scheme of the pictorial statement provided in correlation technique
The configuration page, simple to operate, without using threshold;Use jsonp technology, support that cross-domain cross-system calls;Only need to draw
Enter javascript core library, very lightweight, complicated calculations all transparent;Eliminate the substantial amounts of repetition of developer
Development, saves front end resource, saves a large amount of unit, integration testing work;Simple change is directly producing ring
Border amendment configuration just can complete effect or the data modification of pictorial statement.
Embodiment 2
According to embodiments of the present invention, additionally provide the embodiment of the method for the generation processing method of a kind of pictorial statement, need
Illustrate, can be in the department of computer science of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing
System performs, and, although show logical order in flow charts, but in some cases, can be with difference
Step shown or described by performing in order herein.
The embodiment of the method that the embodiment of the present application is provided can be in mobile terminal, terminal or similar computing
Device performs.As a example by running on computer terminals, Fig. 4 is the life of a kind of pictorial statement of the embodiment of the present invention
Become the hardware block diagram of the terminal of processing method.As shown in Figure 4, terminal 40 can include one
Or multiple (figure only illustrates one) (processor 402 can include but not limited to Micro-processor MCV to processor 402
Or the processing means of PLD FPGA etc.), for storing the memorizer 404 of data and for communicating
The transmitting device 406 of function.It will appreciated by the skilled person that the structure shown in Fig. 4 is only signal, its
The structure of above-mentioned electronic installation is not caused restriction.Such as, terminal 40 may also include than shown in Fig. 4 more more
Many or less assembly, or there is the configuration different from shown in Fig. 4.
Memorizer 404 can be used for storing software program and the module of application software, such as the figure in the embodiment of the present invention
Programmed instruction/module that the generation processing method of form is corresponding, processor 402 is stored in memorizer 404 by operation
Interior software program and module, thus perform the application of various function and data process, i.e. realize above-mentioned application journey
The leak detection method of sequence.Memorizer 404 can include high speed random access memory, may also include nonvolatile memory,
Such as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances,
Memorizer 404 can farther include the memorizer remotely located relative to processor 402, and these remote memories are permissible
It is connected to terminal 40 by network.The example of above-mentioned network include but not limited to the Internet, intranet,
LAN, mobile radio communication and combinations thereof.
Transmitting device 406 is for receiving via a network or sending data.Above-mentioned network instantiation can include
The wireless network that the communication providers of terminal 40 provides.In an example, transmitting device 406 includes one
Network adapter (Network Interface Controller, NIC), they can be by base station and other network equipments
It is connected thus communication can be carried out with the Internet.In an example, transmitting device 406 can be radio frequency (Radio
Frequency, RF) module, it is for wirelessly carrying out communication with the Internet.
Under above-mentioned running environment, this application provides the generation processing method of pictorial statement as shown in Figure 5.Fig. 5
It it is the flow chart of the generation processing method of the pictorial statement of according to embodiments of the present invention.
As it is shown in figure 5, the generation processing method of this pictorial statement can include following process step:
Step S502, receives the request for generating pictorial statement from operation system, wherein, takes in above-mentioned request
With the configuration parameter for script is configured;
Step S504, generates for obtaining above-mentioned pictorial statement according to above-mentioned configuration parameter and the script that is pre-configured with
The performed script of original service data, and perform this and can perform script, wherein, the above-mentioned script being pre-configured with for
The operation that data base is carried out by instruction;Alternatively, involved in the present embodiment " script " is one section of executable journey
Sequence, can show as SQL statement or the program of other compiler language generation being pre-configured with.
In an optional embodiment, step S504 can be accomplished by, but is not limited to this: by above-mentioned
The configuration parameter that operation system sends merges with the local configuration parameter preserved, and obtains the above-mentioned ginseng performing script
Manifold;Generate according to above-mentioned parameter collection and the above-mentioned script that is pre-configured with and above-mentioned perform script.In the present embodiment,
Implication for above-mentioned " merging " can include following several, but is not limited to this: the configuration ginseng sent in operation system
Number (for convenience of description, referred to as sending parameter) (for convenience of description, is referred to as this with the local configuration parameter preserved
Ground parameter) different time, local parameter is updated to send parameter, or, by local parameter with send parameter and carry out letter
Single combination etc..
Step S506, meets the data structure of graphics request according to the above-mentioned original service data genaration obtained;Alternatively,
The concrete manifestation form of this step has multiple, for example, realizes the customization to different subtypes, can use
Implementations below: obtain the report form type of above-mentioned pictorial statement;Select and above-mentioned report form type graph of a correspondence data
Process strategy, and according to the above-mentioned graphic processing data strategy generating above-mentioned data corresponding with above-mentioned report form type selected
Structure.Such as, when the report form type of pictorial statement is pie chart, can select and pie chart graph of a correspondence data
Process strategy generating data structure.Above-mentioned report form type is included but not limited to: pie chart, bar diagram etc..
Step S508, renders above-mentioned data structure, obtains Drawing Object, and is fed back to by above-mentioned Drawing Object
Above-mentioned operation system, to generate above-mentioned pictorial statement.It is alternatively possible to use Highcharts data base to render,
Then the interface in the above-mentioned Drawing Object general-purpose interface storehouse obtained after rendering is anti-by rendering the above-mentioned Drawing Object obtained
It is fed in the interface chamber in third party's operation system, to generate image form and to show this pictorial statement.Wherein,
Highcharts is a chart storehouse of a pure written in JavaScript of use, it is possible to the most simple and convenient at web
Website or weblication are added with the chart of interactivity.
Alternatively, the present embodiment calls to realize cross-domain cross-system, can use JSONP technology, now, its
Should have a JavaScript storehouse, this JavaScript storehouse includes Highcharts chart storehouse and for storing bridge joint
The general-purpose interface storehouse of the interface of miscellaneous equipment.Wherein, SONP (JSON with Padding) is the one " use of JSON
Pattern ", can be used for solving the problem that the cross-domain data of major browsers accesses.
In one alternate embodiment, the generation processing method of above-mentioned pictorial statement can be passed through at the generation of pictorial statement
Reason device realizes, and then, the detailed process when performing cross-system and calling pictorial statement can be to show as following form:
On the operation system page, javascript end asks this device to load the general-purpose interface of pictorial statement, submits form to
ID, SQL parameter gives the core processor of this device;
After obtaining SQL parameter and form ID, the backstage configuration service module of calling device, inquiry form ID returns
All essential informations of corresponding form;
Merge one executable SQL foot of generation with the SQL of form after the parameter Processor parsing SQL parameter of this device
This also performs;
This device has different graphic data processors (strategy pattern), SQL processor for different subtypes
After inquiring initial data, the graphic data processor that data can be returned to assign does customization data transformation.Figure
Graphic data processor is transformed into data structure that is a kind of special and that meet generation graphics request initial data and supplies
Highcharts renders;
This device returns to the data after customization the general-purpose interface of js end again, and interface is transferred to data again
Highcharts chart storehouse processes and renders Drawing Object.Finally Drawing Object is injected into the interface div of operation system
Container is formed real pictorial statement.
For reducing exploitative waste further, in advance more above-mentioned information can be joined before step S502
Put, such as can be by the information required for the above-mentioned pictorial statement of visual configuration interface configurations and show, wherein, on
Information required for stating pictorial statement at least includes: the above-mentioned script being pre-configured with.
The process of the most above-mentioned visual configuration can be accomplished by, but is not limited to this: developer is at this dress
The backstage pictorial statement configuration page put selects corresponding data source, preserves after submitting SQL script to;This device backstage is joined
Put process assembly and can resolve SQL script generation desired parameters variable, inquire about once after initializing assignment according to parametric variable
Data base obtains data column information corresponding for SQL, finally the parametric variable automatically generated and data is arranged and preserves warehouse-in,
Automatically generate the form ID then refresh page of 36 again;Alternatively, developer also needs in senior setting
Face configures some basic setups of figure and preserves;Developer introduces the front end of this device in third party's operation system
Javascript storehouse, then needed for javascipt end coding calls loading pictorial statement general-purpose interface, incoming SQL
The value of parameter and form ID.So pictorial statement coding work of developer terminates.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as one it be
The combination of actions of row, but those skilled in the art should know, the present invention not limiting by described sequence of movement
System, because according to the present invention, some step can use other orders or carry out simultaneously.Secondly, art technology
Personnel also should know, embodiment described in this description belongs to preferred embodiment, involved action and module
Not necessarily necessary to the present invention.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive according to above-mentioned enforcement
The method of example can add the mode of required general hardware platform by software and realize, naturally it is also possible to by hardware, but
In the case of Hen Duo, the former is more preferably embodiment.Based on such understanding, technical scheme substantially or
Saying that the part contributing prior art can embody with the form of software product, this computer software product is deposited
Storage is in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal
Equipment (can be mobile phone, computer, server, or the network equipment etc.) performs described in each embodiment of the present invention
Method.
Embodiment 3
According to embodiments of the present invention, additionally provide the generation processing means of a kind of pictorial statement for implementing said method,
This device can run on computer terminals, such as, can run on the terminal shown in Fig. 4.Such as Fig. 6
Shown in, this device includes: receiver module 60, script processing module 62, data structure building module 64, render mould
Block 66 and feedback module 68:
Receiver module 60, for receive from operation system for generating the request of pictorial statement, wherein, above-mentioned please
The configuration parameter for script is configured is carried in asking;
Script processing module 62, is connected to receiver module 60, for according to above-mentioned configuration parameter and the foot that is pre-configured with
This generation is for obtaining the performed script of original service data of above-mentioned pictorial statement, and performs this and can perform script,
Wherein, the operation that data base is carried out by the above-mentioned script being pre-configured with for instruction;" foot involved in the present embodiment
This " it is one section of executable program, can show as the SQL statement that is pre-configured with or other compiler language generates
Program.
Data structure building module 64, is connected to script processing module 62, for according to the above-mentioned original service number obtained
According to generating the data structure meeting graphics request;Alternatively, can use at different data according to subtype herein
Reason strategy, as realizing the customization to different subtypes, used implementations below: obtain above-mentioned
The report form type of pictorial statement;Select and above-mentioned report form type graph of a correspondence data processing policy, and according to selection
The above-mentioned data structure that above-mentioned graphic processing data strategy generating is corresponding with above-mentioned report form type.Such as, at pictorial statement
Report form type when being pie chart, can select and pie chart graph of a correspondence data processing policy generates data structure.
Above-mentioned report form type is included but not limited to: pie chart, bar diagram etc..
Rendering module 66, for rendering above-mentioned data structure, obtains Drawing Object;It is for instance possible to use
Highcharts data base renders, the interface in the above-mentioned Drawing Object general-purpose interface storehouse obtained after then rendering
Feed back in the interface chamber in third party's operation system by rendering the above-mentioned Drawing Object obtained, to generate image form
And show this pictorial statement.Wherein, Highcharts is a chart storehouse of a pure written in JavaScript of use, energy
The most simple and convenient enough chart being added with interactivity in web site or weblication.
Feedback module 68, for feeding back to above-mentioned operation system by above-mentioned Drawing Object, to generate above-mentioned pictorial statement.
The function realized by above-mentioned modules, owing to can generate figure by the generation processing means of pictorial statement
Form, therefore, when carrying out the exploitation of pictorial statement, it is not necessary to extra application front end resource, saves a large amount of repetition
Sex work.
Alternatively, as it is shown in fig. 7, script processing module 62 can include following processing unit, to realize performing foot
This generation: combining unit 620, for the configuration parameter and the local configuration the preserved ginseng that above-mentioned operation system are sent
Number merges, and obtains the above-mentioned parameter set performing script;Script signal generating unit 622, is connected to combining unit 620,
Above-mentioned script is performed for generating according to above-mentioned parameter collection and the above-mentioned script that is pre-configured with.
Alternatively, as shown in Figure 8, data structure building module 64 includes but not limited to following processing unit: obtain single
Unit 640, for obtaining the report form type of above-mentioned pictorial statement;Data structure building unit 642, is connected to acquiring unit
640, for selecting and above-mentioned report form type graph of a correspondence data processing policy, and according to the above-mentioned graph data selected
Process the above-mentioned data structure that strategy generating is corresponding with above-mentioned report form type.
In one alternate embodiment, the generation processing means of above-mentioned pictorial statement calls pictorial statement at execution cross-system
Time detailed process can be to show as following form:
On the operation system page, javascript end asks this device to load the general-purpose interface of pictorial statement, submits form to
ID, SQL parameter gives the core processor of this device;
After this device obtains SQL parameter and form ID, the backstage configuration service module of calling device, inquire about form ID
Return all essential informations of corresponding form;
Merge one executable SQL foot of generation with the SQL of form after the parameter Processor parsing SQL parameter of this device
This also performs;
This device has different graphic data processors (strategy pattern), SQL processor for different subtypes
After inquiring initial data, the graphic data processor that data can be returned to assign does customization data transformation.Figure
Graphic data processor is transformed into data structure that is a kind of special and that meet generation graphics request initial data and supplies
Highcharts renders;
This device returns to the data after customization the general-purpose interface of js end again, and interface is transferred to data again
Highcharts chart storehouse processes and renders Drawing Object.Finally Drawing Object is injected into the interface div of operation system
Container is formed real pictorial statement.
In an optional embodiment of the present embodiment, in order to reduce exploitative unnecessary waste further, this
The generation processing means of the pictorial statement that embodiment provides can also include: configuration module, is used for passing through visual configuration
Information required for the above-mentioned pictorial statement of interface configurations also shows, wherein, the information required for above-mentioned pictorial statement is at least
Including: the above-mentioned script being pre-configured with.Alternatively, the information required for above-mentioned pictorial statement can also include: is used for
Configuration parameter that script is configured, the data source information of above-mentioned original service data.
The process of the most above-mentioned visual configuration can be accomplished by, but is not limited to this: developer is at this dress
The backstage pictorial statement configuration page put selects corresponding data source, preserves after submitting SQL script to;This device backstage is joined
Put process assembly and can resolve SQL script generation desired parameters variable, inquire about once after initializing assignment according to parametric variable
Data base obtains data column information corresponding for SQL, finally the parametric variable automatically generated and data is arranged and preserves warehouse-in,
Automatically generate the form ID then refresh page of 36 again;Alternatively, developer also needs in senior setting
Face configures some basic setups of figure and preserves;Developer introduces the front end of this device in third party's operation system
Javascript storehouse, then needed for javascipt end coding calls loading pictorial statement general-purpose interface, incoming SQL
The value of parameter and form ID.So pictorial statement coding work of developer terminates.
It should be noted that above-mentioned modules can be by software or hardware realizes, for the latter, permissible
Show as implemented below form, such as: above-mentioned modules is respectively positioned in same processor;Or, each mould above-mentioned
Block lays respectively in different processors;Or, above-mentioned modules is positioned at the form of any two or multiple combination
In one processor, other module is positioned in another processor, but is not limited to this form of expression.
Embodiment 4
According to embodiments of the present invention, additionally provide the embodiment of the method for a kind of generation method of pictorial statement, need explanation
, can be in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing
Perform, and, although show logical order in flow charts, but in some cases, can be to be different from this
The step shown or described by order execution at place.The embodiment of the method that the embodiment of the present application is provided can be mobile whole
End, terminal or similar arithmetic unit perform.
Fig. 9 is the flow chart of the generation method of a kind of optional pictorial statement according to embodiments of the present invention.Such as Fig. 9 institute
Showing, the method includes following process step:
Step S902, sends the request for generating pictorial statement, wherein, carries described figure report in described request
The configuration parameter of table;
Step S904, the Drawing Object of the receiving terminal feedback of reception described request under the triggering of described request, and according to
Described Drawing Object generates described pictorial statement, and wherein, described Drawing Object generates in the following manner: according in advance
The configuration parameter that the script of configuration and operation system send, generation is for obtaining the original service data of pictorial statement
Script can be performed and perform;And meet the data structure of graphics request according to the described original service data genaration obtained,
Wherein, the operation that data base is carried out by the script being pre-configured with described in for instruction;Described data structure is rendered,
Obtain described Drawing Object.
Alternatively, the Drawing Object of reception can be injected into by step S904 this locality interface div container in formed
Whole pictorial statement.
It should be noted that the executive agent of step S902 and S904 can be operation system, but it is not limited to this.
For ease of understanding, it is divided into visualized operation configuration phase and cross-system to call the generation method of pictorial statement below
Two stages of pictorial statement generation phase, and describe in detail on this basis.The pictorial statement provided in following example
Generation method can be realized by the generating means of pictorial statement, after this device may include that pictorial statement visualization
Platform configuration component, pictorial statement data handling component, javascript storehouse, front end.
First stage: visualized operation configuration phase.
Developer selects corresponding data source at the backstage pictorial statement configuration page of this device, protects after submitting SQL script to
Deposit;
The configuration of this device backstage processes assembly can resolve SQL script generation desired parameters variable, initial according to parametric variable
Change and inquire about a data base after assignment and obtain data column information corresponding for SQL, finally the parametric variable automatically generated and
Data row preserve warehouse-in, then automatically generate the form ID then refresh page of 36;
Developer also needs in senior some basic setups arranging the inside configuration figure and preserves;
Developer introduces the javascript storehouse, front end of this device in third party's operation system, then at javascipt
End coding calls loading pictorial statement general-purpose interface, the value of incoming SQL desired parameters and form ID.So developer
Pictorial statement coding work terminates.
Second stage: cross-system calls pictorial statement generation phase:
On the operation system page, javascript end asks this device to load the general-purpose interface of pictorial statement, submits form to
ID, SQL parameter gives the core processor of this device.
After this device obtains SQL parameter and form ID, the backstage configuration service module of calling device, inquire about form ID
Return all essential informations of corresponding form.
Merge one executable SQL foot of generation with the SQL of form after the parameter Processor parsing SQL parameter of this device
This also performs.
This device has different graphic data processors (strategy pattern), SQL processor for different subtypes
After inquiring initial data, the graphic data processor that data can be returned to assign does customization data transformation.Figure
Graphic data processor is transformed into data structure that is a kind of special and that meet generation graphics request initial data and supplies
Highcharts renders.
This device returns to the data after customization the general-purpose interface of js end again, and interface is transferred to data again
Highcharts chart storehouse processes and renders Drawing Object.Finally Drawing Object is injected into the interface div of operation system
Container is formed real pictorial statement.
Embodiment 5
According to embodiments of the present invention, additionally provide the generating means of a kind of pictorial statement for implementing said method, should
Device can run on computer terminals, such as, can run on the terminal shown in Fig. 4.Such as Figure 10
Shown in, this device includes sending module 1000 and receiver module 1002:
Sending module 1000, for sending the request for generating pictorial statement, wherein, carries in above-mentioned request
State the configuration parameter of pictorial statement;
Receiver module 1002, is connected to sending module 1000, for receiving above-mentioned request under the triggering of above-mentioned request
The Drawing Object of receiving terminal feedback, and generate above-mentioned pictorial statement, wherein, above-mentioned figure pair according to above-mentioned Drawing Object
As generating in the following manner: the configuration parameter sent according to the script being pre-configured with and operation system, generation is used for
Obtain the performed script of the original service data of pictorial statement and perform;And according to the above-mentioned original service number obtained
According to generating the data structure meeting graphics request, wherein, data base is carried out by the above-mentioned script being pre-configured with for instruction
Operation;Above-mentioned data structure is rendered, obtains above-mentioned Drawing Object.
Alternatively, receiver module 1002 to show as following form, but can be not limited to this in the process generating pictorial statement:
The Drawing Object received is injected in interface chamber by receiver module 1002, thus generates pictorial statement.
The function realized by above-mentioned modules, owing to can generate figure by the generation processing means of pictorial statement
Form, therefore, when carrying out the exploitation of pictorial statement, it is not necessary to extra application front end resource, saves a large amount of repetition
Sex work.
It should be noted that above-mentioned modules can be by software or hardware realizes, for the latter, permissible
Show as implemented below form, such as: sending module 1000 and receiver module 1002 lay respectively at first processor and
In second processor;Or, sending module 1000 and receiver module 1002 are respectively positioned in same processor, but do not limit
In this form of expression.
Embodiment 6
Embodiments of the invention can provide a kind of terminal, and this terminal can be in terminal group
Any one computer terminal.Alternatively, in the present embodiment, above computer terminal can also replace with
The terminal units such as mobile terminal.
Alternatively, in the present embodiment, during above computer terminal may be located at multiple network equipments of computer network
At least one network equipment.
In the present embodiment, following steps during above computer terminal can perform the generation processing method of pictorial statement
Program code: receive the request for generating pictorial statement from operation system, wherein, carry in above-mentioned request
For the configuration parameter that script is configured;Generate for obtaining according to above-mentioned configuration parameter and the script that is pre-configured with
Take the script of the original service data of above-mentioned pictorial statement, and perform this script, wherein, the above-mentioned script being pre-configured with
Operation data base carried out for instruction;The number of graphics request is met according to the above-mentioned original service data genaration obtained
According to structure;Above-mentioned data structure is rendered, obtains Drawing Object, and above-mentioned Drawing Object is fed back to above-mentioned industry
Business system, to generate above-mentioned pictorial statement.
Alternatively, this terminal may include that one or more processor, memorizer and transmitting device.
Wherein, memorizer can be used for storing software program and module, such as the life of the pictorial statement in the embodiment of the present invention
Become programmed instruction/module that treating method and apparatus is corresponding, the software program that processor is stored in memorizer by operation
And module, thus perform the application of various function and data process, i.e. realize the detection that above-mentioned system vulnerability is attacked
Method.Memorizer can include high speed random access memory, it is also possible to includes nonvolatile memory, such as one or more
Magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memorizer can enter one
Step includes the memorizer remotely located relative to processor, and these remote memories can be connected to terminal by network.
The example of above-mentioned network includes but not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
Above-mentioned transmitting device is for receiving via a network or sending data.Above-mentioned network instantiation can wrap
Include cable network and wireless network.In an example, transmitting device includes a network adapter (Network
Interface Controller, NIC), it can be connected with router by netting twine and other network equipments thus can be with
The Internet or LAN carry out communication.In an example, transmitting device is radio frequency (Radio Frequency, RF)
Module, it is for wirelessly carrying out communication with the Internet.
Wherein, specifically, memorizer is for storing deliberate action condition and the information of default access user and application
Program.
Processor can call information and the application program of memorizer storage by transmitting device, to perform following step:
Receive the request for generating pictorial statement from operation system, wherein, above-mentioned request carries for script
Carry out the configuration parameter configured;Generate for obtaining above-mentioned figure according to above-mentioned configuration parameter and the script that is pre-configured with
The script of the original service data of form, and perform this script, wherein, the above-mentioned script being pre-configured with is right for indicating
The operation that data base is carried out;The data structure of graphics request is met according to the above-mentioned original service data genaration obtained;Right
Above-mentioned data structure renders, and obtains Drawing Object, and above-mentioned Drawing Object is fed back to above-mentioned operation system, with
Generate above-mentioned pictorial statement.
Optionally, above-mentioned processor can also carry out the program code of following steps: by joining that above-mentioned operation system sends
Put parameter to merge with the local configuration parameter preserved, obtain the above-mentioned parameter set performing script;According to above-mentioned ginseng
Manifold and the above-mentioned script that is pre-configured with generate and above-mentioned perform script.
Optionally, above-mentioned processor can also carry out the program code of following steps: obtains the form of above-mentioned pictorial statement
Type;Select and above-mentioned report form type graph of a correspondence data processing policy, and at the above-mentioned graph data according to selection
The above-mentioned data structure that reason strategy generating is corresponding with above-mentioned report form type.
Optionally, above-mentioned processor can also carry out the program code of following steps: by visual configuration interface configurations
Information required for above-mentioned pictorial statement also shows, wherein, the information required for above-mentioned pictorial statement at least includes: on
State the script being pre-configured with
The such scheme using the embodiment of the present invention to provide, solves the work that in correlation technique, pictorial statement exploitation exists
Amount is big, waste is exploited natural resources and the technical problem of construction cycle length.
It will appreciated by the skilled person that the structure of above computer terminal is only signal, terminal is also
Can be smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, applause computer and mobile interchange
The terminal units such as net equipment (Mobile Internet Devices, MID), PAD.It is not to above-mentioned electronic installation
Structure cause restriction.Such as, terminal may also include the assembly more or more less than said structure feature (as
Network interface, display device etc.), or there is the configuration different from said structure feature.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is permissible
Carrying out the device-dependent hardware of command terminal by program to complete, this program can be stored in a computer-readable storage medium
In matter, storage medium may include that flash disk, read only memory (Read-Only Memory, ROM), deposits at random
Take device (Random Access Memory, RAM), disk or CD etc..
Embodiment 7
Embodiments of the invention may be provided for another terminal, and this terminal can be that computer is whole
Any one computer terminal in end group.Alternatively, in the present embodiment, above computer terminal can also
Replace with the terminal units such as mobile terminal.
The structure of the terminal in the present embodiment can be identical with the computer configuation in embodiment 5, but, its
The function realized is different, and the computer that the present embodiment provides can perform following steps in the generation method of pictorial statement
Program code: receive the request for generating pictorial statement from operation system, wherein, carry in above-mentioned request
For the configuration parameter that script is configured;Generate for obtaining according to above-mentioned configuration parameter and the script that is pre-configured with
Take the script of the original service data of above-mentioned pictorial statement, and perform this script, wherein, the above-mentioned script being pre-configured with
Operation data base carried out for instruction;The number of graphics request is met according to the above-mentioned original service data genaration obtained
According to structure;Above-mentioned data structure is rendered, obtains Drawing Object, and above-mentioned Drawing Object is fed back to above-mentioned industry
Business system, to generate above-mentioned pictorial statement.
Alternatively, this terminal may include that one or more processor, memorizer and transmitting device.
Wherein, memorizer can be used for storing software program and module, such as the life of the pictorial statement in the embodiment of the present invention
Become programmed instruction/module corresponding to method and apparatus, software program that processor is stored in memorizer by operation and
Module, thus perform the application of various function and data process, i.e. realize the detection method that above-mentioned system vulnerability is attacked.
Memorizer can include high speed random access memory, it is also possible to includes nonvolatile memory, as one or more magnetic is deposited
Storage device, flash memory or other non-volatile solid state memories.In some instances, memorizer can farther include
The memorizer remotely located relative to processor, these remote memories can be connected to terminal by network.Above-mentioned net
The example of network includes but not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.
Wherein, specifically, memorizer is for storing deliberate action condition and the information of default access user and application
Program.
Processor can also carry out the program code of following steps: sends the request for generating pictorial statement, its
In, the configuration parameter carrying described pictorial statement in described request receives described request under the triggering of described request
The Drawing Object of receiving terminal feedback, and generate described pictorial statement, wherein, described figure pair according to described Drawing Object
As generating in the following manner: the configuration parameter sent according to the script being pre-configured with and operation system, generation is used for
Obtain the performed script of the original service data of pictorial statement and perform;And according to the described original service number obtained
According to generating the data structure meeting graphics request, wherein, data base is carried out by the script being pre-configured with described in for instruction
Operation;Described data structure is rendered, obtains described Drawing Object.
Embodiment 8
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium
May be used for preserving the program code performed by generation processing method of the pictorial statement that above-described embodiment one is provided.
Alternatively, in the present embodiment, during above-mentioned storage medium may be located at computer network Computer terminal group
In any one terminal, or it is positioned in any one mobile terminal in mobile terminal group.
Alternatively, in the present embodiment, storage medium is arranged to storage for the program code performing following steps:
Receive the request for generating pictorial statement from operation system, wherein, above-mentioned request carries for script
Carry out the configuration parameter configured;Generate for obtaining above-mentioned figure according to above-mentioned configuration parameter and the script that is pre-configured with
The script of the original service data of form, and perform this script, wherein, the above-mentioned script being pre-configured with is right for indicating
The operation that data base is carried out;The data structure of graphics request is met according to the above-mentioned original service data genaration obtained;Right
Above-mentioned data structure renders, and obtains Drawing Object, and above-mentioned Drawing Object is fed back to above-mentioned operation system, with
Generate above-mentioned pictorial statement.
Herein it should be noted that any one in above computer terminal group can be with Website server and scanning device
Set up correspondence, the order of the weblication that scanning device can perform with php in scanning computer terminal.
Alternatively, storage medium is also configured to storage for the program code performing following steps: by above-mentioned business system
The configuration parameter that system sends merges with the local configuration parameter preserved, and obtains the above-mentioned parameter set performing script;
Generate according to above-mentioned parameter collection and the above-mentioned script that is pre-configured with and above-mentioned perform script.
Optionally, above-mentioned storage medium can also carry out the program code of following steps: obtains the report of above-mentioned pictorial statement
Table type;Select and above-mentioned report form type graph of a correspondence data processing policy, and according to the above-mentioned graph data selected
Process the above-mentioned data structure that strategy generating is corresponding with above-mentioned report form type.
Optionally, above-mentioned storage medium can also carry out the program code of following steps: is joined by visual configuration interface
Information required for putting above-mentioned pictorial statement also shows, wherein, the information required for above-mentioned pictorial statement at least includes:
The above-mentioned script being pre-configured with.
Alternatively, in the present embodiment, above-mentioned storage medium can include but not limited to: USB flash disk, read only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic
The various medium that can store program code such as dish or CD.
Alternatively, the concrete example in the present embodiment is referred to the example described in above-described embodiment 2, this enforcement
Example does not repeats them here.
Embodiment 9
Embodiments of the invention additionally provide another storage medium.Alternatively, in the present embodiment, above-mentioned storage
Medium may be used for preserving the program code performed by generation processing method of the pictorial statement that above-described embodiment one is provided.
Alternatively, in the present embodiment, during above-mentioned storage medium may be located at computer network Computer terminal group
In any one terminal, or it is positioned in any one mobile terminal in mobile terminal group.
Alternatively, in the present embodiment, above-mentioned storage medium is arranged to storage for the program generation performing following steps
Code: send the request for generating pictorial statement, wherein, carry the configuration ginseng of described pictorial statement in described request
Number.
Herein it should be noted that any one in above computer terminal group can be with Website server and scanning device
Set up correspondence, the order of the weblication that scanning device can perform with php in scanning computer terminal.
It should be noted that the invention described above embodiment sequence number is just to describing, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment
The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, device embodiment described above is only schematically, example
Such as the division of described unit, being only a kind of logic function and divide, actual can have other dividing mode when realizing,
The most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or
Do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be to pass through
The INDIRECT COUPLING of some interfaces, unit or module or communication connection, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit
The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to
On multiple NEs.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment
The purpose of scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use,
Can be stored in a computer read/write memory medium.Based on such understanding, technical scheme essence
On the part that in other words prior art contributed or this technical scheme completely or partially can be with software product
Form embodies, and this computer software product is stored in a storage medium, including some instructions with so that one
Platform computer equipment (can be for personal computer, server or the network equipment etc.) performs each embodiment institute of the present invention
State all or part of step of method.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD
Etc. the various media that can store program code.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improve and profit
Decorations also should be regarded as protection scope of the present invention.
Claims (17)
1. the generation processing means of a pictorial statement, it is characterised in that including:
Pictorial statement data handling component, for the configuration sent according to the script being pre-configured with and operation system
Parameter, generates the performed script of the original service data for obtaining pictorial statement and performs;And according to obtaining
The described original service data genaration taken meets the data structure of graphics request, wherein, described in the foot that is pre-configured with
This operation data base carried out for instruction;
Front end data library component, enters for the described data structure generating described pictorial statement data handling component
Row renders and obtains Drawing Object, and described Drawing Object is fed back to described operation system, to generate described figure
Form.
Device the most according to claim 1, it is characterised in that described pictorial statement data handling component includes:
Chart parameter processing assembly, preserves with local for the described configuration parameter sent according to described operation system
Configuration parameter merge, obtain the described parameter set that can perform script;
Script formation component, for generating described according to the described parameter set obtained with the described script being pre-configured with
Script can be performed and perform;
Data structure building assembly, for meeting graphics request according to the described original service data genaration obtained
Data structure.
Device the most according to claim 2, it is characterised in that described data structure building assembly, is additionally operable to basis
The report form type of described pictorial statement selects graph of a correspondence data processing policy, and according to described graph data
Process the data structure that strategy generating is corresponding with described report form type.
Device the most according to claim 1, it is characterised in that described front end data library component includes:
Chart library component, carries out wash with watercolours for the described data structure generating described pictorial statement data handling component
Dye obtains Drawing Object, and described Drawing Object is fed back to described industry by the interface called in general-purpose interface library component
Business system, to generate described pictorial statement;
Described general-purpose interface library component, for providing the interface communicated with operation system.
Device the most according to any one of claim 1 to 4, it is characterised in that described device also includes: figure
Form configuration component, for being configured the information required for generating described pictorial statement by visualized operation and showing,
Wherein, the information required for described pictorial statement at least includes: described in the script that is pre-configured with.
Device the most according to claim 5, it is characterised in that described pictorial statement configuration component includes:
Visual configuration interface, for for performing described visualized operation offer visualization interface;
Chart-information management assembly, for by described visualized operation to generating required for described pictorial statement
Information be managed for configuration.
Device the most according to claim 5, it is characterised in that the information required for described pictorial statement also includes:
For the configuration parameter that script is configured, the data source information of described original service data.
8. the generation processing method of a pictorial statement, it is characterised in that including:
Receive the request for generating pictorial statement from operation system, wherein, described request carries use
In the configuration parameter that script is configured;
Generate for the original industry obtaining described pictorial statement according to described configuration parameter and the script that is pre-configured with
The performed script of business data, and perform this and can perform script, wherein, described in the script that is pre-configured with for referring to
Show the operation that data base is carried out;
The data structure of graphics request is met according to the described original service data genaration obtained;
Described data structure is rendered, obtains Drawing Object, and described Drawing Object is fed back to described industry
Business system, to generate described pictorial statement.
Method the most according to claim 8, it is characterised in that according to described configuration parameter and the foot that is pre-configured with
The performed script of this generation original service data for obtaining described pictorial statement includes:
The configuration parameter described operation system sent merges with the local configuration parameter preserved, and obtains described
The parameter set of script can be performed;
Script can be performed according to described parameter set and the described script generation being pre-configured with.
Method the most according to claim 8, it is characterised in that according to the described original service data genaration symbol obtained
Close the data structure of graphics request, including:
Obtain the report form type of described pictorial statement;
Select and described report form type graph of a correspondence data processing policy, and according to the described graph data selected
Process the described data structure that strategy generating is corresponding with described report form type.
11. according to Claim 8 to the method according to any one of 10, it is characterised in that be used for giving birth to receiving operation system
Before becoming the request of pictorial statement, described method also includes:
By the information required for pictorial statement described in visual configuration interface configurations and show, wherein, described figure
Information required for shape form at least includes: described in the script that is pre-configured with.
The generation method of 12. 1 kinds of pictorial statements, it is characterised in that including:
Send the request for generating pictorial statement, wherein, described request carries joining of described pictorial statement
Put parameter;
Receive the Drawing Object of the receiving terminal feedback of described request under the triggering of described request, and according to described figure
Shape object generates described pictorial statement, and wherein, described Drawing Object generates in the following manner: according to joining in advance
The configuration parameter that the script put and operation system send, generates the original service data for obtaining pictorial statement
Performed script and perform;And the number of graphics request is met according to the described original service data genaration obtained
According to structure, wherein, the operation that data base is carried out by the script being pre-configured with described in for instruction;To described data
Structure renders, and obtains described Drawing Object.
The generation processing means of 13. 1 kinds of pictorial statements, it is characterised in that including:
Receiver module, for receiving the request for generating pictorial statement from operation system, wherein, described
Request carries the configuration parameter for configuring script;
Script processing module, for generating for obtaining according to described configuration parameter and the script that is pre-configured with
State the performed script of the original service data of pictorial statement, and perform this and can perform script, wherein, described pre-
The operation that data base is carried out by the script first configured for instruction;
Data structure building module, for meeting graphics request according to the described original service data genaration obtained
Data structure;
Rendering module, for rendering described data structure, obtains Drawing Object;
Feedback module, for feeding back to described operation system by described Drawing Object, to generate described pictorial statement.
14. devices according to claim 13, it is characterised in that described script processing module includes:
Combining unit, is carried out with the local configuration parameter preserved for the configuration parameter described operation system sent
Merge, obtain the described parameter set that can perform script;
Script signal generating unit, can perform described in generating according to described parameter set and the described script being pre-configured with
Script.
15. devices according to claim 13, it is characterised in that described data structure building module includes:
Acquiring unit, for obtaining the report form type of described pictorial statement;
Data structure building unit, for selecting and described report form type graph of a correspondence data processing policy, and
According to the described data structure that the described graphic processing data strategy generating selected is corresponding with described report form type.
16. according to the device according to any one of claim 13 to 15, it is characterised in that described device also includes:
Configuration module, for by the information required for pictorial statement described in visual configuration interface configurations and show,
Wherein, the information required for described pictorial statement at least includes: described in the script that is pre-configured with.
The generating means of 17. 1 kinds of pictorial statements, it is characterised in that including:
Sending module, for sending the request for generating pictorial statement, wherein, carries in described request
State the configuration parameter of pictorial statement;
Receiver module, for receiving the Drawing Object of the receiving terminal feedback of described request under the triggering of described request,
And generate described pictorial statement according to described Drawing Object, wherein, described Drawing Object generates in the following manner:
The configuration parameter sent according to the script being pre-configured with and operation system, generates for obtaining the former of pictorial statement
The performed script of beginning business datum also performs;And meet figure according to the described original service data genaration obtained
The data structure that shape requires, wherein, described in the operation that data base carried out for instruction of the script that is pre-configured with;
Described data structure is rendered, obtains described Drawing Object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510267155.6A CN106293661A (en) | 2015-05-22 | 2015-05-22 | The generation of pictorial statement, generation processing method and processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510267155.6A CN106293661A (en) | 2015-05-22 | 2015-05-22 | The generation of pictorial statement, generation processing method and processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106293661A true CN106293661A (en) | 2017-01-04 |
Family
ID=57633077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510267155.6A Pending CN106293661A (en) | 2015-05-22 | 2015-05-22 | The generation of pictorial statement, generation processing method and processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106293661A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106909610A (en) * | 2017-01-10 | 2017-06-30 | 中电科华云信息技术有限公司 | Visualization based on browser pulls the method and system of inquiry data |
CN107122185A (en) * | 2017-04-21 | 2017-09-01 | 国网福建省电力有限公司 | One kind shows method for the visualization of distribution network parameters category information |
CN107908659A (en) * | 2017-10-17 | 2018-04-13 | 深圳前海微众银行股份有限公司 | Data sheet collocation method, report platform and computer-readable recording medium |
CN108492346A (en) * | 2018-03-19 | 2018-09-04 | 苏州思必驰信息科技有限公司 | Realize the method and device of chart components |
CN109299169A (en) * | 2018-10-24 | 2019-02-01 | 中国平安人寿保险股份有限公司 | Data visualization method, system, terminal and computer readable storage medium |
CN111061756A (en) * | 2019-10-16 | 2020-04-24 | 智慧足迹数据科技有限公司 | Data platform, data processing method and electronic equipment |
CN112000644A (en) * | 2020-08-21 | 2020-11-27 | 北京浪潮数据技术有限公司 | Data processing method and system, electronic equipment and storage medium |
CN112199928A (en) * | 2020-10-16 | 2021-01-08 | 深圳无域科技技术有限公司 | Report system based on machine learning and report generation method |
CN112269828A (en) * | 2020-11-18 | 2021-01-26 | 网易(杭州)网络有限公司 | Data generation method and device and electronic equipment |
CN113591448A (en) * | 2021-08-03 | 2021-11-02 | 京东科技控股股份有限公司 | Report generation method and device and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1427363A (en) * | 2001-12-19 | 2003-07-02 | 深圳市中兴通讯股份有限公司上海第二研究所 | General report form generation method |
CN101183371A (en) * | 2007-12-12 | 2008-05-21 | 中兴通讯股份有限公司 | Method for quick finishing large data-handling and reporting system |
US7721195B2 (en) * | 2004-08-24 | 2010-05-18 | Oracle International Corporation | RTF template and XSL/FO conversion: a new way to create computer reports |
CN102323945A (en) * | 2011-09-02 | 2012-01-18 | 南京中兴力维软件有限公司 | SQL (Structured Query Language)-based database management method and device |
CN103135976A (en) * | 2011-11-30 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Code automatic generation method and device |
CN103838672A (en) * | 2014-03-04 | 2014-06-04 | 中国工商银行股份有限公司 | Automated testing method and device for all-purpose financial statements |
CN103856969A (en) * | 2014-03-28 | 2014-06-11 | 大唐移动通信设备有限公司 | Method, device and system for counting network element characteristic parameters |
CN104516908A (en) * | 2013-09-29 | 2015-04-15 | 华为技术有限公司 | Database access method and device |
-
2015
- 2015-05-22 CN CN201510267155.6A patent/CN106293661A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1427363A (en) * | 2001-12-19 | 2003-07-02 | 深圳市中兴通讯股份有限公司上海第二研究所 | General report form generation method |
US7721195B2 (en) * | 2004-08-24 | 2010-05-18 | Oracle International Corporation | RTF template and XSL/FO conversion: a new way to create computer reports |
CN101183371A (en) * | 2007-12-12 | 2008-05-21 | 中兴通讯股份有限公司 | Method for quick finishing large data-handling and reporting system |
CN102323945A (en) * | 2011-09-02 | 2012-01-18 | 南京中兴力维软件有限公司 | SQL (Structured Query Language)-based database management method and device |
CN103135976A (en) * | 2011-11-30 | 2013-06-05 | 阿里巴巴集团控股有限公司 | Code automatic generation method and device |
CN104516908A (en) * | 2013-09-29 | 2015-04-15 | 华为技术有限公司 | Database access method and device |
CN103838672A (en) * | 2014-03-04 | 2014-06-04 | 中国工商银行股份有限公司 | Automated testing method and device for all-purpose financial statements |
CN103856969A (en) * | 2014-03-28 | 2014-06-11 | 大唐移动通信设备有限公司 | Method, device and system for counting network element characteristic parameters |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106909610A (en) * | 2017-01-10 | 2017-06-30 | 中电科华云信息技术有限公司 | Visualization based on browser pulls the method and system of inquiry data |
CN106909610B (en) * | 2017-01-10 | 2020-11-24 | 中电科华云信息技术有限公司 | Method and system for visually dragging and querying data based on browser |
CN107122185B (en) * | 2017-04-21 | 2020-08-14 | 国网福建省电力有限公司 | Visual display system for parameter information of power distribution network |
CN107122185A (en) * | 2017-04-21 | 2017-09-01 | 国网福建省电力有限公司 | One kind shows method for the visualization of distribution network parameters category information |
CN107908659A (en) * | 2017-10-17 | 2018-04-13 | 深圳前海微众银行股份有限公司 | Data sheet collocation method, report platform and computer-readable recording medium |
CN108492346A (en) * | 2018-03-19 | 2018-09-04 | 苏州思必驰信息科技有限公司 | Realize the method and device of chart components |
CN109299169A (en) * | 2018-10-24 | 2019-02-01 | 中国平安人寿保险股份有限公司 | Data visualization method, system, terminal and computer readable storage medium |
CN109299169B (en) * | 2018-10-24 | 2023-08-08 | 中国平安人寿保险股份有限公司 | Data visualization method, system, terminal and computer readable storage medium |
CN111061756A (en) * | 2019-10-16 | 2020-04-24 | 智慧足迹数据科技有限公司 | Data platform, data processing method and electronic equipment |
CN111061756B (en) * | 2019-10-16 | 2021-01-19 | 智慧足迹数据科技有限公司 | Data platform, data processing method and electronic equipment |
CN112000644A (en) * | 2020-08-21 | 2020-11-27 | 北京浪潮数据技术有限公司 | Data processing method and system, electronic equipment and storage medium |
CN112000644B (en) * | 2020-08-21 | 2022-08-02 | 北京浪潮数据技术有限公司 | Data processing method and system, electronic equipment and storage medium |
CN112199928A (en) * | 2020-10-16 | 2021-01-08 | 深圳无域科技技术有限公司 | Report system based on machine learning and report generation method |
CN112269828A (en) * | 2020-11-18 | 2021-01-26 | 网易(杭州)网络有限公司 | Data generation method and device and electronic equipment |
CN113591448A (en) * | 2021-08-03 | 2021-11-02 | 京东科技控股股份有限公司 | Report generation method and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106293661A (en) | The generation of pictorial statement, generation processing method and processing device | |
TW202113586A (en) | Method and device for generating applet | |
EP3975004A1 (en) | Stream computing method, apparatus, and system | |
CN107590186B (en) | Method for managing and executing data processing policy and policy engine system | |
CN109358851A (en) | Creation method, device and the computer readable storage medium of chart components | |
CN109754072B (en) | Processing method of network offline model, artificial intelligence processing device and related products | |
CN107797826B (en) | Rule configuration method based on rule engine, terminal and equipment | |
CN106170789A (en) | For providing the method and system of Function Extension to the landing page of intention | |
CN112633691A (en) | Method and device for generating custom approval process | |
CN109683892B (en) | Page display method and device, computer equipment and storage medium | |
CN108279882B (en) | Framework generation method, device, equipment and computer readable medium | |
WO2015081779A1 (en) | Service processing method and apparatus based on bpm | |
US20140229541A1 (en) | Method and system for content management of social networking data | |
CN112579048B (en) | Applet integration method, device, electronic equipment and storage medium | |
CN106649640A (en) | Instant search method and device | |
CN108038241A (en) | Integrated WEB visual workflows method, apparatus, readable storage medium storing program for executing and system | |
JPWO2019039255A1 (en) | Terminal device, UI extension method, and UI extension program | |
CN112306471A (en) | Task scheduling method and device | |
CN111209463B (en) | Internet data acquisition method and device | |
CN106293679A (en) | A kind of element term conflict processing method and device | |
CN108259315A (en) | Online picture sharing method, equipment, client and electronic equipment | |
CN110263932A (en) | Multi-agent simulation system graphical combination construction method and device | |
CN114880015B (en) | Task configuration method, device, equipment and storage medium | |
CN108804088A (en) | protocol processing method and device | |
CN109978486A (en) | Method, apparatus, system and medium for Row control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |
|
RJ01 | Rejection of invention patent application after publication |