CN107332922B - Data transmission method and system of embedded Web server based on community management - Google Patents

Data transmission method and system of embedded Web server based on community management Download PDF

Info

Publication number
CN107332922B
CN107332922B CN201710590591.6A CN201710590591A CN107332922B CN 107332922 B CN107332922 B CN 107332922B CN 201710590591 A CN201710590591 A CN 201710590591A CN 107332922 B CN107332922 B CN 107332922B
Authority
CN
China
Prior art keywords
web server
embedded web
browser
data transmission
data
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.)
Active
Application number
CN201710590591.6A
Other languages
Chinese (zh)
Other versions
CN107332922A (en
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.)
Foshan University
Original Assignee
Foshan University
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 Foshan University filed Critical Foshan University
Priority to CN201710590591.6A priority Critical patent/CN107332922B/en
Publication of CN107332922A publication Critical patent/CN107332922A/en
Application granted granted Critical
Publication of CN107332922B publication Critical patent/CN107332922B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data transmission method of an embedded Web server based on community management, which comprises the following steps: respectively carrying out initialization processing on an embedded Web server, a browser and a protocol stack between the embedded Web server and the browser; the browser sends a connection request to the embedded Web server through middleware gateway interfaces corresponding to different subsystems; responding to the request sent by different subsystems for the browser after the connection is successful, and analyzing; and the embedded Web server receives the analyzed request, judges the type of the analyzed request, determines to realize one of a browser function or a system server function, and completes data transmission with different subsystems. By adopting the invention, different subsystem interfaces are processed, so that each subsystem is fused on a uniform server platform, and the management and operation of each system in the intelligent community are completed.

Description

