检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:曹为华[1] 凌强[1] 张雷[1] 徐骏[1] 范寅
机构地区:[1]中国科学技术大学自动化系,安徽合肥230027 [2]科大国祯合肥城市云数据中心有限公司,安徽合肥230088
出 处:《微型机与应用》2015年第23期91-94,共4页Microcomputer & Its Applications
基 金:国家自然科学基金(61273112)
摘 要:目前商用Wi Fi路由器已应用到多个领域,商家通过给用户提供一个稳定免费Wi Fi热点达到吸引客户、提升服务的目标。传统路由器自带的Luci界面提供了工厂模式的Web界面,用户可通过该界面配置路由器。Luci采用MVC模式(Model-View-Controller)构造网页,能实现动态的程序设计,便于修改和扩展。本文主要针对Open Wrt系统的路由器,介绍如何使用Lua和Java Script脚本语言添加用户模式Web界面。此外,还介绍了工厂模式和用户模式之间的切换、添加Web页面的方法,给出了一些应用实例。Commercial WiFi routers have been implemented into many areas now. By providing customers with a stable free WiFi, vendors attempt to attract more customers and improve their service quality. Traditional ruuters provide factory mode Web interface by Luci. Users can configure touters via the supplied interface. Luci chooses the MVC pattern (Model-View-Controller) to construct web-pages, can achieve the goal of designing programs online, modifying or expanding programs very conveniently. This paper mainly focuses on the OpenWrt-based routers, introduces how to add user-mode and Web interface by using JavaScript and Lua scripting language. Moreover, the switch between the factory mode and user mode and adding Web pages are also introduced in this paper. Some examples are given.
关 键 词:OpenWrt系统 LUA WEB界面 模式切换 MVC
分 类 号:TP368[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.36