发明名称 Method and device for communication for host device with IPv4 application
摘要 Provided are a method and a device of a host with IPv4 application for performing communication. The method of the host with IPv4 application for performing data communication includes the following steps: the IPv4 application generates an IPv4 packet sent to a communication end; when confirming the type of the network the host is located in is an IPv6 network, the host transforms the IPv4 packet head of the IPv4 packet to an IPv6 packet header, and sends it to the communication end via the IPv6 network. With this invention, it can be accomplished that according to the type of the network the host is located in, the host with IPv4 application communicates with a communication end; the processing load of the system is lightened; the probability that invalidation occurs at a single node is reduced; the smooth migration and transition from original IPv4 application to IPv6 system are facilitated.
申请公布号 US8909812(B2) 申请公布日期 2014.12.09
申请号 US201013375969 申请日期 2010.06.03
申请人 China Mobile Group Beijing Co., Ltd. 发明人 Huang Bill;Chen Gang;Deng Hui;Wei Bing;Wang Xiaoyun
分类号 G06F15/16;H04L29/12;H04L29/06 主分类号 G06F15/16
代理机构 Workman Nydegger 代理人 Workman Nydegger
主权项 1. A method for data communication for a host device with an IPv4 application, comprising: generating, by the IPv4 application, an IPv4 data packet to be sent to a communication opposite end; and converting, by the host device, when determining that the type of a network the host device lies in is an IPv6 network, an IPv4 packet header of the IPv4 data packet into an IPv6 packet header, and sending the converted data packet to the communication opposite end via the IPv6 network, wherein, converting the IPv4 packet header of the IPv4 data packet into the IPv6 packet header by the host device comprises: combining, by the host device, an IPv4 source address in the IPv4 packet header of the IPv4 data packet with a pre-allocated IPv6 prefix to generate an IPv6 source address in the IPv6 packet header; and combining an IPv4 destination address in the IPv4 packet header of the IPv4 data packet with a prestored well-known prefix to generate an IPv6 destination address in the IPv6 packet header.
地址 Xicheng District, Beijing CN