Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-protocol communication framework and communication method based on Android system

A communication method and multi-protocol technology, applied in the field of network communication, can solve the problems of inability to quickly realize multiple protocol switching, slow processing speed of communication connection requests, and large time consumption, so as to improve fault tolerance, convenient and fast switching, and improve The effect of work efficiency

Inactive Publication Date: 2014-12-17
HUAZHONG UNIV OF SCI & TECH
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When there are 10,000 connection requests, 10,000 threads may be required to process them, which consumes a lot of resources and will cause blocking
Once blocking occurs, a large number of threads will frequently switch contexts, which will consume too much time.
In addition, in the existing Android system communication, multi-protocol concurrent requests are not systematically integrated, and it is impossible to quickly switch between multiple protocols, making the processing speed of communication connection requests slower

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
  • Multi-protocol communication framework and communication method based on Android system
  • Multi-protocol communication framework and communication method based on Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings.

[0027] Such as figure 1 As shown, the present invention provides a multi-protocol communication framework based on the Android system, including a sequentially connected NIO thread pool module, a NIO network connection module and a NIO data processing module.

[0028] Wherein, the NIO thread pool module creates a NIO communication thread according to at least one connection request received each time, and the NIO communication thread sends each connection request to the NIO network connection module. The design of the NIO thread pool module forms a non-blocking communication mode, so that the number of NIO communication threads processing connections and the number of connection requests do not need to be one-to-one, avoiding frequent context switching of a large number of threads, and being efficient , Quickly realize network communication, r...

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 provides to a multi-protocol communication framework and communication method based on an Android system and relates to the technical field of network communication of the Android system. The multi-protocol communication framework comprises an NIO thread pool module, an NIO network accessing module and an NIO data processing module which are connected sequentially. The NIO thread pool module establishes one NIO communication thread according to one received access request once; the NIO network accessing module establishes the corresponded accessing channel and data processing joint according to the type of each accessing request and transmits the data received by the data processing joint to the NIO data processing module; the NIO data processing module is used for processing the data transmitted by the NIO network accessing module. By the aid of the framework and method, multiple protocol concurrent requests can be supported, network communication can be implemented effectively and rapidly, and resource and time consumption is reduced.

Description

technical field [0001] The invention relates to the technical field of network communication of the Android system, and specifically relates to a multi-protocol communication framework and a communication method based on the Android system. Background technique [0002] Android is a new-generation intelligent platform, and more and more electronic terminals use Android as an operating system, so that the number of users of electronic terminals with the Android system is increasing day by day. In recent years, the Android system has become the leader of the trend of the times with its remarkable openness, rich hardware options (such as mobile phones or tablet computers), powerful network applications, and global IT companies supporting Android. More and more people are starting to use products such as mobile phones or tablet computers with Android system (the latest data shows that the market share of smartphones is 88%). However, the application technology of the Android sy...

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/06
Inventor 金鑫
Owner HUAZHONG UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products