CN115065984B - Stability test method and system for landscape lighting control system - Google Patents

Stability test method and system for landscape lighting control system Download PDF

Info

Publication number
CN115065984B
CN115065984B CN202210703224.3A CN202210703224A CN115065984B CN 115065984 B CN115065984 B CN 115065984B CN 202210703224 A CN202210703224 A CN 202210703224A CN 115065984 B CN115065984 B CN 115065984B
Authority
CN
China
Prior art keywords
lamp control
program
data
gateway
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210703224.3A
Other languages
Chinese (zh)
Other versions
CN115065984A (en
Inventor
黄旭
王宜怀
丁可
施连敏
周瑞琦
徐建
奚圣鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Xuyao Photoelectric Technology Co ltd
Original Assignee
Jiangsu Xuyao Photoelectric Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Xuyao Photoelectric Technology Co ltd filed Critical Jiangsu Xuyao Photoelectric Technology Co ltd
Priority to CN202210703224.3A priority Critical patent/CN115065984B/en
Publication of CN115065984A publication Critical patent/CN115065984A/en
Application granted granted Critical
Publication of CN115065984B publication Critical patent/CN115065984B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/04Error control
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention provides a stability test method and a system of a landscape lighting control system, and relates to the field of system test, wherein the method comprises the following steps: by constructing a stability test platform of the landscape lighting control system and simultaneously carrying out file production on LED lighting programs in a target landscape area, a produced program file set can be generated, and the program files of each lamp control node are determined by carrying out file decomposition on each lamp control node. The data transmission stability in the light switching control process is detected, and meanwhile, the light control software of the client is tested. The system solves the technical problems that the system is difficult to detect the complete stability, and the control of the scene illumination is delayed, paralyzed and the like. The method achieves the technical effects of carrying out complete stability detection on the landscape lighting control system, ensuring stable data transmission and meeting the requirements of the market on the landscape lighting control system.

Description

Stability test method and system for landscape lighting control system
Technical Field
The invention relates to the field of system testing, in particular to a stability testing method and system of a landscape lighting control system.
Background
With the improvement of the living standard of people and the development of the tourism industry, the landscape lighting design is gradually developed into a system discipline. Landscape lighting is a night landscape that uses a variety of lighting means to create a bright and colorful scene. Along with the increasing speed of urban treatment in China, the requirements on urban supporting facilities are also higher and higher. The landscape lighting is characterized in that the environment is decorated by utilizing lamplight, the carriers of the landscape lighting are various, the landscape lighting comprises public places and public facilities such as urban roads, important buildings and urban gardens, the lamplight and the urban buildings are integrated by utilizing the LED lamp, and the landscape lighting is a visual feast integrating the social culture level and the art of a modern city. The lighting control system is utilized to digitally control the scenery lighting, so that the lighting control technology is developed towards the intelligent and technological direction, and the aim of people for good life is met.
However, in the prior art, when the landscape lighting control system is used for controlling the landscape lighting, it is difficult to perform complete stability detection on the system, so that the technical problems of delay, paralysis and other faults occur in the control of the landscape lighting.
Disclosure of Invention
The application provides a stability testing method and system of a landscape lighting control system, which are used for solving the technical problems that in the prior art, when the landscape lighting control system is used for controlling the landscape lighting, the system is difficult to carry out complete stability detection, so that faults such as delay and paralysis occur in the control of the landscape lighting.
In view of the above problems, the present application provides a method and a system for testing stability of a landscape lighting control system.
In a first aspect of the present application, there is provided a stability testing method of a landscape lighting control system, the method being applied to a stability testing system, the method comprising: building a stability test platform of a landscape lighting control system, wherein the stability test platform integrates a client, a wireless network transmission end and a gateway node control end; data acquisition is carried out on the LED lighting programs of the target landscape area, so as to determine layout program files of the target landscape area; creating the layout program files based on file creation software to generate a created program file set; decomposing the set of the program files by using an upper computer program of the gateway node control end and the distribution of each lamp control node, so as to determine the program files of each lamp control node; setting a play program list and play time based on the client; and sending the play program list and the play time to the gateway node control end through the wireless network transmission end, triggering the lamp control gateway, playing the program files of each lamp control node in synchronous time, and testing the stability of the landscape lighting control system.
In a second aspect of the present application, there is provided a stability testing system for a landscape lighting control system, the system comprising: the system comprises a platform building module, a stability testing platform, a network control module and a network control module, wherein the platform building module is used for building a stability testing platform of a landscape lighting control system, and the stability testing platform is integrated with a client, a wireless network transmission end and a gateway node control end; the data acquisition module is used for acquiring data of the LED lighting programs in the target landscape area and determining layout program files of the target landscape area; the file making module is used for making the layout program files based on file making software to generate a set of making program files; the program decomposition module is used for decomposing the set of the produced program files by utilizing the upper computer program of the gateway node control end and the distribution of each lamp control node so as to determine the program files of each lamp control node; the program setting module is used for setting a play program list and play time based on the client; the node control module is used for sending the play program list and the play time to the gateway node control end through the wireless network transmission end, triggering the lamp control gateway, playing the synchronous time of each lamp control node program file and testing the stability of the landscape lighting control system.
One or more technical schemes provided by the application have at least the following technical effects or advantages:
According to the method provided by the embodiment of the application, the stability test platform of the landscape lighting control system is built, meanwhile, the LED lighting programs in the target landscape area are subjected to file production, a produced program file set can be generated, and the program files of all the lamp control nodes are determined by carrying out file decomposition on all the lamp control nodes. The data transmission stability in the light switching control process is detected, and meanwhile, the light control software of the client is tested, so that the complete stability detection of the landscape lighting control system is achieved, the stable transmission of data is ensured, and the technical effect of market demand on the landscape lighting control system is met.
Drawings
FIG. 1 is a schematic flow chart of a method for testing the stability of a landscape lighting control system;
Fig. 2 is a schematic flow chart of a retransmission mechanism for setting a double-layer protection frame loss in a stability test method of a landscape lighting control system provided by the application;
fig. 3 is a schematic diagram of a remote procedure update frame loss retransmission mechanism in a stability test method of a landscape lighting control system provided by the application;
Fig. 4 is a schematic flow chart of a functional test for the distribution of each lamp control node in the stability test method of the landscape lighting control system provided by the application;
fig. 5 is a schematic structural diagram of a stability testing system of a landscape lighting control system according to the present application.
Detailed Description
The application provides a stability testing method and system of a landscape lighting control system, which are used for solving the technical problems that in the prior art, when the landscape lighting control system is used for controlling the landscape lighting, the system is difficult to carry out complete stability detection, so that faults such as delay and paralysis occur in the control of the landscape lighting.
Aiming at the technical problems, the technical scheme provided by the application has the following overall thought:
The method comprises the steps of building a stability test platform of a landscape lighting control system, wherein the stability test platform integrates a client, a wireless network transmission end and a gateway node control end; data acquisition is carried out on the LED lighting programs of the target landscape area, so as to determine layout program files of the target landscape area; creating the layout program files based on file creation software to generate a created program file set; decomposing the set of the program files by using an upper computer program of the gateway node control end and the distribution of each lamp control node, so as to determine the program files of each lamp control node; setting a play program list and play time based on the client; and sending the play program list and the play time to the gateway node control end through the wireless network transmission end, triggering the lamp control gateway, playing the program files of each lamp control node in synchronous time, and testing the stability of the landscape lighting control system.
Example 1
As shown in fig. 1, the present application provides a stability testing method of a landscape lighting control system, the method being applied to a stability testing system, the method comprising:
step S100: building a stability test platform of a landscape lighting control system, wherein the stability test platform integrates a client, a wireless network transmission end and a gateway node control end;
Step S200: data acquisition is carried out on the LED lighting programs of the target landscape area, so as to determine layout program files of the target landscape area;
Specifically, in order to solve the problems existing in the prior art: when the landscape lighting control system is used for controlling the landscape lighting, the system is difficult to perform complete stability detection, so that the problems of delay, paralysis and the like in the control of the landscape lighting are solved. The actual field application platform is built through software and hardware of the landscape lighting control system, and an actual test effect is given, so that complete stability detection of the landscape lighting control system is ensured, and stable transmission of data is ensured.
Specifically, the stability test platform is built based on the landscape lighting control system, wherein the landscape lighting control system is used for intelligently controlling the lighting of the target landscape area, and comprises lighting time control, light color switching and the like. The stability test platform integrates a client, a wireless network transmission end and a gateway node control end, wherein the client, the visual interpretation is an upper computer, can be understood as a client operation end supporting remote control management and program remote update, is used for issuing control instructions to the gateway node control end through the wireless network transmission end, and realizes remote control of a landscape area in a remote control mode, wherein the wireless network transmission end, the common TCP/IP transmission control protocol, realizes uninterrupted transmission of data, and the gateway node control end, the visual interpretation is a lower computer, is used for controlling a terminal of each lamp control node managed under jurisdiction, and further realizes instant control of each lamp control node on an LED illuminating lamp.
The target landscape area may be understood as a landscape lighting area of a park or a scenic spot, and the layout program file is a design of light change logic of the landscape lighting area, and may be specifically: the greening area of 100m 50m of a park is an actual scene, the greening area needs to be internally provided with LED lamps which slowly flash from 6 points at night, and then different lamplight effects including 7-color gradual change, sporadic flashing and three-color jumping lamp video effects are deduced every fifteen minutes.
Step S300: creating the layout program files based on file creation software to generate a created program file set;
Step S400: decomposing the set of the program files by using an upper computer program of the gateway node control end and the distribution of each lamp control node, so as to determine the program files of each lamp control node;
Specifically, after the lamplight change logic of a park is obtained, file production is needed, namely, the laid change logic is subjected to software design, so that the laid logic can be effectively operated, specifically, mr Player software can be utilized to produce corresponding program files according to the requirements of clients and the layout of LED lamps, specifically, mr Player software is LED lamp decoration system debugging software, the functions are powerful, simple and practical, user adaptation software can easily link an LED display screen, programs displayed by the LED display screen are rapidly managed and played, a plurality of play windows are supported to be edited and regulated on the same computer, and the method is very convenient. And the program file set is the animation file set which is formed by performing software on the well-laid light change logic. And the subsequent treatment is convenient.
After the overall light change animation file is produced, the light change animation file needs to be specific to the light change logic of each light control node. Therefore, the set of the program files can be decomposed by using the upper computer program of the gateway node control end and the distribution of each lamp control node, so as to determine the program files of each lamp control node. For example, a program making interface of the upper computer program may be opened, the made program file may be decomposed into corresponding terminal nodes, and the program file of each terminal node may be decomposed according to the condition that each terminal node controls the LED lamp. And opening a remote connection terminal interface of the upper computer, utilizing the remote connection lamp control gateway, then sending the program file of the node to the lamp control gateway through CAT.1, and then sending the program file to the appointed lamp control node through the WSN by the lamp control gateway, wherein the lamp control node can store the data after receiving the whole program data. The program files of each lamp control node are files received by a control node for directly controlling the LED lamp.
Step S500: setting a play program list and play time based on the client;
Step S600: and sending the play program list and the play time to the gateway node control end through the wireless network transmission end, triggering the lamp control gateway, playing the program files of each lamp control node in synchronous time, and testing the stability of the landscape lighting control system.
Further, step S600 includes:
Step S610: setting a DMX512 signal transmission protocol based on the gateway node control end;
Step S620: setting a TCP/IP network transmission protocol based on the wireless network transmission terminal;
step S630: and setting a double-layer protection frame loss retransmission mechanism between the TCP/IP network transmission protocol and the DMX512 signal transmission protocol to ensure the stability of the received data of the lamp control gateway.
As shown in fig. 2, step S630 includes:
step S631: obtaining sending frame data of the wireless network transmission end, wherein the sending frame data is embedded with a CRC check code field;
step S632: transmitting the transmission frame data to the gateway node control end, and performing CRC (cyclic redundancy check) on the transmission frame data to obtain a check result;
step S633: according to the verification result, if the verification is successful, the gateway node control end feeds back a confirmation frame to the wireless network transmission end;
Step S634: based on the confirmation frame, the wireless network transmission end sends the next frame data;
step S635: the gateway node control end performs data management on all received frame data and stores the frame data into a BIOS program, wherein the frame data is checked successfully;
step S636: after receiving all frame data through the BIOS program, uniformly checking the updated data frames of all frame data to obtain updated frame checking results;
Step S637: and according to the updated frame verification result, if frame loss data exists, the frame loss data is transmitted back to the wireless network transmission end for retransmission verification.
Specifically, after each light control node program file is determined, it may be subjected to stability detection of port transmission of data. Firstly, a play program list and play time can be set based on the client, wherein the play program list is the manufactured light change animation file, and the play time covers the starting time, the ending time, the time interval for switching each light change in the middle, the duration time of each light and the like of the light change in the landscape area. And then, the broadcasting program list and the broadcasting time are sent to the gateway node control end through the wireless network transmission end, a lamp control gateway is triggered, synchronous time broadcasting is carried out on the program files of all the lamp control nodes, and stability testing is carried out on the landscape lighting control system. In particular, since the data transmission protocols and the lamp control node transmission protocols common to the wireless network transmission end are different, the gateway is required to perform protocol conversion when data transmission is performed.
When the lamp control gateway is triggered to perform cross-network data transmission, a DMX512 signal transmission protocol is set at the gateway node control end to perform signal transmission, and a TCP/IP network transmission protocol is set at the wireless network transmission end, wherein the DMX512 is an internationally-used high-speed data output protocol, and an rs485 hardware circuit is adopted and is different from the general rs485 communication. Firstly, adopting unidirectional communication; secondly, the DMX512 communication needs to transmit low-level data of 88us as a start frame head of a packet of data, and a receiving party has a gap detection circuit and needs to find the start frame head of the data without communication verification; thirdly, the fixed baud rate of the DMX512 communication is 250kbps, and the communication protocol is open, so that the efficiency and the reliability are high, the DMX512 compatible communication interface is widely applied in the traditional stage industry, and the DMX512 compatible communication interface is the default choice in a high-power led lighting control system. The Transmission Control Protocol (TCP) is a connection-oriented, reliable, byte stream based transport layer communication protocol. TCP is intended to accommodate a layered protocol hierarchy that supports multiple network applications. Reliable communication services are provided by means of TCP between pairs of processes in host computers connected to different but interconnected computer communication networks. TCP assumes that it can obtain simple, possibly unreliable datagram services from lower level protocols.
Furthermore, a double-layer protection frame loss retransmission mechanism can be set between the TCP/IP network transmission protocol and the DMX512 signal transmission protocol, so that the stability of the received data of the lamp control gateway is ensured. In order to ensure the stability of the received data of the lamp control gateway, a mechanism of frame loss retransmission is added to CAT.1 transmission. Especially, when the program is updated, if a bit of error occurs in the transmission process, the program may fail to update, so that a double-layer protection frame loss retransmission mechanism is adopted when the program is updated, and the stability of data transmission is ensured. As shown in fig. 3, a schematic diagram of a remote procedure update frame loss retransmission mechanism is shown.
The first layer of protection is that each frame of data has a response mechanism. The mechanism is updated based on serial port program, and has CRC check code field in the data of each frame, and the lower computer will perform CRC check after receiving the data and send back one confirmation frame to the upper computer program after successful check. The upper computer waits for the acknowledgement frame sent by the lower computer to send the next frame of data, and if the upper computer receives not acknowledgement information but retransmission information or does not receive a reply for a long time, retransmission is performed. The CRC is a cyclic redundancy check code, which is the most commonly used error checking check code in the field of data communication, and is characterized in that the lengths of an information field and a check field can be arbitrarily selected. Cyclic Redundancy Check (CRC) is a data transmission error detection function that performs polynomial computation on data and attaches the resulting result to the back of the frame, and the receiving device also performs a similar algorithm to ensure the correctness and integrity of the data transmission. The basic idea is to first append a number (this is the check code used for checking, but note that the number here is also a binary sequence, the same applies below) after the frame to be transmitted, and generate a new frame to be transmitted to the receiving end. Of course, this additional number is not arbitrary, and is intended to enable the new frame generated to be divided by a certain number selected jointly by the sender and the receiver (note that here, instead of directly using binary division, a so-called "modulo-2 division") is used. Upon arrival at the receiving end, the new received frame is divided (again using "modulo 2 division") by the selected divisor. Since the "discard" process (i.e., the integer division) is performed by appending a number before the sender sends the data frame, the result should be no remainder. If there is a remainder, this indicates that the frame has an error in the transmission.
The second layer of protection is that after all data frames are received, but before the BIOS program is updated, a check of all updated data frames needs to be performed once. If the frame is lost, the lost frame is sent to the upper computer to request retransmission, then the verification is carried out, and the BIOS can not update the program until the verification is successful. After all copying and inserting frame data, before the operation of updating command, the checking operation of the whole updating data frame is needed. Wherein BIOS is an abbreviation of English "Basic Input Output System", and the Chinese name is "basic input output System" after being translated. It should be referred to as ROM-BIOS, meaning read-only memory basic input output system. It is a set of programs solidified on a ROM chip on the main board in the computer, and it can save the most important basic input and output programs of computer, system setting information, power-on self-checking program and system start-up bootstrap program. Its main function is to provide the lowest, most direct hardware setup and control for the computer. The BIOS setting program is stored in the BIOS chip, and can be set only when the BIOS chip is started. The BIOS setting program is used to manage and set the basic input/output system of skill, so that the system operates in best state and the BIOS setting program may be used to eliminate system fault or diagnose system problem. By adopting a double-layer protection frame loss retransmission mechanism, the stability of data transmission is ensured, and therefore, the optimization of the communication stability of the lamp control gateway and the cloud is realized.
Further, the present application further includes step S700:
Step S710: constructing a network topology structure based on the distribution of the lamp control gateway and each lamp control node;
Step S720: and carrying out functional tests on the distribution of each lamp control node by utilizing the network topology structure and the upper computer program, wherein the functional tests comprise information display modification, play state setting, play time reservation and video play list reservation of the lamp control node.
As shown in fig. 4, step S720 includes:
Step S721: the playing time is subjected to feature classification to determine absolute time playing and relative time playing;
Step S722: acquiring the hardware local time among the lamp control nodes by utilizing the local hardware clock of the lamp control nodes and the time synchronization request initiated by the lamp control gateway;
Step S723: judging whether the hardware local time among the lamp control nodes is consistent with the set playing time;
Step S724: if the hardware local time among the lamp control nodes is consistent with the set playing time, the absolute time playing of the playing program list is realized;
step S725: setting a delay time interval by using the lamp control gateway;
step S726: setting playing time and the delay time interval through the receiving of the lamp control gateway, and calculating the relative playing time of the lamp control gateway;
Step S727: and sending the relative playing time to the lamp control node to realize the relative time playing of the playing program list.
Specifically, in addition to the above-mentioned test for the stability of data transmission of the system, the test needs to be performed on the client light control software. Because the system adopts the lamp control gateway to control the network topology structure of all the lamp control nodes, the management and control of the nodes are connected with the lamp control gateway through an upper computer program, and then the lamp control nodes are managed by forwarding data through the lamp control gateway. Because the microcontroller and the CAT.1 module communicate through the serial port, the essence of both connection modes is that the upper computer program is connected with the lamp control gateway through the serial port. Furthermore, the network topology and the upper computer program can be utilized to perform functional tests on the distribution of the light control nodes, wherein the functional tests comprise information display modification, play state setting, play time reservation and video play list reservation of the light control nodes.
Firstly, for the display and modification of node information, after the upper computer is connected with the lamp control gateway, the upper computer program can indirectly communicate with the appointed lamp control node through the lamp control gateway, and then the state (including the local time of node hardware, hardware address, software address and playing program) of the node can be read, and the state information is displayed. The node information can be modified by the upper computer and then sent to the appointed node. However, when the hardware and software addresses of the nodes are modified, the nodes can not be connected through the original lamp control gateway after the hardware addresses are modified, and if the original gateway is used, the hardware addresses of the lamp control gateway are also required to be changed into corresponding hardware addresses. The software address may not modify the repetition to prevent the scrambling of the data.
Secondly, for setting the playing state of the lamp control node and reserving playing, since the playing state of the lamp control node is the most basic function of the system, the states of all the lamp control nodes need to be set by one key to check whether the lamp control node works normally. A complete landscape lighting control system also needs to be capable of reserving the playing time of the lamp, and the playing time of the reserved lamp can be divided into absolute time and relative time. The absolute time is reserved through the local hardware clock of the node, and because the time synchronization request is initiated through the lamp control gateway, the hardware local time of each node is approximately the same, and when the hardware local time is the same as the set playing time, the playing is started at the same time, so that the effect of synchronous playing is achieved; the relative time is delayed by setting the time after the lamp control gateway receives the play time setting data, and then the lamp control gateway calculates the play time and sends the play time to all the lamp control nodes to realize synchronous play.
Thirdly, for updating the lamp control node video play list, the traditional landscape lighting control system adopts the SD card to store video play files, and the system adopts the internal Flash of the chip to store the video files, so that the SD card is not required to be pulled out and plugged in a computer to update when the traditional landscape lighting control system changes the video files, and only the lamp control gateway is connected through an upper computer program to send video play data to each node in a wireless mode, thereby reducing the later maintenance cost of the system. Comprehensive, the test of the client light control software is realized.
Example two
Based on the same inventive concept as the stability testing method of a landscape lighting control system in the foregoing embodiments, as shown in fig. 5, the present application provides a stability testing system of a landscape lighting control system, wherein the system includes:
the system comprises a platform building module, a stability testing platform, a network control module and a network control module, wherein the platform building module is used for building a stability testing platform of a landscape lighting control system, and the stability testing platform is integrated with a client, a wireless network transmission end and a gateway node control end;
The data acquisition module is used for acquiring data of the LED lighting programs in the target landscape area and determining layout program files of the target landscape area;
the file making module is used for making the layout program files based on file making software to generate a set of making program files;
The program decomposition module is used for decomposing the set of the produced program files by utilizing the upper computer program of the gateway node control end and the distribution of each lamp control node so as to determine the program files of each lamp control node;
the program setting module is used for setting a play program list and play time based on the client;
The node control module is used for sending the play program list and the play time to the gateway node control end through the wireless network transmission end, triggering the lamp control gateway, playing the synchronous time of each lamp control node program file and testing the stability of the landscape lighting control system.
Further, the system further comprises:
A signal transmission protocol setting unit, configured to set a DMX512 signal transmission protocol based on the gateway node control end;
a network transmission protocol setting unit, configured to set a TCP/IP network transmission protocol based on the wireless network transmission end;
And the retransmission mechanism setting unit is used for setting a double-layer protection frame loss retransmission mechanism between the TCP/IP network transmission protocol and the DMX512 signal transmission protocol to ensure the stability of the received data of the lamp control gateway.
Further, the system further comprises:
a data obtaining unit, configured to obtain transmission frame data of the wireless network transmission end, where the transmission frame data is embedded with a CRC check code field;
a data checking unit, configured to send the sending frame data to the gateway node control end, and perform CRC check on the sending frame data to obtain a check result;
The result feedback unit is used for feeding back a confirmation frame to the wireless network transmission end by the gateway node control end if the verification is successful according to the verification result;
and the data transmitting unit is used for transmitting the next frame data by the wireless network transmitting end based on the confirmation frame.
Further, the system further comprises:
The data management unit is used for carrying out data management on all received frame data by the gateway node control end and storing the frame data into a BIOS program, wherein the frame data are checked successfully;
The updating data verification unit is used for uniformly verifying the updating data frames of all frame data after the BIOS program receives all frame data, and obtaining updating frame verification results;
And the retransmission checking unit is used for transmitting the frame loss data back to the wireless network transmission end to perform retransmission checking if the frame loss data exist according to the updated frame checking result.
Further, the system further comprises:
The structure construction unit is used for constructing a network topological structure based on the distribution of the lamp control gateway and each lamp control node;
The node testing unit is used for carrying out functional tests on the distribution of the lamp control nodes by utilizing the network topological structure and the upper computer program, wherein the functional tests comprise information display modification, play state setting, play time reservation and video play list reservation of the lamp control nodes.
Further, the system further comprises:
the time classification unit is used for determining absolute time playing and relative time playing by classifying the characteristics of the playing time;
The time acquisition unit is used for acquiring the hardware local time among the lamp control nodes by utilizing the local hardware clock of the lamp control nodes and the time synchronization request initiated by the lamp control gateway;
The data judging unit is used for judging whether the hardware local time among the lamp control nodes is consistent with the set playing time;
and the absolute playing unit is used for playing the absolute time of the play program list if the hardware local time among the lamp control nodes is consistent with the set playing time.
Further, the system further comprises:
the time setting unit is used for setting a delay time interval by utilizing the lamp control gateway;
The time calculation unit is used for setting the playing time and the delay time interval through the receiving of the lamp control gateway and calculating the relative playing time of the lamp control gateway;
and the relative playing unit is used for sending the relative playing time to the lamp control node to realize the relative time playing of the playing program list.
In summary, the stability testing method and system for the landscape lighting control system have the following advantages:
By constructing a stability test platform of the landscape lighting control system and simultaneously carrying out file production on LED lighting programs in a target landscape area, a produced program file set can be generated, and the program files of each lamp control node are determined by carrying out file decomposition on each lamp control node. The data transmission stability in the light switching control process is detected, and meanwhile, the light control software of the client is tested, so that the complete stability detection of the landscape lighting control system is achieved, the stable transmission of data is ensured, and the technical effect of market demand on the landscape lighting control system is met.
Based on the above-mentioned embodiments of the present invention, any improvements and modifications to the present invention without departing from the principles of the present invention should fall within the scope of the present invention.

Claims (6)

1. A method of testing stability of a landscape lighting control system, the method being applied to a stability testing system, the method comprising:
Building a stability test platform of a landscape lighting control system, wherein the stability test platform integrates a client, a wireless network transmission end and a gateway node control end;
Data acquisition is carried out on the LED lighting programs of the target landscape area, so as to determine layout program files of the target landscape area;
creating the layout program files based on file creation software to generate a created program file set;
Decomposing the set of the program files by using an upper computer program of the gateway node control end and the distribution of each lamp control node, so as to determine the program files of each lamp control node;
setting a play program list and play time based on the client;
the broadcasting program list and the broadcasting time are sent to the gateway node control end through the wireless network transmission end, a lamp control gateway is triggered, synchronous time broadcasting is carried out on the program files of all the lamp control nodes, and stability testing is carried out on the landscape lighting control system;
wherein, trigger lamp accuse gateway includes:
setting a DMX512 signal transmission protocol based on the gateway node control end;
setting a TCP/IP network transmission protocol based on the wireless network transmission terminal;
setting a double-layer protection frame loss retransmission mechanism between the TCP/IP network transmission protocol and the DMX512 signal transmission protocol to ensure the stability of received data of the lamp control gateway;
The setting a double-layer protection frame loss retransmission mechanism comprises the following steps:
obtaining sending frame data of the wireless network transmission end, wherein the sending frame data is embedded with a CRC check code field;
transmitting the transmission frame data to the gateway node control end, and performing CRC (cyclic redundancy check) on the transmission frame data to obtain a check result;
according to the verification result, if the verification is successful, the gateway node control end feeds back a confirmation frame to the wireless network transmission end;
and based on the confirmation frame, the wireless network transmission end sends the next frame data.
2. The method of claim 1, wherein the method comprises:
The gateway node control end performs data management on all received frame data and stores the frame data into a BIOS program, wherein the frame data is checked successfully;
After receiving all frame data through the BIOS program, uniformly checking the updated data frames of all frame data to obtain updated frame checking results;
And according to the updated frame verification result, if frame loss data exists, the frame loss data is transmitted back to the wireless network transmission end for retransmission verification.
3. The method according to claim 2, wherein the method comprises:
constructing a network topology structure based on the distribution of the lamp control gateway and each lamp control node;
And carrying out functional tests on the distribution of each lamp control node by utilizing the network topology structure and the upper computer program, wherein the functional tests comprise information display modification, play state setting, play time reservation and video play list reservation of the lamp control node.
4. The method of claim 3, wherein the play time reservation comprises:
the playing time is subjected to feature classification to determine absolute time playing and relative time playing;
Acquiring the hardware local time among the lamp control nodes by utilizing the local hardware clock of the lamp control nodes and the time synchronization request initiated by the lamp control gateway;
judging whether the hardware local time among the lamp control nodes is consistent with the set playing time;
and if the hardware local time among the lamp control nodes is consistent with the set playing time, realizing the absolute time playing of the playing program list.
5. The method of claim 4, wherein the relative time playing comprises:
Setting a delay time interval by using the lamp control gateway;
Setting playing time and the delay time interval through the receiving of the lamp control gateway, and calculating the relative playing time of the lamp control gateway;
And sending the relative playing time to the lamp control node to realize the relative time playing of the playing program list.
6. A stability testing system for a landscape lighting control system, the system comprising:
the system comprises a platform building module, a stability testing platform, a network control module and a network control module, wherein the platform building module is used for building a stability testing platform of a landscape lighting control system, and the stability testing platform is integrated with a client, a wireless network transmission end and a gateway node control end;
The data acquisition module is used for acquiring data of the LED lighting programs in the target landscape area and determining layout program files of the target landscape area;
the file making module is used for making the layout program files based on file making software to generate a set of making program files;
The program decomposition module is used for decomposing the set of the produced program files by utilizing the upper computer program of the gateway node control end and the distribution of each lamp control node so as to determine the program files of each lamp control node;
the program setting module is used for setting a play program list and play time based on the client;
The node control module is used for sending the play program list and the play time to the gateway node control end through the wireless network transmission end, triggering a lamp control gateway, playing the synchronous time of each lamp control node program file, and testing the stability of the landscape lighting control system;
the node control module further includes:
a signal transmission protocol setting unit, configured to set a DMX512 signal transmission protocol based on the gateway node control end;
A network transmission protocol setting unit, configured to set a TCP/IP network transmission protocol based on the wireless network transmission end;
A retransmission mechanism setting unit, configured to set a double-layer protection frame loss retransmission mechanism between the TCP/IP network transmission protocol and the DMX512 signal transmission protocol, so as to ensure stability of received data of the lamp control gateway;
a data obtaining unit, configured to obtain transmission frame data of the wireless network transmission end, where the transmission frame data is embedded with a CRC check code field;
a data checking unit, configured to send the sending frame data to the gateway node control end, and perform CRC check on the sending frame data to obtain a check result;
The result feedback unit is used for feeding back a confirmation frame to the wireless network transmission end by the gateway node control end if the verification is successful according to the verification result;
and the data transmitting unit is used for transmitting the next frame data by the wireless network transmitting end based on the confirmation frame.
CN202210703224.3A 2022-06-21 2022-06-21 Stability test method and system for landscape lighting control system Active CN115065984B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210703224.3A CN115065984B (en) 2022-06-21 2022-06-21 Stability test method and system for landscape lighting control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210703224.3A CN115065984B (en) 2022-06-21 2022-06-21 Stability test method and system for landscape lighting control system

Publications (2)

Publication Number Publication Date
CN115065984A CN115065984A (en) 2022-09-16
CN115065984B true CN115065984B (en) 2024-05-17

Family

ID=83201510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210703224.3A Active CN115065984B (en) 2022-06-21 2022-06-21 Stability test method and system for landscape lighting control system

Country Status (1)

Country Link
CN (1) CN115065984B (en)

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1303550A (en) * 1998-03-26 2001-07-11 三菱电机株式会社 Spread spectrum communication device and spectrum communication method
WO2005103691A1 (en) * 2004-04-21 2005-11-03 Pamgene B.V. Device for sensing of motile living organisms and uses thereof
DE102007060717A1 (en) * 2006-12-22 2008-06-26 Detroit Diesel Corp., Detroit A method of synchronizing error code memory of at least a first module and a second module
CN101699923A (en) * 2009-11-11 2010-04-28 广州中大中鸣科技有限公司 Lighting control system based on DMX512 protocol and method thereof
CN201491321U (en) * 2009-07-31 2010-05-26 深圳市通普科技有限公司 DMX decoder address setting system
CN101902772A (en) * 2009-05-25 2010-12-01 北京时代凌宇科技有限公司 Method and system for fusion of multi-source monitoring data based on heterogeneous clustering wireless sensor network
CN102231658A (en) * 2011-06-09 2011-11-02 山东电力集团公司 Safe communication method of internetwork isolation apparatus
CN102611755A (en) * 2012-03-27 2012-07-25 杭州电子科技大学 Communication method between road lamp and remote equipment in road lamp control system
CN102740558A (en) * 2012-05-31 2012-10-17 深圳市致烨科技有限公司 Method for controlling urban lighting facility based on intelligent terminal, intelligent terminal and system
CN102802319A (en) * 2012-08-29 2012-11-28 浙江朗世光电工程有限公司 Method and system for intelligent lighting control
CN104080227A (en) * 2013-03-28 2014-10-01 徐成琦 Street lamp detection and control system based on wireless sensor network
CN108235537A (en) * 2017-12-28 2018-06-29 深圳市银河风云网络系统股份有限公司 A kind of illumination control method and system
CN110850843A (en) * 2019-11-08 2020-02-28 北京海纳川汽车部件股份有限公司 Car lamp control simulation test method and system
CN111345053A (en) * 2017-11-17 2020-06-26 昕诺飞控股有限公司 System and method for performing wireless network intrusion detection throughout a building via connected luminaires
CN111610005A (en) * 2020-06-05 2020-09-01 深圳爱克莱特科技股份有限公司 Lamp testing method
CN111682925A (en) * 2020-06-05 2020-09-18 四川艾贝斯科技发展有限公司 Data acquisition and processing method for intelligent street lamp
CN111693252A (en) * 2020-06-05 2020-09-22 深圳爱克莱特科技股份有限公司 Lamp test control system and lamp test method
WO2021089348A1 (en) * 2019-11-04 2021-05-14 Signify Holding B.V. Configuring a bridge with groups after addition of said bridge to a lighting system
EP3866447A1 (en) * 2013-05-13 2021-08-18 Veridium IP Limited System and method for authorizing access to access-controlled environments
CN113328802A (en) * 2021-05-27 2021-08-31 北方工业大学 OCC-VLC heterogeneous networking system and operation method thereof
CN113709793A (en) * 2021-08-10 2021-11-26 广东睿住智能科技有限公司 Distribution network testing method and system of intelligent lamp

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054165A1 (en) * 2015-09-30 2017-04-06 华为技术有限公司 Interactive device selection method and apparatus

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1303550A (en) * 1998-03-26 2001-07-11 三菱电机株式会社 Spread spectrum communication device and spectrum communication method
WO2005103691A1 (en) * 2004-04-21 2005-11-03 Pamgene B.V. Device for sensing of motile living organisms and uses thereof
DE102007060717A1 (en) * 2006-12-22 2008-06-26 Detroit Diesel Corp., Detroit A method of synchronizing error code memory of at least a first module and a second module
CN101902772A (en) * 2009-05-25 2010-12-01 北京时代凌宇科技有限公司 Method and system for fusion of multi-source monitoring data based on heterogeneous clustering wireless sensor network
CN201491321U (en) * 2009-07-31 2010-05-26 深圳市通普科技有限公司 DMX decoder address setting system
CN101699923A (en) * 2009-11-11 2010-04-28 广州中大中鸣科技有限公司 Lighting control system based on DMX512 protocol and method thereof
CN102231658A (en) * 2011-06-09 2011-11-02 山东电力集团公司 Safe communication method of internetwork isolation apparatus
CN102611755A (en) * 2012-03-27 2012-07-25 杭州电子科技大学 Communication method between road lamp and remote equipment in road lamp control system
CN102740558A (en) * 2012-05-31 2012-10-17 深圳市致烨科技有限公司 Method for controlling urban lighting facility based on intelligent terminal, intelligent terminal and system
CN102802319A (en) * 2012-08-29 2012-11-28 浙江朗世光电工程有限公司 Method and system for intelligent lighting control
CN104080227A (en) * 2013-03-28 2014-10-01 徐成琦 Street lamp detection and control system based on wireless sensor network
EP3866447A1 (en) * 2013-05-13 2021-08-18 Veridium IP Limited System and method for authorizing access to access-controlled environments
CN111345053A (en) * 2017-11-17 2020-06-26 昕诺飞控股有限公司 System and method for performing wireless network intrusion detection throughout a building via connected luminaires
CN108235537A (en) * 2017-12-28 2018-06-29 深圳市银河风云网络系统股份有限公司 A kind of illumination control method and system
WO2021089348A1 (en) * 2019-11-04 2021-05-14 Signify Holding B.V. Configuring a bridge with groups after addition of said bridge to a lighting system
CN110850843A (en) * 2019-11-08 2020-02-28 北京海纳川汽车部件股份有限公司 Car lamp control simulation test method and system
CN111610005A (en) * 2020-06-05 2020-09-01 深圳爱克莱特科技股份有限公司 Lamp testing method
CN111682925A (en) * 2020-06-05 2020-09-18 四川艾贝斯科技发展有限公司 Data acquisition and processing method for intelligent street lamp
CN111693252A (en) * 2020-06-05 2020-09-22 深圳爱克莱特科技股份有限公司 Lamp test control system and lamp test method
CN113328802A (en) * 2021-05-27 2021-08-31 北方工业大学 OCC-VLC heterogeneous networking system and operation method thereof
CN113709793A (en) * 2021-08-10 2021-11-26 广东睿住智能科技有限公司 Distribution network testing method and system of intelligent lamp

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Chao Zhang.A 30-frames/s,252*144 SPAD Flash LiDAR with 1728 Dual-Clock 48.8-ps TDCs,and Pixel-WIse Integrated Histogramming.《IEEE》.2018,全文. *
基于DSP的景观照明控制系统的研究;朱晓雨;《中国优秀硕士论文全文数据库》;20160715;全文 *
照明系统调试方案;wangwuqiang999;《原创力文档》;20211207;全文 *
路灯节能控制系统设计及其软件实现;王宜怀;《计算机工程》;20120205;全文 *

Also Published As

Publication number Publication date
CN115065984A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
CN106163017B (en) LED landscape urban architecture facade cluster light Internet control systems
WO2015039581A1 (en) Positioning method based on visible light source, mobile terminal and controller
CN110557448A (en) Control method and system for smart home
CN108259215A (en) A kind of device management method and device
US20140244810A1 (en) Network configuration system based on location and configuration method thereof
CN115065984B (en) Stability test method and system for landscape lighting control system
CN109413094A (en) Aerospace data Transmission system based on HS-ADIX network
WO2023029815A1 (en) Ad hoc network method and ad hoc network system
CN105425700A (en) Remote monitoring system for urban fire control
CN109379239B (en) Method and device for configuring access switch in OpenStack environment
CN114915671A (en) NB-IoT-based remote upgrading method for street lamp controller
CN111295023B (en) timeline city level light show deduction system and method
CN111740882B (en) Method for automatically checking configuration file of line protection measurement and control device
CN103442305A (en) Inter-cut control method and cluster-type playing control system and method
CN108934024A (en) The optimization method of tree network based on 6LoWPAN wireless sensor network
KR100870733B1 (en) Remote controller and control method of lighting apparatus
CN110808980A (en) Network distribution method and system of intelligent lamp, intelligent lamp and storage medium
CN101968645A (en) Automatic information publishing system for landscape lamps and method thereof
Su et al. Augmenting film and video footage with sensor data
CN1750724A (en) Control system and method for light emitting network
CN113132988B (en) Wireless networking link access method of street lamp controller based on token verification
CN101489338B (en) Wireless communication method and apparatus for LED system
CN101052258B (en) Lamp light controlled network and control method
CN206042047U (en) Silver iodide cigarette stove remote control device
CN114071840B (en) Remote control system and method for urban lamps

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant