Movatterモバイル変換


[0]ホーム

URL:


CN101656648B - 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
CN101656648B
CN101656648BCN2009101900514ACN200910190051ACN101656648BCN 101656648 BCN101656648 BCN 101656648BCN 2009101900514 ACN2009101900514 ACN 2009101900514ACN 200910190051 ACN200910190051 ACN 200910190051ACN 101656648 BCN101656648 BCN 101656648B
Authority
CN
China
Prior art keywords
networking module
address
broadcast data
local area
data packet
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
Application number
CN2009101900514A
Other languages
Chinese (zh)
Other versions
CN101656648A (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 module Mn 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 networking method 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 for the 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 to be exhausted.
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) 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: the deficiency that overcomes 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 solves through following technical scheme: 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 said broadcast data packet, and carries out network configuration according to internal mac address and IP address that correspondence is distributed, accomplishes 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 said backstage in through scanner or keyboard.
Under the situation of a plurality of networking modules, said broadcast data packet is broadcast to each networking module Mn through 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; Said networking module Mn receives and resolves said broadcast data packet, and carries out network configuration according to internal mac address and IP address that correspondence is distributed, accomplishes between configuration back and the backstage connecting; This backstage is inquired about and dynamic monitoring networking module Mn in real time.
After networking module Mn is accomplished network configuration, the inquiry that the backstage is configured according to networking module Mn IP address allocated structure Query Information.
Said 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 through switching part; N >=1 wherein; Said monitor portion is used for obtaining the individual information of each networking module Mn, and is each networking module Mn configuration internal mac address and IP address according to individual information, and the structure broadcast data packet; Said switching part is used for said 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 accomplished network configuration and foundation and monitor portion, and said 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 the structure broadcast data packet, and networking module Mn receives, resolves said broadcast data packet; And carry out network configuration according to internal mac address and IP address that correspondence is distributed; Accomplish 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 networking module Mn simultaneously in real time; 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 sketch map;
Fig. 2 is that the hardware of local area network (LAN) of the present invention connects sketch map;
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
Below through concrete execution mode and combine accompanying drawing that the present invention is explained further details.
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 that some networking module Mn with in the same LAN environment of Internet connection are not normally moving.
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) through 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;
Said broadcast data packet is broadcast to each networking module Mn through switching network;
Each networking module Mn receives and resolves said broadcast data packet, and carries out network configuration according to internal mac address and IP address that correspondence is distributed, accomplishes between configuration back and the backstage connecting.
At first, deposit in the backstage through 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 this execution mode, 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 through 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 launching 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 following 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 this execution mode, 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 following:
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, sends the time interval (t) and the lasting transmitting time (T) of broadcast data packet and confirms 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 like 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 receiving the broadcast data packet of sending on the backstage; 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; Mating the bar code of the bar code of each module in the broadcast data packet with (Mx) own 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, accomplishes to this address layoutprocedure.
After accomplishing 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 accomplishing 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 accomplished configuration in the broadcast data packet) and carry out the configuration of address.
All accomplished 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; For the obtain manner of the address of networking module Mn, also can adopt networking module Mn to carry out certain algorithm and obtain according to the bar code of self preserving or identification code, and the broadcast data packet of sending for monitor portion L; The IP address that its effect also is to broadcast monitor portion L; Networking module Mn just can be the information of networking module Mn (internal mac address for example, IP address after having got access to the IP address of monitor portion L; 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 through switching part, wherein n >=1.
It is each networking module Mn configuration internal mac address and IP address that this monitor portion L perhaps adds certain algorithm by individual information according to individual information, and the structure broadcast data packet.This switching part is used for said broadcast data packet is broadcast to each networking module Mn.Each networking module Mn is resolved the communication that broadcast data packet is accomplished network configuration and foundation and monitor portion.
During monitor portion L inquiry, after networking module Mn is accomplished 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, said networking module Mn is resolved the IP address of monitor portion L, and to monitor portion L reporting information.
Through preceding method, this monitor portion L inquires about and dynamic monitoring some networking module Mn in real time.
The concrete introduction as follows:
Monitor portion L generally is the daemon software that operates on the PC, mainly accomplishes 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, can the internal mac address that generate 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, the message of promptly sending monitor portion L 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 through the Ethernet of standard with networking module Mn.
Wherein the mode of operation for switching part S also can be provided with through 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 be designed with 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 is to combine concrete preferred implementation to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded 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 through switching part; N >=1 wherein, networking module Mn are the networking module of preserving self individual information and support and selecting promiscuous mode; Said 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, and wherein the source MAC of broadcast data packet is the MAC Address at the terminal of running background; Said switching part is used for said broadcast data packet is broadcast to each networking module Mn; Each networking module Mn is used for resolving broadcast data packet completion network configuration and sets up and is connected with the communication of monitor portion, and said 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
CN101656648A CN101656648A (en)2010-02-24
CN101656648Btrue 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103581356B (en)*2012-08-102017-07-28海尔集团公司A kind of MAC Address distribution method

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1490991A (en)*2002-10-182004-04-21华为技术有限公司 Methods for Virtual Ethernet Adapter Cards
CN1536831A (en)*2003-04-032004-10-13华为技术有限公司 Method for sending address resolution protocol request message to specific target in local area network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1490991A (en)*2002-10-182004-04-21华为技术有限公司 Methods for Virtual Ethernet Adapter Cards
CN1536831A (en)*2003-04-032004-10-13华为技术有限公司 Method for sending address resolution protocol request message to specific target in local area network

Also Published As

Publication numberPublication date
CN101656648A (en)2010-02-24

Similar Documents

PublicationPublication DateTitle
EP2940971B1 (en)Method and apparatus for obtaining an ip address by dhcp client
CN101252602B (en)System and method for downloading and distributing files
CN114024880B (en)Network target range probe acquisition method and system based on proxy IP and flow table
CN101478490B (en)Method and apparatus for TIPC supporting multi-cluster network communication
CN110337071B (en)Method and system for realizing packet broadcasting based on LoRaWAN
CN102143229A (en)Method and system for upgrading terminals in batches
CN101389107B (en)Large traffic simulation test system and method
CN104980368A (en)Bandwidth guarantee method and apparatus in software defined network (SDN)
CN101242370B (en)Method for realizing Ethernet and frame-relay Internet and protocol conversion device
CN105635335B (en) Social resource access method, device and system
CN101119374B (en)iSCSI communication method and corresponding initiation equipment and objective equipment
CN107124364A (en)The complete Proxy Methods of network A RP and system based on software defined network controller
CN101656648B (en)Dynamic monitoring method and apparatus for local area network
CN1744570A (en) Realization Method of Efficient Video Multicast in Ethernet Passive Optical Network System
CN103327130A (en)Method, terminal and system for reusing MAC address
CN102111237A (en)Cloud transcoding system and cloud transcoding method thereof
CN101022419A (en)Path maximum transmission unit item establishing method and message transmitting method and device
CN102355508B (en)Method, system and gateway for realizing remote communication between client and base station group
CN102594941B (en)Method for device access and device communication in building intercom system
CN105791023B (en)The method, apparatus and system of optical network unit ONU management
CN100502365C (en) Inter-Board Communication Method
CN102377830A (en)IP (Internet Protocol) address configuration method
CN102299937A (en)Method and system for distributing clock server based on network
CN103188102B (en)A kind of method, Apparatus and system realizing communication equipment networking
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