CN105262688B - Message transmitting method based on HTTP relaying techniques in a kind of EOC networks - Google Patents
Message transmitting method based on HTTP relaying techniques in a kind of EOC networks Download PDFInfo
- Publication number
- CN105262688B CN105262688B CN201510832014.4A CN201510832014A CN105262688B CN 105262688 B CN105262688 B CN 105262688B CN 201510832014 A CN201510832014 A CN 201510832014A CN 105262688 B CN105262688 B CN 105262688B
- Authority
- CN
- China
- Prior art keywords
- http
- managed devices
- management server
- proxy management
- 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.)
- Expired - Fee Related
Links
Abstract
The present invention relates to EOC network technique fields, and the invention discloses the message transmitting methods based on HTTP relaying techniques in a kind of EOC networks, specifically include following step:It is relayed as HTTP Step 1: selecting a proxy management server in EOC networks, the proxy management server is used to manage all devices on its periphery, is established and is connected by double layer network between the proxy management server and managed devices.It is connected Step 2: user establishes with proxy management server first, after proxy management server receives the HTTP request message of user, the MAC Address of managed devices is parsed from message.Step 3: MAC Address Query Information table of the proxy management server according to managed devices, the virtual LAN VLAN where the IP address of managed devices, managed devices is obtained.Step 4: according to the virtual LAN VLAN where the IP address of managed devices, managed devices, the message Transfer pipe between managed devices and user is established.
Description
Technical field
The present invention relates to EOC network technique fields, and the invention discloses HTTP relaying techniques are based in a kind of EOC networks
Message transmitting method.
Background technology
In EOC networks, in such a way that embedded type WEB is come management equipment, have been widely recognized.But with EOC
The continuous variation of network topology, WEB manage required management information, such as IP, VLAN, routing etc., become increasingly difficult to
It obtains, larger burden is brought to the WEB management of administrator.
To solve the above-mentioned problems, a kind of solution is exactly to specify an access agent management server in a network,
It manages all equipment in periphery concentratedly, is linked by being automatically performed complicated management inside equipment.Use HTTP relaying techniques, solution
The certainly centralized management problem of EOC networks.
HTTP is relayed between client and server, is played the part of the role of " go-between ", is returned between each endpoint
HTTP message is sent, the part of connection is established between responsible processing client and server.
Common HTTP relaying realization principles are as shown in Figure 1.
HTTP relayings are to pass through TCP into http session layer by three-layer network network layers, four layers of transportation level:8080 ports with
Web client establishes connection, and HTTP relayings monitor 8080 ports, when receiving the HTTP request of Web client, can be taken as Web
Being engaged in, device is the same, and correct processing request and connection are then back to response.Meanwhile HTTP relays the clothes parsed according to dns server
Be engaged in device IP, passes through TCP:80 ports are established with server and are connected, and HTTP request are sent, to realize visit of the client to server
It asks.
The connection that common HTTP relayings are established between clients and servers is to be based on three-layer network, and EOC networks
Management be all based on double layer network, therefore the message transmitting method of EOC networks is difficult to realize using common HTTP relayings.
Invention content
For the above problem existing for message transmitting method in the prior art, the invention discloses in a kind of EOC networks
New message transmitting method based on HTTP relaying techniques.
Technical scheme is as follows
The invention discloses the message transmitting method based on HTTP relaying techniques in a kind of EOC networks, specifically include with
Under step:It is relayed as HTTP Step 1: selecting a proxy management server in EOC networks, the proxy management clothes
Business device is used to manage all devices on its periphery, is built by double layer network between the proxy management server and managed devices
Vertical connection.Step 2: when user need and managed devices between establish message Transfer pipe when, user first with proxy management
Server establishes connection, after proxy management server receives the HTTP request message of user, parses and is managed from message
The MAC Address of equipment.Step 3: MAC Address Query Information table of the proxy management server according to managed devices, obtains by pipe
Manage the virtual LAN VLAN where the IP address of equipment, managed devices.Step 4: according to the IP address of managed devices,
Virtual LAN VLAN where managed devices establishes the message Transfer pipe between managed devices and user.
Further, the above method further includes generation after searching the MAC Address failure of managed devices in information table
Reason server distribute one IP address to being managed from the IP address pond of the dynamic host configuration protocol DHCP server of itself
Equipment, meanwhile, proxy management server obtains the vlan information of managed devices using Link Layer Discovery Protocol LLDP agreements, and
A new information table is established in information table, records MAC Address, IP address and the virtual local area at place of managed devices
Net VLAN.
Further, the above method further includes discharging managed devices institute when managed devices information table fails
The IP address of distribution.
Further, above-mentioned HTTP relayings, which are established by the ports TCP80 with managed devices, connects, and realizes HTTP message
Mutual forwarding.
Further, above-mentioned user sends HTTP request in Web page to proxy management server, in HTTP request
Contain the MAC information of managed devices.
Further, above-mentioned HTTP relayings use automatic authority distribution.Administrator's identity can be enterprising in agent equipment
Row configuration, can also be by information such as the topology locations, management domain, time of managed devices come the person's of allocation managing permission, greatly
Ground is convenient for users to use.
Further, the above method further includes the time-out time of session being set, if overtime in handling conversation procedure
Another subprocess is then created, subsequent processing is completed by subprocess, HTTP relaying processes exit, go to handle other new meetings
Words.To ensure the treatment effeciency of session.
By using above technical solution, beneficial effects of the present invention include:Client establishes connection with server
Process is different, and HTTP relaying techniques of the invention and Web server are established connection and needed by double layer network, according to layer two MAC,
Vlan information distributes IP to managed devices automatically, passes through TCP:80 ports, IP and Vlan and managed devices, which are established, to be connected, real
The mutual forwarding of existing HTTP message.It contains to be managed in the HTTP request that Web client is sent to proxy management server and set
Standby MAC information, proxy management server is according to MAC Address, from the Dynamic Host Configuration Protocol server address pool of itself with distributing an IP
Managed devices are handed down in location, meanwhile, proxy management server can obtain the Vlan information of managed devices, establish an information
Table, information table use timing aging mechanism, often once access, and refresh corresponding information table ageing time, and ageing time is super
When, then the IP of release device.In the double layer network of EOC, a set of pipe based on three-layer network is realized by this programme technology
Reason scheme greatly enhances the efficiency of management.In the present solution, according to the two of equipment layers of information (MAC, VLAN) and three
Layer(More than)Information (IP, TCP port) establishes dynamic mapping relationship, and automatic business processing does not need administrative staff's intervention.
Session is handled by the way of multi-process, host process can handle multiple new sessions simultaneously so that Dialog processing and
When.The access rights of HTTP relay management persons are distributed by administrator's identity, and administrator's identity can be enterprising in agent equipment
Row configuration, can also by information such as the topology locations, management domain, time of managed devices come the person's of allocation managing permission, to
Mitigate the burden of administrator.
Description of the drawings
Fig. 1 is that common HTTP relays realization principle figure.
Fig. 2 is the centralized control structure topology schematic diagram of EOC networks.
Fig. 3 is that the HTTP of the present invention relays realization principle figure.
Fig. 4 is the centralized management structural schematic diagram of EOC networks.
Fig. 5 is the structural schematic diagram of information table.
Specific implementation mode
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, right
The present invention is described in more detail.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention,
It is not intended to limit the present invention.
The invention discloses the message transmitting method based on HTTP relaying techniques in a kind of EOC networks, specifically include with
Under step:It is relayed as HTTP Step 1: selecting a proxy management server in EOC networks, the proxy management clothes
Business device is used to manage all devices on its periphery, is built by double layer network between the proxy management server and managed devices
Vertical connection.Step 2: assume that user 1 manages the device A 1 that Vlan ID are VlanA, then user 1 first with proxy management server
Connection is established, proxy management server receives the HTTP request message of user 1, therefrom parses the MAC of managed devices A1
Address MacA1.Step 3: MAC Address Query Information table of the proxy management server according to managed devices A1, information table is as schemed
Shown in 5, the information such as IP, VLAN of managed devices are obtained;If searching failure, Dynamic Host Configuration Protocol server of the proxy server from itself
An IP is distributed in IP address pond(Such as IpA1)Managed devices A1 is given, meanwhile, proxy management server uses LLDP agreements
The vlan information for obtaining managed devices A1 is VlanA, establishes a new information table, MAC, IP of recording equipment A1,
The information such as VALN, and user's access times of setting information table, line duration.When subsequently accessing again, directly basis is managed
The MAC Address of device A 1 obtains corresponding IP and vlan information in record sheet;When facility information list item fails(For example list item is old
Change time-out)When, then release device A1 distribution IpA1.Step 4: proxy management server by newly assigned IpA1 be handed down to by
Management equipment A1, and VlanA identical with managed devices A1 is configured, establish a message Transfer pipe.In this way in EOC networks
In, HTTP relaying techniques are based on, the connection of user 1 and managed devices A1 is just established, realizes the mutual of HTTP message
Forwarding.
Fig. 3 is the realization principle of the HTTP relayings of the present invention.In HTTP relaying techniques and existing HTTP in the present invention
It is after identical:It is required for passing through TCP into http session layer by three-layer network network layers, four layers of transportation level:8080 ports with
Managed devices establish connection;Difference is:HTTP relaying techniques in the present invention establish connection with managed devices also to be needed
To pass through double layer network, the HTTP relayings of invention are to be set according to layer two MAC, vlan information automatic IP address allocation to being managed
It is standby, pass through TCP:80 ports, IP and Vlan and managed devices, which are established, to be connected, and realizes the mutual forwarding of HTTP message.
Web client is to proxy management server(HTTP is relayed)Managed devices are contained in the HTTP request of transmission
MAC information, proxy management server are distributed from the Dynamic Host Configuration Protocol server address pool of itself under an IP address according to MAC Address
Managed device is issued, meanwhile, proxy management server can obtain the Vlan information of managed device, establish an information table, information
Table uses timing aging mechanism, often once accesses, and refreshes corresponding information table ageing time, and ageing time time-out then discharges
The IP of equipment.
Usual administrator needs to carry out authentication, if there is multiple devices need to manage, then managing in access equipment
Reason person should accurately remember the authentication mode of every equipment, again every equipment of frequent certification, give the management band of administrator
Carry out certain burden.
In order to mitigate the administrative burden of administrator, HTTP of the invention relaying uses automatic authority distribution.Automatic permission point
With referring to the Permission Levels of automatic setting management by certain specific properties (such as management domain described below, period etc.)
(generally can divide Permission Levels by different accounts), without the mode of administrator's intervention, administrator is not necessarily to certification, Ke Yizhi
Management equipment is connect, if administrator needs, with the identity authority management equipment of higher level, to need manual authentication.The present invention
The access rights of HTTP relay management persons are distributed by administrator's identity, and administrator's identity can carry out on agent equipment
Configuration, can also be by information such as the topology locations, management domain, time of managed devices come the person's of allocation managing permission.
What is established between HTTP relayings and managed device is the short connections of HTTP, therefore, all sessions is all placed on one
The mode handled in process is difficult to realize.Under normal circumstances, the time of a page request is very short, each session
With in HTTP relaying processes completion handle, until conversation end;But there is also the request time of some pages is longer,
HTTP relays the current session of process long time treatment, causes other sessions can not timely processing.
In view of the presence of the above problem, HTTP relaying techniques of the invention handle session by the way of multi-process.
It handles in conversation procedure, sets the time-out time of session, another subprocess is created if time-out, after the completion of subprocess
Continuous processing, HTTP relay process(Host process is for the time being)It exits, goes to handle other new sessions.This makes it possible to by processing time
Longer session, which is cut into subprocess, to be handled, and host process can handle multiple new sessions simultaneously.
The coefficient and parameter gone out given in the above embodiments is available to those skilled in the art to realize or use
Invention, invention, which does not limit, only takes aforementioned disclosed numerical value, in the case where not departing from the thought of invention, the technology of this field
Personnel can make above-described embodiment various modifications or adjustment, thus the protection domain invented is not by above-described embodiment institute
Limit, and should be the maximum magnitude for meeting the inventive features that claims are mentioned.
Claims (7)
1. the message transmitting method based on HTTP relaying techniques in a kind of EOC networks, specifically includes following step:Step
One, it selectes a proxy management server in EOC networks to relay as HTTP, the proxy management server is for managing it
The all devices on periphery are established by double layer network between the proxy management server and managed devices and are connected;Step 2:
When user needs to establish message Transfer pipe between managed devices, user establishes with proxy management server first to be connected
It connects, after proxy management server receives the HTTP request message of user, the MAC of managed devices is parsed from message
Location;Step 3: proxy management server obtains the IP of managed devices according to the MAC Address Query Information table of managed devices
Virtual LAN VLAN where address, managed devices;Step 4: according to the IP address of managed devices, managed devices
The virtual LAN VLAN at place establishes the message Transfer pipe between managed devices and user.
2. the message transmitting method based on HTTP relaying techniques in EOC networks as described in claim 1, it is characterised in that described
Method further includes after searching the MAC Address failure of managed devices in information table, and proxy management server is moved from itself
An IP address is distributed in the IP address pond of state host configuration Dynamic Host Configuration Protocol server to managed devices, meanwhile, proxy management
Server obtains the vlan information of managed devices using Link Layer Discovery Protocol LLDP, and establish in information table one it is new
Information table records MAC Address, IP address and the virtual LAN VLAN at place of managed devices.
3. the message transmitting method based on HTTP relaying techniques in EOC networks as described in claim 1, it is characterised in that described
Method further includes when managed devices information table fails, and the IP address of managed devices is distributed in release.
4. the message transmitting method based on HTTP relaying techniques in EOC networks as described in claim 1, it is characterised in that described
HTTP relayings, which are established by the ports TCP80 with managed devices, to be connected, and realizes the mutual forwarding of HTTP message.
5. the message transmitting method based on HTTP relaying techniques in EOC networks as described in claim 1, it is characterised in that described
User sends HTTP request in Web page to proxy management server, and the MAC letters of managed devices are contained in HTTP request
Breath.
6. the message transmitting method based on HTTP relaying techniques in EOC networks as described in claim 1, it is characterised in that described
HTTP relayings allocate management of Permission Levels using automatic.
7. the message transmitting method based on HTTP relaying techniques in EOC networks as described in claim 1, it is characterised in that described
Method further includes setting the time-out time of session in handling conversation procedure, another subprocess is created if time-out, by
Subprocess completes subsequent processing, and HTTP relaying processes exit, go to handle other new sessions.
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 CN105262688A (en) | 2016-01-20 |
CN105262688B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109379291B (en) * | 2018-09-29 | 2021-09-07 | 新华三技术有限公司合肥分公司 | Method and device for processing service request in networking |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1411677A1 (en) * | 2001-07-24 | 2004-04-21 | NTT DoCoMo, Inc. | Connection cutting method and associated link cut reporting method |
JP2006222993A (en) * | 1997-09-22 | 2006-08-24 | Toshiba Corp | Gateway device and radio terminal |
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7174390B2 (en) * | 2001-04-20 | 2007-02-06 | Egenera, Inc. | Address resolution protocol system and method in a virtual network |
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 |
-
2015
- 2015-11-25 CN CN201510832014.4A patent/CN105262688B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006222993A (en) * | 1997-09-22 | 2006-08-24 | Toshiba Corp | Gateway device and radio terminal |
EP1411677A1 (en) * | 2001-07-24 | 2004-04-21 | NTT DoCoMo, Inc. | Connection cutting method and associated link cut reporting method |
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)
Title |
---|
基于HTTP协议的EoC终端自动解决方案的设计与开发;钱卫,高瑞龙;《中国有线电视》;20141015(第10期);1185-1190 * |
Also Published As
Publication number | Publication date |
---|---|
CN105262688A (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104283983B (en) | Virtual machine IP address distribution method and device in a kind of software defined network | |
CN103825975B (en) | Cdn node distribution server and system | |
CN103039038B (en) | Method and system for efficient use of a telecommunication network and the connection between the telecommunications network and a customer premises equipment | |
WO2015188689A1 (en) | Information processing method, network node, authentication method and server | |
CN104883390B (en) | A kind of method and device accessing third party's video monitoring equipment | |
JP2019515608A (en) | Access control | |
CN101217482A (en) | A method traversing NAT sending down strategy and a communication device | |
CN101741702A (en) | Method and device for limiting broadcast of ARP request | |
CN101321054B (en) | Method and device for automatically preventing imitation of network side media access control address | |
CN106612196B (en) | Obtain the method and device of resource | |
CN102377833A (en) | Method and device for managing network address translation | |
CN104184616A (en) | Intelligent management system for local area network resources | |
CN107770010A (en) | A kind of home intranet method and home networking system based on OpenFlow | |
CN108769279A (en) | Intranet fire fighting monitoring video access methods and system based on ssh reverse tunnels | |
US20210321253A1 (en) | Virtual tenant for multiple dwelling unit | |
CN106716939A (en) | Improved qos in data stream delivery | |
CN103067531B (en) | A kind of public network IP address resources management distribution method | |
CN103069750B (en) | The method and system of the connection for being efficiently used between communication network and this communication network and customer rs premise equipment | |
CN108234217A (en) | Networking equipment method of automatic configuration, electronic equipment and storage medium | |
CN100365591C (en) | Network address distributing method based on customer terminal | |
CN105553712B (en) | It is a kind of realize binary channels connection server, terminal, method and system | |
CN105262688B (en) | Message transmitting method based on HTTP relaying techniques in a kind of EOC networks | |
CN107343058B (en) | IP address distribution system and working method thereof | |
CN106878481A (en) | A kind of Internet protocol IP address acquisition methods, device and system | |
WO2020029793A1 (en) | Internet access behavior management system, device and method |
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 |