CN110602828A - LED light grouping synchronization method and system, synchronization terminal and storage medium - Google Patents
LED light grouping synchronization method and system, synchronization terminal and storage medium Download PDFInfo
- Publication number
- CN110602828A CN110602828A CN201910902943.6A CN201910902943A CN110602828A CN 110602828 A CN110602828 A CN 110602828A CN 201910902943 A CN201910902943 A CN 201910902943A CN 110602828 A CN110602828 A CN 110602828A
- Authority
- CN
- China
- Prior art keywords
- data
- controller
- grouping
- packet
- synchronization
- 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.)
- Pending
Links
Landscapes
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention relates to a method and a system for grouping and synchronizing LED (light emitting diode) light, a synchronizing terminal and a storage medium, wherein the method comprises the following steps: acquiring controller grouping data and a lighting arrangement diagram; acquiring image frames, and dividing image working data of the image frames according to controller grouping data and a lighting layout to obtain grouped image working data packets corresponding to each controller group; and transmitting each grouped picture working data packet to a corresponding controller group. The image frames are divided according to the controller groups, each controller only needs to receive and process data grouped by the controller to which the controller belongs, compared with the existing method that all controllers send data in a broadcasting mode, the data volume of a single data packet is greatly reduced, the time for each controller to receive and process the data is reduced, the problems of frame delay and asynchronization caused by the fact that the controllers receive and process the data with large data volume are avoided, and the synchronous display of the same frame of images of the LED lamp strips controlled by all synchronous terminals can be effectively guaranteed.
Description
Technical Field
The invention relates to the field of LED light control, in particular to a method and a system for LED light grouping synchronization, a synchronization terminal and a storage medium.
Background
Because the LED has the characteristics of low energy consumption, high brightness, high refresh rate and the like, the LED is widely applied to the fields of display, illumination, backlight sources and the like. In landscape lighting and urban lightening, the LED can bring comfortable visual perception and good artistic aesthetic feeling, and is rapidly developed in recent years.
Typically, a city lighting project is very large in scale and widely distributed, and may include tens of thousands of square meters, or even hundreds of thousands of square meters of exterior wall facades. In the urban lighting project of such scale, generally, the display of the whole display picture can be realized by dividing the urban lighting project into a plurality of relatively independent control subsystems and performing combined synchronous control on the control subsystems. Each control subsystem comprises a host and a plurality of controllers. For cost and wiring reasons, the control subsystem generally communicates in a broadcast manner, in which the host packs data of all the controllers into one data packet and broadcasts the data packet to all the controllers. Each controller receives data of virtually all controllers, but only a portion of the data corresponding to itself.
When the control subsystem is loaded with a lot of data, the number of controllers is increased correspondingly, and the number of broadcasted data packets is also increased, which causes the time consumed by each controller for receiving and processing the data packets to be increased sharply, and causes the problems of picture blockage and sub-area picture asynchronization. The requirement of users for the lighting engineering display effect is higher and higher, and how to ensure that each control subsystem plays the pictures of the same frame at the same time is a problem to be solved urgently.
Disclosure of Invention
Therefore, it is necessary to provide a method and a system for synchronizing LED light packets, a synchronization terminal, and a storage medium for solving the problems of picture stutter and picture asynchronism existing in the existing urban lighting control system.
An embodiment of the present invention provides an LED light packet synchronization method, used for data transmission control between a synchronization terminal and a controller, including:
acquiring controller grouping data and a lighting arrangement diagram;
acquiring image frames, and dividing image working data of the image frames according to controller grouping data and a lighting layout to obtain grouped image working data packets corresponding to each controller group;
and transmitting each grouped picture working data packet to a corresponding controller group.
In some embodiments, the step of obtaining the image frame, dividing the image work data of the image frame according to the controller grouping data and the lighting map, and obtaining the grouping image work data packets corresponding to the respective controller groupings specifically includes:
acquiring picture data and a playing time parameter, wherein the picture data comprises a plurality of image frames;
calculating the picture working data mapped to each pixel point according to each frame of image frame and the lighting map;
calculating a playing time table corresponding to each frame of image frame according to the local time and the playing time parameter;
and reading the picture working data of the image frame corresponding to the moment at a preset moment according to the playing time table, and dividing the picture working data according to the light distribution diagram and the controller grouping data to obtain grouped picture working data packets corresponding to the controller grouping.
In some embodiments, the method further comprises: the local time is synchronized.
In some embodiments, the method further comprises:
and carrying out packet training on the controller to determine controller packet data.
In some embodiments, the method further comprises: and acquiring data sending time, and adjusting controller packet data according to the data sending time.
An embodiment of the present invention provides a synchronization terminal, including:
the control data acquisition unit is used for acquiring the grouped data and the light distribution diagram of the controller;
the segmentation grouping unit is used for acquiring image frames, segmenting the image working data of the image frames according to the controller grouping data and the lighting arrangement diagram, and obtaining grouping image working data packets corresponding to each controller grouping;
and the sending unit is used for sending each grouped picture working data packet to the corresponding controller group.
In some embodiments, a synchronization unit is further included for synchronizing the local time.
In some embodiments, the controller further comprises a packet determining unit, which is used for performing packet training on the controller and determining the controller packet data.
The invention provides an LED light grouping synchronization system which comprises a server, a plurality of synchronization terminals, a plurality of switches, a plurality of controllers and LED light bars, wherein the server is in communication connection with the synchronization terminals, each synchronization terminal is in communication connection with one switch, the controllers form controller groups, each switch is in communication connection with the controllers in groups, each controller is in communication connection with the LED light bars, the LED light bars are arranged in a preset shape, and the synchronization terminals are the synchronization terminals in any one of the preceding aspects.
An embodiment of the present invention also provides a machine-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the LED light packet synchronization method of any one of the preceding claims.
Each synchronous terminal divides the image frames according to the controller groups, each controller only needs to receive and process the data grouped by the controller to which the controller belongs, compared with the existing method that all the controllers send the data in a broadcast mode, the data volume of a single data packet is greatly reduced, the time for each controller to receive and process the data is reduced, the problems of frame delay and asynchronization caused by the fact that the controllers receive and process the data with large data volume are avoided, and the LED lamp strips controlled by all the synchronous terminals can be effectively guaranteed to synchronously display the pictures with the same frame.
Drawings
Fig. 1 is a schematic diagram of an LED light packet synchronization system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an LED light grouping synchronization system according to an embodiment of the present invention;
FIG. 3 is a flowchart of an LED light grouping synchronization method according to an embodiment of the present invention;
fig. 4 is a flowchart of the LED light grouping synchronization method after the step S300 is refined in an embodiment of the present invention;
FIG. 5 is a flow chart of a method for synchronizing LED light packets according to another embodiment of the present invention;
FIG. 6 is a flow chart of a method for synchronizing LED light packets according to another embodiment of the present invention;
fig. 7 is a flowchart of an LED light packet synchronization method according to still another embodiment of the present invention.
Detailed Description
So that the manner in which the above recited objects, features and advantages of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings. In addition, the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
In an LED light grouping synchronization system, as shown in fig. 1 and fig. 2, the LED light grouping synchronization system includes a server 10, a plurality of synchronization terminals 20, a plurality of switches 30, a plurality of controllers 41, and LED light bars 50, the server 10 is in communication connection with the plurality of synchronization terminals 20, each synchronization terminal 20 is in communication connection with one switch 30, the plurality of controllers 41 form a controller group 40, each switch 30 is in communication connection with the plurality of controller groups 40, each controller 41 is in communication connection with the plurality of LED light bars 50, and all the LED light bars 50 are arranged in a preset shape.
In the present application, the controller 41 is divided into a plurality of controller groups 40, and the picture of the image frame is divided into grouped picture operation data corresponding to each controller group; to the corresponding controller packet 40. Thus, each controller 41 only needs to receive and process the data of the controller group 40 to which it belongs, thereby greatly reducing the data amount to be transmitted and processed, and reducing the time required for data transmission and processing, even if the area controlled by the synchronization terminal 20 is large, the LED light bars are large, and the tape load is large, the delay problem caused by data transmission and processing can be avoided, and it can be effectively ensured that all the LED light bars 50 controlled by the synchronization terminal 20 synchronously display the pictures of the same frame.
As shown in fig. 3, an embodiment of the present application provides an LED light packet synchronization method for synchronizing data transmission control between a terminal and a controller, including:
s100, acquiring controller grouping data and a lighting arrangement diagram.
The controller grouping data includes at least the number of the controller groups 40, and the correspondence between each controller group 40 and the controller 41. The lighting map may include the connection relationship between the controller 41 and the LED light bar 50, and may further include the position of the LED light bar 50 in a preset shape. The lighting pattern may correspond to all the LED light bars 50, or may correspond to only the LED light bars 50 connected and controlled by the synchronization terminal 20. Based on the controller grouping data and the lighting map, the picture area corresponding to each controller grouping 40 can be determined to facilitate the subsequent segmentation operation.
The controller packet data and lighting map may be stored on the server 10 or on the sync terminal 20. Accordingly, the sync terminal 20 may obtain the controller packet data and the lighting pattern from the server 10 or its own memory.
S300, image frames are obtained, and according to the controller grouping data and the lighting arrangement diagram, the image work data of the image frames are divided to obtain grouping image work data packets corresponding to the controller grouping.
The image frames refer to the pictures belonging to the corresponding areas of the LED light bars 50 controlled by the synchronization terminal 20. The image frame may be a single frame or may include multiple frames.
According to the light distribution map, the image working data of each pixel point on the LED light bar 50 corresponding to the image frame, that is, the image working data of the image frame, can be calculated. Then, according to the controller grouping data and the light distribution map, determining a corresponding area of each controller grouping, namely the corresponding LED light bar 50, and segmenting the image working data of the image frame by using the position of the corresponding LED light bar to obtain a grouping image working data packet corresponding to each controller grouping.
The image frames may be acquired from the server 10 in real time by the synchronization terminal 20, and then the synchronization terminal 20 performs step S300 in real time each time one image frame is acquired. It will be appreciated that the synchronization terminal 20 may also not acquire image frames from the server 10 in real time. For example, the sync terminal 20 may receive and store a plurality of image frames in advance. The synchronous terminal 20 reads the image frame at the corresponding time according to the time requirement, and executes step S300.
It is understood that, when the synchronization terminal 20 receives and stores the image frame in advance, the division of the screen operation data of the image frame may be performed when the image frame is received, so as to obtain the grouped screen operation data corresponding to each controller, and store the grouped screen operation data. The synchronous terminal 20 reads the grouped picture working data corresponding to each controller group at the corresponding time according to the time requirement, and packs the grouped picture working data packet corresponding to each controller group for subsequent transmission.
And S500, transmitting each group picture working data packet to a corresponding controller group.
After obtaining the packet screen work packets corresponding to the respective controller packets, the sync terminal 20 sends out the packet screen work packets in a request or multicast manner. The transmission may specifically be in an ethernet on demand manner.
Specifically, the sync terminal 20 may pack each group of frame work packets into UDP packets, so as to implement data transmission through ethernet. The UDP packet may include data of the packet screen work packet and address data of the controller packet 40. The address data of the controller packet 40 may be an IP address, a MAC address, or the like for addressing. The UDP packet may further include address data, a port number, a channel number, and the like of the controller 41, so as to help the controller 41 to quickly obtain data corresponding to itself from the packet.
Specifically, the sync terminal 20 packetizes each packet screen work packet into a UDP packet, and transmits the UDP data to the switch 30. The switch 30 records the address data of each controller packet 40, and after receiving the UDP data packet, the switch 30 obtains the address data from the UDP data packet, i.e., the address data can be transmitted to the corresponding controller packet 40 in a point-to-point manner by using an ethernet on demand or multicast manner, instead of the prior art, the data transmission is performed in a broadcast manner. Each controller 41 only needs to receive and process the data of the controller group 40 to which it belongs, so that compared with the existing method of broadcasting and sending the data of all controllers, the data size of a single data packet is greatly reduced, the time for each controller 41 to receive and process the data is reduced, and the problems of frame delay and asynchronism caused by the fact that the controller 41 receives and processes the data with large data size are avoided.
In the LED light grouping synchronization method provided in this embodiment, by dividing the image frames according to the controller grouping, each controller 41 only needs to receive and process the data of the controller grouping 40 to which it belongs, compared with the existing method of sending the data of all controllers by broadcasting, the data size of a single data packet is greatly reduced, the time for each controller 41 to receive and process the data is reduced, the problems of frame delay and asynchronization caused by the large data size received and processed by the controller 41 are avoided, and it can be effectively ensured that the LED light bars 50 controlled by all the synchronization terminals 20 synchronously display the pictures of the same frame.
In some embodiments, the image frames are not acquired from the server 10 in real time, as shown in fig. 4, step S300 may specifically include:
s310, image data and playing time parameters are obtained, wherein the image data comprises a plurality of image frames.
The picture data refers to the picture content of the corresponding area of the LED light bar 50 controlled by the synchronization terminal 20 in the picture, and may include a plurality of image frames. The playing time parameter mainly includes a playing period, and may further include a frame rate and other control parameters.
The synchronous terminal 20 can directly obtain the picture data and the playing time parameter from the server 10. At this time, the server 10 may divide the entire program file to obtain the picture data corresponding to each of the sync terminals 20. The complete program file contains the picture data of all the sync terminals 20 and is the complete picture content of the whole area.
In addition to the division of the program file by the server 10, the synchronization terminal 20 may divide the program file by itself to obtain screen data belonging to itself. At this time, the synchronization terminal 20 acquires the complete program file from the server 10, and divides the complete program file according to the lighting map to obtain the picture data of the terminal.
The division of the complete program file by the synchronization terminal 20 may also be performed without the aid of a lighting map. A sync terminal 20 capable of acquiring the complete program file and the region data of the sync terminal 20 from the server 10; the synchronous terminal 20 intercepts the corresponding picture data from the complete program file according to the region data. In this case, the program file does not need to be divided according to the lighting map.
And S320, calculating the picture working data mapped to each pixel point according to each frame of image frame and the lighting map.
After the synchronization terminal 20 acquires the image frame, the data mapped to each pixel point may be determined according to the lighting map. Because every pixel actually comprises LED lamp pearl, consequently, can also further convert the required work data of LED lamp pearl work into. The working data of all the pixel points of the LED light bar controlled by each synchronization terminal 20 form the image working data of each image frame.
It can be understood that each pixel point can be composed of a single-color LED lamp bead, and also can be composed of three or more LED lamp beads.
S330, according to the local time and the playing time parameter, a playing time table corresponding to each frame of image frame is calculated.
The synchronous terminal 20 can calculate the playing time table of each image frame, i.e. the specific and accurate playing time of each image frame, according to the local time and the playing time parameter. The play schedule may then be associated with the picture-work data for each image frame and then stored in memory so that it can be read directly at the time of actual play without recalculation.
S340, according to the playing timetable, at a preset time, reading the picture working data of the image frame corresponding to the time, and according to the light distribution diagram and the controller grouping data, dividing the picture working data to obtain a grouping picture working data packet corresponding to each controller grouping.
According to the play schedule, the synchronous terminal 20 reads the image working data of the image frame at the corresponding time when the time is preset. Meanwhile, the synchronization terminal 20 obtains controller grouping data and a lighting map, divides the image work data of the image frame, and packs the image work data to obtain a grouping image work data packet corresponding to each controller grouping.
In order to improve the execution efficiency of step S340, the synchronization terminal 20 may read the picture working data of several image frames from the memory in advance according to the play schedule, and store the picture working data in the buffer. The buffer can be a Cache memory or a buffer on the memory. In this way, by caching the data in advance, the time for the central processing unit of the synchronous terminal 20 to read the data from the memory device is reduced, and especially when a large amount of data is processed, the delay influence of the time consumed by reading the data on the subsequent transmission can be reduced.
The method comprises the steps of obtaining picture frames in advance to generate a play time table, then dividing the picture frames according to the play time table, and sending grouped picture working data packets corresponding to all controllers. The data is sent based on the play schedule, so that the sending time of the picture data of each frame can be effectively ensured to be basically the same, and further, the synchronous display of the pictures of the same frame by the LED light bars 50 controlled by all the synchronous terminals 20 is ensured.
In some embodiments, as shown in fig. 7, step S300 may specifically include:
s301, image data and playing time parameters are obtained, wherein the image data comprises a plurality of image frames.
S302, calculating grouped picture working data corresponding to each controller group according to each frame of image frame, the lighting layout and the controller group data, wherein the grouped picture working data is composed of picture working data corresponding to pixel points of the controller group.
Unlike the previous embodiment in which the dividing operation is performed only during the playing process in step S300, in the present embodiment, when the image frame is received, the dividing operation is performed according to the lighting map and the controller grouping data, so as to obtain the grouping picture operation data corresponding to each controller grouping.
S303, according to the local time and the playing time parameter, a playing time table corresponding to each frame of image frame is calculated.
S301, S303 are the same as S310, S330 in the previous embodiment.
S304, reading the grouped working data of the grouped pictures corresponding to each controller at a preset time according to the playing time table, and packaging the working data into a grouped working data packet of the grouped pictures.
And during playing, reading the grouped working data of the grouped pictures corresponding to each controller at a preset time according to a playing time table, packaging the working data into a working data packet of the grouped pictures, and then sending the working data packet.
By segmenting in advance, the data processing amount of the synchronization terminal 20 during playing can be reduced, and the delay influence of the time consumed by the synchronization terminal 20 for processing data during playing on subsequent transmission can be reduced.
In order to further ensure that the play schedules on all the synchronization terminals 20 are consistent, as shown in fig. 5, the LED light packet synchronization method may further include:
and S010, synchronizing the local time.
The local time may be synchronized by one of GPS time synchronization, network time service, or time synchronization based on a mobile communication base station. Preferably, the synchronization terminal 20 synchronizes the local time by using a time synchronization method based on a mobile communication base station.
And synchronizing the local time, and finishing before calculating the playing time schedule. By synchronizing the local time, it is possible to ensure time synchronization of all the synchronization terminals 20, and to ensure that the playing schedules calculated therefrom are the same.
Controller packet data may be stored at the sync terminal 20. The controller packet data may be fixed or dynamically adjusted. In some embodiments, the controller packet data, pre-configured, is fixed.
In other embodiments, the controller packet data may be automatically determined. Specifically, as shown in fig. 6, the LED light grouping synchronization method further includes:
s020: and carrying out packet training on the controller to determine controller packet data.
After the connection is established between the controller 41, the switch 30 and the sync terminal 20, the controller may be packet trained to automatically determine controller packet data.
Specifically, an initial number of packet groups may be set, and then all of the controllers 41 may be divided into a plurality of controller groups using the initial number of packet groups, and the number of packets may be equal to the initial number of packet groups. Then, the image frame may be transmitted from the sync terminal 20 to each controller group 40 with the image frame and the frame rate for the test, and the transmission time of all the controller groups may be acquired. And determining standard sending time according to the frame rate, and counting the sending timeout proportion of all the controller packets. And if the sending overtime ratio does not meet the preset requirement, gradually increasing the number of the grouping number, and repeating the previous test process until the sending overtime ratio meets the preset requirement. In this way, the number of the controller groups 40 and the correspondence between each controller group 40 and the controller 41 can be obtained, and the controller group data can be composed.
It is understood that S020 can also be utilized to obtain multiple sets of controller grouping data for reference in user configuration.
In some embodiments, the synchronization terminal 20 may further obtain a data transmission time, and dynamically adjust the controller packet data according to the data transmission time. Specifically, after step S500, the data transmission time of all the controller packets at the preset time is obtained, the transmission timeout proportion is analyzed, if the data transmission time exceeds the preset standard, the number of the packets can be correspondingly increased, the controller packets are subdivided to obtain new controller packet data, and the new controller packet data is adopted for processing at a subsequent time. It will be appreciated that the condition for triggering the controller packet data adjustment to reduce the amount of computation may be that the transmission timeout rate exceeds a predetermined criterion for a certain period of time, rather than just a single time determination.
In the LED light grouping synchronization method provided in this embodiment, by dividing the image frames according to the controller grouping, each controller 41 only needs to receive and process the data of the controller grouping 40 to which it belongs, compared with the existing method of sending the data of all controllers by broadcasting, the data size of a single data packet is greatly reduced, the time for each controller 41 to receive and process the data is reduced, the problems of frame delay and asynchronization caused by the large data size received and processed by the controller 41 are avoided, and it can be effectively ensured that the LED light bars 50 controlled by all the synchronization terminals 20 synchronously display the pictures of the same frame.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
An embodiment of the present invention provides a synchronization terminal 20, including:
the control data acquisition unit is used for acquiring the grouped data and the light distribution diagram of the controller;
the segmentation grouping unit is used for acquiring image frames, segmenting the image working data of the image frames according to the controller grouping data and the lighting arrangement diagram, and obtaining grouping image working data packets corresponding to each controller grouping;
and the sending unit is used for sending each grouped picture working data packet to the corresponding controller group.
For controlling the specific working modes of the data obtaining unit, the packet dividing unit and the sending unit, reference may be made to the description in the foregoing embodiments, and details are not described herein again.
In some embodiments, the dividing the packet unit may specifically include:
the image frame acquisition module is used for acquiring image data and playing time parameters, wherein the image data comprises a plurality of image frames;
the working data calculation module is used for calculating the picture working data mapped to each pixel point according to each frame of image frame and the lighting map;
the time calculation module is used for calculating a playing time table corresponding to each frame of image frame according to the local time and the playing time parameter;
and the segmentation and packaging module is used for reading the picture working data of the image frame corresponding to the moment at the preset moment according to the playing time table, segmenting the picture working data according to the light distribution diagram and the controller grouping data, and obtaining the grouping picture working data packet corresponding to each controller grouping.
The specific working modes of the image frame obtaining module, the working data calculating module, the time calculating module and the dividing and packing module may refer to the descriptions in the foregoing embodiments, and are not described herein again.
In some embodiments, the dividing the packet unit may specifically include:
the image frame acquisition module is used for acquiring image data and playing time parameters, wherein the image data comprises a plurality of image frames;
the picture segmentation module is used for calculating grouped picture working data corresponding to each controller group according to each frame of image frame, the lighting arrangement picture and the controller group data, wherein the grouped picture working data consists of picture working data corresponding to pixel points of the controller group;
the time calculation module is used for calculating a playing time table corresponding to each frame of image frame according to the local time and the playing time parameter;
the playing control module reads the grouped picture working data corresponding to each controller at a preset time according to the playing time table and packs the data into a grouped picture working data packet
The specific working modes of the image frame acquiring module, the image dividing module, the time calculating module and the playing control module can be referred to the description in the previous embodiment, and are not described herein again.
In some embodiments, the synchronization terminal 20 may further include a synchronization unit for synchronizing the local time. The synchronization of the local time may be performed by one of the methods such as GPS time synchronization, network time service, and time synchronization by a mobile communication base station. Preferably, the synchronization unit synchronizes the local time by using a time synchronization method based on the mobile communication base station.
In some embodiments, the synchronization terminal 20 may further include a packet determining unit, configured to perform packet training on the controller and determine controller packet data. Through packet training, one or more sets of controller packet data may be automatically determined for use in synchronizing the terminals 20 or in user configuration.
In some embodiments, the sync terminal 20 may further include a packet adjusting unit for acquiring a data transmission time, and adjusting the controller packet data according to the data transmission time. Illustratively, the data transmission time of all controller packets at the time is acquired, the transmission timeout proportion is analyzed, if the data transmission time exceeds the preset standard, the number of the packets can be correspondingly increased, the controller packets are divided again to obtain new controller packet data, and the new controller packet data is adopted for processing at the subsequent time. It will be appreciated that the condition for triggering the controller packet data adjustment to reduce the amount of computation may be that the transmission timeout rate exceeds a predetermined criterion for a certain period of time, rather than just a single time determination.
Each synchronization terminal 20 divides the image frame according to the controller group, and each controller 41 only needs to receive and process the data of the controller group 40 to which it belongs, so that compared with the existing method of broadcasting and sending the data of all controllers, the data size of a single data packet is greatly reduced, the time for each controller 41 to receive and process the data is reduced, the problems of frame delay and asynchronization caused by the fact that the controller 41 receives and processes the data with large data size are avoided, and the synchronous display of the frames of the same frame by the LED light bars 50 controlled by all the synchronization terminals 20 can be effectively ensured.
An embodiment of the present invention further provides an LED light grouping synchronization system, as shown in fig. 1 and fig. 2, including a server 10, a plurality of synchronization terminals 20, a plurality of switches 30, a plurality of controllers 41, and LED light bars 50, where the server 10 is in communication connection with the plurality of synchronization terminals 20, each synchronization terminal 20 is in communication connection with one switch 30, the plurality of controllers 41 form a controller group 40, each switch 30 is in communication connection with the plurality of controller groups 40, each controller 41 is in communication connection with the plurality of LED light bars 50, and all the LED light bars 50 are arranged in a preset shape. The synchronization terminal 20 may be any of the synchronization terminals described in the foregoing embodiments.
The server 10 may transmit data, such as image frames, picture data or complete program files, playing time parameters, etc., to each of the sync terminals 20, and may further include a lighting map or area data of the sync terminals, etc.
The synchronous terminal 20 receives the data, and after processing according to the scheme described in the foregoing embodiment, transmits the packet screen work packet to the switch 30 to realize transmission of the corresponding packet screen work packet to the corresponding controller packet 40.
The controller 41 in each controller group 40 receives the group image work data packet of each frame, reads the data belonging to the controller from the group image work data packet, and controls the LED light bar 50 to work. The controller 41 may be a DMX512 controller, or may be another controller capable of controlling the operation of the LED lamp.
Each synchronization terminal 20 divides the image frame according to the controller group, and each controller 41 only needs to receive and process the data of the controller group 40 to which it belongs, so that compared with the existing method of broadcasting and sending the data of all controllers, the data size of a single data packet is greatly reduced, the time for each controller 41 to receive and process the data is reduced, the problems of frame delay and asynchronization caused by the fact that the controller 41 receives and processes the data with large data size are avoided, and the synchronous display of the frames of the same frame by the LED light bars 50 controlled by all the synchronization terminals 20 can be effectively ensured.
An embodiment of the present invention further provides a machine-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the LED light packet synchronization method according to any of the above embodiments.
The system/computer device integrated components/modules/units, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
In the several embodiments provided in the present invention, it should be understood that the disclosed system and method may be implemented in other ways. For example, the system embodiments described above are merely illustrative, and for example, the division of the components is only one logical division, and other divisions may be realized in practice.
In addition, each functional module/component in each embodiment of the present invention may be integrated into the same processing module/component, or each module/component may exist alone physically, or two or more modules/components may be integrated into the same module/component. The integrated modules/components can be implemented in the form of hardware, or can be implemented in the form of hardware plus software functional modules/components.
It will be evident to those skilled in the art that the embodiments of the present invention are not limited to the details of the foregoing illustrative embodiments, and that the embodiments of the present invention are capable of being embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the embodiments being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units, modules or means recited in the system, apparatus or terminal claims may also be implemented by one and the same unit, module or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. An LED light packet synchronization method is used for data transmission control between a synchronization terminal and a controller, and is characterized by comprising the following steps:
acquiring controller grouping data and a lighting arrangement diagram;
acquiring image frames, and dividing image working data of the image frames according to controller grouping data and a lighting layout to obtain grouped image working data packets corresponding to each controller group;
and transmitting each grouped picture working data packet to a corresponding controller group.
2. The LED light grouping synchronization method according to claim 1, wherein the step of obtaining the image frames, dividing the image work data of the image frames according to the controller grouping data and the lighting map, and obtaining the grouping image work data packets corresponding to the respective controller groups specifically comprises:
acquiring picture data and a playing time parameter, wherein the picture data comprises a plurality of image frames;
calculating the picture working data mapped to each pixel point according to each frame of image frame and the lighting map;
calculating a playing time table corresponding to each frame of image frame according to the local time and the playing time parameter;
and reading the picture working data of the image frame corresponding to the moment at a preset moment according to the playing time table, and dividing the picture working data according to the light distribution diagram and the controller grouping data to obtain grouped picture working data packets corresponding to the controller grouping.
3. The LED light packet synchronization method of claim 2, further comprising: the local time is synchronized.
4. The LED lamp grouping synchronization method of claim 1, further comprising: and carrying out packet training on the controller to determine controller packet data.
5. The LED lamp grouping synchronization method of claim 1, further comprising: and acquiring data sending time, and adjusting controller packet data according to the data sending time.
6. A synchronized terminal, comprising:
the control data acquisition unit is used for acquiring the grouped data and the light distribution diagram of the controller;
the segmentation grouping unit is used for acquiring image frames, segmenting the image working data of the image frames according to the controller grouping data and the lighting arrangement diagram, and obtaining grouping image working data packets corresponding to each controller grouping;
and the sending unit is used for sending each grouped picture working data packet to the corresponding controller group.
7. The synchronizing terminal according to claim 6, characterized by further comprising a synchronizing unit for synchronizing the local time.
8. The synchronous terminal according to claim 6, further comprising a packet determining unit for performing packet training on the controller to determine controller packet data.
9. The utility model provides a LED light is synchronization system in groups, includes server, a plurality of synchronization terminal, a plurality of switch, a plurality of controller and LED lamp strip, the server with a plurality of synchronization terminal communication connection, every synchronization terminal and one switch communication connection, a plurality of the controller is constituteed the controller and is grouped, every the switch with a plurality of controller grouping communication connection, every the controller with a plurality of LED lamp strip communication connection, LED lamp strip is laid to preset shape, its characterized in that, synchronization terminal be any one of claim 6-8 synchronization terminal.
10. A machine readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the LED light packet synchronization method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910902943.6A CN110602828A (en) | 2019-09-24 | 2019-09-24 | LED light grouping synchronization method and system, synchronization terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910902943.6A CN110602828A (en) | 2019-09-24 | 2019-09-24 | LED light grouping synchronization method and system, synchronization terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110602828A true CN110602828A (en) | 2019-12-20 |
Family
ID=68862580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910902943.6A Pending CN110602828A (en) | 2019-09-24 | 2019-09-24 | LED light grouping synchronization method and system, synchronization terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110602828A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111491413A (en) * | 2020-04-13 | 2020-08-04 | 深圳市睿智物联科技有限公司 | Application method of building lighting control system based on miniature Internet of things terminal |
CN114866855A (en) * | 2022-04-29 | 2022-08-05 | 陕西科技大学 | Special-shaped display screen pixel data organization and transmission method |
CN116403512A (en) * | 2023-06-08 | 2023-07-07 | 永林电子股份有限公司 | Display control method and system based on lamp strip |
CN116437541A (en) * | 2023-06-14 | 2023-07-14 | 广东科高电器有限公司 | Multi-lamplight synchronization method based on differential scheduling |
CN118524598A (en) * | 2024-07-25 | 2024-08-20 | 深圳市智岩科技有限公司 | Light signal output method, device, medium and product |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102186275A (en) * | 2011-02-01 | 2011-09-14 | 韦自力 | Method and system for remotely and real-time playing and synchronously controlling light emitting diode (LED) lamp light |
CN105491716A (en) * | 2015-12-29 | 2016-04-13 | 韦爱民 | Real-time fault feedback LED lighting control system and real-time feedback method |
CN106128355A (en) * | 2016-07-14 | 2016-11-16 | 北京智能管家科技有限公司 | The display packing of a kind of LED battle array and device |
CN107426869A (en) * | 2017-07-27 | 2017-12-01 | 广州中大中鸣科技有限公司 | A kind of LED lamplight off line plays synchronization system and method |
CN107707947A (en) * | 2017-09-12 | 2018-02-16 | 西安万像电子科技有限公司 | Picture data control method and system |
-
2019
- 2019-09-24 CN CN201910902943.6A patent/CN110602828A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102186275A (en) * | 2011-02-01 | 2011-09-14 | 韦自力 | Method and system for remotely and real-time playing and synchronously controlling light emitting diode (LED) lamp light |
CN105491716A (en) * | 2015-12-29 | 2016-04-13 | 韦爱民 | Real-time fault feedback LED lighting control system and real-time feedback method |
CN106128355A (en) * | 2016-07-14 | 2016-11-16 | 北京智能管家科技有限公司 | The display packing of a kind of LED battle array and device |
CN107426869A (en) * | 2017-07-27 | 2017-12-01 | 广州中大中鸣科技有限公司 | A kind of LED lamplight off line plays synchronization system and method |
CN107707947A (en) * | 2017-09-12 | 2018-02-16 | 西安万像电子科技有限公司 | Picture data control method and system |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111491413A (en) * | 2020-04-13 | 2020-08-04 | 深圳市睿智物联科技有限公司 | Application method of building lighting control system based on miniature Internet of things terminal |
CN111491413B (en) * | 2020-04-13 | 2022-07-12 | 深圳市睿智物联科技有限公司 | Application method of building lighting control system based on miniature Internet of things terminal |
CN114866855A (en) * | 2022-04-29 | 2022-08-05 | 陕西科技大学 | Special-shaped display screen pixel data organization and transmission method |
CN114866855B (en) * | 2022-04-29 | 2024-01-19 | 陕西科技大学 | Abnormal display screen pixel data organization and transmission method |
CN116403512A (en) * | 2023-06-08 | 2023-07-07 | 永林电子股份有限公司 | Display control method and system based on lamp strip |
CN116403512B (en) * | 2023-06-08 | 2023-08-18 | 永林电子股份有限公司 | Display control method and system based on lamp strip |
CN116437541A (en) * | 2023-06-14 | 2023-07-14 | 广东科高电器有限公司 | Multi-lamplight synchronization method based on differential scheduling |
CN116437541B (en) * | 2023-06-14 | 2023-08-22 | 广东科高电器有限公司 | Multi-lamplight synchronization method based on differential scheduling |
CN118524598A (en) * | 2024-07-25 | 2024-08-20 | 深圳市智岩科技有限公司 | Light signal output method, device, medium and product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110602828A (en) | LED light grouping synchronization method and system, synchronization terminal and storage medium | |
CN110660351B (en) | LED light synchronous control method and system, synchronous terminal and storage medium | |
US9741316B2 (en) | Method and system for displaying pixels on display devices | |
CN102186275B (en) | Method and system for remotely and real-time playing and synchronously controlling light emitting diode (LED) lamp light | |
CA2749208C (en) | Communication to an audience at an event | |
CN107426869B (en) | LED lamplight offline playing synchronization system and method | |
CN103561356B (en) | The method and apparatus that multiple terminals is synchronously played | |
CN103402140B (en) | A kind of method and system of the synchronous tiled upper wall of distributed IP Video Decoder | |
CN100580764C (en) | Screen synchronization control device | |
CN104216671B (en) | Method for realizing synchronous cooperated display on multiple sets of spliced display screens | |
CN107533449B (en) | Using motion location information to control ultra-wide video display in stadium settings | |
CN107465474B (en) | The clock synchronization system and method for digital control system bus apparatus | |
CN112217960A (en) | Method for synchronously displaying multi-screen playing pictures | |
CN113613370A (en) | Atmosphere lamp control method and device, computer readable storage medium and terminal | |
KR102566550B1 (en) | Method of display playback synchronization of digital contents in multiple connected devices and apparatus using the same | |
CN104317546A (en) | Situational interactive experience simulation system | |
CN112653532A (en) | Clock synchronization method, device and system | |
CN109561336A (en) | Distribution display synchronous method, apparatus and system | |
CN113934148A (en) | Stage acousto-optic coordinated operation system based on 5G technology | |
CN110831281A (en) | Auxiliary synchronization LED control device and LED light control system | |
CN102915222B (en) | Method for synchronizing time and implement device thereof between many light master controller | |
CN110677945A (en) | Synchronous terminal, LED light synchronous control method and system | |
JP2017107173A (en) | Multi-display device | |
CN107172776B (en) | Device and method for determining lighting effect by audience in night scene intelligent lighting system | |
CN102663988A (en) | Method, device and system for broadcasting subtitles |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191220 |