CN105262688A - Message transmission method based on HTTP relay technology in EOC network - Google Patents

Message transmission method based on HTTP relay technology in EOC network Download PDF

Info

Publication number
CN105262688A
CN105262688A CN201510832014.4A CN201510832014A CN105262688A CN 105262688 A CN105262688 A CN 105262688A CN 201510832014 A CN201510832014 A CN 201510832014A CN 105262688 A CN105262688 A CN 105262688A
Authority
CN
China
Prior art keywords
http
managed devices
management server
relaying
address
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.)
Granted
Application number
CN201510832014.4A
Other languages
Chinese (zh)
Other versions
CN105262688B (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.)
Chengdu Guangda New Network Technology Co Ltd
Original Assignee
Chengdu Guangda New Network Technology Co Ltd
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 Chengdu Guangda New Network Technology Co Ltd filed Critical Chengdu Guangda New Network Technology Co Ltd
Priority to CN201510832014.4A priority Critical patent/CN105262688B/en
Publication of CN105262688A publication Critical patent/CN105262688A/en
Application granted granted Critical
Publication of CN105262688B publication Critical patent/CN105262688B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to the technical field of EOC networks, and discloses a message transmission method based on HTTP relay technology in an EOC network. The method particularly comprises the following steps: 1, an agent management server is selected in the EOC network to serve as an HTTP relay, the agent management server is used for managing surrounding all devices, and connection between the agent management server and the managed device is built via a two-layer network; 2, a user firstly builds connection with the agent management server, and after the agent management server receives an HTTP request message from the user, an MAC address of the managed device is analyzed from the message; 3, according to the MAC address of the managed device, the agent management server queries an information table, and the IP address of the managed device, and a virtual local area network (VLAN) of the managed device are acquired; and 4, according to the IP address of the managed device and the virtual local area network (VLAN) of the managed device, a message transmission channel between the managed device and the user is built.

Description

