CN103457856A - Message processing method and system and route devices - Google Patents

Message processing method and system and route devices Download PDF

Info

Publication number
CN103457856A
CN103457856A CN2012101831018A CN201210183101A CN103457856A CN 103457856 A CN103457856 A CN 103457856A CN 2012101831018 A CN2012101831018 A CN 2012101831018A CN 201210183101 A CN201210183101 A CN 201210183101A CN 103457856 A CN103457856 A CN 103457856A
Authority
CN
China
Prior art keywords
ipv4
ipv6
address
message
routing device
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
CN2012101831018A
Other languages
Chinese (zh)
Other versions
CN103457856B (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.)
XFusion Digital 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 CN201711387698.7A priority Critical patent/CN108322400B/en
Priority to CN201210183101.8A priority patent/CN103457856B/en
Priority to PCT/CN2013/076058 priority patent/WO2013181991A1/en
Publication of CN103457856A publication Critical patent/CN103457856A/en
Application granted granted Critical
Publication of CN103457856B publication Critical patent/CN103457856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/52Multiprotocol routers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a message processing method and system and route devices. A terminal communicates with a target device through a first route device and a second route device via the IPv6 network, due to the fact that all IPv4 messages launched by the terminal need to be sent to the target device through the first route device and the second route device, the star-shaped communication mode is achieved under the MAP technology application scenarios, and the management ability of the second route device, namely a network side device, on user communication flow can be improved.

Description

Message processing method, system and routing device
Technical field
The application relates to the communication technology, relates in particular to message processing method, system and routing device.
Background technology
The large-scale application of Internet technology greatly increases the demand to Internet protocol (Internet Protocol, IP) address.IP version 6(IPv6) be procotol of new generation, adopt 128 bit address forms, address space is huge, can thoroughly solve IP version 4(IPv4) problem of address shortage.But in the graceful migration process of IPv6, the IPv4 business still needs to keep continuity in the Internet.Address port mapping (Mapping of Address and Port, MAP) be the transitional technology of a kind of IPv4 to IPv6, adopt the application scenarios of pure IPv6 mainly for access network, the main network element of its technology application comprises border relay router (the Border Relay between IPv6 network and IPv4 network, BR) and be positioned at the Customer Edge router (Customer Edge Router, CE) on user network border.CE is according to DHCP (the Dynamic Host Configure Protocol for IPv6 of the IPv6 prefix of distributing to CE and support IPv6, DHCPv6) basic mapping ruler (the Basic Mapping Rule that server issues, BMR), obtain the IPv4 address of this CE, described IPv4 address can exclusively enjoy (not sharing), also can share.When the IPv4 address of described CE is shared address, can also further obtain the sets of ports sign (Port-Set Identifier, PSID) of this CE.Use the CE of same map rule can form a MAP territory, CE in same MAP territory can utilize its mapping ruler and IPv4 address separately and IPv6 address directly to communicate, wherein, mapping ruler can comprise BMR, forward mapping ruler (Forwarding Mapping Rule, FMR) and the default map rule (Default Mapping Rule, DMR) of the IPv6 address of BR or prefix is provided.
Yet between CE, direct communication makes network equipment to carry out bookkeeping to these telex network flows, such as: flow control and statistics etc. have caused the decline of network equipment managerial ability.
Summary of the invention
The application's many aspects provide message processing method, system and routing device, in order to improve the managerial ability of network equipment to the telex network flow.
The application's one side, provide a kind of message processing method, comprising:
The first routing device receives the IPv4 message, comprises purpose IPv4 address in described IPv4 message;
The described first via is by IPv6 address or the prefix of equipment utilization secondary route equipment, described IPv4 message is encapsulated or translates into the IPv6 message and send to described secondary route equipment, so that described secondary route equipment is according to the IPv6 address, source of a BMR and described IPv6 message, upgrade the IPv4 address, source that described IPv6 message carries, and utilize a BMR, match the routing iinformation corresponding with described purpose IPv4 address, forward the content of described IPv4 message according to described routing iinformation.
The application on the other hand, provides a kind of message processing method, comprising:
Secondary route equipment receives the IPv6 message that the first routing device sends, described IPv6 message is after described the first routing device receives the IPv4 message, utilize IPv6 address or the prefix of described secondary route equipment, described IPv4 message is encapsulated or translates into, comprise purpose IPv4 address in described IPv4 message;
Described secondary route equipment, according to the IPv6 address, source of a BMR and described IPv6 message, upgrades the IPv4 address, source that described IPv6 message carries, and utilizes a BMR, matches the routing iinformation corresponding with described purpose IPv4 address;
Described secondary route equipment, according to described routing iinformation, forwards the content of described IPv4 message.
The application on the other hand, provides a kind of routing device, comprising:
The first receiver, for receiving the IPv4 message, comprise purpose IPv4 address in described IPv4 message;
Processor, for utilizing IPv6 address or the prefix of secondary route equipment, encapsulate or translate into the IPv6 message by described IPv4 message;
Transmitter, for to described secondary route equipment, sending described IPv6 message, so that described secondary route equipment is according to the IPv6 address, source of a BMR and described IPv6 message, upgrade the IPv4 address, source that described IPv6 message carries, and utilize a BMR, match the routing iinformation corresponding with described purpose IPv4 address, forward the content of described IPv4 message according to described routing iinformation.
The application on the other hand, provides a kind of routing device, comprising:
Receiver, the IPv6 message sent for receiving the first routing device, described IPv6 message is after described the first routing device receives the IPv4 message, utilize IPv6 address or the prefix of described routing device, described IPv4 message is encapsulated or translates into, comprise purpose IPv4 address in described IPv4 message;
Processor, for the IPv6 address, source according to a BMR and described IPv6 message, upgrade the IPv4 address, source that described IPv6 message carries, and utilize a BMR, matches the routing iinformation corresponding with described purpose IPv4 address;
Transmitter, for according to described routing iinformation, forward the content of described IPv4 message.
The application on the other hand, provides a kind of message handling system, comprises the routing device of above-mentioned two aspects.
As shown from the above technical solution, terminal communicates via the IPv6 network and by secondary route equipment and purpose equipment by the first routing device, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through described the first routing device and described secondary route equipment, therefore realized the star communication pattern under the application scenarios of MAP technology, can improve secondary route equipment is the managerial ability of network equipment to the telex network flow.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described.Apparently, the accompanying drawing in the following describes is some embodiment of the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic flow sheet of the message processing method that Fig. 1 provides for the application one embodiment;
The application scenarios schematic diagram that Fig. 2 is the MAP technology that adopts in the embodiment that Fig. 1 is corresponding;
The mapping relations schematic diagram that Fig. 3 is the 2nd BMR in the embodiment that Fig. 1 is corresponding;
The mapping relations schematic diagram that Fig. 4 is a BMR in the embodiment that Fig. 1 is corresponding;
Another mapping relations schematic diagram that Fig. 5 is a BMR in the embodiment that Fig. 1 is corresponding;
Another mapping relations schematic diagram that Fig. 6 is the 2nd BMR in the embodiment that Fig. 1 is corresponding;
Another mapping relations schematic diagram that Fig. 7 is the 2nd BMR in the embodiment that Fig. 1 is corresponding;
The schematic flow sheet of the message processing method that Fig. 8 provides for another embodiment of the application;
The structural representation of the routing device that Fig. 9 provides for another embodiment of the application;
The structural representation of the routing device that Figure 10 provides for another embodiment of the application;
The structural representation of the routing device that Figure 11 provides for another embodiment of the application;
The structural representation of the routing device that Figure 12 provides for another embodiment of the application;
The structural representation of the routing device that Figure 13 provides for another embodiment of the application.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present application clearer, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is the application's part embodiment, rather than whole embodiment.Embodiment based in the application, those of ordinary skills are not making under the creative work prerequisite the every other embodiment obtained, and all belong to the scope of the application's protection.
The application's technical scheme, can be applied to adopt the application scenarios (referring to draft-mdt-softwire-mapping-address-and-port-03) of MAP technology.Wherein, the first routing device can be Customer Edge router (the Customer Edge Router that is positioned at the user network border, CE), the network elements such as user housing apparatus (Customer Premise Equipment, CPE) or user gateway equipment (Residential Gateway); Secondary route equipment can be for being positioned at the network elements such as border relay router (Border Relay, BR) between IPv6 network and IPv4 network or port range router (Port-Range Router, PRR).
The schematic flow sheet of the message processing method that Fig. 1 provides for the application one embodiment, the application scenarios schematic diagram that Fig. 2 is the MAP technology that adopts in the embodiment that Fig. 1 is corresponding, as shown in Figure 1 with shown in Fig. 2.
101, the first routing device receives the IPv4 message, comprises purpose IPv4 address in described IPv4 message.
102, the described first via is by IPv6 address or the prefix of equipment utilization secondary route equipment, described IPv4 message is encapsulated or translates into the IPv6 message and send to described secondary route equipment, so that described secondary route equipment is according to the IPv6 address, source of a BMR and described IPv6 message, upgrade the IPv4 address, source that described IPv6 message carries, and utilize a BMR, match the routing iinformation corresponding with described purpose IPv4 address, forward the content of described IPv4 message according to described routing iinformation.
Particularly, described the first routing device specifically can encapsulate or translate into IPv6 message, i.e. network address translation (Network Address Translation, NAT) 44 and MAP by described IPv4 message by two Implement of Function Modules.In the NAT44 module, the private network IPv4 address in the described IPv4 message received is become to public network IP v4 address with port translation; In the MAP module, can or translate into the IPv6 message by the encapsulation of the IPv4 message through described NAT44 resume module.
Be understandable that, described the first routing device specifically also can encapsulate described IPv4 message or translate into the IPv6 message by an Implement of Function Module, and the present embodiment is not limited this.
Wherein, described IPv6 message specifically can carry IPv4 address, source (being public network IP v4 address) by two kinds of modes: a kind of mode is, for the encapsulation situation, the heading by described IPv4 message carries; Another kind of mode is, for the translation situation, the field in the interface identifier (Interface ID) of the IPv6 address, source by described IPv6 message is carried.
In the present embodiment, terminal communicates via the IPv6 network and by secondary route equipment and purpose equipment by the first routing device, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through described the first routing device and described secondary route equipment, therefore realized the star communication pattern under the application scenarios of MAP technology, can improve secondary route equipment is the managerial ability of network equipment to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, at different the first routing devices, share in the scene of public network IP v4 address, before 102, described the first routing device receives DHCP (the Dynamic Host Configure Protocol for IPv6 that supports IPv6, the PSID of described the first routing device that DHCPv6) server issues and IPv6 address or the prefix of described secondary route equipment, described the first routing device do not issue BMR, so that can't obtain according to BMR the public network IP v4 address of this first routing device.Correspondingly, in 102, because described the first routing device can't utilize BMR, match the routing iinformation corresponding with described purpose IPv4 address, described the first routing device can utilize IPv6 address or the prefix of secondary route equipment, described IPv4 message is encapsulated or translates into the IPv6 message send to described secondary route equipment.In addition, because described the first routing device can't obtain its public network IP v4 address, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be a specific IPv4 address, for example: the particular unicast IPv4 address of applying for the registration of at IANA, or in similar DS-lite technology for identifying the 192.0.0.2 of B4, or full 0, or complete 1 etc.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server, in being handed down to the parameter of CE, comprises for accessing the DMR of BR, and the PSID of described CE.The IPv6 address or the prefix that comprise described BR in described DMR.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BMR of complete BMR in BR, as shown in Figure 4.Therefore, BR can, according to a described BM R with from the IPv6 address, source of the IPv6 message of CE, obtain the public network IP v4 address of described CE, and utilize this public network IP v4 address to upgrade the IPv4 address, source that described IPv6 message carries; Then, BR can utilize a described BMR, matches the routing iinformation corresponding with described purpose IPv4 address, forwards the content of described IPv4 message according to described routing iinformation.For example: if in the described purpose IPv4 address of carrying in the IPv6 message that BR receives and BR, the regular IPv4 prefix in a described BMR in certain MAP territory can be mated, illustration purpose equipment is in certain MAP territory at this BR place, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, at different the first routing devices, share in the scene of public network IP v4 address, before 102, described the first routing device receives DHCP (Dynamic Host Configure Protocol for IPv6, DHCPv6) the incomplete BMR(that server issues i.e. the 2nd BMR) and DMR, be that server does not issue the i.e. BMR of complete BMR() so that described the first routing device can't obtain according to described the 2nd BMR the public network IP v4 address of this first routing device.Described the 2nd BMR only provides the length information of PSID.Alternatively, can also further comprise the first embedding address (Embedded Address in described the 2nd BMR, EA) bit (EA bits) length, a described EA bit length is distributed to the length of PSID in the IPv6 prefix of described the first routing device in order to indication.Wherein, described DMR is for accessing secondary route equipment, the IPv6 address that in described DMR, comprises described secondary route equipment or its IPv6 prefix.That is to say, before 102, described the first routing device can't utilize described the 2nd BMR, matches the routing iinformation corresponding with described purpose IPv4 address.Correspondingly, in 102, because described the first routing device can't utilize i.e. the 2nd BMR of incomplete BMR(), match the routing iinformation corresponding with described purpose IPv4 address, described the first routing device will utilize DMR, described IPv4 message be encapsulated or translates into the IPv6 message send to described secondary route equipment.In addition, because described the first routing device can't obtain the public network IP v4 address of described the first routing device, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be a specific IPv4 address, for example: at (the Internet Assigned Numbers Authority of internet numbers distribution office, the particular unicast IPv4 address of IANA) applying for the registration of, or similar light-duty pair of stack (dual stack lite, DS-lite) in technology for identifying the 192.0.0.2 of B4, or full 0 or complete 1 etc.
Wherein, the IPv6 prefix of described the first routing device is distributed to described the first routing device by operator, for example: the DHCPv6 server is by prefix delegation (DHCPv6 Prefix Delegation, DHCPv6-PD) mode is given the IPv6 prefix that described the first routing device is appointed, perhaps provider edge router (Provider Edge Router) automatically configures (Stateless Address Auto-Configuration, SLAAC) mode by stateless address and gives the IPv6 prefix of the described first via by devices allocation.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server is in being handed down to the parameter of CE, issue for accessing the DMR of BR, and incomplete BMR is the 2nd BMR, as shown in Figure 3, wherein, can also further comprise an EA bit length in described the 2nd BMR, a described EA bit length is distributed to the length of PSID in the IPv6 prefix of described CE in order to indication.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BMR of complete BMR in BR, as shown in Figure 4.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain the public network IP v4 address of described CE, and utilize this public network IP v4 address to upgrade the IPv4 address, source that described IPv6 message carries; Then, BR can utilize a described BMR, matches the routing iinformation corresponding with described purpose IPv4 address, forwards the content of described IPv4 message according to described routing iinformation.For example: if in the described purpose IPv4 address of carrying in the IPv6 message that BR receives and BR, the regular IPv4 prefix in a described BMR in certain MAP territory can be mated, illustration purpose equipment is in certain MAP territory at this BR place, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, in different the first routing devices are not shared the scene of public network IP v4 address, before 102, described the first routing device can also further receive the described DMR that the DHCPv6 server only issues, described the first routing device is that server has only issued described DMR, do not issue BMR, so that can't obtain according to BMR public network IP v4 prefix or the address of this first routing device.Wherein, described DMR is for accessing secondary route equipment, the IPv6 address that in described DMR, comprises described secondary route equipment or its IPv6 prefix.Correspondingly, in 102, because described the first routing device can't utilize BMR, match the routing iinformation corresponding with described purpose IPv4 address, described the first routing device can utilize DMR, described IPv4 message is encapsulated or translates into the IPv6 message send to described secondary route equipment.In addition, because described the first routing device can't obtain its public network IP v4 address, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be a specific IPv4 address, for example: the particular unicast IPv4 address of applying for the registration of at IANA, or in similar DS-lite technology for identifying the 192.0.0.2 of B4, or full 0 or complete 1 etc.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server, in being handed down to the parameter of CE, only issuing for accessing the DMR of BR, and does not issue BMR.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BMR of complete BMR in BR, as shown in Figure 5.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain public network IP v4 prefix or the address of described CE.If what BR obtained is the public network IP v4 prefix of described CE, BR can fix an address of selection in the network segment indicated in this public network IP v4 prefix according to preset rules, and for example, the available first address of this network segment, as the public network IP v4 address of described CE.Then, BR can utilize the public network IP v4 address of the described CE of acquisition to upgrade the IPv4 address, source that described IPv6 message carries; Then, BR can utilize a described BMR, matches routing iinformation corresponding to described purpose IPv4 address carried with described I Pv6 message, forwards the content of described IPv4 message according to described routing iinformation.For example: if in the described purpose IPv4 address that the described I Pv6 message that BR receives carries and BR, the regular IPv4 prefix in a described BMR in certain MAP territory can be mated, in illustration purpose equipment certain MAP territory under this BR, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the described purpose I Pv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, at different the first routing devices, share in the scene of public network IP v4 address, before 102, the incomplete correct BMR(that described the first routing device reception DHCPv6 server issues i.e. the 2nd BMR) and described DMR, be that server does not issue the i.e. BMR of right-on BMR() so that described the first routing device can't obtain according to described the 2nd BMR the public network IP v4 address of this first routing device.Alternatively, in described the 2nd BMR, can also further comprise specific regular IPv4 prefix (for example: the length of 10.10.10.10/{ rule IPv4 prefix }, or full 0 or complete 1 etc.) and the 2nd EA bit length, described the 2nd EA bit length is distributed to IPv4 suffix in the IPv6 prefix of described the first routing device and the length sum of PSID in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 address that described IPv4 suffix is described the first routing device.Wherein, described DMR is for accessing secondary route equipment, the IPv6 address that in described DMR, comprises described secondary route equipment or its IPv6 prefix.That is to say, before 102, described the first routing device can't utilize described the 2nd BMR, matches the routing iinformation corresponding with described purpose IPv4 address.Correspondingly, in 102, because described the first routing device can't utilize i.e. the 2nd BMR of not exclusively correct BMR(), match the routing iinformation corresponding with described purpose IPv4 address, described the first routing device can utilize DMR, described IPv4 message is encapsulated or translates into the IPv6 message send to described secondary route equipment.In addition, because described the first routing device also can't utilize i.e. the 2nd BMR of not exclusively correct BMR(), obtain the public network IP v4 address of described the first routing device, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be for being used the IPv4 address of described specific regular IPv4 prefix.
Wherein, the IPv6 prefix of described the first routing device is distributed to described the first routing device by operator, for example: the DHCPv6 server is by prefix delegation (DHCPv6Prefix Delegation, DHCPv6-PD) mode is given the IPv6 prefix that described the first routing device is appointed, perhaps provider edge router (Provider Edge Router) automatically configures (Stateless Address Auto-Configuration, SLAAC) mode by stateless address and gives the IPv6 prefix of the described first via by devices allocation.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server is in being handed down to the parameter of CE, issue for accessing the DMR of BR, and not exclusively correct BMR is the 2nd BMR, as shown in Figure 6, wherein, can also further comprise specific regular IPv4 prefix and the 2nd EA bit length in described the 2nd BMR, described the 2nd EA bit length is distributed to IPv4 suffix in the IPv6 prefix of described CE and the length sum of PSID in order to indication.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BM R of right-on BMR in BR, as shown in Figure 4.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain the public network IP v4 address of described CE, and the IPv4 address, source that described IPv6 message carries be upgraded in this public network IP v4 address; Then, BR can utilize a described BMR, matches routing iinformation corresponding to described purpose IPv4 address carried with described IPv6 message, forwards the content of described IPv4 message according to described routing iinformation.If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in certain MAP territory can be mated, in illustration purpose equipment certain MAP territory under this BR, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, in different the first routing devices are not shared the scene of public network IP v4 address, before 102, the incomplete correct BMR(that described the first routing device reception DHCPv6 server issues i.e. the 2nd BMR) and described DMR, be that server does not issue the i.e. BMR of right-on BMR() so that described the first routing device can't obtain according to described the 2nd BMR public network IP v4 prefix or the address of this first routing device.Alternatively, in described the 2nd BMR, can also further comprise specific regular IPv4 prefix (for example: the length of 10.10.10.10/{ rule IPv4 prefix }, or full 0 or complete 1 etc.) and the 3rd EA bit length, described the 3rd EA bit length is distributed to the length of the IPv4 suffix in the IPv6 prefix of described the first routing device in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 prefix that described IPv4 suffix is described the first routing device or address.Wherein, described DMR is for accessing secondary route equipment, the IPv6 address that in described DMR, comprises described secondary route equipment or its IPv6 prefix.That is to say, before 102, described the first routing device can't utilize described the 2nd BMR, matches the routing iinformation corresponding with described purpose IPv4 address.Correspondingly, in 102, because described the first routing device can't utilize i.e. the 2nd BMR of not exclusively correct BMR(), match the routing iinformation corresponding with described purpose IPv4 address, the described first via is by equipment utilization DMR, by described IPv4 message encapsulation or translate into the IPv6 message and send to described secondary route equipment.In addition, because described the first routing device also can't utilize i.e. the 2nd BMR of incomplete BMR(), obtain public network IP v4 prefix or the address of described the first routing device, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be for being used the IPv4 address of described specific regular IPv4 prefix.
Wherein, the IPv6 prefix of described the first routing device is distributed to described the first routing device by operator, for example: the DHCPv6 server is by prefix delegation (DHCPv6Prefix Delegation, DHCPv6-PD) mode is given the IPv6 prefix that described the first routing device is appointed, perhaps provider edge router (Provider Edge Router) automatically configures (Stateless Address Auto-Configuration, SLAAC) mode by stateless address and gives the IPv6 prefix of the described first via by devices allocation.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server is in being handed down to the parameter of CE, issue for accessing the DMR of BR, and not exclusively correct BMR is the 2nd BMR, as shown in Figure 7, wherein, can also further comprise specific regular IPv4 prefix and the 3rd EA bit length in described the 2nd BMR, described the 3rd EA bit length is distributed to the length of the IPv4 suffix in the IPv6 prefix of described CE in order to indication.CE utilizes DMR, the IPv4 message received is encapsulated or translates into I Pv6 message send to BR.Owing to having retained the i.e. BMR of right-on BMR in BR, as shown in Figure 5.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain the public network IP v4 address of described CE.Then, BR can utilize the public network IP v4 address of the described CE of acquisition to upgrade the IPv4 address, source that described IPv6 message carries; Then, BR can utilize a described BMR, matches routing iinformation corresponding to described purpose IPv4 address carried with described IPv6 message, forwards the content of described IPv4 message according to described routing iinformation.If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in certain MAP territory can be mated, in illustration purpose equipment certain MAP territory under this this BR, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all I Pv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
The schematic flow sheet of the message processing method that Fig. 8 provides for another embodiment of the application, as shown in Figure 8.
801, secondary route equipment receives the IPv6 message that the first routing device sends, described IPv6 message is after described the first routing device receives the IPv4 message, utilize IPv6 address or the prefix of described secondary route equipment, described IPv4 message is encapsulated or translates into, comprise purpose IPv4 address in described IPv4 message.
802, described secondary route equipment, according to the IPv6 address, source of a BMR and described IPv6 message, upgrades the IPv4 address, source that described IPv6 message carries, and utilizes a BMR, matches the routing iinformation corresponding with described purpose IPv4 address.
803, described secondary route equipment, according to described routing iinformation, forwards the content of described IPv4 message.
Particularly, described the first routing device specifically can encapsulate or translate into IPv6 message, i.e. network address translation (Network Address Translation, NAT) 44 and MAP by described IPv4 message by two Implement of Function Modules.In the NAT44 module, the private network IPv4 address in the described IPv4 message received is become to public network IP v4 address with port translation; In the MAP module, can or translate into the IPv6 message by the encapsulation of the IPv4 message through described NAT44 resume module.
Be understandable that, described the first routing device specifically also can encapsulate described IPv4 message or translate into the IPv6 message by an Implement of Function Module, and the present embodiment is not limited this.
Wherein, described IPv6 message specifically can carry IPv4 address, source (being public network IP v4 address) by two kinds of modes: a kind of mode is, for the encapsulation situation, the heading by described IPv4 message carries; Another kind of mode is, for the translation situation, the field in the interface identifier (Interface ID) of the IPv6 address, source by described IPv6 message is carried.
In the present embodiment, terminal communicates via the IPv6 network and by secondary route equipment and purpose equipment by the first routing device, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through described the first routing device and described secondary route equipment, therefore realized the star communication pattern under the application scenarios of MAP technology, can improve secondary route equipment is the managerial ability of network equipment to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, at different the first routing devices, share in the scene of public network IP v4 address, before 801, the PSID of described the first routing device that described the first routing device reception DHCPv6 server issues and IPv6 address or the prefix of described secondary route equipment, described the first routing device do not issue BMR, so that can't obtain according to BMR public network IP v4 prefix or the address of this first routing device.Correspondingly, in 102, because described the first routing device can't utilize BMR, match the routing iinformation corresponding with described purpose IPv4 address, described the first routing device can utilize IPv6 address or the prefix of secondary route equipment, described IPv4 message is encapsulated or translates into the IPv6 message send to described secondary route equipment.In addition, because described the first routing device can't obtain its public network IP v4 address, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be a specific IPv4 address, for example: the particular unicast IPv4 address of applying for the registration of at IANA, or in similar DS-lite technology for identifying the 192.0.0.2 of B4, or full 0 or complete 1 etc.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server, in being handed down to the parameter of CE, issues for accessing the DMR of BR, and the PSID of described CE.The IPv6 address or the prefix that comprise described BR in described DMR.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BMR of complete BMR in BR, as shown in Figure 4.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain the public network IP v4 address of described CE, and utilize this public network IP v4 address to upgrade the IPv4 address, source that described IPv6 message carries; Then, BR can utilize a described BMR, matches the routing iinformation corresponding with described purpose IPv4 address, forwards the content of described IPv4 message according to described routing iinformation.For example: if in the described purpose IPv4 address of carrying in the IPv6 message that BR receives and BR, the regular IPv4 prefix in a described BMR in certain MAP territory can be mated, illustration purpose equipment is in certain MAP territory at this BR place, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, at different the first routing devices, share in the scene of public network IP v4 address, before 801, the incomplete BMR(that described the first routing device reception DHCPv6 server issues i.e. the 2nd BMR) and described DMR, be that server does not issue the i.e. BMR of complete BMR() so that described the first routing device can't obtain according to described the 2nd BMR the public network IP v4 address of this first routing device.Alternatively, can also further comprise an EA(Embedded Address in described the 2nd BMR, EA) bit (EA bits) length, a described EA bit length is distributed to the length of PSID in the IPv6 prefix of described the first routing device in order to indication.Wherein, described DMR is for accessing secondary route equipment, the IPv6 address that in described DMR, comprises described secondary route equipment or its IPv6 prefix.That is to say, before 801, described the first routing device can't utilize described the 2nd BMR, matches the routing iinformation corresponding with described purpose IPv4 address.Correspondingly, because described the first routing device can't utilize i.e. the 2nd BMR of incomplete BMR(), match the routing iinformation corresponding with described purpose IPv4 address, described the first routing device will utilize DMR, described IPv4 message be encapsulated or translates into the IPv6 message send to described secondary route equipment.In addition, because described the first routing device can't obtain the public network IP v4 address of described the first routing device, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be a specific IPv4 address, for example: the particular unicast IPv4 address of applying for the registration of at IANA, or in similar DS-lite technology for identifying the 192.0.0.2 of B4, or full 0 or complete 1 etc.
Wherein, the IPv6 prefix of described the first routing device is to distribute to described the first routing device by operator, for example: the DHCPv6 server is by prefix delegation (the DHCPv6 Prefix Delegation in DHCPv6, DHCPv6-PD) mode appoints the IPv6 prefix to described the first routing device, perhaps stateless address automatically configures (Stateless Address Auto-Co nfiguration, SLAAC) server and gives described the first routing device assignment IPv6 prefix by the SLAAC mode.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server is in being handed down to the parameter of CE, issue for accessing the DMR of BR, and incomplete BMR is the 2nd BMR, as shown in Figure 3, wherein, can also further comprise an EA bit length in described the 2nd BMR, a described EA bit length is distributed to the length of PSID in the IPv6 prefix of described CE in order to indication.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BMR of complete BMR in BR, as shown in Figure 4.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain the public network IP v4 address of described CE, and utilize this public network IP v4 address to upgrade the IPv4 address, source that described IPv6 message carries; Then, BR can utilize a described BMR, matches the routing iinformation corresponding with described purpose IPv4 address, forwards the content of described IPv4 message according to described routing iinformation.For example: if in the described purpose IPv4 address of carrying in the IPv6 message that BR receives and BR, the regular IPv4 prefix in a described BMR in certain MAP territory can be mated, illustration purpose equipment is in certain MAP territory at this BR place, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, in different the first routing devices are not shared the scene of public network IP v4 address, before 801, described the first routing device can also further receive the described DMR that the DHCPv6 server only issues, described the first routing device is that server has only issued described DMR, do not issue BMR, so that can't obtain according to BMR public network IP v4 prefix or the address of this first routing device.Wherein, described DMR is for accessing secondary route equipment, the IPv6 address that in described DMR, comprises described secondary route equipment or its IPv6 prefix.Correspondingly, because described the first routing device can't utilize BMR, match the routing iinformation corresponding with described purpose IPv4 address, described the first routing device can utilize DMR, described IPv4 message is encapsulated or translates into the IPv6 message send to described secondary route equipment.In addition, because described the first routing device can't obtain its public network IP v4 address, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be a specific IPv4 address, for example: the particular unicast IPv4 address of applying for the registration of at IANA, or in similar DS-lite technology for identifying the 192.0.0.2 of B4, or full 0 or complete 1 etc.
Wherein, the IPv6 prefix of described the first routing device is to distribute to described the first routing device by operator, for example: the DHCPv6 server is by prefix delegation (the DHCPv6 Prefix Delegation in DHCPv6, DHCPv6-PD) mode appoints the IPv6 prefix to described the first routing device, perhaps stateless address automatically configures (Stateless Address Auto-Configuration, SLAAC) server and gives described the first routing device assignment IPv6 prefix by the SLAAC mode.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server, in being handed down to the parameter of CE, only issuing for accessing the DMR of BR, and does not issue BMR.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BMR of complete BMR in BR, as shown in Figure 5.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain public network IP v4 prefix or the address of described CE.If what BR obtained is the public network IP v4 prefix of described CE, BR can fix an address of selection in the network segment indicated in this public network IP v4 prefix according to preset rules, and for example, the available first address of this network segment, as the public network IP v4 address of described CE.Then, BR can utilize the public network IP v4 address of the described CE of acquisition to upgrade the IPv4 address, source that described IPv6 message carries; Then, BR can utilize a described BMR, matches routing iinformation corresponding to described purpose IPv4 address carried with described IPv6 message, forwards the content of described IPv4 message according to described routing iinformation.For example: if in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR, the regular IPv4 prefix in a described BMR in certain MAP territory can be mated, in illustration purpose equipment certain MAP territory under this BR, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, at different the first routing devices, share in the scene of public network IP v4 address, before 801, the incomplete correct BMR(that described the first routing device reception DHCPv6 server issues i.e. the 2nd BMR) and described DMR, be that server does not issue the i.e. BMR of right-on BMR() so that described the first routing device can't obtain according to described the 2nd BMR the public network IP v4 address of this first routing device.Alternatively, in described the 2nd BMR, can also further comprise specific regular IPv4 prefix (for example: the length of 10.10.10.10/{ rule IPv4 prefix }, or full 0 or complete 1 etc.) and the 2nd EA bit length, described the 2nd EA bit length is distributed to IPv4 suffix in the IPv6 prefix of described the first routing device and the length sum of PSID in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 address that described IPv4 suffix is described the first routing device.Wherein, described DMR is for accessing secondary route equipment, the IPv6 address that in described DMR, comprises described secondary route equipment or its IPv6 prefix.That is to say, before 801, described the first routing device can't utilize described the 2nd BMR, matches the routing iinformation corresponding with described purpose IPv4 address.Correspondingly, because described the first routing device can't utilize i.e. the 2nd BMR of not exclusively correct BMR(), match the routing iinformation corresponding with described purpose IPv4 address, described the first routing device can utilize DMR, described IPv4 message is encapsulated or translates into the IPv6 message send to described secondary route equipment.In addition, because described the first routing device also can't utilize i.e. the 2nd BMR of incomplete BMR(), obtain the public network IP v4 address of described the first routing device, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be for being used the IPv4 address of described specific regular IPv4 prefix.
Wherein, the IPv6 prefix of described the first routing device is to distribute to described the first routing device by operator, for example: the DHCPv6 server is by prefix delegation (the DHCPv6 Prefix Delegation in DHCPv6, DHCPv6-PD) mode appoints the IPv6 prefix to described the first routing device, perhaps stateless address automatically configures (Stateless Address Auto-Co nfiguration, SLAAC) server and gives described the first routing device assignment IPv6 prefix by the SLAAC mode.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server is in being handed down to the parameter of CE, issue for accessing the DMR of BR, and not exclusively correct BMR is the 2nd BMR, as shown in Figure 6, wherein, can also further comprise specific regular IPv4 prefix and the 2nd EA bit length in described the 2nd BMR, described the 2nd EA bit length is distributed to IPv4 suffix in the IPv6 prefix of described CE and the length sum of PSID in order to indication.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BM R of right-on BMR in BR, as shown in Figure 4.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain the public network IP v4 address of described CE, and the IPv4 address, source that described IPv6 message carries be upgraded in this public network IP v4 address; Then, BR can utilize a described BMR, matches routing iinformation corresponding to described purpose IPv4 address carried with described IPv6 message, forwards the content of described IPv4 message according to described routing iinformation.If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in certain MAP territory can be mated, in illustration purpose equipment certain MAP territory under this BR, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
Alternatively, in an optional execution mode of the present embodiment, in different the first routing devices are not shared the scene of public network IP v4 address, before 801, the incomplete correct BMR(that described the first routing device reception DHCPv6 server issues i.e. the 2nd BMR) and described DMR, be that server does not issue the i.e. BMR of right-on BMR() so that described the first routing device can't obtain according to described the 2nd BMR public network IP v4 prefix or the address of this first routing device.Alternatively, in described the 2nd BMR, can also further comprise specific regular IPv4 prefix (for example: the length of 10.10.10.10/{ rule IPv4 prefix }, or full 0 or complete 1 etc.) and the 3rd EA bit length, described the 3rd EA bit length is distributed to the length of the IPv4 suffix in the IPv6 prefix of described the first routing device in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 prefix that described IPv4 suffix is described the first routing device or address.Wherein, described DMR is for accessing secondary route equipment, the IPv6 address that in described DMR, comprises described secondary route equipment or its IPv6 prefix.That is to say, before 801, described the first routing device can't utilize described the 2nd BMR, matches the routing iinformation corresponding with described purpose IPv4 address.Correspondingly, because described the first routing device can't utilize i.e. the 2nd BMR of not exclusively correct BMR(), match the routing iinformation corresponding with described purpose IPv4 address, the described first via is by equipment utilization DMR, by described IPv4 message encapsulation or translate into the IPv6 message and send to described secondary route equipment.In addition, because described the first routing device also can't utilize i.e. the 2nd BMR of not exclusively correct BMR(), obtain public network IP v4 prefix or the address of described the first routing device, therefore, the IPv4 address, source that the described IPv6 message that described the first routing device sends carries can be for being used the IPv4 address of described specific regular IPv4 prefix.
Wherein, the IPv6 prefix of described the first routing device is to distribute to described the first routing device by operator, for example: the DHCPv6 server is by prefix delegation (the DHCPv6 Prefix Delegation in DHCPv6, DHCPv6-PD) mode appoints the IPv6 prefix to described the first routing device, perhaps stateless address automatically configures (Stateless Address Auto-Configuration, SLAAC) server and gives described the first routing device assignment IPv6 prefix by the SLAAC mode.
Take the first routing device as being positioned at the CE on user network border, and secondary route equipment is example for the BR between IPv6 network and IPv4 network.The DHCPv6 server is in being handed down to the parameter of CE, issue for accessing the DMR of BR, and not exclusively correct BMR is the 2nd BMR, as shown in Figure 7, wherein, can also further comprise specific regular IPv4 prefix and the 3rd EA bit length in described the 2nd BMR, described the 3rd EA bit length is distributed to the length of the IPv4 suffix in the IPv6 prefix of described CE in order to indication.CE utilizes DMR, the IPv4 message received is encapsulated or translates into the IPv6 message send to BR.Owing to having retained the i.e. BMR of right-on BMR in BR, as shown in Figure 5.Therefore, BR can, according to a described BMR with from the IPv6 address, source of the IPv6 message of CE, obtain the public network IP v4 address of described CE.Then, BR can utilize the public network IP v4 address of the described CE of acquisition to upgrade the IPv4 address, source that described IPv6 message carries; Then, BR can utilize a described BMR, matches routing iinformation corresponding to described purpose IPv4 address carried with described IPv6 message, forwards the content of described IPv4 message according to described routing iinformation.If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in certain MAP territory can be mated, in illustration purpose equipment certain MAP territory under this this BR, BR will be used the IPv6 message to return processing to the content of described IPv4 message, and the content of described IPv4 message is sent to another CE by BR; If the regular IPv4 prefix in the described purpose IPv4 address that the described IPv6 message that BR receives carries and BR in a described BMR in arbitrary MAP territory can not be mated, the content of the described IPv4 message that BR carries described IPv6 message is forwarded to the IPv4 public network.
Terminal communicates via the IPv6 network and by BR and purpose equipment by CE, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through CE and BR, therefore realize the star communication pattern under the application scenarios of MAP technology, can improve the managerial ability of BR to the telex network flow.
It should be noted that: for aforesaid each embodiment of the method, for simple description, therefore it all is expressed as to a series of combination of actions, but those skilled in the art should know, the application is not subject to the restriction of described sequence of movement, because according to the application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the application is necessary.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, there is no the part described in detail in certain embodiment, can be referring to the associated description of other embodiment.
The structural representation of the routing device that Fig. 9 provides for another embodiment of the application, as shown in Figure 9, the routing device of the present embodiment can comprise the first receiver 91, processor 92 and transmitter 93.Wherein, the first receiver 91, for receiving the IPv4 message, comprises purpose IPv4 address in described IPv4 message; Processor 92, for utilizing IPv6 address or the prefix of secondary route equipment, encapsulates or translates into the IPv6 message by described IPv4 message; Transmitter 93 is for sending described IPv6 message to described secondary route equipment, so that described secondary route equipment is according to the IPv6 address, source of a BMR and described IPv6 message, upgrade the IPv4 address, source that described IPv6 message carries, and utilize a BMR, match the routing iinformation corresponding with described purpose IPv4 address, forward the content of described IPv4 message according to described routing iinformation.
Be understandable that, described the first receiver 91 is positioned at user's side local area network (LAN) (Local Area Network, LAN) interface of described routing device.
Alternatively, in an optional execution mode of the present embodiment, in different the first routing devices are not shared the scene of public network IP v4 address, as shown in figure 10, the described routing device that the present embodiment provides can further include the second receiver 1001, the described DMR only issued for receiving the DHCPv6 server.Be understandable that, described the second receiver 1001 is positioned at user's side wide area network (Wide Area Network, WAN) interface of described routing device.The related content of detailed description in can the embodiment corresponding referring to Fig. 1 repeats no more herein.
Alternatively, in an optional execution mode of the present embodiment, as shown in figure 11, the described routing device that the present embodiment provides can further include the 3rd receiver 1101, also comprise the 3rd receiver, for the PSID that receives described the first routing device that the DHCPv6 server issues and IPv6 address or the prefix of described secondary route equipment.The related content of detailed description in can the embodiment corresponding referring to Fig. 1 repeats no more herein.
Alternatively, in an optional execution mode of the present embodiment, as shown in figure 12, the described routing device that the present embodiment provides can further include the 4th receiver 1201, the 2nd BMR and the described DMR that for receiving the DHCPv6 server, issue; Described processor can't utilize described the 2nd BMR to match the routing iinformation corresponding with described purpose IPv4 address.Be understandable that, described the 4th receiver 1201 is positioned at user's side wan interface of described routing device.The related content of detailed description in can the embodiment corresponding referring to Fig. 1 repeats no more herein.
For example: at different the first routing devices, share in the scene of public network IP v4 address, can comprise an EA bit length in the 2nd BMR that the 4th receiver 1201 receives, a described EA bit length is distributed to the length of PSID in the IPv6 prefix of described routing device in order to indication.The related content of detailed description in can the embodiment corresponding referring to Fig. 1 repeats no more herein.
Again for example: at different the first routing devices, share in the scene of public network IP v4 address, can comprise specific regular IPv4 prefix and the 2nd EA bit length in the 2nd BMR that the 4th receiver 1201 receives, described the 2nd EA bit length is distributed to IPv4 suffix in the IPv6 prefix of described routing device and the length sum of PSID in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 address that described IPv4 suffix is described routing device.The related content of detailed description in can the embodiment corresponding referring to Fig. 1 repeats no more herein.
Again for example: in different the first routing devices are not shared the scene of public network IP v4 address, can comprise specific regular IPv4 prefix and the 3rd EA bit length in the 2nd BMR that the 4th receiver 1201 receives, described the 3rd EA bit length is distributed to the length of the IPv4 suffix in the IPv6 prefix of described routing device in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 address that described IPv4 suffix is described routing device or prefix.The related content of detailed description in can the embodiment corresponding referring to Fig. 1 repeats no more herein.
In the present embodiment, terminal communicates via the IPv6 network and by secondary route equipment and purpose equipment by routing device, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through described routing device and described secondary route equipment, therefore realized the star communication pattern under the application scenarios of MAP technology, can improve secondary route equipment is the managerial ability of network equipment to the telex network flow.
The structural representation of the routing device that Figure 13 provides for another embodiment of the application, as shown in figure 13, the routing device of the present embodiment can comprise receiver 1301, processor 1302 and transmitter 1303.Wherein, the IPv6 message that receiver 1301 sends for receiving the first routing device, described IPv6 message is after described the first routing device receives the IPv4 message, utilize IPv6 address or the prefix of described routing device, described IPv4 message is encapsulated or translates into, comprise purpose IPv4 address in described IPv4 message; Processor 1302, for the IPv6 address, source according to a BMR and described IPv6 message, upgrades the IPv4 address, source that described IPv6 message carries, and utilizes a BMR, matches the routing iinformation corresponding with described purpose IPv4 address; Transmitter 1303, for according to described routing iinformation, forwards the content of described IPv4 message.The related content of detailed description in can the embodiment corresponding referring to Fig. 8 repeats no more herein.
In the present embodiment, terminal communicates via the IPv6 network and by routing device and purpose equipment by the first routing device, all IPv4 messages of initiating due to terminal all need to send to purpose equipment through described the first routing device and described routing device, therefore realized the star communication pattern under the application scenarios of MAP technology, can improve routing device is the managerial ability of network equipment to the telex network flow.
The embodiment of the present application also provides, and a kind of message handling system is provided, and comprises the routing device that routing device that in the embodiment that Fig. 9~Figure 12 is corresponding, arbitrary embodiment provides and embodiment corresponding to Figure 13 provide.
The those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual the realization, other dividing mode can be arranged, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as the separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed on a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the purpose of the present embodiment scheme.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out all or part of step of the described method of each embodiment of the application.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, abbreviation ROM), the various media that can be program code stored such as random access memory (Random Access Memory is called for short RAM), magnetic disc or CD.
Finally it should be noted that: above embodiment only, in order to the application's technical scheme to be described, is not intended to limit; Although with reference to previous embodiment, the application is had been described in detail, those of ordinary skill in the art is to be understood that: its technical scheme that still can put down in writing aforementioned each embodiment is modified, or part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from thought and the scope of each embodiment technical scheme of the application.

