CN106846437B - A kind of time series data method for visualizing based on spiral figure - Google Patents
A kind of time series data method for visualizing based on spiral figure Download PDFInfo
- Publication number
- CN106846437B CN106846437B CN201710095028.1A CN201710095028A CN106846437B CN 106846437 B CN106846437 B CN 106846437B CN 201710095028 A CN201710095028 A CN 201710095028A CN 106846437 B CN106846437 B CN 106846437B
- Authority
- CN
- China
- Prior art keywords
- path
- state
- color
- ring
- time series
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000013079 data visualisation Methods 0.000 claims abstract description 5
- 238000013461 design Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 5
- 230000003993 interaction Effects 0.000 claims description 4
- 230000001419 dependent effect Effects 0.000 claims description 3
- 238000012800 visualization Methods 0.000 abstract description 15
- 230000007704 transition Effects 0.000 abstract description 11
- 230000002452 interceptive effect Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 16
- 230000000737 periodic effect Effects 0.000 description 4
- 238000007794 visualization technique Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 241000282414 Homo sapiens Species 0.000 description 1
- 230000003749 cleanliness Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- AKUNSPZHHSNFFX-UHFFFAOYSA-M tributyl(tetradecyl)phosphanium;chloride Chemical compound [Cl-].CCCCCCCCCCCCCC[P+](CCCC)(CCCC)CCCC AKUNSPZHHSNFFX-UHFFFAOYSA-M 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
- G06T11/203—Drawing of straight lines or curves
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Generation (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
- Instructional Devices (AREA)
Abstract
本发明公开了一种基于螺旋图的时间序列数据可视化方法,包括如下步骤:首先对于给定的阶段性时间序列,使用一个圆环表示一个状态,多个同心圆表示阶段性时间序列所包含的状态集;其次状态间的可达路径使用螺旋线表示,其中螺旋线的颜色和透明度分别与路径的种类和路径与其他路径的交叉点数量有关,而且螺旋线的透明度根据该螺旋线与其他螺旋线的交叉个数采用长尾算法计算;最后设计交互动作以满足用户的操作需要。对我国铁路列车站点数据的实验,验证了模型对阶段性时间序列数据可视化的有效性,并能够为用户对于状态变换间路线选择提供决策支持。本发明解决了在有限的空间中,在不增加时间轴长度的情况下,有效展示任意时间长度的路径的问题,并通过采用基于长尾函数的透明度算法,给每条路径分配透明度,降低路径交叉重叠带来杂乱度,同时有效保留了数据信息。
The invention discloses a time series data visualization method based on a spiral graph, which includes the following steps: first, for a given phased time series, a circle is used to represent a state, and multiple concentric circles represent the phased time series contained State set; Secondly, the reachable path between states is represented by a spiral line, where the color and transparency of the spiral line are related to the type of path and the number of intersections between the path and other paths, and the transparency of the spiral line is based on the relationship between the spiral line and other spiral lines The number of intersections of the lines is calculated using the long-tail algorithm; finally, interactive actions are designed to meet the user's operational needs. Experiments on my country's railway train station data have verified the effectiveness of the model for visualization of phased time series data, and can provide decision support for users in selecting routes between state transitions. The invention solves the problem of effectively displaying paths of any time length in a limited space without increasing the length of the time axis, and assigns transparency to each path by adopting a transparency algorithm based on a long-tail function, reducing the path Cross-overlap brings clutter while effectively preserving data information.
Description
技术领域technical field
本发明涉及信息可视化领域,尤指一种基于螺旋图的时间序列数据可视化方法。The invention relates to the field of information visualization, in particular to a time series data visualization method based on a spiral graph.
背景技术Background technique
人类的日常行为中,时间是无所不在的标尺。在当今数据剧增的时代,人们在活动中都产生着大量的数据,其中就包含涉及状态变化的时间序列数据。人们往往希望从时间序列数据中得到数据随着时间变化的模式,但是通过肉眼观察大量数据是很难从中快速得到有效信息。In the daily behavior of human beings, time is the ubiquitous ruler. In today's era of rapid data growth, people generate a large amount of data in their activities, including time series data involving state changes. People often hope to get the pattern of data changing over time from time series data, but it is difficult to quickly obtain effective information from a large amount of data by visually observing it.
可视化将数据抽象为图表的形式,帮助人们理解晦涩难懂的数据,并通过交互发现隐藏在数据中的知识。比较常见的可视化形式包括折线图、圆饼图、散点图以及最近出现交互性比较强的桑基图,树图等等。不同的可视化展现形式适用于不同特性的数据。可视化技术在展示时间序列数据已经取得了卓越的成果,例如曲线图,主题河流,树图,螺旋图等。其中螺旋图是可视化中展示周期性时间序列数据的一种重要的形式。螺旋图通过连续的螺旋线能够展现数据在时间上的连续性以及不同时间周期上的变化规律,因此其在处理周期性连续数据领域得到了广泛的应用。Visualization abstracts data into the form of charts, helping people understand obscure data and discover knowledge hidden in data through interaction. The more common visualization forms include line charts, pie charts, scatter plots, and recently more interactive Sankey diagrams, tree diagrams, etc. Different visualization forms are suitable for data with different characteristics. Visualization techniques have achieved remarkable results in displaying time series data, such as curve graphs, themed rivers, tree graphs, spiral graphs, etc. Among them, the spiral graph is an important form of displaying periodic time series data in visualization. The spiral graph can show the continuity of data in time and the change law in different time periods through continuous spiral lines, so it has been widely used in the field of processing periodic continuous data.
阶段性时间序列数据类型是一种比较特殊的数据类型,它描述了一个事件的状态随着时间的变化。一个事件从起始时间到结束时间,一共包含n个状态,事件顺序地从状态1转换到状态n,从状态i转换到状态i+1的过程称为阶段i,并且该过程存在多条可达路径。对阶段性时间序列数据可视化需要满足以下要求:1.有效地展示状态转换过程中时间的变化;2.良好的交互,为用户进行各个阶段的路径选择提供决策支持;3.在有限的空间中展示可扩展的时间长度;4.保证数据可靠性的条件下满足人们审美需求。The phased time series data type is a special data type that describes the change of the state of an event over time. An event from the start time to the end time contains a total of n states, the event sequentially transitions from state 1 to state n, and the process of transitioning from state i to state i+1 is called phase i, and there are multiple possible reach path. The visualization of phased time series data needs to meet the following requirements: 1. Effectively display the time changes during the state transition process; 2. Good interaction, providing decision support for users to choose paths at various stages; 3. In a limited space Show scalable time length; 4. Satisfy people's aesthetic needs under the condition of ensuring data reliability.
本发明所研究数据的重要特征是:状态转换之间的路径耗时具有不确定性,而已有的可视化方法,如平行坐标、桑基图等不能有效展示可扩展的时间轴。平行坐标与桑基图,以一条时间轴表示一个状态,状态之间的连线表示可达路径,那么当某个路线历时很长时必然会导致与之相关的时间轴加长,这显然不符合可视化简洁美观的审美要求。本发明提出的螺旋图能较好解决这个问题。An important feature of the data studied by the present invention is that the time-consuming paths between state transitions are uncertain, and existing visualization methods, such as parallel coordinates and Sankey diagrams, cannot effectively display an expandable time axis. Parallel coordinates and Sankey diagrams use a time axis to represent a state, and the connection between the states represents the reachable path, so when a certain route lasts for a long time, it will inevitably lead to the lengthening of the time axis related to it, which obviously does not conform to Aesthetic requirements for simple and beautiful visualization. The spiral diagram proposed by the present invention can better solve this problem.
螺旋图广泛应用于表示周期性变化的时间序列数据。在较早1998年Carils等给出了一种可视化周期性时间序列数据的新型可视化形式,并介绍了几个螺旋可视化的实际应用。不同的可视化样式可以以螺旋图的样式排列布局在图表上,比如墨点图,三维环图,柱状图,这些实体的大小表示数值的大小。1999年Hewagamage等采用3D的螺旋形式在地理图片上展示时空性数据。2001年Weber等关注使用线条与颜色对时序性数据编码。当数据量较大时提出使用3D耳轮式螺旋展示数据。2002年Dragicevic等提出一种新型的可视化展示即将发生事件的方式——SpriaClock(螺旋时钟),它结合了螺旋图和时钟表现形式,能较好展示时序发生的一系列事件。2005年Tominski等提出在3D地图上展示3D耳轮螺旋图,它针对3D地图带来的信息隐藏提出了隧道视图查看更多耳轮螺旋图隐藏的信息,并提出将耳轮螺旋图进行颜色编码展示多个变量的数据的编码形式。2008年Tominski等提出使用TTPC编码方式对螺旋图颜色编码,使得数值对于用户更加清晰可辨。2012年Cheng等提出一种新颖的极平行坐标的方式可视化时间序列数据,并与传统平行坐标进行比较。极平行坐标可以展示更多的坐标,而且可以有效地展示时间序列数据的周期性特征。Spiral charts are widely used to represent time series data that changes periodically. In 1998, Carils et al. presented a new visualization form for visualizing periodic time series data, and introduced several practical applications of spiral visualization. Different visualization styles can be arranged and laid out on the chart in the style of spiral charts, such as ink dot charts, 3D ring charts, and histograms. The size of these entities represents the size of the value. In 1999, Hewagamage et al. used 3D spiral form to display spatiotemporal data on geographical pictures. In 2001, Weber et al. focused on encoding temporal data using lines and colors. When the amount of data is large, it is proposed to use 3D helix to display the data. In 2002, Dragicevic et al. proposed a new way of visually displaying upcoming events——SpriaClock (spiral clock), which combines spiral diagrams and clock representations, and can better display a series of events that occur in time sequence. In 2005, Tominski et al. proposed to display the 3D helix diagram on the 3D map. It proposed a tunnel view to view more information hidden in the helix diagram for the information hiding brought by the 3D map, and proposed to color-code the helix diagram to display multiple The encoded form of the variable's data. In 2008, Tominski et al. proposed to use TTPC coding method to color-code the spiral graph, so that the values are more clearly identifiable for users. In 2012, Cheng et al. proposed a novel way of polar parallel coordinates to visualize time series data and compared it with traditional parallel coordinates. Polar parallel coordinates can display more coordinates, and can effectively display the periodic characteristics of time series data.
发明内容Contents of the invention
鉴于现有的可视化形式比如平行坐标和桑基图,以及状态转换之间的路径耗时具有不确定性,本发明的目的是提供了一种在有限的空间内有效、简明显示状态转换间路径信息的方法——基于螺旋图的时间序列数据可视化方法。In view of the existing visualization forms such as parallel coordinates and Sankey diagrams, and the uncertainty of the time-consuming path between state transitions, the purpose of the present invention is to provide an effective and concise display of the path between state transitions in a limited space Methods of Information - A Spiral Graph-Based Method for Visualizing Time-Series Data.
具体实施步骤如下所示:The specific implementation steps are as follows:
一种基于螺旋图的时间序列数据可视化方法,顺序执行如下具体步骤:A time series data visualization method based on a spiral graph, which performs the following specific steps in sequence:
步骤1:输入具有状态集S={s1,...si,...sn},和状态间可达路径集L={L1,...Li,...Ln-1}的阶段性时间序列数据,其中,n为状态数量,si表示第i个状态,从状态i转换到状态i+1的过程称为阶段i,Li表示阶段i的可达路径;Step 1: The input has a set of states S={s 1 ,...s i ,...s n }, and a set of reachable paths between states L={L 1 ,...L i ,...L n -1 } phased time series data, where n is the number of states, s i represents the i-th state, the process of transitioning from state i to state i+1 is called stage i, and Li represents the reachable path of stage i ;
步骤2:根据状态集S状态属性设计状态圆环,包括状态圆环半径集R={r1,...ri,...rn},状态圆环宽度arcWidth,状态圆环颜色集Color={color1,...colori,...colorn};根据状态周期T设计的状态圆环坐标轴,其中,半径集R中元素ri表示状态si圆环的外半径,Color集中的元素colori表示状态si的颜色,状态集S表现为一系列同心圆环,圆心为(xo,yo);Step 2: Design the state ring according to the state attributes of the state set S, including the state ring radius set R={r 1 ,...r i ,...r n }, the state ring width arcWidth, and the state ring color set Color={color 1 ,...color i ,...color n }; the state ring coordinate axis designed according to the state cycle T, wherein, the element r i in the radius set R represents the outer radius of the state s i ring, The element color i in the Color set represents the color of the state s i , and the state set S is represented as a series of concentric rings with the center of (x o , y o );
步骤3:根据路径集L和状态集S,采用椭圆子线条完成路径的线路绘制,其中路径集L中各个阶段路径包括以下属性:路径的起始时间startTime,到达时间arriveTime,经历时间t。详细操作步骤如下:Step 3: According to the path set L and the state set S, use elliptical sub-lines to complete the line drawing of the path, where the path of each stage in the path set L includes the following attributes: the start time of the path startTime, the arrival time arriveTime, and the elapsed time t. The detailed operation steps are as follows:
步骤3.1:根据每条路径lik(i=1,2,...n-1;k=1,2,...pi;pi=|Li|)的起始时刻startTimeik,到达时刻arriveTimeik,得到位于状态si圆环上的起始位置坐标为(Sxik,Syik),位于状态si+1圆环的到达位置坐标为(Txik,Tyik);Step 3.1: According to the starting time startTime ik of each path li ik (i=1,2,...n-1; k=1,2,...p i ; p i =|L i |), Arrival time arriveTime ik , the coordinates of the starting position on the ring of state s i are (Sx ik , Sy ik ), and the coordinates of the arrival position on the ring of state s i+1 are (Tx ik , Ty ik );
步骤3.2:根据路径lik的历时tik,以及状态圆环周期T,求得路径螺旋线跨度△radianik=(tik/T)*2π,并将路径lik设计为由segmentik=(tik/T)*360段椭圆子线条构成;Step 3.2: According to the duration t ik of the path l ik and the period T of the state circle, obtain the path spiral span △radian ik =(t ik /T)*2π, and design the path li ik as segment ik =( t ik /T)*360 segments of elliptical sub-lines;
步骤3.3:阶段i半径跨度△ri=ri+1-arcWidth-ri分成segmentik段,每段半径跨度为△rik=△ri/segmentik,则椭圆子线条segikj(j=1,2,...segmentik)的短半轴为aikj=ri+△rik*(j-1),长半轴为bikj=ri+△rik*j,且椭圆的圆心与状态圆环圆心相同;Step 3.3: Phase i radius span △r i =r i+1 -arcWidth-r i is divided into segment ik segments, each segment radius span is △r ik =△r i /segment ik , then the ellipse sub-line seg ikj (j= 1,2,...segment ik ) has a minor semi-axis a ikj =ri +△r ik *(j-1), a major semi -axis b ikj = ri +△r ik *j, and the ellipse The center of the circle is the same as the center of the state ring;
步骤3.4:根据以上步骤绘制路径线条。Step 3.4: Draw path lines according to the above steps.
步骤4:路径lik的类型映射到区间[0,1]中得到l_typeik,并将l_typeik作为一元函数y=ax+b的自变量,得到的y即为lik的颜色colorik;Step 4: Map the type of path l ik to the interval [0,1] to obtain l_type ik , and use l_type ik as an argument of the unary function y=ax+b, and the obtained y is the color color ik of li ik ;
步骤5:根据阶段i中路径lik与阶段内其他路径的交叉点个数crossNumik,利用长尾函数求得路径的透明度transpik,其中crossNumik是自变量,transpik是因变量;Step 5: According to the intersection number crossNum ik of the path l ik in stage i and other paths in the stage, use the long-tail function Obtain the transparency transp ik of the path, where crossNum ik is the independent variable and transp ik is the dependent variable;
步骤6:进行交互设计。Step 6: Conduct interaction design.
采用这样的处理,本发明方法使用一个圆环表示一个状态,螺旋线表示状态间可达路径。该模型能够在有限的空间中,在不增加时间轴长度的情况下,有效展示任意时间长度的路径。采用基于长尾函数的透明度算法,根据一条路径与其他路径的交叉数,给每条路径分配透明度,从而降低路径交叉重叠带来杂乱度,同时有效保留了数据信息。并提供了路径的筛选,高亮,查看详细信息,缩放等功能,实现了灵活的交互操作。With such processing, the method of the present invention uses a circle to represent a state, and a spiral line represents a reachable path between states. The model can effectively display paths of any length in a limited space without increasing the length of the time axis. The transparency algorithm based on the long-tail function is used to assign transparency to each path according to the number of intersections between a path and other paths, thereby reducing the clutter caused by overlapping paths and effectively retaining data information. It also provides functions such as path filtering, highlighting, viewing detailed information, zooming, etc., and realizes flexible interactive operations.
与现有技术相比,本发明的积极效果是:Compared with prior art, positive effect of the present invention is:
一、现有表现时间序列的可视化方法不能确保状态间的可达路径表现在有限确定的空间内。而本发明将状态设置为圆环形式,每个圆环的半径都已确定,且状态间可达的路径确定在起始状态圆环与终止状态圆环之间的空间内,故可以处理任意时间长度的路径显示。First, the existing visualization methods for representing time series cannot ensure that the reachable paths between states are represented in a limited and definite space. However, the present invention sets the state in the form of a ring, the radius of each ring is determined, and the path that can be reached between the states is determined in the space between the initial state ring and the end state ring, so it can handle any The length of the path is displayed in time.
二、有限空间中展示较多的路径曲线产生较多的交叉点,本发现使用基于长尾函数的透明度设置算法,可以有效减少交叉点的个数,并可以通过一些交互手段完整清晰显示所有的可达路径。2. More path curves displayed in a limited space produce more intersections. We found that using a transparency setting algorithm based on long-tail functions can effectively reduce the number of intersections, and can display all the intersections completely and clearly through some interactive means. reachable path.
传统的时间序列可视化方法,不能在有限的空间内显示所有的路径。而本发现基于螺旋图的时间序列数据可视化方法可以高效地解决这个问题,并且能够完整地展示所有需要信息,并保证了展示图表的整洁和便捷性。Traditional time series visualization methods cannot display all paths in a limited space. However, the present invention finds that the time series data visualization method based on the spiral graph can efficiently solve this problem, and can completely display all the required information, and ensure the cleanliness and convenience of displaying the graph.
附图说明Description of drawings
图1是本发明主要步骤的工作框图。Fig. 1 is the working block diagram of main steps of the present invention.
图2是状态si示例图。Fig. 2 is an example diagram of state s i .
图3是多个状态可视化示例图。Figure 3 is an example diagram of multiple state visualizations.
图4是多个状态转换路径可视化示例图。Fig. 4 is an example diagram of visualization of multiple state transition paths.
图5是参数说明图。Fig. 5 is a parameter explanatory diagram.
图6是螺旋线透明度设置示例图。Figure 6 is an example diagram of the transparency setting of the spiral line.
图7是实验结果最终数据展示的结果图。Figure 7 is the result graph of the final data display of the experimental results.
鉴于专利说明书附图对彩色表达的限制,特作如下说明:In view of the restrictions on color expression in the drawings of the patent specification, the following explanations are specially made:
图1中圆环颜色为colori;The color of the circle in Figure 1 is color i ;
图2中圆环颜色的从内到外分别为color1,color2,color3;The colors of the rings in Figure 2 are color 1 , color 2 , and color 3 from the inside to the outside;
图3中阶段1中螺旋线l1k颜色为图2中color1到color2的过渡色;阶段2中螺旋线l2k颜色为图2中color2到color3的过渡色。The color of the spiral l 1k in stage 1 in Figure 3 is the transition color from color 1 to color 2 in Figure 2; the color of the spiral l 2k in stage 2 is the transition color from color 2 to color 3 in Figure 2.
图7中成都圆环颜色color1,西安圆环颜色color2,郑州圆环颜色color3;成都到西安列车的颜色为color1与color2的过渡色;西安到郑州列车的颜色为color2与color3的过渡色。In Fig. 7, the color of Chengdu circle is color 1 , the color of Xi'an circle is color 2 , and the color of Zhengzhou circle is color 3 ; the color of the train from Chengdu to Xi'an is the transition color between color 1 and color 2 ; the color of the train from Xi'an to Zhengzhou is color 2 and color 3 The transition color of color 3 .
具体实施方式Detailed ways
具体实施步骤如下所示:The specific implementation steps are as follows:
步骤1:输入具有状态集S={s1,...si,...sn},和状态间可达路径集L={L1,...Li,...Ln-1}的阶段性时间序列数据,其中,n为状态数量,si表示第i个状态,从状态i转换到状态i+1的过程称为阶段i,Li表示阶段i的可达路径;Step 1: The input has a set of states S={s 1 ,...s i ,...s n }, and a set of reachable paths between states L={L 1 ,...L i ,...L n -1 } phased time series data, where n is the number of states, s i represents the i-th state, the process of transitioning from state i to state i+1 is called stage i, and Li represents the reachable path of stage i ;
步骤2:根据状态集S的属性设计状态圆环,包括状态圆环半径集R={r1,...ri,...rn},状态圆环宽度arcWidth,状态圆环颜色集Color={color1,...colori,...colorn};根据状态周期T设计的状态圆环坐标轴,其中,半径集R中元素ri表示状态si圆环的外半径,Color集中的元素colori表示状态si的颜色,状态集S表现为一序列同心圆环,圆心为(xo,yo);Step 2: Design the state ring according to the attributes of the state set S, including the state ring radius set R={r 1 ,...r i ,...r n }, the state ring width arcWidth, and the state ring color set Color={color 1 ,...color i ,...color n }; the state ring coordinate axis designed according to the state cycle T, wherein, the element r i in the radius set R represents the outer radius of the state s i ring, The element color i in the Color set represents the color of the state s i , and the state set S is represented as a sequence of concentric rings, the center of which is (x o , y o );
步骤3:根据路径集L和状态集S,采用椭圆子线条完成路径的线路绘制,其中路径集L中各个阶段中路径包括以下属性:路径的起始时间startTime,到达时间arriveTime,经历时间t。Step 3: According to the path set L and the state set S, use elliptical sub-lines to complete the line drawing of the path. The path in each stage in the path set L includes the following attributes: the start time of the path startTime, the arrival time arriveTime, and the elapsed time t.
阶段i的一条可达路径lik(起始时间startTimeik,到达时间arriveTimeik,历时tik)的起始位置(Sxik,Syik)为到达位置(Txik,Tyik)为The starting position (Sx ik , Sy ik ) of a reachable path l ik (start time startTime ik , arrival time arriveTime ik , duration t ik ) of stage i is The arrival position (Tx ik , Ty ik ) is
路径lik可视化为螺旋线形式,其由segmentik段子线条构成,每条子线条由一段椭圆弧segikj构成,每个椭圆弧的短半轴aikj=ri+△rik*(j-1)和长半轴的bikj=ri+△rik*j,segikj的终点位置(Txikj,Tyikj)即segik(j+1)的起始位置(Sxik(j+1),Syik(j+1))为其中△aglik=△radianik/segmentik。The path l ik is visualized in the form of a spiral line, which is composed of segment ik segment sub-lines, each sub-line is composed of a section of elliptical arc seg ikj , and the minor semi-axis a ikj of each elliptical arc = r i + △ r ik *(j-1 ) and b ikj of the long semi-axis = r i +△r ik *j, the end position of seg ikj (Tx ikj , Ty ikj ) is the starting position of seg ik(j+1) (Sx ik(j+1) , Sy ik(j+1) ) is Where Δagl ik = Δradian ik /segment ik .
步骤4:路径lik类型映射到区间[0,1]中为l_typeik,并将l_typeik作为一元函数y=ax+b的自变量,得到因变量lik的颜色colorik。Step 4: The type of path l ik is mapped to the interval [0,1] as l_type ik , and l_type ik is used as the independent variable of the unary function y=ax+b to obtain the color color ik of the dependent variable li ik .
由状态si的颜色为colori,状态si+1的颜色为colori+1,则可得到lik的颜色为colorik=(colori+1-colori)*l_typeik+colori。Since the color of state s i is color i and the color of state s i+1 is color i+1 , then the color of li ik can be obtained as color ik =(color i+1 -color i )*l_type ik +color i .
步骤5:根据算法求得路径lik和路径lip是否交叉,可以求得阶段i内路径lik与其余路径的交叉点的个数crossNumik,利用长尾函数求得路径的透明度transpik。通过设置路径的最大透明度transpMaxi,最小透明度transpMini,并求得阶段i内路径交叉点最大为crossNumMaxi,最小为crossNumMini,则Step 5: According to the algorithm To find out whether the path l ik and the path l ip intersect, you can find the number crossNum ik of intersections between the path l ik and other paths in stage i, and use the long-tail function Find the transparency transp ik of the path. By setting the maximum transparency transpMax i and the minimum transparency transpMin i of the path, and obtaining the maximum crossNumMax i and the minimum crossNumMin i of the path intersection points in stage i , then
步骤6:进行交互设计,包括:分区段高亮显示阶段i内各个时间区间内的路径,高亮显示一条路径并显示路径详情。Step 6: Perform interactive design, including: highlighting the paths in each time interval in stage i by segment, highlighting a path and displaying the path details.
本发明设计了一个能够在有限的空间内有效显示任意时间长度以及任意数量的路径的方法,状态间的路径存在于状态圆环之间,并根据路径之间的交叉点个数,依据长尾函数判断路径的透明度改善大量路径给用户查看带来的杂乱感。The present invention designs a method that can effectively display any length of time and any number of paths in a limited space. The paths between states exist between the state rings, and according to the number of intersections between paths, according to the long tail The function judges the transparency of the path to improve the clutter caused by a large number of paths to the user.
为了验证本发明的有效性,将基于螺旋图的阶段性时间序列可视化模型应用于中国铁路数据,旨在为用户选择需要转车的路线提供决策支持。In order to verify the effectiveness of the present invention, the staged time series visualization model based on the spiral graph is applied to Chinese railway data, aiming to provide decision support for users to choose the route that needs to transfer.
实验数据来自中国铁路售票网www.12306.cn,定义事件为从成都经西安到达郑州的行程。则状态集S为{成都,西安,郑州},且l1k(k=1,2,...,11),l2k(k=1,2,...,68),即成都到西安有11班列车可达,西安到郑州有68班列车可达。列车数据含有出发时间、到站时间、历时,班次。根据列车数据的时间特性,状态的周期设为24小时。特别地,在列车数据中,由于列车的发车时间在24小时中并不是均匀分布的,结合发车时间的分布情况与人们出行的习惯,将周期T分为每段时长为3小时的8段。The experimental data comes from the China Railway Ticketing Network www.12306.cn, and the event is defined as the itinerary from Chengdu to Zhengzhou via Xi'an. Then the state set S is {Chengdu, Xi'an, Zhengzhou}, and l 1k (k=1,2,...,11), l 2k (k=1,2,...,68), that is, from Chengdu to Xi'an There are 11 trains available, and 68 trains from Xi'an to Zhengzhou. Train data contains departure time, arrival time, duration, and frequency. According to the time characteristics of the train data, the period of the state is set to 24 hours. In particular, in the train data, since the departure time of trains is not evenly distributed in 24 hours, combining the distribution of departure time and people's travel habits, the period T is divided into 8 segments with a duration of 3 hours.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710095028.1A CN106846437B (en) | 2017-02-22 | 2017-02-22 | A kind of time series data method for visualizing based on spiral figure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710095028.1A CN106846437B (en) | 2017-02-22 | 2017-02-22 | A kind of time series data method for visualizing based on spiral figure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106846437A CN106846437A (en) | 2017-06-13 |
CN106846437B true CN106846437B (en) | 2019-11-05 |
Family
ID=59134310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710095028.1A Active CN106846437B (en) | 2017-02-22 | 2017-02-22 | A kind of time series data method for visualizing based on spiral figure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106846437B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108628957B (en) * | 2018-04-13 | 2021-06-15 | 西南交通大学 | A time interval-based spiral graph visualization curve binding method |
CN108596907B (en) * | 2018-05-10 | 2021-06-15 | 安徽农业大学 | A visualization method for the evolution of wheat stripe rust |
CN109445782B (en) * | 2018-09-20 | 2021-10-12 | 新华三大数据技术有限公司 | Method and device for generating annular proportion chart |
CN112948385B (en) * | 2021-03-02 | 2024-02-13 | 深圳大学 | Display method and device for sequence data distribution, storage medium and terminal equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5187697A (en) * | 1989-06-12 | 1993-02-16 | Pioneer Electronic Corporation | Method of reading recorded information from information storage medium with tracks |
JP2003134470A (en) * | 2001-10-23 | 2003-05-09 | Fuji Photo Film Co Ltd | Image playback device |
CN1678238A (en) * | 2002-08-27 | 2005-10-05 | 大日本制药株式会社 | Vital sign display device and method thereof |
CN101677795A (en) * | 2007-07-20 | 2010-03-24 | 混沌技术研究所 | Constellation graph record display device and its method |
CN103988158A (en) * | 2011-12-12 | 2014-08-13 | 国际商业机器公司 | System, device, and method for processing of three-dimensional time series data |
CN104750837A (en) * | 2015-04-03 | 2015-07-01 | 北京工商大学 | Visualization method and system for growth type time series data |
-
2017
- 2017-02-22 CN CN201710095028.1A patent/CN106846437B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5187697A (en) * | 1989-06-12 | 1993-02-16 | Pioneer Electronic Corporation | Method of reading recorded information from information storage medium with tracks |
JP2003134470A (en) * | 2001-10-23 | 2003-05-09 | Fuji Photo Film Co Ltd | Image playback device |
CN1678238A (en) * | 2002-08-27 | 2005-10-05 | 大日本制药株式会社 | Vital sign display device and method thereof |
CN101677795A (en) * | 2007-07-20 | 2010-03-24 | 混沌技术研究所 | Constellation graph record display device and its method |
CN103988158A (en) * | 2011-12-12 | 2014-08-13 | 国际商业机器公司 | System, device, and method for processing of three-dimensional time series data |
CN104750837A (en) * | 2015-04-03 | 2015-07-01 | 北京工商大学 | Visualization method and system for growth type time series data |
Non-Patent Citations (3)
Title |
---|
Visualizing Time-Series on Spirals;Marc Weber et al;《Proceedings of the IEEE Symposium on Information Visualization 2001》;20011231;第1-7节 * |
基于桑基图的时间序列文本可视化方法;姜婷婷;《计算机应用研究》;20160930;第33卷(第9期);第2683-2692页 * |
时间序列数据可视化研究综述;戚陆月;《微型机与应用》;20151231;第34卷(第12期);第7-10页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106846437A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106846437B (en) | A kind of time series data method for visualizing based on spiral figure | |
Hogräfer et al. | The state of the art in map‐like visualization | |
Kamal et al. | Recent advances and challenges in uncertainty visualization: a survey | |
Hurter et al. | Bundled visualization of dynamicgraph and trail data | |
Chen et al. | Exploring the design space of immersive urban analytics | |
CN105101093B (en) | A kind of network topology method for visualizing on geographical location information | |
CN106354760A (en) | Deforming statistical map based multi-view spatio-temporal data visualization method and application | |
WO2017202294A1 (en) | Method for dynamically displaying pictures, electronic device and storage medium | |
WO2015074575A1 (en) | Method and apparatus for obtaining three-dimensional thermodynamic diagram | |
Doraiswamy et al. | Interactive visual exploration of spatio-temporal urban data sets using urbane | |
CN106575158A (en) | Environmentally mapped virtualization mechanism | |
CN111035925B (en) | Method and device for generating virtual traffic road network model in game and electronic device | |
CN104866121A (en) | Drawing system and drawing method for three-dimensional model | |
Hong et al. | Traffigram: Distortion for clarification via isochronal cartography | |
Wong et al. | A space-filling visualization technique for multivariate small-world graphs | |
Hildebrandt et al. | An assisting, constrained 3D navigation technique for multiscale virtual 3D city models | |
CN109669751A (en) | Input box drawing method and device, terminal and computer storage medium | |
CN113535872B (en) | An Object-Based Visualization Method for Multi-granularity Formation Movement | |
US10885684B2 (en) | Estimation results display system, estimation results display method, and estimation results display program | |
Schmauder et al. | Visualizing Dynamic Weighted Digraphs with Partial Links. | |
CN104268915A (en) | Real-time contour beautifying method of handwritten Chinese characters | |
Sassa et al. | 3D visualization of network including nodes with labels | |
Zhang et al. | Visualizing 2-dimensional manifolds with curve handles in 4d | |
Zheng et al. | Visual analysis of bi-directional movement behavior | |
Burch et al. | Partial link drawings for nodes, links, and regions of interest |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210209 Address after: No. 2423, 24 / F, building 1, No. 500, jiaozi Avenue, high tech Zone, Chengdu, Sichuan 610000 Patentee after: SICHUAN YULINTU INFORMATION TECHNOLOGY Co.,Ltd. Address before: 610031 science and Technology Development Research Institute, Southwest Jiao Tong University, Chengdu Western hi tech park, Sichuan Patentee before: SOUTHWEST JIAOTONG University |
|
TR01 | Transfer of patent right | ||
CP01 | Change in the name or title of a patent holder |
Address after: No. 2423, 24 / F, building 1, No. 500, jiaozi Avenue, high tech Zone, Chengdu, Sichuan 610000 Patentee after: Fish scale information technology Co.,Ltd. Address before: No. 2423, 24 / F, building 1, No. 500, jiaozi Avenue, high tech Zone, Chengdu, Sichuan 610000 Patentee before: SICHUAN YULINTU INFORMATION TECHNOLOGY Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |