CN103532757B - Network communication method, access point equipment and system - Google Patents

Network communication method, access point equipment and system Download PDF

Info

Publication number
CN103532757B
CN103532757B CN201310488285.3A CN201310488285A CN103532757B CN 103532757 B CN103532757 B CN 103532757B CN 201310488285 A CN201310488285 A CN 201310488285A CN 103532757 B CN103532757 B CN 103532757B
Authority
CN
China
Prior art keywords
network element
address
element device
message
equipment
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.)
Active
Application number
CN201310488285.3A
Other languages
Chinese (zh)
Other versions
CN103532757A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310488285.3A priority Critical patent/CN103532757B/en
Publication of CN103532757A publication Critical patent/CN103532757A/en
Application granted granted Critical
Publication of CN103532757B publication Critical patent/CN103532757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a network communication method, access point equipment and a system. The network communication method comprises the steps that the access point equipment receives a first message transmitted by network cell equipment; the first message includes the IP address of the network cell equipment, the port number of the network cell equipment, the IP address of the access point equipment and the port number of the access point equipment; the access point equipment determines the IP address and the port number of processing equipment corresponding to the network cell equipment according to the IP address and the port number of the network cell equipment in the first message; the access point equipment obtains a second message according to the first message; the second message comprises the IP address and the port number of the network cell equipment, and the IP address and the port number of the processing equipment corresponding to the network cell equipment; the access point equipment transmits the second message to the processing equipment, so that the processing equipment transmits a third message to the network cell equipment. The embodiment of the invention is used for reducing the configuration workload of the network cell equipment and reducing the probability of configuration errors.

Description

