CN106559475A - A kind of Programmable Embedded web server - Google Patents

A kind of Programmable Embedded web server Download PDF

Info

Publication number
CN106559475A
CN106559475A CN201610858463.0A CN201610858463A CN106559475A CN 106559475 A CN106559475 A CN 106559475A CN 201610858463 A CN201610858463 A CN 201610858463A CN 106559475 A CN106559475 A CN 106559475A
Authority
CN
China
Prior art keywords
control logic
web server
embedded
interface
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610858463.0A
Other languages
Chinese (zh)
Inventor
杨劲秋
文世挺
马龙华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Institute of Technology of ZJU
Original Assignee
Ningbo Institute of Technology of ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Institute of Technology of ZJU filed Critical Ningbo Institute of Technology of ZJU
Priority to CN201610858463.0A priority Critical patent/CN106559475A/en
Publication of CN106559475A publication Critical patent/CN106559475A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The present invention discloses a kind of Programmable Embedded web server, and which includes:Control logic editing machine;Control logic scheme is generated for entering edlin to the control logic of required control object;Interface editor;Skins are generated for entering edlin to the controlling interface of web server;Collaboration compiler;For the interface assembly that described with C language according to control logic scheme and skins generation and control logic component;Cross-compiler:For by the built-in module of interface assembly and the generating run of control logic component and embedded platform.The present invention causes the equal editable of the control logic of embedded web server and interface, user voluntarily generate embedded web server according to the demand for control of oneself by arranging control logic editing machine and interface editor.

Description