Claims (17)

1. a message processing method, is characterized in that, comprising:
The first routing device received internet protocol edition 4 IPv4 message, comprise purpose IPv4 address in described IPv4 message;
The described first via is by internet protocol version 6IPv6 address or the prefix of equipment utilization secondary route equipment, described IPv4 message is encapsulated or translates into the IPv6 message and send to described secondary route equipment, so that described secondary route equipment is according to the IPv6 address, source of the first basic mapping ruler BMR and described IPv6 message, upgrade the IPv4 address, source that described IPv6 message carries, and utilize a BMR, match the routing iinformation corresponding with described purpose IPv4 address, forward the content of described IPv4 message according to described routing iinformation.
2. method according to claim 1, it is characterized in that, the described first via is by internet protocol version 6IPv6 address or the prefix of equipment utilization secondary route equipment, by described IPv4 message encapsulation or translate into before the IPv6 message sends to described secondary route equipment, also comprises:
IPv6 address or the prefix of the described secondary route equipment that the dynamic host configuration protocol DHCP v6 server of IPv6 only issues supported in described the first routing device reception.
3. method according to claim 1, it is characterized in that, the described first via is by internet protocol version 6IPv6 address or the prefix of equipment utilization secondary route equipment, by described IPv4 message encapsulation or translate into before the IPv6 message sends to described secondary route equipment, also comprises:
The sets of ports sign PSID of described the first routing device that described the first routing device reception DHCPv6 server issues and IPv6 address or the prefix of described secondary route equipment.
4. method according to claim 1, it is characterized in that, the described first via is by internet protocol version 6IPv6 address or the prefix of equipment utilization secondary route equipment, by the encapsulation of described IPv4 message or translate into before the IPv6 message sends to described secondary route equipment, also comprise: described the first routing device receives the 2nd BMR that the DHCPv6 server issues and IPv6 address or the prefix of described secondary route equipment; After described the first routing device receives the IPv4 message, the described first via is by IPv6 address or the prefix of equipment utilization secondary route equipment, by described IPv4 message encapsulation or translate into before the IPv6 message sends to described secondary route equipment, also comprises:
Described the first routing device can't utilize described the 2nd BMR to match the routing iinformation corresponding with described purpose IPv4 address.
5. method according to claim 4, is characterized in that, comprises the first embedding address EA bit length in described the 2nd BMR, and a described EA bit length is distributed to the length of PSID in the IPv6 prefix of described the first routing device in order to indication.
6. method according to claim 4, it is characterized in that, comprise specific regular IPv4 prefix and the 2nd EA bit length in described the 2nd BMR, described the 2nd EA bit length is distributed to IPv4 suffix in the IPv6 prefix of described the first routing device and the length sum of PSID in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 address that described IPv4 suffix is described the first routing device.
7. method according to claim 4, it is characterized in that, comprise specific regular IPv4 prefix and the 3rd EA bit length in described the 2nd BMR, described the 3rd EA bit length is distributed to the length of the IPv4 suffix in the IPv6 prefix of described the first routing device in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 prefix that described IPv4 suffix is described the first routing device or address.
8. a message processing method, is characterized in that, comprising:
Secondary route equipment receives the internet protocol version 6IPv6 message that the first routing device sends, described IPv6 message is after described the first routing device received internet protocol edition 4 IPv4 message, utilize IPv6 address or the prefix of described secondary route equipment, described IPv4 message is encapsulated or translates into, comprise purpose IPv4 address in described IPv4 message;
Described secondary route equipment, according to the IPv6 address, source of the first basic mapping ruler BMR and described IPv6 message, upgrades the IPv4 address, source that described IPv6 message carries, and utilizes a BMR, matches the routing iinformation corresponding with described purpose IPv4 address;
Described secondary route equipment, according to described routing iinformation, forwards the content of described IPv4 message.
9. a routing device, is characterized in that, comprising:
The first receiver, for received internet protocol edition 4 IPv4 message, comprise purpose IPv4 address in described IPv4 message;
Processor, for utilizing internet protocol version 6IPv6 address or the prefix of secondary route equipment, encapsulate or translate into the IPv6 message by described IPv4 message;
Transmitter, for to described secondary route equipment, sending described IPv6 message, so that described secondary route equipment is according to the IPv6 address, source of the first basic mapping ruler BMR and described IPv6 message, upgrade the IPv4 address, source that described IPv6 message carries, and utilize a BMR, match the routing iinformation corresponding with described purpose IPv4 address, forward the content of described IPv4 message according to described routing iinformation.
10. routing device according to claim 9, is characterized in that, described routing device also comprises the second receiver, IPv6 address or the prefix of the described secondary route equipment only issued for the dynamic host configuration protocol DHCP v6 server that receives support IPv6.
11. routing device according to claim 9, it is characterized in that, described routing device also comprises the 3rd receiver, for the sets of ports sign PSID that receives described the first routing device that the DHCPv6 server issues and IPv6 address or the prefix of described secondary route equipment.
12. routing device according to claim 9, is characterized in that, described routing device also comprises the 4th receiver, for receiving the 2nd BMR that the DHCPv6 server issues and IPv6 address or the prefix of described secondary route equipment; Described processor can't utilize described the 2nd BMR to match the routing iinformation corresponding with described purpose IPv4 address.
13. routing device according to claim 12, it is characterized in that, comprise the first embedding address EA bit length in the 2nd BMR that described the 4th receiver receives, a described EA bit length is distributed to the length of PSID in the IPv6 prefix of described routing device in order to indication.
14. routing device according to claim 12, it is characterized in that, comprise specific regular IPv4 prefix and the 2nd EA bit length in the 2nd BMR that described the 4th receiver receives, described the 2nd EA bit length is distributed to IPv4 suffix in the IPv6 prefix of described routing device and the length sum of PSID in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 address that described IPv4 suffix is described routing device.
15. routing device according to claim 12, it is characterized in that, comprise specific regular IPv4 prefix and the 3rd EA bit length in the 2nd BMR that described the 4th receiver receives, described the 3rd EA bit length is distributed to the length of the IPv4 suffix in the IPv6 prefix of described routing device in order to indication, remove the remainder after the respective length of described regular IPv4 prefix in the IPv4 address that described IPv4 suffix is described routing device or prefix.
16. a routing device, is characterized in that, comprising:
Receiver, the internet protocol version 6IPv6 message sent for receiving the first routing device, described IPv6 message is after described the first routing device received internet protocol edition 4 IPv4 message, utilize the IPv6 address of described routing device or the IPv6 prefix of described routing device, described IPv4 message is encapsulated or translates into, comprise purpose IPv4 address in described IPv4 message;
Processor, for the IPv6 address, source according to the first basic mapping ruler BMR and described IPv6 message, upgrade the IPv4 address, source that described IPv6 message carries, and utilize a BMR, matches the routing iinformation corresponding with described purpose IPv4 address;
Transmitter, for according to described routing iinformation, forward the content of described IPv4 message.
17. a message handling system, is characterized in that, comprises the described routing device of claim as arbitrary as claim 9~15 and routing device as claimed in claim 16.
CN201210183101.8A 2012-06-05 2012-06-05 Message processing method, system and routing device Active CN103457856B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201711387698.7A CN108322400B (en) 2012-06-05 2012-06-05 Message processing method, system and routing equipment
CN201210183101.8A CN103457856B (en) 2012-06-05 2012-06-05 Message processing method, system and routing device
PCT/CN2013/076058 WO2013181991A1 (en) 2012-06-05 2013-05-22 Message processing method and system and routing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210183101.8A CN103457856B (en) 2012-06-05 2012-06-05 Message processing method, system and routing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201711387698.7A Division CN108322400B (en) 2012-06-05 2012-06-05 Message processing method, system and routing equipment