Network communication method, access point apparatus and system
【Technical field】
The present invention relates to the network communications technology, more particularly to a kind of network communication method, access point apparatus and system.
【Background technology】
In prior art, NMS needs to access substantial amounts of network element device, there is different in NMS Processing equipment, these processing equipments are set up with corresponding network element device and are connected, and network element device can include different business field Network element device, the mode of network service is carried out between processing equipment and network element device to be included:It is each to process equipment utilization identical IP Address and different ports, with corresponding network element device network service is carried out.Fig. 1 is refer to, it is to process to set in prior art The standby schematic diagram for carrying out network service with network element device using identical IP address and different ports, as illustrated, standard association The port numbers of view are 333, and processing equipment A uses standard port 333, processing equipment B to use non-standard end in NMS The IP address of mouth 1333, processing equipment A and processing equipment B is all 10.20.11.2.
Processing equipment is carried out in the mode of network service, no using identical IP address and different ports with network element device Need to carry out differentiation configuration with the network element device of business scope, for example, as shown in figure 1, when carrying out network service, needing will category 333 are configured in the destination interface of the 1~network element device of network element device 4 of business scope A, by 5~network element device of network element device 8 Destination interface is configured to 1333, therefore, the substantial amounts of the network element device that NMS is accessed, to substantial amounts of network element device Differentiation configuration is carried out, very big workload will be brought, and easily produce configuration error.
【The content of the invention】
In view of this, a kind of network communication method and equipment are embodiments provided, to realize to a certain extent Improve the allocative efficiency of network element device.
In a first aspect, a kind of network communication method is embodiments provided, including:
Access point apparatus receive the first message that network element device sends;First message includes the IP of the network element device The port numbers of address, the port numbers of the network element device, the IP address of described access point equipment and described access point equipment;
The IP address of the network element device that described access point equipment includes according to first message and described The port numbers of network element device, it is determined that the IP address of processing equipment corresponding with the network element device and the processing equipment Port numbers;
Described access point equipment obtains the second message according to first message;Second message sets including the network element The standby IP address, the port numbers of the network element device, the corresponding processing equipment of the network element device it is described The port numbers of IP address and the processing equipment;
Described access point equipment to the processing equipment sends second message, in order to the processing equipment to described Network element device sends the 3rd message.
In the first possible implementation of first aspect, described access point equipment is wrapped according in first message The IP address of the network element device for including and the port numbers of the network element device, it is determined that corresponding with the network element device Processing equipment IP address and the port numbers of the processing equipment, including:
Described access point equipment foundation corresponding relation, and the IP address and the network element device of the network element device The port numbers, determine the IP address of the processing equipment and the port numbers of the processing equipment;The corresponding relation includes The IP address of the port numbers of the IP address of the network element device and the network element device and the processing equipment and the process set The corresponding relation of standby port numbers.
In second possible implementation of first aspect, described access point equipment is wrapped according in first message The IP address of the network element device for including and the port numbers of the network element device, it is determined that corresponding with the network element device Processing equipment IP address and the port numbers of the processing equipment, including:
Described access point equipment is detected to the current loading condition of the processing equipment;
Described access point equipment is by the IP address and the processing equipment of the most light processing equipment of current loading condition Port numbers as the IP address of the corresponding processing equipment of the network element device and the port numbers of the processing equipment.
With reference to first aspect or first aspect the first possible implementation or second of first aspect it is possible Implementation, the 3rd message includes the IP address of described access point equipment, the port of described access point equipment Number, the port numbers of the IP address of the network element device and the network element device.
Second aspect, embodiments provides a kind of access point apparatus, including:
Receiving unit, for receiving the first message of network element device transmission;First message includes the network element device IP address, the port numbers of the network element device, the port numbers of the IP address of described access point equipment and described access point equipment;
First processing units, for the IP address of the network element device that includes according to first message and institute The port numbers of network element device are stated, it is determined that the IP address and the processing equipment of processing equipment corresponding with the network element device Port numbers;
Second processing unit, for obtaining the second message according to first message;Second message includes the net The IP address of element device, the port numbers of the network element device, the network element device corresponding processing equipment The port numbers of the IP address and the processing equipment;
Transmitting element, for sending second message to the processing equipment, in order to the processing equipment to described Network element device sends the 3rd message.
In the first possible implementation of second aspect, the first processing units specifically for:
Foundation corresponding relation, and the IP address and the port numbers of the network element device of the network element device, Determine the IP address of the processing equipment and the port numbers of the processing equipment;The corresponding relation includes the network element device The port numbers of IP address and the network element device are right with the port numbers of the IP address of the processing equipment and the processing equipment Should be related to.
In second possible implementation of second aspect, the first processing units specifically for:
The current loading condition of the processing equipment is detected;
Using the port numbers of the IP address of the most light processing equipment of current loading condition and the processing equipment as institute State the IP address of the corresponding processing equipment of network element device and the port numbers of the processing equipment.
With reference to second aspect or second aspect the first possible implementation or second of second aspect it is possible Implementation, the 3rd message includes the IP address of described access point equipment, the port of described access point equipment Number, the port numbers of the IP address of the network element device and the network element device.
The third aspect, embodiments provides a kind of network communicating system, including access point apparatus, at least one net Network equipment and at least one processing equipment;Wherein,
The network equipment, for sending the first message to described access point equipment, first message includes the net The IP address of element device, the port numbers of the network element device, the IP address of described access point equipment and described access point equipment Port numbers;
Described access point equipment, for the IP address of the network element device that includes according to first message and The port numbers of the network element device, it is determined that the IP address of processing equipment corresponding with the network element device and the process set Standby port numbers;The second message is obtained according to first message;Second message includes the IP of the network element device Address, the port numbers of the network element device, the IP address of the corresponding processing equipment of the network element device and institute State the port numbers of processing equipment;Second message is sent to the processing equipment, in order to the processing equipment to institute State network element device and send the 3rd message.
In the first possible implementation of the third aspect, the 3rd message includes the institute of described access point equipment State IP address, the port numbers of described access point equipment, the IP address of the network element device and the network element device The port numbers.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantages that:
Each network element device carries out network service by access point apparatus and processing equipment, therefore, the purpose in message IP address is the IP address of access point apparatus, and destination interface is all the port numbers of access point apparatus, be therefore, there is no need in each net The IP address and port numbers of different processing equipments are configured on element device, it is only necessary to which the unified configuration on all network element devices is accessed The IP address of point device and the port numbers of access point apparatus, so, network element device can send to access point apparatus and report Text, then carry out the distribution processor of message by access point apparatus;The network element device in different business field needs to connect different process During equipment, the differentiation to a large amount of network element devices can be avoided from configuring, such that it is able to reduce the configuration work amount on network element device, The probability of configuration error is reduced, to realize improving the allocative efficiency of network element device to a certain extent.
【Description of the drawings】
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area For those of ordinary skill, without having to pay creative labor, can be with other attached according to these accompanying drawings acquisitions Figure.
Fig. 1 is the schematic diagram of network communicating system;
Fig. 2 is the schematic flow sheet of the network communication method one that the embodiment of the present invention is provided;
Fig. 3 is the network diagram of the network communicating system that the embodiment of the present invention is provided;
Fig. 4 is the schematic flow sheet of the embodiment of the network communication method that the embodiment of the present invention is provided;
Fig. 5 is the form schematic diagram of the first message that the embodiment of the present invention is provided;
Fig. 6 is the functional block diagram of the access point apparatus that the embodiment of the present invention is provided;
Fig. 7 is the structural representation of the access point apparatus that the embodiment of the present invention is provided;
Fig. 8 is the structural representation of the network communicating system that the embodiment of the present invention is provided.
【Specific embodiment】
In order to be better understood from technical scheme, the embodiment of the present invention is retouched in detail below in conjunction with the accompanying drawings State.
It will be appreciated that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its Its embodiment, belongs to the scope of protection of the invention.
The embodiment of the present invention provides a kind of network communication method, refer to Fig. 2, its net provided by the embodiment of the present invention The schematic flow sheet of network communication means one, the present embodiment for access point apparatus processing method, as illustrated, the method include with Lower step:
Step 201, access point apparatus receive the first message that network element device sends;First message includes the network element The end of the IP address of equipment, the port numbers of the network element device, the IP address of described access point equipment and described access point equipment Slogan.
Specifically, Fig. 3 is refer to, the network diagram of its network communicating system provided by the embodiment of the present invention, such as Figure shown in, the access point apparatus of at least one network element equipment accessing network network management system, the access point apparatus also with network management At least one of system processing equipment connects;The network management system manages each network element at least one network element device and sets It is standby.
Described access point equipment is based on connectionless protocol(Such as UDP(User Datagram Protocol, UDP))Standard port on monitored, receive the first message that at least one network element device sends, described the One message can be the IP messages for carrying UDP messages.
In the embodiment of the present invention, first message includes source IP address, source port, purpose IP address and destination interface, The source IP address is the IP address of network element device, and the source port is the port numbers of network element device, and the purpose IP address are The IP address of access point apparatus, the destination interface is the port numbers of access point apparatus;Here, access point apparatus are in standard port On monitored, be merely able to receive purpose IP address be access point apparatus IP address and destination interface be access point apparatus end First message of slogan, therefore, if network element device sends the first message to access point apparatus, need in the first message Purpose IP address are set to the IP address of access point apparatus, and destination interface is set to into the port numbers of access point apparatus, so, often It, by access point apparatus access network management system, is also all to send the first message to access point apparatus that individual network element device is all, Therefore the port of the unified IP address and access point apparatus for configuring the access point apparatus at least one network element device is only needed to Number, it is not necessary to carry out differentiation configuration for each network element device, can reduce configure workload and configuration error it is several Rate.
Step 202, the IP ground of the network element device that described access point equipment includes according to first message Location and the port numbers of the network element device, it is determined that the IP address of processing equipment corresponding with the network element device and the place The port numbers of reason equipment.
Specifically, as shown in figure 3, described access point equipment determines the IP address of the corresponding processing equipment of the network element device With the port numbers of the processing equipment, the IP address of the corresponding processing equipment of network element device and the port of the processing equipment are obtained Number method includes following two:
The first:First, access point apparatus obtain the IP address and network element of the network element device from first message The port numbers of equipment;Then, described access point equipment is according to default corresponding relation, and the IP ground of the network element device Location and the port numbers of the network element device, determine the IP address of the corresponding processing equipment of the network element device and described The port numbers of processing equipment;The IP address of the corresponding relation including the network element device and the port numbers of the network element device with The corresponding relation of the port numbers of the IP address of the processing equipment and the processing equipment.
Second:Described access point equipment can be according to preset strategy to each processing equipment at least one processing equipment Current loading condition detected, by the IP address and the processing equipment of the most light processing equipment of current loading condition Port numbers as the IP address of the corresponding processing equipment of the network element device and the port numbers of the processing equipment.
Step 203, described access point equipment obtains the second message according to first message;Second message includes institute State the corresponding process of the IP address of network element device, the port numbers of the network element device, the network element device to set The standby IP address and the port numbers of the processing equipment.
Specifically, described access point equipment it is determined that the corresponding processing equipment of network element device IP address and the process set After standby port numbers, according to the first message and the IP address and the port numbers of the processing equipment of the processing equipment, obtain Obtain second message;Second message includes source IP address, source port, purpose IP address and destination interface, the source IP Address is the IP address of the network element device, and the source port is the port numbers of the network element device, and the purpose IP address are The IP address of the processing equipment, the destination interface is the port numbers of the processing equipment.
Wherein, according to the first message and the IP address and the port numbers of the processing equipment of the processing equipment, obtain The method of second message is:According to processing equipment IP address and the port numbers of the processing equipment, to receive first Message is reconstructed, and the purpose IP address in the first message are revised as into the IP ground of processing equipment by the IP address of access point apparatus Location, and the destination interface in the first message is revised as into the port numbers of processing equipment by the port numbers of access point apparatus, but do not repair Change the source IP address and source port in the first message, i.e., retain the IP address and network element device of network element device in the first message Port numbers;The second message to obtaining after the reconstruct of the first message can be the IP messages for carrying UDP messages.
Step 204, described access point equipment to the processing equipment sends second message, sets in order to the process It is standby to send the 3rd message to the network element device.
Specifically, it is corresponding to the network element device as shown in figure 3, described access point equipment is after the second message is obtained Processing equipment sends second message, in order to the processing equipment according to second message, obtains the 3rd message, and The 3rd message is sent to the network element device, so as to access point apparatus can realize the distribution function of business.
It can be seen that, each network element device carries out network service by access point apparatus and processing equipment, therefore, in message Purpose IP address are the IP address of access point apparatus, and destination interface is all the port numbers of access point apparatus, be therefore, there is no need to every The IP address and port numbers of different processing equipments are configured on individual network element device, it is only necessary to the unified configuration on all network element devices The IP address of access point apparatus and the port numbers of access point apparatus, so, network element device can be sent out to access point apparatus Deliver newspaper text, then the distribution processor of message is carried out by access point apparatus;The network element device in different business field needs connection different During processing equipment, the differentiation to a large amount of network element devices can be avoided to configure, such that it is able to reduce the configuration work on network element device Measure, reduce the probability of configuration error, to realize improving the allocative efficiency of network element device to a certain extent.
Fig. 4 is refer to, the schematic flow sheet of the embodiment of its network communication method provided by the embodiment of the present invention, such as Shown in figure, the method is comprised the following steps:
Step 401, network element device A and network element device B send the first message to access point apparatus respectively.
Specifically, Fig. 5 is refer to, the form schematic diagram of its first message provided by the embodiment of the present invention, as schemed institute Show, the first message includes source IP address, purpose IP address, source port, destination interface and UDP message contents;The present embodiment In, the IP address of access point apparatus is 10.30.100.88, and the port numbers of access point apparatus are 333.
Network element device A and network element device B send the first message to access point apparatus respectively, and first message is carrying The IP messages of UDP messages, table 1 is the first message that network element device A sends in the embodiment of the present invention:
Table 1
Source IP address Purpose IP address Source port Destination interface UDP message contents
10.20.100.10 10.30.100.88 5678 333 UDP message content A
As shown in table 1, in the first message that network element device A sends, source IP address is the IP address of network element device A, i.e., 10.20.100.10, purpose IP address are the IP address of access point apparatus, i.e. 10.30.100.88, source port is network element device A Port numbers, i.e., 5678, destination interface for access point apparatus port numbers, i.e., 333.
Table 2 is the first message that network element device B sends in the embodiment of the present invention:
Table 2
Source IP address Purpose IP address Source port Destination interface UDP message contents
10.20.200.20 10.30.100.88 6789 333 UDP message content B
As shown in table 2, in the first message that network element device B sends, source IP address is the IP address of network element device B, i.e., 10.20.200.20, purpose IP address are the IP address of access point apparatus, i.e. 10.30.100.88, source port is network element device B Port numbers, i.e., 6789, destination interface for access point apparatus port numbers, i.e., 333.
Wherein, the message of above-mentioned two first is all normal message, and the source IP address and source port of the two the first messages are all It is real sender(That is network element device)IP address and port
Step 402, the IP address of the network element device A that access point apparatus include according to first message and The port numbers of the network element device A, it is determined that the IP address of processing equipment A corresponding with the network element device A and the place The port numbers of reason device A, and the IP address and the net of the network element device B included according to first message The port numbers of element device B, it is determined that the IP address and processing equipment B of processing equipment B corresponding with the network element device B Port numbers.
Specifically, the IP address of network element device and the port numbers of network element device and processing equipment are preset in access point apparatus The corresponding relation of the port numbers of IP address and processing equipment;Access point apparatus extract the IP ground of network element device A from the first message Location and the port numbers of network element device A, then according to the corresponding relation, obtain the IP ground of corresponding processing equipments A of network element device A Location and the port numbers of processing equipment A, in the same manner, access point apparatus extract the IP address and network element of network element device B from the first message The port numbers of equipment B, then according to the corresponding relation, obtain IP address and the process of corresponding processing equipments B of network element device B The port numbers of equipment B.
For example, the corresponding relation is as shown in table 3:
Table 3
Step 403, access point apparatus are reconstructed to the first message that network element device A sends, to obtain corresponding second Message, and send second message to processing equipment A;Access point apparatus are reconstructed to the first message that network element device B sends, To obtain corresponding second message, and second message is sent to processing equipment B.
Specifically, access point apparatus are right according to the first message and IP address, the port numbers of processing equipment A of processing equipment A The first message that network element device A sends is reconstructed, to obtain corresponding second message,
And second message is sent to processing equipment A, to realize distribution of services function;Second sent to processing equipment A Message is as shown in table 4:
Table 4
Source IP address Purpose IP address Source port Destination interface UDP message contents
10.20.100.10 10.30.100.66 5678 3600 UDP message content A
As shown in table 4, the access point apparatus IP address for processing device A replaces the IP ground of access point apparatus in the first message Location, using the IP address of processing equipment A as purpose IP address, and replaces access in the first message with the port numbers for processing device A The port numbers of point device, using the port numbers of processing equipment A as destination interface.
In the same manner, access point apparatus are reconstructed to the first message that network element device B sends, to obtain corresponding second report Text, and second message is sent to processing equipment B, to realize distribution of services function;To processing equipment B send the second message such as Shown in table 5:
Table 5
Source IP address Purpose IP address Source port Destination interface UDP message contents
10.20.200.20 10.30.100.77 6789 4600 UDP message content B
As shown in table 5, the access point apparatus IP address of processing equipment B replaces the IP ground of access point apparatus in the first message Location, using the IP address of processing equipment B as purpose IP address, and replaces access in the first message with the port numbers of processing equipment B The port numbers of point device, using the port numbers of processing equipment B as destination interface.
It should be noted that above-mentioned processing equipment A and the second message of processing equipment B of being sent to all is improper message, Because the sender of the two the second messages is access point apparatus, but source IP address and source port are respectively nets in the second message The IP address and port numbers of element device A and network element device B, therefore, when processing equipment A or processing equipment B receive the second message, Processing equipment A or processing equipment B will be considered that the second message is directly to send from network element device.
Here, by access point apparatus the first message that network element device sends is carried out unifying to receive, is distributed, realize that flow converges Poly- and distribution of services function.
Step 404, processing equipment A and processing equipment B each carry out Business Processing according to the second message, corresponding to obtain 3rd message, and respectively to network element device A and network element device B the 3rd messages of transmission.
Specifically, processing equipment A carries out Business Processing to the second message for receiving, and then generates the 3rd message, and by the Three messages are transmitted directly to network element device A, and the 3rd message is response message, the 3rd message of the processing equipment A generation As shown in table 6:
Table 6
Source IP address Purpose IP address Source port Destination interface UDP message contents
10.30.100.88 10.20.100.10 333 5678 UDP message content A '
As shown in table 6, processing equipment A generate the 3rd message in, source IP address for access point apparatus IP address, source Mouth is the port numbers of access point apparatus, and purpose IP address are the IP address of network element device A, and destination interface is the end of network element device A Slogan.
In the same manner, processing equipment B carries out Business Processing to the second message for receiving, and then generates the 3rd message, and by the 3rd Message is transmitted directly to network element device B, and the 3rd message is response message, and the 3rd message that processing equipment B is generated is such as Shown in table 7:
Table 7
Source IP address Purpose IP address Source port Destination interface UDP message contents
10.30.100.88 10.20.200.20 333 6789 UDP message content B '
As shown in table 7, processing equipment B generate the 3rd message in, source IP address for access point apparatus IP address, source Mouth is the port numbers of access point apparatus, and purpose IP address are the IP address of network element device B, and destination interface is the end of network element device B Slogan.
The message of above-mentioned two the 3rd is improper message, because the sender of the two the 3rd messages is respectively processing equipment A and processing equipment B, but source IP address and source port are all the IP address and access point apparatus of access point apparatus in the 3rd message Port numbers, the purpose IP address and destination interface of the 3rd message are the IP address and port numbers of network element device A, or network element sets The IP address and port numbers of standby B, when network element device A and network element device B receive three messages respectively, network element device A or network element What equipment B sent when will be considered that three messages from access point apparatus, therefore, if network element device A or network element device B need to send again During the first message, access point apparatus are still destined to.
If it should be noted that ignoring above-mentioned steps 403, the first message and the 3rd message contrasted, the is found The source IP address and source port of one message are corresponding, the mesh of the first message with the purpose IP address and destination interface of the 3rd message IP address and destination interface be corresponding with the source IP address and source port of the 3rd message, therefore, although the embodiment of the present invention In, by two side's communication patterns between network element device of the prior art and processing equipment, it is changed to network element device, access point apparatus Three Party Communication pattern and processing equipment between, but the semanteme in agreement does not change, and the integrity of agreement is maintained.
In the embodiment of the present invention, the network element device includes:Optical communication equipment, data communications equipment, Wireless Telecom Equipment Deng.
The embodiment of the present invention can apply to the NMS of telecom operators and a large amount of network element devices be managed Scene, wherein, carry out network service using connectionless protocol between NMS and network element device.
The embodiment of the present invention further provides the device embodiment for realizing each step and method in said method embodiment.
Fig. 6 is refer to, the functional block diagram of its access point apparatus provided by the embodiment of the present invention is above-mentioned access point The functional block diagram of equipment, it is corresponding with the flow chart shown in Fig. 2, as illustrated, the access point apparatus include:
Receiving unit 60, for receiving the first message of network element device transmission;First message sets including the network element The port of standby IP address, the port numbers of the network element device, the IP address of described access point equipment and described access point equipment Number;
First processing units 61, for the IP address of the network element device that includes according to first message and The port numbers of the network element device, it is determined that the IP address of processing equipment corresponding with the network element device and the process set Standby port numbers;
Second processing unit 62, for obtaining the second message according to first message;Second message includes described The IP address of network element device, the port numbers of the network element device, the corresponding processing equipment of the network element device The IP address and the processing equipment the port numbers;
Transmitting element 63, for sending second message to the processing equipment, in order to the processing equipment to institute State network element device and send the 3rd message.
Wherein, the first processing units 61 specifically for:
Foundation corresponding relation, and the IP address and the port numbers of the network element device of the network element device, Determine the IP address of the processing equipment and the port numbers of the processing equipment;The corresponding relation includes the network element device The port numbers of IP address and the network element device are right with the port numbers of the IP address of the processing equipment and the processing equipment Should be related to.
Or, the first processing units 61 specifically for:
The current loading condition of the processing equipment is detected;
Using the port numbers of the IP address of the most light processing equipment of current loading condition and the processing equipment as institute State the IP address of the corresponding processing equipment of network element device and the port numbers of the processing equipment.
Wherein, the IP address of the 3rd message including described access point equipment, described access point equipment it is described The port numbers of port numbers, the IP address of the network element device and the network element device.
It can be seen that, each network element device in communication system can by access point apparatus provided in an embodiment of the present invention with Processing equipment carries out network service, therefore, the purpose IP address in message are the IP address of access point apparatus, and destination interface is all The port numbers of access point apparatus, the IP address of the processing equipment that therefore, there is no need to configure different on each network element device and end Slogan, it is only necessary to which the unified IP address of configuring access point equipment and the port numbers of access point apparatus are on all network element devices Can, so, network element device can send message to access point apparatus, then carry out the distribution processor of message by access point apparatus; When the network element device in different business field needs to connect different processing equipments, the differentiation to a large amount of network element devices can be avoided Configuration, such that it is able to reduce the configuration work amount on network element device, reduces the probability of configuration error, to realize to a certain extent Improve the allocative efficiency of network element device.
Fig. 7 is refer to, the structural representation of its access point apparatus provided by the embodiment of the present invention, with Fig. 2 and Fig. 6 pair Should, as illustrated, the access point apparatus include:
Receptor 71, for receiving the first message of network element device transmission;First message includes the network element device IP address, the port numbers of the network element device, the port numbers of the IP address of described access point equipment and described access point equipment;
Memorizer 72, for the information that storage includes program routine;
Processing equipment 73, couples respectively with receptor 71, memorizer 72 and emitter 74, for controlling described program routine Execution, specifically include:The IP address and the network element of the network element device included according to first message sets The standby port numbers, it is determined that the port of the IP address of processing equipment corresponding with the network element device and the processing equipment Number;The second message is obtained according to first message;It is the IP address of second message including the network element device, described The IP address and the processing equipment of the corresponding processing equipment of the port numbers of network element device, the network element device The port numbers.
Emitter 74, for sending second message to the processing equipment, in order to the processing equipment to described Network element device sends the 3rd message.
Wherein, receptor 71 is corresponding to the receiving unit 60 in Fig. 6, processing equipment 73 be used for corresponding to Fig. 6 in first Processing unit 61 and second processing unit 62, emitter 74 is used for corresponding to the transmitting element 63 in Fig. 6.
Fig. 8 is refer to, the schematic block diagram of its network communicating system provided by the embodiment of the present invention, as illustrated, The network communicating system includes:Access point apparatus 80, at least one network equipment 81 and at least one processing equipment 82;Its In,
The network equipment 81, for sending the first message to described access point equipment 80, first message includes institute IP address, the port numbers of the network element device, the IP address of described access point equipment and the described access point for stating network element device sets Standby port numbers;
Described access point equipment 80, the IP address of the network element device for including according to first message With the port numbers of the network element device, it is determined that the IP address of processing equipment corresponding with the network element device and the process The port numbers of equipment;The second message is obtained according to first message;Second message includes the described of the network element device IP address, the port numbers of the network element device, the IP address of the corresponding processing equipment of the network element device and The port numbers of the processing equipment;Second message is sent to the processing equipment 82, in order to the processing equipment The 3rd message is sent to the network element device.
Wherein, the IP address of the 3rd message including described access point equipment, described access point equipment it is described The port numbers of port numbers, the IP address of the network element device and the network element device.
Here, a network element device is only given in Fig. 8 and a processing equipment is illustrated, be not offered as only one of which net Element device and a processing equipment.
Technical scheme has the advantages that:
The purpose IP address of each network element device are the IP address of access point apparatus, and destination interface is all access point apparatus Port numbers, the IP address and port numbers of the processing equipment that therefore, there is no need to configure different on each network element device, it is only necessary to The port numbers of the IP address of unified configuring access point equipment and access point apparatus on all network element devices, so, network element sets It is standby to send message to access point apparatus, then carry out the distribution processor of message by access point apparatus;Different business field When network element device needs to connect different processing equipments, the differentiation to a large amount of network element devices can be avoided from configuring, such that it is able to The configuration work amount on network element device is reduced, the probability of configuration error is reduced.
In prior art, fire wall is provided between network element device and NMS, fire wall is only to standard Destination interface is opened, and the port numbers of the destination interface of fire wall access are 333 in such as Fig. 1, and the port numbers of the source port that standard goes out are 333, so if fire wall is also opened to off-gauge destination interface, then access/the standard that must change fire wall goes out rule, prevents Opening of the increase of wall with flues to off-gauge purpose interface and off-gauge source port, fire wall needs to increase access in such as Fig. 1 Destination interface port numbers 1333, increase it is accurate go out source port port numbers 1333, then because expand can be by fire prevention The message scope of wall, to NMS larger security risk is brought;Therefore, in the embodiment of the present invention, access point sets The standby agency equivalent to processing equipment, in the message of into and out fire wall, source port and destination interface are all standard ports, I.e. destination interface and source port are all the listening port of access point apparatus, therefore it may only be necessary to the port of access point apparatus is arranged For standard port, NMS can all listen to the message that network element device is sent, without being concerned about that the port of processing equipment is The port of standard or off-gauge port, therefore, the embodiment of the present invention need not change firewall rule, it is possible to so that network element Message between equipment and NMS reduces the security risk of NMS by fire wall.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device reality For applying example, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to embodiment of the method Part explanation.It should be noted that, device embodiment described above is only schematic, wherein the conduct point Can be from the unit of part description or may not be it is physically separate, can be as the part that unit shows or May not be physical location, you can be located at a place, or can also be distributed on multiple NEs.Can basis The actual purpose for needing to select some or all of module therein to realize this embodiment scheme.In addition, the present invention is provided Device embodiment accompanying drawing in, the annexation between module represent between them have communication connection, specifically can be implemented as One or more communication bus or holding wire.Those of ordinary skill in the art are not in the case where creative work is paid, you can To understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be borrowed Software is helped to add the mode of required common hardware to realize, naturally it is also possible to include special IC, specially by specialized hardware Realized with CPU, private memory, special components and parts etc..Generally, all functions of being completed by computer program can Easily realized with corresponding hardware, and, for realizing that the particular hardware structure of same function can also be various many Sample, such as analog circuit, digital circuit or special circuit etc..But, it is more for the purpose of the present invention in the case of software program reality It is now more preferably embodiment.Based on such understanding, technical scheme is substantially made to prior art in other words The part of contribution can be embodied in the form of software product, and the computer software product is stored in the storage medium that can read In, such as the floppy disk of computer, USB flash disk, portable hard drive, read only memory(ROM, Read-Only Memory), random access memory Device(RAM, Random Access Memory), magnetic disc or CD etc., including some instructions are used so that a computer sets It is standby(Can be personal computer, server, or network equipment etc.)Perform the method described in each embodiment of the invention.
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention Within god and principle, any modification, equivalent substitution and improvements done etc. should be included within the scope of protection of the invention.

