适配器与装饰者模式思想在结构化数据处理中的应用  被引量:1

Application of Adapter and Decorator Pattern Thought in Structured Data Processing

在线阅读下载全文

作  者:高升 方英兰[1] 韩兵[1] 田琳 GAO Sheng;FANG Yinglan;HAN Bing;TIAN Lin(Beijing Key Laboratory on Integration and Analysis of Large-scale Stream Data,100144,Beijing,China;Beijing Municipal Road and Bridge Limited Company,100071,Beijing,China)

机构地区:[1]北方工业大学大规模流数据集成与分析技术北京市重点实验室,北京100144 [2]北京市政路桥股份有限公司,北京100071

出  处:《北方工业大学学报》2020年第2期105-109,116,共6页Journal of North China University of Technology

基  金:国家自然科学基金面上项目“支持流式大数据实时联动的数据服务模型及方法研究”(61672042).

摘  要:为了解决大规模软件应用拆分后模块间数据通信逻辑复杂度高的问题,本文提出了一种用于结构化数据处理的方法,该方法应用适配器及装饰者模式的思想,将数据处理的逻辑拆分为适配器处理格式、装饰器增强数据、正式数据处理3个步骤,每一步骤之间功能独立,有更好的扩展性和复用性.实践结果证明,该方法使大规模数据处理的逻辑实现具有更高的灵活度和更少的代码量.In order to solve the problem of high complexity of data communication between modules after splitting large-scale software applications, this paper proposes a method for structured data processing with the idea of adapter mode and decorator mode. The logical disassembly of data processing is divided into three steps: adapter processing format, decorator enhanced data, and formal data processing. The function is independent between the steps, thus it has better scalability and reusability. The practical results prove that this method makes the logic implementation of large-scale data processing more flexible and needs less amount of code.

关 键 词:设计模式 逻辑拆分 适配器模式 装饰者模式 结构化数据 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象