Based on the message transmitting method of HTTP relaying technique in a kind of EOC network
Technical field
The present invention relates to EOC networking technology area, the invention discloses the message transmitting method based on HTTP relaying technique in a kind of EOC network.
Background technology
In EOC network, carried out the mode of management equipment by embedded type WEB, have been widely recognized.But along with the continuous change of EOC network topology, the management information that WEB administrative institute needs, such as IP, VLAN, route etc., become and be more and more difficult to obtain, and brings larger burden to the WEB of keeper management.
In order to solve the problem, a kind of solution is exactly specify an access agent management server in a network, the equipment that centralized management periphery is all, automatically completes the managing concatenated of complexity by device interior.Namely adopt HTTP relaying technique, solve the centralized management problem of EOC network.
HTTP relaying, between client and server, plays the part of the role of " go-between ", between each end points, transmit HTTP message back and forth, is responsible for the part connected between process client and server.
Common HTTP relaying realizes principle as shown in Figure 1.
HTTP relaying is through three-layer network network layers, four layers of transport layer, enter http session layer, connected by TCP:8080 port and Web client, HTTP relays listen 8080 port, when receiving the HTTP request of Web client, can as Web server, correct process is asked and is connected, and then returns response.Meanwhile, the server ip that HTTP relaying parses according to dns server, is connected by TCP:80 port and server, sends HTTP request, thus realizes the access of client to server.
The connection that common HTTP relaying is set up between clients and servers is based on three-layer network, and the management of EOC network is all based on double layer network, therefore the message transmitting method of EOC network adopts common HTTP relaying to be difficult to realize.
Summary of the invention
For the problems referred to above that message transmitting method of the prior art exists, the invention discloses the new message transmitting method based on HTTP relaying technique in a kind of EOC network.
Technical scheme of the present invention is as follows
The invention discloses the message transmitting method based on HTTP relaying technique in a kind of EOC network, it specifically comprises the following steps: step one, in EOC network, selectes a proxy management server as HTTP relaying, described proxy management server, for managing all devices of its periphery, is connected by double layer network between described proxy management server and managed devices.Step 2, when user need with managed devices between set up message Transfer pipe time, first user connects with proxy management server, proxy management server parses the MAC Address of managed devices after receiving the HTTP request message of user from message.Step 3, proxy management server, according to the MAC Address Query Information table of managed devices, obtain the IP address of managed devices, the virtual LAN VLAN at managed devices place.Step 4, according to the IP address of managed devices, the virtual LAN VLAN at managed devices place, set up the message Transfer pipe between managed devices and user.
Further, said method also comprises when after the MAC Address failure of searching managed devices in information table, proxy server distributes an IP address to managed devices from the IP address pool of the dynamic host configuration protocol DHCP server of self, simultaneously, proxy management server adopts Link Layer Discovery Protocol LLDP agreement to obtain the vlan information of managed devices, and in information table, set up a new information table, the virtual LAN VLAN at the MAC Address of record managed devices, IP address and place.
Further, said method also comprises when managed devices information table lost efficacy, the IP address that release managed devices distributes.
Further, above-mentioned HTTP relaying is connected by TCP80 port and managed devices, realizes the mutual forwarding of HTTP message.
Further, above-mentioned user sends HTTP request to proxy management server in Web page, contains the MAC information of managed devices in HTTP request.
Further, above-mentioned HTTP relaying adopts automatic right assignment.Keeper's identity can be configured on agent equipment, also can carry out allocation manager person's authority by information such as the topology location of managed devices, management domain, times, be very easy to the use of user.
Further, said method is also included in process conversation procedure, and the time-out time of setting session, if time-out, create another one subprocess, complete subsequent treatment by subprocess, HTTP relaying process exits, and goes to process other new sessions.Thus ensure the treatment effeciency of session.
By adopting above technical scheme, beneficial effect of the present invention comprises: the process that client and server connect is different, HTTP relaying technique of the present invention and Web server connect and need through double layer network, according to layer two MAC, the automatic distributing IP of vlan information to managed devices, connected by TCP:80 port, IP and Vlan and managed devices, realize the mutual forwarding of HTTP message.The MAC information of managed devices is contained in the HTTP request that Web client sends to proxy management server, proxy management server is according to MAC Address, from self Dynamic Host Configuration Protocol server address pool, distribute an IP address be handed down to managed devices, simultaneously, proxy management server can obtain the Vlan information of managed devices, set up an information table, information table adopts timing aging mechanism, often come once to access, refresh corresponding information table ageing time, ageing time time-out, then the IP of release device.In the double layer network of EOC, achieve a set of Managed Solution based on three-layer network by this programme technology, greatly enhance the efficiency of management.In this programme, according to two layers of information (MAC, VLAN) of equipment with three layers (more than) information (IP, tcp port) sets up dynamic mapping relationship, automatic business processing, do not need administrative staff to get involved.
Adopt the mode process session of multi-process, host process can process multiple new session simultaneously, makes Dialog processing timely.The access rights of HTTP relay management person are distributed by keeper's identity, keeper's identity can be configured on agent equipment, also can carry out allocation manager person's authority by information such as the topology location of managed devices, management domain, times, thus alleviate the burden of keeper.
Accompanying drawing explanation
Fig. 1 is that common HTTP relaying realizes schematic diagram.
Fig. 2 is the centralized control structure topology schematic diagram of EOC network.
Fig. 3 is that HTTP relaying of the present invention realizes schematic diagram.
Fig. 4 is the centralized management structural representation of EOC network.
Fig. 5 is the structural representation of information table.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is described in more detail.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention discloses the message transmitting method based on HTTP relaying technique in a kind of EOC network, it specifically comprises the following steps: step one, in EOC network, selectes a proxy management server as HTTP relaying, described proxy management server, for managing all devices of its periphery, is connected by double layer network between described proxy management server and managed devices.Step 2, suppose that user 1 manages the device A 1 that VlanID is VlanA, then first user 1 connects with proxy management server, and proxy management server receives the HTTP request message of user 1, therefrom parses the MAC Address MacA1 of managed devices A1.Step 3, proxy management server are according to the MAC Address Query Information table of managed devices A1, and information table as shown in Figure 5, obtains the information such as IP, VLAN of managed devices; If search unsuccessfully, then proxy server distributes an IP(such as IpA1 from the dhcp server ip address pond of self) to managed devices A1, simultaneously, the vlan information that proxy management server adopts LLDP agreement to obtain managed devices A1 is VlanA, set up a new information table, the information such as MAC, IP, VALN of recording equipment A1, and user's access times, the line duration of configuration information table.Follow-up when again accessing, directly in record sheet, obtain corresponding IP and vlan information according to the MAC Address of managed devices A1; When facility information list item lost efficacy (the aging time-out of such as list item), then the IpA1 of release device A1 distribution.Newly assigned IpA1 is handed down to managed devices A1 by step 4, proxy management server, and the VlanA that configuration is identical with managed devices A1, set up a message Transfer pipe.Like this in EOC network, based on HTTP relaying technique, just establish user 1 and the connection of managed devices A1, achieve the mutual forwarding of HTTP message.
Fig. 3 be HTTP relaying of the present invention realize principle.HTTP relaying technique in the present invention is identical with existing HTTP relaying: all need, through three-layer network network layers, four layers of transport layer, to enter http session layer, connected by TCP:8080 port and managed devices; Difference: the HTTP relaying technique in the present invention and managed devices connect and also need through double layer network, the HTTP relaying of invention is to managed devices according to layer two MAC, vlan information automatic IP address allocation, connected by TCP:80 port, IP and Vlan and managed devices, realize the mutual forwarding of HTTP message.
The MAC information of managed devices is contained in the HTTP request that Web client sends to proxy management server (HTTP relaying), proxy management server is according to MAC Address, from self Dynamic Host Configuration Protocol server address pool, distribute an IP address be handed down to managed device, simultaneously, proxy management server can obtain the Vlan information of managed device, set up an information table, information table adopts timing aging mechanism, often come once to access, refresh corresponding information table ageing time, ageing time time-out, then the IP of release device.
Usual keeper, when the equipment of access, needs to carry out authentication, if there are multiple devices to need management, so keeper should remember the authentication mode of every platform equipment accurately, again the every platform equipment of certification frequently, brings certain burden to the management of keeper.
In order to alleviate the administrative burden of keeper, HTTP relaying of the present invention adopts automatic right assignment.Automatic right assignment refers to by some specific properties (such as management domain, time period etc.) hereinafter described, the Permission Levels (generally can divide Permission Levels by different accounts) of Lookup protocol management, and without the need to keeper get involved mode, keeper is without the need to certification, can direct management equipment, if keeper needs with the identity rights management unit of higher level, then need manual authentication.The access rights of HTTP relay management person of the present invention are distributed by keeper's identity, and keeper's identity can be configured on agent equipment, also can carry out allocation manager person's authority by information such as the topology location of managed devices, management domain, times.
HTTP relaying with set up between managed device to be that HTTP is short be connected, therefore, it is be difficult to realize that all sessions are all placed on the mode processed in a process.Generally, the time of a page request is very short, and each session all can complete process, until conversation end in HTTP relaying process; But the request time that also there are some pages is longer, the current session of HTTP relaying process long time treatment, causes other sessions to process in time.
Consider the existence of the problems referred to above, HTTP relaying technique of the present invention adopts the mode process session of multi-process.In process conversation procedure, the time-out time of setting session, if time-out, create another one subprocess, complete subsequent treatment by subprocess, HTTP relaying process (being host process for the time being) exits, and goes to process other new sessions.This makes it possible to the session longer processing time to be cut in subprocess process, host process can process multiple new session simultaneously.
Coefficient given in the above embodiments and parameter; be available to those skilled in the art to realize or use invention; invention does not limit only gets aforementioned disclosed numerical value; when not departing from the thought of invention; those skilled in the art can make various modifications or adjustment to above-described embodiment; thus the protection range invented not limit by above-described embodiment, and should be the maximum magnitude meeting the inventive features that claims are mentioned.

