计算机应用 ›› 2020, Vol. 40 ›› Issue (4): 1127-1132.DOI: 10.11772/j.issn.1001-9081.2019091672

• 计算机软件技术 • 上一篇    下一篇

基于Web的动态几何软件领域模型及其应用

管皓1,2, 秦小林1,2, 饶永生3, 曹晟4   

  1. 1. 中国科学院大学 计算机科学与技术学院, 北京 100049;
    2. 中国科学院 成都计算机应用研究所, 成都 610041;
    3. 广州大学 计算科技研究院, 广州 510006;
    4. 电子科技大学 信息与软件工程学院, 成都 610054
  • 收稿日期:2019-09-30 修回日期:2019-11-22 出版日期:2020-04-10 发布日期:2019-12-06
  • 通讯作者: 秦小林
  • 作者简介:管皓(1991-),男,四川南充人,博士研究生,主要研究方向:计算机图形学、智能教育软件;秦小林(1980-),男,重庆人,研究员,博士,主要研究方向:自动推理、群智能、计算机数学;饶永生(1980-),男,江西抚州人,讲师,博士,主要研究方向:计算机图形学、智能教育软件;曹晟(1981-),男,湖北武汉人,副教授,博士,主要研究方向:智能教育、区块链。
  • 基金资助:
    国家自然科学基金资助项目(11701118);四川省科技计划项目(2018GZDZX0041)。

Domain model of Web-based dynamic geometry software and its applications

GUAN Hao1,2, QIN Xiaolin1,2, RAO Yongsheng3, CAO Sheng4   

  1. 1. School of Computer Science and Technology, University of Chinese Academy of Sciences, Beijing 100049, China;
    2. Chengdu Institute of Computer Application, Chinese Academy of Sciences, Chengdu Sichuan 610041, China;
    3. Institute of Computing Science and Technology, Guangzhou University, Guangzhou Guangdong 510006, China;
    4. School of Information and Software Engineering, University of Electronic Science and Technology of China, Chengdu Sichuan 610054, China
  • Received:2019-09-30 Revised:2019-11-22 Online:2020-04-10 Published:2019-12-06
  • Supported by:
    This work is partially supported by the the National Natural Science Foundation of China(11701118),the Sichuan Science and Technology Program(2018GZDZX0041).

摘要: 动态几何软件以其动态、直观的特点广泛应用于几何约束作图。针对数据结构缺乏对动态几何领域内可复用的抽象描述的问题,提出一种动态几何软件领域模型的设计方法。首先经过领域分析来识别并划分出最基本的上下文边界,然后通过领域模型设计得到动态几何软件核心领域模型,最后在体系结构建模过程中,在纵向与横向两个维度对动态几何软件进行解耦。实验结果表明,利用该领域模型设计方法研发的动态几何软件能正确地处理图形在临界位置退化的情形。该模型表达的领域知识同时适用于二维及三维的动态几何软件,并支持对不同设备分别设计布局与交互,实现了领域知识的高层次复用。

关键词: 动态几何, 软件方法, 领域模型, 几何约束求解

Abstract: Dynamic geometry software is widely applied to geometric constraint constructions because it is dynamic and intuitive. Aiming at a problem that the data structures in the field of dynamic geometry lack reusable abstract descriptions,a design method of the dynamic geometric software domain model was proposed. Firstly,the basic context boundaries were identified and outlined by means of domain analysis. Then,a dynamic geometry software core domain model was designed through the domain model. Finally,the dynamic geometry software was decoupled in both vertical and horizontal dimensions during the architecture modeling process. Experimental results show that the dynamic geometry software developed by using the design method of the proposed domain model can correctly deal with the graphic degradation situation at a critical position. The domain knowledge expressed by the model is applicable to 2D and 3D dynamic geometry software at the same time,and can design the layout and interaction for different devices respectively,thus a high-level reuse of the domain knowledge is achieved.

Key words: dynamic geometry, software method, domain model, geometric constraint solving

中图分类号: