The step translation method of IPv4 address and multiplexed port

The step translation method of IPv4 address and multiplexed port

  • CN 101,616,192 A
  • Filed: 07/16/2009
  • Published: 12/30/2009
  • Est. Priority Date: 07/16/2009
  • Status: Active Application
First Claim
Patent Images

1. IPv4 the step translation method of address and multiplexed port is characterized in that, contains following steps successively:

  • step (1) initializationStep (1.1) is set up an IVI transfer gateway between IPv4 and IPv6 network, and definition first kind coded format;

    the coded format that the IPv4 address is directly embedded described IPv6 address, constitute an IPv6 address, embed 32 IPv4 addresses in operator based on the 32+n position in the described IPv6 address format of 32 cluster prefixes, n<

    32, spare bits fills complete 0 between 64+n to 128 simultaneously, wherein;

    when described IPv4 address be described operator prepare to use to the IPv6 main frame the IPv4 address time, constitute the IVI6 address, when described IPv4 address is to comprise described operator oneself in interior global ip v4 address, when not belonging to the IPv4 address of described IPv6 main frame again, constitute the IVIG6 address, described IVI6 and IVIG6 are referred to as the IVI address and form two-way one to one mapping relations thus between the subclass of described IPv4 address and IPv6 addressStep (1.2) is set up IPv6/IPv6 multiplexed port address conversion gateway between IPv6 backbone network and IPv6 garden net, and define the second class coded format;

    promptly the IPv4 address is added the coded format that the transport layer port coding embeds described IPv6 address, embedding 32 IPv4 addresses based on the 32+n position in the described IPv6 geocoding form of 32 cluster prefixes of operator, n<

    32, constitute the IVI prefix, when filling complete 0 during if any spare bits between 96 of the 64+n to the, embed address multiplex at the 96th to 111 and compare M, embed port shift value k at the 112nd to 128,0≤

    k≤

    M-1, described M represents the computer number that use for a plurality of IPv6 computers simultaneously by IPv6/IPv6 multiplexed port address conversion gateway a described IPv4 addressStep (1.3) is for the different different IPv4 address multiplex ratios of garden net definition, and according to the operating position of user'"'"'s IPv6 address, according to IVI6 address and specific port range, and set up mapping relations one to one between the IPv6 address that the user uses, be the user with the IPv4 internet communication time, can only use specific port range;

    Step (2) IPv4 computer is initiated communication to the IPv6 computer, and wherein source address is the address of IPv4 computer, and destination address is the IPv4 mirror image of the IPv6 address of IPv6 computer, and its port is that described IPv6 computer allows the port that uses;

    Step (3);

    described IVI transfer gateway receives grouping, execution in step (3.1)-step (3.4) successively;

    Step (3.1);

    described destination address (1.1) set by step is the IPv4 address transition IVI6 address by the first kind coded format of setting,Step (3.2);

    the described source address first kind coded format of (1.1) setting set by step is the IPv4 address transition IVIG6 address,Step (3.3);

    press RFC2765 and carry out other handling procedure except that address transition, and recomputate the transport layer verification and, divide into groups thereby form described IPv6;

    Step (3.4);

    the IPv6 grouping of the first kind coded format that forms to described IPv6/IPv6 transfer gateway forwarding step (3.3);

    Step (4);

    IPv6/IPv6 multiplexed port address conversion gateway is carried out following steps (4.1)-step (4.3) after receiving the described IPv6 grouping of step (3.4) transmission, forms the IPv6 grouping and the transmission of the second class coded format,Step (4.1);

    according to destination address and target port is the IPv6 address transition of the first kind coded format IPv6 address of the second class coded format;

    Step (4.2);

    recomputate the transport layer verification and, and form the IPv6 grouping;

    Step (4.3);

    divide into groups to IPv6 described in the described IPv6 computer forwarding step (4.2);

    Step (5);

    described IPv6 computer receives grouping;

    Step (6);

    described IPv6 computer sends the IPv6 grouping to the IPv4 computer, wherein the source address address is the address of IPv6 computer, source port is that described IPv6 computer allows the source port that uses, and destination address is the mirror image of the IPv4 address of IPv4 computer, i.e. IVIG6 address;

    Step (7);

    described IPv6/IPv6 transfer gateway receives the IPv6 grouping, forms new IPv6 grouping according to the following steps,Step (7.1);

    the checking source port, as meet the corresponding port scope, execution in step (7.1), otherwise abandon grouping, return step (7);

    Step (7.2);

    is the IPv6 address transition of the second class coded format IPv6 address of first kind coded format;

    Step (7.3);

    recomputate the transport layer verification and and form IPv6 grouping,Step (7.4);

    divide into groups to the IPv6 described in the described IVI transfer gateway forwarding step (7.3);

    Step (8);

    the IVI transfer gateway receives the described IPv6 grouping that IPv6 grouping step (7.3) sends, and form the IPv4 grouping and send by following steps (8.1)-step (8.3),Step (8.1);

    the described destination address IPv6 geocoding format conversion of (1.1) setting set by step is the IPv4 address,Step (8.2);

    the described source address IPv6 geocoding format conversion of (1.1) setting set by step is the IPv4 address,Step (8.3);

    press RFC2765 and carry out other handling procedure except that address transition, and recomputate the transport layer verification and, divide into groups thereby form described IPv4;

    Step (8.4);

    the IPv4 that forms to IPv4 computer forwarding step (8.3) divides into groups;

    Step (9);

    the IPv4 grouping that described IPv4 computer receiving step (8.4) sends.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×