Claims (7)

1. in an EOC network based on the message transmitting method of HTTP relaying technique, it specifically comprises the following steps: step one, in EOC network, selectes a proxy management server as HTTP relaying, described proxy management server, for managing all devices of its periphery, is connected by double layer network between described proxy management server and managed devices; Step 2, when user need with managed devices between set up message Transfer pipe time, first user connects with proxy management server, proxy management server parses the MAC Address of managed devices after receiving the HTTP request message of user from message; Step 3, proxy management server, according to the MAC Address Query Information table of managed devices, obtain the IP address of managed devices, the virtual LAN VLAN at managed devices place; Step 4, according to the IP address of managed devices, the virtual LAN VLAN at managed devices place, set up the message Transfer pipe between managed devices and user.
2. in EOC network as claimed in claim 1 based on the message transmitting method of HTTP relaying technique, it is characterized in that described method also comprises when after the MAC Address failure of searching managed devices in information table, proxy server distributes an IP address to managed devices from the IP address pool of the dynamic host configuration protocol DHCP server of self, simultaneously, proxy management server adopts Link Layer Discovery Protocol LLDP agreement to obtain the vlan information of managed devices, and in information table, set up a new information table, the MAC Address of record managed devices, the virtual LAN VLAN at IP address and place.
3. in EOC network as claimed in claim 1 based on the message transmitting method of HTTP relaying technique, it is characterized in that described method also comprises when managed devices information table lost efficacy, discharge the IP address that managed devices distributes.
4. in EOC network as claimed in claim 1 based on the message transmitting method of HTTP relaying technique, it is characterized in that described HTTP relaying is connected by TCP80 port and managed devices, realize the mutual forwarding of HTTP message.
5. in EOC network as claimed in claim 1 based on the message transmitting method of HTTP relaying technique, it is characterized in that described user sends HTTP request to proxy management server in Web page, in HTTP request, contain the MAC information of managed devices.
6. in EOC network as claimed in claim 1 based on the message transmitting method of HTTP relaying technique, it is characterized in that described HTTP relaying adopts automatic right assignment.
7. in EOC network as claimed in claim 1 based on the message transmitting method of HTTP relaying technique, it is characterized in that described method is also included in process conversation procedure, the time-out time of setting session, if time-out, create another one subprocess, subsequent treatment is completed by subprocess, HTTP relaying process exits, and goes to process other new sessions.
CN201510832014.4A 2015-11-25 2015-11-25 Message transmitting method based on HTTP relaying techniques in a kind of EOC networks Expired - Fee Related CN105262688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510832014.4A CN105262688B (en) 2015-11-25 2015-11-25 Message transmitting method based on HTTP relaying techniques in a kind of EOC networks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510832014.4A CN105262688B (en) 2015-11-25 2015-11-25 Message transmitting method based on HTTP relaying techniques in a kind of EOC networks

