[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106603257A - Method for determining association relationship between station and switch port - Google Patents

Method for determining association relationship between station and switch port Download PDF

Info

Publication number
CN106603257A
CN106603257A CN201510665974.6A CN201510665974A CN106603257A CN 106603257 A CN106603257 A CN 106603257A CN 201510665974 A CN201510665974 A CN 201510665974A CN 106603257 A CN106603257 A CN 106603257A
Authority
CN
China
Prior art keywords
station
positioning
service end
switch
information point
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
CN201510665974.6A
Other languages
Chinese (zh)
Other versions
CN106603257B (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.)
BEIJING ACK NETWORKS Inc
Original Assignee
Zhejiang Acknetworks Technology Co Ltd
BEIJING AIKE NETWORK COMMUNICATIONS 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 Zhejiang Acknetworks Technology Co Ltd, BEIJING AIKE NETWORK COMMUNICATIONS TECHNOLOGY CO LTD filed Critical Zhejiang Acknetworks Technology Co Ltd
Priority to CN201510665974.6A priority Critical patent/CN106603257B/en
Publication of CN106603257A publication Critical patent/CN106603257A/en
Application granted granted Critical
Publication of CN106603257B publication Critical patent/CN106603257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a method for determining the association relationship between a station and a switch port. Firstly, an ACK equipment server bypass is accessed to a local area network, and a switch with the need of positioning is managed. A station information point with the need of positioning is selected, a station positioning service end and the station information point with the need of positioning are connected by a cable, and a communication connection is established among a station positioning client, a station positioning service end and an ACK equipment server. The station positioning client calls a station positioning program to position the station information point. The steps (2) and (3) are repeated until the positioning of all station information points with the need of positioning is completed. According to the method, through the station positioning program in the station positioning client, the communication with the ACK equipment server whose bypass is accessed to the local area network is carried out, the association relationship between the station and the switch port is determined, the operation is simple and convenient, the method is easy to use, the actual association relationship between the station and the switch port can be effectively and timely obtained, and the dynamic management can be realized with the cooperation of other systems and equipment.

Description

A kind of method for determining station and the incidence relation of switch ports themselves
Technical field
The present invention relates to technical field of the computer network, specifically a kind of to determine station and exchange The method of the incidence relation of generator terminal mouth.
Background technology
In office intranets, a station typically at least corresponds to a station information point, or One station correspondence two or more station information point, a station information point can only belong to one Station, the station information point is generally used for connecting the equipment such as computer or phone, each station information Point is connected to switch ports themselves by cable (such as netting twine etc.) respectively.If necessary to positioning work Position and the incidence relation of switch ports themselves (incidence relations of station information point and switch ports themselves), Main positioning mode is manually label to be made on netting twine, i.e.,:In connection station information point and friendship Label is made respectively at the change planes two ends of netting twine of port, then writes statistical form and is manually counted. The problem of this kind of positioning mode is:
If there is station change or switch ports themselves change situation when, it is possible to can cause The incidence relation of station information point shown in label and switch ports themselves is with actual incidence relation not Unanimously;Meanwhile, this kind of positioning mode is also not easy to dynamic management, it is impossible to be with reference to access management System platform be managed collectively, dynamic update, to physical circuit also cannot visualized management check, Cause network O&M personal management inconvenience.
Line finder can also positional stations and switch ports themselves incidence relation, but use hunting Device needs two people to coordinate, and a people is at station by the main frame (transmitter) and netting twine of line finder One end connection, the other end of netting twine is connected to station information point, and another people is led at switch Receiver search is crossed, the station information point is may know that and is handed over when occurring alarm sound in receiver Change planes the incidence relation of port.The problem of this kind of positioning mode is:
Need two people and linked up by intercom or phone, it is ensured that change next station Synchronously carry out with the work for passing through receiver search, if people's operation line finder can reduce work Make efficiency.
The content of the invention
For defect present in prior art, it is an object of the invention to provide a kind of determine work Position and the method for the incidence relation of switch ports themselves, are determined by the station on station location client end Position program, with bypass access to LAN ACK device servers communication, realize positional stations with The incidence relation of switch ports themselves, it is simple to operate, convenient, it is easy to use, can be efficient in time Know the actual incidence relation of station and switch ports themselves, other systems and equipment reality can be coordinated Existing dynamic management.
To reach object above, the present invention is adopted the technical scheme that:
A kind of method for determining station and the incidence relation of switch ports themselves, it is characterised in that bag Include following steps:
The first step, by ACK device servers D access to LAN is bypassed, and management needs positioning Switch C;
It is man-to-man by netting twine between the switch ports themselves and station information point of the switch C Connection;
The station information point manages and distributes IP address by ACK device server D;
Second step, selectes a station information point for needing positioning, with netting twine connection station positioning The station information point of service end B and the needs positioning, and in station location client end A, station Communication connection is set up between B, ACK device server D three of positioning service end;
The station positioning service end B has wireless aps function;
The station location client end A is communicated by wireless aps with station positioning service end B;
Operation on the station location client end A has a station finder;
3rd step, station location client end A calls station finder positional stations information point;
4th step, select it is next need positioning station information point, and repeat second step, the 3rd Step, until all need the station information point for positioning to position completing.
On the basis of above-mentioned technical proposal, ACK device servers D manages the pipe of switch C Reason mode is:
Snmp functions are opened on ACK device server D, the server itself is assisted with snmp The network management software of view, supports the configurable v2c or v3 versions of switch of snmp agreements Community by with snmp agreements the network management software manage.
On the basis of above-mentioned technical proposal, the ACK device servers are that management network connects Enter the server apparatus of control system,
ACK device servers possess the processing function to station state information, can analyze station It is which port of which platform switch device that information point is corresponding, is provided simultaneously with checking the switch Port in position or no-fix state function.
On the basis of above-mentioned technical proposal, the station positioning service end B is a 3G without Line router, possesses the function of generating specific MAC Address and modification MAC Address at random, tool There is wireless aps function.
On the basis of above-mentioned technical proposal, the 3G wireless routers are operation OpenWrt The 3G wireless routers of system, on the basis of the wireless router hardware configuration, are based on OpenWrt systems carry out secondary development, and concrete exploitation content is as follows:
Retain original function:Wireless aps function, DHCP functions, NAT translation functions,
Increase new function:Specific MAC Address function is generated at random, changes MAC Address Function,
The specific MAC Address is used between station location client end and ACK device servers Carry out http communication.
On the basis of above-mentioned technical proposal, the station location client end A, is an intelligent sliding Dynamic terminal, thereon operation has a station finder.
On the basis of above-mentioned technical proposal, the intelligent mobile terminal preferably carries IOS systems The smart mobile phone or Intelligent flat computer of system or andriod systems;
Station finder possesses the work(that request positioning instruction is sent to ACK device servers D Can, possess the function of the response for receiving and parsing through ACK device server D.
On the basis of above-mentioned technical proposal, in second step, it is described station location client end A, Communication connection is set up between B, ACK device server D three of station positioning service end, specifically Step is as follows:
Step 2.1, starts the WiFi function of station location client end A, search station positioning The SSID of service end B simultaneously connects, and station positioning service end B is station location client end A point With IP address;
Step 2.2, runs station finder on station location client end A, makes to come from The HTTP message of the station location client end A places network segment is asked all by station positioning service The NAT translation functions of end B turn out data from physical internet ports,
Now, station location client end A is sent out by http protocol to station positioning service end B Modification MAC instruction is sent, notifies that station positioning service end B changes the MAC of oneself physical internet ports, New MAC Address is C4:0E:45:01:F0:00~C4:0E:45:01:FF:Select at random in FF Select one;
Step 2.3, station positioning service end B using amended MAC from station information point to Connected switch ports themselves send dhcp broadcast request;
Step 2.4, ACK device server D are received after dhcp broadcast, distribution administration network IP address gives station positioning service end B;
Step 2.5, station positioning service end B obtains IP successes from ACK device servers D Afterwards, oneself current MAC Address, oneself current IP are sent to station location client end A Address, ACK device server IP address.
On the basis of above-mentioned technical proposal, in the 3rd step, the positional stations information point, tool Body step is as follows:
3.1, station finder sends instruction by http protocol to ACK device servers please Renewal basic data is sought,
ACK device servers return the basic data for having created by XML,
The basic data is the company geographic location according to the deployment of ACK device servers Create, mainly constituted, and set up by city that company is located, building, floor, room, station The data of incidence relation;
3.2, according to the basic data that ACK device servers are returned, on station finder Show all station information points of current ACK device servers administration;
3.3, into a certain station information point, and Location Request is initiated by station finder:
Station finder sends instruction request by http protocol to ACK device servers to be determined Position, the request particular content includes:Station positioning service end IP, station location-server end MAC, positional stations place city, building, floor, room number, station title, station letter Breath point title;
ACK device servers are received after the instruction of request positioning, extract station positioning service end MAC, scans whole switch device, according to standard in administration network startup snmp processes The index of MIB storehouses node checks station positioning service end MAC correspondence switch ports themselves, confirming should Station positioning service end MAC is located at which port of switch;
ACK device servers are by station positioning service end MAC and switch ports themselves associated with it Station finder is returned to, the information of return is specifically included:Error code, switch and port Name information, station title, station information point and switch ports themselves incidence relation information, meanwhile, ACK device servers show the work for accessing station positioning service end B in its location data list The incidence relation of position information point and switch ports themselves;
So far, single station information point is completed with the incidence relation positioning of switch ports themselves.
On the basis of above-mentioned technical proposal, when local net network wiring increases switch device newly, Station finder possesses increase station and increases station information point function,
Station finder possesses the station information point to having positioned and performs the work(for cancelling positioning Energy.
The method for determining station and the incidence relation of switch ports themselves of the present invention, by work Station finder on the location client end of position, the ACK device services with bypass access to LAN Device is communicated, and realizes the incidence relation of positional stations and switch ports themselves, simple to operate, convenient, It is easy to use, the actual incidence relation of station and switch ports themselves can be efficiently known in time, Other systems and equipment can be coordinated to realize dynamic management.
Description of the drawings
The present invention has drawings described below:
The network topology schematic diagram of Fig. 1 office intranets,
The flow chart of Fig. 2 present invention.
Specific embodiment
The present invention is described in further detail below in conjunction with accompanying drawing.
With the fast development of information-based office automatic, visualization positional stations and dynamic management Station seems very necessary with the incidence relation of switch ports themselves, contributes to network O&M personnel high Effect office, so the present invention provides the side of a kind of determination station and the incidence relation of switch ports themselves Method.
The method for determining station and the incidence relation of switch ports themselves of the present invention, including such as Lower step:
The first step, by ACK device servers D access to LAN is bypassed, and management needs positioning Switch C;
It is man-to-man by netting twine between the switch ports themselves and station information point of the switch C Connection;
The station information point manages and distributes IP address by ACK device server D;
Second step, selectes a station information point for needing positioning, with netting twine connection station positioning The station information point of service end B and the needs positioning, and in station location client end A, station Communication connection is set up between B, ACK device server D three of positioning service end;
The station positioning service end B has wireless aps (WAP is commonly called as " focus ") Function;
The station location client end A is communicated by wireless aps with station positioning service end B;
Operation on the station location client end A has a station finder (station location client End program);
3rd step, station location client end A calls station finder positional stations information point;
4th step, select it is next need positioning station information point, and repeat second step, the 3rd Step, until all need the station information point for positioning to position completing.
The method for determining station and the incidence relation of switch ports themselves of the present invention, can apply In office intranets, the network topology of the office intranets as shown in figure 1, including: Station location client end A, station positioning service end B, switch C and ACK device server D, wherein:
ACK device servers D bypasses access to LAN, and manages the switch C for needing positioning, ACK device servers D manages the way to manage of switch C:ACK device server D sheets Body is provided with the network management software with snmp agreements, supports that the switch of snmp agreements can The Community of configuration v2c or v3 versions is by the network management software with snmp agreements Management;
With netting twine (can be category-5 cable, CAT5E UTP cable or the six class lines of RJ45 connectors) connection The station information point of station positioning service end B and needs positioning,
The station positioning service end B has wireless aps function, and station location client end A leads to Cross wireless aps and station positioning service end B sets up connection, make station location client end A, work Energy direction communication between position positioning service end B, switch C and ACK device server D,
A station finder, the program are installed and run on the station location client end A Can be called by station location client end A;
Station location client end A calls station finder, sends to ACK device servers D Request positioning instruction, and station information point is finally determined according to the response of ACK device server D With the incidence relation of switch ports themselves.
On the basis of above-mentioned technical proposal, the ACK device servers (referred to as IDNac): It is the server apparatus for managing network access control system (access management system),
ACK device servers possess the processing function to station state information, can analyze station It is which port of which platform switch device that information point is corresponding, is provided simultaneously with checking the switch Port in position or no-fix state function.
The major function of ACK device servers includes:The network equipment, clothes to access to LAN Business device equipment, computer, the access of mobile terminal are managed control, and the above-mentioned type are set It is standby that DHCP, radius certification, the comprehensive service system of snmp management are provided, while to Jing includes the equipment of management and carries out visualized management.
On the basis of above-mentioned technical proposal, the station positioning service end B is (referred to as IDPos):For a 3G wireless routers, possess and generate at random specific MAC Address and modification The function of MAC Address, with wireless aps function;
In the specific implementation, preferred operation OpenWrt systems (are run on embedded device A kind of Linux system) 3G wireless routers, for example can select commercially available TP-LINK TL-MR10U (150M portable wireless 3G routers), in the wireless router hardware configuration On the basis of, secondary development is carried out based on OpenWrt systems, concrete exploitation content is as follows:
Retain original function:Wireless aps function, DHCP functions, NAT translation functions,
Increase new function:Specific MAC Address function is generated at random, changes MAC Address Function,
The specific MAC Address is used between station location client end and ACK device servers Carry out http communication.
After secondary development, it is .bin form mirrors to support that the OpenWrt of above-mentioned functions is recompilated As file, wireless router LAN/WAN mouths are directly connected to computer by netting twine, and computer setting is quiet State IP (192.168.1.X), by the web-based management page of the computer to access wireless router (http:// 192.168.1.1) carry out the .bin mirror images text that upgrading OpenWrt is recompilated Part.
On the basis of above-mentioned technical proposal, the station location client end A is (referred to as ACKGIS):For an intelligent mobile terminal, run has a station finder (APP) thereon;
The intelligent mobile terminal preferably carries the intelligent hand of IOS systems or andriod systems Machine or Intelligent flat computer, develop on IOS or andriod platforms and run the station and determine Position program, station finder possesses to be sent to ACK device servers D asks positioning instruction Function, the function of possessing the response for receiving and parsing through ACK device server D, preferably passes through Http protocol sends the data message of specific format.
On the basis of above-mentioned technical proposal, in second step, it is described station location client end A, Communication connection is set up between B, ACK device server D three of station positioning service end, specifically Step is as follows:
Step 2.1, starts the WiFi function of station location client end A, search station positioning The SSID of service end B simultaneously connects, and station positioning service end B is station location client end A point With IP address (the 172.16.1.0/24 network segments);
Step 2.2, runs station finder on station location client end A, makes to come from The HTTP message of the station location client end A places network segment is asked all by station positioning service The NAT translation functions of end B turn out data from physical internet ports,
Now, station location client end A is sent out by http protocol to station positioning service end B Modification MAC instruction is sent, notifies that station positioning service end B changes the MAC of oneself physical internet ports, New MAC Address is C4:0E:45:01:F0:00~C4:0E:45:01:FF:Select at random in FF Select one;
For example:During operation station finder, asked by sending the post of HTTP, C4:0E:45:01:F0:00~C4:0E:45:01:FF:Randomly choose in FF mac address ranges MAC of one MAC Address as the physical internet ports at station positioning service end;For example select C4:0E:45:01:F0:00;
Station location client end sends the request of modification MAC to station positioning service end, passes through The value of parameter cmd that HTTP sends determines (No. 25 orders):
Station location client end is to the parameter (value) that ACK device servers send agreement:
Step 2.3, station positioning service end B using amended MAC from station information point to Connected switch ports themselves send dhcp broadcast request;
Step 2.4, ACK device server D are received after dhcp broadcast, distribution administration network IP address gives station positioning service end B;
Step 2.5, station positioning service end B obtains IP successes from ACK device servers D Afterwards, oneself current MAC Address is sent (such as to station location client end A C4:0E:45:01:F0:00), oneself current IP address, ACK device server IP address.
On the basis of above-mentioned technical proposal, in the 3rd step, the positional stations information point, tool Body step is as follows:
3.1, station finder sends instruction by http protocol to ACK device servers please Renewal basic data is sought,
ACK device servers return the basic data for having created by XML,
The basic data is the company geographic location according to the deployment of ACK device servers Create, mainly constituted, and set up by city that company is located, building, floor, room, station The data of incidence relation;
For example:
Call station finder to pass through http protocol and take to ACK equipment in station location client end Business device sends the post requests (No. 23 orders) for updating basic data:
No. 23 command formats are as follows:
Tip=192.168.*.*&tmac=C4:0E:45:xx:yy:Zz&ttype=3&cmd=5242 92&msg=
//tip is station positioning service end IP address;Tmac is station location-server end MAC Address;Ttype represents the data markers of transmission;What cmd represented transmission is how many numbers orders, Decimal value 524292 (octal system 0x00080004) represents No. 23 orders;Msg is prompting Information, can be sky;
ACK device servers return the basic data for having created with XML, that is, have built up Company's station information data, XML instance information:
The basic data parameter declaration for having created:
gisinfo:ACK device server positioning basic informations
city name:City name
building name:Building title
floor num:Floor name
room num:Room title
cube name:Station title
outlet:Station information point title, parameter isPostion=1 represented and position;Ginseng Number isPostion=0 represents no-fix;
3.2, according to the basic data that ACK device servers are returned, on station finder Show all station information points of current ACK device servers administration;
For example:Show as follows:City → building → floor → room → station → station Information point;One station can correspond to multiple station information points, and a station information point can only return Belong to a station;
3.3, (selection) a certain station information point is entered, and initiated by station finder Location Request:
Station finder sends instruction request by http protocol to ACK device servers to be determined Position, the request particular content includes:Station positioning service end IP address, station positioning service Device end MAC, positional stations place city, building, floor, room number, station title, work Position information point title;
ACK device servers are received after the instruction of request positioning, extract station positioning service end MAC, scans whole switch device, according to standard in administration network startup snmp processes The index of MIB storehouses node checks station positioning service end MAC correspondence switch ports themselves, confirming should Station positioning service end MAC is located at which port of switch;
ACK device servers are by station positioning service end MAC and switch ports themselves associated with it Station finder is returned to, the information of return is specifically included:Error code, switch and port Name information, station title, station information point and switch ports themselves incidence relation information, meanwhile, ACK device servers show the work for accessing station positioning service end B in its location data list The incidence relation of position information point and switch ports themselves;
So far, single station information point is completed with the incidence relation positioning of switch ports themselves;
For example:
Station location client end sends the request of station positioning to ACK device servers, passes through Json (JavaScript Object Notation, a kind of data interchange format of lightweight) The value of format parameter iEventID determines (No. 24 orders):
No. 24 command formats are as follows:
On the basis of above-mentioned technical proposal, when local net network wiring increases switch device newly, Station finder possesses increase station and increases station information point:
Station positioning service end B is accessed into a station information point of ACK device servers D management On, intelligent mobile terminal opens station finder, and selection needs the room for increasing station, point " machining position " button is hit, after being input into newly-built station information determination, station location client end A Being sent to ACK device servers by http protocol increases station instruction, station finder Returning increases station result;On station location client end A, selection needs the room for increasing station Between, " plus information point " button is clicked on, after being input into newly-built station information point determination, station is fixed Position customer end A sends increase station information point and refers to by http protocol to ACK device servers Order, station finder is returned increases station information point result.In ACK device server stations Correspondence shows the station and station information point for increasing newly in data list.Can complete right according to step 3 The positioning of newly-increased station information point.
Carry out increasing station and the more convenient network O&M of station information point by station finder The dynamic management that personnel change to station physical location, while on ACK device servers Visualization positioning can be carried out.
Station location client end sends to ACK device servers increases station or information point Request, is determined (No. 27 orders) by the value of json format parameter iEventID:
Configured transmission and its parameter pair that station location client end is arranged to ACK device servers Should be worth and be:
On the basis of above-mentioned technical proposal, station finder possesses the station to having positioned Information point performs the function of cancelling positioning:
Station positioning service end B is accessed into a station information point of ACK device servers D management On, intelligent mobile terminal opens station finder, selects the station information for needing to cancel positioning Point, close location information point position-sensing switch, station finder by http protocol to ACK device servers send cancels positioning instruction, and ACK device servers return cancellation and are positioned to The result of work(gives station finder, while showing in ACK device server location data lists Show no-fix state, no-fix is displayed that on station finder, cancel position fixing process and complete.
Station location client end to ACK device servers send the request that station cancels positioning, lead to The value for crossing json format parameter iEventID determines (No. 26 orders):
Configured transmission and its parameter pair that station location client end is arranged to ACK device servers Should be worth and be:
As shown in Fig. 2 Layering manifestation is logical from intelligent mobile terminal to ACK device server D Letter flow journey and the response relation of time.(1) in, intelligent mobile terminal successfully installs station positioning Program;(2) in, station positioning service end B is believed by RJ-45 connector twisted pair line connection station Breath point (associated exchange port), when opening station finder, will by http protocol No. 25 orders are sent to station positioning service end B, complete to change MAC within the T1 times;(3) (4) in, station positioning service end B uses the MAC in (2), by DHCP protocol It is ff to initiate destination to the whole network:ff:ff:ff:ff:The discover requests of ff, ACK sets Standby server D replys offer, and station positioning service end B continues to initiate request requests, The ack for obtaining ACK device server D replys the three-way handshake for completing DHCP, in the T2 times The available IP address that afterwards B applications in station positioning service end distribute to ACK device servers; In the T3 times, result (5) is returned to station finder by station positioning service end B;Work Position finder is set up within the T4 times by (6) and (7) with ACK device servers D Communication, is obtained by standard mib node and exchanges generator terminal attribute, respective action (increase station, Positional stations, cancel positioning) result (8) shows intelligent mobile terminal, and allow and use Person can be visually seen last result.When the result that an action is completed for user is responded Between all in the T5 time periods.
(5):Refer to MAC, IP address, the IP of ACK device servers at station positioning service end
(6):Refer to that station finder sends 23,24,26,27 to station positioning service end Number order
(7):ACK device servers return result and position to station by http protocol Program
(8):The object information that user understands is shown on intelligent mobile terminal
T1:Modification MAC response times (Millisecond)
T2:Station positioning service end B obtains the time (Millisecond) of IP
T3:The time (Millisecond) of No. 25 order returning results
T4:Station finder completes the time using action
T5:Time of the station finder operational motion to response results
The invention can quickly orient associating for each station information point and switch ports themselves It is can to pass through list, plan, block diagram, cake chart on ACK device servers Form shows, can accurately help network O&M personnel to enter when exception or failure occurs in terminal Row visual analyzing, greatly reduces the network O&M personnel investigation net in informatized office work environment The cost of network terminal fault.Can be positioned in real time simultaneously for the change of Administrative Area structure dynamics With cancellation positioning action, its real-time is remained, it is not required that network O&M personnel pass through table The form of lattice is gone to safeguard and is updated.
The content not being described in detail in this specification belongs to known in professional and technical personnel in the field Prior art.

Claims (10)

1. a kind of method of the incidence relation for determining station and switch ports themselves, it is characterised in that Comprise the steps:
The first step, by ACK device servers D access to LAN is bypassed, and management needs positioning Switch C;
It is man-to-man by netting twine between the switch ports themselves and station information point of the switch C Connection;
The station information point manages and distributes IP address by ACK device server D;
Second step, selectes a station information point for needing positioning, with netting twine connection station positioning The station information point of service end B and the needs positioning, and in station location client end A, station Communication connection is set up between B, ACK device server D three of positioning service end;
The station positioning service end B has wireless aps function;
The station location client end A is communicated by wireless aps with station positioning service end B;
Operation on the station location client end A has a station finder;
3rd step, station location client end A calls station finder positional stations information point;
4th step, select it is next need positioning station information point, and repeat second step, the 3rd Step, until all need the station information point for positioning to position completing.
2. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 1 Method, it is characterised in that ACK device servers D manages the way to manage of switch C and is:
Snmp functions are opened on ACK device server D, the server itself is assisted with snmp The network management software of view, supports the configurable v2c or v3 versions of switch of snmp agreements Community by with snmp agreements the network management software manage.
3. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 1 Method, it is characterised in that:The ACK device servers, are management network access control systems Server apparatus,
ACK device servers possess the processing function to station state information, can analyze station It is which port of which platform switch device that information point is corresponding, is provided simultaneously with checking the switch Port in position or no-fix state function.
4. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 1 Method, it is characterised in that:The station positioning service end B, is a 3G wireless routers, tool The standby function of generating specific MAC Address and modification MAC Address at random, with wireless aps work( Energy.
5. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 4 Method, it is characterised in that:The 3G wireless routers, be run OpenWrt systems 3G without Line router, on the basis of the wireless router hardware configuration, is carried out based on OpenWrt systems Secondary development, concrete exploitation content is as follows:
Retain original function:Wireless aps function, DHCP functions, NAT translation functions,
Increase new function:Specific MAC Address function is generated at random, changes MAC Address Function,
The specific MAC Address is used between station location client end and ACK device servers Carry out http communication.
6. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 1 Method, it is characterised in that:The station location client end A, is an intelligent mobile terminal, at it Upper operation has a station finder.
7. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 6 Method, it is characterised in that:The intelligent mobile terminal preferably carries IOS systems or andriod The smart mobile phone or Intelligent flat computer of system;
Station finder possesses the work(that request positioning instruction is sent to ACK device servers D Can, possess the function of the response for receiving and parsing through ACK device server D.
8. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 1 Method, it is characterised in that in second step, it is described in station location client end A, station positioning clothes Communication connection is set up between business end B, ACK device server D three, is comprised the following steps that:
Step 2.1, starts the WiFi function of station location client end A, search station positioning The SSID of service end B simultaneously connects, and station positioning service end B is station location client end A point With IP address;
Step 2.2, runs station finder on station location client end A, makes to come from The HTTP message of the station location client end A places network segment is asked all by station positioning service The NAT translation functions of end B turn out data from physical internet ports,
Now, station location client end A is sent out by http protocol to station positioning service end B Modification MAC instruction is sent, notifies that station positioning service end B changes the MAC of oneself physical internet ports, New MAC Address is C4:0E:45:01:F0:00~C4:0E:45:01:FF:Select at random in FF Select one;
Step 2.3, station positioning service end B using amended MAC from station information point to Connected switch ports themselves send dhcp broadcast request;
Step 2.4, ACK device server D are received after dhcp broadcast, distribution administration network IP address gives station positioning service end B;
Step 2.5, station positioning service end B obtains IP successes from ACK device servers D Afterwards, oneself current MAC Address, oneself current IP are sent to station location client end A Address, ACK device server IP address.
9. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 1 Method, it is characterised in that in the 3rd step, the positional stations information point, comprises the following steps that:
3.1, station finder sends instruction by http protocol to ACK device servers please Renewal basic data is sought,
ACK device servers return the basic data for having created by XML,
The basic data is the company geographic location according to the deployment of ACK device servers Create, mainly constituted, and set up by city that company is located, building, floor, room, station The data of incidence relation;
3.2, according to the basic data that ACK device servers are returned, on station finder Show all station information points of current ACK device servers administration;
3.3, into a certain station information point, and Location Request is initiated by station finder:
Station finder sends instruction request by http protocol to ACK device servers to be determined Position, the request particular content includes:Station positioning service end IP, station location-server end MAC, positional stations place city, building, floor, room number, station title, station letter Breath point title;
ACK device servers are received after the instruction of request positioning, extract station positioning service end MAC, scans whole switch device, according to standard in administration network startup snmp processes The index of MIB storehouses node checks station positioning service end MAC correspondence switch ports themselves, confirming should Station positioning service end MAC is located at which port of switch;
ACK device servers are by station positioning service end MAC and switch ports themselves associated with it Station finder is returned to, the information of return is specifically included:Error code, switch and port Name information, station title, station information point and switch ports themselves incidence relation information, meanwhile, ACK device servers show the work for accessing station positioning service end B in its location data list The incidence relation of position information point and switch ports themselves;
So far, single station information point is completed with the incidence relation positioning of switch ports themselves.
10. the side of station and the incidence relation of switch ports themselves is determined as claimed in claim 1 Method, it is characterised in that:When local net network wiring increases switch device newly, station finder Possess increase station and increase station information point function,
Station finder possesses the station information point to having positioned and performs the work(for cancelling positioning Energy.
CN201510665974.6A 2015-10-15 2015-10-15 method for determining incidence relation between station and switch port Active CN106603257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510665974.6A CN106603257B (en) 2015-10-15 2015-10-15 method for determining incidence relation between station and switch port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510665974.6A CN106603257B (en) 2015-10-15 2015-10-15 method for determining incidence relation between station and switch port

Publications (2)

Publication Number Publication Date
CN106603257A true CN106603257A (en) 2017-04-26
CN106603257B CN106603257B (en) 2019-12-17

Family

ID=58553427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510665974.6A Active CN106603257B (en) 2015-10-15 2015-10-15 method for determining incidence relation between station and switch port

Country Status (1)

Country Link
CN (1) CN106603257B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979649A (en) * 2017-12-15 2018-05-01 武汉精测电子集团股份有限公司 The more wire body multistation system and methods of AOI based on Inline servers
CN110097299A (en) * 2019-05-31 2019-08-06 济南中维世纪科技有限公司 A kind of factory order production system and its application reducing cost
CN114095508A (en) * 2020-07-31 2022-02-25 南京理工大学 Method for P2P transmission under same switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119394A (en) * 2007-08-09 2008-02-06 北京艾科网信科技有限公司 Network based IP distribution method and bypass equipment
CN101540757A (en) * 2008-03-19 2009-09-23 北京艾科网信科技有限公司 Method and system for identifying network and identification equipment
CN101674232A (en) * 2008-09-10 2010-03-17 北京艾科网信科技有限公司 Server, method and system of access control
CN102244867A (en) * 2010-05-14 2011-11-16 新浪网技术(中国)有限公司 Network access control method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119394A (en) * 2007-08-09 2008-02-06 北京艾科网信科技有限公司 Network based IP distribution method and bypass equipment
CN101540757A (en) * 2008-03-19 2009-09-23 北京艾科网信科技有限公司 Method and system for identifying network and identification equipment
CN101674232A (en) * 2008-09-10 2010-03-17 北京艾科网信科技有限公司 Server, method and system of access control
CN102244867A (en) * 2010-05-14 2011-11-16 新浪网技术(中国)有限公司 Network access control method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107979649A (en) * 2017-12-15 2018-05-01 武汉精测电子集团股份有限公司 The more wire body multistation system and methods of AOI based on Inline servers
CN110097299A (en) * 2019-05-31 2019-08-06 济南中维世纪科技有限公司 A kind of factory order production system and its application reducing cost
CN114095508A (en) * 2020-07-31 2022-02-25 南京理工大学 Method for P2P transmission under same switch

Also Published As

Publication number Publication date
CN106603257B (en) 2019-12-17

Similar Documents

Publication Publication Date Title
US11178049B2 (en) Device deployment and net work management using a self-service portal
CN103404165B (en) Automation foundation facilities management system and the method for realizing real-time power management
US20070005809A1 (en) Network information processing system and network information processing method
CN109474481B (en) Equipment deployment method and system, network management server, mobile terminal and storage medium
CN109391516B (en) Cloud third-party network management system for realizing centralized maintenance and management of multi-manufacturer UTN equipment
CN102185716B (en) Universal management method and system for communication equipment
US20050071430A1 (en) Network information processing system and information processing method
CN104837147B (en) The configuration method and system of wireless access points
CN109743401A (en) A kind of intelligent device management system based on Internet of Things edge calculations server
CN109474936A (en) Applied to the Internet of Things means of communication and system between multiple lora gateways
KR20110055561A (en) The development, test, and demonstration of automation solutions using web-based virtual computers and vpn tunneling
CN104158686A (en) Configuration management method and system
CN106713684B (en) The binding method and equipment of the number of Unified Communication client account and phone
CN108199869A (en) For the wireless MAN and its safety management system of education sector
CN108390774A (en) A kind of wide area network network-building method and system based on software definition
CN103532746A (en) Method and system for generating business topology of industrial system
CN106603257A (en) Method for determining association relationship between station and switch port
CN104144491B (en) A kind of method and system to the real-time positioning of WiFi terminal
CN106713519A (en) Network communication method and system based on software-defined networking
WO2017117869A1 (en) Base station monitoring method, terminal, vpn server, and system
CN106330511B (en) Network element equipment and method for opening data communication network
CN104506405B (en) The method and device of cross-domain access
CN107769964B (en) Special line checking method and system
CN102984202A (en) System achieving Telnet web management by traversing network address translation (NAT) device and method thereof
DE102019008189A1 (en) Procedure and arrangement for emergency call communication via nomadic ALL-IP connections

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200424

Address after: Room 302, floor 3, building B, No. 1, Shangdi Information Road, Haidian District, Beijing (Beijing Shichuang hi tech Development Corporation)

Patentee after: BEIJING ACK NETWORKS, Inc.

Address before: 302, room 100871, block B, international pioneer park, No. 1, information road, Beijing, Haidian District

Co-patentee before: ZHEJIANG AIZE NETWORK TECHNOLOGY Co.,Ltd.

Patentee before: BEIJING ACK NETWORKS, Inc.