Movatterモバイル変換


[0]ホーム

URL:


CN101656648A - Dynamic monitoring method and apparatus for local area network - Google Patents

Dynamic monitoring method and apparatus for local area network
Download PDF

Info

Publication number
CN101656648A
CN101656648ACN200910190051ACN200910190051ACN101656648ACN 101656648 ACN101656648 ACN 101656648ACN 200910190051 ACN200910190051 ACN 200910190051ACN 200910190051 ACN200910190051 ACN 200910190051ACN 101656648 ACN101656648 ACN 101656648A
Authority
CN
China
Prior art keywords
networking module
address
local area
area network
broadcast data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910190051A
Other languages
Chinese (zh)
Other versions
CN101656648B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE CorpfiledCriticalZTE Corp
Priority to CN2009101900514ApriorityCriticalpatent/CN101656648B/en
Publication of CN101656648ApublicationCriticalpatent/CN101656648A/en
Application grantedgrantedCritical
Publication of CN101656648BpublicationCriticalpatent/CN101656648B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses a dynamic monitoring method for a local area network, which specifically comprises the follow steps: a background acquires the personality information of each networking moduleMn and, distributes internal MAC address and IP address for each networking module Mn according to the personality information and constructs broadcast data packets, wherein n is more than or equal to 1; the networking module Mn receives and analyzes the broadcast data packets and carries out network collocation according to the correspondingly distributed internal MAC address and IP address to create a connection with the background after configuration; and the background inquires and monitors the networking module Mn via the created connection. The invention further relates to a networkingmethod of associated local area networks and a dynamic monitoring device for local area network. By dynamically distributing the internal MAC address and IP address, the dynamic monitoring method forthe local area network realizes the dynamic address distribution of the plurality of networking modules Mn, ensures the normal operation of the plurality of networking modules in a same network environment, and inquires in real time and dynamically monitors the plurality of networking modules Mn simultaneously.

Description

A kind of local area network (LAN) dynamic monitoring and controlling method and device
Technical field
The present invention relates to the local area network (LAN) field, be specifically related to a kind of method and apparatus of in the local area network (LAN) of following the ethernet technology standard, realizing the plurality of modules dynamic monitoring.
Background technology
Because improving constantly and changing of people's demand will inevitably be eliminated with the nonsynchronous product of people's demand, enterprise will keep the competitive advantage of oneself, must design and produce the various products that are ahead of people's demand with people's demand synchronously even.
Along with the large-scale application of Ethernet and the reduction of cost, the various networking products of appearance are all supported the function of Ethernet.For the network interface card of realizing communication, be that everybody all is familiar with, be the standard module of comparative maturity on the market, the global MAC Address that it is unique, guaranteed on the internet MAC Address not can with the address conflict of other network interface card.But for the MAC Address that disposes on the network interface card is protected and Limited resources, and each company also only can apply for the configuration utility of the address of some as equipment or product, and endless use will inevitably cause the resource of MAC Address depleted.
Last the Internet needs unique MAC Address carry out hardware identification, not with the situation of Internet connection under, whether distribute globally unique MAC Address just no longer necessary.The birth of local area network (LAN) be we can say to a certain extent, can effectively reduce the consumption to the MAC Address resource.
Summary of the invention
Main purpose of the present invention is: overcome the deficiencies in the prior art, provide and realize internal mac address and IP address dynamic assignment in a kind of local area network (LAN), guarantee some networking modules not with the same LAN environment of Internet connection in normally operation, realize method and apparatus simultaneously to inquiry in real time of some networking modules and dynamic monitoring.
Technical problem of the present invention is solved by the following technical programs: a kind of local area network building method, specifically may further comprise the steps: the backstage obtains the individual information of each networking module Mn, and be that according to individual information each networking module Mn distributes internal mac address and IP address, and structure broadcast data packet, wherein n 〉=1; Each networking module Mn receives and resolves described broadcast data packet, and carries out network configuration according to internal mac address and IP address that correspondence is distributed, finishes between configuration back and the backstage connecting.
This broadcast data packet is special MAC packet, and in order to receive any MAC packet, promiscuous mode is supported and selected to each networking module Mn.This individual information is bar code or identification code in this example, and individual information deposits described backstage in by scanner or keyboard.
Under the situation of a plurality of networking modules, described broadcast data packet is broadcast to each networking module Mn by switching network, and networking module Mn is resolved the address, backstage and set up communication according to broadcast data packet and connects.
On the networking foundation of local area network (LAN), the invention still further relates to a kind of local area network (LAN) dynamic monitoring and controlling method, specifically may further comprise the steps: the backstage obtains the individual information of each networking module Mn, and be that according to individual information each networking module Mn distributes internal mac address and IP address, and structure broadcast data packet, wherein n 〉=1; Described networking module Mn receives and resolves described broadcast data packet, and carries out network configuration according to internal mac address and IP address that correspondence is distributed, finishes between configuration back and the backstage connecting; This backstage is inquired about and dynamic monitoring in real time to networking module Mn.
After networking module Mn is finished network configuration, the inquiry that the backstage is configured according to networking module Mn IP address allocated structure Query Information.
Described networking module Mn is resolved the IP address on backstage, and to the backstage reporting information.
The invention still further relates to a kind of local area network (LAN) dynamic monitoring device, comprise monitor portion, switching part and the networking module Mn that is connected with monitor portion by switching part, n 〉=1 wherein, described monitor portion is used for obtaining the individual information of each networking module Mn, and be each networking module Mn configuration internal mac address and IP address, and structure broadcast data packet according to individual information; Described switching part is used for described broadcast data packet is broadcast to each networking module Mn; Each networking module Mn is used for resolving the communication that broadcast data packet is finished network configuration and foundation and monitor portion, and described monitor portion also is used for some networking module Mn are inquired about and monitored.
The present invention's beneficial effect compared with prior art is: 1) local area network building method of the present invention, in order to ensure the uniqueness of MAC Address in network environment, the local area network (LAN) of being organized not with Internet connection, backstage in the local area network (LAN) is distributed internal mac address and IP address according to individual information for each networking module Mn, and structure broadcast data packet, networking module Mn receives, resolve described broadcast data packet, and carry out network configuration according to internal mac address and IP address that correspondence is distributed, finish between configuration back and the backstage and set up communication, thereby realize the internal mac address dynamic assignment of networking module Mn in batches, guarantee the some normal operations of networking module Mn in the consolidated network environment of not disposing global MAC Address simultaneously; 2) local area network (LAN) dynamic monitoring and controlling method of the present invention distributes on the backstage under the prerequisite of internal mac address and the networking of IP address, and this backstage is inquired about and dynamic monitoring in real time to networking module Mn simultaneously; 3) local area network (LAN) dynamic monitoring device of the present invention, setting up communication between this monitor portion (that is backstage) and the some networking module Mn connects, networking module Mn when receiving the broadcast packet also to the monitor portion reporting message, such as internal mac address, bar code or identification code.
Description of drawings
Fig. 1 is that the function of local area network (LAN) dynamic monitoring device of the present invention is formed schematic diagram;
Fig. 2 is the hardware connection diagram of local area network (LAN) of the present invention;
Fig. 3 is the schematic flow sheet that the networking module is obtained the internal mac address information in the local area network (LAN) of the present invention.
Embodiment
Also in conjunction with the accompanying drawings the present invention is described in further details below by concrete execution mode.
The present invention be specifically related to a kind of not with the local area network building method of Internet connection, realize dynamic assignment internal mac address and IP address, guarantee some networking module Mn not with the same LAN environment of Internet connection in normally operation.
Also relate to a kind of method and apparatus of on the basis of this local area network (LAN), realizing inquiry in real time of some networking module Mn and dynamic monitoring in this example.
Please refer to Fig. 1 to Fig. 3, the local area network building method in this example, between the network element in the local area network (LAN) by connecting A and being connected B and having set up physical connection.On improvement is to be flexible coupling.
This local area network building method may further comprise the steps:
Backstage (in the device alleged monitor portion L) is that each networking module Mn is distributed internal mac address and IP address according to individual information, and structure broadcast data packet, wherein n 〉=1;
Described broadcast data packet is broadcast to each networking module Mn by switching network;
Each networking module Mn receives and resolves described broadcast data packet, and carries out network configuration according to internal mac address and IP address that correspondence is distributed, finishes between configuration back and the backstage connecting.
At first, deposit in the backstage by scanner or the manual mode of importing bar code or the identification code of several networking modules M1--Mn (n is greater than 1).Here consider no longer how bar code is kept at the production process in the networking module Mn.
Secondly carry out the connection of hardware device according to step shown in Figure 2, in the present embodiment, backstage (monitor portion L) produces corresponding internal mac address MAC1-MACn and IP address ip 1-IPn according to the bar code of the M1-Mn of the module of input.Construct special MAC packet then, carry out the transmission of MAC packet by switching network.
The source MAC of MAC packet is the MAC Address of the PC of running background, and target MAC (Media Access Control) address then designs (putting aside VLAN) according to whether enabling the Virtual Local Area Network function.The target MAC (Media Access Control) address here is set to 0xFF-0xFF-0xFF-0xFF-0xFF-0xFF, i.e. broadcast address.And as follows for the filling content format of MAC bag payload part: 4 bytes (broadcast data packet ID)+4 byte (source IP address)+2 byte (preserving module number n)+12 bytes (M1 bar code)+6 bytes (MAC1)+4 byte (IP1)+12 byte (M2 bar code)+6 bytes (MAC2)+4 byte (IP2)+...+12 bytes (Mn bar code)+6 bytes (MACn)+4 byte (IPn), if a mac frame length (payload length is 1500 bytes) can't have been filled, then can consider to use multiframe, not consider the multiframe situation here.Wherein, M1-Mn represents several networking modules.
In the present embodiment, set up communication between the network configuration of networking module Mn and the backstage and be connected and realize that the implementation detail and the step of inquiry in real time and dynamic monitoring are as follows:
The broadcast data packet of configuration, and the MAC packet is after arriving switching network, can transmit to all ports, the networking module M1-Mn that each is connected with switching network all can receive broadcast data packet, and the time interval (t) and the lasting transmitting time (T) that send broadcast data packet are determined according to actual conditions.
Each networking module M1-Mn is after powering on or restarting, and its workflow is seen Fig. 3 mistake! Do not find Reference source.Shown in.At first networking module is obtained earlier the individual information of itself, and as bar code or identification code, the mode of operation that Ethernet is set simultaneously is a promiscuous mode, promptly can receive any MAC packet.
Is that example is described at this with networking module Mx.Networking module Mx (the x span is 1-n) is after the broadcast data packet that receives the backstage transmission, carry out the parsing of broadcast data packet ID, judge according to individual information, then abandon this bag if not the broadcast data packet that belongs to this networking module Mx, if distribute to the broadcast data packet of this networking module Mx, then carry out the information analysis of this broadcast data packet, the bar code of the bar code of each module in the broadcast data packet with (Mx) own mated one by one, after finding the bar code that matches, networking module Mx can get access to internal mac address MACx and IP address ip x, the Mx of networking module then can carry out reconfiguring of network according to the internal mac address and the IP address of configuration, finishes to this address layoutprocedure.
After finishing layoutprocedure, backstage (monitor portion L) can be according to giving the networking module Mn IP address allocated, and the inquiry that the structure Query Information is configured is to add up the configuration information of each networking module Mn.For successfully obtaining address and the networking module Mn of finishing configuration, connect between backstage (monitor portion L) and the networking module Mn.Obtain the networking module Mn of address and configuration for failing, backstage (monitor portion L) will continue to construct broadcast data packet (not comprising networking module's address information and the bar code of having finished configuration in the broadcast data packet) and carry out the configuration of address.
All finished the configuration of address information as all networking module M1-Mn, also set up simultaneously and being connected of backstage (monitor portion L), so just can reach inquiry, can independently control each networking module Mn simultaneously the real time information of each networking module M1-Mn.
In this example, obtain manner for the address of networking module Mn, also can adopt bar code that networking module Mn preserves according to self or identification code to carry out certain algorithm obtains, and the broadcast data packet that sends for monitor portion L, the IP address that its effect also is to broadcast monitor portion L, networking module Mn is after having got access to the IP address of monitor portion L, just can be the information of networking module Mn (internal mac address for example, the IP address, bar code etc.) report monitor portion L, be connected with communication between each networking module Mn thereby can set up monitor portion L.
Please refer to Fig. 1 and Fig. 2, also relate to the local area network (LAN) dynamic monitoring device in this example.It specifically comprises monitor portion L, switching part S (in the method alleged switching network) and the networking module Mn that is connected with monitor portion by switching part, wherein n 〉=1.
This monitor portion L is according to individual information or add certain algorithm by individual information and be each networking module Mn configuration internal mac address and IP address, and the structure broadcast data packet.This switching part is used for described broadcast data packet is broadcast to each networking module Mn.Each networking module Mn is resolved the communication that broadcast data packet is finished network configuration and foundation and monitor portion.
During monitor portion L inquiry, after networking module Mn is finished network configuration, the inquiry that the backstage is configured according to networking module Mn IP address allocated structure Query Information.
Give the correct time on the networking module Mn, described networking module Mn is resolved the IP address of monitor portion L, and to monitor portion L reporting information.
By preceding method, this monitor portion L inquires about and dynamic monitoring in real time to some networking module Mn.
Specifically be described below:
Monitor portion L generally is the daemon software that operates on the PC, mainly finishes the generation and the distribution of internal mac address, inquires about dynamically and controls for the running status of batch networking module Mn simultaneously.
Wherein the monitor portion L individual information (for example bar code or identification code) that can provide according to networking module Mn carries out the generation of internal mac address, the internal mac address that generates can be distributed with the MAC packet format and the content that require simultaneously.Monitor portion L can construct and send the MAC packet of various content, to meet design requirement.
Switching part S, (in the method alleged switching network), the distribution that mainly gives information and the passage of broadcasting, promptly the message that monitor portion L is sent sends in each module that is connected with switching part S.
Wherein being connected between monitor portion L and the switching part S can be that the Ethernet of standard connects, and also can be the connection of other form.
Wherein the quantity of networking module Mn is 1 o'clock, can directly remove switching part S, and monitor portion L directly is connected by the Ethernet of standard with networking module Mn.
Wherein the mode of operation for switching part S also can be provided with by monitor portion L, for example switching part S can be provided with functionality of vlan, monitor portion L also can consider to adopt vlan technology to reach harsh more designing requirement when carrying out the transmission of packet so.
Networking module Mn is the object of internal mac address and IP address assignment, simultaneously also as the object of being monitored, behind the MAC and IP address date bag that receive monitor portion L transmission, can parse the MAC and the IP address packet of configuration.Carry out Ethernet reconfigure come into force after, set up the communication with monitor portion L, real-time and dynamic is carried out reporting of operating state, monitor portion L also can regularly control networking module Mn simultaneously.
Wherein networking module Mn will possess two conditions: at first the ethernet hardware of networking module Mn must be supported promiscuous mode.Secondly networking module Mn is wanted to preserve the individual information that can represent networking module Mn.Promiscuous mode for the Ethernet support of networking module Mn does not describe in detail here, and it is the function point that ethernet hardware is realized.And, then take the bar code or the identification code of the production of this module for the individual information that networking module Mn is preserved.
Wherein should design the not device of drop-out of power down on the networking module Mn, and the bar code or the identification code that identify this module just are kept in this device.This device also can be preserved other important information, date of manufacture for example, module type, information such as hardware version.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (10)

8. local area network (LAN) dynamic monitoring device, it is characterized in that: comprise monitor portion, switching part and the networking module Mn that is connected with monitor portion by switching part, n 〉=1 wherein, described monitor portion is used for being each networking module Mn configuration internal mac address and IP address according to individual information, and the structure broadcast data packet; Described switching part is used for described broadcast data packet is broadcast to each networking module Mn; Each networking module Mn is used for resolving broadcast data packet and finishes network configuration and set up and be connected with the communication of monitor portion, and described monitor portion also is used for some networking module Mn are inquired about and monitored.
CN2009101900514A2009-09-112009-09-11Dynamic monitoring method and apparatus for local area networkExpired - Fee RelatedCN101656648B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2009101900514ACN101656648B (en)2009-09-112009-09-11Dynamic monitoring method and apparatus for local area network

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2009101900514ACN101656648B (en)2009-09-112009-09-11Dynamic monitoring method and apparatus for local area network

Publications (2)

Publication NumberPublication Date
CN101656648Atrue CN101656648A (en)2010-02-24
CN101656648B CN101656648B (en)2012-01-25

Family

ID=41710751

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2009101900514AExpired - Fee RelatedCN101656648B (en)2009-09-112009-09-11Dynamic monitoring method and apparatus for local area network

Country Status (1)

CountryLink
CN (1)CN101656648B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103581356A (en)*2012-08-102014-02-12海尔集团公司MAC address distribution method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1249956C (en)*2002-10-182006-04-05华为技术有限公司Method for virtual Ethernet adapter card
CN1330137C (en)*2003-04-032007-08-01华为技术有限公司Method for sending address analytic protocol request message into specific object in local area network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103581356A (en)*2012-08-102014-02-12海尔集团公司MAC address distribution method

Also Published As

Publication numberPublication date
CN101656648B (en)2012-01-25

Similar Documents

PublicationPublication DateTitle
US20170161091A1 (en)Virtual machine migration method, switch, and virtual machine system
CN109698757A (en)Switch master/slave device, the method for restoring user data, server and the network equipment
CN114024880B (en)Network target range probe acquisition method and system based on proxy IP and flow table
CN110337071B (en)Method and system for realizing packet broadcasting based on LoRaWAN
CN101252602A (en) Method and system for file distribution and download
CN106301956A (en)A kind of network equipments configuration management method based on NETCONF
CN106453541A (en)Data synchronization method, server and data synchronization system
CN102739539A (en)Method for carrying out topology association on optical network unit (ONU) and Ethernet over coax (EOC)
CN101404575B (en)Method and system for updating indorsement algorithm
CN102231709B (en)Control plane structure of virtual routing device and control method thereof
CN101656648B (en)Dynamic monitoring method and apparatus for local area network
CN105049404A (en)Dynamic IP addressing method and system for home gateway equipment
CN102111237A (en)Cloud transcoding system and cloud transcoding method thereof
CN104065494B (en)A kind of rack OLT device and its method for realizing more M-VLAN
CN102594941B (en)Method for device access and device communication in building intercom system
CN102859947A (en)Method, apparatus and system for neighbor discovery
CN102281334B (en)A kind of management control method of catv terminal and system and access server
CN105791023B (en)The method, apparatus and system of optical network unit ONU management
CN103188102B (en)A kind of method, Apparatus and system realizing communication equipment networking
CN101621528A (en)Conversation system based on Ethernet switch cluster management and method for realizing conversation passage
CN102377830A (en)IP (Internet Protocol) address configuration method
CN102299937A (en)Method and system for distributing clock server based on network
CN102546164B (en)Method and device for license control of optical network unit
CN106034166A (en)Method and apparatus for configuring network parameters of local area network,
CN104683491A (en)Method and system for obtaining Internet protocol addresses of virtual machines

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20120125

Termination date:20190911


[8]ページ先頭

©2009-2025 Movatter.jp