CN105867951A - Data processing method and device as well as screen designer - Google Patents
Data processing method and device as well as screen designer Download PDFInfo
- Publication number
- CN105867951A CN105867951A CN201610448332.5A CN201610448332A CN105867951A CN 105867951 A CN105867951 A CN 105867951A CN 201610448332 A CN201610448332 A CN 201610448332A CN 105867951 A CN105867951 A CN 105867951A
- Authority
- CN
- China
- Prior art keywords
- instance object
- chart
- painting canvas
- information
- plug
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Abstract
The embodiment of the invention provides a data processing method and device as well as a screen designer. According to the method, when all instance objects are arranged in canvas, the dimension information of all the instance objects and the dimension information of canvas can be referenced, so that the phenomenon that a chart corresponding to the instance objects cannot be completely displayed in the canvas cannot occur.
Description
Technical field
The present embodiments relate to database technical field, more particularly relate to a kind of data processing method, device and screen
Curtain designer.
Background technology
A lot of large enterprises all have ECC (Enterprise Command Center, enterprise's overall control center) machine room, ECC
Machine room is platform and the entity that large enterprise's IT operation is implemented Centralized Monitoring, command scheduling and technical support.ECC machine room energy
Enough to all keys, IT (Information Technology, the information industry) environment that supports different business systems carries out
Centralized Monitoring end to end, and support various different command scheduling means.For each different business system of more convenient observation
The data of system, can be by the data projection of each different business systems of monitoring to screen.
At present, by the data projection of each different business systems of monitoring to the technology on screen it is: by each of monitoring
The data of different business systems are converted to chart, are subsequently projected on screen.
Inventor finds when realizing the invention, when utilizing said method to project, and can be according to needing projection
The width of each chart, utilize 12 grid layout methods that screen laterally carried out grid segmentation, but to longitudinally not carrying out point
Cutting, generally, the pixel of screen is certain, when on screen, total pixel of the chart of projection is more than longitudinal picture of screen
During element value, screen cannot show each chart completely.
Summary of the invention
In view of this, the invention provides a kind of data processing method, device and screen designer, to overcome prior art
The problem that the chart of middle projection can not be illustrated on screen completely.
For achieving the above object, the present invention provides techniques below scheme:
A kind of data processing method, is applied to screen designer, and described screen designer includes painting canvas and polytype
Plug-in unit, the corresponding a type of chart of the plug-in unit of each type, described data processing method includes:
According to each subtype the most to be shown, obtain the reality of the plug-in unit corresponding with subtype each described respectively
Example object;
According to the parameter information that the dimension information of described painting canvas and each described instance object are corresponding, each institute is set
Stating instance object position in described painting canvas, described parameter information includes the size of the chart that described instance object is corresponding
Information and the data origin information of described instance object;
When receiving the instruction playing described painting canvas, each described instance object obtains from database every Preset Time
Take the data that the data origin information corresponding with described instance object is corresponding;
According to the data that each described instance object is corresponding, generate the subtype pair corresponding with described instance object
The chart answered, and it is illustrated in position corresponding with described instance object in described painting canvas.
Wherein, the described dimension information according to described painting canvas and parameter information corresponding to each described instance object,
Arrange each described instance object position in described painting canvas to include:
Dimension information according to chart corresponding to the dimension information of described painting canvas and described instance object, it is judged that described
Whether painting canvas can show the chart that each described instance object is corresponding completely;
When the chart of each described instantiation correspondence can be shown completely, described instance object is set at described painting canvas
In position;
When showing the chart of each described instantiation correspondence completely, display resets described instance object
Parameter information;
Receive the parameter information of the described instance object reset, return the step dimension information according to described painting canvas
And the dimension information of chart corresponding to described instance object, it is judged that whether described painting canvas can show each described reality completely
The chart that example object is corresponding.
Preferably, also include:
When receiving the parameter information instruction of change object instance object, it is thus achieved that the parameter information after renewal, described ginseng
Number information includes: the number that the title of the chart corresponding with described object instance object is corresponding with described object instance object
According to the chart that the subtype that source-information is corresponding with described object instance object is corresponding with described object instance object
Update cycle of data, the dimension information of the chart corresponding with described object instance object;
According to the parameter information after described renewal, described object instance object correspondence graph is updated.
Preferably, also include:
When receiving the operation instruction to target painting canvas, according to described operation instruction, described target painting canvas is carried out accordingly
Operation, described operation instruction includes: delete, increase, check, replicate, play, arrange title, arrange skin and preserve in one
Plant or multiple.
Preferably, when receiving plug-in registration instruction, obtaining the definition information of plug-in unit, described definition information includes described ginseng
Number information and script information.
A kind of data processing equipment, is applied to screen designer, and described screen designer includes painting canvas and polytype
Plug-in unit, the corresponding a type of chart of the plug-in unit of each type, described data processing equipment includes:
Obtain instance object module, for according to each subtype the most to be shown, obtain and each institute respectively
State the instance object of plug-in unit corresponding to subtype;
Module is set, believes for the parameter corresponding according to the dimension information of described painting canvas and each described instance object
Breath, arranges each described instance object position in described painting canvas, and described parameter information includes described instance object pair
The dimension information of the chart answered and the data origin information of described instance object;
Obtaining data module, in time receiving the instruction playing described painting canvas, each described instance object is every in advance
If the time obtains the data that the data origin information corresponding with described instance object is corresponding from database;
Display module, for the data corresponding according to each described instance object, generates and described instance object pair
The chart that the subtype answered is corresponding, and it is illustrated in position corresponding with described instance object in described painting canvas.
Wherein, the described module that arranges includes:
Judging unit, for the size of the chart corresponding according to the dimension information of described painting canvas and described instance object
Information, it is judged that whether described painting canvas can show the chart that each described instance object is corresponding completely;
Unit is set, for when showing the chart of each described instantiation correspondence completely, arranging described instantiation
Object position in described painting canvas;
Display unit, for when showing the chart of each described instantiation correspondence completely, display resets
The parameter information of described instance object;
Trigger element, for receiving the parameter information of the described instance object reset, triggers described judging unit.
Preferably, also include:
First receiver module, during for receiving the parameter information instruction of change object instance object, it is thus achieved that after renewal
Parameter information, described parameter information includes: the title of the chart corresponding with described object instance object and described target are real
Subtype that data origin information that example object is corresponding is corresponding with described object instance object and described object instance
Change the update cycle of the data of chart corresponding to object, the dimension information of the chart corresponding with described object instance object;
More new module, for according to the parameter information after described renewal, enters described object instance object correspondence graph
Row updates.
Preferably, also include:
Second receiver module, in time receiving the operation instruction to target painting canvas, according to described operation instruction to described
Target painting canvas operates accordingly, and described operation instruction includes: deletes, increase, check, replicate, play, arrange title, set
One or more in putting skin and preserving.
Preferably, also include:
3rd receiver module, when being used for receiving plug-in registration instruction, obtains the definition information of plug-in unit, described definition information
Including described parameter information and script information.
A kind of screen designer, including: painting canvas and polytype plug-in unit, the corresponding kind of the plug-in unit of each type
The chart of type;And as described in any of the above-described data processing equipment.
Understand via above-mentioned technical scheme, compared with prior art, the data processing method that the embodiment of the present invention provides
In, when each instance object is laid out in painting canvas, can be according to the dimension information of each instance object and picture
The dimension information of cloth, so not havinging the phenomenon that chart corresponding to instance object can not be illustrated in painting canvas completely.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to
The accompanying drawing provided obtains other accompanying drawing.
A kind of schematic flow sheet of the implementation of a kind of data processing method that Fig. 1 provides for the embodiment of the present invention;
Universal trend plug-in unit instance object pair in a kind of data processing method that Fig. 2 (a) provides for the embodiment of the present invention
The universal trend figure answered;
Fig. 2 (b) is the parameter information configuration interface that universal trend plug-in unit is corresponding;
Trading volume trends plug-in unit instance object in a kind of data processing method that Fig. 3 (a) provides for the embodiment of the present invention
Corresponding transaction synoptic chart;
Fig. 3 (b) is the parameter information configuration interface of transaction general view plug-in unit;
A kind of data processing method that Fig. 4 provides for the embodiment of the present invention is concluded the business the parameter configuration figure of overview plug-in unit;
General Top10 plug-in unit instance object pair in a kind of data processing method that Fig. 5 (a) provides for the embodiment of the present invention
The general Top10 figure answered;
Fig. 5 (b) is the parameter information configuration interface of general Top10 plug-in unit;
In a kind of data processing method that Fig. 6 (a) provides for the embodiment of the present invention, to add up the instantiation of plug-in unit right for trading volume
As the accumulative figure of corresponding trading volume;
Fig. 6 (b) is the parameter information configuration interface that trading volume adds up plug-in unit;
The instance object of geography information plug-in unit in a kind of data processing method that Fig. 7 (a) provides for the embodiment of the present invention
Corresponding geography information figure;
Fig. 7 (b) is the parameter information configuration interface of geography information plug-in unit;
The instance object pair of instrument board plug-in unit in a kind of data processing method that Fig. 8 (a) provides for the embodiment of the present invention
The instrument board figure answered;
Fig. 8 (b) is parameter information configuration interface;
The instance object of general scatterplot plug-in unit in a kind of data processing method that Fig. 9 (a) provides for the embodiment of the present invention
Corresponding general scatter diagram;
Fig. 9 (b) is the parameter information configuration interface of general scatterplot plug-in unit;
The instance object pair of ES trend plug-in unit in a kind of data processing method that Figure 10 (a) provides for the embodiment of the present invention
The ES tendency chart answered;
Figure 10 (b) is ES parameter information configuration interface;
The instance object of ES instrument board plug-in unit in a kind of data processing method that Figure 11 (a) provides for the embodiment of the present invention
ES instrument board figure;
Figure 11 (b) is the parameter information configuration interface of ES instrument board plug-in unit;
In a kind of data processing method that Figure 12 provides for the embodiment of the present invention, the instantiation of transaction views overview plug-in unit is right
Parameter configuration figure as corresponding transaction views overview plug-in unit;
The instance object pair of ES pie chart plug-in unit in a kind of data processing method that Figure 13 (a) provides for the embodiment of the present invention
The ES pie chart answered;
Figure 13 (b) is the parameter information configuration interface of ES pie chart plug-in unit;
In a kind of data processing method that Figure 14 (a) provides for the embodiment of the present invention, numeral rolls the instance object of plug-in unit
Corresponding numeral rolls figure;
Figure 14 (b) is the parameter information configuration interface that numeral rolls plug-in unit;
In a kind of data processing method that Figure 15 provides for the embodiment of the present invention according to described painting canvas dimension information with
And the parameter information that each described instance object is corresponding, each described instance object position in described painting canvas is set
A kind of method flow schematic diagram of implementation;
A kind of structural representation of the implementation of a kind of data processing equipment that Figure 16 provides for the embodiment of the present invention;
What a kind of data that Figure 17 provides for the embodiment of the present invention were processed as in device arranges a kind of implementation of module
Structural representation.
Detailed description of the invention
For the sake of quoting and understanding, the explanation of the technical term being used below, write a Chinese character in simplified form or abridge and be summarized as follows:
DOM:Document Object Model, DOM Document Object Model;
HTML:HyperText Markup Language, HyperText Markup Language;
ECC:Enterprise Command Center, enterprise's overall control center.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
Referring to Fig. 1, the flow process for a kind of implementation of a kind of data processing method of embodiment of the present invention offer is shown
Being intended to, the method can apply to screen designer, and screen designer includes painting canvas and polytype plug-in unit, each kind
The corresponding a type of chart of the plug-in unit of type, the subtype that different types of plug-in unit is corresponding may be identical, it is also possible to different, number
Include according to processing method:
Step S101: according to each subtype the most to be shown, obtains corresponding with subtype each described respectively
The instance object of plug-in unit.
Need which type of chart in actual applications, then corresponding plug-in unit can be instantiated, it is thus achieved that example
Changing object, concrete, the instance object obtaining the plug-in unit corresponding with subtype each described respectively may include that detection is dragged
When dragging the action of plug-in unit, generate the instance object corresponding with described dragged plug-in unit.Concrete, generate dragged with described
Instance object corresponding to plug-in unit include: show the parameter information interface corresponding with described plug-in unit, receive the ginseng of user's input
Number information, generates described instance object according to described parameter information.Or obtain corresponding with subtype each described respectively
The instance object of plug-in unit may include that and receive the subtype that user selects, obtain corresponding with described subtype information
Plug-in unit, and generate the instance object corresponding with this plug-in unit.
Can arrange package types in advance in screen designer, the embodiment of the present invention provides but is not limited to following several slotting
Part type.
Universal trend plug-in unit, for service system monitoring all kinds of performance object achievement data, such as CPU usage, transaction
Amount, transaction success rate etc., the subtype of universal trend plug-in unit can be tendency chart.Refer to Fig. 2 (a), implement for the present invention
The universal trend figure that in a kind of data processing method that example provides, universal trend plug-in unit instance object is corresponding, refers to Fig. 2 (b)
For the parameter information configuration interface that universal trend plug-in unit is corresponding.
From Fig. 2 (b), understand parameter information to include assembly 201, object 202, object filter 203, open warning
204, the time 205, size 206, title 207, refresh time 208, hide frame 209, hide title 210, determine button 211 with
And close button 212.
The abscissa of Fig. 2 (a) represents that time, ordinate represent the value of monitor control index, and the curve in Fig. 2 (a) describes logical
Cross the time dependent tendency chart of index object that the keyword in object 202 and object filter 203 limits, can by this figure
So that operation system nearest a period of time Business Processing situation to be described.
Assembly 201, for selecting operation system to be shown.
Object 202, user can input keyword in object 202, and the instance object of universal trend plug-in unit is to number
When obtaining data according to storehouse, the data containing this keyword can be selected by Automatic sieve.
Object filter 203, user can input keyword in the input frame of object filter 203, universal trend plug-in unit
Instance object is when obtaining data to database, and meeting automatic fitration contains the data of this keyword.
Open warning 204, after user selects to open warning, can additionally show alarm threshold curve.
Time 205, user can select time, the instance object of universal trend plug-in unit in the choice box of time 205
When obtaining data to database, it is possible to obtain the data of this time period.The choice box of time 205 such as be 10m, i.e. 10 points
Clock, then can obtain the data of nearest 10 minutes when refreshing every time.
Size 206, user can select the size of tendency chart, this size in the input frame of size 206
Also it is the size of instance object.
Title 207, user can input the title of tendency chart, title as shown in Fig. 2 (a) in the input frame of title 207
For Unified Communication.
Refresh time 208, user can input the instance object of universal trend plug-in unit from data in refresh time 208
Storehouse obtains the cycle of data.
After user selects to hide frame 209, the frame of tendency chart can be hidden, and does not shows, if not selecting to hide table
Frame 209, then can show the frame of tendency chart.After user selects to hide title 210, the title of tendency chart can be hidden, and does not shows,
If after not selecting to hide title 210, the title of tendency chart can be shown.
User clicks on after determining button 211, can preserve the above-mentioned parameter information of user setup.Click on after closing button 212,
This parameter information configuration interface can be closed.
Transaction general view plug-in unit, for monitoring each achievement data and the trading volume of the overview view of each operation system.Please join
Read Fig. 3 (a), corresponding for trading volume trends plug-in unit instance object in a kind of data processing method that the embodiment of the present invention provides
Transaction synoptic chart, Fig. 3 (b) is the parameter information configuration interface of transaction general view plug-in unit.
Can be seen that from Fig. 3 (a) and transaction synoptic chart can show Chart Title transaction general view Figure 31.
The total service success rate achievement data that can be seen that operation system from Fig. 3 (a) is 98%, system success rate
(referring to that operation system normally returns the trading volume of response message and the accounting of total amount of transactions) is 99%, and the average of operation system rings
Being 115ms (at a statistical time range, the mean value that All Activity is time-consuming) between Ying Shi, the long trading volume number in operation system (rings
The number of transaction of threshold value is exceeded between Ying Shi) it is 103.
In Fig. 3 (a), 147762 refer to the trading volume of nearest a minute.
In Fig. 3 (a), index and the pattern of display are fixing, and Fig. 3 (b) can select systematic name such as, in Fig. 3 (a)
Operation system and the period.
From Fig. 3 (b), can be seen that parameter information may include that assembly 301 (can select to need to show by assembly 301
The operation system shown), time 302, size 303, title 304, refresh time 305, hide frame 306, hide title 307, really
Determine button 308 and close button 309.Above-mentioned parameter information is identical with the lexical or textual analysis of the parameter information of universal trend plug-in unit, at this
No longer repeat.
Transaction overview plug-in unit, for the monitoring business each achievement data of System Overview view.Refer to Fig. 4, real for the present invention
Execute the parameter configuration figure of overview plug-in unit of concluding the business in a kind of data processing method that example provides.Refer to table 1, for transaction overview plug-in unit
The transaction overview list that instance object is corresponding.
The business such as ECBAT, ECMSG, ECNBL, ECNBR, ECPBL, ECPBR, ECSGN, ECSMS as can be seen from Table 1
The achievement datas such as the trading volume of system, service success rate, system success rate, average response time, average handling time.
Table 1
As can be seen from Figure 4 the parameter information interface of transaction overview plug-in unit can include assembly 401, size 402, title
403, refresh time 404, hide frame 405, hide title 406, determine button 407 and close button 408.These parameters are believed
The implication of the implication parameter information corresponding with universal trend plug-in unit respectively of breath is identical, does not repeats them here.
General Top10 plug-in unit, before being ranked up the achievement data in each area of service system monitoring and obtain
10.Refer to Fig. 5 (a), for general Top10 plug-in unit instantiation in a kind of data processing method that the embodiment of the present invention provides
The general Top10 figure that object is corresponding, Fig. 5 (b) is the parameter information configuration interface of general Top10 plug-in unit.
From Fig. 5 (a), can be seen that Guangdong, Hunan, Zhejiang, Beijing, Fujian, Jiangsu, Shandong, Sichuan, Hubei, Henan are
The top 10 of quick payment.
The parameter information configuration interface of Fig. 5 (b) can include assembly 501, object 502, shielding 503, time 504, size
505, title 506, refresh time 507, hide frame 508, hide title 509, determine button 510 and close button 511.
Assembly 501 is for selecting system to be shown;The scope that comes into force of finger monitor control index publicly-owned, privately owned, privately owned index
Only coming into force in this operation system, the publicly-owned index overall situation comes into force.
Include below object 502 inverting 5021, ascending order 5022 and pie chart 5023.
In the embodiment of the present application, ranking acquiescence uses descending, if the most not choosing ascending order 5022, then uses descending, and hook selects
Rear use ascending sort;Acquiescence uses block diagram (such as Fig. 5 (a)), uses pie chart after hook choosing;Block diagram acquiescence longitudinal arrangement, instead
Turn rear transversely arranged.
For finger, shielding 503, does not show that some monitored object, such as some Branch Code are incorrect, then can pass through this
Parameter filters.
Trading volume adds up plug-in unit, adds up for monitoring business system trading volume in Preset Time, and graphically
Show.Refer to Fig. 6 (a), add up the example of plug-in unit for trading volume in a kind of data processing method that the embodiment of the present invention provides
Changing the accumulative figure of trading volume corresponding to object, Fig. 6 (b) is the parameter information configuration interface that trading volume adds up plug-in unit.
Can be seen that operation system is 14382294 from the transaction total amount at 10 in morning to the morning from Fig. 6 (a), per minute interior
Trading volume be 118372.
The parameter information understanding the accumulative plug-in unit of transaction from Fig. 6 (b) may include that assembly 601, size 602, title 603, brush
The new time 604, hide frame 605, hide title 606, determine button 607 and close button 608.
Geography information plug-in unit, for carrying out stepping, the geography that geography information plug-in unit is corresponding to operation system parallel deal amount
Hum pattern, is to flash displaying figure in each area of China with the luminous point of varying strength.Refer to Fig. 7 (a), for the embodiment of the present invention
The geography information figure that in a kind of data processing method provided, the instance object of geography information plug-in unit is corresponding, Fig. 7 (b) is geographical
The parameter information configuration interface of information insert.
In Fig. 7 (a) as a example by Heilungkiang, Liaoning, Shanxi, Sichuan, Jiangsu, Yunnan, Fujian, Heilungkiang has 258 light
Point, Liaoning have 390 luminous points, Shanxi has 293 luminous points, Jiangsu has 766 luminous points, Sichuan has 553 luminous points,
Fujian has 639 luminous points, Yunnan has 226 luminous points.
Understanding from Fig. 7 (b), parameter information may include that assembly 701, stepping 702, size 703, title 704, refreshes
Time 705, hide bezel, cluster 706, hide title 707, determine button 708 and close button 709.
Stepping 702, user can input in stepping data, such as Fig. 7 (a) in the input frame of stepping 702 and data be divided
For fourth gear 50-100,100-300,300-500, > 500.
Instrument board plug-in unit, the achievement data when monitoring business system is monitored.Refer to Fig. 8 (a), for the present invention
The instrument board figure that in a kind of data processing method that embodiment provides, the instance object of instrument board plug-in unit is corresponding, Fig. 8 (b) is ginseng
Number information configuration interface.
Fig. 8 (a) describes the service success rate index of unified communication traffic system this operation system lower in the monitoring state
Data, understanding service success rate from Fig. 8 (a) is 99.
From Fig. 8 (b), understand parameter information may include that assembly 801, object 802, cut-point 803, angle 804, maximum
Value 805, scale group 806, size 807, title 808, refresh time 809, hide frame 810, hide title 811, determine button
812 and close button 813.
Cut-point 803 is to carry out green and yellow area separation mark with the percentage of data.I.e. instrument board Show Color
Cut-point.Concrete, data less than or equal to green input value percentage, are then green segmentation more than or equal to 0, and data are more than green
Input value percentage is less than or equal to yellow input value percentage, then be yellow, and data are less than more than yellow input value percentage
In red value input value percentage, then it is red.
Angle 804 is that instrument board starts and angle at the end.Maximum 805 refers to maximum scale value.Scale group 806 refers to carve
Degree group size.
General scatterplot plug-in unit, for the condition monitoring data of monitoring business system.Refer to Fig. 9 (a), implement for the present invention
The general scatter diagram that in a kind of data processing method that example provides, the instance object of general scatterplot plug-in unit is corresponding, Fig. 9 (b) is logical
With the parameter information configuration interface of scatterplot plug-in unit.
Fig. 9 (a) illustrates the condition monitoring scatter plot of data status information of ESB operation system.
From Fig. 9 (b), can be seen that the parameter information of general scatterplot plug-in unit may include that assembly 901, object 902, alarm
Scope 903, size 904, title 905, refresh time 906, hide frame 907, hide title 908, determine button 909 and close
Close button 910.
Alarm scope is the privately owned attribute of general scatterplot plug-in unit.Alarm scope refers to condition monitoring data with respective value
Delimit green, yellow, red warning color, such as, when condition monitoring data are less than the first preset value, use green warning color,
When condition monitoring data are less than or equal to the second preset value more than or equal to the first preset value, use Amber alert look, when state is supervised
When control data are less than or equal to three preset values more than the second preset value, use red warning color.
ES (Elastic Search, search server based on Lucene) trend plug-in unit, for certain index in ES
Carry out designated packet row, value arranges, polymerization methods carries out retrieving and graphically showing.
Index refers to the logic region for storing data;Packet row refer to the object of tendency chart;Value row refer to tendency chart
Numerical value, the value of such as CPU.
ES refers to big data search engine, is the data source of ES correlator dial plate.
Refer to Figure 10 (a), for the example of ES trend plug-in unit in a kind of data processing method that the embodiment of the present invention provides
Changing the ES tendency chart that object is corresponding, Figure 10 (b) is ES parameter information configuration interface.
Figure 10 (a) illustrates and obtains from ES indexes, and selects the trend of the value row 1005 of packet row 1004 in Figure 10 (b)
Figure.
From Figure 10 (b) can be seen that the parameter information of ES trend plug-in unit may include that index 1001, fixed indices 1002,
Condition 1003, packet row 1004 (object of curve map), value row 1005, polymeric type 1006 (be numerical computation method as sued for peace,
Average etc.)), time interval 1007, time 1008, size 1009, title 1010, refresh time 1011, hide frame 1012, hidden
Hide title 1013, determine button 1014 and close button 1015.
Wherein, index 1001, fixed indices 1002, condition 1003, packet row 1004, value row 1005, polymeric type 1006
Privately owned attribute for ES trend plug-in unit.
Index 1001 can allow user select certain to index from ES.Fixed indices 1002 can allow user select at index
The date on the same day of the index value of input in 1001.Condition 1003 can allow user input the query statement of ES.Packet row 1004 can
To allow user input numerical value, then the numerical value using user's input is grouped as separation.Value row 1005 are for returning number
Arrange as data according to this field in object.Polymeric type 1006, data can be sued for peace, averagely, maximum, minimum, bar
Number carries out aminated polyepichlorohydrin.
As shown in Figure 10 (b), index 1001 is patrol;Condition 1003 is: class:CPU, ap are ECTPBR06 etc.;Point
Group row 1004 are ap;Value row 1005 are the value in CPUCpuUtil i.e. ES tendency chart;Polymeric type 1006 is maximum;Time
Interval 1007 is refresh interval;Time 1008 refers to the time interval that tendency chart obtains, as past in Figure 10 (a) display current time
The data of first 4 hours, title 1010 is PBR host CPU utilization rate, and as shown in Figure 10 (a), refresh time 1011 is 1 minute.
ES instrument board plug-in unit, for certain index in ES is specified data row, and shows in instrument board mode.Refer to figure
11 (a), for the ES instrument of the instance object of ES instrument board plug-in unit in a kind of data processing method that the embodiment of the present invention provides
Dish figure, Figure 11 (b) is the parameter information configuration interface of ES instrument board plug-in unit.
Figure 11 (a) is applicable to show the figure of CPU usage, and as can be seen from the figure current CPU usage is 19.25.
CPU in Figure 11 (a) is the CPU of alternative condition object in Figure 11 (b).
From Figure 11 (b), can be seen that the parameter information of ES instrument board plug-in unit may include that cut-point 1101, maximum
1102, index 1103, fixed indices 1104, condition 1105, Y-axis 1106, instrument title 1107, angle 1108, scale group 1109,
Size 1110, title 1111, refresh time 1112, hide frame 1113, hide title 1114, determine settle down you 1115 and close
Close button 1116.
Wherein, cut-point 1101, maximum 1102, index 1103, fixed indices 1104, condition 1105, Y-axis 1106, instrument
Table title 1107, angle 1108, scale group 1109 are the privately owned attributes of ES instrument board plug-in unit.
Cut-point 1101 is to carry out green and yellow area separation mark with the percentage of data.Maximum: limit instrument
Index maximum.Index: certain index in selected ES.Fixed indices: as choose by with above-mentioned value as index, no will be at rope
The date on the same day is added after drawing.Condition: query statement in ES.Y-axis: this field returned in data object is arranged as data.Instrument
Table title: specify instrument board index connotation.Angle: specify instrument board to start angle and maximum angle.Scale group: specify instrument board
Least unit.
Index generates one every day, can be each index named patrol+ date and time stamp, such as patrol-2016-
05-04, if selecting fixed indices, index name is necessary for the full name of index.
In ES, the generation of query statement can call custom interface realization by Java background unit.
Transaction views overview plug-in unit, for for monitor each subsystem different views object each achievement data with form side
Formula is shown.Refer to Figure 12, for the reality of transaction views overview plug-in unit in a kind of data processing method that the embodiment of the present invention provides
The parameter configuration figure of the transaction views overview plug-in unit that example object is corresponding.
Table 2 is transaction views overview chart, as can be seen from Table 2 by10tatljap2001, by10tytljap3001,
The trading volume of each operation system such as by10tytljap3002, F3Ping001, service success rate, system success rate, average response
Time, average handling time.
Table 2
The parameter information of transaction views overview plug-in unit may include that assembly 1201, object 1202, right as can be seen from Figure 12
As filtration 1203, size 1204, title 1205, refresh time 1206, hiding frame 1207, hiding title 1208, determine button
1209 and close button 1210.Wherein, object filter 1203 is the privately owned attribute of transaction views overview plug-in unit.Object filter is
Refer to the object containing this keyword is shielded.
The object filter of different plug-in unit kinds is different due to initial conditions, and the rule attribute of object filter is the most different, therefore
The object filter of each plug-in unit is all the privately owned attribute of this plug-in unit, different shared.
ES pie chart plug-in unit, in ES certain index carry out designated packet row, value arrange, polymerization methods retrieve and with
Pie chart or block diagram mode are shown.Refer to Figure 13 (a), for ES cake in a kind of data processing method that the embodiment of the present invention provides
The ES pie chart that the instance object of figure plug-in unit is corresponding, Figure 13 (b) is the parameter information configuration interface of ES pie chart plug-in unit.
Figure 13 (a) is ES pie chart, is used for showing the accounting of Figure 13 (b) packet row 1304.
Figure 13 (a) 82.69% refers to the accounting that this packet arranges.
From Figure 13 (b), can be seen that the parameter information of ES pie chart plug-in unit may include that index 1301, fixed indices
1302, condition 1303, packet row 1304, value row 1305, polymeric type 1306, graph style 1307, time 1308, size
1309, title 1310, refresh time 1311, hide frame 1312, hide title 1313, determine button 1314 and close button
1315.Wherein, index 1301, fixed indices 1302, condition 1303, packet row 1304, value row 1305, polymeric type 1306 are ES
The privately owned attribute of pie chart plug-in unit.
Index: certain index in selected ES.Fixed indices: as choose by with above-mentioned value as index, no will be after index
Add the date on the same day.Condition: query statement in ES.Packet row: data are grouped with this value.Value row: to returning data pair
This field in as arranges as data.Polymeric type: data can be sued for peace, averagely, maximum, minimum, bar number is polymerized
Computing.
Numeral rolls plug-in unit, for monitoring total trading volume of each operation system, to roll digital form displaying.Refer to
Figure 14 (a), the instance object rolling plug-in unit for numeral in a kind of data processing method that the embodiment of the present invention provides is corresponding
Numeral rolls figure, and Figure 14 (b) is the parameter information configuration interface that numeral rolls plug-in unit.
The total amount of transactions that can be seen that each operation system from Figure 14 (a) is 17456471.
Can be seen that from Figure 14 (b) numeral roll plug-in unit parameter information may include that plug-in unit 1401, size 1402,
Title 1403, refresh time 1404, hide frame 1405, hide title 1406, determine button 1407 and close button 1408.
Step S102: according to the parameter information that the dimension information of described painting canvas and each described instance object are corresponding,
Each described instance object position in described painting canvas is set.
Described parameter information includes the dimension information of the chart that described instance object is corresponding, the number of described instance object
According to source-information.
From above-mentioned 13 package types enumerated, can be seen that the data origin information of instance object can be by following
Parameter determination: object, object filter and time (such as Fig. 2 b);Object and shielding (such as Fig. 5 b);Stepping (such as Fig. 7 b);Object
(such as Fig. 8 b and Fig. 9 b);Index, fixed indices and condition (such as Figure 10 b, Figure 11 b Figure 13 b);Object and object filter are (such as figure
12) etc..In actual applications, the subtype that instance object is corresponding can be defined by graph style, it is also possible to
It is defined by package types, i.e. the corresponding a type of chart of the plug-in unit of each type, when the type of this plug-in unit determines
Time, corresponding subtype determines that, it is not necessary to be once again set up subtype.The dimension information of the chart that instance object is corresponding
Can be configured by this parameter of size.
Instance object position in painting canvas is set and can pull instance object realization by user, specifically
, according to the parameter information that the dimension information of described painting canvas and each described instance object are corresponding, each described reality is set
Example object position in described painting canvas may include that the dimension information according to described painting canvas and described instance object
The dimension information of chart, pulls described instance object, and foundation pulls the trace information of described instance object, by described example
Change object and be placed on the final position of described trace information.I.e. artificially observed by user and determine that each instance object is being drawn
Positional information in cloth.
In actual applications, the size of the chart of the corresponding generation of the size of the instance object of each plug-in unit can be
The same, it is possible to it is proportional scaling, i.e. according to the dimension information of instance object, each chart in painting canvas can be carried out
Layout.
Except above by artificial observation canvas size and the size of instance object, the position of instance object being carried out
Outside setting, it is also possible to according to the dimension information in the parameter information of instance object and the dimension information of painting canvas, calculate
The positional information of each instance object is concrete, according to dimension information and each described instance object of described painting canvas
Corresponding parameter information, arranges each described instance object position in described painting canvas and may include that the described painting canvas of acquisition
The dimension information of each instance object of upper placement, according to horizontal pixel dimension information, the institute of each instance object described
State the vertical of longitudinal Pixel Dimensions information of each instance object, the horizontal pixel dimension information of described painting canvas and described painting canvas
Lateral position information and the longitudinal position information of each described instance object is determined to Pixel Dimensions information.
Step S103: when receiving the instruction playing described painting canvas, each described instance object every Preset Time from
Database obtains the data that the data origin information corresponding with described instance object is corresponding.
The instruction playing painting canvas can be the instruction carrying out described painting canvas projecting, or by the instance object in painting canvas
Be converted to the instruction of chart.
The parameter information of the instance object that each plug-in unit is corresponding includes data origin information, receives and plays painting canvas
During instruction, the instance object that plug-in unit is corresponding can obtain the data in corresponding source from database.
Step S104: according to the data that each described instance object is corresponding, generates corresponding with described instance object
The chart that subtype is corresponding, and it is illustrated in position corresponding with described instance object in described painting canvas.
In the data processing method that the embodiment of the present invention provides, each instance object is being laid out in painting canvas
Time, can be according to the dimension information of each instance object and the dimension information of painting canvas, so not havinging instance object pair
The phenomenon that the chart answered can not be illustrated in painting canvas completely.
Refer to Figure 15, for the size according to described painting canvas in a kind of data processing method that the embodiment of the present invention provides
Information and parameter information corresponding to each described instance object, arrange each described instance object in described painting canvas
A kind of method flow schematic diagram of the implementation of position, the method includes:
Step S1501: according to the size letter of chart corresponding to the dimension information of described painting canvas and described instance object
Breath, it is judged that whether described painting canvas can show the chart that each described instance object is corresponding completely.
The Pixel Dimensions assuming painting canvas is 1920X1080, the Pixel Dimensions of the chart of instance object A is 500X600, reality
The Pixel Dimensions of the chart of example object B is 600X500, the Pixel Dimensions of the chart of instance object C is 600X550, example
The Pixel Dimensions of the chart changing object D is 750X400, due to instance object A, instance object B, the horizontal stroke of instance object C
To pixel sum equal to 1700, less than 1920, and the horizontal pixel of the chart of instance object D a size of 750, again smaller than
1920, therefore, in a lateral direction, chart corresponding to instance object A, B, C can be shown completely in the first row, at the second row
Show chart corresponding to instance object D completely;Owing to longitudinal pixel of the chart of instance object A, B, C is 600 to the maximum, in fact
Longitudinal pixel of the chart of example object D is 400,400+600=1000 < 1080, and therefore painting canvas is in the vertical, it is also possible to completely
Show chart corresponding to instance object A, B, C, D.
If the Pixel Dimensions of the chart of instance object D is 750X600, whether the chart of instance object D is put
It is placed in lower section or the lower section of instance object B chart of the chart of instance object A, longitudinal minimum 600+ of pixel sum
500=1100 > 1080, therefore, painting canvas can not show chart corresponding to instance object A, B, C, D completely.
Step S1502: when showing the chart of each described instantiation correspondence completely, described instance object is set
Position in described painting canvas.
Still illustrate with above-mentioned example, instantiation can be placed at location of pixels (1-500, the 1-600) place of painting canvas right
As the chart of A, place the chart of instance object B at location of pixels (501-1100, the 1-500) place of painting canvas, at the picture of painting canvas
The chart of instance object C is placed at element position (1101-1700,1-550) place, at location of pixels (1-750, the 601-of painting canvas
1000) chart of instance object D, wherein (1-500,1-600), (501-1100,1-500), (1101-1700,1-place in place
550), (1-750,601-1000), represent (horizontal pixel scope, longitudinal pixel coverage).
Step S1503: when showing chart corresponding to each described instance object completely, display resets
The parameter information of described instance object.
Concrete, still as a example by above-mentioned, the parameter information resetting described instance object can be to point out user more
Change type or the dimension information of instance object D, or can be the type pointing out user to change instance object A, B, C or D
Or dimension information.Can also be the reason of the chart that can not show that each instance object is corresponding completely, such as, with above-mentioned be still
Example, the parameter information resetting described instance object can be: pixel value is more than 20 in a longitudinal direction, therefore can not
Show completely.
Step S1504: receive the parameter information of the described instance object reset, returns step S1501.
The said method provided by the embodiment of the present invention, when the chart that can not show that each described instantiation is corresponding completely
Time, user can the type of autotelic change instance object or dimension information.
In any of the above-described data processing method embodiment, it is also possible to including: receive change object instance object
During parameter information instruction, it is thus achieved that the parameter information after renewal, described parameter information includes: corresponding with described object instance object
The title of the chart data origin information corresponding with described object instance object corresponding with described object instance object
Update cycle of data of the subtype chart corresponding with described object instance object, with described object instanceization pair
Dimension information as corresponding chart;According to the parameter information after described renewal, to described object instance object correspondence graph
It is updated.
When not showing the chart of each described instantiation correspondence completely, user can change a certain instance object
The dimension information of chart.
It is understood that after user creates a painting canvas, this painting canvas can be stored, a certain when being no longer necessary to
During painting canvas, can delete this painting canvas, when user needs to create new painting canvas, can increase a painting canvas, user can check
The a certain painting canvas existed, user can replicate the most a certain painting canvas, it is also possible to change painting canvas title, picture is set
Skin of cloth etc..Concrete, any of the above-described data processing method embodiment may include that the behaviour received target painting canvas
When indicating, operating described target painting canvas accordingly according to described operation instruction, described operation instruction includes: delete,
One or more increase, check, replicate, play, title is set, arranged in skin and preservation.
It is understood that in actual applications, the package types that user needs, above-mentioned data handling system is not deposited
, therefore, any of the above-described data processing method embodiment can also include: when receiving plug-in registration instruction, obtain plug-in unit
Definition information, described definition information includes described parameter information and script information.
Script information is based on the executable file that certain form is write, the grandest or autoexec.Script is believed
Breath generally can be called by application program temporarily and perform.All kinds of script informations are widely used in webpage design at present,
Because script information is possible not only to reduce the scale of webpage and improve web page browsing speed, and can enrich the performance of webpage,
Such as animation, sound etc..
Referring to Figure 16, the structure for a kind of implementation of a kind of data processing equipment of embodiment of the present invention offer is shown
Being intended to, this device is applied to screen designer, and described screen designer includes painting canvas and polytype plug-in unit, each kind
The corresponding a type of chart of the plug-in unit of type, described data processing equipment includes: obtains instance object module 1601, arrange mould
Block 1602, acquisition data module 1603 and display module 1604, wherein:
Obtain instance object module 1601, for according to each subtype the most to be shown, obtain respectively with each
The instance object of the plug-in unit that individual described subtype is corresponding.
Need which type of chart in actual applications, then corresponding plug-in unit can be instantiated, it is thus achieved that example
Change object, concrete, obtain instance object module 1601 and may include that detector unit, pull the action of plug-in unit for detection
Time, generate the instance object corresponding with described dragged plug-in unit.Concrete, detector unit includes: display subelement, is used for
Show the parameter information interface corresponding with described plug-in unit;Generate subelement, for receiving the parameter information of user's input, according to institute
State parameter information and generate described instance object.Or obtain instance object module 1601 and may include that reception unit, be used for
Receive the subtype that user selects;Acquiring unit, for obtaining the plug-in unit corresponding with described subtype information, generates single
Unit, is used for and generates the instance object corresponding with this plug-in unit.
Can arrange package types in advance in screen designer, package types may refer to data processing method embodiment
In the plug-in unit of 13 types, do not repeat them here.
Module 1602 is set, for the ginseng corresponding according to the dimension information of described painting canvas and each described instance object
Number information, arranges each described instance object position in described painting canvas, and described parameter information includes that described instantiation is right
Dimension information and the data origin information of described instance object as corresponding chart.
Described parameter information includes the dimension information of the chart that described instance object is corresponding, the number of described instance object
According to source-information.
From above-mentioned 13 package types enumerated, can be seen that the data origin information of instance object can be by following
Parameter determination: object, object filter and time (such as Fig. 2 b);Object and shielding (such as Fig. 5 b);Stepping (such as Fig. 7 b);Object
(such as Fig. 8 b and Fig. 9 b);Index, fixed indices and condition (such as Figure 10 b, Figure 11 b Figure 13 b);Object and object filter are (such as figure
12) etc..In actual applications, the subtype that instance object is corresponding can be defined by graph style, it is also possible to
It is defined by package types, i.e. the corresponding a type of chart of the plug-in unit of each type, when the type of this plug-in unit determines
Time, corresponding subtype determines that, it is not necessary to be once again set up subtype.The dimension information of the chart that instance object is corresponding
Can be configured by this parameter of size.
Instance object position in painting canvas is set and can pull instance object realization by user, specifically
, according to the parameter information that the dimension information of described painting canvas and each described instance object are corresponding, each described reality is set
Example object position in described painting canvas may include that the dimension information according to described painting canvas and described instance object
The dimension information of chart, pulls described instance object, and foundation pulls the trace information of described instance object, by described example
Change object and be placed on the final position of described trace information.I.e. artificially observed by user and determine that each instance object is at painting canvas
In positional information.
In actual applications, the size of the chart of the corresponding generation of the size of the instance object of each plug-in unit can be
The same, it is possible to it is proportional scaling, i.e. according to the dimension information of instance object, each chart in painting canvas can be carried out
Layout.
Except above by artificial observation canvas size and the size of instance object, the position of instance object being carried out
Outside setting, it is also possible to machine is according to the dimension information in the parameter information of instance object and the dimension information of painting canvas, meter
Calculate the positional information of each instance object, concrete, according to dimension information and each described instantiation of described painting canvas
The parameter information that object is corresponding, arranges each described instance object position in described painting canvas and may include that acquisition is described
The dimension information of each instance object placed on painting canvas, believes according to the horizontal pixel size of each instance object described
Breath, longitudinal Pixel Dimensions information of each instance object described, the horizontal pixel dimension information of described painting canvas and described picture
Longitudinal Pixel Dimensions information of cloth determines lateral position information and the longitudinal position information of each described instance object.
Obtaining data module 1603, in time receiving the instruction playing described painting canvas, each described instance object is every
From database, the data that the data origin information corresponding with described instance object is corresponding are obtained every Preset Time.
The instruction playing painting canvas can be the instruction carrying out described painting canvas projecting, or by the instance object in painting canvas
Be converted to the instruction of chart.
The parameter information of the instance object that each plug-in unit is corresponding includes data origin information, receives and plays painting canvas
During instruction, the instance object that plug-in unit is corresponding can obtain the data in corresponding source from database.
Display module 1604, for the data corresponding according to each described instance object, it is right with described instantiation to generate
As the chart that corresponding subtype is corresponding, and it is illustrated in position corresponding with described instance object in described painting canvas.
In the data processing equipment that the embodiment of the present invention provides, each instance object is being laid out in painting canvas
Time, can be according to the dimension information of each instance object and the dimension information of painting canvas, so not havinging instance object pair
The phenomenon that the chart answered can not be illustrated in painting canvas completely.
Referring to Figure 17, what a kind of data provided for the embodiment of the present invention were processed as in device arranges a kind of real of module
The structural representation of existing mode, this arranges module and includes: judging unit 1701, arrange unit 1702, display unit 1703 and
Trigger element 1704, wherein:
Judging unit 1701, for the chart corresponding according to the dimension information of described painting canvas and described instance object
Dimension information, it is judged that whether described painting canvas can show the chart that each described instance object is corresponding completely.
The Pixel Dimensions assuming painting canvas is 1920X1080, the Pixel Dimensions of the chart of instance object A is 500X600, reality
The Pixel Dimensions of the chart of example object B is 600X500, the Pixel Dimensions of the chart of instance object C is 600X550, example
The Pixel Dimensions of the chart changing object D is 750X400, due to instance object A, instance object B, the horizontal stroke of instance object C
To pixel sum equal to 1700, less than 1920, and the horizontal pixel of the chart of instance object D a size of 750, again smaller than
1920, therefore, in a lateral direction, chart corresponding to instance object A, B, C can be shown completely in the first row, at the second row
Show chart corresponding to instance object D completely;Owing to longitudinal pixel of the chart of instance object A, B, C is 600 to the maximum, in fact
Longitudinal pixel of the chart of example object D is 400,400+600=1000 < 1080, and therefore painting canvas is in the vertical, it is also possible to completely
Show chart corresponding to instance object A, B, C, D.
If the Pixel Dimensions of the chart of instance object D is 750X600, whether the chart of instance object D is put
It is placed in lower section or the lower section of instance object B chart of the chart of instance object A, longitudinal minimum 600+ of pixel sum
500=1100 > 1080, therefore, painting canvas can not show chart corresponding to instance object A, B, C, D completely.
Unit 1702 is set, for when showing the chart of each described instantiation correspondence completely, arranging described reality
Example object position in described painting canvas.
Still illustrate with above-mentioned example, instantiation can be placed at location of pixels (1-500, the 1-600) place of painting canvas right
As the chart of A, place the chart of instance object B at location of pixels (501-1100, the 1-500) place of painting canvas, at the picture of painting canvas
The chart of instance object C is placed at element position (1101-1700,1-550) place, at location of pixels (1-750, the 601-of painting canvas
1000) chart of instance object D, wherein (1-500,1-600), (501-1100,1-500), (1101-1700,1-place in place
550), (1-750,601-1000), represent (horizontal pixel scope, longitudinal pixel coverage).
Display unit 1703, for when showing the chart of each described instantiation correspondence completely, display is again
The parameter information of described instance object is set.
Concrete, still as a example by above-mentioned, the parameter information resetting described instance object can be to point out user more
Change type or the dimension information of instance object D, or can be the type pointing out user to change instance object A, B, C or D
Or dimension information.Can also be the reason of the chart that can not show that each instance object is corresponding completely, such as, with above-mentioned be still
Example, the parameter information resetting described instance object can be: pixel value is more than 20 in a longitudinal direction, therefore can not be complete
Full display.
Trigger element 1704, for receiving the parameter information of the described instance object reset, triggers described judgement
Unit.
The said method provided by the embodiment of the present invention, when the chart that can not show that each described instantiation is corresponding completely
Time, user can the type of autotelic change instance object or dimension information.
Any of the above-described data processing equipment embodiment can also include: the first receiver module, is used for receiving change target
When the parameter information of instance object instructs, it is thus achieved that the parameter information after renewal, described parameter information includes: real with described target
Data origin information and described target that the title of the chart that example object is corresponding is corresponding with described object instance object are real
The update cycle of the data of the chart that subtype that example object is corresponding is corresponding with described object instance object, with described
The dimension information of the chart that object instance object is corresponding;More new module, for according to the parameter information after described renewal, to institute
State object instance object correspondence graph to be updated.
When not showing the chart of each described instantiation correspondence completely, user can change a certain instance object
The dimension information of chart.
It is understood that after user creates a painting canvas, this painting canvas can be stored, a certain when being no longer necessary to
During painting canvas, can delete this painting canvas, when user needs to create new painting canvas, can increase a painting canvas, user can check
The a certain painting canvas existed, user can replicate the most a certain painting canvas, it is also possible to change painting canvas title, picture is set
Skin of cloth etc..Concrete, any of the above-described data processing equipment embodiment can also include: the second receiver module, is used for connecing
When receiving the operation instruction to target painting canvas, according to described operation instruction, described target painting canvas is operated accordingly, described
Operation instruction includes: one or more delete, increase, check, replicate, play, arrange title, arranged in skin and preservation.
It is understood that in actual applications, the package types that user needs, above-mentioned data handling system is not deposited
, therefore, any of the above-described data processing equipment embodiment can also include: the 3rd receiver module, is used for receiving plug-in registration
During instruction, obtaining the definition information of plug-in unit, described definition information includes described parameter information and script information.
Script information is based on the executable file that certain form is write, the grandest or autoexec.Script is believed
Breath generally can be called by application program temporarily and perform.All kinds of script informations are widely used in webpage design at present,
Because script information is possible not only to reduce the scale of webpage and improve web page browsing speed, and can enrich the performance of webpage,
Such as animation, sound etc..
The embodiment of the present invention additionally provides a kind of screen designer, including painting canvas and such as above-mentioned any data processing means
Data processing equipment described by embodiment.
Painting canvas can include painting canvas title and polytype instance object, can for each business-subject,
Create a painting canvas.Painting canvas is manager and the user of instance object, and instance object can carry out simple cloth automatically
Office, it is possible to provide unified management interface for each instance object.
This management interface comprise a series of arrange painting canvas parameter information and control information method, some parameter information according to
The classification of instance object, the attribute of painting canvas are arranged automatically, the title of some parameter information, such as instance object, instantiation
Object position in painting canvas, can be configured by user interface.User interface can be shown the ginseng of instance object
Number information configuration interface.
The major parameter information of painting canvas is as follows:
HtmlId: for painting canvas dom said container id in html.I.e. mark id of the storage container of painting canvas dom.Name: for
Load painting canvas title to arrange, to facilitate painting canvas to manage.The i.e. title of painting canvas can be configured by this attribute.[x, y]:
Location painting canvas origin coordinates, i.e. definition account for screen size.I.e. when painting canvas is projected, the size of painting canvas and account for projection screen
Size.Child: for carrying the container of instance object in painting canvas, to facilitate painting canvas that example object is managed.I.e.
In painting canvas, often generate an instance object, parameter information corresponding for this instance object will be stored in this embodiment.
Painting canvas method of operating is had multiple, can be by calling such as minor function, it is achieved corresponding method of operating, the present invention is real
Example offer is provided but is not limited to following methods:
SetHtmlId (): the method externally exposing painting canvas attribute htmlId.SetOption (): for painting canvas echo or volume
Volume, large-size screen monitors design to enable painting canvas accurately to show.AddChild (): for returning that the interpolation of instance object dom in painting canvas operates
Mediate reason.GetChildByHtmlId (): instance object can be acquired according to id in instance object dom.
RemoveChild (): process for the readjustment of the deletion action of instance object dom in painting canvas.SubmitPanel (): load real
Example object configures, and completes instance object and renders scheduling and refresh setting.GetChildToArray (): extract in painting canvas real
Example object important parameter information resets into data group.ValiatePanel (): the parameter information managing each instance object sets
Put the checking of list.InitDialogByType (): the parameter information allocation list single session frame managing each instance object is initial
Change.The automatic refreshing of panelRun (): admin instance object.OpenPanelDialog (): joined by the acquiescence of instance object
The configuration dialog box is opened in number information configuration and personalizing parameters configuration.GetChartConfig (): obtain the basis of all kinds of chart
Configuration.
Each instance object has a parent, and can derive from all kinds of charts for different subclasses, each example
Change the corresponding a type of chart of object.Instance object has size, position in painting canvas, refresh time, title, whether
Display bezel, whether show that the public attributes such as title, different subclasses can also have self-defining attribute.Public attribute and making by oneself
Justice attribute collectively constitutes different input parameter information form item, thus generates all kinds of chart.
Instance object underlying attribute is as follows:
Interval: instance object clock refresh attribute.Option: load instance object inherent parameters information and join
Put.[x, y]: instance object dom coordinate record.HtmlId: instance object dom id.Title: instance object title.
Rate: instance object size ratio.The automatic refresh time of refrEShTime: instance object.
As follows to instance object primary operational method:
DEStroy (): instance object dom destroys.CreatePanel (): instance object containers page renders.
Modify (): instance object parameter information configuration editor.ModifyBase (): instance object parameter information configuration editor
Basic operation.SetBaseOption (): instance object underlying parameter information is arranged.InitConfig (): instance object is joined
Put initialization.InitPosition (): instance object coordinate calculates and location.GetType (): obtain instance object type
Mark.SetUrl (): instance object data source is set.
Instance object in painting canvas, can be that user pulls plug-in unit generation, detect that user pulls the action of plug-in unit
After, the parameter information input dialogue frame corresponding with this plug-in unit can be shown, after input parameter, generate instance object.Certainly user can
So that the instance object in painting canvas is deleted, the operation such as amendment.
If the plug-in unit in screen designer still can not meet user's request, user can be allowed to carry out plug-in unit note
Volume, plug-in registration needs to realize plugin information amendment, delete and plug-in registration.Plug-in registration then to complete plug-in unit is imitated
Really picture upload and plug-in unit API document on transmitted the three-dimensional concept of plug-in unit, enable users to quickly understand, use
This plug-in unit.
After completing painting canvas layout, painting canvas can be preserved, the painting canvas generated can be managed, painting canvas
Mainly towards administrative staff in management, in painting canvas manages, user can manage painting canvas type, painting canvas type is increased, delete,
The operation such as change, and all painting canvas put in storage in picture type can be checked, select corresponding painting canvas to make it full frame be monitored page
Face.
The painting canvas of all monitoring pages can be carried out fast browsing by painting canvas management, complete the monitoring page is selected efficiently
Select.
Being enumerated the plug-in unit of 13 types in the embodiment of the present invention, the galleries that different types of plug-in unit is corresponding may
Different, it is to be understood that the form of the required derived data of different types of chart is different, the embodiment of the present invention provides
But it is not limited to data below form:
Tendency chart data form is as follows:
[[‘name1’,[[1450075440000,2318],[1450075440000,2318]]],[‘name2’,
[[1450075440000,2318],[1450075440000,2318]]]]
Map class data form is as follows:
[{name:’010’,value:0,alarmFlags:’_____’},{name:’020’,value:0,
alarmFlags:’_____’}]
Scatter diagram class data form is as follows:
[{name:’ap1’,value:8},{name:’ap2’,value:18}]
Form class data form is as follows:
[{cnName:’cn1’,compName:’UCP’,valueColNamES:[’colName1’,’colName2’],
data:[2,9]},{cnName:’cn1’,compName:’UCP’,valueColNamES:[’colName1’,’
colName2’],data:[2,9]}]
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe, each embodiment weight
Point explanation is all the difference with other embodiments, and between each embodiment, identical similar part sees mutually.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.
Multiple amendment to these embodiments will be apparent from for those skilled in the art, as defined herein
General Principle can realize without departing from the spirit or scope of the present invention in other embodiments.Therefore, the present invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and principles disclosed herein and features of novelty phase one
The widest scope caused.
Claims (11)
1. a data processing method, it is characterised in that be applied to screen designer, described screen designer include painting canvas and
Polytype plug-in unit, the corresponding a type of chart of the plug-in unit of each type, described data processing method includes:
According to each subtype the most to be shown, obtain the instantiation of the plug-in unit corresponding with subtype each described respectively
Object;
According to the parameter information that the dimension information of described painting canvas and each described instance object are corresponding, each described reality is set
Example object position in described painting canvas, described parameter information includes the dimension information of the chart that described instance object is corresponding
And the data origin information of described instance object;
When receiving the instruction playing described painting canvas, each described instance object every Preset Time obtain from database with
The data that data origin information that described instance object is corresponding is corresponding;
According to the data that each described instance object is corresponding, generate the subtype corresponding with described instance object corresponding
Chart, and it is illustrated in position corresponding with described instance object in described painting canvas.
Data processing method the most according to claim 1, it is characterised in that the described dimension information according to described painting canvas and
The parameter information that each described instance object is corresponding, arranges each described instance object position bag in described painting canvas
Include:
Dimension information according to chart corresponding to the dimension information of described painting canvas and described instance object, it is judged that described painting canvas
Whether can show the chart that each described instance object is corresponding completely;
When the chart of each described instantiation correspondence can be shown completely, described instance object is set in described painting canvas
Position;
When showing the chart of each described instantiation correspondence completely, display resets the ginseng of described instance object
Number information;
Receive the parameter information of described instance object reset, return step according to the dimension information of described painting canvas and
The dimension information of the chart that described instance object is corresponding, it is judged that whether described painting canvas can show each described instantiation completely
The chart that object is corresponding.
Data processing method the most according to claim 1, it is characterised in that also include:
When receiving the parameter information instruction of change object instance object, it is thus achieved that the parameter information after renewal, described parameter is believed
Breath includes: the data that the title of the chart corresponding with described object instance object is corresponding with described object instance object are come
The number of the chart that the source information subtype corresponding with described object instance object is corresponding with described object instance object
According to update cycle, the dimension information of the chart corresponding with described object instance object;
According to the parameter information after described renewal, described object instance object correspondence graph is updated.
Data processing method the most according to claim 1, it is characterised in that also include:
When receiving the operation instruction to target painting canvas, according to described operation instruction, described target painting canvas is grasped accordingly
Making, described operation instruction includes: deletes, increase, check, replicate, play, arrange title, the one arranged in skin and preservation
Or it is multiple.
Data processing method the most according to claim 1, it is characterised in that also include:
Receive plug-in registration instruction time, obtain plug-in unit definition information, described definition information include described parameter information and
Script information.
6. a data processing equipment, it is characterised in that be applied to screen designer, described screen designer include painting canvas and
Polytype plug-in unit, the corresponding a type of chart of the plug-in unit of each type, described data processing equipment includes:
Obtain instance object module, for according to each subtype the most to be shown, obtain and each described figure respectively
The instance object of the plug-in unit that table type is corresponding;
Module is set, for the parameter information corresponding according to the dimension information of described painting canvas and each described instance object,
Arranging each described instance object position in described painting canvas, described parameter information includes that described instance object is corresponding
The dimension information of chart and the data origin information of described instance object;
Obtaining data module, in time receiving the instruction playing described painting canvas, each described instance object is when default
Between from database, obtain the data that the data origin information corresponding with described instance object is corresponding;
Display module, for the data corresponding according to each described instance object, generates corresponding with described instance object
The chart that subtype is corresponding, and it is illustrated in position corresponding with described instance object in described painting canvas.
Data processing equipment the most according to claim 6, it is characterised in that the described module that arranges includes:
Judging unit, the size for the chart corresponding according to the dimension information of described painting canvas and described instance object is believed
Breath, it is judged that whether described painting canvas can show the chart that each described instance object is corresponding completely;
Unit is set, for when showing the chart of each described instantiation correspondence completely, arranging described instance object
Position in described painting canvas;
Display unit, for when showing the chart of each described instantiation correspondence completely, display resets described
The parameter information of instance object;
Trigger element, for receiving the parameter information of the described instance object reset, triggers described judging unit.
Data processing equipment the most according to claim 6, it is characterised in that also include:
First receiver module, during for receiving the parameter information instruction of change object instance object, it is thus achieved that the ginseng after renewal
Number information, described parameter information includes: the title of the chart corresponding with described object instance object and described object instance
Subtype that data origin information that object is corresponding is corresponding with described object instance object and described object instanceization pair
As the update cycle of the data of corresponding chart, the dimension information of the chart corresponding with described object instance object;
More new module, for according to the parameter information after described renewal, is carried out more described object instance object correspondence graph
Newly.
Data processing equipment the most according to claim 6, it is characterised in that also include:
Second receiver module, in time receiving the operation instruction to target painting canvas, according to described operation instruction to described target
Painting canvas operates accordingly, and described operation instruction includes: deletes, increase, check, replicate, play, arrange title, arrange skin
One or more in skin and preservation.
Data processing equipment the most according to claim 6, it is characterised in that also include:
3rd receiver module, when being used for receiving plug-in registration instruction, obtains the definition information of plug-in unit, and described definition information includes
Described parameter information and script information.
11. 1 kinds of screen designers, it is characterised in that including: painting canvas and polytype plug-in unit, the plug-in unit of each type
Corresponding a type of chart;And as described in claim 6 to 10 is arbitrary data processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610448332.5A CN105867951A (en) | 2016-06-20 | 2016-06-20 | Data processing method and device as well as screen designer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610448332.5A CN105867951A (en) | 2016-06-20 | 2016-06-20 | Data processing method and device as well as screen designer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105867951A true CN105867951A (en) | 2016-08-17 |
Family
ID=56651038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610448332.5A Pending CN105867951A (en) | 2016-06-20 | 2016-06-20 | Data processing method and device as well as screen designer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105867951A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107515748A (en) * | 2017-08-15 | 2017-12-26 | 上海数聚软件系统股份有限公司 | Report Server Management interface creating method and file sharing method |
CN109086016A (en) * | 2018-07-11 | 2018-12-25 | 武大吉奥信息技术有限公司 | Personalized map multi-display method and device under a kind of environment based on WebGIS |
CN109726218A (en) * | 2018-12-28 | 2019-05-07 | 联想(北京)有限公司 | A kind of data processing method and device |
CN111859053A (en) * | 2020-07-22 | 2020-10-30 | 武汉镝次元数据科技有限公司 | Data definition method of visual chart and chart library realized by data definition method |
WO2021190335A1 (en) * | 2020-03-26 | 2021-09-30 | 京东方科技集团股份有限公司 | Method and device for generating spliced picture, and storage medium |
CN114064161A (en) * | 2020-07-31 | 2022-02-18 | 阿里巴巴集团控股有限公司 | Method and device for generating page and storage medium |
CN114415873A (en) * | 2022-01-14 | 2022-04-29 | 北京字节跳动网络技术有限公司 | Virtual object display method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1523874A (en) * | 2003-02-21 | 2004-08-25 | ʿ | Method for controlling resolution of graphic image |
CN101794455A (en) * | 2009-01-21 | 2010-08-04 | 施昊 | Drawable network editor and network information input editing system |
CN103034502A (en) * | 2012-12-26 | 2013-04-10 | 江苏西电南自智能电力设备有限公司 | Method for embedding dynamic real-time monitoring chart in scalable vector graphics (SVG) interface |
US20130290839A1 (en) * | 2004-09-30 | 2013-10-31 | Microsoft Corporation | Editing the text of an arbitrary graphic via a hierarchical list |
-
2016
- 2016-06-20 CN CN201610448332.5A patent/CN105867951A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1523874A (en) * | 2003-02-21 | 2004-08-25 | ʿ | Method for controlling resolution of graphic image |
US20130290839A1 (en) * | 2004-09-30 | 2013-10-31 | Microsoft Corporation | Editing the text of an arbitrary graphic via a hierarchical list |
CN101794455A (en) * | 2009-01-21 | 2010-08-04 | 施昊 | Drawable network editor and network information input editing system |
CN103034502A (en) * | 2012-12-26 | 2013-04-10 | 江苏西电南自智能电力设备有限公司 | Method for embedding dynamic real-time monitoring chart in scalable vector graphics (SVG) interface |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107515748A (en) * | 2017-08-15 | 2017-12-26 | 上海数聚软件系统股份有限公司 | Report Server Management interface creating method and file sharing method |
CN109086016A (en) * | 2018-07-11 | 2018-12-25 | 武大吉奥信息技术有限公司 | Personalized map multi-display method and device under a kind of environment based on WebGIS |
CN109726218A (en) * | 2018-12-28 | 2019-05-07 | 联想(北京)有限公司 | A kind of data processing method and device |
WO2021190335A1 (en) * | 2020-03-26 | 2021-09-30 | 京东方科技集团股份有限公司 | Method and device for generating spliced picture, and storage medium |
CN111859053A (en) * | 2020-07-22 | 2020-10-30 | 武汉镝次元数据科技有限公司 | Data definition method of visual chart and chart library realized by data definition method |
CN111859053B (en) * | 2020-07-22 | 2023-11-10 | 武汉镝次元数据科技有限公司 | Data definition method of visual chart and chart library system |
CN114064161A (en) * | 2020-07-31 | 2022-02-18 | 阿里巴巴集团控股有限公司 | Method and device for generating page and storage medium |
CN114064161B (en) * | 2020-07-31 | 2023-12-22 | 阿里巴巴集团控股有限公司 | Page generation method, page generation device and storage medium |
CN114415873A (en) * | 2022-01-14 | 2022-04-29 | 北京字节跳动网络技术有限公司 | Virtual object display method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105867951A (en) | Data processing method and device as well as screen designer | |
CN103294711B (en) | Method and device for determining page elements in web page | |
CN108897664B (en) | A kind of information displaying method and system | |
CN110675728B (en) | Generation method, device and equipment of thermodynamic diagram and computer readable storage medium | |
US20170228943A1 (en) | Conveying data to a user via field-attribute mappings in a three-dimensional model | |
CN104035926B (en) | A kind of dispensing of internet information and system | |
EP2261851A1 (en) | System and method for top-down performance optimization using elasticity modeling | |
CN109254901B (en) | A kind of Monitoring Indexes method and system | |
CN110383268A (en) | To the Dynamic Execution of the parametrization application for handling keyed network data flow | |
CN104063361B (en) | Report design method and Report Form Design system | |
CN111159157B (en) | Index processing method and device for enterprise report data | |
CN110110002A (en) | Big data virtual interactive interface system | |
CN107908521A (en) | A kind of monitoring method of container performance on the server performance and node being applied under cloud environment | |
CN110928740A (en) | Centralized visualization method and system for operation and maintenance data of cloud computing center | |
CN110349013A (en) | Risk control method and device | |
CN112182444A (en) | Data rendering system and method and electronic equipment | |
CN107423998A (en) | A kind of visualization sales data management method and system based on SaaS platforms | |
CN105653550B (en) | Webpage filtering method and device | |
CN109544703B (en) | Data center Web3D model loading method easy to realize interaction | |
CN105242873B (en) | The acquisition of the performance data of cloud computing system and storage method and device | |
CN109190893A (en) | Honest risk distribution figure generation and risk prevention system method, apparatus and storage medium | |
CN102629233B (en) | Software reliability test data generating method and computer aided tool of software reliability test data generating method | |
CN110266555A (en) | Method for analyzing web site service request | |
CN110190972A (en) | Internet of Things value-added service managing method, device, computer equipment and storage medium | |
CN109359205A (en) | A kind of remote sensing image cutting method and equipment based on geographical grid |
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: 20160817 |
|
RJ01 | Rejection of invention patent application after publication |