Data transmission method and system of embedded Web server based on community management
Technical Field
The invention belongs to the technical field of data transmission, and particularly relates to a data transmission method and a data transmission system of an embedded Web server based on community management.
Background
Currently, with the continuous improvement of living standard of people, the community construction should satisfy the habitability, comfort, safety, durability and economy of the house, and provide efficient and high-quality technical means for property management to effectively perform comprehensive management of the community. The existing original intelligent management systems of the community, such as property management, community parking lot management, community security and protection and the like, are independent closed systems, and bring inconvenience to community management and resident service, so that the system fuses subsystem data in the community to a platform system through designing an operation platform system, is used in a centralized manner, improves the working efficiency, and provides better property service for residents.
However, in the actual data transmission process, since each management system is independent, if so many management systems need to be effectively transmitted and processed, there is no way to perform parallel processing according to the existing server and browser processing. Because the existing network server does not have services specially aiming at various subsystems in the whole community, such as a property management system, a community parking lot management system, a community security system, a household intelligent system and the like, the existing network server cannot perform fusion processing on the subsystems in the community due to the difference of network performance, technical indexes and protocol standards of the subsystems.
Disclosure of Invention
In order to solve the above problems, a first object of the present invention is to: the data transmission method of the embedded Web server based on community management is provided, different subsystem interfaces are processed, so that the subsystems are fused on a uniform server platform, and management and operation of the systems in an intelligent community are completed.
In order to achieve the purpose, the invention is realized according to the following technical scheme:
the invention relates to a data transmission method of an embedded Web server based on community management, which comprises the following steps:
respectively carrying out initialization processing on an embedded Web server, a browser and a protocol stack between the embedded Web server and the browser;
the browser sends a connection request to the embedded Web server through middleware gateway interfaces corresponding to different subsystems;
responding to the request sent by different subsystems for the browser after the connection is successful, and analyzing;
and the embedded Web server receives the analyzed request, judges the type of the analyzed request, determines to realize one of a browser function or a system server function, and completes data transmission with different subsystems.
Further, the embedded Web server receives analyzed requests sent by different subsystems, and determines the type of the analyzed requests, specifically:
if the analyzed request type is a browsing request, determining to realize a browser function so as to complete the access of the corresponding subsystem;
and if the analyzed request type is a system service request, determining to realize the function of a system server so as to finish the call of the embedded Web server to the related data.
Further, the step of completing the access of the corresponding subsystem specifically includes:
judging whether a gateway application program CGI exists in the subsystem or not;
if the IP data packet exists, receiving the IP data packet corresponding to the access subsystem, and otherwise, returning;
analyzing the IP data packet according to a TCP/IP protocol, and sending the IP data packet to an ICP transmission layer;
analyzing the ICP data packet and sending the ICP data packet to an application layer;
and calling corresponding information in a database of the embedded Web server to realize the purpose of browsing the webpage information of the subsystem.
Further, the step of completing the call of the embedded Web server to the related data specifically includes:
judging whether the analyzed request is a static file;
if yes, TCP packaging the needed corresponding data, otherwise, ending;
sending the data packed by the TCP to an IP layer, and carrying out IP packing to obtain IP data;
and sending the IP data packet to an embedded Web server to realize the purpose of calling related data.
Further, in the process that the browser sends a connection request to the embedded Web server through HTTP ports corresponding to different subsystems, the following steps are required:
the embedded Web server performs three-step handshake confirmation according to a software program protocol.
Further, the software program protocol is a BOA protocol.
In order to solve the above problems, a second object of the present invention is to: the data transmission system of the embedded Web server based on community management is provided, different subsystem interfaces are processed, so that subsystems are fused on a uniform server platform, and management and operation of the systems in an intelligent community are completed.
In order to achieve the purpose, the invention is realized according to the following technical scheme:
the data transmission system of the embedded Web server based on community management comprises a middleware gateway interface which is used for the targeted data transmission between a browser and the embedded Web server and is arranged on different subsystems;
the middleware gateway interface acquires the form file through the browser, extracts data from the environment variables, calls a corresponding application program on the embedded Web server to realize a corresponding function, and finally displays the result back to the browser through a webpage.
Further, the browser comprises an image user interface, a first HTTP engine and a first TCP/IP protocol stack;
the embedded Web server comprises embedded equipment, a Web page, a converter and a second TCP/IP protocol stack;
the image user interface is used for inputting the requirements of a user, carrying out code conversion through a first HTTP engine and then sending the code to the embedded Web server through a middleware network according to a first TCP/IP protocol stack;
and the embedded Web server sends the information to the converter according to a second TCP/IP protocol stack, and the converter finishes browsing a webpage through a Web page or finishes the service of the system through the embedded Web server according to the corresponding requirement type.
Further, the graphical user interface includes a first HTM L parser for parsing HTM L format files, a first FROM generator for generating form files, and a SCRIPT parser for parsing SCRIPT files.
Further, the translator includes a second HTM L generator for parsing HTM L format files, a second FROM generator for generating form files, and a second HTTP engine for user transcoding.
Compared with the prior art, the invention has the beneficial effects that:
according to the data transmission method and the system of the embedded Web server based on community management, the corresponding middleware gateway interfaces are respectively added to the subsystems in the community, so that the browser can be conveniently connected with the embedded Web server through the middleware gateway interfaces, and the webpage access of the specific subsystem or the calling of the subsystem to the related data in the embedded Web server can be further realized.
Through the design of the intelligent community operation platform, various independent service management subsystems in the community are integrated, and clients of a property management system, a video monitoring system, a home intelligent system, a night patrol system, a security system, a fire protection management system and the like are directly called in a Web page link mode, so that various functions of the intelligent community are realized.
Drawings
Embodiments of the invention are described in further detail below with reference to the attached drawing figures, wherein:
FIG. 1 is a flow chart of a data transmission method of an embedded Web server based on community management according to the present invention;
FIG. 2 is a schematic block diagram of the overall structure of the data transmission system of the embedded Web server based on community management according to the present invention;
FIG. 3 is a structural framework diagram of a browser in the data transmission system of the embedded Web server based on community management according to the present invention;
fig. 4 is a structural framework diagram of an embedded Web server in the data transmission system of the embedded Web server based on community management according to the present invention.
In the figure:
1: browser
11: image user interface 12: the first HTTP engine 13: first TCP/IP protocol stack
111 first HTM L parser 112 first FROM generator 113 SCRIPT parser
2: embedded Web server 2
21: the embedded device 22: the Web page 23: the converter 24: second TCP/IP protocol stack
231 second HTM L generator 232 second FROM generator 233 second HTTP engine
3: middleware gateway interface
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The invention relates to a data transmission method of an embedded Web server based on community management, which aims to orderly operate the management of an entire intelligent community, wherein the system usually comprises a property management system, a community parking lot management system, a community security system, a home intelligent system and the like, and because a software implementation mode for performing fusion processing on a plurality of independent subsystems does not exist at present, the invention aims to solve the problem and has the following specific implementation mode:
as shown in fig. 1, the method comprises the following specific steps:
s1: respectively carrying out initialization processing on an embedded Web server, a browser and a protocol stack between the embedded Web server and the browser;
s2: the browser sends a connection request to the embedded Web server through middleware gateway interfaces corresponding to different subsystems; in the process, the embedded Web server carries out three-step handshake confirmation according to a BOA software program protocol.
S3: responding to the request sent by different subsystems for the browser after the connection is successful, and analyzing;
s4: and the embedded Web server receives the analyzed request, judges the type of the analyzed request, determines to realize one of a browser function or a system server function, and completes data transmission with different subsystems.
Specifically, if the analyzed request type is a browsing request, determining to implement a browser function to complete access of the corresponding subsystem;
if the analyzed request type is a system service request, determining to realize the function of a system server so as to complete the call of the embedded Web server to the related data:
judging whether the analyzed request is a static file;
if yes, TCP packaging the needed corresponding data, otherwise, ending;
sending the data packed by the TCP to an IP layer, and carrying out IP packing to obtain IP data;
and sending the IP data packet to an embedded Web server to realize the purpose of calling related data.
The above is a description of the data transmission method of the embedded Web server based on community management, and a specific system structure thereof is shown in fig. 2 to 4:
the data transmission system of the embedded Web server based on community management is used for data transmission between a browser 1 and an embedded Web server 2 corresponding to different subsystems, and the different subsystems are provided with middleware gateway interfaces 3 for targeted data transmission between the browser and the embedded Web server; the middleware gateway interface acquires the form file through the browser, extracts data from the environment variables, calls a corresponding application program on the embedded Web server to realize a corresponding function, and finally displays the result back to the browser through a webpage. The middleware gateway interface 3 is an HTTP port.
Wherein, the browser 1 comprises a image user interface 11, a first HTTP engine 12 and a first TCP/IP protocol stack 13;
the embedded Web server 2 comprises an embedded device 21, a Web page 22, a converter 23 and a second TCP/IP protocol stack 24; the image user interface 11 is used for inputting the requirements of a user, performing code conversion through a first HTTP engine 12, and then sending the converted codes to the embedded Web server 2 through the middleware gateway interface 3 according to a first TCP/IP protocol stack 12; the embedded Web server 2 sends the request to the converter 23 according to the second TCP/IP protocol 24 stack, and the converter 23 completes browsing of a Web page through a Web page or completes a service of a system through the embedded Web server 2 according to a corresponding request type.
The graphical user interface 11 includes a first HTM L parser 111 for parsing HTM L format files, a first FROM generator 112 for generating form files, and a SCRIPT parser 113 for parsing SCRIPT files.
The translator 23 includes a second HTM L generator 231 for parsing HTM L format files, a second FROM generator 232 for generating form files, and a second HTTP engine 233 for user transcoding.
In applying the above technique, as shown in fig. 3: in the designed intelligent community operation platform system, various subsystems such as a community intelligent terminal system, a family intelligent terminal system, a website portal system, a management pipe service operation system, a community information publishing system, a short message platform system and the like are fused on a uniform operation platform system page, and by clicking each subsystem, a corresponding subsystem can be inquired and managed and maintained. Meanwhile, the design of the subsystem is the same as the design method of the total system, taking the community intelligent terminal subsystem as an example, fig. 4 is a page diagram of the community intelligent terminal subsystem designed for the community, and functions such as electronic commerce, service (visual) consultation, information browsing and the like can be realized through the page of the subsystem.
Specifically, the functions of the intelligent community operation system in the figure are explained as follows:
(1) the intelligent community operation management platform system can be accessed through various channels such as a website, a mobile APP, a community intelligent terminal and a family intelligent terminal, so that the work efficiency is improved;
(2) the intelligent community operation management platform system has the functions of monitoring the operation state of equipment, managing the system, managing the operation and analyzing
(3) The intelligent community operation management platform system can realize the functions of electronic commerce, service (visual) consultation, information browsing and the like
(4) The web portal subsystem can provide functions of personal information service, community forum, convenient information inquiry, complaint management, property service and the like
Simultaneously, to the innovation point of wisdom community operation system, specifically as follows:
(1) the intelligent system data of each family in the community, the intelligent system data of the community including property management, cartoon management of a parking lot system, video monitoring, night patrol security and other subsystem data are fused to a unified community system platform for the first time, management is convenient, working efficiency is improved, and technical innovation and application innovation of a software system are realized.
(2) The owner (or property management personnel) can directly log in or remotely log in the community system operation platform through a family intelligent terminal (or community intelligent terminal), a mobile APP and the like to realize inquiry and intelligent control, and the system comprises functions of remote login inquiry, remote login control and the like.
The data transmission system of the embedded Web server based on community management and other structures of the system are referred to the prior art, and are not described herein again.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, so that any modification, equivalent change and modification made to the above embodiment according to the technical spirit of the present invention are within the scope of the technical solution of the present invention.

