arrow
返回

Context-Oriented Behavioral Programming

delete2021-05-01
delete16
delete
OA
AI
A
Achiya Elyasaf *
DOI:10.1016/j.infsof.2020.106504delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Context: Modern systems require programmers to develop code that dynamically adapts to different contexts, leading to the evolution of new context-oriented programming languages. These languages introduce new software-engineering challenges, such as: how to maintain the separation of concerns of the codebase? how to model the changing behaviors? how to verify the system behavior? and more. Objective: This paper introduces Context-Oriented Behavioral Programming (COBP) - a novel paradigm for developing context-aware systems, centered on natural and incremental specification of context-dependent behaviors. As the name suggests, we combine behavioral-programming (BP) - a scenario-based modeling paradigm - with context idioms that explicitly specify when scenarios are relevant and what information they need. The core idea is to connect the behavioral model with a data model that represents the context, allowing an intuitive connection between the models via update and select queries. Combining behavioral-programming with context-oriented programming brings the best of the two worlds, solving issues that arise when using each of the approaches in separation. Methods: We begin with providing abstract semantics for COBP and two implementations for the semantics, laying the foundations for applying reasoning algorithms to context-aware behavioral programs. Next, we exemplify the semantics with formal specifications of systems, including a variant of Conway's Game of Life. Then, we provide two case studies of real-life context-aware systems (one in robotics and another in IoT) that were developed using this tool. Throughout the examples and case studies, we provide design patterns and a methodology for coping with the above challenges. Results: The case studies show that the proposed approach is applicable for developing real-life systems, and presents measurable advantages over the alternatives - behavioral programming alone and context-oriented programming alone. Conclusion: We present a paradigm allowing programmers and system engineers to capture complex context-dependent requirements and align their code with such requirements.
Keyword:
Behavioral programming
Scenario-based programming
Programming paradigm
Context awareness
Context-oriented programming
Context-Oriented Behavioral Programming
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
Semantics for consistent activation in context-oriented systems面向上下文的系统中用于一致激活的语义
err2015-02-01
err7
PREAI
errCardozo, Nicolas; Gonzalez, Sebastian; Mens, Kim; Van Der Straeten, Ragnhild; Vallejos, Jorge; D'Hondt, Theo
err分享
err收藏
Precise slicing of interprocedural concurrent programs
err2017-03-17
err1
PREAI
errLi, Xuansong; Tao, Xianping; Lu, Jian
err分享
err收藏

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
9.5K

机构

B
Ben-Gurion University of the Negev
学者数:
807
论文数: 350
被引数: 1.6K
引用论文

引用论文

err分享
err收藏
Associations of pri-miR-34b/c and pre-miR-196a2 Polymorphisms and Their Multiplicative Interactions with Hepatitis B Virus Mutations with Hepatocellular Carcinoma Risk
err2013-03-13
err0
errOAAI
errYifang Han; Rui Pu; Xue Han; Jun Zhao; Yuwei Zhang; Qi Zhang; Jianhua Yin; Jiaxin Xie; Qiuxia Shen; Yang Deng; Yibo Ding; Weiping Li; Juhong Li; Hongwei Zhang; Guangwen Cao
err分享
err收藏
Assessing the role of the RND efflux pump in metronidazole resistance of Helicobacter pylori by RT-PCR assay
err2010-10-19
err0
errOAAI
errJalil Fallah Mehrabadi; Mehrandokht Sirous; Naser Ebrahimi Daryani; Saeed Eshraghi; Bahram Akbari; Mohammad Hasan Shirazi
err分享
err收藏
A Hybrid Mock Circulatory Loop for Fluid Dynamic Characterization of 3D Anatomical Phantoms
err2023-05-01
err0
PREAI
errFrancesco Bardi; Emanuele Gasparotti; Emanuele Vignali; Stéphane Avril; Simona Celi
err分享
err收藏
Thermodynamics of binary gas adsorption in nanopores
err2016-01-01
err0
PREAI
errSujeet Dutta; Ronan Lefort; Denis Morineau; Ramona Mhanna; Odile Merdrignac-Conanec; Arnaud Saint-Jalmes; Théo Leclercq
err分享
err收藏
Semantics for consistent activation in context-oriented systems面向上下文的系统中用于一致激活的语义
err2015-02-01
err7
PREAI
errCardozo, Nicolas; Gonzalez, Sebastian; Mens, Kim; Van Der Straeten, Ragnhild; Vallejos, Jorge; D'Hondt, Theo
err分享
err收藏
学者 查看更多内容