Method for realizing sharing of Socket communication service on Android platform
A technology of communication and service components, applied in the field of communication, can solve problems that are not conducive to business expansion and code sharing, waste Socket resources, affect user operation response, etc., and achieve the goal of realizing program running space, improving application range, and improving operating efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0023] The present invention will be further described in conjunction with the accompanying drawings and specific embodiments.
[0024] like Figure 1-Figure 4 Shown, the present invention specifically comprises the following steps:
[0025] The steps of creating a Socket management module, encapsulating all operations of the network layer as interfaces, including the establishment and connection of Sockets, the creation of intermediate pipeline data streams, and the receiving and sending of Socket network data;
[0026] Create an independent thread to run the Socket management module, communicate messages between threads through Handler, and use thread message queues to manage multiple service requests;
[0027] The step of encapsulating the Socket management module as a service component of the system, the service component provides interfaces for service creation, destruction, binding and unbinding, so as to manage the shared use of the Socket service by multiple callers; ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com