Claims (7)

1. a kind of network communication method, it is characterised in that methods described includes:
Access point apparatus receive the first message that network element device sends;First message includes the IP ground of the network element device The port numbers of location, the port numbers of the network element device, the IP address of described access point equipment and described access point equipment;
The IP address and the network element of the network element device that described access point equipment includes according to first message The port numbers of equipment, it is determined that the port of the IP address of processing equipment corresponding with the network element device and the processing equipment Number;
Described access point equipment obtains the second message according to first message;Second message includes the network element device The IP address, the port numbers of the network element device, the IP ground of the corresponding processing equipment of the network element device Location and the port numbers of the processing equipment;
Described access point equipment to the processing equipment sends second message, in order to the processing equipment to the network element Equipment sends the 3rd message, and the 3rd message includes the IP address of described access point equipment, described access point equipment The port numbers of the port numbers, the IP address of the network element device and the network element device.
2. method according to claim 1, it is characterised in that described access point equipment includes according to first message The network element device the IP address and the port numbers of the network element device, it is determined that corresponding with the network element device The port numbers of the IP address of processing equipment and the processing equipment, including:
Described access point equipment foundation corresponding relation, and the IP address and the institute of the network element device of the network element device Port numbers are stated, the IP address of the processing equipment and the port numbers of the processing equipment are determined;The corresponding relation includes described The IP address of the port numbers of the IP address of network element device and the network element device and the processing equipment and the processing equipment The corresponding relation of port numbers.
3. method according to claim 1, it is characterised in that described access point equipment includes according to first message The network element device the IP address and the port numbers of the network element device, it is determined that corresponding with the network element device The port numbers of the IP address of processing equipment and the processing equipment, including:
Described access point equipment is detected to the current loading condition of the processing equipment;
Described access point equipment is by the IP address of the most light processing equipment of current loading condition and the end of the processing equipment Slogan is used as the IP address of the corresponding processing equipment of the network element device and the port numbers of the processing equipment.
4. a kind of access point apparatus, it is characterised in that described access point equipment includes:
Receiving unit, for receiving the first message of network element device transmission;First message includes the IP of the network element device The port numbers of address, the port numbers of the network element device, the IP address of described access point equipment and described access point equipment;
First processing units, for the IP address of the network element device that includes according to first message and the net The port numbers of element device, it is determined that the end of the IP address of processing equipment corresponding with the network element device and the processing equipment Slogan;
Second processing unit, for obtaining the second message according to first message;Second message sets including the network element The standby IP address, the port numbers of the network element device, the corresponding processing equipment of the network element device it is described The port numbers of IP address and the processing equipment;
Transmitting element, for sending second message to the processing equipment, in order to the processing equipment to the network element Equipment sends the 3rd message, and the 3rd message includes the IP address of described access point equipment, described access point equipment The port numbers of the port numbers, the IP address of the network element device and the network element device.
5. access point apparatus according to claim 4, it is characterised in that the first processing units specifically for:
Foundation corresponding relation, and the IP address and the port numbers of the network element device of the network element device, it is determined that The port numbers of the IP address of the processing equipment and the processing equipment;The corresponding relation includes the IP ground of the network element device The port numbers of location and the network element device are corresponding with the port numbers of the IP address of the processing equipment and the processing equipment to close System.
6. access point apparatus according to claim 4, it is characterised in that the first processing units specifically for:
The current loading condition of the processing equipment is detected;
Using the port numbers of the IP address of the most light processing equipment of current loading condition and the processing equipment as the net The IP address of the corresponding processing equipment of element device and the port numbers of the processing equipment.
7. a kind of network communicating system, it is characterised in that the system include access point apparatus, at least one network equipment and At least one processing equipment;Wherein,
The network equipment, for sending the first message to described access point equipment, first message includes network element device The port numbers of IP address, the port numbers of the network element device, the IP address of described access point equipment and described access point equipment;
Described access point equipment, for the IP address of the network element device that includes according to first message and described The port numbers of network element device, it is determined that the IP address of processing equipment corresponding with the network element device and the processing equipment Port numbers;The second message is obtained according to first message;The IP address of second message including the network element device, The IP address of the corresponding processing equipment of the port numbers of the network element device, the network element device and the process The port numbers of equipment;Second message is sent to the processing equipment, in order to the processing equipment to the network element Equipment sends the 3rd message, and the 3rd message includes the IP address of described access point equipment, described access point equipment The port numbers of the port numbers, the IP address of the network element device and the network element device.
CN201310488285.3A 2013-10-17 2013-10-17 Network communication method, access point equipment and system Active CN103532757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310488285.3A CN103532757B (en) 2013-10-17 2013-10-17 Network communication method, access point equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310488285.3A CN103532757B (en) 2013-10-17 2013-10-17 Network communication method, access point equipment and system

