The invention discloses a method including the steps of embedded system WEB server using the external serial FLASH page storage method: A: modify \position relation table; B: when the page is requested, the read function redirected to the serial FLASH WEB server using web capture function to read web. Through the serial FLASH expansion in low cost, when the WEB server on the user request, by modifying the WEB server code, the program automatically go out to get a serial FLASH web data, so as to achieve a WEB page storage basic unrestricted space system program method, using this method can easily achieve rich content WEB \in the 51 scm.
【技术实现步骤摘要】
本专利技术涉及通讯
,尤其涉及一种嵌入式系统WEB服务器使用外部串行 FLASH网页存储方法。
技术介绍
现有的,嵌入式系统中越来越多的产品采用WEB作为访问和控制界面。然而对于 以51单片机或内嵌少量RAM/FLASH的处理器组成的微型嵌入式系统而言,程序存储空间 ROM或FLASH是十分宝贵的资源。如何在这些微型系统中存储丰富的WEB页面成为人们的 一大难题。目前大多数设计者主要是通过简化WEB网页内容,降低网页复杂度,尽量少用或 不用图片来达到实现WEB的目的。
技术实现思路
本专利技术要解决的技术问题是提供一种嵌入式系统WEB服务器使用外部串行FLASH 网页存储方法。 为解决上述技术问题,本专利技术的目的是通过以下技术方案实现的。 —种嵌入式系统WEB服务器使用外部串行FLASH网页存储方法,包括步骤 a :修改网页位置关系表; b :当网页被请求时,通过将读取函数重新定向到串行FLASH, WEB服务器利用网页 获取函数读取网页。 其中,步骤a具体包括将网页位置关系表的文件位置和长度修改成串行FLASH中 对应网页的文件位置和长度。 其中,步骤b ...
【技术保护点】
一种嵌入式系统WEB服务器使用外部串行FLASH网页存储方法,其特征在于,包括步骤:a:修改网页位置关系表;b:当网页被请求时,通过将读取函数重新定向到串行FLASH,WEB服务器利用网页获取函数读取网页。
【技术特征摘要】
一种嵌入式系统WEB服务器使用外部串行FLASH网页存储方法,其特征在于,包括步骤a修改网页位置关系表;b当网页被请求时,通过将读取函数重新定向到串行FLASH,WEB服务器利用网页获取函数读取网页。2. 根据权利要求1所述的嵌入式系统WEB服务器使用外部串行FLASH网页存储方法, 其特征在于,步骤...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。