A kind of method for remote management of bridging device and system
Technical field
The present invention relates to the communications field, especially relate to a kind of method for remote management and system of bridging device.
Background technology
Industry is extensive use of XDSL (to various digital subscriber lines (Digital Subscriber Line at present, DSL) common name, comprise HDSL, SDSL, VDSL, ADSL and RADSL etc.) technology, for the user provides broadband access, possessed up to ten million XDSL such as China Telecom and inserted the user.An XDSL modulator-demodulator is all arranged in each user's hand, and how the XDSL modulator-demodulator of huge quantity like this this effectively manage, and is the problem that telecom operators pay close attention to always.
XDSL modulator-demodulator in the past, in order to reduce cost, stability, limited subscriber passes through the number of devices that the XDSL modulator-demodulator inserts to a certain extent simultaneously, most XDSL modulator-demodulator Default Values all have been configured to the bridge joint mode, and perhaps some modulator-demodulator just only provides the access way of bridge joint for the user.The XDSL modulator-demodulator of these bridging functionalitys, because only play the effect of bridge joint, equipment itself is the IP address of a public network not, makes like this under present widely used IP network, and there are sizable difficulty in the maintenance of XDSL modem device, the management of assets.
Telemanagement scheme for the XDSL modulator-demodulator, industry also proposes certain methods, such as based on PVC (Permanence Virtual Circuit, PVC) telemanagement mode, based on embedded operation channel (Embedded Operational Channel, telemanagement mode EOC) etc.
Telemanagement mode based on PVC, at Digital Subscriber Line Access Multiplexer (Digital SubscriberLiner Access Multiplexer, DSLAM) set up the PVC passage that is specifically designed to transmit management information and between the XDSL modulator-demodulator, utilize this PVC passage to realize the management function (Telnet, HTTP etc.) of modulator-demodulator.This telemanagement mode need be rectified and improved existing network, increases the PVC that is specifically designed to management, and modulator-demodulator self will take an IP address in order to realize management function simultaneously, for today of IP address growing tension, and this some waste that seems.
In the telemanagement mode based on the EOC passage, the EOC passage is followed among the ITU-TG.997.1 about the related request of EOC, is the passage that is specifically designed to carrying user terminal management information.This mode requires ADSL local side apparatus and ADSL subscriber terminal equipment to support that (High Level DataLink Control HDLC) encapsulates the management data message, and removes EOC message in High-Level Data Link Control.
Because the EOC passage is only supported the flow of 4kbps, bandwidth is less; Need simultaneously the bearing message on the EOC management channels is done special processing, such as: the Simple Network Management Protocol of carrying (Simple NetworkManagement Protocol, SNMP), snmp message and protocol-identifier need be mapped directly in the HDLC frame, be carried to again in the EOC passage.
Summary of the invention
The object of the present invention is to provide a kind of method for remote management and system of bridging device, existing network infrastructure can not changed, do not change the bridge mode of bridging device, do not influence the use habit and the data flow of the terminal equipment of hanging under the bridging device, bridging device is not distributed under the situation of public network IP address, also can carry out transfer of data, thereby realize the management of remote equipment bridging device with remote equipment.
For addressing the above problem, the invention provides a kind of method for remote management of bridging device, this method may further comprise the steps:
Bridging device detects the uplink message of the equipment of hanging down, obtains message information, and described message information comprises the IP address of the equipment of hanging under the bridging device, the MAC Address of the equipment of following extension, the session identification of message and the MAC Address of BAS Broadband Access Server;
Bridging device utilizes above-mentioned message information, and structure bridging device message sends to remote equipment.
This method further comprises:
Bridging device detects the downlink message of its reception, judges whether this downlink message is the message that remote equipment is issued bridging device.
Described bridging device message comprises the IP address and the bridging device port numbers of remote equipment.
Described bridging device is the XDSL modulator-demodulator.
Described uplink message is the PPPoE message.
Described bridging device message is the message that bridging device sends to remote equipment.
Wherein, the message information that bridging device obtains comprises IP address, the MAC Address of the equipment of following extension, the session identification of message and the MAC Address of BAS Broadband Access Server of the equipment of hanging under the bridging device.
Wherein, bridging device judges whether it is the message of issuing bridging device according to the IP address of bridging device port numbers in the downlink message of its reception or remote equipment.
A kind of long-distance management system of bridging device comprises: terminal equipment, bridging device, BAS Broadband Access Server, remote equipment.Wherein, bridging device is connected in this terminal equipment and comprises proxy module, and this proxy module is used for the message that sense terminals equipment is sent, and obtains information from this message, is configured to the bridging device message and sends to remote equipment; Wherein, described information comprises the IP address of the equipment of hanging under the bridging device, the MAC Address of the equipment of following extension, the session identification of message and the MAC Address of BAS Broadband Access Server; Remote equipment is used to receive the bridging device message and bridging device is managed.
Described bridging device message comprises the IP address and the bridging device port numbers of remote equipment.
Wherein, the information that bridging device obtains from the message that terminal equipment is sent comprises terminal equipment IP address, the MAC Address of terminal equipment, the session identification of this message and the MAC Address of BAS Broadband Access Server.
Wherein, bridging device also is used to receive downlink message, and judges according to the IP address of bridging device port numbers in the downlink message of its reception or remote equipment whether received packet is the message that remote equipment is issued bridging device.
A kind of bridging device comprises receiver module, sending module, and proxy module, wherein,
Described receiver module is used to receive the message that external equipment mails to bridging device;
Described proxy module is used for the message that receiver module receives is handled, and the message after will handling sends to described sending module, described processing comprises the uplink message that the detection receiver module is received, obtains information from this message, utilizes the information structuring of being obtained to become the bridging device message; And detect the downlink message that receiver module is received, and judge the source of message; Described information comprises the IP address of the equipment of hanging under the bridging device, the MAC Address of the equipment of following extension, the session identification of message and the MAC Address of BAS Broadband Access Server;
Described sending module is used for the message after this proxy module processing is sent to external equipment.
Compared with prior art, the present invention has following beneficial effect:
1, the present invention makes up a proxy module in bridging device, the upstream of the terminal equipment that this proxy module is hung under modulator-demodulator, extract message information, then the message information that extracts is configured to the bridging device message, send to remote equipment by bridging device.Simultaneously, bridging device can also receive the message that remote equipment sends, and judges whether this message is the message that remote equipment sends to bridging device.Therefore,, need not to distribute an IP address, also can finish data interaction, realize the management of remote equipment bridging device by message and remote equipment for bridging device.
2, the message of bridging device structure can freely select the path to carry out normal transmission in network, need not message is done special processing.
Description of drawings
Fig. 1 is the schematic diagram that remote management apparatus receives uplink message;
Fig. 2 is the schematic diagram that remote management apparatus sends downlink message;
Fig. 3 is the long-distance management system figure of bridging device provided by the present invention.
Embodiment
Core of the present invention is, by make up a proxy module in bridging device, the upstream of the terminal equipment that this proxy module is hung, extracts message information under bridging device, and structure bridging device message sends to remote equipment.Thereby make bridging device under the situation of not distributing public network IP address, also can carry out transfer of data, thereby realize the management of remote equipment bridging device with remote equipment, below with reference to accompanying drawing, the present invention is described in more detail.
The method for remote management of a kind of bridging device proposed by the invention specifically comprises the steps:
Steps A: bridging device detects the uplink message of the equipment of hanging down, obtains message information;
Step B: bridging device utilizes above-mentioned message information, is configured to the bridging device message, sends to remote equipment.
Further comprise after the step B:
Step C: bridging device detects the downlink message of its reception, judges whether this downlink message is the message that remote equipment is issued bridging device.
Below we are example with bridging device with the XDSL modulator-demodulator of bridge mode, remote equipment is that example comes that the present invention is described in detail with the remote management apparatus.
With reference to figure 1, we are described in detail the specific implementation of steps A:
The proxy module that makes up in the XDSL modulator-demodulator detects under this XDSL modulator-demodulator the PPPoE message that the equipment hung sends in real time, when this message arrives the XDSL modulator-demodulator, proxy module is by the analysis to this message, from message, obtain proxy module structure message information necessary, comprise that comprise in the message following hangs the IP address that is equipped with, hangs MAC (Media Access Control) address, BAS Broadband Access Server (Broadband Remote Access Server, the session identification of MAC Address BRAS) and this PPPoE message that is equipped with down.
Wherein, proxy module detects in real time to hang down and is equipped with the up PPPoE message that sends, and does not stop the transmission of this message, does not also change this content of message, just obtains the information that can construct XDSL modulator-demodulator message from this message.Described XDSL modulator-demodulator message refers to the message that the XDSL modulator-demodulator sends to remote management apparatus.
With reference to figure 2, we are described in detail the specific implementation of step B:
Proxy module uses the information of obtaining in steps A, add the IP address of remote management apparatus and the port numbers that the XDSL modulator-demodulator is used for and remote management apparatus carries out data communication simultaneously, be configured to message, be carried on the PPPoE message, send to remote management apparatus by the XDSL modulator-demodulator, the uplink message of finishing proxy module sends.
Wherein, the message of proxy module structure can be UDP message or TCP message, but is not only limited to above-mentioned message.
Wherein, the IP address of remote management apparatus is that configured in advance is in proxy module.
Wherein, the message of proxy module structure can freely be selected transmission path in network in being transferred to the process of remote management apparatus.
So far, realized that the XDSL modulator-demodulator sends uplink message to long-distance management system, thereby long-distance management system can be realized the management to the XDSL modulator-demodulator.
The present invention further can comprise step C, and the process of step C specific implementation is described in detail as follows:
Proxy module detects the downlink message that the XDSL modulator-demodulator receives in real time, judges the message that remote management apparatus is issued the XDSL modulator-demodulator, realizes the downlink message that XDSL modulator-demodulator receiving remote management equipment sends with this.
Wherein, proxy module judges whether it is that the method for message that remote management apparatus is issued the XDSL modulator-demodulator has much from downlink message, can be by the IP address of remote management apparatus, also can be used for and the port numbers of remote management apparatus appointment when carrying out data communication, but be not limited only to above-mentioned dual mode according to the XDSL modulator-demodulator.
So far, realized the bidirectional data transfers between XDSL modulator-demodulator and the remote management apparatus, thereby realized the management of remote management apparatus the XDSL modulator-demodulator.
We are that example, remote equipment are that example comes that the present invention is described in detail with the remote management apparatus with bridging device with the XDSL modulator-demodulator of bridge mode in the foregoing description.But the bridging device described in the present invention is not limited only to the XDSL modulator-demodulator of bridge mode, and remote equipment also is not limited only to remote management apparatus.
Please refer to Fig. 3, the long-distance management system of a kind of bridging device provided by the present invention, this system comprises: terminal equipment, bridging device, BRAS and remote equipment.Terminal equipment sends the PPPoE message to bridging device, and bridging device is connected in this terminal equipment and comprises proxy module, wherein, and the PPPoE message that the real-time sense terminals equipment of this proxy module is sent.By analysis, from this message, obtain necessary information to this message; And above-mentioned information added that the IP address of remote equipment and bridging device are used for and the port numbers of remote equipment appointment when carrying out data communication, and be configured to the PPPoE message, issue remote equipment via BRAS; Bridging device also is used to detect the downlink message of reception, if have the IP address of remote equipment or bridging device to be used in this message and the port numbers of remote equipment appointment when carrying out data communication, it is the message that remote equipment is issued oneself that bridging device is just judged this message.So far, just can carry out bidirectional data transfers between bridging device and the remote equipment, realize the management of remote equipment bridging device.
Wherein, the necessary information that bridging device obtains from the message that terminal equipment is sent comprises terminal equipment IP address, the MAC Address of terminal equipment, the session identification of this message and the MAC Address of BRAS.
Wherein, the IP address of remote equipment is to be built in advance in the proxy module of bridging device.
Wherein, bridging device judges that whether message is that the method that remote equipment is issued bridging device has a lot, be not limited only to recited above according to remote equipment the IP address or the port numbers of bridging device appointment when being used for carrying out data communication with remote equipment.
We are the method for remote management that example illustrates bridging device with the following extension terminal equipment transmission PPPoE message of bridging device in the foregoing description, but in method and system of the present invention, the message that bridging device sends is not limited to the PPPoE message.
A kind of bridging device comprises receiver module, sending module, proxy module, and wherein, receiver module receives the message that external equipment mails to bridging device; Proxy module is handled the message that receiver module receives, and the message after will handling sends to described sending module, described processing comprises the uplink message that the detection receiver module is received, from this message, obtain information, utilize the information and the additional information structure message that are obtained, and detect the downlink message that receiver module is received, and judge the source of this message; Message after sending module is handled this proxy module sends to external equipment.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.