Publications (2)

Publication Number Publication Date
CN103532757A CN103532757A (en) 2014-01-22
CN103532757B true CN103532757B (en) 2017-04-26

Family

ID=49934458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310488285.3A Active CN103532757B (en) 2013-10-17 2013-10-17 Network communication method, access point equipment and system

Country Status (1)

Country Link
CN (1) CN103532757B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114364031B (en) * 2021-12-08 2022-12-30 广州爱浦路网络技术有限公司 Service providing method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262504A (en) * 2008-05-13 2008-09-10 杭州华三通信技术有限公司 A method, device and system for source and destination IP address translation
CN101572676A (en) * 2009-06-17 2009-11-04 杭州华三通信技术有限公司 Load sharing method and equipment of double outlets at data center
WO2012095022A1 (en) * 2011-01-14 2012-07-19 中兴通讯股份有限公司 Method and device for message transmission under mff manual mode
CN102857382A (en) * 2012-09-28 2013-01-02 瑞斯康达科技发展股份有限公司 Network management equipment, access convergent equipment, access terminal equipment, and management method and system for access terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262504A (en) * 2008-05-13 2008-09-10 杭州华三通信技术有限公司 A method, device and system for source and destination IP address translation
CN101572676A (en) * 2009-06-17 2009-11-04 杭州华三通信技术有限公司 Load sharing method and equipment of double outlets at data center
WO2012095022A1 (en) * 2011-01-14 2012-07-19 中兴通讯股份有限公司 Method and device for message transmission under mff manual mode
CN102857382A (en) * 2012-09-28 2013-01-02 瑞斯康达科技发展股份有限公司 Network management equipment, access convergent equipment, access terminal equipment, and management method and system for access terminal equipment

