Method and device for switching IPv4/IPv6 applications and intelligent mobile terminal

A technology of intelligent mobile terminal and conversion method, applied in electrical components, wireless communication, connection management and other directions, can solve the problems of different calls, cannot be reused, and intelligent mobile terminals cannot support API interfaces, so as to speed up the development cycle and reduce development costs. cost effect

Inactive Publication Date: 2014-05-21
CHINA TELECOM CORP LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, at present, IPv4 and IPv6 application programming interface (Application Programming Interface, API) calls on smart mobile terminals are different, so for applicat

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for switching IPv4/IPv6 applications and intelligent mobile terminal
  • Method and device for switching IPv4/IPv6 applications and intelligent mobile terminal
  • Method and device for switching IPv4/IPv6 applications and intelligent mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

[0032] Such as figure 1 As shown, it is a schematic diagram of the module structure of an embodiment of the intelligent mobile terminal of the present invention. In this embodiment, the functional modules in the smart mobile terminal include: an application layer part, an intermediate layer part, a driver part and an air interface part. Wherein, various applications such as IPv4 applications, IPv6 applications, and applications supporting both IPv4 and IPv6 (abbreviated as IPv4 / IPv6 applications) are all set in the application layer part.

[0033] The middle layer part includes socket application program interface (Socket API), transmission control protocol / user datagram protocol (TCP / UDP) processing module, IPv4 protocol processing module, IPv6 protocol processing module, IP packet manager, wireless local area networ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method and a device for switching IPv4/IPv6 applications and an intelligent mobile terminal, wherein the method comprises the steps of receiving a URL (Uniform Resource Locator) request sent out by the upper-layer application program of the intelligent mobile terminal, sending a domain name resolution request to a DNS (Domain Name Resolution) server through a DNS client according to the URL request, and invoking a socket interface corresponding to the operating system of the intelligent mobile terminal according to the type of an IP (Internet Protocol) address returned by the DNS server to establish network connection corresponding to the type of the IP address. The method and the device provide a fast and economic solution for the process of transition from the IPv4 application to the IPv6 application, no matter whether the upper-layer application program of the intelligent mobile terminal is the IPv4 application to the IPv6 application, the solution can be utilized to switch to the corresponding IPv4 or IPv6 network, and as a result, the application program development interface of IPv4 and IPv6 are unified, the development cost is reduced and the development period is sped up.

Description

technical field [0001] The invention relates to mobile terminal technology, in particular to an IPv4 / IPv6 application conversion method, device and intelligent mobile terminal. Background technique [0002] The transition from IPv4 to IPv6 is an effective solution to the gradual exhaustion of IPv4 addresses. With the widespread use of IPv6, IPv4 and IPv6 will coexist for a long time. For intelligent mobile terminals, in order to achieve better applicability, it is necessary to support both IPv4 and IPv6 protocols. [0003] However, the IPv4 and IPv6 application programming interface (Application Programming Interface, API for short) calls on the smart mobile terminal are different at present. Therefore, for the application program, two versions need to be developed for the IPv4 and IPv6 protocols, which cannot be reused. Moreover, the smart mobile terminal cannot support a unified API interface at present. Contents of the invention [0004] The purpose of the present inv...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/12H04W76/02
Inventor 张志荣
Owner CHINA TELECOM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products