Publications (2)

Publication Number Publication Date
CN103457856A true CN103457856A (en) 2013-12-18
CN103457856B CN103457856B (en) 2018-01-23

Family

ID=49711350

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210183101.8A Active CN103457856B (en) 2012-06-05 2012-06-05 Message processing method, system and routing device
CN201711387698.7A Active CN108322400B (en) 2012-06-05 2012-06-05 Message processing method, system and routing equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201711387698.7A Active CN108322400B (en) 2012-06-05 2012-06-05 Message processing method, system and routing equipment

Country Status (2)

Country Link
CN (2) CN103457856B (en)
WO (1) WO2013181991A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783974A (en) * 2021-09-09 2021-12-10 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1965515A (en) * 2004-06-25 2007-05-16 思科技术公司 Arrangement for reaching IPv4 public network nodes by a node in an IPv4 private network via an IPv6 access network
US20110110375A1 (en) * 2008-06-30 2011-05-12 France Telecom Method of receiving a data packet in an ipv6 domain, an associated device and an associated home gateway
CN102088391A (en) * 2009-12-07 2011-06-08 华为技术有限公司 Processing method, equipment and system for Internet protocol version 6 (IPv6) message
CN102447617A (en) * 2010-10-09 2012-05-09 华为技术有限公司 Method, terminals and gateway for transmitting IPv6 (Internet Protocol version 6) message in IPv4 network

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100550826C (en) * 2004-12-29 2009-10-14 中兴通讯股份有限公司 A kind of method of building virtual channel by interpreting address passing through IPv 6 network
US7639686B2 (en) * 2005-04-07 2009-12-29 Cisco Technology, Inc. Access network clusterhead for providing local mobility management of a roaming IPv4 node
WO2009018658A1 (en) * 2007-08-03 2009-02-12 Hexago Device, system and method for automatic ipv4 provisioning in a local area network connected to an ipv6 network
CN101222495A (en) * 2008-01-24 2008-07-16 中兴通讯股份有限公司 Method and router for IPv4 network host access to IPv6 network host
CN101227408A (en) * 2008-02-02 2008-07-23 中兴通讯股份有限公司 Method for IPv4 internal private network to visit IPv6 network and router thereof
WO2010054471A1 (en) * 2008-11-17 2010-05-20 Sierra Wireless, Inc. Method and apparatus for network port and network address translation
CN101431478B (en) * 2008-12-17 2011-05-11 清华大学 P2P operator level router and home gateway combined IPv4/IPv6 grouping conversion method
CN102209121A (en) * 2010-03-29 2011-10-05 杭州华三通信技术有限公司 Method and device for intercommunication between Internet protocol version 6 (IPv6) network and Internet protocol version 4 (IPv4) network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1965515A (en) * 2004-06-25 2007-05-16 思科技术公司 Arrangement for reaching IPv4 public network nodes by a node in an IPv4 private network via an IPv6 access network
US20110110375A1 (en) * 2008-06-30 2011-05-12 France Telecom Method of receiving a data packet in an ipv6 domain, an associated device and an associated home gateway
CN102088391A (en) * 2009-12-07 2011-06-08 华为技术有限公司 Processing method, equipment and system for Internet protocol version 6 (IPv6) message
CN102447617A (en) * 2010-10-09 2012-05-09 华为技术有限公司 Method, terminals and gateway for transmitting IPv6 (Internet Protocol version 6) message in IPv4 network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783974A (en) * 2021-09-09 2021-12-10 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule
CN113783974B (en) * 2021-09-09 2023-06-13 烽火通信科技股份有限公司 Method and device for dynamically issuing MAP domain rule