Also Published As

Publication number Publication date
CN103532757A (en) 2014-01-22

Similar Documents

Publication Publication Date Title
CN104580192B (en) The treating method and apparatus of the network access request of application program
CN111917649B (en) Virtual private cloud communication and configuration method and related device
CN104579887A (en) Cloud gateway as well as cloud gateway creation and configuration system and method
CN105847108B (en) Communication means and device between container
WO2020253631A1 (en) Configuration method, device, and system for ip address
CN102845123A (en) Virtual private cloud connection method and tunnel proxy server
CN106357542B (en) The method and software defined network controller of multicast service are provided
CN108156038A (en) Ask distribution method, device, access gateway and storage medium
CN105939267B (en) Outband management method and device
CN102739684A (en) Portal authentication method based on virtual IP address, and server thereof
CN106921578A (en) The generation method and device of a kind of forwarding-table item
CN108429739A (en) A kind of method, system and the terminal device of identification honey jar
CN107995321A (en) A kind of VPN client acts on behalf of the method and device of DNS
CN109962913A (en) Proxy server and Proxy Method based on secure socket layer protocol
CN106572447A (en) Resource control method and device
CN107659930A (en) A kind of AP connection control methods and device
CN107911496A (en) A kind of VPN service terminal acts on behalf of the method and device of DNS
CN107682196B (en) Method, system, equipment and storage medium for automatically generating and issuing distribution rule
CN109413224A (en) Message forwarding method and device
CN103532757B (en) Network communication method, access point equipment and system
CN106411588B (en) A kind of network device management method, main equipment and management server
CN107124310A (en) The collocation method and device of a kind of authority
CN104717176B (en) A kind of authority control method, system and server
US20190222439A1 (en) Network interworking method, network element, and system
CN113259436B (en) Network request processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant