CN110660351B - LED light synchronous control method and system, synchronous terminal and storage medium - Google Patents

LED light synchronous control method and system, synchronous terminal and storage medium Download PDF

Info

Publication number
CN110660351B
CN110660351B CN201910907968.5A CN201910907968A CN110660351B CN 110660351 B CN110660351 B CN 110660351B CN 201910907968 A CN201910907968 A CN 201910907968A CN 110660351 B CN110660351 B CN 110660351B
Authority
CN
China
Prior art keywords
picture
time
frame
working data
data
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
CN201910907968.5A
Other languages
Chinese (zh)
Other versions
CN110660351A (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.)
Shenzhen QianBaiHui Intelligent Engineering Co.,Ltd.
Original Assignee
Shenzhen Qianbaihui Lighting Engineering 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 Shenzhen Qianbaihui Lighting Engineering Co ltd filed Critical Shenzhen Qianbaihui Lighting Engineering Co ltd
Priority to CN201910907968.5A priority Critical patent/CN110660351B/en
Publication of CN110660351A publication Critical patent/CN110660351A/en
Application granted granted Critical
Publication of CN110660351B publication Critical patent/CN110660351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/04Synchronising

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to a method and a system for synchronously controlling LED lamplight, a synchronous terminal and a storage medium, wherein the method comprises the following steps: acquiring picture data, a playing time parameter and a light arrangement picture, wherein the picture data comprises a plurality of frames of pictures; calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting map; calculating a playing time table of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time table in association with each frame of picture working data; reading the picture working data of the corresponding time frame at a preset time according to the playing time table, and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval; acquiring the sending completion time of the picture working data of the corresponding moment frame, and judging whether the time is overtime or not; and if the time is out, adjusting the preset sending interval according to the time-out time, and sending the picture working data of the next corresponding time frame. And the LED lamp bars can synchronously display the pictures of the same frame.

Description

LED light synchronous control method and system, synchronous terminal and storage medium
Technical Field
The invention relates to the field of LED light control, in particular to a synchronous control method and system of LED light, a synchronous 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. However, the conventional brightening control system has the problems of screen blockage and unsynchronized sub-area screens. 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 synchronous control of LED lights, a synchronous 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 a method for synchronously controlling LED lights, including:
acquiring picture data, a playing time parameter and a light arrangement picture, wherein the picture data comprises a plurality of frames of pictures;
calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting map;
calculating a playing time table of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time table in association with each frame of picture working data;
reading the picture working data of a corresponding time frame at a preset time according to a playing time table, and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval;
acquiring the sending completion time of the picture working data of the corresponding moment frame, and judging whether the time is overtime or not;
and if the time is judged to be overtime, adjusting the preset sending interval according to the overtime time, and sending the picture working data of the next corresponding time frame according to the adjusted sending interval.
In some embodiments, the step of reading, at a preset time according to a play schedule, and sending the picture working data of the corresponding time frame to the outside, where the picture working data of the corresponding time frame includes multiple frames of picture working data, and the picture working data of the corresponding time frame is packed into a data packet; in the data packet, a bit corresponding to a preset transmission interval length is set after the picture working data of each frame.
In some embodiments, before the step of calculating a playing time table of each frame of picture according to the synchronized local time and the playing time parameter and storing the playing time table in association with the working data of each frame of picture, the method further includes:
the local time is synchronized.
In some embodiments, before the step of reading the picture working data of the corresponding time frame at a preset time according to the play schedule and sending the picture working data to the outside, the method further comprises,
according to the play time table, reading the picture working data of a plurality of frames from the memory in advance, and storing the picture working data into the buffer.
An embodiment of the present invention further provides a method for synchronously controlling LED lights, including:
acquiring picture data, a playing time parameter and a light arrangement picture, wherein the picture data comprises a plurality of frames of pictures;
calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting map;
calculating a playing time table of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time table in association with each frame of picture working data;
reading the picture working data of a corresponding time frame at a preset time according to a playing time table, and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval;
and adjusting the preset sending interval required by the picture working data of the corresponding time frame at the next time according to the sending completion time of the picture working data of the corresponding time frame at the current time.
An embodiment of the present invention provides a synchronization terminal for synchronous control of LED lights, including:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring picture data, a playing time parameter and a light arrangement picture, and the picture data comprises a plurality of frames of pictures;
the working data processing unit is used for calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting arrangement picture;
the time schedule unit is used for calculating the playing time schedule of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time schedule in association with the working data of each frame of picture;
the sending unit is used for reading the picture working data of the corresponding time frame at a preset time according to the playing time table and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval;
the overtime judging unit is used for acquiring the sending completion time of the picture working data of the corresponding time frame and judging whether the time is overtime;
and the adjusting unit is used for adjusting the preset sending interval according to the overtime time if the overtime is judged.
In some embodiments, a synchronization unit is further included for synchronizing the local time.
Another embodiment of the present invention provides a synchronization terminal for synchronous control of LED lights, including:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring picture data, a playing time parameter and a light arrangement picture, and the picture data comprises a plurality of frames of pictures;
the working data processing unit is used for calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting arrangement picture;
the time schedule unit is used for calculating the playing time schedule of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time schedule in association with the working data of each frame of picture;
the sending unit is used for reading the picture working data of the corresponding time frame at a preset time according to the playing time table and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval;
and the dynamic adjusting unit is used for adjusting the preset sending interval required by the picture working data of the corresponding time frame at the next time according to the sending completion time of the picture working data of the corresponding time frame at the current time.
The invention provides an LED light synchronous control system which comprises a server, a plurality of synchronous terminals, a plurality of controllers and LED light bars, wherein the server is in communication connection with the synchronous terminals, each synchronous terminal is in communication connection with the controllers, each controller is in communication connection with the LED light bars, the LED light bars are arranged in a preset shape, and the synchronous terminals are the synchronous terminals in any one of the preceding aspects.
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 synchronization control method according to any one of the preceding claims.
In this way, the time schedule of all the synchronous terminals is ensured to be the same by setting the respective time schedule calculated based on the synchronous local time for each frame of picture. By adjusting the preset sending interval, even if the sending of the picture working data of a certain frame is overtime, the picture working data of the next frame can be ensured to be sent and finished in time, so that the sending time and the sending and finishing time of the picture data of each frame are basically the same in each synchronous terminal, and the LED lamp bars controlled by all the synchronous terminals can synchronously display the pictures of the same frame. By the scheme of the embodiment, the synchronization of most of the picture frames can be guaranteed, and even if one frame of picture is overtime, the phenomenon of obvious pause can not occur, and the asynchronization of subsequent frames can not be caused.
Drawings
Fig. 1 is a schematic diagram of an LED light synchronization control system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an LED light synchronous control system according to an embodiment of the present invention;
fig. 3 is a flowchart of an LED light synchronization control method according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for synchronously controlling LED lights according to another embodiment of the present invention;
fig. 5 is a flowchart of an LED light synchronous control method according to 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 synchronous control system, as shown in fig. 1 and fig. 2, the LED light synchronous control system includes a server 10, a plurality of synchronous terminals 20, a plurality of controllers 30, and LED light bars 40, the server 10 is in communication connection with the plurality of synchronous terminals 20, each synchronous terminal 20 is in communication connection with the plurality of controllers 30, each controller 30 is in communication connection with the plurality of LED light bars 40, and all the LED light bars 40 are arranged in a preset shape.
In order to ensure that the LED light bars 40 controlled by each synchronization terminal 20 synchronously display the pictures of the same frame, in the present application, each synchronization terminal 20 generates a schedule of each frame of picture according to the synchronized local time, and sends the picture data of the corresponding time frame to the controller 30 according to the schedule; and analyzing the sending time of the picture data of each frame, and reducing the size of the preset sending interval when the sending time exceeds the preset time so as to ensure that the sending time and the sending completion time of the picture data of each frame are basically the same in each synchronous terminal 20, thereby realizing that the LED light bars 40 controlled by all the synchronous terminals 20 synchronously display the pictures of the same frame. The following describes the embodiments of the present application in detail.
As shown in fig. 3, an embodiment of the present application provides a method for synchronously controlling LED lights, including:
s100, acquiring picture data, playing time parameters and a lighting arrangement diagram, wherein the picture data comprises a plurality of frames of pictures.
The LED light synchronization control method of the present embodiment is executed by the synchronization terminal 20. The picture data refers to the picture content of the corresponding area of the LED light bar 40 controlled by the synchronous terminal 20, and may include several frames of pictures. The playing time parameter mainly includes a playing period, and may further include a frame rate and other control parameters. The lighting map includes the connection relationship between the controller 30 and the LED light bar 40, and may further include the position of the LED light bar 40 in a predetermined shape.
In step S100, the sync terminal 20 may directly acquire the picture data and the play 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 includes the picture data of all the sync terminals 20, which is complete picture data of the entire 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. In this case, step S100 may specifically include: the synchronous terminal 20 acquires the complete program file, the playing time parameter and the light arrangement diagram from the server 10; the synchronous terminal 20 divides the complete program file according to the lighting map to obtain the picture data.
The division of the complete program file by the synchronization terminal 20 may also be performed without the aid of a lighting map. The synchronous terminal 20 can obtain the complete program file, the playing time parameter and the area data of the synchronous terminal 20 from the server 10; the sync terminal 20 intercepts 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.
It is understood that the synchronization terminal 20 may obtain the lighting arrangement map from the server 10, or may store the lighting arrangement map itself.
S200, calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting map.
After the synchronous terminal 20 obtains the picture data, the picture working data corresponding to each pixel point on the LED light bar can be calculated accordingly. The picture data comprises a plurality of frame pictures. For each frame of picture, data mapped to each pixel point is 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 picture working data of each frame of picture.
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.
And S300, calculating a playing time table of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time table in association with the working data of each frame of picture.
The synchronous terminal 20 can calculate the playing time table of each frame of picture, i.e. the specific and accurate playing time of each frame of picture, according to the synchronized local time and the playing time parameter. Then, the play schedule is associated with the picture operation data for each frame and then stored in the memory so as to be directly read at the time of actual play without recalculation.
In calculating the play schedule, the local time used is the synchronized local time. In this way, it is possible to ensure time synchronization of all the synchronization terminals 20, and to ensure that the play schedules calculated therefrom are the same.
The local time synchronization of the synchronization terminal 20 may be performed in step S300 or before step S300, that is, each time the play schedule is calculated, the local time may be synchronized first; before step S100, as shown in fig. 4, step S010: the local time is synchronized.
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 terminal 20 synchronizes the local time by using a time synchronization method based on a mobile communication base station.
And S400, reading the picture working data of the corresponding time frame at a preset time according to the playing time table, and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval.
According to the play schedule, the synchronous terminal 20 reads the picture working data of the corresponding time frame at the preset time and sends the data to the outside. The picture operation data corresponding to the time frame may include only one frame of picture operation data, or may include multiple frames of picture operation data. The picture working data of the corresponding time frame to be transmitted can be packed into a data packet, such as a UDP data packet. In addition to the frame work data of each frame, the data packet may further include address data, port number, channel number, and the like of the controller 30, so as to help the controller 30 quickly obtain the data corresponding to itself from the data packet.
Generally, the transmission of the data packets may be performed in a broadcast form or in an on-demand form. When broadcasting is used, the picture operation data of all the controllers 30 is packed into one packet and then broadcast to all the controllers 30. When the on-demand broadcasting is adopted, the picture working data corresponding to each or a plurality of controllers 30 are respectively packed into one data packet, and then are sent to the corresponding controllers 30 point-to-point.
The transmission of the screen work data for each frame has a preset transmission interval so that the controller 30 can effectively distinguish the screen work data for each frame when receiving the data. For example, when the picture working data of a preset time frame only includes picture working data of multiple frames, in a data packet obtained by correspondingly packaging, a bit corresponding to a preset sending interval length may be set after the picture working data of each frame; when the frame work data of the preset time frame only includes the frame work data of one frame, the preset transmission interval may be a transmission time interval of adjacent data packets.
In order to improve the execution efficiency of step S400, the synchronization terminal 20 may read the frame work data of several frames from the memory in advance according to the play schedule, and store the frame work 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 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.
S500, acquiring the sending completion time of the picture working data of the corresponding time frame, and judging whether the time is overtime.
When the transmission of the screen work data of each frame is completed, the synchronization terminal 20 obtains the transmission completion time of the screen work data of the corresponding time frame, that is, the transmission time of the screen work data of the corresponding time frame.
A standard transmission time may be set in advance, or calculated according to the frame rate in the play time parameter. For example, assuming a frame rate of 30 frames/second, the standard transmit time may be calculated as 1/30 ≈ 33 ms.
Comparing the sending completion time of the picture working data of the corresponding time frame with the standard sending time, and if the sending completion time is smaller than the standard sending time, judging that the sending is not overtime; if the former is larger, it is a timeout.
S600, if the time is judged to be overtime, adjusting the preset sending interval according to the overtime time, and sending the picture working data of the next corresponding time frame according to the adjusted sending interval.
When the time-out is judged, the sync terminal 20 adjusts the preset transmission interval. Generally, the preset transmission interval is adjusted and decreased correspondingly according to the timeout time. And then, when the picture working data of the corresponding time frame of the next time is transmitted, the adjusted preset transmission interval is used.
In this way, the time schedule of all the synchronous terminals is ensured to be the same by setting the respective time schedule calculated based on the synchronous local time for each frame of picture. By adjusting the preset sending interval, even if the sending of the picture working data of a certain frame is overtime, the picture working data of the next frame can be ensured to be sent and completed in time, so that the sending time and the sending and completing time of the picture data of each frame in each synchronous terminal 20 are basically the same, and the LED light bars 40 controlled by all the synchronous terminals 20 can synchronously display the pictures of the same frame. By the scheme of the embodiment, the synchronization of most of the picture frames can be guaranteed, and even if one frame of picture is overtime, the phenomenon of obvious pause can not occur, and the asynchronization of subsequent frames can not be caused.
In some embodiments, step S500 is not required, i.e., the determination of whether the transmission completion time is timed out is not required. As shown in fig. 5, after step S400, step S800 is executed to adjust a preset transmission interval required for the screen working data of the corresponding time frame at the next time according to the transmission completion time of the screen working data of the corresponding time frame at the current time. Therefore, the sending interval can be preset in the dynamic adjustment period for the picture working data of each time frame, so that the sending completion time of the picture working data of each corresponding time frame is basically the same in a real-time scene, and the sending of the front and rear frames according to the playing time schedule is effectively guaranteed.
For example, the preset transmission interval of the corresponding time frame at the next time may be dynamically determined according to a difference between the transmission completion time of the screen work data of the corresponding time frame at the previous time and the standard transmission time. Therefore, by dynamically adjusting the preset sending interval for sending each frame, the sending of the front and rear frames according to the playing time table can be effectively ensured, and the synchronous display of the pictures of the same frame by the LED lamp strips 40 controlled by all the synchronous terminals 20 is realized.
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, configured to perform LED light synchronization control, including:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring picture data, a playing time parameter and a light arrangement picture, and the picture data comprises a plurality of frames of pictures;
the working data processing unit is used for calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting arrangement picture;
the time schedule unit is used for calculating the playing time schedule of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time schedule in association with the working data of each frame of picture;
the sending unit is used for reading the picture working data of the corresponding time frame at a preset time according to the playing time table and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval;
the overtime judging unit is used for acquiring the sending completion time of the picture working data of the corresponding time frame and judging whether the time is overtime;
and the adjusting unit is used for adjusting the preset sending interval according to the overtime time if the overtime is judged.
The specific working modes of the obtaining unit, the working data processing unit, the schedule unit, the sending unit, the timeout determining unit and the adjusting unit may refer to the descriptions in the foregoing embodiments, and are not described herein again.
In this way, the time schedule of all the synchronous terminals is ensured to be the same by setting the respective time schedule calculated based on the synchronous local time for each frame of picture. By adjusting the preset sending interval, even if the sending of the picture working data of a certain time frame is overtime, the picture working data of the next time frame can be ensured to be sent and completed in time, so that the sending time and the sending and completing time of the picture data of each frame in each synchronous terminal 20 are basically the same, and the LED light bars 40 controlled by all the synchronous terminals 20 can synchronously display the pictures of the same frame. By the scheme of the embodiment, the synchronization of most of the picture frames can be guaranteed, and even if one frame of picture is overtime, the phenomenon of obvious pause can not occur, and the asynchronization of subsequent frames can not be caused.
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 not include the timeout determining unit and the adjusting unit, but may be replaced by a dynamic adjusting unit, where the dynamic adjusting unit is configured to adjust a preset sending interval required by the screen working data of the time frame corresponding to the next time according to the sending completion time of the screen working data of the time frame corresponding to the current time.
Therefore, the sending interval can be preset in the dynamic adjustment period for the picture working data of each time frame, so that the sending completion time of the picture working data of each time frame is basically the same in a real-time scene, and the sending of the front and rear frames according to the playing time table is effectively guaranteed.
An embodiment of the present invention further provides an LED light synchronization control system, as shown in fig. 1 and fig. 2, including a server 10, a plurality of synchronization terminals 20, a plurality of controllers 30, and LED light bars 40, where the server 10 is in communication connection with the plurality of synchronization terminals 20, each synchronization terminal 20 is in communication connection with the plurality of controllers 30, each controller 30 is in communication connection with the plurality of LED light bars 40, and all the LED light bars 40 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 send data, such as 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 terminal, etc.
The synchronous terminal 20 receives the data, processes the data according to the scheme described in the foregoing embodiment, and then sends the screen work data to the controller 30. The sync terminal 20 may transmit the data packet to the controller 30 in a broadcast form or in an on-demand form.
The controller 30 receives the frame work data of each frame and controls the LED light bar 40 to work. The controller 30 may be a DMX512 controller, or may be another controller capable of controlling the LED lamp to operate.
The synchronization terminal 20 sets a respective time schedule for each frame of picture, which is calculated based on the synchronized local time, so that the time schedules of all the synchronization terminals are ensured to be the same. The preset sending interval is adjusted by the synchronous terminals 20, so that even if the sending of the picture working data of a certain time frame is overtime, the picture working data of the next time frame can be timely sent and completed, the sending time and the sending completion time of the picture data of each frame in each synchronous terminal 20 are basically the same, and the synchronous display of the pictures of the same frame by the LED light bars 40 controlled by all the synchronous terminals 20 is realized. By the scheme of the embodiment, the synchronization of most of the picture frames can be guaranteed, and even if one frame of picture is overtime, the phenomenon of obvious pause can not occur, and the asynchronization of subsequent frames can not be caused.
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 synchronization control method according to any one 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, and the like. 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 (9)

1. A synchronous control method for LED light is characterized by comprising the following steps:
acquiring picture data, a playing time parameter and a light arrangement picture, wherein the picture data comprises a plurality of frames of pictures;
calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting map;
calculating a playing time table of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time table in association with each frame of picture working data;
reading the picture working data of a corresponding time frame at a preset time according to a playing time table, and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval; the picture working data of the corresponding time frame comprises a plurality of frames of picture working data, and the picture working data of the corresponding time frame is packaged into a data packet; in the data packet, setting a bit corresponding to a preset sending interval length behind the picture working data of each frame;
acquiring the sending completion time of the picture working data of the corresponding moment frame, and judging whether the time is overtime or not;
if the time is judged to be overtime, adjusting a preset sending interval according to the overtime time, and sending the picture working data of the next corresponding time frame according to the adjusted sending interval; the adjusting of the preset sending interval refers to setting the length of a bit corresponding to the preset sending interval after adjusting the picture working data of each frame in the data packet.
2. The LED light synchronization control method according to claim 1, wherein before the step of calculating the playing schedule of each frame of picture according to the synchronized local time and playing time parameters and storing the playing schedule in association with the working data of each frame of picture, the method further comprises:
the local time is synchronized.
3. The LED light synchronous control method according to claim 1, characterized in that before the step of reading the picture working data of the corresponding time frame at the preset time according to the playing time table and sending the data to the outside, the method further comprises,
according to the play time table, reading the picture working data of a plurality of frames from the memory in advance, and storing the picture working data into the buffer.
4. A synchronous control method for LED light is characterized by comprising the following steps:
acquiring picture data, a playing time parameter and a light arrangement picture, wherein the picture data comprises a plurality of frames of pictures;
calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting map;
calculating a playing time table of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time table in association with each frame of picture working data;
reading the picture working data of a corresponding time frame at a preset time according to a playing time table, and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval; the picture working data of the corresponding time frame comprises a plurality of frames of picture working data, and the picture working data of the corresponding time frame is packaged into a data packet; in the data packet, setting a bit corresponding to a preset sending interval length behind the picture working data of each frame;
adjusting a preset sending interval required by the picture working data of the corresponding time frame at the next time according to the sending completion time of the picture working data of the corresponding time frame at the current time; the adjusting of the preset sending interval refers to setting the length of a bit corresponding to the preset sending interval after adjusting the picture working data of each frame in the data packet.
5. The utility model provides a synchronous terminal for LED light synchro control, its characterized in that includes:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring picture data, a playing time parameter and a light arrangement picture, and the picture data comprises a plurality of frames of pictures;
the working data processing unit is used for calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting arrangement picture;
the time schedule unit is used for calculating the playing time schedule of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time schedule in association with the working data of each frame of picture;
the sending unit is used for reading the picture working data of the corresponding time frame at a preset time according to the playing time table and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval; the picture working data of the corresponding time frame comprises a plurality of frames of picture working data, and the picture working data of the corresponding time frame is packaged into a data packet; in the data packet, setting a bit corresponding to a preset sending interval length behind the picture working data of each frame;
the overtime judging unit is used for acquiring the sending completion time of the picture working data of the corresponding time frame and judging whether the time is overtime;
the adjusting unit is used for adjusting the preset sending interval according to the overtime time if the overtime is judged; the adjusting of the preset sending interval refers to setting the length of a bit corresponding to the preset sending interval after adjusting the picture working data of each frame in the data packet.
6. The synchronizing terminal according to claim 5, characterized by further comprising a synchronizing unit for synchronizing the local time.
7. The utility model provides a synchronous terminal for LED light synchro control, its characterized in that includes:
the device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring picture data, a playing time parameter and a light arrangement picture, and the picture data comprises a plurality of frames of pictures;
the working data processing unit is used for calculating the picture working data mapped to each pixel point according to each frame of picture and the lighting arrangement picture;
the time schedule unit is used for calculating the playing time schedule of each frame of picture according to the synchronized local time and the playing time parameter, and storing the playing time schedule in association with the working data of each frame of picture;
the sending unit is used for reading the picture working data of the corresponding time frame at a preset time according to the playing time table and sending the picture working data outwards, wherein the sending of the picture working data of each frame has a preset sending interval; the picture working data of the corresponding time frame comprises a plurality of frames of picture working data, and the picture working data of the corresponding time frame is packaged into a data packet; in the data packet, setting a bit corresponding to a preset sending interval length behind the picture working data of each frame;
the dynamic adjustment unit is used for adjusting a preset transmission interval required by the picture working data of the corresponding time frame at the next time according to the transmission completion time of the picture working data of the corresponding time frame at the current time; the adjusting of the preset sending interval refers to setting the length of a bit corresponding to the preset sending interval after adjusting the picture working data of each frame in the data packet.
8. The utility model provides a LED light synchronous control system, includes server, a plurality of synchronous terminal, a plurality of controller and LED lamp strip, the server with synchronous terminal communication connection, every synchronous terminal with a plurality of controller 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, synchronous terminal be any one of claim 5-7 synchronous terminal.
9. A machine readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the LED light synchronization control method of any one of claims 1 to 4.
CN201910907968.5A 2019-09-24 2019-09-24 LED light synchronous control method and system, synchronous terminal and storage medium Active CN110660351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910907968.5A CN110660351B (en) 2019-09-24 2019-09-24 LED light synchronous control method and system, synchronous terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910907968.5A CN110660351B (en) 2019-09-24 2019-09-24 LED light synchronous control method and system, synchronous terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110660351A CN110660351A (en) 2020-01-07
CN110660351B true CN110660351B (en) 2021-03-02

Family

ID=69038962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910907968.5A Active CN110660351B (en) 2019-09-24 2019-09-24 LED light synchronous control method and system, synchronous terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110660351B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114630169A (en) * 2020-12-10 2022-06-14 上海三思电子工程有限公司 Synchronous display method, device, system, terminal and storage medium
CN114867174A (en) * 2021-02-04 2022-08-05 深圳市奥拓电子股份有限公司 Lighting control system, device and method for smart city
CN114900533B (en) * 2022-05-11 2023-10-03 江苏领焰智能科技股份有限公司 Dimming data synchronization method, system, equipment and storage medium based on Ethernet

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201681588U (en) * 2010-04-16 2010-12-22 深圳市创凯电子有限公司 Device capable of simultaneously displaying real-time multiple picture on full-color LED dot matrix
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
CN202018809U (en) * 2011-04-29 2011-10-26 深圳市达特工程技术有限公司 LED (light-emitting diode) synchronous display device
CN106128355A (en) * 2016-07-14 2016-11-16 北京智能管家科技有限公司 The display packing of a kind of LED battle array and device
CN108235537A (en) * 2017-12-28 2018-06-29 深圳市银河风云网络系统股份有限公司 A kind of illumination control method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201681588U (en) * 2010-04-16 2010-12-22 深圳市创凯电子有限公司 Device capable of simultaneously displaying real-time multiple picture on full-color LED dot matrix
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
CN202018809U (en) * 2011-04-29 2011-10-26 深圳市达特工程技术有限公司 LED (light-emitting diode) synchronous display device
CN106128355A (en) * 2016-07-14 2016-11-16 北京智能管家科技有限公司 The display packing of a kind of LED battle array and device
CN108235537A (en) * 2017-12-28 2018-06-29 深圳市银河风云网络系统股份有限公司 A kind of illumination control method and system

