CN108366119A - A method of equipment control is realized based on embedded device CGI - Google Patents
A method of equipment control is realized based on embedded device CGI Download PDFInfo
- Publication number
- CN108366119A CN108366119A CN201810146893.9A CN201810146893A CN108366119A CN 108366119 A CN108366119 A CN 108366119A CN 201810146893 A CN201810146893 A CN 201810146893A CN 108366119 A CN108366119 A CN 108366119A
- Authority
- CN
- China
- Prior art keywords
- cgi
- user
- instruction
- embedded device
- present
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention provides a kind of methods for realizing equipment control based on embedded device CGI, addition chained list is received including BOA to be stored, multithreading reads chained list and carries out CGI business operations, pipeline mechanism is added in select time-out, and CGI is compatible with a variety of browsers using http collocation xml, multi-client submits operation.The present invention solves multi-thread concurrent processing, and reduce delay process, browser may be implemented under different operating system without plug-in unit operational control unit and check facility information by modifying to BOA servers;Present invention delay smaller, more preferably, user more can understand and receive compatibility, and to reduce the operating procedure of user, and then the user experience is improved.
Description
Technical field
The invention belongs to safety precaution, technical field of video monitoring, real based on embedded device CGI more particularly, to one kind
The method of existing equipment control.
Background technology
Http protocol (HyperText Transfer Protocol, hypertext transfer protocol) is for from www server
Transport protocol of the transmission hypertext to local browser.It can make browser more efficient, and network transmission is made to reduce.It is not only
Ensure that computer correctly rapidly transmits hypertext document, which part in transferring documents, and any partial content also determined
Show (such as text is prior to figure) first.
CGI (Common Gateway Interface) is one of most important technology in WWW technologies, is had irreplaceable
Critical role.CGI is interface standard of the external application (cgi script) between WEB server, be in cgi script and
The process of information is transmitted between Web server.
HTTP user name passwords use degist encrypted authentication command interactions, browser to pass through CGI protocol interaction orders
The various device datas that can obtain server-side, obtain various audio and video parameters of security device etc. and control device is various
The operation data of behavioral function encapsulates, and http protocol combination XML format string carries out data transfer
BOA servers are a small and exquisite efficient web servers, are one and run under unix or linux, are supported
CGI, be suitable for the http-server of the single task of embedded coordination, open source, performance are high.
Traditional BOA servers do not support Multi-task Concurrency to handle, and influence more browser login process efficiency.
Invention content
In view of this, the present invention is directed to propose a kind of method for realizing equipment control based on embedded device CGI, to realize
Browser without plug-in unit operational control unit and checks facility information under different operating system.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
A method of equipment control is realized based on embedded device CGI, including
BOA receives addition chained list and is stored, and multithreading reads chained list and carries out CGI business operations, and select time-out is added
Pipeline mechanism, CGI is compatible with a variety of browsers using http collocation xml, multi-client submits operation.
Further, the control method specifically comprises the following steps:
(1) user connects equipment CGI services by web browser, files a request;
(2) CGI servers receive parsing CGI protocol translation monitoring devices instruction after request, operate equipment, carry out equipment
Correlation function processing;
(3) after the complete functions of the equipments operation of CGI server process, handling result response web browser, user's operation is prompted
As a result.
Further, the control method further includes:
Web server receives parsing related urls and parameter after user's CGI requests;
Signal is handled changing solicited message addition information processing queue linked list and sending instruction;
Instruction processing thread reads queue after receiving signal, according to URL and CGI required parameters, is converted to monitoring device
Instruction is sent to instruction processing service.
Service processing result response user's handling result is handled according to instruction.
Compared with the existing technology, a kind of method tool for realizing equipment control based on embedded device CGI of the present invention
There is following advantage:
(1) present invention is by modifying to BOA servers, solution multi-thread concurrent processing, and reduces delay process,
Browser may be implemented under different operating system without plug-in unit operational control unit and check facility information;
(2) present invention delay smaller, more preferably, user more can understand and receive compatibility, to reduce the operation of user
Step, and then the user experience is improved.
Description of the drawings
The attached drawing for constituting the part of the present invention is used to provide further understanding of the present invention, schematic reality of the invention
Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is that a kind of method structure based on embedded device CGI realization equipment controls described in the embodiment of the present invention is shown
It is intended to;
Fig. 2 is that a kind of method flow based on embedded device CGI realization equipment controls described in the embodiment of the present invention shows
It is intended to.
Specific implementation mode
It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can phase
Mutually combination.
The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
As shown in Figs. 1-2, a method of equipment control is realized based on embedded device CGI, including
BOA receives addition chained list and is stored, and multithreading reads chained list and carries out CGI business operations, and select time-out is added
Pipeline mechanism, CGI is compatible with a variety of browsers using http collocation xml, multi-client submits operation.
The control method specifically comprises the following steps:
(1) user connects equipment CGI services by web browser, files a request;
(2) CGI servers receive parsing CGI protocol translation monitoring devices instruction after request, operate equipment, carry out equipment
Correlation function processing;
(3) after the complete functions of the equipments operation of CGI server process, handling result response web browser, user's operation is prompted
As a result.
The control method further includes:
Web server receives parsing related urls and parameter after user's CGI requests;
Signal is handled changing solicited message addition information processing queue linked list and sending instruction;
Instruction processing thread reads queue after receiving signal, according to URL and CGI required parameters, is converted to monitoring device
Instruction is sent to instruction processing service.
Service processing result response user's handling result is handled according to instruction.
The BOA servers of the present invention are a small and exquisite efficient single task http-servers, are not supported at Multi-task Concurrency
Reason, influences more browser login process efficiency, modifies to BOA servers, and chained list multithreading modification processing is carried out to it, is made
It supports more browser client concurrency protocol processing, greatly improves the treatment effeciency of CGI agreements.
The present invention formulates the CGI agreements of simple general-purpose, and xml structures allow the clients such as browser easily to handle, and
The installation of plug-in unit is omitted, coordinates RTMP video previews, realizes the compatibility of all browsers.
Http protocol degist user names password encryption mechanism of the present invention ensures the safety of user name password.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention god.
Claims (3)
1. a kind of method for realizing equipment control based on embedded device CGI, it is characterised in that:Including
BOA receives addition chained list and is stored, and multithreading reads chained list and carries out CGI business operations, and pipeline is added in select time-out
Mechanism, CGI is compatible with a variety of browsers using http collocation xml, multi-client submits operation.
2. a kind of method for realizing equipment control based on embedded device CGI according to claim 1, it is characterised in that:
The control method specifically comprises the following steps:
(1) user connects equipment CGI services by web browser, files a request;
(2) CGI servers receive parsing CGI protocol translation monitoring devices instruction after request, operate equipment, it is related to carry out equipment
Function treatment;
(3) after the complete functions of the equipments operation of CGI server process, handling result response web browser, user's operation knot is prompted
Fruit.
3. a kind of method for realizing equipment control based on embedded device CGI according to claim 1, it is characterised in that:
The control method further includes:
Web server receives parsing related urls and parameter after user's CGI requests;
Signal is handled changing solicited message addition information processing queue linked list and sending instruction;
Instruction processing thread reads queue after receiving signal, according to URL and CGI required parameters, is converted to monitoring device instruction
It is sent to instruction processing service.
Service processing result response user's handling result is handled according to instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810146893.9A CN108366119A (en) | 2018-02-12 | 2018-02-12 | A method of equipment control is realized based on embedded device CGI |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810146893.9A CN108366119A (en) | 2018-02-12 | 2018-02-12 | A method of equipment control is realized based on embedded device CGI |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108366119A true CN108366119A (en) | 2018-08-03 |
Family
ID=63006089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810146893.9A Pending CN108366119A (en) | 2018-02-12 | 2018-02-12 | A method of equipment control is realized based on embedded device CGI |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108366119A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109168031A (en) * | 2018-11-06 | 2019-01-08 | 杭州云英网络科技有限公司 | Streaming Media method for pushing and device, steaming media platform |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101199417A (en) * | 2007-12-21 | 2008-06-18 | 北京工业大学 | Electro cardiscope long-range monitoring method based on embedded web server and equipment therefor |
CN102006194A (en) * | 2010-11-30 | 2011-04-06 | 广东星海数字家庭产业技术研究院有限公司 | Tr-069 protocol-based home network management system and management implementation method |
US20120131683A1 (en) * | 2010-11-24 | 2012-05-24 | Nassar Richard S | Unified online content manager apparatuses, methods, and systems |
CN102902537A (en) * | 2012-09-19 | 2013-01-30 | 厦门亿联网络技术股份有限公司 | Embedded WEB model view controller (MVC) development framework based on Fast common gateway interface (CGI) and hypertext markup language (HTML) template |
CN103297465A (en) * | 2012-02-24 | 2013-09-11 | 上海盛轩网络科技有限公司 | Web page server extension method and system |
CN105828094A (en) * | 2015-01-05 | 2016-08-03 | Tcl集团股份有限公司 | Private cloud system based on smart TV and implementation method thereof |
CN106412013A (en) * | 2016-08-30 | 2017-02-15 | 上海新华控制技术集团科技有限公司 | Photovoltaic grid-connected Web monitoring system based on Linux |
CN106599085A (en) * | 2016-11-25 | 2017-04-26 | 努比亚技术有限公司 | Automatic refreshing method and device for web system configuration file |
-
2018
- 2018-02-12 CN CN201810146893.9A patent/CN108366119A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101199417A (en) * | 2007-12-21 | 2008-06-18 | 北京工业大学 | Electro cardiscope long-range monitoring method based on embedded web server and equipment therefor |
US20120131683A1 (en) * | 2010-11-24 | 2012-05-24 | Nassar Richard S | Unified online content manager apparatuses, methods, and systems |
CN102006194A (en) * | 2010-11-30 | 2011-04-06 | 广东星海数字家庭产业技术研究院有限公司 | Tr-069 protocol-based home network management system and management implementation method |
CN103297465A (en) * | 2012-02-24 | 2013-09-11 | 上海盛轩网络科技有限公司 | Web page server extension method and system |
CN102902537A (en) * | 2012-09-19 | 2013-01-30 | 厦门亿联网络技术股份有限公司 | Embedded WEB model view controller (MVC) development framework based on Fast common gateway interface (CGI) and hypertext markup language (HTML) template |
CN105828094A (en) * | 2015-01-05 | 2016-08-03 | Tcl集团股份有限公司 | Private cloud system based on smart TV and implementation method thereof |
CN106412013A (en) * | 2016-08-30 | 2017-02-15 | 上海新华控制技术集团科技有限公司 | Photovoltaic grid-connected Web monitoring system based on Linux |
CN106599085A (en) * | 2016-11-25 | 2017-04-26 | 努比亚技术有限公司 | Automatic refreshing method and device for web system configuration file |
Non-Patent Citations (1)
Title |
---|
王新宇: "远程智能家电控制系统中嵌入式Web服务器的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109168031A (en) * | 2018-11-06 | 2019-01-08 | 杭州云英网络科技有限公司 | Streaming Media method for pushing and device, steaming media platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4363847B2 (en) | Digital TV application protocol for interactive TV | |
Lampesberger | Technologies for web and cloud service interaction: a survey | |
US20120254407A1 (en) | System and method to monitor and transfer hyperlink presence | |
US9860301B2 (en) | File transfer using XML | |
CN109861973B (en) | Information transmission method and device, electronic equipment and computer readable medium | |
CN102497395A (en) | Breakpoint unloading application control method | |
CN101299753A (en) | Web service security control mechanism based on proxy server | |
JP6327881B2 (en) | Information processing apparatus, control method thereof, and program | |
CN109561010B (en) | Message processing method, electronic equipment and readable storage medium | |
US8005920B2 (en) | Method and apparatus for transmitting arbitrarily large amounts of data over the internet | |
EP1684482A1 (en) | System and method for managing communication for component applications | |
KR101349201B1 (en) | Apparatus for interoperability between Web-browser and Local-resources in the Mobile Device and method thereof | |
CN108366119A (en) | A method of equipment control is realized based on embedded device CGI | |
JP5142934B2 (en) | Authentication information processing apparatus, authentication information transmission method, and authentication method | |
US8984616B2 (en) | Efficient routing for reverse proxies and content-based routers | |
JP2011197874A (en) | Server apparatus and program | |
US20130024543A1 (en) | Methods for generating multiple responses to a single request message and devices thereof | |
CN101227277A (en) | Method and system for implementing safety of end to end based on WAP1.2 gateway | |
JP2004192358A (en) | Two-way communication method for transmitting/receiving between terminal and center side device, and program for two-way communication | |
JP2005157822A (en) | Communication control device, application server, communication control method, and program | |
TW201322044A (en) | Anti-theft linking system and archives download method thereof | |
CN101447990A (en) | System for realizing download server in IPTV system and method thereof | |
CN113852666B (en) | Method for acquiring HTTP (hyper text transport protocol) resources in real time through FTP (File transfer protocol) | |
Waher | HTTP over XMPP transport | |
Waher | Xep-0332: Http over xmpp transport |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |
Application publication date: 20180803 |
|
RJ01 | Rejection of invention patent application after publication |