A high-concurrency communication method and system for proactor mode in a smart lighting system

A lighting system and communication method technology, applied in transmission systems, inter-program communication, multi-programming devices, etc., can solve problems such as decreased communication efficiency, poor maintainability, decreased select scanning efficiency, etc., and achieves clear and concise calling and resources. The effect of instant recycling and short development cycle
CN109495484BActive Publication Date: 2021-04-20NARI TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
NARI TECH CO LTD
Publication Date
2021-04-20

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a high-concurrency communication method using Proactor mode in a smart lighting system, establishes a communication class CmultiServer based on a kernel event notification mechanism Proactor mode, and the communication class CmultiServer encapsulates unified member variables and member methods; based on asynchronous, event-driven and Callback function, providing event loop and I / O-based callback mechanism; using asynchronous, event-driven, callback function programming style, providing event loop and I / O-based callback mechanism. This class encapsulates uniform member variables and member methods for different operating systems; logically sorts each device, designs Hash storage methods, and stores data efficiently and accurately. It can establish Tcp connection to thousands of data terminals, maintain the status, take data and issue control commands, and realize high concurrent communication in the Proactor mode of the interface communication layer of the landscape lighting system.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of landscape lighting control systems and is applied to landscape lighting systems. Background technique

[0002] With the development of urbanization and the construction of regional lighting such as landmark buildings and urban landscape belts, the urban landscape lighting control system has developed rapidly, from the lighting control of a single building to the integrated lighting control of the park. The integrated control of landscape lighting in natural scenery belts (such as along the Pearl River) is also under construction. The traditional lighting system facing a single building cannot meet the needs. The new landscape lighting system combines three-remote power distribution monitoring and landscape lighting control into one. It adopts a three-layer control architecture of master control, sub-control, and equipment to collect all information in the landscape area in real time. Building lighting and energy c...

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