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
CN109495484AActive Publication Date: 2019-03-19NARI TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NARI TECH CO LTD
Publication Date
2019-03-19

Smart Images

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

Abstract

The invention discloses a high concurrent communication method using a Proactor mode for an intelligent lighting system. The method comprises the steps of: establishing a communication class CmultiServer based on a kernel event notification mechanism Proactor mode, and the communication class CmultiServer encapsulating unified member variables and member methods; providing, according to asynchronous, event driven and callback functions, an event loop and an I / O based callback mechanism; providing an event loop and an I / O-based callback mechanism by using the asynchronous, the event-driven andthe programming style of the callback functions; the communication class encapsulating unified member variables and member methods for different operating systems; and logically sorting each device, designing a hash storage manner, and storing data efficiently and accurately. According to the high concurrent communication method and the system using the Proactor mode for the intelligent lighting system, Tcp connections can be established for thousands of data terminals; the status is maintained, the data is adopted and the control commands are issued to achieve high concurrent communication using Proactor mode of the interface communication layer of landscape lighting systems.
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