Multi-thread message processing method based on netty framework
A framework and message technology, applied in transmission systems, electrical components, etc., can solve problems such as message blocking, reducing server system performance, limiting netty's asynchronous multiprocessing message capability, etc., to achieve the effect of improving effective utilization and processing speed.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Embodiment 1 of the present invention discloses a multi-threaded message processing method based on the netty framework, and the method is applied to a udp client and a udp server built based on netty; for example, a multi-unmanned aerial vehicle collaborative system platform, java background as a server terminal, connect the UAV plug-in through the UDP protocol and receive various message data information of the drone, and then use the polling netty internal multi-thread pool to analyze and process the message, so that the single client corresponding to the single client in the netty framework The thread work mode becomes multi-thread work mode, so as to achieve the control of the UAV cluster.
[0026] Such as figure 1 As shown, the specific steps are as follows:
[0027] S1: Create an event loop group through eventLoopGroup, as an internal thread of the netty framework, used to receive multiple client connections and process messages sent by the client;
[0028] Cre...
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