Also Published As

Publication number Publication date
CN108322400B (en) 2021-06-08
CN108322400A (en) 2018-07-24
CN103457856B (en) 2018-01-23
WO2013181991A1 (en) 2013-12-12

Similar Documents

Publication Publication Date Title
CN102340546B (en) IPv6 address distribution method and system
US9485147B2 (en) Method and device thereof for automatically finding and configuring virtual network
US8631100B2 (en) Automatic assignment of hardware addresses within computer networks
CN101534329B (en) IP address assignment method and system
CN102404418B (en) Method, device and system for distributing IP (internet protocol) address for user terminal
CN102447748B (en) Method, equipment and system for allocating outer Internet protocol IP addresses during network address translation (NAT)
CN102316028B (en) Method and apparatus for sending internet protocol packet
CN101321111A (en) Communication method and device, server, and computer readable recording medium
CN102647486A (en) Address distributing method, address distributing equipment and address distributing system
CN102148879A (en) Port mapping method and device and communication system
CN102761440B (en) Method for establishing channel for managing IPv4 terminal and network gateway
CN102594652A (en) Migration method of virtual machine, switch and virtual machine system
CN102447752A (en) Service access method, system and device based on layer2 tunnel protocol (L2TP)
CN109936490B (en) Virtual home network sharing method and system based on VXLAN and OpenFlow
CN102572008A (en) Communication service processing method and system and gateway equipment
CN104144096A (en) Virtual network layer construction method, device and system
CN102959906A (en) Routing method and device for host in multi-homing site
CN102143242B (en) IP (internet protocol) network address allocation method, IP network address allocation equipment and IP network address allocation system
Chauhan et al. A survey on next generation Internet Protocol: IPv6
CN103503413B (en) Method and device for transmitting network information
CN102904814B (en) Data transmission method, source PE, object PE and data transmission system
CN103167483B (en) A kind of data forwarding method based on tunnel, equipment and system
CN103338275A (en) Port distribution method and apparatus
CN104104749A (en) Method and device for allocating tunnel IP addresses
CN104519061A (en) Message forwarding method, device and system

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
TR01 Transfer of patent right

Effective date of registration: 20211227

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right