CN109618022A - Peer negotiation formula dynamic addressing method and device based on IP subnet - Google Patents

Peer negotiation formula dynamic addressing method and device based on IP subnet Download PDF

Info

Publication number
CN109618022A
CN109618022A CN201910013812.2A CN201910013812A CN109618022A CN 109618022 A CN109618022 A CN 109618022A CN 201910013812 A CN201910013812 A CN 201910013812A CN 109618022 A CN109618022 A CN 109618022A
Authority
CN
China
Prior art keywords
subnet
satellite
interface
information
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910013812.2A
Other languages
Chinese (zh)
Other versions
CN109618022B (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.)
Tianyu Aviation Data Technology Hefei Co ltd
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201910013812.2A priority Critical patent/CN109618022B/en
Publication of CN109618022A publication Critical patent/CN109618022A/en
Application granted granted Critical
Publication of CN109618022B publication Critical patent/CN109618022B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/18521Systems of inter linked satellites, i.e. inter satellite service

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The peer negotiation formula dynamic addressing method and device based on IP subnet that the present invention provides a kind of, it is related to the technical field of satellite communication, when detecting that first interface is connect with second interface, first IP subnet information is sent to the second satellite by the first satellite, and the 2nd IP subnet information is sent to the first satellite by the second satellite;The first IP subnet or the 2nd IP subnet are used according to the first IP subnet information and the judgement of the 2nd IP subnet information respectively;When using the first IP subnet, address different in the first IP subnet is distributed respectively for first interface and second interface;When using the 2nd IP subnet, address different in the 2nd IP subnet is distributed respectively for first interface and second interface.Present invention dynamic link setup and in the environment of switching between the mobile nodes such as Constellation of Low Earth Orbit Satellites network system relatively reciprocity (can be used as access point, but also as accessing user), node, access point and accessing user are determined by way of peer negotiation, the IP address after making link setup meets convergence relationship.

Description

Peer negotiation formula dynamic addressing method and device based on IP subnet
Technical field
The present invention relates to technical field of satellite communication, compile more particularly, to a kind of peer negotiation formula dynamic based on IP subnet Location method and device.
Background technique
Traditional IP addressing mode includes IP address static configuration and DynamicHost setting agreement (Dynamic Host Configuration Protocol, DHCP) dynamic configuration both of which etc..Static configuration mode refer to by center configuration network In each interface IP address, while determining each node IP address in link IP subnet and subnet.The shortcomings that static configuration mode Center is required when being each link switching to reconfigure, and unified center is needed to be managed concentratedly and send out information in time For cloth to node, timeliness is poor.DHCP protocol is the agreement based on server/customer end mode, the fixed DHCP clothes of DHCP protocol The IP subnet of business device, the IP address of client are allocated by server.In low-track satellite network, since it is with stronger Mobility, therefore fixed access point and accessing user's relationship can not be determined (if it is determined that fixed access in handoff procedure Point and accessing user, the both sides that can bring link setup are access point or both sides are accessing user, so that address can not be carried out The problem of distribution and determining link IP subnet).Therefore, existing scheme between node dynamic link setup and switching in the environment of not It is applicable in.
Summary of the invention
In view of this, the peer negotiation formula dynamic addressing method that the purpose of the present invention is to provide a kind of based on IP subnet and Flexibility when device, timeliness in IP addressing to optimize Aerospace Satellite network and reciprocity link setup.
In a first aspect, the embodiment of the invention provides a kind of peer negotiation formula dynamic addressing method based on IP subnet, is answered For moving satellite system, satellite system includes at least the first satellite and the second satellite, and the first satellite includes at least first interface, Second satellite includes at least second interface, and first interface is configured with the first IP subnet, and second interface is configured with the 2nd IP subnet;It should Method includes: when detecting that first interface is connect with second interface, and the first IP subnet information is sent to second by the first satellite 2nd IP subnet information is sent to the first satellite by satellite, the second satellite;First satellite and the second satellite are respectively according to the first IP Subnet information and the judgement of the 2nd IP subnet information use the first IP subnet or the 2nd IP subnet;When using the first IP subnet, the One satellite and the second satellite are that first interface and second interface distribute address different in the first IP subnet respectively;When use second When IP subnet, the first satellite and the second satellite are that first interface and second interface distribute ground different in the 2nd IP subnet respectively Location.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein the Each interface of one satellite and the second satellite is each equipped with IP subnet;IP subnet includes at least two available address.
With reference to first aspect or its first possible embodiment, the embodiment of the invention provides the second of first aspect The possible embodiment of kind, wherein the first satellite and the second satellite are believed according to the first IP subnet information and the 2nd IP subnet respectively The step of breath judgement is using the first IP subnet or the 2nd IP subnet, comprising: respectively according to the first IP subnet information and the 2nd IP Net information calculates the first IP subnet number and the 2nd IP subnet number;First satellite and the second satellite compare respectively the first IP subnet number and The size of 2nd IP subnet number, if the first IP subnet number is greater than the 2nd IP subnet number, the first satellite and the second satellite are used First IP subnet;If the first IP subnet number uses the 2nd IP less than the 2nd IP subnet number, the first satellite and the second satellite Net.
With reference to first aspect, the embodiment of the invention provides the third possible embodiments of first aspect, wherein when When using the first IP subnet, the first satellite and the second satellite are that first interface and second interface are distributed in the first IP subnet not respectively With address the step of, comprising: when using the first IP subnet, the first satellite is that first interface distributes address in the first IP subnet It is worth lesser address;Second satellite is that second interface distributes the biggish address of address value in the first IP subnet.
With reference to first aspect, the embodiment of the invention provides the 4th kind of possible embodiments of first aspect, wherein when When using the 2nd IP subnet, the first satellite and the second satellite are that first interface and second interface are distributed in the 2nd IP subnet not respectively With address the step of, comprising: when using the 2nd IP subnet, the first satellite is that first interface distributes address in the 2nd IP subnet It is worth biggish address;Second satellite is that second interface distributes the lesser address of address value in the 2nd IP subnet.
With reference to first aspect or its first possible embodiment, the embodiment of the invention provides the 5th of first aspect the The possible embodiment of kind, this method further include: the first satellite and the second satellite send one's own side's information to other side respectively;One's own side's letter Breath includes one's own side's IP address and one's own side's mask;First satellite and the second satellite judge whether to receive within a preset time respectively simultaneously really Recognize one's own side's information of other side's transmission;If not, the first IP subnet information is sent to the second satellite again by the first satellite, second is defended 2nd IP subnet information is sent to the first satellite again by star.
With reference to first aspect or its first possible embodiment, the embodiment of the invention provides the 6th of first aspect the The possible embodiment of kind, this method further include: count the quantity of node and the interface quantity of node;According to the quantity of node The address total amount needed is determined with interface quantity;The IP address network segment needed is determined according to address total amount.
Second aspect, the embodiment of the present invention also provide a kind of peer negotiation formula dynamic addressing device based on IP subnet, answer For moving satellite system, satellite system includes at least the first satellite and the second satellite, and the first satellite includes at least first interface, Second satellite includes at least second interface, and first interface is configured with the first IP subnet, and second interface is configured with the 2nd IP subnet;Dress Setting includes: sending module, and for when detecting that first interface is connect with second interface, the first satellite is by the first IP subnet information It is sent to the second satellite, the 2nd IP subnet information is sent to the first satellite by the second satellite;Judgment module, for the first satellite and Second satellite uses the first IP subnet or the 2nd IP subnet according to the first IP subnet information and the judgement of the 2nd IP subnet information respectively; First distribution module, for when using the first IP subnet, the first satellite and the second satellite to be first interface and second interface point Address that Fen Pei be not different in the first IP subnet;Second distribution module, for when using the 2nd IP subnet, the first satellite and the Two satellites are that first interface and second interface distribute address different in the 2nd IP subnet respectively.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein sentences Disconnected module, is also used to: calculating the first IP subnet number and the 2nd IP according to the first IP subnet information and the 2nd IP subnet information respectively Subnet number;First satellite and the second satellite compare the size of the first IP subnet number and the 2nd IP subnet number respectively, if the first IP Subnet number is greater than the 2nd IP subnet number, and the first satellite and the second satellite use the first IP subnet;If the first IP subnet number is small In the 2nd IP subnet number, the first satellite and the second satellite use the 2nd IP subnet.
In conjunction with second aspect, the embodiment of the invention provides second of possible embodiments of second aspect, wherein should Device further includes confirmation module, is used for: the first satellite and the second satellite send one's own side's information to other side respectively;One's own side's information includes One's own side's IP address and one's own side's mask;First satellite and the second satellite judge whether to receive within a preset time respectively and confirm other side One's own side's information of transmission;If not, the first IP subnet information is sent to the second satellite again by the first satellite, the second satellite is again 2nd IP subnet information is sent to the first satellite.
The embodiment of the present invention brings following the utility model has the advantages that the embodiment of the invention provides a kind of equities based on IP subnet Negotiation formula dynamic addressing method and device is respectively configured first for the first interface of the first satellite and the second interface of the second satellite IP subnet and the 2nd IP subnet, when detecting that first interface is connected with second interface, the first satellite and the second passing of satelline phase The first IP subnet information and the 2nd IP subnet information is mutually sent to negotiate to realize using the first IP subnet or the 2nd IP subnet, if Using the first IP subnet, the first satellite and the second satellite are respectively that first interface and second interface distribute difference in the first IP subnet Address, if the first satellite and the second satellite are respectively first interface and second interface distribution second using the 2nd IP subnet Different address in IP subnet.The embodiment of the present invention can independently hold consultation when two peer nodes establish connection, determine Dynamic configuration address may be implemented in the access point of link and accessing user, and timeliness is strong, and has greater flexibility.
Other feature and advantage of the disclosure will illustrate in the following description, alternatively, Partial Feature and advantage can be with Deduce from specification or unambiguously determine, or by implement the disclosure above-mentioned technology it can be learnt that.
To enable the above objects, features, and advantages of the disclosure to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the peer negotiation formula dynamic addressing method flow diagram provided in an embodiment of the present invention based on IP subnet;
Fig. 2 is the peer negotiation formula dynamic addressing method implementation diagram provided in an embodiment of the present invention based on IP subnet;
Fig. 3 is a kind of structural frames of the peer negotiation formula dynamic addressing device provided in an embodiment of the present invention based on IP subnet Figure;
Fig. 4 is another structure of the peer negotiation formula dynamic addressing device provided in an embodiment of the present invention based on IP subnet Block diagram.
Icon:
31- sending module;32- judgment module;The first distribution module of 33-;The second distribution module of 34-;35- confirmation module.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
The IP addressing mode that tradition meets address aggregation relationship mainly has IP address static configuration and DynamicHost setting association Discuss (DHCP) dynamic configuration both of which.
The IP address by each interface in center configuration network that static configuration mode refers to, at the same determine link IP subnet and Each node IP address from netting.The shortcomings that static configuration mode, requires center when being each link switching and reconfigures, and needs It is managed concentratedly and information is distributed to node in time in unified center.When network size is larger, information publication is needed Want independent control channel or with data common-use tunnel.Section can be just transferred to by generally requiring multi-hop when with data common-use tunnel Point, it is poor in timeliness, possibly even no longer valid.
DHCP protocol is the agreement based on server/customer end mode, and DHCP protocol fixes the IP subnet of Dynamic Host Configuration Protocol server, The IP address of client is allocated by server.When client terminal start-up, to server IP address requesting, server returns corresponding IP address.DHCP protocol dynamic configuration can solve the IP address assignment problem of link setup between router and host.But if Two end nodes are reciprocity (such as link setups and switching between router and router), establish the double of connection due to being difficult to determine Side which side be server, which side be client, server/customer end mode failures even.In Constellation of Low Earth Orbit Satellites network system Dynamic link setup and switching between equal mobile nodes relatively reciprocity (not only can be used as access point but also can be used as accessing user), node In the environment of, it (is determined between relatively-stationary subnet and subnet interior nodes to make the IP address after link setup meet paradigmatic relation Relationship realizes address aggregation, convenient for routing), a kind of new IP dynamic addressing method is needed, link can dynamic in this way Determine IP subnet and subnet interior nodes IP address (being dynamically determined link setup node both sides, which side is access point, which side For accessing user).
Based on this, a kind of peer negotiation formula dynamic addressing method and dress based on IP subnet provided in an embodiment of the present invention It sets, can solve existing scheme, there are fail when poor in timeliness, reciprocity link setup in the IP addressing of Aerospace Satellite network.
The embodiment of the present invention is that each interface of satellite node configures an IP subnet, passes through the redundant configuration of interface IP address (each interface configure an IP subnet) makes it have ability as an access point.Interface each in this way configures an IP The node of subnet not only can be used as an accessing user (subnet for accessing other nodes), but can as access point (for Family access).It can independently hold consultation when two peer nodes establish connection, determine access point and the accessing user of link, IP subnet used in also determining simultaneously.In the case where guaranteeing that node peer negotiation establishes connection in a network, network In both link ends interface IP address remain in same subnet.This method comprises: each interface of (1) network node configures One IP subnet, rather than configure an IP address;(2) in a network node link setup when, the method using peer negotiation formula is true Surely IP subnet (determining access point and accessing user) used by the link established.It is first for convenient for understanding the present embodiment First describe in detail to a kind of peer negotiation formula dynamic addressing method based on IP subnet disclosed in the embodiment of the present invention.
Embodiment 1
The embodiment of the present invention 1 provides a kind of peer negotiation formula dynamic addressing method based on IP subnet, shown in Figure 1 The peer negotiation formula dynamic addressing method flow diagram based on IP subnet, method includes the following steps:
Step S102, when detecting that first interface is connect with second interface, the first satellite sends out the first IP subnet information The second satellite is given, the 2nd IP subnet information is sent to the first satellite by the second satellite.
First interface is an interface of the first satellite in satellite system.Second interface is the second satellite of satellite system value One interface.First satellite and the second satellite may each comprise multiple interfaces, and two satellites can establish connection by interface, when first It, can be using the interface of the first satellite in connection as first interface, by connection second when satellite and the second satellite establish connection The interface of satellite is as second interface.
IP subnet information includes IP address and subnet mask, and wherein IP address is generated by initialization, and subnet mask can be with It is determined according to required subnet length.For example, can match for each interface in the first satellite of network node or the second satellite Set one include 4 addresses IP subnet, subnet mask be 255.255.255.252 (due to a network segment first address and Last address is reserved address, and actually available number of addresses is 2).First IP subnet information corresponds to the IP subnet information of first interface, 2nd IP subnet information corresponds to the IP subnet information of second interface.
Peer negotiation formula dynamic addressing method implementation diagram based on IP subnet shown in Figure 2, when detecting When one interface is connect with second interface, both sides carry out IP address negotiation.For initial network segment be a.b.c.d/l the first satellite with Initial network segment is the second satellite of e.f.g.h/l, when detecting the interface connection between them, that is, detect the first satellite and After the aerial angle of second satellite is adjusted to scheduled angle, the first IP subnet information is sent to the second satellite by the first satellite, And the 2nd IP subnet information that the second satellite is sent is received, the 2nd IP subnet information is sent to the first satellite by the second satellite, and Receive the first IP subnet information of the first satellite transmission.
Step S104, the first satellite and the second satellite judge according to the first IP subnet information and the 2nd IP subnet information respectively Use the first IP subnet or the 2nd IP subnet.
First satellite and the second satellite determine principle and the first IP subnet information and the 2nd IP subnet according to IP address respectively Information judges to make interface IP address meet convergence relationship using the first IP subnet or the 2nd IP subnet.Judgement uses the first IP The process of net or the 2nd IP subnet is to determine the process of access point and accessing user.Can respectively according to the first IP subnet information and 2nd IP subnet information obtains the first IP subnet number and the 2nd IP subnet number.Wherein, address determines that principle can be with are as follows: according to first Size relation between IP subnet number and the 2nd IP subnet number, which determines, uses the first IP subnet or the 2nd IP subnet.
Step S106, when using the first IP subnet, the first satellite and the second satellite are first interface and second interface point Address that Fen Pei be not different in the first IP subnet.
Determine use the first IP subnet as link IP subnet after, according to the first IP subnet to each interface in link into Different address in first IP subnet can be respectively allocated to first interface according to scheduled rule by the configuration of line interface IP address And second interface.Wherein, scheduled rule can be with are as follows: if link IP subnet uses the IP subnet of this interface, this interface IP address be configured to first available address of the subnet, if link IP subnet uses the IP subnet of other side's interface, this Interface IP address is configured to second available IP address in subnet.
Step S108, when using the 2nd IP subnet, the first satellite and the second satellite are first interface and second interface point Address that Fen Pei be not different in the 2nd IP subnet.
Determine use the 2nd IP subnet as link IP subnet after, according to the 2nd IP subnet to each interface in link into Different address in 2nd IP subnet can be respectively allocated to first interface according to scheduled rule by the configuration of line interface IP address And second interface.Wherein, scheduled rule can be with are as follows: if link IP subnet uses the IP subnet of this interface, this interface IP address be configured to first available address of the subnet, if link IP subnet uses the IP subnet of other side's interface, this Interface IP address is configured to second available IP address in subnet.
The peer negotiation formula dynamic addressing method based on IP subnet that the embodiment of the invention provides a kind of is the first satellite The first IP subnet and the 2nd IP subnet is respectively configured in the second interface of first interface and the second satellite, when detect first interface and When second interface connects, the first satellite and second passing of satelline mutually send the first IP subnet information and the 2nd IP subnet information It realizes and negotiates to use the first IP subnet or the 2nd IP subnet, if using the first IP subnet, the first satellite and the second satellite difference Address different in the first IP subnet is distributed for first interface and second interface, if using the 2nd IP subnet, the first satellite and Second satellite is respectively that first interface and second interface distribute address different in the 2nd IP subnet.The embodiment of the present invention is at two It when peer node establishes connection, can independently hold consultation, determine access point and the accessing user of link, dynamic may be implemented and match Address is set, timeliness is strong, and has greater flexibility.
In view of in order to which, in the occupancy for reducing resource, this method is in the first satellite while improving address allocation flexibility IP subnet is each equipped with each interface of the second satellite;IP subnet includes at least two available address.
Two available address are included at least in IP subnet, and as two reserved address of first address and last address, each The configurable IP subnet comprising 4 addresses of interface, wherein the address value of two available address is different, and a value is larger, and one A value is smaller.For the equal configuration of IP subnet of each interface of the first satellite and the second satellite, the first satellite and second can be improved Flexibility of the satellite when address is distributed.
In view of the IP address of interface each in link be in same subnet be Internet Interconnection (Internet Protocol, IP) agreement, ospf (Open Shortest Path First, OSPF) agreement, address resolution The basis of the operations such as (Address Resolution Protocol, ARP) agreement, to guarantee the both link ends interface in network IP address is remained in same subnet, and the first satellite and the second satellite are believed according to the first IP subnet information and the 2nd IP subnet respectively The step of breath judgement is using the first IP subnet or the 2nd IP subnet, may comprise steps of:
(1) the first IP subnet number and the 2nd IP subnet are calculated according to the first IP subnet information and the 2nd IP subnet information respectively Number.
First satellite and the second satellite all in accordance in the first IP subnet information the first IP address and the first mask calculate the One IP subnet number, according to according to the second IP address and the first mask the 2nd IP subnet number of calculating in the 2nd IP subnet information.
(2) first satellites and the second satellite compare the size of the first IP subnet number and the 2nd IP subnet number respectively, if the One IP subnet number is greater than the 2nd IP subnet number, and the first satellite and the second satellite use the first IP subnet.
(3) if the first IP subnet number uses the 2nd IP less than the 2nd IP subnet number, the first satellite and the second satellite Net.
Peer negotiation formula dynamic addressing method implementation diagram based on IP subnet shown in Figure 2, in the first satellite, If the first IP subnet number a.b.c.d is greater than the second sub- IP network e.f.g.h, use the first IP subnet as link IP subnet, Otherwise use the 2nd IP subnet number as link IP subnet;In second satellite, if the first IP subnet number a.b.c.d is less than second IP subnet number e.f.g.h, uses the 2nd IP subnet as link IP subnet, otherwise uses the first IP subnet number as link IP Net.
In order to guarantee going on smoothly automatically for address distribution, when using the first IP subnet, the first satellite and the second satellite The step of distributing addresses different in the first IP subnet respectively for first interface and second interface, comprising: as the first IP of use When net, the first satellite is that first interface distributes the lesser address of address value in the first IP subnet;Second satellite is second interface point With the biggish address of address value in the first IP subnet.
In first IP subnet include at least two available addresses, when in the first IP subnet include two available addresses When, it is determined how according to the size of address value and distributes address for first interface and second interface, specific allocation rule can root It is determined according to actual demand, for example, can be set to, when using the first IP subnet, the first satellite is first interface distribution The lesser address of address value in first IP subnet;Second satellite be second interface distribute the first IP subnet in address value biggishly Location.
In order to guarantee going on smoothly automatically for address distribution, when using the 2nd IP subnet, the first satellite and the second satellite The step of distributing addresses different in the 2nd IP subnet respectively for first interface and second interface, comprising: as the 2nd IP of use When net, the first satellite is that first interface distributes the biggish address of address value in the 2nd IP subnet;Second satellite is second interface point With the lesser address of address value in the 2nd IP subnet.
In 2nd IP subnet include at least two available addresses, when in the 2nd IP subnet include two available addresses When, it is determined how according to the size of address value and distributes address for first interface and second interface, specific allocation rule can root It is determined according to actual demand, for example, can be set to, when using the 2nd IP subnet, the first satellite is first interface distribution The biggish address of address value in 2nd IP subnet;Second satellite be second interface distribute the 2nd IP subnet in address value lesserly Location.
Consider during link setup, may be influenced due to a variety of uncertain factors, the transmitting of information is not prompt enough and accurate, Therefore, this method can also include the following steps:
(1) first satellite and the second satellite send one's own side's information to other side respectively;One's own side's information include one's own side's IP address and One's own side's mask.
Peer negotiation formula dynamic addressing method implementation diagram based on IP subnet shown in Figure 2, in the first satellite After being respectively completed the IP address distribution to interface with the second satellite, one's own side's information is sent to other side respectively, i.e. the first satellite will First one's own side's information is sent to the second satellite, and receives second one's own side's information that the second satellite is sent;Second satellite by second oneself Square information is sent to the first satellite, and receives first one's own side's information that the first satellite is sent.
(2) first satellites and the second satellite judge whether to receive and confirm the one's own side that other side sends within a preset time respectively Information.
Opening timing device carries out retransmitting timing, if within the predetermined time, the first satellite or the second satellite do not receive pair The one's own side's information just sent then retransmits the one's own side's information of oneself to other side, if within the predetermined time, the first satellite Or second satellite receive one's own side's information of other side's transmission, one's own side's information that the other side that need to acknowledge receipt of sends is errorless.
(3) if not, the first IP subnet information is sent to the second satellite again by the first satellite, the second satellite is again by Two IP subnet informations are sent to the first satellite.
If the information received is wrong or cannot receive one's own side's information of other side's transmission always, the first satellite is again by first IP subnet information is sent to the second satellite, and the 2nd IP subnet information is sent to the first satellite again by the second satellite.
Finally, this method further include: count the quantity of node and the interface quantity of node;According to the quantity of node and connect Mouth quantity determines the address total amount needed;The IP address network segment needed is determined according to address total amount.
Node can be the satellite in satellite system.All number of nodes and all nodes in statistics network it is all Interface quantity determines address total amount used in network.For example, distinguishing after obtaining total interface quantity if it is n interface One IP subnet comprising 4 addresses of configuration determines then address total amount used in network is 4n further according to address total amount The network needs the IP address network segment divided, thus the convenient IP address network segment for applying needing in advance.
The embodiment of the present invention compared with the mode that static address configures, have local peer node between can voluntarily negotiate, nothing Revenue centre is needed to be managed collectively, it can dynamic configuration address, the advantages that timeliness is strong in real time.Compared with the dhcp address method of salary distribution, With greater flexibility and dynamic reconfiguration, it is applicable to connection between router and router, host and host and builds The advantages of address distribution is with maintenance when vertical and switching.And the dhcp address method of salary distribution can only adapt to establish between router and host The case where connection and switching.
The IP addressing method for the peer negotiation that the embodiment of the present invention proposes is by link setup both sides' autonomous negotiating, and timeliness is good, together When do not make the differentiation of router and host to the node in network in address negotiation, using both link ends node status equity Negotiation mode determines that IP address is distributed, so that each interface IP address is in same IP subnet in the link after link setup, meets IP etc. The requirement of agreement.This method can also be used for establishing address distribution when connection between router and router, host and host, can To adapt to that the mobility such as low-track satellite network are relatively strong and node equity establishes the network of connection.In Constellation of Low Earth Orbit Satellites network Between the mobile nodes such as system relatively reciprocity (not only can be used as access point but also can be used as accessing user), node dynamic link setup and In the environment of switching, access point and accessing user are determined by way of peer negotiation, the IP address after making link setup meets polymerization Relationship (determines the relationship between relatively-stationary subnet and subnet interior nodes, realize address aggregation, convenient for routing).
Embodiment 2
The embodiment of the present invention 2 provides a kind of peer negotiation formula dynamic addressing device based on IP subnet, is applied to movement Satellite system, satellite system include at least the first satellite and the second satellite, and the first satellite includes at least first interface, the second satellite Including at least second interface, first interface is configured with the first IP subnet, and second interface is configured with the 2nd IP subnet;Referring to Fig. 3 institute A kind of structural block diagram of the peer negotiation formula dynamic addressing device based on IP subnet shown, the device include:
Sending module 31, for when detecting that first interface is connect with second interface, the first satellite is by the first IP subnet Information is sent to the second satellite, and the 2nd IP subnet information is sent to the first satellite by the second satellite;Judgment module 32 is used for first Satellite and the second satellite use the first IP subnet or second according to the first IP subnet information and the judgement of the 2nd IP subnet information respectively IP subnet;First distribution module 33, for when using the first IP subnet, the first satellite and the second satellite are first interface and the Two interfaces distribute address different in the first IP subnet respectively;Second distribution module 34 is used for when using the 2nd IP subnet, the One satellite and the second satellite are that first interface and second interface distribute address different in the 2nd IP subnet respectively.
Judgment module is also used to: calculating the first IP subnet according to the first IP subnet information and the 2nd IP subnet information respectively Number and the 2nd IP subnet number;First satellite and the second satellite compare the size of the first IP subnet number and the 2nd IP subnet number respectively, If the first IP subnet number is greater than the 2nd IP subnet number, the first satellite and the second satellite use the first IP subnet;If first IP subnet number uses the 2nd IP subnet less than the second sub- IP network number, the first satellite and the second satellite.
Another structural block diagram of peer negotiation formula dynamic addressing device based on IP subnet shown in Figure 4, the dress Setting further includes confirmation module 35, is used for: the first satellite and the second satellite send one's own side's information to other side respectively;One's own side's information includes One's own side's IP address and one's own side's mask;First satellite and the second satellite judge whether to receive within a preset time respectively and confirm other side One's own side's information of transmission;If not, the first IP subnet information is sent to the second satellite again by the first satellite, the second satellite is again 2nd IP subnet information is sent to the first satellite.
Peer negotiation formula dynamic addressing device based on IP subnet provided by the embodiment of the present invention, realization principle and production Raw technical effect is identical with the aforementioned peer negotiation formula dynamic addressing embodiment of the method based on IP subnet, to briefly describe, base Place is not referred in the peer negotiation formula dynamic addressing Installation practice part of IP subnet, can refer to aforementioned pair based on IP subnet Corresponding contents in equal negotiations formula dynamic addressing embodiment of the method.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of peer negotiation formula dynamic addressing method based on IP subnet, which is characterized in that be applied to moving satellite system, institute Satellite system is stated including at least the first satellite and the second satellite, first satellite includes at least first interface, and described second defends Star includes at least second interface, and the first interface is configured with the first IP subnet, and the second interface is configured with the 2nd IP subnet; The described method includes:
When detecting that the first interface is connect with the second interface, first satellite sends the first IP subnet information To second satellite, the 2nd IP subnet information is sent to first satellite by second satellite;
First satellite and second satellite are respectively according to the first IP subnet information and the 2nd IP subnet information Judgement uses the first IP subnet or the 2nd IP subnet;
When using the first IP subnet, first satellite and second satellite are the first interface and described second Interface distributes address different in the first IP subnet respectively;
When using the 2nd IP subnet, first satellite and second satellite are the first interface and described second Interface distributes address different in the 2nd IP subnet respectively.
2. the peer negotiation formula dynamic addressing method according to claim 1 based on IP subnet, which is characterized in that
Each interface of first satellite and second satellite is each equipped with IP subnet;The IP subnet includes at least two A available address.
3. the peer negotiation formula dynamic addressing method according to claim 1 or 2 based on IP subnet, which is characterized in that institute It states first satellite and second satellite is sentenced according to the first IP subnet information and the 2nd IP subnet information respectively Disconnected the step of using the first IP subnet or the 2nd IP subnet, comprising:
The first IP subnet number and the 2nd IP are calculated according to the first IP subnet information and the 2nd IP subnet information respectively Network No.;
First satellite and second satellite compare the big of the first IP subnet number and the 2nd IP subnet number respectively It is small,
If the first IP subnet number is greater than the 2nd IP subnet number, first satellite and second satellite are used The first IP subnet;
If the first IP subnet number is less than the 2nd IP subnet number, first satellite and second satellite are used The 2nd IP subnet.
4. the peer negotiation formula dynamic addressing method according to claim 2 based on IP subnet, which is characterized in that described to work as When using the first IP subnet, first satellite and second satellite are the first interface and the second interface point The step of not distributing addresses different in the first IP subnet, comprising:
When using the first IP subnet, first satellite is that the first interface distributes address in the first IP subnet It is worth lesser address;
Second satellite is that the second interface distributes the biggish address of address value in the first IP subnet.
5. the peer negotiation formula dynamic addressing method according to claim 2 based on IP subnet, which is characterized in that described to work as When using the 2nd IP subnet, first satellite and second satellite are the first interface and the second interface point The step of not distributing addresses different in the 2nd IP subnet, comprising:
When using the 2nd IP subnet, first satellite is that the first interface distributes address in the 2nd IP subnet It is worth biggish address;
Second satellite is that the second interface distributes the lesser address of address value in the 2nd IP subnet.
6. the peer negotiation formula dynamic addressing method according to claim 1 or 2 based on IP subnet, which is characterized in that also Include:
First satellite and second satellite send one's own side's information to other side respectively;One's own side's information includes one's own side IP Location and one's own side's mask;
First satellite and second satellite judge whether to receive and confirm the institute that other side sends within a preset time respectively State one's own side's information;
If not, the first IP subnet information is sent to second satellite again by first satellite, described second is defended The 2nd IP subnet information is sent to first satellite again by star.
7. the peer negotiation formula dynamic addressing method according to claim 1 or 2 based on IP subnet, which is characterized in that also Include:
Count the quantity of node and the interface quantity of the node;
The address total amount needed is determined according to the quantity of the node and the interface quantity;
The IP address network segment needed is determined according to the address total amount.
8. a kind of peer negotiation formula dynamic addressing device based on IP subnet, which is characterized in that be applied to moving satellite system, institute Satellite system is stated including at least the first satellite and the second satellite, first satellite includes at least first interface, and described second defends Star includes at least second interface, and the first interface is configured with the first IP subnet, and the second interface is configured with the 2nd IP subnet; Described device includes:
Sending module, for when detecting that the first interface is connect with the second interface, first satellite is by first IP subnet information is sent to second satellite, and the 2nd IP subnet information is sent to first satellite by second satellite;
Judgment module, for first satellite and second satellite respectively according to the first IP subnet information and described the The judgement of two IP subnet informations uses the first IP subnet or the 2nd IP subnet;
First distribution module, for when using the first IP subnet, first satellite and second satellite to be described First interface and the second interface distribute address different in the first IP subnet respectively;
Second distribution module, for when using the 2nd IP subnet, first satellite and second satellite to be described First interface and the second interface distribute address different in the 2nd IP subnet respectively.
9. the peer negotiation formula dynamic addressing device according to claim 8 based on IP subnet, which is characterized in that described to sentence Disconnected module, is also used to:
The first IP subnet number and the 2nd IP are calculated according to the first IP subnet information and the 2nd IP subnet information respectively Network No.;
First satellite and second satellite compare the big of the first IP subnet number and the 2nd IP subnet number respectively It is small,
If the first IP subnet number is greater than the 2nd IP subnet number, first satellite and second satellite are used The first IP subnet;
If the first IP subnet number is less than the 2nd IP subnet number, first satellite and second satellite are used The 2nd IP subnet.
10. the peer negotiation formula dynamic addressing device according to claim 8 based on IP subnet, which is characterized in that described Device further includes confirmation module, is used for:
First satellite and second satellite send one's own side's information to other side respectively;One's own side's information includes one's own side IP Location and one's own side's mask;
First satellite and second satellite judge whether to receive and confirm the institute that other side sends within a preset time respectively State one's own side's information;
If not, the first IP subnet information is sent to second satellite again by first satellite, described second is defended The 2nd IP subnet information is sent to first satellite again by star.
CN201910013812.2A 2019-01-07 2019-01-07 Peer-to-peer negotiation type dynamic addressing method and device based on IP subnet Active CN109618022B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910013812.2A CN109618022B (en) 2019-01-07 2019-01-07 Peer-to-peer negotiation type dynamic addressing method and device based on IP subnet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910013812.2A CN109618022B (en) 2019-01-07 2019-01-07 Peer-to-peer negotiation type dynamic addressing method and device based on IP subnet

