High concurrent communication method and system using Proactor mode for intelligent lighting system
A lighting system and communication method technology, applied in transmission systems, inter-program communication, instruments, etc., can solve problems such as decreased communication efficiency, poor maintainability, and decreased select scanning efficiency, and achieves clear and concise calling, short development cycle, The effect of efficient communication
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0040] The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.
[0041] A high-concurrency communication method of the Proactor mode in a smart lighting system, establishes a communication class CmultiServer based on the kernel event notification mechanism Proactor mode, and the communication class CmultiServer encapsulates unified member variables and member methods for different operating systems; based on asynchronous, event-driven and callback The function provides an event loop and an I / O-based callback mechanism; the communication class CmultiServer is based on the IOCP thread and epoll thread that use the thread pool to handle the asynchronous I / O request mechanism.
[0042] The communication algorithm library is provided in the form of a C++ dynamic l...
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