CN108846140A - A kind of display methods and system of datagram - Google Patents
A kind of display methods and system of datagram Download PDFInfo
- Publication number
- CN108846140A CN108846140A CN201810760152.XA CN201810760152A CN108846140A CN 108846140 A CN108846140 A CN 108846140A CN 201810760152 A CN201810760152 A CN 201810760152A CN 108846140 A CN108846140 A CN 108846140A
- Authority
- CN
- China
- Prior art keywords
- data
- current
- starting point
- initial
- sliding block
- 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 OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Instructional Devices (AREA)
Abstract
The invention discloses a kind of display methods of datagram and systems, including:Step S1 obtains the complete display data of the idsplay order corresponding period when receiving idsplay order;Step S2 shows initial rain brush figure;Wherein, the initial rain brush figure includes:According to the initial data diagram that the complete display data are drawn, and, there is the sliding block of default original shape.The present invention shows the big data being stored in database profession in a manner of rain brush figure, facilitates checking for user, and realize that datagram partial enlargement is checked by adjusting sliding block, simple, convenient, clear, clear.
Description
Technical field
The present invention relates to data display field more particularly to the display methods and system of a kind of datagram.
Background technique
In Internet era, can all there be the interaction of mass data daily, big data is often only in the form of a heap data
It is stored in background data base, visualization component is not provided and is shown by it in front end, the user based on analysis personnel is provided with
It checked, analyzed with intuitive way, bring many inconvenience in actual operation.
Such as:Vehicle and goods matching platform has the source of goods up to a million to be pushed to driver daily, and understand the source of goods line duration and
Conclusion of the business situation can allow analysis personnel to carry out Developing Tactics, and the source of goods is promoted to strike a bargain with the short period.Present source of goods line duration and
Exchange hand can not be checked graphically, and analysis personnel's adjustable strategies are highly detrimental to.
Summary of the invention
The object of the present invention is to provide a kind of display methods of datagram and system, for user in the form of datagram intuitively
Big data is checked, is improved the user experience.
Technical solution provided by the invention is as follows:
A kind of display methods of datagram, including:Step S1 obtains the idsplay order pair when receiving idsplay order
The complete display data for the period answered;Step S2 shows initial rain brush figure;Wherein, the initial rain brush figure includes:According to institute
The initial data diagram that complete display data are drawn is stated, and, there is the sliding block of default original shape.
In the above-mentioned technical solutions, the case where data are graphically shown, user is facilitated to intuitively understand big data;And
The sliding block for being adjusted observation to initial data diagram for user is provided, convenience is more careful, local data's situation is well understood.
Further, further include:Step S3 obtains the current start position of the sliding block when the shape of the sliding block changes
With current terminus position;The starting point ratio that step S4 is calculated according to the current start position and the default original shape
Example obtains the corresponding display data of the starting point ratio as current starting point from the initial data diagram and shows data;Step
The terminal ratio that S5 is calculated according to the current terminus position and the default original shape, from the initial data diagram
The corresponding display data of the terminal ratio are obtained as current terminus and show data;Step S6 is shown according to the current starting point
Data and the current terminus show data, obtain data to be displayed, and the data to be displayed includes:Current starting point shows number
Data are shown according to, current terminus, and, current starting point shows that data and current terminus show the display data between data;Step
Rapid S7 shows current rain brush figure;Wherein, the current rain brush figure includes:The current data drawn according to the data to be displayed
Figure, and, the sliding block after shape change.
In the above-mentioned technical solutions, show that corresponding current data figure is checked for user by changing the shape of sliding block,
It is simple, convenient, it checks intuitive, clear.
Further, the step S3 includes:Step S31 obtains working as the sliding block when the length of the sliding block changes
Preceding length start position and current length final position;The step S4 includes:Step S41 plays point according to the current length
The starting point ratio for setting the initial length being calculated with the default original shape, it is corresponding with length from the initial data diagram
Preset coordinate axis based on obtain the corresponding display data of the starting point ratio as current starting point show data;The step
S5 includes:Step S51 is calculated according to the initial length in the current length final position and the default original shape
Terminal ratio, it is corresponding from the terminal ratio is obtained based on the corresponding preset coordinate axis of length in the initial data diagram
Show that data show data as current terminus.
In the above-mentioned technical solutions, it is screened on respective coordinates axis by adjusting the length of sliding block qualified to be shown
Data, it is easy to operate.
Further, the current starting point shows that data and current terminus show that the display data between data refer to:Pre-
If the value in reference axis, which is located at the current starting point, shows that value and the current terminus of the data on preset coordinate axis show number
According to the display data between the value on preset coordinate axis.
In the above-mentioned technical solutions, the screening conditions of data to be displayed are defined, user can voluntarily adjust according to actual needs
It is whole.
Further, the reference axis label of the current data figure is adaptively adjusted according to the data to be displayed.
In the above-mentioned technical solutions, the current data figure that reference axis label obtains after adaptively adjusting can allow user more clear
Chu intuitively understands local data's situation.
The present invention also provides a kind of display systems of datagram, including:Data acquisition module refers to for that ought receive display
When enabling, the complete display data of the idsplay order corresponding period are obtained;Display module, for showing initial rain brush figure;
Wherein, the initial rain brush figure includes:According to the initial data diagram that the complete display data are drawn, and, have default first
The sliding block of beginning shape.
In the above-mentioned technical solutions, the case where data are graphically shown, user is facilitated to intuitively understand big data;And
The sliding block for being adjusted observation to initial data diagram for user is provided, convenience is more careful, local data's situation is well understood.
Further, further include:Position acquisition module, for obtaining the sliding block when the change of the shape of the sliding block
Current start position and current terminus position;Data analysis module, for being preset just according to the current start position with described
The starting point ratio that beginning shape is calculated obtains the corresponding display data conduct of the starting point ratio from the initial data diagram
Current starting point shows data;And the terminal ratio being calculated according to the current terminus position and the default original shape
Example obtains the corresponding display data of the terminal ratio as current terminus from the initial data diagram and shows data;And
It shows that data and the current terminus show data according to the current starting point, obtains data to be displayed, the data to be displayed
Including:Current starting point shows that data, current terminus show data, and, current starting point shows that data and current terminus show number
Display data between;The display module is further used for showing current rain brush figure;Wherein, the current rain brush figure packet
It includes:According to the current data figure that the data to be displayed is drawn, and, the sliding block after shape change.
Further, the position acquisition module, for obtaining the current of the sliding block when the change of the shape of the sliding block
Start position and current terminus position are specially:The position acquisition module, for obtaining when the change of the length of the sliding block
The current length start position of the sliding block and current length final position;The data analysis module, for working as according to
The starting point ratio that preceding start position and the default original shape are calculated, obtains the starting point from the initial data diagram
The corresponding display data of ratio show data as current starting point;And it is preset just according to the current terminus position with described
The terminal ratio that beginning shape is calculated obtains the corresponding display data conduct of the terminal ratio from the initial data diagram
Current terminus shows that data are specially:The data analysis module, for according to the current length start position with it is described pre-
If the starting point ratio that the initial length of original shape is calculated, with the corresponding preset coordinate of length from the initial data diagram
The corresponding display data of the starting point ratio are obtained based on axis as current starting point shows data;And according to described current
The terminal ratio that the initial length of length final position and the default original shape is calculated, from the initial data diagram
The corresponding display data of the terminal ratio are obtained using based on the corresponding preset coordinate axis of length as current terminus shows number
According to.
Further, the current starting point shows that data and current terminus show that the display data between data refer to:Pre-
If the value in reference axis, which is located at the current starting point, shows that value and the current terminus of the data on preset coordinate axis show number
According to the display data between the value on preset coordinate axis.
Further, the reference axis label of the current data figure is adaptively adjusted according to the data to be displayed.
Compared with prior art, the beneficial effects of the present invention are:
The present invention shows the big data being stored in database profession in a manner of rain brush figure, facilitates checking for user,
And realize that datagram partial enlargement is checked by adjusting sliding block, and it is simple, convenient, it is clear, clear.
Detailed description of the invention
Below by clearly understandable mode, preferred embodiment is described with reference to the drawings, to a kind of display side of datagram
Above-mentioned characteristic, technical characteristic, advantage and its implementation of method and system are further described.
Fig. 1 is the flow chart of display methods one embodiment of datagram of the present invention;
Fig. 2 is the flow chart of rain brush figure one embodiment of the present invention;
Fig. 3 is the flow chart of another embodiment of rain brush figure of the present invention;
Fig. 4 is the flow chart of another embodiment of the display methods of datagram of the present invention;
Fig. 5 is the flow chart of another embodiment of the display methods of datagram of the present invention;
Fig. 6 is the flow chart of another embodiment of rain brush figure of the present invention;
Fig. 7 is the structural schematic diagram of display system one embodiment of datagram of the present invention;
Fig. 8 is the structural schematic diagram of another embodiment of the display system of datagram of the present invention.
Drawing reference numeral explanation:
10. data acquisition module, 20. display modules, 30. position acquisition modules, 40. data analysis modules.
Specific embodiment
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, Detailed description of the invention will be compareed below
A specific embodiment of the invention.It should be evident that drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented
Its practical structures as product.In addition, there is identical structure or function in some figures so that simplified form is easy to understand
Component only symbolically depicts one of those, or has only marked one of those.Herein, "one" is not only indicated
" only this ", can also indicate the situation of " more than one ".
In one embodiment of the invention, as shown in Figure 1, a kind of display methods of datagram, including:
Step S1 obtains the complete display data of idsplay order corresponding period when receiving idsplay order;Step
S2 shows initial rain brush figure;Wherein, initial rain brush figure includes:According to the initial data diagram that complete display data are drawn, and, tool
There is the sliding block of default original shape.
Specifically, according to the demand of user, the data in certain period of time is selected to carry out when needing to show some data
It shows, can include period and the data type for needing data to be shown in idsplay order, for the acquisition of follow-up data.
Initial data diagram is drawn according to the complete display data of acquisition and refers to determining abscissa and ordinate, then according to complete
Whole display data carry out the drafting of figure.And the sliding block of default original shape is use when adjusting for user to initial data diagram.
Default original shape self-setting according to actual needs, such as:Rectangle, triangle etc..The quantity of default original shape can also be with
For several, such as:One Kong Transverse coordinate, a control ordinate.
Such as:User selects 28 days 2 months cargo online hours in 2018 and the data of quantity of goods to show, when connecing
When receiving this idsplay order, the complete of cargo online hours in 0-1440 minutes this day and its corresponding quantity of goods is obtained
Whole display data, draw corresponding datagram, are located under datagram provided with the sliding block that a default original shape is rectangle
Side, as shown in Figure 2.
Optionally, the reference axis label of initial data diagram is according to complete display data adaptive adjustment.
Specifically, the label interval of abscissa and ordinate is adaptively arranged according to actual complete display data cases.
Such as:It is divided between abscissa in Fig. 2 120 minutes, 1000 quantity of goods is divided between ordinate.
The case where in the present embodiment, data are graphically shown, user is facilitated to intuitively understand big data;And it provides
The sliding block of observation is adjusted to initial data diagram for user, convenience is more careful, local data's situation is well understood.
In another embodiment of the invention, as shown in figure 4, a kind of display methods of datagram, including:
Step S1 obtains the complete display data of idsplay order corresponding period when receiving idsplay order;Step
S2 shows initial rain brush figure;Wherein, initial rain brush figure includes:According to the initial data diagram that complete display data are drawn, and, tool
There is the sliding block of default original shape.
Step S3 obtains current start position and the current terminus position of sliding block when the shape of sliding block changes.
Specifically, user achievees the purpose that adjust initial data diagram by changing the shape of sliding block, local number is specifically checked
According to.In view of sliding block has certain shapes, it is possible to specify its some endpoint is current start position or current terminus position, example
Such as:If sliding block is rectangle, if the position where the endpoint in the lower left corner is current start position, the position where the endpoint in the upper right corner
For current terminus position.
Such as:As shown in figure 3, the length for shortening sliding block changes the shape of sliding block compared to Fig. 2.Currently play point
Set be exactly the sliding block lower left corner endpoint location, current terminus position is exactly the endpoint location in the sliding block upper right corner.
Certainly, sliding block can also carry out Adjusting Shape other than left and right carries out Adjusting Shape up and down, and different shape tune
It is whole to represent different reference axis, specifically represent which reference axis can with engineer programming when setting, can also by user according to
Actual demand sets itself.Such as:What the Adjusting Shape of the sliding block in Fig. 3 or so represented is abscissa.
Step S4 obtains starting point according to the starting point ratio of current start position and default original shape from initial data diagram
The corresponding display data of ratio show data as current starting point.
Step S5 obtains terminal according to the terminal ratio of current terminus position and default original shape from initial data diagram
The corresponding display data of ratio show data as current terminus.
Step S6 shows that data and current terminus show data according to current starting point, obtains data to be displayed, number to be shown
According to including:Current starting point shows that data, current terminus show data, and, current starting point shows that data and current terminus are shown
Display data between data.
Specifically, the calculating of starting point ratio is in order to which which the display data for confirming the starting point in current data figure are.It rises
There are many calculations of point ratio, such as:Coordinate calculation, length computation mode etc..
By sliding block be rectangle, length representative abscissa, highly represent ordinate for, to preset the rectangle of original shape
Lower left corner endpoint is that dot establishes rectangular coordinate system, when slider shape changes, current start position and current terminus position
Have its corresponding coordinate, current start position (30,10), current terminus coordinate (50,30), that is, have adjusted sliding block length and
Highly.Assuming that the coordinate in the rectangle upper right corner of default original shape is (100,30), the abscissa of initial data diagram is 0-1440
Minute, ordinate is 0-7000 quantity of goods, and the abscissa of sliding block represents the abscissa of initial data diagram, the ordinate of sliding block
Represent the ordinate of initial data diagram.Starting point ratio includes:Abscissa starting point ratio 30/100=0.3, ordinate starting point ratio
10/30=0.33;Terminal ratio includes:Abscissa terminal ratio 50/100=0.5, ordinate terminal ratio 30/30=1.
Current starting point shows that the coordinate of data is:1440*0.3=432 minute, 7000*0.33=2310, current terminus
Display data coordinate be:1440*0.5=720 minute, 7000*1=7000.
The range of each data is in data to be displayed:Abscissa is between [432,720], and corresponding ordinate is located at
Between [2310,700], the display data for meeting above-mentioned condition are extracted from initialization data figure (completely display data in other words)
As data to be displayed.
It should be noted that the shape of sliding block is different, the reference axis of representative is different, calculation needs adaptive change to obtain
Data to be displayed is obtained, is no longer illustrated one by one herein.
Step S7 shows current rain brush figure;Wherein, current rain brush figure includes:The current data drawn according to data to be displayed
Figure, and, the sliding block after shape change.
It is shown specifically, drawing corresponding current data figure according to the data to be displayed screened, and shape
Sliding block after change is shown.
Preferably, it presets original shape as background to show after the sliding block after shape change, as shown in Figure 3.Facilitate use
Family understands the approximate location that the data currently checked are located in raw-data map.
Optionally, the reference axis label of current data figure is adaptively adjusted according to data to be displayed.
Specifically, the data volume contained in initial data diagram is generally bigger than the data volume that current data figure contains, if still edge
With the coordinate label in initial data diagram, the data that local users are wanted to check, therefore, reference axis label can not be clearly illustrated
The current data figure obtained after adaptive adjustment can allow user to understand, intuitively understand local data's situation.
In the present embodiment, show that corresponding current data figure is checked for user by changing the shape of sliding block, operation letter
Singly, it conveniently, checks intuitive, clear.The changeable datagram for adapting to different situations that defines of sliding block is checked, is widely used, is mentioned significantly
The high usage experience of user.
In yet another embodiment of the present invention, as shown in figure 5, a kind of display methods of datagram, including:
Step S1 obtains the complete display data of idsplay order corresponding period when receiving idsplay order;Step
S2 shows initial rain brush figure;Wherein, initial rain brush figure includes:According to the initial data diagram that complete display data are drawn, and, tool
There is the sliding block of default original shape.
When the shape of sliding block changes, the current start position and current terminus position for obtaining sliding block include step S3:Step
Rapid S31 obtains current length start position and the current length final position of sliding block when the length of sliding block changes.
The starting point ratio that step S4 is calculated according to current start position and default original shape, from initial data diagram
The corresponding display data of starting point ratio are obtained as current starting point and show that data include:Step S41 plays point according to current length
The starting point ratio being calculated with the initial length of default original shape is set, with the corresponding default seat of length from initial data diagram
The corresponding display data of starting point ratio are obtained based on parameter as current starting point shows data.
The terminal ratio that step S5 is calculated according to current terminus position and default original shape, from initial data diagram
The corresponding display data of terminal ratio are obtained as current terminus and show that data include:Step S51 is according to current length terminal position
The terminal ratio being calculated with the initial length of default original shape is set, with the corresponding default seat of length from initial data diagram
The corresponding display data of terminal ratio are obtained based on parameter as current terminus shows data.
Step S6 shows that data and current terminus show data according to current starting point, obtains data to be displayed, number to be shown
According to including:Current starting point shows that data, current terminus show data, and, current starting point shows that data and current terminus are shown
Display data between data.
Step S7 shows current rain brush figure;Wherein, current rain brush figure includes:The current data drawn according to data to be displayed
Figure, and, the sliding block after shape change.
Specifically, the sliding block in the present embodiment is only capable of adjustment length, and length has corresponded to the abscissa of datagram.User is logical
Adjustment sliding block is crossed to check corresponding current data figure.
For example, ordinate is 0-7000 cargo number as shown in fig. 6, the abscissa of initial data diagram is 0-1440 minutes
Amount, the initial length of sliding block are 48.When the left and right sides of sliding block when pulled, the present leftmost side of sliding block is apart from initial length
Leftmost side difference 11, rightmost side difference 5 of the present rightmost side of sliding block apart from initial length, therefore, starting point ratio is 11/48,
Terminal ratio is 43/48.Current starting point shows data:Abscissa is 11/48*1440=330 minutes, and ordinate is this minute right
The quantity of goods answered;Current terminus shows data:Abscissa is 43/48*1440=1290 minutes, and ordinate is corresponding for this minute
Quantity of goods.
Current starting point shows that data and current terminus show that the display data between data refer to:On preset coordinate axis
Value is located at current starting point and shows data in the value of value and current terminus display data on preset coordinate axis on preset coordinate axis
Between display data.
Specifically, continuing to use above-mentioned example, current starting point shows that data and current terminus show the display data between data
Refer to:Display data of the abscissa between 330-1290, such as:350 minutes, corresponding quantity of goods was 6.
If the sample frequency of data is relatively low, such as:Quantity of goods of 5 minutes statistics, in the present embodiment, determine to
It is still to be confirmed according to range locating for abscissa when showing data.In other embodiments, confirmed according to the condition of setting,
Such as:If the different shape for being provided with sliding block changes corresponding abscissa and ordinate, according to abscissa and ordinate
Respective range is fallen into simultaneously to determine data to be displayed.
Preferably, original shape is preset as background to show after the sliding block after shape change.User is facilitated to understand current
The data checked are located at the approximate location in raw-data map.
Optionally, the reference axis label of current data figure is adaptively adjusted according to data to be displayed.
Specifically, the data volume contained in initial data diagram is generally bigger than the data volume that current data figure contains, if still edge
With the coordinate label in initial data diagram, the data that local users are wanted to check, therefore, reference axis label can not be clearly illustrated
The current data figure obtained after adaptive adjustment can allow user to understand, intuitively understand local data's situation.
In the present embodiment, the length by changing sliding block shows that the current data figure of corresponding range is checked for user, operates
Simply, intuitive, clear, raising user experience conveniently, is checked.
In one embodiment of the invention, as shown in fig. 7, a kind of display system of datagram, including:
Data acquisition module 10, for when receiving idsplay order, obtaining the complete of idsplay order corresponding period
Show data;
Display module 20 is electrically connected with data acquisition module 10, for showing initial rain brush figure;Wherein, initial rain brush figure
Including:According to the initial data diagram that complete display data are drawn, and, there is the sliding block of default original shape.
Specifically, according to the demand of user, the data in certain period of time is selected to carry out when needing to show some data
It shows, can include period and the data type for needing data to be shown in idsplay order, for the acquisition of follow-up data.
Initial data diagram is drawn according to the complete display data of acquisition and refers to determining abscissa and ordinate, then according to complete
Whole display data carry out the drafting of figure.And the sliding block of default original shape is use when adjusting for user to initial data diagram.
Default original shape self-setting according to actual needs, such as:Rectangle, triangle etc..The quantity of default original shape can also be with
For several, such as:One Kong Transverse coordinate, a control ordinate.Specific example refers to corresponding embodiment of the method.
Optionally, the reference axis label of initial data diagram is according to complete display data adaptive adjustment.
Specifically, the label interval of abscissa and ordinate is adaptively arranged according to actual complete display data cases.
Such as:It is divided between abscissa in Fig. 2 120 minutes, 1000 quantity of goods is divided between ordinate.
The case where in the present embodiment, data are graphically shown, user is facilitated to intuitively understand big data;And it provides
The sliding block of observation is adjusted to initial data diagram for user, convenience is more careful, local data's situation is well understood.
In another embodiment of the invention, as shown in figure 8, a kind of display system of datagram, including:
Data acquisition module 10, for when receiving idsplay order, obtaining the complete of idsplay order corresponding period
Show data;
Display module 20 is electrically connected with data acquisition module 10, for showing initial rain brush figure;Wherein, initial rain brush figure
Including:According to the initial data diagram that complete display data are drawn, and, there is the sliding block of default original shape.
Position acquisition module 30 is electrically connected with display module 20, for obtaining working as sliding block when the change of the shape of sliding block
Preceding start position and current terminus position.
Specifically, user achievees the purpose that adjust initial data diagram by changing the shape of sliding block, local number is specifically checked
According to.In view of sliding block has certain shapes, it is possible to specify its some endpoint is current start position or current terminus position, example
Such as:If sliding block is rectangle, if the position where the endpoint in the lower left corner is current start position, the position where the endpoint in the upper right corner
For current terminus position.Specific example refers to corresponding embodiment of the method, and therefore not to repeat here.
Certainly, sliding block can also carry out Adjusting Shape other than left and right carries out Adjusting Shape up and down, and different shape tune
It is whole to represent different reference axis, specifically represent which reference axis can with engineer programming when setting, can also by user according to
Actual demand sets itself.Such as:What the Adjusting Shape of the sliding block in Fig. 3 or so represented is abscissa.
Data analysis module 40 is electrically connected with position acquisition module 30, is used for according to current start position and is preset initial
It is aobvious as current starting point to obtain the corresponding display data of starting point ratio from initial data diagram for the starting point ratio that shape is calculated
Registration evidence;
And the terminal ratio being calculated according to current terminus position and default original shape, from initial data diagram
The corresponding display data of terminal ratio are obtained as current terminus and show data;
And show that data and current terminus show data according to current starting point, obtain data to be displayed, data to be displayed
Including:Current starting point shows that data, current terminus show data, and, current starting point shows that data and current terminus show number
Display data between.
Specifically, the calculating of starting point ratio is in order to which which the display data for confirming the starting point in current data figure are.It rises
There are many calculations of point ratio, such as:Coordinate calculation, length computation mode etc..Specific example refers to correspondence
Embodiment of the method, therefore not to repeat here.
It should be noted that the shape of sliding block is different, the reference axis of representative is different, calculation needs adaptive change to obtain
Data to be displayed is obtained, is no longer illustrated one by one herein.
Display module 20 is electrically connected with data analysis module 40, is further used for showing current rain brush figure;Wherein, currently
Rain brush figure includes:According to the current data figure that data to be displayed is drawn, and, the sliding block after shape change.
It is shown specifically, drawing corresponding current data figure according to the data to be displayed screened, and shape
Sliding block after change is shown.
Preferably, it presets original shape as background to show after the sliding block after shape change, as shown in Figure 3.Facilitate use
Family understands the approximate location that the data currently checked are located in raw-data map.
Optionally, the reference axis label of current data figure is adaptively adjusted according to data to be displayed.
Specifically, the data volume contained in initial data diagram is generally bigger than the data volume that current data figure contains, if still edge
With the coordinate label in initial data diagram, the data that local users are wanted to check, therefore, reference axis label can not be clearly illustrated
The current data figure obtained after adaptive adjustment can allow user to understand, intuitively understand local data's situation.
In the present embodiment, show that corresponding current data figure is checked for user by changing the shape of sliding block, operation letter
Singly, it conveniently, checks intuitive, clear.The changeable datagram for adapting to different situations that defines of sliding block is checked, is widely used, is mentioned significantly
The high usage experience of user.
In yet another embodiment of the present invention, a kind of display system of datagram, including:
Data acquisition module 10, for when receiving idsplay order, obtaining the complete of idsplay order corresponding period
Show data;Display module 20 is electrically connected with data acquisition module 10, for showing initial rain brush figure;Wherein, initial rain brush figure
Including:According to the initial data diagram that complete display data are drawn, and, there is the sliding block of default original shape.
Position acquisition module 30, current start position and currently end for when the change of the shape of sliding block, obtaining sliding block
Point position is specially:Position acquisition module 30, for obtaining the current length start position of sliding block when the change of the length of sliding block
With current length final position.
Data analysis module 40, the starting point ratio for being calculated according to current start position and default original shape,
The corresponding display data of starting point ratio are obtained from initial data diagram as current starting point shows data;And according to current end
The terminal ratio that point position and default original shape are calculated obtains the corresponding display number of terminal ratio from initial data diagram
Show that data are specially according to as current terminus:
Data analysis module 40 is electrically connected with position acquisition module 30, is used for according to current length start position and is preset
The starting point ratio that the initial length of original shape is calculated, using the corresponding preset coordinate axis of length as base from initial data diagram
Plinth obtains the corresponding display data of starting point ratio as current starting point and shows data;
And the terminal ratio being calculated according to the initial length in current length final position and default original shape,
From the corresponding display data of terminal ratio are obtained in initial data diagram using based on the corresponding preset coordinate axis of length as currently
Terminal shows data.
Data analysis module 40 is further used for showing that data and current terminus show data according to current starting point, obtain
Data to be displayed, data to be displayed include:Current starting point shows that data, current terminus show data, and, current starting point is shown
Data and current terminus show the display data between data.
Display module 20 is electrically connected with data analysis module 40, is further used for showing current rain brush figure;Wherein, currently
Rain brush figure includes:According to the current data figure that data to be displayed is drawn, and, the sliding block after shape change.
Specifically, the sliding block in the present embodiment is only capable of adjustment length, and length has corresponded to the abscissa of datagram.User is logical
Adjustment sliding block is crossed to check corresponding current data figure.Specific example refers to corresponding embodiment of the method, does not go to live in the household of one's in-laws on getting married herein
It states.
Current starting point shows that data and current terminus show that the display data between data refer to:On preset coordinate axis
Value is located at current starting point and shows data in the value of value and current terminus display data on preset coordinate axis on preset coordinate axis
Between display data.
Specifically, continuing to use the example in corresponding embodiment of the method, current starting point shows that data and current terminus show number
Display data between refer to:Display data of the abscissa between 330-1290, such as:350 minutes, corresponding cargo
Quantity is 6.
If the sample frequency of data is relatively low, such as:Quantity of goods of 5 minutes statistics, in the present embodiment, determine to
It is still to be confirmed according to range locating for abscissa when showing data.In other embodiments, confirmed according to the condition of setting,
Such as:If the different shape for being provided with sliding block changes corresponding abscissa and ordinate, according to abscissa and ordinate
Respective range is fallen into simultaneously to determine data to be displayed.
Preferably, original shape is preset as background to show after the sliding block after shape change.User is facilitated to understand current
The data checked are located at the approximate location in raw-data map.
Optionally, the reference axis label of current data figure is adaptively adjusted according to data to be displayed.
Specifically, the data volume contained in initial data diagram is generally bigger than the data volume that current data figure contains, if still edge
With the coordinate label in initial data diagram, the data that local users are wanted to check, therefore, reference axis label can not be clearly illustrated
The current data figure obtained after adaptive adjustment can allow user to understand, intuitively understand local data's situation.
In the present embodiment, the length by changing sliding block shows that the current data figure of corresponding range is checked for user, operates
Simply, intuitive, clear, raising user experience conveniently, is checked.
The present invention shows the big data being stored in database profession in a manner of rain brush figure, facilitates checking for user,
And realize that datagram partial enlargement is checked by adjusting sliding block, and it is simple, convenient, it is clear, clear.
It should be noted that above-described embodiment can be freely combined as needed.The above is only of the invention preferred
Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention
Under, several improvements and modifications can also be made, these modifications and embellishments should also be considered as the scope of protection of the present invention.
Claims (10)
1. a kind of display methods of datagram, which is characterized in that including:
Step S1 obtains the complete display data of the idsplay order corresponding period when receiving idsplay order;
Step S2 shows initial rain brush figure;
Wherein, the initial rain brush figure includes:According to the initial data diagram that the complete display data are drawn, and, have pre-
If the sliding block of original shape.
2. the display methods of datagram as described in claim 1, which is characterized in that further include:
Step S3 obtains current start position and the current terminus position of the sliding block when the shape of the sliding block changes;
The starting point ratio that step S4 is calculated according to the current start position and the default original shape, from described initial
The corresponding display data of the starting point ratio are obtained in datagram as current starting point shows data;
The terminal ratio that step S5 is calculated according to the current terminus position and the default original shape, from described initial
The corresponding display data of the terminal ratio are obtained in datagram as current terminus shows data;
Step S6 shows that data and the current terminus show data according to the current starting point, obtains data to be displayed, described
Data to be displayed includes:Current starting point shows that data, current terminus show data, and, current starting point shows data and current
Terminal shows the display data between data;
Step S7 shows current rain brush figure;
Wherein, the current rain brush figure includes:According to the current data figure that the data to be displayed is drawn, and, shape changes
The sliding block afterwards.
3. the display methods of datagram as claimed in claim 2, it is characterised in that:
The step S3 includes:
For step S31 when the length of the sliding block changes, current length start position and the current length for obtaining the sliding block are whole
Point position;
The step S4 includes:
The starting point for the initial length that step S41 is calculated according to the current length start position and the default original shape
Ratio, from obtaining the corresponding display of the starting point ratio in the initial data diagram based on the corresponding preset coordinate axis of length
Data show data as current starting point;
The step S5 includes:
The terminal that step S51 is calculated according to the initial length in the current length final position and the default original shape
Ratio, from obtaining the corresponding display of the terminal ratio in the initial data diagram based on the corresponding preset coordinate axis of length
Data show data as current terminus.
4. the display methods of datagram as claimed in claim 3, which is characterized in that the current starting point shows data and current
Terminal shows that the display data between data refer to:
It is located at the current starting point in the value on preset coordinate axis and shows value and the current end of the data on preset coordinate axis
Display data of the point display data between the value on preset coordinate axis.
5. the display methods of the datagram as described in claim 2-4 any one, it is characterised in that:The current data figure
Reference axis label is adaptively adjusted according to the data to be displayed.
6. a kind of display system of datagram, which is characterized in that including:
Data acquisition module, for when receiving idsplay order, obtaining the complete aobvious of the idsplay order corresponding period
Registration evidence;
Display module, for showing initial rain brush figure;
Wherein, the initial rain brush figure includes:According to the initial data diagram that the complete display data are drawn, and, have pre-
If the sliding block of original shape.
7. the display system of datagram as claimed in claim 6, which is characterized in that further include:
Position acquisition module, for when the change of the shape of the sliding block, obtaining the current start position of the sliding block and current
Final position;
Data analysis module, the starting point ratio for being calculated according to the current start position and the default original shape
Example obtains the corresponding display data of the starting point ratio as current starting point from the initial data diagram and shows data;
And the terminal ratio being calculated according to the current terminus position and the default original shape, from described initial
The corresponding display data of the terminal ratio are obtained in datagram as current terminus shows data;
And show that data and the current terminus show data according to the current starting point, obtain data to be displayed, it is described to
Show that data include:Current starting point shows that data, current terminus show data, and, current starting point show data and it is current eventually
Display data between point display data;
The display module is further used for showing current rain brush figure;
Wherein, the current rain brush figure includes:According to the current data figure that the data to be displayed is drawn, and, shape changes
The sliding block afterwards.
8. the display system of datagram as claimed in claim 7, it is characterised in that:
The position acquisition module, for when the sliding block shape change when, obtain the sliding block current start position and
Current terminus position is specially:
The position acquisition module, for when the change of the length of the sliding block, the current length for obtaining the sliding block to play point
It sets and current length final position;
The data analysis module, the starting point for being calculated according to the current start position and the default original shape
Ratio obtains the corresponding display data of the starting point ratio as current starting point from the initial data diagram and shows data;With
And the terminal ratio being calculated according to the current terminus position and the default original shape, from the initial data diagram
It is middle to obtain the corresponding display data of the terminal ratio as current terminus display data and be specially:
The data analysis module, for the initial length according to the current length start position and the default original shape
The starting point ratio being calculated, from obtaining the starting point based on the corresponding preset coordinate axis of length in the initial data diagram
The corresponding display data of ratio show data as current starting point;
And the terminal ratio being calculated according to the initial length in the current length final position and the default original shape
Example, from obtaining the corresponding display number of the terminal ratio in the initial data diagram based on the corresponding preset coordinate axis of length
Data are shown according to as current terminus.
9. the display system of datagram as claimed in claim 8, which is characterized in that the current starting point shows data and current
Terminal shows that the display data between data refer to:
It is located at the current starting point in the value on preset coordinate axis and shows value and the current end of the data on preset coordinate axis
Display data of the point display data between the value on preset coordinate axis.
10. the display system of the datagram as described in claim 6-9 any one, it is characterised in that:The current data figure
Reference axis label adaptively adjusted according to the data to be displayed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810760152.XA CN108846140A (en) | 2018-07-11 | 2018-07-11 | A kind of display methods and system of datagram |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810760152.XA CN108846140A (en) | 2018-07-11 | 2018-07-11 | A kind of display methods and system of datagram |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108846140A true CN108846140A (en) | 2018-11-20 |
Family
ID=64196981
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810760152.XA Pending CN108846140A (en) | 2018-07-11 | 2018-07-11 | A kind of display methods and system of datagram |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108846140A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115509421A (en) * | 2022-09-29 | 2022-12-23 | 魔方医药科技(苏州)有限公司 | Data display method and device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102467317A (en) * | 2010-11-05 | 2012-05-23 | 江苏智发数字医疗科技有限公司 | Variable amplitude type curve drawing method |
| CN103021439A (en) * | 2011-09-27 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Method and device for accurately positioning file playback progress |
| US20150339044A1 (en) * | 2012-12-21 | 2015-11-26 | Kyocera Corporation | Mobile terminal, and user interface control program and method |
| US20160300554A1 (en) * | 2014-03-24 | 2016-10-13 | Kawai Musical Instruments Manufacturing Co., Ltd. | Musical score displaying and performing program, and musical score displaying and performing device |
| CN106940697A (en) * | 2016-01-04 | 2017-07-11 | 阿里巴巴集团控股有限公司 | A kind of time series data method for visualizing and equipment |
-
2018
- 2018-07-11 CN CN201810760152.XA patent/CN108846140A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102467317A (en) * | 2010-11-05 | 2012-05-23 | 江苏智发数字医疗科技有限公司 | Variable amplitude type curve drawing method |
| CN103021439A (en) * | 2011-09-27 | 2013-04-03 | 腾讯科技(深圳)有限公司 | Method and device for accurately positioning file playback progress |
| US20150339044A1 (en) * | 2012-12-21 | 2015-11-26 | Kyocera Corporation | Mobile terminal, and user interface control program and method |
| US20160300554A1 (en) * | 2014-03-24 | 2016-10-13 | Kawai Musical Instruments Manufacturing Co., Ltd. | Musical score displaying and performing program, and musical score displaying and performing device |
| CN106940697A (en) * | 2016-01-04 | 2017-07-11 | 阿里巴巴集团控股有限公司 | A kind of time series data method for visualizing and equipment |
Non-Patent Citations (1)
| Title |
|---|
| 肖诩: "《办公自动化应用 第2版》", 28 February 2014, 中国铁道出版社 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115509421A (en) * | 2022-09-29 | 2022-12-23 | 魔方医药科技(苏州)有限公司 | Data display method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102214353B (en) | Image enhancement device and image enhancement method | |
| CN101145321B (en) | Display device and brightness control method thereof | |
| CN108281012B (en) | Display method and device of traffic flow data, storage medium and electronic device | |
| US20140198993A1 (en) | Exposure enhancement method and apparatus for a defogged image | |
| CN101505367B (en) | Method for adaptive image enhancement | |
| US8947434B2 (en) | Process for determining, scaling, providing, comparative information in accurate, useful, easily recognized, and understandable manner | |
| EP3326109A1 (en) | System and method for providing a recipe | |
| CN108846140A (en) | A kind of display methods and system of datagram | |
| US10580175B2 (en) | Apparatus, method and system for resolution dependent graphical representation of signals | |
| CN111063035A (en) | A three-dimensional visualization method and device of OD relationship in GIS | |
| CN110675795B (en) | Display driving method, device and system and touch screen | |
| CN103995654A (en) | Chart granularity adjusting method and device | |
| CN112884349A (en) | Stock technical index display method, device and system | |
| CN105581812A (en) | Automatic adjustment method and system for ultrasonic imaging equipment | |
| CN105872706A (en) | Display control method and device | |
| CN105913405B (en) | Processing method, device and vehicle for presenting image details | |
| CN113990068A (en) | Traffic data processing method, device, equipment and storage medium | |
| CN105447758A (en) | Early-warning value setting method and apparatus | |
| CN118135940A (en) | Screen chip parameter adjustment method and automatic parameter adjustment system, electronic device and storage medium | |
| CN117574598A (en) | Ventilation equipment rapid selection method and system | |
| US8805809B2 (en) | Autotransform system | |
| CN114547103A (en) | Data acquisition method and device | |
| CN108073700B (en) | A sliding window-based data visualization method and system | |
| CN112169334A (en) | Optimal path display method and device, electronic equipment and storage medium | |
| CN107607783A (en) | Efficient and flexible radar spectrum display method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181120 |