Publications (2)

Publication Number Publication Date
CN109618022A true CN109618022A (en) 2019-04-12
CN109618022B CN109618022B (en) 2020-07-14

Family

ID=66018117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910013812.2A Active CN109618022B (en) 2019-01-07 2019-01-07 Peer-to-peer negotiation type dynamic addressing method and device based on IP subnet

Country Status (1)

Country Link
CN (1) CN109618022B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917901A (en) * 2020-08-07 2020-11-10 苏州工业职业技术学院 IP address addressing method in data center network BCDC
CN113259499A (en) * 2021-03-31 2021-08-13 航天东方红卫星有限公司 Addressing method for cross-domain network

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973832A (en) * 2014-04-08 2014-08-06 电子科技大学 IPv6 addressing and networking method based on physical space position mapping
US9094856B1 (en) * 2014-02-25 2015-07-28 Intelligent Fusion Technology, Inc. Routing method for satellite communication network
WO2016176254A1 (en) * 2015-04-27 2016-11-03 Hughes Network Systems, Llc Preserving terminal network addresses over satellite networks when switching to a different satellite hub
CN106533536A (en) * 2016-11-07 2017-03-22 北京航空航天大学 IP addressing method and apparatus of polar-orbit low-orbit satellite network
CN106549703A (en) * 2016-10-26 2017-03-29 北京邮电大学 The method and system of Incorporate network medium and low earth orbit satellites communication
WO2017100640A1 (en) * 2015-12-11 2017-06-15 Interdigital Patent Holdings, Inc. Method and apparatus for enabling third party edge clouds at the mobile edge
US20170324616A1 (en) * 2016-01-28 2017-11-09 Oracle International Corporation System and method for supporting subnet number aliasing in a high performance computing environment
CN108667955A (en) * 2018-04-28 2018-10-16 中国空间技术研究院 A kind of geographical zone IP addressing methods of Walker Constellation Networks
CN108881029A (en) * 2018-06-07 2018-11-23 北京邮电大学 The low-track satellite network addressing based on star decoupled and method for routing and system
CN108965136A (en) * 2018-07-16 2018-12-07 清华大学 Retransmission method and device based on spatial network stratification IP addressing

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9094856B1 (en) * 2014-02-25 2015-07-28 Intelligent Fusion Technology, Inc. Routing method for satellite communication network
CN103973832A (en) * 2014-04-08 2014-08-06 电子科技大学 IPv6 addressing and networking method based on physical space position mapping
WO2016176254A1 (en) * 2015-04-27 2016-11-03 Hughes Network Systems, Llc Preserving terminal network addresses over satellite networks when switching to a different satellite hub
WO2017100640A1 (en) * 2015-12-11 2017-06-15 Interdigital Patent Holdings, Inc. Method and apparatus for enabling third party edge clouds at the mobile edge
US20170324616A1 (en) * 2016-01-28 2017-11-09 Oracle International Corporation System and method for supporting subnet number aliasing in a high performance computing environment
CN106549703A (en) * 2016-10-26 2017-03-29 北京邮电大学 The method and system of Incorporate network medium and low earth orbit satellites communication
CN106533536A (en) * 2016-11-07 2017-03-22 北京航空航天大学 IP addressing method and apparatus of polar-orbit low-orbit satellite network
CN108667955A (en) * 2018-04-28 2018-10-16 中国空间技术研究院 A kind of geographical zone IP addressing methods of Walker Constellation Networks
CN108881029A (en) * 2018-06-07 2018-11-23 北京邮电大学 The low-track satellite network addressing based on star decoupled and method for routing and system
CN108965136A (en) * 2018-07-16 2018-12-07 清华大学 Retransmission method and device based on spatial network stratification IP addressing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张玉学: ""利用子网编址提高IP地址空间的利用率"", 《能源技术与管理》 *
杨芫; 徐明伟; 李贺武: "天地一体化信息网络统一编址与路由研究", 《电信科学》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917901A (en) * 2020-08-07 2020-11-10 苏州工业职业技术学院 IP address addressing method in data center network BCDC
CN111917901B (en) * 2020-08-07 2021-03-23 苏州工业职业技术学院 IP address addressing method in data center network BCDC
CN113259499A (en) * 2021-03-31 2021-08-13 航天东方红卫星有限公司 Addressing method for cross-domain network
CN113259499B (en) * 2021-03-31 2022-10-28 航天东方红卫星有限公司 Addressing method for cross-domain network

