Implementation of SP Service on MTK Platform Development Case Implementation of SP Service on MTK Platform Huang Weiji, Liu Xiaodong (Computing Center of Nanchang University, Nanchang 330029) Abstract: With the development of information technology, people are no longer satisfied with traditional media content and Internet communication methods. Various cross-media applications based on wireless network communication technology have emerged. As the main platform for domestic mobile phones, MTK provides support for GSM, GPRS, TCP\\IP, Bluetooth and other protocol stacks. By using the Socket communication mechanism encapsulated by MTK and selecting XML as the medium for network transmission and data exchange, the port of SP service can be dynamically updated. Keywords: MTK; GPRS; SOCKET; XML parsing0 IntroductionMTK has mature GSM/GPRS solutions and is currently the largest supplier of domestic mobile phone chips and solutions. Its innovative Turn Key Solution model provides advanced and sound multimedia platform solutions, supporting GPRS, WAP2.0, etc. [1], making it possible to use Socket communication technology and technology to realize dynamic networking of value-added services. From the application perspective, this paper selects XML as the medium for network transmission and data exchange to realize dynamic update of SP service ports. The server provides port numbers and service addresses. The mobile terminal uses the default port number and address for the first connection. There are three interfaces for networking: Java, C++ and HTTP. After connecting to the network, the information sent by the server is downloaded and the port number and service address are parsed to see if they are updated. If there are updates, they are replaced. In order to reduce the development workload of SP, this paper adopts HTTP interface, which is not only easy to use and simple to manage, but also has high security and maintainability. 2.1 Memory Management Since mobile phones are communication tools, their memory is very limited. Generally speaking, the stack resources are only a few hundred KB...
You Might Like
Recommended ContentMore
Open source project More
Popular Components
Searched by Users
Just Take a LookMore
Trending Downloads
Trending ArticlesMore