Claims (8)

1. A data transmission method of an embedded Web server based on community management is used for establishing connection with browsers corresponding to subsystems in the community management, and is characterized by comprising the following steps:
respectively carrying out initialization processing on an embedded Web server, a browser and a protocol stack between the embedded Web server and the browser;
the browser sends a connection request to the embedded Web server through middleware gateway interfaces corresponding to different subsystems;
responding to the request sent by different subsystems for the browser after the connection is successful, and analyzing;
the embedded Web server receives the analyzed request, judges the type of the analyzed request, determines to realize one of a browser function or a system server function, and completes data transmission with different subsystems;
the embedded Web server receives analyzed requests sent by different subsystems and judges the types of the analyzed requests, and the steps are as follows:
if the analyzed request type is a browsing request, determining to realize a browser function so as to complete the access of the corresponding subsystem;
and if the analyzed request type is a system service request, determining to realize the function of a system server so as to finish the call of the embedded Web server to the related data.
2. The data transmission method of the embedded Web server based on community management as claimed in claim 1, wherein:
the step of completing the access of the corresponding subsystem specifically includes:
judging whether a gateway application program CGI exists in the subsystem or not;
if the IP data packet exists, receiving the IP data packet corresponding to the access subsystem, and otherwise, returning;
analyzing the IP data packet according to a TCP/IP protocol, and sending the IP data packet to an ICP transmission layer;
analyzing the ICP data packet and sending the ICP data packet to an application layer;
and calling corresponding information in a database of the embedded Web server to realize the purpose of browsing the webpage information of the subsystem.
3. The data transmission method of the embedded Web server based on community management as claimed in claim 1 or 2, wherein:
the step of completing the call of the embedded Web server to the related data specifically includes:
judging whether the analyzed request is a static file;
if yes, TCP packaging the needed corresponding data, otherwise, ending;
sending the data packed by the TCP to an IP layer, and carrying out IP packing to obtain IP data;
and sending the IP data packet to an embedded Web server to realize the purpose of calling related data.
4. The data transmission method of the embedded Web server based on community management as claimed in claim 1, wherein:
in the process that the browser sends a connection request to the embedded Web server through the HTTP ports corresponding to different subsystems, the following steps are required to be carried out:
the embedded Web server performs three-step handshake confirmation according to a software program protocol.
5. The data transmission method of the embedded Web server based on community management as claimed in claim 4, wherein:
the software program protocol is a BOA protocol.
6. A data transmission system of an embedded Web server based on community management is used for data transmission between browsers corresponding to different subsystems and the embedded Web server, and is characterized in that:
the different subsystems are provided with middleware gateway interfaces for targeted data transmission between the browser and the embedded Web server;
the middleware gateway interface acquires the form file through a browser, extracts data from the environment variable, then calls a corresponding application program on the embedded Web server to realize a corresponding function, and finally displays the result back to the browser through a webpage;
the browser comprises an image user interface, a first HTTP engine and a first TCP/IP protocol stack;
the embedded Web server comprises embedded equipment, a Web page, a converter and a second TCP/IP protocol stack;
the image user interface is used for inputting the requirements of a user, carrying out code conversion through a first HTTP engine and then sending the code to the embedded Web server through a middleware network according to a first TCP/IP protocol stack;
and the embedded Web server sends the information to the converter according to a second TCP/IP protocol stack, and the converter finishes browsing a webpage through a Web page or finishes the service of the system through the embedded Web server according to the corresponding requirement type.
7. The data transmission system of the embedded Web server based on community management of claim 6, wherein:
the graphical user interface includes a first HTM L parser for parsing HTM L formatted files, a first FROM generator for generating form files, and a SCRIPT parser for parsing SCRIPT files.
8. The data transmission system of the embedded Web server based on community management of claim 6, wherein:
the translator includes a second HTM L generator for parsing HTM L format files, a second FROM generator for generating form files, and a second HTTP engine for user transcoding.
CN201710590591.6A 2017-07-19 2017-07-19 Data transmission method and system of embedded Web server based on community management Active CN107332922B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710590591.6A CN107332922B (en) 2017-07-19 2017-07-19 Data transmission method and system of embedded Web server based on community management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710590591.6A CN107332922B (en) 2017-07-19 2017-07-19 Data transmission method and system of embedded Web server based on community management