A kind of Programmable Embedded web server
Technical field
The present invention relates to communication technical field, more particularly to a kind of Programmable Embedded web server.
Background technology
Embedded web server refers to the web server realized based on embedded system.Web server is webpage clothes Business device, for storing web page contents when using IE or other browser access webpages.Embedded web server is referred to embedded The web server realized in formula system, which can be by browser access and controls such as IE.
Existing embedded web server is widely used in the fields such as all kinds of smart homes, intelligence production, wisdom traffic The equipment detection of conjunction and control.Compared with traditional programmable logic controller (PLC) PLC, the convenient deployment of embedded web server and Access, user passes through computer or mobile phone may have access to, control.But as existing embedded web server is in deployment Each module has set before, and user is only capable of changing some parameters on the framework put up at which, and can not be to embedding Entering interface or control logic of each module of formula web server etc. carries out deep layer modification, therefore existing embedded web server Be not as convenient as PLC in terms of programmability.
The content of the invention
The technical problem to be solved is, for the above-mentioned deficiency of prior art, proposes that one kind conveniently can make User enters edlin while being easy to the editable embedded web server disposed.
The present invention solves its technical problem, and the technical scheme of employing is to propose a kind of editable embedded web server, Which includes:
Control logic editing machine;Control logic scheme is generated for entering edlin to the control logic of required control object;
Interface editor;Skins are generated for entering edlin to the controlling interface of web server;
Collaboration compiler;For the interface assembly that described according to control logic scheme and skins generation C language and Control logic component;
Cross-compiler:For by embedded group of interface assembly and the generating run of control logic component and embedded platform Part.
Further, the control object is intelligent appliance.
Further, the control logic includes:Control object opens and closes condition and/or control object function selecting Condition.
Further, the controlling interface includes figure or word.
Further, also including embedded web server maker;For the built-in module for generating cross-compiler It is downloaded on embedded platform.
The present invention causes the control logic of embedded web server by arranging control logic editing machine and interface editor With the equal editable in interface, user can voluntarily generate embedded web server according to the demand for control of oneself.
Description of the drawings
System construction drawings of the Fig. 1 for embedded web server;
Fig. 2 is Programmable Embedded web server structure chart of the present invention.
Specific embodiment
The following is the specific embodiment of the present invention and combine accompanying drawing, technical scheme is further described, But the present invention is not limited to these embodiments.
Fig. 1 is refer to, embedded web server system is made up of browser, embedded platform and three part of control device.
Wherein, browser can be existing all kinds of browsers, the IE browser for for example using on computers, Google's browser Deng, alternatively in mobile device, such as all kinds of browsers used on mobile phone, panel computer.
Embedded platform may be based on the platform of single-chip microcomputer or other microprocessor developings.
Control device can be existing all kinds of electromechanical equipments, and such as motor, smart home, shooting are first-class.
In the present embodiment, control device is mainly all kinds of intelligent appliances, such as intelligent electric cooker, intelligent washing machine, intelligence Bulb etc..The demand for control of those intelligent appliances is equally fixed without image of Buddha industrial equipment, and different user are to different intelligence Household electrical appliances have different demands for control, so that the programmable functions of embedded web server become the function of urgent need to resolve.
Web server is generally made up of http resolvers, interface (CGI) component and three part of control logic component.
Wherein, interface assembly is responsible for auto-building html files, namely the web interface being finally illustrated on user display screen.
Http resolvers are responsible for http protocol analysis, for becoming when control generating states such as the data or button on webpage During change, send after the state change is unpacked to control logic component.
The operation then according to user on interface assembly of control logic component is sending control instruction to control object.
The interface assembly and control logic component of traditional web server is and is built in web server and can not change Become.For example it is used for controlling the web server of router, user controls the page (interface group by the router that browser is entered Part) cannot change, when controlling a certain button of the page or change the status values of the router control page by clicking on router The control instruction for sending cannot change.
Fig. 2 is refer to, Fig. 2 shows the system architecture diagram of Programmable Embedded web server in the present embodiment.In Fig. 2, Programmable Embedded web server includes:
Control logic editing machine, generates control logic scheme for entering edlin to the control logic of required control object.
Those control logics can be control object open and close condition, a certain functional realiey condition of control object Deng.For example for intelligent curtain, some user think in the morning 9 points and do not rain in the case of open, and some use Person think in the morning 12 points and rain in the case of just open.Now control object be curtain control logic it is significantly different.Use Person can enter edlin by control logic editing machine and ultimately generate a set of control logic scheme to those control logics.
Interface editor, generates skins for entering edlin to the controlling interface of web server.Interface editor master It is used to edit the final controlling interface for presenting on a web browser.The controlling interface is typically by figure, word or video, sound Deng composition.For example when controlling intelligent bulbs, some user want using the bulb figure of electric filament lamp that as button is clicked on some make User is want using daylight lamp figure as click button.Now interface editor can be adjusted according to user demand.
Due to the generation in respective editing environment respectively of control logic editing machine and interface editor, in order to allow the two Author language can meet the demand of embedded platform, also include by collaboration compiler.
The interface assembly and control that collaboration compiler is described according to control logic scheme and skins generation C language is patrolled Collect component.
C language is existing general programming language, can generally be common to all kinds of embedded platforms.
Compiler is cooperateed with to generate the interface combinations and control logic component of C language description rather than directly life in the present embodiment Into the built-in module of embedded platform demand, the person of being easy to use is widely used in all kinds of embedded platforms.
Also include cross-compiler, for interface combinations that C language is described and the generating run of control logic component with it is embedding Enter the built-in module of formula platform.
Also include embedded web server maker;Built-in module for cross-compiler is generated is downloaded to embedding Enter on formula platform.
Using the Programmable Embedded web server of the present embodiment, user easily can adjust web according to self-demand Every bottom parameter of server, is not limited to the fixed form of manufacturer's offer.
Specific embodiment described herein is only explanation for example spiritual to the present invention.Technology neck belonging to of the invention The technical staff in domain can be made various modifications or supplement or replaced using similar mode to described specific embodiment Generation, but without departing from the spiritual of the present invention or surmount scope defined in appended claims.

Claims (5)

1. a kind of editable embedded web server, it is characterised in that:Including:
Control logic editing machine;Control logic scheme is generated for entering edlin to the control logic of required control object;
Interface editor;Skins are generated for entering edlin to the controlling interface of web server;
Collaboration compiler;For the interface assembly that described with C language according to control logic scheme and skins generation and control Logic module;
Cross-compiler:For by the built-in module of interface assembly and the generating run of control logic component and embedded platform.
2. editable embedded web server according to claim 1, it is characterised in that:The control object is intelligence Household electrical appliances.
3. editable embedded web server according to claim 1, it is characterised in that:The control logic includes:Control Object processed opens and closes condition and/or control object function selecting condition.
4. the editable embedded web server according to claim 1 or 3, it is characterised in that:The controlling interface includes Figure or word.
5. editable embedded web server according to claim 1, it is characterised in that:Also include embedded type web service Device maker;Built-in module for cross-compiler is generated is downloaded to embedded platform.
CN201610858463.0A 2016-09-28 2016-09-28 A kind of Programmable Embedded web server Pending CN106559475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610858463.0A CN106559475A (en) 2016-09-28 2016-09-28 A kind of Programmable Embedded web server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610858463.0A CN106559475A (en) 2016-09-28 2016-09-28 A kind of Programmable Embedded web server

