Method and device for adjusting graph granularity

A technology for adjusting direction and granularity, applied in the input/output process of data processing, instruments, electrical and digital data processing, etc., and can solve problems such as low efficiency, low accuracy, and poor user experience.

Inactive Publication Date: 2017-11-24
HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems of low efficiency, low accuracy, and poor user experience in adjusting the granularity of charts in the prior art, the present invention provides a method and device for adjusting the granularity of charts

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for adjusting graph granularity
  • Method and device for adjusting graph granularity
  • Method and device for adjusting graph granularity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0088] see figure 1 , this embodiment provides a method for adjusting the granularity of the graph, including:

[0089] 101: Obtain the coordinates of the first point triggered by the user on the chart;

[0090] 102: Obtain the sliding position of the user operation in real time, and determine the granularity corresponding to each position;

[0091] 103: Obtain data corresponding to each granularity;

[0092] 104: Keep the coordinates of the first point in the grain size adjustment direction unchanged, and update the data on the chart in real time according to each grain size and corresponding data.

[0093] In this embodiment, the graph refers to a two-dimensional data graph, which includes a first coordinate axis and a second coordinate axis that are perpendicular to each other, and usually uses two coordinate values ​​to represent data. For example, the first coordinate axis is time and the second coordinate axis is percentage; or the first coordinate axis is distance an...

Embodiment 2

[0129] see figure 2 , this embodiment provides a method for adjusting the granularity of the graph, the method specifically includes:

[0130] 201: Obtain the coordinates of the first point triggered by the user on the chart;

[0131] In this embodiment, the graph refers to a two-dimensional data graph, and includes a first coordinate axis and a second coordinate axis that are perpendicular to each other; usually two coordinate values ​​are used to represent data.

[0132] For example, the first coordinate axis is time and the second coordinate axis is percentage; or the first coordinate axis is distance and the second coordinate axis is the number of users, and so on. Wherein, one of the first coordinate axis and the second coordinate axis is a horizontal direction, and the other is a vertical direction, which is not specifically limited in the present invention.

[0133] 202: Display an adjustment box containing controls, the adjustment box is used to adjust the granulari...

Embodiment 3

[0158] see Image 6 , this embodiment provides a method for adjusting the granularity of the graph, the method specifically includes:

[0159] 601: Obtain the coordinates of the first point triggered by the user on the chart;

[0160] In this embodiment, the graph refers to a two-dimensional data graph, and includes a first coordinate axis and a second coordinate axis that are perpendicular to each other, usually two coordinates are used to represent data.

[0161] For example, the first coordinate axis is time and the second coordinate axis is percentage; or the first coordinate axis is distance and the second coordinate axis is the number of users, and so on. Wherein, one of the first coordinate axis and the second coordinate axis is a horizontal direction, and the other is a vertical direction, which is not specifically limited in the present invention.

[0162] In this embodiment, if the user uses a finger to trigger the screen, the contact point of the finger on the scr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for adjusting the granularity of a chart, belonging to the field of data mining. The method includes: acquiring the coordinates of the first point triggered by the user on the chart; acquiring the sliding position of the user operation in real time, and determining the granularity corresponding to each position; acquiring data corresponding to each granularity; keeping the first point at the granularity The coordinates in the adjustment direction remain unchanged, and the data on the chart are updated in real time according to the various granularities and corresponding data. The device includes: a first trigger module, a first acquisition module and a first adjustment module. The invention realizes the real-time adjustment and precise adjustment of the granularity of charts, improves the efficiency and accuracy of granularity adjustment, and simplifies user operations.

Description

technical field [0001] The invention relates to the field of data mining, in particular to a method and device for adjusting the granularity of graphs. Background technique [0002] When performing statistics, it is common to use charts to display the data. For example, in the network management system, the performance data is obtained every 5 minutes, and then a chart is constructed with time as the horizontal axis and performance data as the vertical axis, which can clearly reflect the change of performance data over time. However, due to the influence of factors such as data transmission and system refresh, the time granularity of the charts seen by operation and maintenance personnel is relatively coarse, such as hourly granularity, so it is not convenient for data statistics and analysis. In order to analyze data more accurately, it is often necessary to adjust the granularity of the chart to dig deeper into the data. [0003] At present, a common solution is to confi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/0485
Inventor 梁冰谭严芳魏炜
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products