Publications (2)

Publication Number Publication Date
CN107332922A CN107332922A (en) 2017-11-07
CN107332922B true CN107332922B (en) 2020-07-17

Family

ID=60226403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710590591.6A Active CN107332922B (en) 2017-07-19 2017-07-19 Data transmission method and system of embedded Web server based on community management

Country Status (1)

Country Link
CN (1) CN107332922B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027690A (en) * 2003-12-30 2007-08-29 美国联合包装服务有限公司 Integrated global tracking and virtual inventory system
EP2761806A2 (en) * 2011-09-27 2014-08-06 Microsoft Corporation Host agnostic integration and interoperation system
CN104021452A (en) * 2014-06-23 2014-09-03 浪潮集团有限公司 Method for integrating various service systems at cloud computing server side
CN104750866A (en) * 2015-04-17 2015-07-01 上海斐讯数据通信技术有限公司 Embedded WEB server based dynamic menu bar generation method and system
CN105431844A (en) * 2013-07-17 2016-03-23 谷歌公司 Third party search applications for a search system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101027690A (en) * 2003-12-30 2007-08-29 美国联合包装服务有限公司 Integrated global tracking and virtual inventory system
EP2761806A2 (en) * 2011-09-27 2014-08-06 Microsoft Corporation Host agnostic integration and interoperation system
CN105431844A (en) * 2013-07-17 2016-03-23 谷歌公司 Third party search applications for a search system
CN104021452A (en) * 2014-06-23 2014-09-03 浪潮集团有限公司 Method for integrating various service systems at cloud computing server side
CN104750866A (en) * 2015-04-17 2015-07-01 上海斐讯数据通信技术有限公司 Embedded WEB server based dynamic menu bar generation method and system