Also Published As

Publication number Publication date
CN109618022B (en) 2020-07-14

Similar Documents

Publication Publication Date Title
CN102577277B (en) Providing a logical aggregated point-to-point data link incorporating a multi-point link
CN102594711B (en) Message forwarding method and edge device therefor
US20040034702A1 (en) Method and apparatus for exchanging intra-domain routing information between VPN sites
CN109923838A (en) Bridge the elastic VPN of long-range isolated island
CN109743370A (en) Mixed cloud connection method and system based on SD-WAN
CN107770012A (en) A kind of broad band access method, device and virtual broadband RAS system
CN106790759B (en) IPv4/IPv6 converting system and method based on SDN
CN108667638A (en) A kind of network service configuration method and network management device
CN113055232B (en) Network configuration deployment method, device and equipment
WO2020093994A1 (en) Bearer side network system, fixed-mobile coexistence and convergence system, and deployment method therefor
CN105281951B (en) Double primary apparatus conflict detection methods and the network equipment in VSU systems
CN109525517A (en) Role's type automatic setting system and method for Ethernet interchanger
CN112910704B (en) Local area network system, method and device supporting dynamic self-adaptive network configuration
CN109618022A (en) Peer negotiation formula dynamic addressing method and device based on IP subnet
CN108173782A (en) The method, apparatus and storage medium of transmitting data stream in virtual private cloud
CN103401954B (en) The implementation method of virtual DHCP
CN108966363A (en) A kind of connection method for building up and device
CN110233799A (en) A kind of method and communication equipment of port configuration
CN107888398B (en) A kind of service bearer system and control method
CN106130863A (en) The transfer approach of LAN protocol message, device and system
CN102957718A (en) Business node and method for synchronization of user protocol messages between business nodes
CN103166772B (en) A kind of method of the facilities and administration equipment with multiplex roles
Cisco Introduction to Cisco Router Configuration Cisco Internetwork Operating System Release 10.3
Cisco Introduction to Cisco Router Configuration: Student Guide Cisco Internetwork Operating System Release 11.0
Cisco Advanced Cisco Router Configuration: Student Guide Cisco Internetwork Operating System Release 11.0

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210113

Address after: 100088 room 1202, Weishi building, 39 Xueyuan Road, Haidian District, Beijing

Patentee after: Tibet Tianyu Aviation Data Technology Co.,Ltd.

Address before: No.37 Xueyuan Road, Haidian District, Beijing

Patentee before: BEIHANG University

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 100088 room 1202, Weishi building, 39 Xueyuan Road, Haidian District, Beijing

Patentee after: Tianyu Aviation Data Technology (Hefei) Co.,Ltd.

Address before: 100088 room 1202, Weishi building, 39 Xueyuan Road, Haidian District, Beijing

Patentee before: Tibet Tianyu Aviation Data Technology Co.,Ltd.

CP01 Change in the name or title of a patent holder