Also Published As

Publication number Publication date
CN110660351A (en) 2020-01-07

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
US9135675B2 (en) Multiple graphics processing unit display synchronization system and method
CN103119547B (en) For the image synchronization of multiple display
CN102186275B (en) Method and system for remotely and real-time playing and synchronously controlling light emitting diode (LED) lamp light
CN107426869B (en) LED lamplight offline playing synchronization system and method
TW201618068A (en) Dynamic frame repetition in a variable refresh rate system
GB2502578A (en) Transmitting a source frame into a multi projector video display system
CN103402140B (en) A kind of method and system of the synchronous tiled upper wall of distributed IP Video Decoder
CN112217960A (en) Method for synchronously displaying multi-screen playing pictures
CN113330478B (en) Method in virtual, augmented or mixed reality system
CN101690186B (en) Device and method for controlling display, and program
CN104317546A (en) Situational interactive experience simulation system
CN101814269A (en) Method and device for simultaneously displaying multiple images in real time on full color LED dot matrix
CN110677945A (en) Synchronous terminal, LED light synchronous control method and system
CN110831281A (en) Auxiliary synchronization LED control device and LED light control system
CN116486048A (en) Virtual-real fusion picture generation method, device, equipment and system
CN115482788A (en) Backlight adjusting method and device
CN107172776B (en) Device and method for determining lighting effect by audience in night scene intelligent lighting system
CN108235537B (en) Illumination control method and system
CN201681588U (en) Device capable of simultaneously displaying real-time multiple picture on full-color LED dot matrix
CN114627794A (en) LED display system and subframe driving control method and device thereof
CN116524845A (en) Display panel, display method of display panel and display driving device
US11234037B2 (en) Projector and display system
JP2017116734A (en) Light source control device and light source control method

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
CP03 Change of name, title or address

Address after: 518000 Luohu business center, No. 2028, Shennan East Road, Chengdong community, Dongmen street, Luohu District, Shenzhen, Guangdong 2006

Patentee after: Shenzhen QianBaiHui Intelligent Engineering Co.,Ltd.

Address before: 518000 19th Floor, Block C, Huangdu Plaza, 3008 Yitian Road, Futian District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN QIANBAIHUI LIGHTING ENGINEERING Co.,Ltd.

CP03 Change of name, title or address