用过程线的形式来表示时序数据,是许多信息系统均采用的通用方式。以水利领域为背景,选取水文过程线功能构件为研究对象,根据领域内构件复用规模和范围有限的特点,参照轻量级体系结构,按小容量、多层次和应用灵活方便的原则,建立了既可存贮原子构件,又支持构件复合与应用的水文过程线构件库。通过配置,对构件库进行了多种层次、多种类型构件的复合与组装测试,证实了建立过程线构件库的方法在提高领域软件复用程度方面的可行性。
In many information systems, time-series data is shown by hydrograph. Taking water resources as background and hydrograph functional components as research object, we created a hydrograph component library according to characteristics of limited scale and extent of component reuse in domain software, lightweight reference architecture, and the principle of low-power, multi-level, and flexibility & convenience. The library not only can store basic components, but also can support component composition and application. Through configuration, multi-level and multi-type component composition and assembly test are made to confirm the feasibility that method of setting up the component library can improve software reuse level.