Also Published As

Publication number Publication date
CN107332922A (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN102783119B (en) Access control method and system, and access terminal
CN104102537B (en) A kind of application call method and user terminal
CN102082992B (en) Mobile office system and implementation method thereof
CN100401674C (en) Remote-controlling system and method
Kim et al. Architecture for implementing the mobile government services in Korea
CN105915394A (en) Visual monitoring platform based on HTML5 and application method
CN111343020A (en) Unified management method and device for multi-protocol Internet of things equipment
CN105159256B (en) A kind of intelligent home control system based on Web service
CN106303359A (en) The processing method of a kind of network conversion and equipment
US20200287972A1 (en) Internet of things information system
CN104640237A (en) Internet of things system
CN102857566A (en) Intelligent gateway of internet of things capable of being customized by software
CN1215518A (en) Remote proxy system and method
CN102255869A (en) Zigbee-wireless-technology-based comprehensive multimedia platform application system
CN101808051B (en) Application integration gateway and control method thereof
CN101902697A (en) System and method for monitoring and operating service through mobile equipment
CN103916296A (en) Communication system integrated with local area network
CN102196027A (en) System and method for implementing mobile cloud service
CN102811219A (en) Method for remotely accessing desktop of computer in intranet across network segments in cluster system
CN104519129A (en) Data transmission method, device and system
CN102891785A (en) Error code conversion method and system, point-to-point protocol over Ethernet (PPPoE) server and mobile terminal
CN101989919A (en) Local software diagnosing and maintaining system as well as corresponding method and system for diagnosis and maintenance
CN104683313A (en) Multimedia business processing device, multimedia business processing method and multimedia business processing system
CN102739474A (en) Internet of things realization system and service providing method thereof
CN101815096A (en) Remote-operated mobile phone system and visualized operation method thereof by utilizing webpage

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
GR01 Patent grant
GR01 Patent grant