Publications (2)

Publication Number Publication Date
CN105262688A true CN105262688A (en) 2016-01-20
CN105262688B CN105262688B (en) 2018-10-26

Family

ID=55102196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510832014.4A Expired - Fee Related CN105262688B (en) 2015-11-25 2015-11-25 Message transmitting method based on HTTP relaying techniques in a kind of EOC networks

Country Status (1)

Country Link
CN (1) CN105262688B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379291A (en) * 2018-09-29 2019-02-22 新华三技术有限公司合肥分公司 The processing method and processing device of service request in a kind of networking

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020156612A1 (en) * 2001-04-20 2002-10-24 Peter Schulter Address resolution protocol system and method in a virtual network
EP1411677A1 (en) * 2001-07-24 2004-04-21 NTT DoCoMo, Inc. Connection cutting method and associated link cut reporting method
JP2005073090A (en) * 2003-08-27 2005-03-17 Kobe Steel Ltd Communication system, its authentication method and authentication program
JP2006222993A (en) * 1997-09-22 2006-08-24 Toshiba Corp Gateway device and radio terminal
CN1925497A (en) * 2006-01-19 2007-03-07 莱克斯信息技术(北京)有限公司 Binding method based on VID, MAC, IP and users
CN101075962A (en) * 2007-06-26 2007-11-21 中兴通讯股份有限公司 Method and apparatus for realizing DHCP repeater in two-layer network exchanger
CN102257772A (en) * 2010-06-07 2011-11-23 华为技术有限公司 Method, device and system for service configuration

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222993A (en) * 1997-09-22 2006-08-24 Toshiba Corp Gateway device and radio terminal
US20020156612A1 (en) * 2001-04-20 2002-10-24 Peter Schulter Address resolution protocol system and method in a virtual network
EP1411677A1 (en) * 2001-07-24 2004-04-21 NTT DoCoMo, Inc. Connection cutting method and associated link cut reporting method
JP2005073090A (en) * 2003-08-27 2005-03-17 Kobe Steel Ltd Communication system, its authentication method and authentication program
CN1925497A (en) * 2006-01-19 2007-03-07 莱克斯信息技术(北京)有限公司 Binding method based on VID, MAC, IP and users
CN101075962A (en) * 2007-06-26 2007-11-21 中兴通讯股份有限公司 Method and apparatus for realizing DHCP repeater in two-layer network exchanger
CN102257772A (en) * 2010-06-07 2011-11-23 华为技术有限公司 Method, device and system for service configuration

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
钱卫,高瑞龙: "基于HTTP协议的EoC终端自动解决方案的设计与开发", 《中国有线电视》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379291A (en) * 2018-09-29 2019-02-22 新华三技术有限公司合肥分公司 The processing method and processing device of service request in a kind of networking

