Coding method of extended autonomous system number and BGP equipment

An autonomous system and coding method technology, applied in the field of BGP equipment, can solve the problems of not being able to accommodate legal digital currency global asset codes, lack of coding methods, etc.

CN112104555APending Publication Date: 2020-12-18谢建平
1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2020-12-18

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a coding method for an extended autonomous system (AS) number, which comprises the following steps of: numbering and coding each field address of the AS number, merging servicedata and sending the merged service data to a network; and decoding each segment address of the AS number of the autonomous system, if the analysis result is self, receiving the service data, and if the analysis result is not self, forwarding the service data to the next network segment. According to the method, more autonomous domain spaces can be supported, the expanded autonomous domain increases the space capacity of the autonomous system, the space of the autonomous domain is expanded from 32 bits to 1024 bits so as to support more autonomous domain spaces, and the autonomous domain spaces of ITUT E164 country and region codes and operator codes can be accommodated.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the technical field of computer communication, in particular to an encoding method of an extended autonomous system (AS) number and a BGP device applying the method. Background technique

[0002] Currently, Autonomous System (AS) numbers are encoded in Border Gateway Protocol (BGP) as two-octet and four-octet spaces.

[0003] In the prior art, the address space of IPv4 is 32 bits, so the RFCXXX autonomous system (AS) number is encoded as a 16-bit entity in BGP. Since the address of IPv6 is extended to 128 bits, the original AS space is not enough. In 2007 In May, RFC4893 defined that the autonomous system (AS) number was extended to be carried by a 32-bit entity.

[0004] The address space of IPV9 / future network is 256 bits, and it can even reach 2048 bits, and the IPV9 / future network address prefix is ​​a redistributed decimal number, which can adopt the ITU-T E164 coding system, and can solve the problem that the center in t...

Examples

Embodiment 1

[0046] Please refer to the attached figure 1 , the first embodiment of the present invention provides an encoding method for an extended autonomous system (AS) number. Include the following steps:

[0047] Step S1, when sending data, number and code the address of each field of the autonomous system AS number, and send the combined service data to the network.

[0048] Further, the autonomous system (AS) number is carried as a 64bit entity. Due to the huge autonomous domain space of large capacity and the long decimal number is not conducive to writing and recognition, a new text representation method has been formulated. The number of autonomous system AS numbers in the capacity space is:

[0049] The capacity of 1024bit AS number is (1024-1)

[0050] The capacity space of 512bit AS number is (512-1)

[0051] The capacity of 256bit AS number is (256-1)

[0052] The capacity of 128bit AS number is (128-1)

[0053] The capacity space of 64bit AS number is (64-1)

[0054...

Embodiment 2

[0067] Please refer to the attached figure 2 , the second embodiment of the present invention provides a border gateway protocol BGP device, which can support more autonomous domain space. The device includes the following modules:

[0068] M1, autonomous domain AS number encoding and decoding module;

[0069] Used to encode and decode the AS number of the autonomous domain

[0070] Preferably, the autonomous system AS number is divided into different capacity spaces, wherein the number of autonomous system AS numbers in the capacity space is:

[0071] The capacity of 1024bit AS number is (1024-1)

[0072] The capacity space of 512bit AS number is (512-1)

[0073] The capacity of 256bit AS number is (256-1)

[0074] The capacity of 128bit AS number is (128-1)

[0075] The capacity space of 64bit AS number is (64-1)

[0076] Furthermore, its specific text is expressed as:

[0077] The text representation of the 16bit AS number capacity space is: 0-65535

[0078] 32bitAS...