Publications (1)

Publication Number Publication Date
CN106559475A true CN106559475A (en) 2017-04-05

Family

ID=58418400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610858463.0A Pending CN106559475A (en) 2016-09-28 2016-09-28 A kind of Programmable Embedded web server

Country Status (1)

Country Link
CN (1) CN106559475A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121285A (en) * 2017-12-20 2018-06-05 中国铁道科学研究院 Application software collaboration Compilation Method and device based on continuous function figure

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201726425U (en) * 2010-04-08 2011-01-26 上海第二工业大学 Embedded network server
CN102811187A (en) * 2012-08-01 2012-12-05 陈为人 Home gateway system based on Web site and configuration method thereof
CN103139305A (en) * 2013-01-27 2013-06-05 陈为人 Device, method and setting thereof by using mobile terminal to control broadband user side apparatus
CN203117773U (en) * 2013-03-14 2013-08-07 重庆邮电大学 Multi-media smart home central controller and comprehensive management and control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201726425U (en) * 2010-04-08 2011-01-26 上海第二工业大学 Embedded network server
CN102811187A (en) * 2012-08-01 2012-12-05 陈为人 Home gateway system based on Web site and configuration method thereof
CN103139305A (en) * 2013-01-27 2013-06-05 陈为人 Device, method and setting thereof by using mobile terminal to control broadband user side apparatus
CN203117773U (en) * 2013-03-14 2013-08-07 重庆邮电大学 Multi-media smart home central controller and comprehensive management and control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘辉等: "一种嵌入式远程温室监控系统的设计", 《第二十三届测试与故障诊断技术研讨会论文集》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108121285A (en) * 2017-12-20 2018-06-05 中国铁道科学研究院 Application software collaboration Compilation Method and device based on continuous function figure
CN108121285B (en) * 2017-12-20 2020-08-25 中国铁道科学研究院 Application software collaborative compiling method and device based on continuous function diagram

Similar Documents

Publication Publication Date Title
CN108431765B (en) Generation of device applications
CN109725541A (en) Generation method, device, electronic equipment and the storage medium of automation
CN110687811B (en) Method and device for scene configuration of smart home offline voice equipment
CN103901867A (en) Intelligent home control system based on cloud service
CN101505386B (en) Implementing method for transferability of household electrical appliance user operation interface
CN104965416A (en) Intelligent household electrical appliance control method and apparatus
CN103744411A (en) Control method related to ZigBee technology for realizing smart home
CN105553836A (en) Household appliance control method and system based on Wechat
CN104965503A (en) Intelligent household control system based on machine learning
CN103067431A (en) Device control system and device control method
CN108337138A (en) A kind of intelligent domestic system based on Internet of Things
CN107689903A (en) Intelligent home equipment control method, system, storage medium and computer equipment
CN109189295A (en) display control method, device and terminal device
CN102830679A (en) Guest room control system for hotel based on Internet of things
CN105432093B (en) The system and method for general controls for electronic equipment
Bonino et al. Exploiting semantic technologies in smart environments and grids: Emerging roles and case studies
CN105282140A (en) Control method, devices and system of intelligent household system
Niranjana et al. Effectual home automation using ESP32 NodeMCU
Sai et al. Smart Home Messenger Notifications System using IoT
CN205139694U (en) Intelligent housing system
Saravanan et al. IoT materials enabled indoor light illumination monitoring system
CN104063227B (en) A kind of instruction learning method based on Internet of Things
CN106559475A (en) A kind of Programmable Embedded web server
Yilmaz Education set design for smart home applications
CN105049337B (en) Communication means and device between a kind of smart machine based on instant messaging

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170405