Also Published As

Publication number Publication date
CN105262688B (en) 2018-10-26

Similar Documents

Publication Publication Date Title
EP2919444B1 (en) Method, relay device, and system for acquiring internet protocol address in network
CN102882699B (en) The distribution method of fringe node and device and fringe node controller
US10298724B2 (en) Communication device and method for transmitting data within an industrial automation system
EP3032859B1 (en) Access control method and system, and access point
US20120324063A1 (en) Method, network device, and system for automatically configuring network device in ipv6 network
CN103248720A (en) Method and device for inquiring physical address
CN105245629A (en) DHCP-based host communication method and device
CN110855809B (en) Message processing method and device
CN102546267A (en) Automatic configuration method of network device and management server
CN102984031B (en) Method and device for allowing encoding equipment to be safely accessed to monitoring and control network
EP2536099A2 (en) Method and access node for preventing address conflict
CN107770010A (en) A kind of home intranet method and home networking system based on OpenFlow
CN105979202B (en) Data transmission method and device
CN106789725A (en) It is a kind of to realize the methods, devices and systems that flow is redirected
CN102420748B (en) Method and router for avoiding attack of ARP (address resolution protocol) report
CN108234217A (en) Networking equipment method of automatic configuration, electronic equipment and storage medium
EP3744051B1 (en) Virtual tenant for a multiple dwelling unit
CN106878481B (en) Method, device and system for acquiring Internet Protocol (IP) address
CN107343058B (en) IP address distribution system and working method thereof
CN105262688A (en) Message transmission method based on HTTP relay technology in EOC network
CN104468467A (en) Dynamic host configuration protocol (DHCP) message transmitting method and device
CN103001890B (en) A kind of method for network access control
CN108632173B (en) Resource access system and resource access method based on local area network
CN105376346A (en) Method and system for improving safety of dynamic host configuration protocol (DHCP)
CN104660446A (en) DHCP relay implementation system and method in N: 1 protection scenario

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181026

Termination date: 20201125

CF01 Termination of patent right due to non-payment of annual fee