摘要
语境context也称为上下文。针对Web语境敏感页面设计的复杂性问题,遵循EVP原则并借鉴COP,提出一种面向语境风格(COS,Context-Oriented Style)的页面分层语法。给出COS页面转换框架并说明其工作原理。区别于COP语言,COS在当前Web页面标签语言基础上设计了一种层槽语法,采用四元组来描述页面元素的变化,并设计实现一个解释器来实施变化。不同于传统的以元素为中心的页面描述方式,COS特点是语境条件为中心。通过实例验证COS方案简单有效,并具有语境变化适应性,同时增强安全控制的可验证性。
For the problem ol Web context-aware page design complexity,follow the EVP principle and COP lor reference, this paper puts forward a context - oriented style page-layered syntax. The transformation framework of COS page and its working principle are given out. Different from COP language,COS design a layer-slot grammar based on current Web page markup language, the form of four-tuple is used to describe the change of page elements,also it designs and implements a interpreter to implement change. Different from the traditional elements centered page description way, the characteristics of the COS are the context condition as the center. T he instances show that COS scheme is simple and effective, and has the context changes adaptability, at the same time, strengthens the verifiability of security control.
出处
《信息技术》
2017年第2期141-145,共5页
Information Technology