[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN117794020B - Lamp screen equipment, lamp effect relay, driving control method and corresponding device - Google Patents

Lamp screen equipment, lamp effect relay, driving control method and corresponding device Download PDF

Info

Publication number
CN117794020B
CN117794020B CN202410205498.9A CN202410205498A CN117794020B CN 117794020 B CN117794020 B CN 117794020B CN 202410205498 A CN202410205498 A CN 202410205498A CN 117794020 B CN117794020 B CN 117794020B
Authority
CN
China
Prior art keywords
light
lamp
group
control data
effect
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
CN202410205498.9A
Other languages
Chinese (zh)
Other versions
CN117794020A (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 Zhiyan Technology Co Ltd
Shenzhen Qianyan Technology Co Ltd
Original Assignee
Shenzhen Zhiyan Technology Co Ltd
Shenzhen Qianyan Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhiyan Technology Co Ltd, Shenzhen Qianyan Technology Co Ltd filed Critical Shenzhen Zhiyan Technology Co Ltd
Priority to CN202410205498.9A priority Critical patent/CN117794020B/en
Publication of CN117794020A publication Critical patent/CN117794020A/en
Application granted granted Critical
Publication of CN117794020B publication Critical patent/CN117794020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application relates to a lamp panel device, a lamp effect relay, a driving control method and a corresponding device, wherein the relay control method comprises the following steps: receiving light effect protocol data, wherein the light effect protocol data comprises a light group order pointer and light effect control data, the light effect control data comprises a plurality of light group control data expressed according to a sequence relation, and the light group order pointer is used for indicating the current order in the sequence relation; acquiring target lamp group control data corresponding to the current position in the lamp effect control data according to the current position indicated by the lamp group position pointer; controlling the lamp group to play corresponding lamp effect according to the control data of the target lamp group; updating the lamp group order pointer in the lamp effect protocol data to point to the next order, and outputting the lamp effect protocol data. The application can flexibly communicate between the controller of the lamp screen device and the lamp group, optimize the product use experience of the lamp screen device and is beneficial to the popularization of the lamp screen device.

Description

灯屏设备及灯效中继、驱动控制方法和相应的装置Light screen equipment, lighting effect relay, driving control method and corresponding device

技术领域Technical Field

本申请涉及照明控制领域,尤其涉及一种灯屏设备及灯效中继、驱动控制方法和相应的装置。The present application relates to the field of lighting control, and in particular to a light screen device, a lighting effect relay, a drive control method and corresponding devices.

背景技术Background technique

随着人们经济水平的提升,灯屏设备越来越普及。灯屏设备作为智能灯具的一种,可以起到装饰室内空间效果、展示信息的作用。灯屏设备的特点是采用视觉上粒度较大的灯珠作为基本像素,其通过其灯屏的不同实现方式表现为多种形式的产品,例如:窗帘灯、像素屏、拼接灯等。灯屏设备的功能之一,是根据给定的参考图像生成相应的灯光效果。With the improvement of people's economic level, light screen equipment is becoming more and more popular. As a kind of intelligent lamp, light screen equipment can play the role of decorating indoor space and displaying information. The characteristic of light screen equipment is that it uses lamp beads with larger visual granularity as basic pixels. It is manifested in various forms of products through different implementation methods of its light screen, such as curtain lights, pixel screens, splicing lights, etc. One of the functions of light screen equipment is to generate corresponding lighting effects based on a given reference image.

灯屏设备通常由控制器与多个灯组通信连接构成,其中,灯组可以实现为多种形态,例如,窗帘灯和像素屏形式的产品,其灯组通常由多条发光灯带构成,每个发光灯带都有多个发光单元;拼接灯形式的产品,其灯组通常是一个固定形状的灯块,灯块中按照预设的方式排列多个发光单元。通常,每个灯组都有一个控制芯片,称为灯组控制芯片,其与控制器中的控制芯片,基于串行通信协议建立通信连接。控制器的控制芯片事先为各个灯组控制芯片确定其顺序标识,需要控制各个灯组播放相应的灯效时,按照每个灯组的顺序构造每个灯组相应的灯效控制数据,即灯组控制数据,在灯组控制数据中写下相应灯组的顺序标识,然后发送给各个灯组控制芯片,各个灯组控制芯片也按序调用相应的灯组控制数据以播放灯效。The light screen device is usually composed of a controller communicating with multiple light groups, where the light groups can be implemented in various forms. For example, products in the form of curtain lights and pixel screens usually consist of multiple light strips, each of which has multiple light units; products in the form of spliced lights usually have a light block of a fixed shape, in which multiple light units are arranged in a preset manner. Usually, each light group has a control chip, called a light group control chip, which establishes a communication connection with the control chip in the controller based on a serial communication protocol. The control chip of the controller determines the sequence identifier for each light group control chip in advance. When it is necessary to control each light group to play the corresponding light effect, the corresponding light effect control data of each light group, that is, the light group control data, is constructed according to the order of each light group, and the sequence identifier of the corresponding light group is written in the light group control data, and then sent to each light group control chip. Each light group control chip also calls the corresponding light group control data in sequence to play the light effect.

可见,控制器的控制芯片需要先对各个灯组控制芯片进行检测,确定各个灯组控制芯片在通信链路中的顺序,然后为各个灯组控制芯片指定其地址标识,后续便可根据这个地址标识,进行灯效控制数据的对应,但是,灯组控制芯片自身无法自行感知自身的顺序位置。正常情况下,控制器与灯组的这种通信机制可以发挥正常播放灯效的作用。一旦用户拆装或者增加个别灯组,而控制器未刷新各个灯组的顺序位置时,必然导致灯效播放出错,由此可见,灯屏设备中控制器与灯组之间传统的通信机制,欠缺灵活性,无法适应灵活扩展或收缩灯组的需要而提供良好的操作兼容性。It can be seen that the control chip of the controller needs to first detect the control chips of each light group, determine the order of each light group control chip in the communication link, and then specify the address identifier for each light group control chip. Later, the light effect control data can be matched according to this address identifier. However, the light group control chip itself cannot sense its own sequence position. Under normal circumstances, this communication mechanism between the controller and the light group can play the role of normal lighting effect playback. Once the user disassembles or adds individual light groups, and the controller does not refresh the sequence position of each light group, it will inevitably lead to lighting effect playback errors. It can be seen that the traditional communication mechanism between the controller and the light group in the light screen device lacks flexibility and cannot meet the needs of flexible expansion or contraction of the light group to provide good operational compatibility.

发明内容Summary of the invention

本申请的目的在于提供一种灯屏设备及灯效中继、驱动控制方法和相应的装置。The purpose of this application is to provide a light screen device and a light effect relay, drive control method and corresponding device.

根据本申请的一个方面,提供一种灯效中继控制方法,包括:According to one aspect of the present application, a lighting effect relay control method is provided, comprising:

接收灯效协议数据,所述灯效协议数据包括灯组顺位指针和灯效控制数据,所述灯效控制数据包括按照顺序关系表示的多个灯组控制数据,所述灯组顺位指针用于指示所述顺序关系中的当前顺位;Receive lighting effect protocol data, the lighting effect protocol data including a light group sequence pointer and lighting effect control data, the lighting effect control data including a plurality of light group control data represented in a sequence relationship, the light group sequence pointer being used to indicate a current sequence in the sequence relationship;

根据所述灯组顺位指针所指示的当前顺位,获取所述灯效控制数据中与该当前顺位相对应的目标灯组控制数据;According to the current sequence indicated by the light group sequence pointer, obtaining the target light group control data corresponding to the current sequence in the light effect control data;

根据所述目标灯组控制数据,控制本灯组播放相应的灯效;According to the target light group control data, control the light group to play the corresponding light effect;

更新所述灯效协议数据中的灯组顺位指针使其指向下一顺位,输出该灯效协议数据。The light group sequence pointer in the light effect protocol data is updated to point to the next sequence, and the light effect protocol data is output.

根据本申请的另一方面,提供一种灯效驱动控制方法,包括:According to another aspect of the present application, a lighting effect driving control method is provided, comprising:

根据待播放灯效生成灯屏设备中各个灯组相对应的灯组控制数据;Generate light group control data corresponding to each light group in the light screen device according to the light effect to be played;

按照预定的顺序关系将各个灯组控制数据有序构造为灯效控制数据;The control data of each light group is sequentially constructed into the light effect control data according to a predetermined sequence relationship;

初始化灯组顺位指针使其指向所述灯效控制数据中的首个灯组控制数据相对应的顺位,将该灯组顺位指针与所述灯效控制数据封装为灯效协议数据;Initialize the light group sequence pointer to point to the sequence corresponding to the first light group control data in the light effect control data, and encapsulate the light group sequence pointer and the light effect control data into light effect protocol data;

将所述灯效协议数据发送给灯屏设备中的各个灯组控制芯片以控制各个灯组播放相应的灯效。The lighting effect protocol data is sent to each light group control chip in the light screen device to control each light group to play the corresponding lighting effect.

根据本申请的另一方面,提供一种灯效中继控制装置,包括:According to another aspect of the present application, a lighting effect relay control device is provided, comprising:

数据接收模块,设置为接收灯效协议数据,所述灯效协议数据包括灯组顺位指针和灯效控制数据,所述灯效控制数据包括按照顺序关系表示的多个灯组控制数据,所述灯组顺位指针用于指示所述顺序关系中的当前顺位;A data receiving module, configured to receive lighting effect protocol data, wherein the lighting effect protocol data includes a lighting group sequence pointer and lighting effect control data, wherein the lighting effect control data includes a plurality of lighting group control data represented in a sequential relationship, and the lighting group sequence pointer is used to indicate a current sequence in the sequential relationship;

灯组提取模块,设置为根据所述灯组顺位指针所指示的当前顺位,获取所述灯效控制数据中与该当前顺位相对应的目标灯组控制数据;a light group extraction module, configured to obtain target light group control data corresponding to the current sequence in the lighting effect control data according to the current sequence indicated by the light group sequence pointer;

灯效播放模块,设置为根据所述目标灯组控制数据,控制本灯组播放相应的灯效;A lighting effect playing module, configured to control the lighting group to play corresponding lighting effects according to the target lighting group control data;

数据转发模块,设置为更新所述灯效协议数据中的灯组顺位指针使其指向下一顺位,输出该灯效协议数据。The data forwarding module is configured to update the light group sequence pointer in the lighting effect protocol data to point to the next sequence, and output the lighting effect protocol data.

根据本申请的另一方面,提供一种灯效驱动控制装置,包括:According to another aspect of the present application, a lighting effect driving control device is provided, comprising:

数据生成模块,设置为根据待播放灯效生成灯屏设备中各个灯组相对应的灯组控制数据;A data generation module, configured to generate light group control data corresponding to each light group in the light screen device according to the light effect to be played;

数据构造模块,设置为按照预定的顺序关系将各个灯组控制数据有序构造为灯效控制数据;A data construction module, configured to sequentially construct the control data of each light group into light effect control data according to a predetermined sequence relationship;

指针配置模块,设置为初始化灯组顺位指针使其指向所述灯效控制数据中的首个灯组控制数据相对应的顺位,将该灯组顺位指针与所述灯效控制数据封装为灯效协议数据;A pointer configuration module, configured to initialize a light group sequence pointer to point to a sequence corresponding to the first light group control data in the light effect control data, and encapsulate the light group sequence pointer and the light effect control data into light effect protocol data;

发送驱动模块,设置为将所述灯效协议数据发送给灯屏设备中的各个灯组控制芯片以控制各个灯组播放相应的灯效。The sending driving module is configured to send the lighting effect protocol data to each light group control chip in the light screen device to control each light group to play the corresponding lighting effect.

根据本申请的另一方面,提供一种According to another aspect of the present application, there is provided a

灯屏设备,包括控制器和至少一个灯组,每个控制器包括控制芯片,每个灯组包括灯组控制芯片及受控于该灯组控制芯片的多个发光单元,所述灯组控制芯片执行所述灯效中继控制方法的步骤,所述控制器的控制芯片执行所述灯效驱动控制方法的步骤。A light screen device includes a controller and at least one light group, each controller includes a control chip, each light group includes a light group control chip and a plurality of light-emitting units controlled by the light group control chip, the light group control chip executes the steps of the light effect relay control method, and the control chip of the controller executes the steps of the light effect drive control method.

相对于现有技术,本申请具有多方面优势,包括但不限于:Compared with the prior art, this application has many advantages, including but not limited to:

首先,本申请在灯屏设备中用于控制灯组播放相应的灯效的灯效协议数据中,不再为每个灯组相对应的灯组控制数据一一对应设置其顺序标识,转而只是提供一个灯组顺位指针用于指示一个当前顺位,由灯组控制芯片将这个顺位指针所表示的当前顺位所指向的灯组控制数据默认为自身所使用的目标灯组控制数据,根据目标灯组控制数据控制本灯组播放灯效,然后再将灯效协议数据中的灯效顺位指针后推使其指向下一顺位,再转发该灯效协议数据以实现中继,使在后的灯组根据相同的方式,仍能顺利获取自身相对应的灯组控制数据,由此以新的通信方式实现对各个灯组的灯效的播放控制。Firstly, in the lighting effect protocol data used to control the lighting group to play the corresponding lighting effects in the light screen device, the present application no longer sets the sequence identifier for each lighting group corresponding to the lighting group control data one by one, but instead only provides a lighting group sequence pointer to indicate a current sequence. The lighting group control chip sets the lighting group control data pointed to by the current sequence indicated by this sequence pointer as the target lighting group control data used by itself, controls the lighting group to play the lighting effects according to the target lighting group control data, and then pushes the lighting effect sequence pointer in the lighting effect protocol data back to point to the next sequence, and then forwards the lighting effect protocol data to achieve relaying, so that the subsequent lighting groups can still successfully obtain their corresponding lighting group control data in the same way, thereby achieving the playback control of the lighting effects of each lighting group in a new communication method.

其次,在本申请的灯组顺位指针发挥指示作用的情况下,各个灯组控制芯片只需按照标准化的流程,便可顺利播放灯效,因此,即使灯屏设备中的个别灯组被拆卸、换装,或者增加个别灯组,且控制器未对各个灯组的连接顺序进行检测,只要控制器所封装的灯效协议数据中包含有足量的灯组相对应的灯组控制数据,灯屏设备中的各个灯组控制芯片,依然可以获取自身相对应的目标灯组控制数据来控制自身的发光单元播放相应的灯效。理论上,控制器可以不再依赖自检,只要预先指定灯组数量即可进行多灯组的灯效控制,大大简化了控制器与灯组之间的通信复杂度。Secondly, when the light group sequence pointer of the present application plays an indicating role, each light group control chip only needs to follow the standardized process to smoothly play the lighting effects. Therefore, even if individual light groups in the light screen device are disassembled, replaced, or added, and the controller does not detect the connection sequence of each light group, as long as the light effect protocol data encapsulated by the controller contains a sufficient amount of light group control data corresponding to the light group, each light group control chip in the light screen device can still obtain its own corresponding target light group control data to control its own light-emitting unit to play the corresponding lighting effect. In theory, the controller can no longer rely on self-testing, and can control the lighting effects of multiple light groups as long as the number of light groups is pre-specified, which greatly simplifies the complexity of communication between the controller and the light groups.

此外,本申请改进了灯屏设备中的控制器与灯组之间的通信机制,实现对灯屏设备的技术升级,灯屏设备的接受度更高,更易普及,其潜在经济收益明显提升。In addition, the present application improves the communication mechanism between the controller and the light group in the light screen device, realizes the technical upgrade of the light screen device, and the light screen device is more acceptable and easier to popularize, and its potential economic benefits are significantly improved.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1为本申请实施例中的灯屏设备的电气结构的原理示意图;FIG1 is a schematic diagram showing the principle of the electrical structure of the light screen device in an embodiment of the present application;

图2和图3为本申请示例性的灯屏设备的结构形态,其中,图2的灯屏被布局成窗帘灯形态,图3的灯屏被布局成拼接灯形态;FIG. 2 and FIG. 3 are structural forms of exemplary light screen devices of the present application, wherein the light screen of FIG. 2 is arranged in a curtain light form, and the light screen of FIG. 3 is arranged in a spliced light form;

图4为本申请实施例中灯效中继控制方法的流程示意图;FIG4 is a flow chart of a method for controlling a lighting effect relay in an embodiment of the present application;

图5为本申请实施例中根据灯组顺位指针相对应的数据位置获取目标灯组控制数据以播放灯效的流程示意图;FIG5 is a schematic diagram of a process of obtaining target light group control data to play light effects according to a data position corresponding to a light group sequence pointer in an embodiment of the present application;

图6为本申请实施例中根据灯组顺位指针相对应的灯组序号获取目标灯组控制数据以播放灯效的流程示意图;FIG6 is a schematic diagram of a process of obtaining target light group control data to play light effects according to the light group sequence number corresponding to the light group sequence pointer in an embodiment of the present application;

图7为本申请实施例中灯效驱动控制方法的流程示意图;FIG7 is a flow chart of a method for controlling a lighting effect drive in an embodiment of the present application;

图8为本申请实施例中的灯效中继控制装置的结构示意图;FIG8 is a schematic diagram of the structure of a lighting effect relay control device in an embodiment of the present application;

图9为本申请实施例中的灯效驱动控制装置的结构示意图;FIG9 is a schematic diagram of the structure of a lighting effect driving control device in an embodiment of the present application;

图10为本申请实施例中的计算机设备的结构示意图。FIG. 10 is a schematic diagram of the structure of a computer device in an embodiment of the present application.

具体实施方式Detailed ways

请参阅图1,本申请一种实施例提供的一种灯屏设备的结构示意图中可以看出,所述灯屏设备包括控制器1和灯屏2,灯屏2与控制器1电性连接,以便接受控制器1中运行的计算机程序的控制协同工作,实现灯效播放。Please refer to Figure 1. It can be seen from the structural schematic diagram of a light screen device provided in an embodiment of the present application that the light screen device includes a controller 1 and a light screen 2. The light screen 2 is electrically connected to the controller 1 so as to accept the control of the computer program running in the controller 1 and work together to realize light effect playback.

控制器1通常包括控制芯片、通信组件以及总线接头,在一些实施例中,控制器1还可以按需配置电源适配器、控制面板、显示屏等。The controller 1 generally includes a control chip, a communication component, and a bus connector. In some embodiments, the controller 1 may also be configured with a power adapter, a control panel, a display screen, etc. as required.

电源适配器主要用于将市电转换为直流电,以便为整个灯屏设备供电。控制芯片可采用各种嵌入式芯片实现,例如蓝牙SoC(System on Chip,系统级芯片)、WiFi SoC、MCU(Micro Controller Unit,微控制器)、DSP(Digital Signal Processing,数字信号处理)等各种类型的芯片,控制芯片通常包括中央处理器和存储器,存储器和中央处理器分别用于存储和执行程序指令,以实现相应的功能。以上各种类型的控制芯片,可以自带通信组件,也可按需额外配置通信组件。通信组件可以用于与外部设备通信,例如,可以与个人计算机或各种智能手机之类的终端设备通信,以便用户通过其终端设备下达各种配置指令之后,控制器1的控制芯片可以通过通信组件接收配置指令,完成基础配置,以便控制灯屏工作。此外,控制器1还可以通过通信组件获取封装了多个灯效图层的灯效应用包。总线接头主要用于为接入总线的灯屏2接入电源并提供灯效播放指令,因而对应提供电源总线和信号总线相对应的针脚,由此,当灯屏2需要接入控制器1时,通过灯屏相应的接头与所述总线接头连接即可。控制面板通常提供一个或多个按键,用于对控制器1实施开关控制、选择各种预设的灯效控制方式等等。显示屏可用于显示各种控制信息,以便与所述控制面板中的按键相配合,支持人机交互功能的实现。一些实施例中,控制面板与所述显示屏可以集成到同一触控显示屏中。The power adapter is mainly used to convert AC power into DC power to power the entire light screen device. The control chip can be implemented using various embedded chips, such as Bluetooth SoC (System on Chip), WiFi SoC, MCU (Micro Controller Unit), DSP (Digital Signal Processing) and other types of chips. The control chip usually includes a central processing unit and a memory, and the memory and the central processing unit are used to store and execute program instructions respectively to achieve corresponding functions. The above various types of control chips can have their own communication components, or they can be configured with additional communication components as needed. The communication component can be used to communicate with external devices, for example, it can communicate with terminal devices such as personal computers or various smart phones, so that after the user issues various configuration instructions through his terminal device, the control chip of the controller 1 can receive the configuration instructions through the communication component to complete the basic configuration so as to control the light screen. In addition, the controller 1 can also obtain the lighting effect application package encapsulating multiple lighting effect layers through the communication component. The bus connector is mainly used to connect the light screen 2 connected to the bus to the power supply and provide the light effect playing instruction, so the corresponding pins of the power bus and the signal bus are provided. Therefore, when the light screen 2 needs to be connected to the controller 1, it can be connected to the bus connector through the corresponding connector of the light screen. The control panel usually provides one or more buttons for implementing switch control of the controller 1, selecting various preset light effect control modes, etc. The display screen can be used to display various control information so as to cooperate with the buttons in the control panel to support the realization of human-computer interaction functions. In some embodiments, the control panel and the display screen can be integrated into the same touch display screen.

灯屏由多个灯组22相拼接构成,所以,各个灯组22通常串接在同一通信链路上以接入控制器的控制芯片。每个灯组22通常由多个发光单元构成,且通过一个专门的控制芯片,称为灯组控制芯片,对该灯组22的各个发光单元进行统一控制。根据灯组22的实现形式不同,灯屏的具体产品形态也相应不同,较为常见的产品形态包括但不限于窗帘灯、像素屏、拼接灯等。The light screen is composed of multiple light groups 22, so each light group 22 is usually connected in series on the same communication link to access the control chip of the controller. Each light group 22 is usually composed of multiple light-emitting units, and a special control chip, called a light group control chip, is used to uniformly control the light-emitting units of the light group 22. Depending on the implementation form of the light group 22, the specific product form of the light screen is also different. The more common product forms include but are not limited to curtain lights, pixel screens, spliced lights, etc.

灯组控制芯片,可以按照前文所揭示进行选型,或者选取其它更为经济的嵌入式控制芯片,其作用主要在于与控制器的控制芯片通信,以便处理控制器的灯效协议数据,一方面根据灯效协议数据控制自有的发光单元播放灯效,另一方面也可按需实现对灯效协议数据的中继。The light group control chip can be selected according to the above disclosure, or other more economical embedded control chips can be selected. Its main function is to communicate with the control chip of the controller in order to process the lighting effect protocol data of the controller. On the one hand, it controls its own light-emitting unit to play the lighting effect according to the lighting effect protocol data, and on the other hand, it can also realize the relay of the lighting effect protocol data as needed.

例如,图2中的灯屏被布局成窗帘灯的样态,该灯屏2包括多个灯组22,其中的灯组22表现为由多条发光灯带21构成的形态,每个灯组22包括连接在总线上的多条发光灯带21,每条发光灯带21都包括多个串接而成的灯珠210,通常各条发光灯带21的灯珠210数量相同,而且等间距排列。作为窗帘灯使用的灯屏2在被使用时,通常按照如图2所示的布局展开其各个灯组22的各条发光灯带21,由此使全部发光灯带21中的全部灯珠按照阵列的方式进行布局,形成灯珠矩阵结构,由于全部灯珠协同发光时能够提供画幅效果,所以,整个灯珠矩阵结构所在的面便构成一个显示画幅4,当播放灯效时,便可以在该显示画幅4范围内形成一定的图案效果。For example, the light screen in FIG2 is arranged in the form of a curtain light. The light screen 2 includes a plurality of light groups 22, wherein the light groups 22 are in the form of a plurality of light strips 21. Each light group 22 includes a plurality of light strips 21 connected to a bus. Each light strip 21 includes a plurality of lamp beads 210 connected in series. Usually, the number of lamp beads 210 in each light strip 21 is the same and arranged at equal intervals. When the light screen 2 used as a curtain light is used, the light strips 21 of each light group 22 are usually unfolded according to the layout shown in FIG2, so that all the lamp beads in all the light strips 21 are arranged in an array to form a lamp bead matrix structure. Since all the lamp beads can provide a frame effect when they emit light in coordination, the surface where the entire lamp bead matrix structure is located constitutes a display frame 4. When the lighting effect is played, a certain pattern effect can be formed within the display frame 4.

每个发光灯带21可由多个灯珠210串接而成,每个灯珠210是一个发光单元,受控于同一灯组控制芯片的一条或数条发光灯带21,由接入总线的同一组线缆传输工作电流,同一发光灯带21的各个灯珠210之间,在电性连接关系上,可以采用并联的方式进行连接。一种实施例中,同一灯珠矩阵结构中的各个发光灯带21,可以沿总线方向等间距设置,且各个发光灯带21的灯珠210之间,在数量和位置上,也对应设置,这样,整个显示画幅4在远距离观看其发光效果时,起到类似屏幕的作用,能够在人眼视觉上形成图案效果。Each light strip 21 can be composed of a plurality of lamp beads 210 connected in series, each lamp bead 210 is a light-emitting unit, and is controlled by one or more light strips 21 of the same light group control chip, and the working current is transmitted by the same set of cables connected to the bus. The lamp beads 210 of the same light strip 21 can be connected in parallel in terms of electrical connection. In one embodiment, the light strips 21 in the same lamp bead matrix structure can be arranged at equal intervals along the bus direction, and the lamp beads 210 of each light strip 21 are also arranged correspondingly in terms of quantity and position, so that the entire display frame 4 plays a role similar to a screen when its luminous effect is viewed from a distance, and can form a pattern effect in the human eye.

灯屏2的每条发光灯带21的每个灯珠210中,也设置有相应的控制芯片,可称为发光控制芯片,该发光控制芯片可以按照前文所揭示进行选型,或者选取其它更为经济的控制芯片,其作用主要在于能够从灯组控制芯片解析灯效协议数据后提取的灯组控制数据中进一步提取出本灯珠210相对应的发光颜色值,控制本灯珠210内的发光元件发出相应的色光。在一些实施例中,发光元件可以由多个发射不同原色的LED灯构成。Each lamp bead 210 of each light strip 21 of the light screen 2 is also provided with a corresponding control chip, which can be called a light control chip. The light control chip can be selected according to the above disclosure, or other more economical control chips can be selected. Its main function is to further extract the corresponding light color value of the lamp bead 210 from the light group control data extracted after the light group control chip parses the light effect protocol data, and control the light emitting element in the lamp bead 210 to emit the corresponding color light. In some embodiments, the light emitting element can be composed of a plurality of LED lamps that emit different primary colors.

像素屏的实现原理基本与窗帘灯以上的实现原理相同,但像素屏会提供用来固定各个发光单元的框架,将各个发光单元按照行列矩阵的方式排布在同一矩形框架内,得到更近似于日常显示屏幕的产品形态效果。像素屏与窗帘灯同理,可以按照多个灯组、多条发光灯带进行并排的结构来组织各个发光单元,且可应用窗帘相同的控制方式进行控制,因此恕不再赘述。The implementation principle of the pixel screen is basically the same as that of the curtain light, but the pixel screen provides a frame to fix each light-emitting unit, and arranges each light-emitting unit in a row and column matrix in the same rectangular frame, so as to obtain a product form effect that is closer to the daily display screen. The pixel screen is similar to the curtain light. Each light-emitting unit can be organized in a structure with multiple light groups and multiple light strips arranged side by side, and can be controlled in the same way as the curtain, so I will not go into details.

图3进一步揭示本申请的灯屏设备中的灯屏的另一种形态,其本质上是一种拼接灯,灯屏中的灯组22被表现成块状结构形态而成为灯块,拼接灯中的灯屏2由一个或多个灯块构成。拼接灯的灯块内部,包括标准化设置在灯块的不同位置的多个发光单元(未示出),每个发光单元也可以设置相应的发光控制芯片,用来从相应的灯组控制数据中提取对应本发光单元的控制数据转换生成相应的发光控制信号,通过该发光控制信号控制相应的发光单元中的发光元件按照特定的发光颜色值进行发光。而灯块作为灯组22,也可以设置一个独立的灯组控制芯片对其中的全部发光单元进行发光控制,这个灯组控制芯片可以向各个发光单元的发光控制芯片传输相应的控制数据来达到集中控制的目的,当然,整个灯块也可以由单个控制芯片来直接控制各个发光单元以达到相应的灯效播放目的。这主要视灯块及其发光单元所采用的控制芯片的能力而灵活设计,不影响本申请的创造精神的体现。根据这些原理可知,对于一个灯块来说,既可以统一控制其全部发光单元同时发光,也可以把控制粒度具体到各个发光单元,控制粒度越精细,所生成的灯效便越细腻。FIG3 further reveals another form of the light screen in the light screen device of the present application, which is essentially a spliced light. The light group 22 in the light screen is expressed as a block structure to become a light block. The light screen 2 in the spliced light is composed of one or more light blocks. Inside the light block of the spliced light, there are multiple light-emitting units (not shown) that are standardized and set at different positions of the light block. Each light-emitting unit can also be provided with a corresponding light-emitting control chip, which is used to extract the control data corresponding to the light-emitting unit from the corresponding light group control data and convert it into a corresponding light-emitting control signal. The light-emitting control signal controls the light-emitting element in the corresponding light-emitting unit to emit light according to a specific light-emitting color value. The light block, as a light group 22, can also be provided with an independent light group control chip to control the light emission of all the light-emitting units therein. This light group control chip can transmit the corresponding control data to the light control chip of each light-emitting unit to achieve the purpose of centralized control. Of course, the entire light block can also be directly controlled by a single control chip to achieve the purpose of corresponding light effect playback. This is mainly designed flexibly depending on the capabilities of the control chip used in the light block and its light-emitting unit, and does not affect the embodiment of the creative spirit of the present application. According to these principles, for a lamp block, all its light-emitting units can be controlled to emit light simultaneously, or the control granularity can be specified to each light-emitting unit. The finer the control granularity, the more delicate the generated lighting effect.

不同灯块形态的灯块之间,可以相互拼接,例如在六边形灯块的外围任意一条结构边处邻接一个四边形的灯块,不难理解,通过搭配不同灯块形态的灯块,可以构造出更为丰富的面阵图案。当需要控制各个灯块播放相应的灯效时,通过协调控制各个灯块的各个发光单元发光,便可呈现一个显示画幅4,展示相应的灯效。Light blocks of different shapes can be connected to each other. For example, a quadrilateral light block can be connected to any structural edge of a hexagonal light block. It is not difficult to understand that by matching light blocks of different shapes, a richer array pattern can be constructed. When it is necessary to control each light block to play a corresponding lighting effect, by coordinating and controlling each light-emitting unit of each light block to emit light, a display frame 4 can be presented to display the corresponding lighting effect.

本申请的灯屏设备,当其上电时,控制器的控制芯片可以从存储器中调用执行计算机程序,通过该计算机程序默认的初始化流程,为灯屏上电并实现初始化,完成对灯屏和其他硬件设备的驱动配置。The light screen device of the present application, when powered on, the control chip of the controller can call and execute a computer program from the memory, and through the default initialization process of the computer program, the light screen is powered on and initialized, thereby completing the driver configuration of the light screen and other hardware devices.

控制器在启动灯屏时,可以通过其控制芯片先向灯屏发送自检指令,驱动灯屏的各个灯组22的灯组控制芯片进行响应,控制器的控制芯片根据各个灯组控制芯片进行响应而提交的连接信息所表示的顺序,便可确定通信链路中存在的灯组数量和顺序关系。进一步,各个灯组控制芯片通常也可以将统一管控的各个发光单元的布局信息提交给控制器的控制芯片,以便控制器后续可以根据各个灯组22的发光单元的布局信息生成灯效控制数据。控制器与各个灯组22之间执行的串行通信协议,可以是IIC(Inter-IntegratedCircuit,集成电路总线)、SPI(serial peripheral interface,串行外设接口)、UART(Universal Asynchronous Receiver-Transmitter, 通用异步收发器)中任意一项。When the controller starts the light screen, it can first send a self-test instruction to the light screen through its control chip to drive the light group control chips of each light group 22 of the light screen to respond. The control chip of the controller can determine the number and sequence of light groups in the communication link according to the order represented by the connection information submitted by each light group control chip in response. Furthermore, each light group control chip can usually submit the layout information of each light unit under unified control to the control chip of the controller, so that the controller can subsequently generate lighting effect control data according to the layout information of the light units of each light group 22. The serial communication protocol executed between the controller and each light group 22 can be any one of IIC (Inter-Integrated Circuit, integrated circuit bus), SPI (serial peripheral interface, serial peripheral interface), and UART (Universal Asynchronous Receiver-Transmitter, universal asynchronous receiver-transmitter).

控制器从总线获得各个灯组22以及每个灯组22中的各个发光单元的布局信息后,便可确定各个发光单元在整个灯屏所呈现的显示画幅4中的位置,由此可以将每个发光单元理解为一个基本像素,可将各个发光单元的位置信息构造为光源位置分布信息,后续控制器在构造灯效控制数据时,可以根据光源位置分布信息中各个灯珠也即各个发光单元的位置信息,按照实际需要,为每个基本像素设置其相应的发光颜色值,构成每个灯组相对应的灯效控制数据作为相应的灯组控制数据,由全部灯组控制数据构成整个灯屏相对应的灯效控制数据。控制器的控制芯片进一步根据协议将整个灯屏相对应的灯效控制数据封装为灯效协议数据,沿通信链路下行发送给各个灯组控制芯片,以由各个灯组控制芯片根据灯效协议数据中与自身相应的灯效控制数据执行灯效的展现。After the controller obtains the layout information of each light group 22 and each light unit in each light group 22 from the bus, it can determine the position of each light unit in the display frame 4 presented by the entire light screen. Therefore, each light unit can be understood as a basic pixel, and the position information of each light unit can be constructed as light source position distribution information. When constructing the lighting effect control data, the controller can set the corresponding luminous color value for each basic pixel according to the position information of each lamp bead, that is, each light unit in the light source position distribution information, according to actual needs, to form the lighting effect control data corresponding to each light group as the corresponding light group control data, and all the light group control data constitute the lighting effect control data corresponding to the entire light screen. The control chip of the controller further encapsulates the lighting effect control data corresponding to the entire light screen into lighting effect protocol data according to the protocol, and sends it to each light group control chip along the communication link, so that each light group control chip can perform the lighting effect display according to the lighting effect control data corresponding to itself in the lighting effect protocol data.

一些实施例中,本申请的控制器1可以在独立的计算机设备中实现,只要该计算机设备配备控制器1相应的硬件,以及将控制器1相应的业务逻辑包括本申请的相应方法所执行的业务逻辑,实现为计算机程序安装在该计算机设备中运行即可。当控制器1在计算机设备中实现时,可以共用计算机设备固有的各种资源以节省整体实现成本。此处所称的计算机设备,可以是任意供用户使用的终端设备,例如智能手机、个人计算机、笔记本电脑,平板电脑等。In some embodiments, the controller 1 of the present application can be implemented in an independent computer device, as long as the computer device is equipped with the corresponding hardware of the controller 1, and the corresponding business logic of the controller 1, including the business logic executed by the corresponding method of the present application, is implemented as a computer program installed in the computer device for operation. When the controller 1 is implemented in a computer device, various resources inherent to the computer device can be shared to save the overall implementation cost. The computer device referred to here can be any terminal device for use by the user, such as a smart phone, a personal computer, a laptop computer, a tablet computer, etc.

根据以上灯屏设备的产品架构和工作原理,本申请的灯效驱动控制方法,可以实现为计算机程序,存储于灯屏设备的控制器的存储介质中,由控制器的控制芯片从该存储介质中调用后运行,以便控制整个灯屏中的各个灯组播放相应的灯效。本申请的灯效驱动控制方法,可以实现为计算机程序,存储于灯屏设备的灯组的存储介质中,由该灯组中的灯组控制芯片从该存储介质中调用后运行,以便控制本灯组播放相应的灯效。According to the product architecture and working principle of the above light screen device, the light effect driving control method of the present application can be implemented as a computer program, stored in the storage medium of the controller of the light screen device, and called from the storage medium by the control chip of the controller to run, so as to control each light group in the entire light screen to play the corresponding light effect. The light effect driving control method of the present application can be implemented as a computer program, stored in the storage medium of the light group of the light screen device, and called from the storage medium by the light group control chip in the light group to run, so as to control the light group to play the corresponding light effect.

请参阅图4,在一个实施例中,本申请的灯效中继控制方法,其应用于灯屏设备的灯组的灯组控制芯片中,该灯组控制芯片执行如下步骤,包括:Please refer to FIG. 4 . In one embodiment, the light effect relay control method of the present application is applied to a light group control chip of a light group of a light screen device. The light group control chip performs the following steps, including:

步骤S5100、接收灯效协议数据,所述灯效协议数据包括灯组顺位指针和灯效控制数据,所述灯效控制数据包括按照顺序关系表示的多个灯组控制数据,所述灯组顺位指针用于指示所述顺序关系中的当前顺位;Step S5100, receiving lighting effect protocol data, wherein the lighting effect protocol data includes a lighting group sequence pointer and lighting effect control data, wherein the lighting effect control data includes a plurality of lighting group control data represented in a sequential relationship, and the lighting group sequence pointer is used to indicate a current sequence in the sequential relationship;

本申请中,灯屏设备中每个灯组所采用的灯组控制芯片,均写入本方法相对应的业务逻辑,因而,每个灯组控制芯片都可以完全相同的方式处理其从灯屏设备的通信链路中所接收到的灯效协议数据,其中包括提取出与灯组自身相对应的灯效控制数据即灯组控制数据来控制灯组内部的各个发光单元协同播放相应的灯效,也包括实现对该灯效协议数据的中继转发。不难理解,对于灯屏设备的通信链路中作为末端节点的灯组来说,由于其后续没有其它灯组,所以,其转发不起作用,并不影响灯屏设备的功能实现。In this application, the light group control chip used by each light group in the light screen device is written with the business logic corresponding to this method, so each light group control chip can process the light effect protocol data received from the communication link of the light screen device in exactly the same way, including extracting the light effect control data corresponding to the light group itself, that is, the light group control data to control the various light-emitting units inside the light group to play the corresponding light effects in coordination, and also including the relay forwarding of the light effect protocol data. It is not difficult to understand that for the light group as the end node in the communication link of the light screen device, since there are no other light groups later, its forwarding does not work and does not affect the functional realization of the light screen device.

如前文所揭示,本申请的灯效协议数据是由灯屏设备的控制器负责封装的,其中包括灯效控制数据,灯效控制数据中包含对应多个灯组而提供的各个灯组控制数据。控制器按照其所知晓的灯组数量生成对应个数的灯组控制数据,但在一些特殊情况下,如果灯屏设备中的灯组发生了拆装、增设等情况,且控制器并未对灯屏设备中实际的灯组数量进行更新时,灯效控制数据中提供的灯组控制数据的数量则未必与灯屏设备中灯组的实际数量相对应。在本申请中,这种情况并不影响各个灯组控制芯片发挥其应有的作用。As disclosed above, the lighting effect protocol data of the present application is encapsulated by the controller of the light screen device, including lighting effect control data, which includes control data of each light group provided for multiple light groups. The controller generates a corresponding number of light group control data according to the number of light groups it knows, but in some special cases, if the light groups in the light screen device are disassembled, added, etc., and the controller has not updated the actual number of light groups in the light screen device, the number of light group control data provided in the lighting effect control data may not correspond to the actual number of light groups in the light screen device. In the present application, this situation does not affect the function of each light group control chip.

灯效协议数据内,灯效控制数据中的各个灯组控制数据,通常按照给定的顺序关系进行排列或者设定顺序。该顺序关系可以根据控制器的控制芯片向各个灯组发放自检指令后,各个灯组返回其相应的连接信息的顺序来确定。由于每个灯组的连接信息会被表示到灯屏相对应的光源位置分布信息中,因此,也可以根据控制器已经生成的光源位置分布信息来确定该顺序关系。In the lighting effect protocol data, the control data of each light group in the lighting effect control data are usually arranged or set in a given order. The order relationship can be determined according to the order in which each light group returns its corresponding connection information after the control chip of the controller issues a self-test instruction to each light group. Since the connection information of each light group will be represented in the light source position distribution information corresponding to the light screen, the order relationship can also be determined according to the light source position distribution information already generated by the controller.

灯效控制数据中的各个灯组控制数据,每个灯组控制数据都包含有其相应的灯组内各个发光单元相对应单元控制数据,每个单元控制数据通常占据确定的字长。Each light group control data in the light effect control data includes corresponding unit control data of each light emitting unit in its corresponding light group, and each unit control data usually occupies a certain word length.

一种实施例中,根据该顺序关系,可以将每个灯组控制数据中的各个单元控制数据,按照相应灯组的各个发光单元在布局信息中的顺序关系,直接有序排列成灯组控制数据,再将各个灯组控制数据按照灯组之间的顺序关系有序排列构成灯效控制数据,由此,使灯组控制数据无需以特定的序号命名来关联,只需按照灯效控制数据中的各个灯组相对应的单元控制数据的数量,便可确定各个灯组的灯组控制数据。In one embodiment, based on the sequential relationship, each unit control data in each light group control data can be directly and orderly arranged into light group control data according to the sequential relationship of each light-emitting unit of the corresponding light group in the layout information, and then each light group control data can be arranged in order according to the sequential relationship between the light groups to form lighting effect control data. As a result, the light group control data does not need to be associated with a specific serial number, and the light group control data of each light group can be determined only according to the number of unit control data corresponding to each light group in the lighting effect control data.

另一实施例中,可以按照矩阵的形式,通过一个多维数组来表示各个灯组的灯组控制数据。以单元控制数据为单个维度的数据为例,可以构建二维数组,其中第一维表示灯组在顺序关系中的序数名称,第二维表示灯组中的发光单元的序数名称。由此,全部灯效控制数据便可通过单个数组完成表示。In another embodiment, the light group control data of each light group can be represented by a multi-dimensional array in the form of a matrix. Taking the unit control data as a single-dimensional data as an example, a two-dimensional array can be constructed, in which the first dimension represents the ordinal name of the light group in the sequence relationship, and the second dimension represents the ordinal name of the light-emitting unit in the light group. In this way, all the lighting effect control data can be represented by a single array.

在本申请中,灯效协议数据还包括灯组顺位指针,该灯组顺位指针用于指示出灯屏中各个灯组之间的顺序关系中的一个顺位以作为当前顺位。一种实施例中,灯组顺位指针可以采用数值来表示,通常是整数值,以便表示出给定的顺序关系中的当前顺位。例如,可以采用0、1、2……这样的自然数值作为该灯组顺位指针的数值。另一实施例中,当灯组控制数据本身关联了相应的序数名称时,也可以将灯组顺位指针表示为其中的一个序数名称。总之,在逻辑上,灯效控制数据中的各个灯组控制数据,无论其是按照顺序关系进行排列,还是关联序号名称进行标注,均能实现在逻辑上对各个灯组控制数据的排序,从而呈现该顺序关系,而灯组顺位指针则可以基于不同的逻辑排序方式,初始化为指向该顺序关系中的一个确定的顺位,该顺位将被接收该灯效协议数据的灯组控制芯片作为对应该灯组控制芯片的当前顺位,由该灯组控制芯片根据该当前顺位确定该灯组控制芯片相对应的灯组控制数据。In the present application, the lighting effect protocol data also includes a light group sequence pointer, which is used to indicate a sequence in the sequence relationship between the light groups in the light screen as the current sequence. In one embodiment, the light group sequence pointer can be represented by a numerical value, usually an integer value, so as to represent the current sequence in a given sequence relationship. For example, a natural value such as 0, 1, 2... can be used as the value of the light group sequence pointer. In another embodiment, when the light group control data itself is associated with a corresponding ordinal name, the light group sequence pointer can also be represented as one of the ordinal names. In short, logically, each light group control data in the lighting effect control data, whether it is arranged in a sequential relationship or labeled with an associated serial number name, can achieve logical sorting of each light group control data, thereby presenting the sequential relationship, and the light group sequence pointer can be initialized to point to a certain sequence in the sequential relationship based on different logical sorting methods. The sequence will be used as the current sequence of the light group control chip corresponding to the light group control chip that receives the lighting effect protocol data, and the light group control chip will determine the light group control data corresponding to the light group control chip according to the current sequence.

通常,控制器的控制芯片初始发送的灯效协议数据中,其灯组顺位指针通常被初始化为指向为灯效控制数据中的第一个灯组控制数据,以便后续各个灯组控制芯片可通过规则递增的方式,控制灯组顺位指针有序游移,以顺次指向各个灯组。Usually, in the lighting effect protocol data initially sent by the control chip of the controller, its light group sequence pointer is usually initialized to point to the first light group control data in the lighting effect control data, so that each subsequent light group control chip can control the light group sequence pointer to move in an orderly manner in a regular incremental manner to point to each light group in sequence.

对于当前灯组的灯组控制芯片来说,视当前灯组在灯屏设备的通信链路的灯组顺序关系中的位置不同,提供该灯效协议数据的上级部件也有所不同,例如,对于通信链路中的首个灯组来说,其接收到的灯效协议数据便是控制器的控制芯片原始发送的,非首个灯组来说,其接收到的灯效协议数据便是其上一级的灯组控制芯片重新封装后转发的。For the light group control chip of the current light group, depending on the position of the current light group in the light group sequence relationship of the communication link of the light screen device, the upper-level component that provides the lighting effect protocol data is also different. For example, for the first light group in the communication link, the lighting effect protocol data it receives is the original data sent by the control chip of the controller. For the non-first light group, the lighting effect protocol data it receives is the data repackaged and forwarded by the light group control chip of the upper level.

步骤S5200、根据所述灯组顺位指针所指示的当前顺位,获取所述灯效控制数据中与该当前顺位相对应的目标灯组控制数据;Step S5200, according to the current sequence indicated by the light group sequence pointer, obtaining the target light group control data corresponding to the current sequence in the lighting effect control data;

由于灯组顺位指针中指示出一个顺位,当前灯组的灯组控制芯片,便可将该顺位理解为与自身相对应的,用于在灯组间顺序关系中确定自身所需的灯组控制数据相对应的当前顺位。据此,当前灯组的灯组控制芯片,根据该灯组顺位指针所指示的当前顺位,便可在灯效协议数据的灯效控制数据中,确定出与当前顺位相对应的灯组控制数据,将该灯组控制数据提取出来作为本灯组相对应的目标灯组控制数据即可。Since the light group sequence pointer indicates a sequence, the light group control chip of the current light group can understand the sequence as corresponding to itself, and is used to determine the current sequence corresponding to the light group control data required by itself in the sequence relationship between light groups. Accordingly, the light group control chip of the current light group can determine the light group control data corresponding to the current sequence in the light effect control data of the light effect protocol data according to the current sequence indicated by the light group sequence pointer, and extract the light group control data as the target light group control data corresponding to the current light group.

步骤S5300、根据所述目标灯组控制数据,控制本灯组播放相应的灯效;Step S5300, controlling the light group to play corresponding light effects according to the target light group control data;

对于本灯组来说,其所获得的目标灯组控制数据中,包含有对应本灯组各个发光单元提供的单元控制数据,而且,这些单元控制数据通常也已经按照本灯组中各个发光单元在本灯组的通信链路中的顺序关系排好顺序,据此,本灯组的灯组控制芯片可以直接将目标灯组控制数据沿其内部的通信链路下行发送给各个发光单元的发光控制芯片。For this light group, the target light group control data obtained includes the unit control data provided by each light-emitting unit of this light group, and these unit control data are usually arranged in order according to the sequence relationship of each light-emitting unit in this light group in the communication link of this light group. Based on this, the light group control chip of this light group can directly send the target light group control data to the light control chip of each light-emitting unit along its internal communication link.

每个发光单元的发光控制芯片接收到目标灯组控制数据后,获取目标灯组控制数据中对应自身的单元控制数据,将该单元控制数据转换为相应的控制信号,控制自身的发光元件发出该单元控制数据中指定的发光颜色值相对应的色光。各个发光单元都按照这样的方式工作,从而,整个灯组的全部发光单元,便可以协同呈现本灯组相对应的灯光效果,实现相应灯效的播放。同理,全部灯组都按照相同的原理播放各自对应部分的灯效,整个灯屏也就通过全部灯组协同呈现了全部灯效。After receiving the control data of the target light group, the light control chip of each light unit obtains the unit control data corresponding to itself in the control data of the target light group, converts the unit control data into a corresponding control signal, and controls its own light emitting element to emit a color light corresponding to the light color value specified in the unit control data. Each light unit works in this way, so that all the light units of the entire light group can collaboratively present the lighting effects corresponding to the light group and realize the playback of the corresponding lighting effects. Similarly, all light groups play the lighting effects of their corresponding parts according to the same principle, and the entire light screen also presents all the lighting effects through the collaboration of all light groups.

步骤S5400、更新所述灯效协议数据中的灯组顺位指针使其指向下一顺位,输出该灯效协议数据。Step S5400, update the light group sequence pointer in the lighting effect protocol data to point to the next sequence, and output the lighting effect protocol data.

当本灯组的灯组控制芯片从灯效协议数据中提取出本灯组相对应的目标控制数据,便可据之播放相应的灯效,由此,便可调整灯效协议数据中的灯组顺位指针,对其原数值进行修改,将其修改为对应灯组间顺序关系中的下一顺位,以便使该灯组顺位指针所指示的当前顺位发生实际变化,使该当前顺位刚好指向通信链路中,本灯组之后的下一灯组相对应的灯组控制数据。然后,本灯组的灯组控制芯片,便可以将更新了灯组顺位指针的灯效协议数据,通过通信链路发送给拼接在本灯组之后的下一灯组的灯组控制芯片。不难理解,下一灯组控制芯片也将按照本灯组的灯组控制芯片完全相同的方式工作而实现灯效播放和灯组顺位指针的修改以及灯效协议数据的转发,以此类推,使灯屏设备的通信链路中的各个灯组均能获得自身相对应的灯组控制数据,控制其各个发光单元相应发光,从而全面协调播放由灯效协议数据所定义的整个灯效。When the light group control chip of this light group extracts the target control data corresponding to this light group from the light effect protocol data, it can play the corresponding light effect accordingly. Therefore, the light group sequence pointer in the light effect protocol data can be adjusted, and its original value can be modified to the next sequence in the order relationship between the corresponding light groups, so that the current sequence indicated by the light group sequence pointer actually changes, so that the current sequence just points to the light group control data corresponding to the next light group after this light group in the communication link. Then, the light group control chip of this light group can send the light effect protocol data with the updated light group sequence pointer to the light group control chip of the next light group spliced after this light group through the communication link. It is not difficult to understand that the next light group control chip will also work in exactly the same way as the light group control chip of this light group to realize the light effect playback and the modification of the light group sequence pointer and the forwarding of the light effect protocol data. By analogy, each light group in the communication link of the light screen device can obtain its own corresponding light group control data, control its each light-emitting unit to emit light accordingly, and thus comprehensively coordinate the playback of the entire light effect defined by the light effect protocol data.

进一步变通的一个实施例中,每个发光单元的发光控制芯片,同样也可按照以上步骤S5100至步骤S5400中,本申请的灯组控制芯片与控制器的控制芯片通信完全相同的方式建立通信机制,由本灯组的灯组控制芯片将相应的目标灯组控制数据,添加本灯组内应用的灯珠顺位指针,初始化该灯珠顺位指针指向该目标灯组控制数据中的首个单元控制数据,构成灯组协议数据,然后通过本灯组内部的通信链路将目标灯组协议数据发送给各个发光单元的发光控制芯片。每个发光单元的发光控制芯片接收到目标灯组协议数据之后,根据其中的灯珠顺位指针所指示的当前顺位,提取自身相对应的单元控制数据用于转换成发光控制信号以控制自身的发光元件发光,并将灯珠顺位指针按顺序推进至下一发光单元相对应的顺位而实现更新,再将更新后的灯珠顺位指针与目标灯组控制数据转发给下一发光单元的发光控制芯片,以此类推,即可确保各个发光控制芯片都可以准确获取自身相对应的单元控制数据,用来控制自身的发光元件发光。由此可见,按照本实施例,整个灯屏设备中,无论是控制器的控制芯片与灯组的灯组控制芯片之间,还是灯组内部的灯组控制芯片与发光单元的发光控制芯片之间,均可以实施同一协议,全面提升各控制芯片之间的通信效率,不仅能使灯组可灵活拆卸、换装、新增,而且,同理对于任一灯组来说,其中的发光单元的灵活拆卸、换装、新增等也同样更为灵活。In a further alternative embodiment, the light control chip of each light unit can also establish a communication mechanism in the same manner as the light group control chip of the present application communicates with the control chip of the controller in the above steps S5100 to S5400. The light group control chip of the light group adds the lamp bead sequence pointer applied in the light group to the corresponding target light group control data, initializes the lamp bead sequence pointer to point to the first unit control data in the target light group control data, and forms the light group protocol data. Then, the target light group protocol data is sent to the light control chip of each light unit through the communication link within the light group. After receiving the target light group protocol data, the light control chip of each light unit extracts the corresponding unit control data according to the current sequence indicated by the lamp bead sequence pointer, and converts it into a light control signal to control the light emission of its own light emitting element, and advances the lamp bead sequence pointer to the sequence corresponding to the next light unit in order to update it, and then forwards the updated lamp bead sequence pointer and the target light group control data to the light control chip of the next light unit. By analogy, it can be ensured that each light control chip can accurately obtain the corresponding unit control data to control the light emission of its own light emitting element. It can be seen that according to the present embodiment, in the entire lamp screen device, whether it is between the control chip of the controller and the lamp group control chip of the lamp group, or between the lamp group control chip inside the lamp group and the light control chip of the light unit, the same protocol can be implemented to comprehensively improve the communication efficiency between the control chips, which not only enables the lamp group to be flexibly disassembled, replaced, and newly added, but also, for any lamp group, the flexible disassembly, replacement, and addition of the light-emitting units therein are also more flexible.

根据以上实施例,可以知晓,本申请具有多方面优势,包括但不限于:According to the above embodiments, it can be known that the present application has many advantages, including but not limited to:

首先,本申请在灯屏设备中用于控制灯组播放相应的灯效的灯效协议数据中,不再为每个灯组相对应的灯组控制数据一一对应设置其顺序标识,转而只是提供一个灯组顺位指针用于指示一个当前顺位,由灯组控制芯片将这个顺位指针所表示的当前顺位所指向的灯组控制数据默认为自身所使用的目标灯组控制数据,根据目标灯组控制数据控制本灯组播放灯效,然后再将灯效协议数据中的灯效顺位指针后推使其指向下一顺位,再转发该灯效协议数据以实现中继,使在后的灯组根据相同的方式,仍能顺利获取自身相对应的灯组控制数据,由此以新的通信方式实现对各个灯组的灯效的播放控制。Firstly, in the lighting effect protocol data used to control the lighting group to play the corresponding lighting effects in the light screen device, the present application no longer sets the sequence identifier for each lighting group corresponding to the lighting group control data one by one, but instead only provides a lighting group sequence pointer to indicate a current sequence. The lighting group control chip sets the lighting group control data pointed to by the current sequence indicated by this sequence pointer as the target lighting group control data used by itself, controls the lighting group to play the lighting effects according to the target lighting group control data, and then pushes the lighting effect sequence pointer in the lighting effect protocol data back to point to the next sequence, and then forwards the lighting effect protocol data to achieve relaying, so that the subsequent lighting groups can still successfully obtain their corresponding lighting group control data in the same way, thereby achieving the playback control of the lighting effects of each lighting group in a new communication method.

其次,在本申请的灯组顺位指针发挥指示作用的情况下,各个灯组控制芯片只需按照标准化的流程,便可顺利播放灯效,因此,即使灯屏设备中的个别灯组被拆卸、换装,或者增加个别灯组,且控制器未对各个灯组的连接顺序进行检测,只要控制器所封装的灯效协议数据中包含有足量的灯组相对应的灯组控制数据,灯屏设备中的各个灯组控制芯片,依然可以获取自身相对应的目标灯组控制数据来控制自身的发光单元播放相应的灯效。理论上,控制器可以不再依赖自检,只要预先指定灯组数量即可进行多灯组的灯效控制,大大简化了控制器与灯组之间的通信复杂度。Secondly, when the light group sequence pointer of the present application plays an indicating role, each light group control chip only needs to follow the standardized process to smoothly play the lighting effects. Therefore, even if individual light groups in the light screen device are disassembled, replaced, or added, and the controller does not detect the connection sequence of each light group, as long as the light effect protocol data encapsulated by the controller contains a sufficient amount of light group control data corresponding to the light group, each light group control chip in the light screen device can still obtain its own corresponding target light group control data to control its own light-emitting unit to play the corresponding lighting effect. In theory, the controller can no longer rely on self-testing, and can control the lighting effects of multiple light groups as long as the number of light groups is pre-specified, which greatly simplifies the complexity of communication between the controller and the light groups.

此外,本申请改进了灯屏设备中的控制器与灯组之间的通信机制,实现对灯屏设备的技术升级,灯屏设备的接受度更高,更易普及,其潜在经济收益明显提升。In addition, the present application improves the communication mechanism between the controller and the light group in the light screen device, realizes the technical upgrade of the light screen device, and the light screen device is more acceptable and easier to popularize, and its potential economic benefits are significantly improved.

在本申请的灯效中控制方法的任意实施例的基础上,请参阅图5,根据所述灯组顺位指针所指示的当前顺位,获取所述灯效控制数据中与该当前顺位相对应的目标灯组控制数据,包括:Based on any embodiment of the lighting effect control method of the present application, please refer to FIG. 5 , according to the current sequence indicated by the light group sequence pointer, obtaining the target light group control data corresponding to the current sequence in the lighting effect control data includes:

步骤S5211、解析所述灯效协议数据,提取出其中的灯组顺位指针和灯效控制数据,所述灯效控制数据中每个灯组控制数据包括多个单元控制数据;Step S5211, parsing the lighting effect protocol data, extracting the lighting group sequence pointer and lighting effect control data therein, wherein each lighting group control data in the lighting effect control data includes a plurality of unit control data;

控制器的控制芯片通常按照与灯组控制芯片预协议的格式,封装出本申请的灯效协议数据,通信链路中,负责中继的各个灯组控制芯片,也同理按照预协议的格式,重新封装出灯效协议数据,因此,对于任意一个灯组控制芯片来说,其获得的灯效协议数据,均可依照预设协议对其进行解析。The control chip of the controller usually encapsulates the lighting effect protocol data of this application in a format pre-agreed with the lighting group control chip. In the communication link, each lighting group control chip responsible for relaying also re-encapsulates the lighting effect protocol data in the pre-agreed format. Therefore, for any lighting group control chip, the lighting effect protocol data it obtains can be parsed according to the preset protocol.

灯组控制芯片解析灯效协议数据之后,便可从协议头部得到其所携带的灯组顺位指针,并从协议数据区中得到其所携带的灯效控制数据。关于灯组顺位指针和灯效控制数据的数据内容和数据格式可参阅前文各实施例所揭示,其中,灯效控制数据包含有多个灯组相对应的多个灯组控制数据,且每个灯组控制数据也包含有相应灯组内各个发光单元相对应的单元控制数据,这些单元控制数据封装其相应的发光单元的发光控制参数,例如发光颜色值等,可以用于转换成发光控制信号而控制相应的发光单元发光。After the light group control chip parses the light effect protocol data, it can obtain the light group sequence pointer carried by it from the protocol header, and obtain the light effect control data carried by it from the protocol data area. The data content and data format of the light group sequence pointer and the light effect control data can be found in the above embodiments, wherein the light effect control data contains a plurality of light group control data corresponding to a plurality of light groups, and each light group control data also contains unit control data corresponding to each light emitting unit in the corresponding light group, and these unit control data encapsulate the light control parameters of the corresponding light emitting unit, such as the light color value, etc., which can be used to convert into a light control signal to control the corresponding light emitting unit to emit light.

步骤S5212、以所述灯组顺位指针所指向的当前顺位相对应的数据位置为起点,连续读取与本灯组的发光单元数量相对应的多个单元控制数据,作为本灯组相对应的目标灯组控制数据;Step S5212, starting from the data position corresponding to the current sequence pointed to by the sequence pointer of the light group, continuously reading a plurality of unit control data corresponding to the number of light-emitting units of the light group, as the target light group control data corresponding to the light group;

视本灯组所处通信链路中的顺序位置不同,从灯效协议数据中提取获得的灯组顺位指针,已经通过控制器的控制芯片的初始化赋值,或者通过本灯组的上一级灯组控制芯片的修改,而确定了其所指向的当前顺位,这个当前顺位对应指向灯效协议数据中的灯效控制数据中的一个灯组控制数据,由此,便可根据灯组顺位指针所指示的当前顺位,从灯效控制数据中确定该当前顺位相对应的灯组控制数据,以便将该灯组控制数据使用本灯组相对应的目标灯组控制数据使用。Depending on the sequential position of this light group in the communication link, the light group priority pointer extracted from the lighting effect protocol data has been determined through the initialization assignment of the control chip of the controller, or through the modification of the control chip of the upper-level light group of this light group, and the current priority it points to is determined. This current priority corresponds to a light group control data in the lighting effect control data in the lighting effect protocol data. Therefore, according to the current priority indicated by the light group priority pointer, the light group control data corresponding to the current priority can be determined from the lighting effect control data, so that the light group control data can be used with the target light group control data corresponding to this light group.

本实施例中,灯效控制数据中,每个灯组相对应的灯组控制数据中包括多个单元控制数据,为了节省数据量,这些单元控制数据未关联相应的序数名称,也即未关联相应的变量,仅仅是将这些单元控制数据按照灯组中发光单元固有的顺序关系进行排列,同理,各个灯组控制数据之间,也未关联相应的变量或序数名称,而直接按照灯组之间的顺序关系直接拼接各个灯组控制数据,所以,整个灯效控制数据,是一个由全部灯组中全部发光单元相对应的单元控制数据所构成的有序队列。In the present embodiment, in the lighting effect control data, the lighting group control data corresponding to each lighting group includes multiple unit control data. In order to save data volume, these unit control data are not associated with corresponding ordinal names, that is, they are not associated with corresponding variables. These unit control data are simply arranged according to the inherent sequential relationship of the light-emitting units in the lighting group. Similarly, there is no corresponding variable or ordinal name associated with the control data of each lighting group. Instead, the control data of each lighting group are directly spliced according to the sequential relationship between the lighting groups. Therefore, the entire lighting effect control data is an ordered queue composed of unit control data corresponding to all the light-emitting units in all the lighting groups.

但是,灯组顺位指针中的数值的表示,通常却是以自然数字进行表示的,例如,其可以是0、1、2……这样的自然数字,这导致灯组顺位针对所指示的顺位,与灯组控制数据的数据位置之间,需要建立相应的寻址关系。据此,本实施例根据灯组顺位指针所指示的当前顺位获取目标灯组控制数据时,可先将当前顺位转换为对应到灯效控制数据中的数据位置,再从该数据位置开始取值,获取本灯组的发光单元数据相对应的多个单元控制数据,由此得到本灯组相对应的目标灯组控制数据。However, the numerical value in the light group sequence pointer is usually represented by a natural number, for example, it can be a natural number such as 0, 1, 2, etc., which results in the need to establish a corresponding addressing relationship between the light group sequence and the data position of the light group control data for the sequence indicated. Accordingly, when the present embodiment obtains the target light group control data according to the current sequence indicated by the light group sequence pointer, the current sequence can be first converted to the data position corresponding to the lighting effect control data, and then the value is taken from the data position to obtain multiple unit control data corresponding to the light unit data of the present light group, thereby obtaining the target light group control data corresponding to the present light group.

示例而言,假设每个灯组中发光单元的数量都是520个,而灯组顺位指针的数值为pos,那么,可以灯组顺位指针所表示的当前顺位所对应的数据位置便是pos*520,灯效控制数据中的单元控制数据编码顺序和灯组顺位指针的数值pos均是以0为其初始值进行表示的话,那么,对于第一灯组来说,其pos=0,则其当前顺位在灯效控制数据中相对应的数据位置便是0,由于每个灯组都有520个发光单元,所以,第一灯组相对应的目标灯组控制数据便是第0-519个单元控制数据;同理,对于第二灯组来说,其pos=1,则其当前顺位在灯效控制数据中相对应的数据位置便是520,其相对应的目标灯组控制数据便是第520-1039个单元控制数据。以此类推,各个灯组控制芯片都可以按照相同的方式提取到其自身相对应的目标灯组控制数据。For example, assuming that the number of light units in each light group is 520, and the value of the light group sequence pointer is pos, then the data position corresponding to the current sequence indicated by the light group sequence pointer is pos*520. If the unit control data encoding sequence in the lighting effect control data and the value of the light group sequence pointer pos are both represented by 0 as their initial value, then for the first light group, its pos=0, then the data position corresponding to its current sequence in the lighting effect control data is 0. Since each light group has 520 light units, the target light group control data corresponding to the first light group is the 0th-519th unit control data; similarly, for the second light group, its pos=1, then the data position corresponding to its current sequence in the lighting effect control data is 520, and the corresponding target light group control data is the 520th-1039th unit control data. By analogy, each light group control chip can extract its corresponding target light group control data in the same way.

当然,在一些实施例中,每个灯组中的发光单元数量未必相等,针对这种情况,灯组顺位指针可以按照每个灯组的发光单元数量来设定数值,通过该数值直接指向灯效控制数据中具体的数据位置,使其对当前顺位的指示更为高效。示例而言,设第一灯组的发光单元数量是520,其所获得的灯组顺位指针的数值为初始值0,此时,根据第一灯组的发光单元数量,第一灯组的灯组控制芯片,从灯效控制数据中提取第0-519个单元控制数据作为其灯组控制数据,然后,第一灯组的灯组控制芯片,将其发光单元数据与该灯组顺位指针的原数值进行相加,使灯组顺位指针的数值更新为pos=520,表示前面519个单元控制数据已经被提取。然后重新封装灯效协议数据转发给第二灯组的灯组控制芯片。第二灯组的灯组控制芯片,根据其发光单元数量1080个,在其所获得的灯组顺位指针的数值pos=520的基础上,确定当前顺位相对应的数据位置处相对应的单元控制数据,开始连续读取1080个单元控制数据作为第二灯组相对应的目标灯组控制数据,同时,将灯组顺位指针更新为pos=520+1080=1600,由此将灯组顺位指针前推至下一灯组相对应的顺位,并定位好相应的数据位置。以此类推,同样可以发挥灯组顺位指针用于指示灯组相对应的顺位的作用。Of course, in some embodiments, the number of light-emitting units in each light group may not be equal. For this case, the light group priority pointer can be set to a value according to the number of light-emitting units in each light group, and the value directly points to the specific data position in the lighting effect control data, making it more efficient to indicate the current priority. For example, suppose the number of light-emitting units in the first light group is 520, and the value of the light group priority pointer obtained is the initial value 0. At this time, according to the number of light-emitting units in the first light group, the light group control chip of the first light group extracts the 0th to 519th unit control data from the lighting effect control data as its light group control data. Then, the light group control chip of the first light group adds its light-emitting unit data to the original value of the light group priority pointer, so that the value of the light group priority pointer is updated to pos=520, indicating that the previous 519 unit control data have been extracted. Then the lighting effect protocol data is repackaged and forwarded to the light group control chip of the second light group. The light group control chip of the second light group, according to the number of its light-emitting units 1080, determines the corresponding unit control data at the data position corresponding to the current sequence based on the value of the light group sequence pointer pos=520, and starts to continuously read 1080 unit control data as the target light group control data corresponding to the second light group. At the same time, the light group sequence pointer is updated to pos=520+1080=1600, thereby pushing the light group sequence pointer forward to the sequence corresponding to the next light group and locating the corresponding data position. By analogy, the light group sequence pointer can also play the role of indicating the corresponding sequence of the light group.

步骤S5213、根据所述目标灯组控制数据中的各个单元控制数据,对应控制本灯组中的各个发光单元协同播放相应的灯效。Step S5213: According to the control data of each unit in the control data of the target light group, each light-emitting unit in the light group is controlled to coordinately play the corresponding light effect.

由于灯效控制数据是对应每个灯组的每个发光单元生成的,所以,获得目标灯组控制数据的当前灯组的灯组控制芯片,便可根据其所获得的目标灯组控制数据中的各个单元控制数据,控制本灯组的各个发光单元进行发光而协同播放本灯组所负责的灯效。具体的控制方式可以参阅前文所揭示,恕不赘述。Since the lighting effect control data is generated for each light unit of each light group, the light group control chip of the current light group that obtains the target light group control data can control each light unit of the light group to emit light and coordinately play the lighting effect that the light group is responsible for according to each unit control data in the target light group control data obtained. The specific control method can be referred to the disclosure in the previous text and will not be repeated here.

根据以上实施例可以知晓,灯效协议数据可以无需为其中的各个灯组控制数据以及每个灯组控制数据中的各个单元控制数据进行相应的序数设定,可以节省灯效控制数据的字节数,考虑到灯屏设备所采用的控制芯片多为嵌入式芯片,其算力有限,而每个灯组的发光单元数量又较多,每个发光单元、每个灯组都能节省相应的序数时,便能成倍地缩小灯效协议数据的数据长度,简化协议复杂度,使灯效协议数据无论是在传输效率上还是处理效率上,都能够得到明显的提升,从而缩短各个控制芯片处理灯效协议数据的时间消耗,由此,每个灯效协议数据都可以在更小的时隙范围内完成相应的处理,灯屏设备播放灯效时的刷新频率便可以更高,不同播放帧之间的切换耗时更短,帧间过渡便更为自然细腻,能够有效提升灯效品质。According to the above embodiments, it can be known that the lighting effect protocol data does not need to set corresponding ordinals for each light group control data and each unit control data in each light group control data, which can save the number of bytes of the lighting effect control data. Considering that the control chips used in the light screen device are mostly embedded chips with limited computing power, and the number of light-emitting units in each light group is large, when each light-emitting unit and each light group can save the corresponding ordinals, the data length of the lighting effect protocol data can be reduced exponentially, and the complexity of the protocol can be simplified, so that the lighting effect protocol data can be significantly improved in terms of transmission efficiency and processing efficiency, thereby shortening the time consumed by each control chip to process the lighting effect protocol data. As a result, each lighting effect protocol data can complete the corresponding processing within a smaller time slot range, and the refresh frequency of the light screen device when playing the lighting effect can be higher, the switching time between different playback frames is shorter, and the transition between frames is more natural and delicate, which can effectively improve the quality of the lighting effect.

此外,当每个灯组都可以根据自身的发光单元数量来移动灯位顺序指针使其所表示的数值对应到灯效控制数据中的具体数据位置时,实际上便为灯屏设备扩展了拼接多种不同形态灯组的灵活性,也就是说,灯屏设备中可以由两种以上发光单元数量不同的灯组拼接而成,不同灯组的发光单元数量虽然不同,但由于其能够通过将发光单元数量与灯组顺位指针的原数值相加以更新灯组顺位指针的位置,在这种情况下,即使每个灯组的发光单元数量不同,每个灯组控制芯片也仍然能正确控制灯组顺位指针的游移,使其准确指出出下一顺位,因此,灯屏设备的拼接关系更为灵活,在拼接灯形态的产品中,四边形、五边形、六边形等不同形态的灯块,各自所具有的发光单元数量都可能不能,但这些不同形态的灯块都可以作为灯组相互拼接,在应用相应实施例的情况下,确保各个灯组之间依然能够正确获取对应自身的灯组控制数据,准确播放灯效。In addition, when each light group can move the light position sequence pointer according to its own number of light units so that the value it represents corresponds to the specific data position in the lighting effect control data, it actually expands the flexibility of the light screen device to splice a variety of light groups with different forms. That is to say, the light screen device can be composed of more than two light groups with different numbers of light units. Although the number of light units of different light groups is different, they can update the position of the light group sequence pointer by adding the number of light units to the original value of the light group sequence pointer. In this case, even if the number of light units of each light group is different, each light group control chip can still correctly control the movement of the light group sequence pointer so that it accurately points out the next sequence. Therefore, the splicing relationship of the light screen device is more flexible. In products with spliced light forms, light blocks of different forms such as quadrilaterals, pentagons, and hexagons may not have the same number of light units, but these light blocks of different forms can be spliced with each other as light groups. When the corresponding embodiments are applied, it is ensured that each light group can still correctly obtain the corresponding light group control data and accurately play the lighting effects.

在本申请的灯效中继控制方法的任意实施例的基础上,请参阅图6,根据所述灯组顺位指针所指示的当前顺位,获取所述灯效控制数据中与该当前顺位相对应的目标灯组控制数据,包括:Based on any embodiment of the lighting effect relay control method of the present application, please refer to FIG. 6 , according to the current sequence indicated by the light group sequence pointer, obtaining the target light group control data corresponding to the current sequence in the lighting effect control data includes:

步骤S5221、解析所述灯效协议数据,提取出其中的灯组顺位指针和灯效控制数据,所述灯效控制数据中每个灯组控制数据均包括多个设置了灯组序号的单元控制数据;Step S5221, parsing the lighting effect protocol data, extracting the light group sequence pointer and lighting effect control data therein, wherein each light group control data in the lighting effect control data includes a plurality of unit control data with light group sequence numbers set;

同理,控制器的控制芯片通常按照与灯组控制芯片预协议的格式,封装出本申请的灯效协议数据,通信链路中,负责中继的各个灯组控制芯片,也同理按照预协议的格式,重新封装出灯效协议数据,因此,对于任意一个灯组控制芯片来说,其获得的灯效协议数据,均可依照预设协议对其进行解析。Similarly, the control chip of the controller usually encapsulates the lighting effect protocol data of the present application in a format pre-agreed with the lighting group control chip. In the communication link, each lighting group control chip responsible for relaying also re-encapsulates the lighting effect protocol data in the pre-agreed format. Therefore, for any lighting group control chip, the lighting effect protocol data it obtains can be parsed according to the preset protocol.

灯组控制芯片解析灯效协议数据之后,便可从协议头部得到其所携带的灯组顺位指针,并从协议数据区中得到其所携带的灯效控制数据。关于灯组顺位指针和灯效控制数据的数据内容和数据格式可参阅前文各实施例所揭示,其中,灯效控制数据包含有多个灯组相对应的多个灯组控制数据,且每个灯组控制数据也包含有相应灯组内各个发光单元相对应的单元控制数据,这些单元控制数据封装其相应的发光单元的发光控制参数,例如发光颜色值等,可以用于转换成发光控制信号而控制相应的发光单元发光。After the light group control chip parses the light effect protocol data, it can obtain the light group sequence pointer carried by it from the protocol header, and obtain the light effect control data carried by it from the protocol data area. The data content and data format of the light group sequence pointer and the light effect control data can be found in the above embodiments, wherein the light effect control data contains a plurality of light group control data corresponding to a plurality of light groups, and each light group control data also contains unit control data corresponding to each light emitting unit in the corresponding light group, and these unit control data encapsulate the light control parameters of the corresponding light emitting unit, such as light color value, etc., which can be used to convert into light control signals to control the corresponding light emitting unit to emit light.

在本实施例中,依据预设的协议,采用一个多维数组来表示各个灯组控制数据,其中有一个维度用来表示灯组的顺序关系,另一个维度用来表示相同灯组中各个发光单元的顺序关系。例如,对于由m个灯组,每个灯组有n个单元控制数据,每个单元控制数据有4个数值的情况,可以构造一个数组lamp[i,j,k],其中,i表示灯组在灯屏设备的灯组间顺序关系的序号,j表示发光单元在灯组中的发光单元之间顺序关系的序号,k表示发光单元的发光控制参数在其相应的单元控制数据中的序号。据此不难理解,灯效控制数据中的每个单元控制数据,都指定了其所属的灯组相对应的灯组序号。In this embodiment, according to the preset protocol, a multidimensional array is used to represent the control data of each lamp group, in which one dimension is used to represent the sequential relationship of the lamp groups, and the other dimension is used to represent the sequential relationship of each light-emitting unit in the same lamp group. For example, for a situation where there are m lamp groups, each lamp group has n unit control data, and each unit control data has 4 values, an array lamp[i,j,k] can be constructed, in which i represents the serial number of the sequential relationship between the lamp groups in the lamp screen device, j represents the serial number of the sequential relationship between the light-emitting units in the lamp group, and k represents the serial number of the light-emitting control parameter of the light-emitting unit in its corresponding unit control data. Based on this, it is not difficult to understand that each unit control data in the lighting effect control data specifies the lamp group serial number corresponding to the lamp group to which it belongs.

步骤S5222、读取灯组序号与所述灯组顺位指针所指示的当前顺位相匹配的各个单元控制数据,作为本灯组的目标灯组控制数据;Step S5222, reading the control data of each unit whose light group serial number matches the current sequence indicated by the light group sequence pointer as the target light group control data of the light group;

根据以上的说明可知,灯组顺位指针,其数值只需要对应灯组数量m,给出相应的序号i,便可指示出相应的当前顺位,当然,控制器的控制芯片初始化该灯组顺位指针时,可将i初始化为灯组数量m的取值范围中的最小值,以便指示出其中的第一个灯组。According to the above description, the value of the light group sequence pointer only needs to correspond to the number of light groups m, and given the corresponding serial number i, it can indicate the corresponding current sequence. Of course, when the control chip of the controller initializes the light group sequence pointer, i can be initialized to the minimum value in the value range of the number of light groups m, so as to indicate the first light group therein.

据此,本灯组的灯组控制芯片需要从灯效控制数据中提取出自身相对应的灯组控制数据即目标控制数据时,只需根据灯组顺位指针中给出的数值i,获取该数据lamp[]中,对应该数值i相对应的各个元素,即可获得本灯组相对应的各个单元控制数据,由此构成本灯组相对应的目标灯组控制数据。Accordingly, when the lamp group control chip of this lamp group needs to extract its own corresponding lamp group control data, namely the target control data, from the lighting effect control data, it only needs to obtain the elements corresponding to the value i in the data lamp[] according to the value i given in the lamp group sequence pointer, and thus obtain the corresponding unit control data of this lamp group, thereby constituting the corresponding target lamp group control data of this lamp group.

步骤S5223、根据所述目标灯组控制数据中的各个单元控制数据,对应控制本灯组中的各个发光单元协同播放相应的灯效。Step S5223: According to the control data of each unit in the control data of the target light group, each light-emitting unit in the light group is controlled to coordinately play the corresponding light effect.

同理,由于灯效控制数据是对应每个灯组的每个发光单元生成的,所以,获得目标灯组控制数据的当前灯组的灯组控制芯片,便可根据其所获得的目标灯组控制数据中的各个单元控制数据,控制本灯组的各个发光单元进行发光而协同播放本灯组所负责的灯效。具体的控制方式可以参阅前文所揭示,恕不赘述。Similarly, since the lighting effect control data is generated for each light unit of each light group, the light group control chip of the current light group that obtains the target light group control data can control each light unit of the light group to emit light and coordinately play the lighting effect that the light group is responsible for according to the control data of each unit in the target light group control data obtained. The specific control method can be referred to the disclosure in the previous article and will not be repeated here.

根据以上实施例可知,灯效控制数据也可以采用携带灯组序号的方式,给出相应的序数名称,以便灯组顺位指针可以通过数值来指示相应的灯组序号,从而可以基于灯组序号的映射关系,这种情况下,只要各个灯组相对应的灯组控制数据能够与相应的灯组序号建立关联,各个灯组的灯组控制芯片便可以根据灯组顺位指针准确读取全部相应的单元控制数据作为其相应的目标灯组控制数据,灯组控制芯片和灯效控制数据无需考虑每个灯组需要读取多少个单元控制数据,控制器根据光源位置分布信息直接生成全量发光单元相对应的单元控制数据并写入相应的数据后,便可确保各个灯组控制数据能够被各个灯组控制芯片顺利读取,即使每个灯组中的发光单元数量各不相同,也不会影响每个灯组控制芯片对其中自身相对应的全量单元控制数据的获取,由此简化了每个灯组控制芯片所需实现的业务逻辑的复杂度,使每个灯组控制芯片可以更高的效率处理灯效协议数据。According to the above embodiments, the lighting effect control data can also be carried by the light group serial number, and the corresponding ordinal name is given, so that the light group sequence pointer can indicate the corresponding light group serial number through a numerical value, thereby being based on the mapping relationship of the light group serial number. In this case, as long as the light group control data corresponding to each light group can be associated with the corresponding light group serial number, the light group control chip of each light group can accurately read all the corresponding unit control data as its corresponding target light group control data according to the light group sequence pointer. The light group control chip and the lighting effect control data do not need to consider how many unit control data each light group needs to read. After the controller directly generates the unit control data corresponding to the full amount of light-emitting units according to the light source position distribution information and writes the corresponding data, it can ensure that the control data of each light group can be read smoothly by each light group control chip. Even if the number of light-emitting units in each light group is different, it will not affect the acquisition of the full amount of unit control data corresponding to itself by each light group control chip, thereby simplifying the complexity of the business logic that each light group control chip needs to implement, so that each light group control chip can process the lighting effect protocol data with higher efficiency.

在本申请的灯效中继控制方法的任意实施例的基础上,更新所述灯效协议数据中的灯组顺位指针使其指向下一顺位,包括:Based on any embodiment of the lighting effect relay control method of the present application, updating the light group sequence pointer in the lighting effect protocol data to point to the next sequence includes:

步骤S5410、将所述灯组顺位指针所指示的当前顺位相对应的原数值递增单位数值,作为灯组顺位指针的更新数值,使其指向所述当前顺位的后一顺位;Step S5410, increment the original value corresponding to the current sequence indicated by the light group sequence pointer by a unit value as the updated value of the light group sequence pointer, so that it points to the sequence after the current sequence;

根据前文的各个实施例所揭示,灯组顺位指针以数值表示当前顺位,对于正在处理该灯组顺位指针的灯组控制芯片来说,当需要更新该灯组顺位指针时,只需将该灯组顺位指针的原数值递增单位数值即可,这个单位数值,适应不同实施例,可以是不同性质的量,例如适应前文部分实施例按照序号0、1、2……的方式进行递增即可,或者适应前文另一部分实施例在每个灯组都拥有相同数量的发光单元的情况下,按照发光单元数量x进行递增以使灯组顺位指针的数值指向灯效控制数据中具体的数据位置即可。无论哪一种形式,更新后的灯组顺位指针的数值,其所指示的顺位,都是当前顺位的后一顺位,该后一顺位与本灯组后面的下一灯组相对应。According to the various embodiments disclosed in the foregoing, the light group sequence pointer represents the current sequence with a numerical value. For the light group control chip that is processing the light group sequence pointer, when it is necessary to update the light group sequence pointer, it is only necessary to increase the original value of the light group sequence pointer by a unit value. This unit value can be adapted to different embodiments and can be quantities of different natures. For example, it can be adapted to some of the embodiments in the foregoing by increasing the sequence numbers 0, 1, 2, etc., or it can be adapted to another part of the embodiments in the foregoing by increasing the number of light-emitting units x in each light group having the same number of light-emitting units so that the value of the light group sequence pointer points to a specific data position in the lighting effect control data. Regardless of which form, the sequence indicated by the value of the updated light group sequence pointer is the next sequence after the current sequence, and the next sequence corresponds to the next light group after the current light group.

步骤S5420、重新封装更新后的灯组顺位指针及所述灯效控制数据,成为更新的灯效协议数据以供发送。Step S5420, repackage the updated light group sequence pointer and the lighting effect control data to become updated lighting effect protocol data for transmission.

完成了灯组顺位指针的更新后,本灯组的灯组控制芯片,便可将继续以该更新后的灯组顺位指针封装于协议头部,而将灯效控制数据封装于协议数据区,由此整体重新封装出灯效协议数据。然后,本灯组的灯组控制芯片将该灯效协议数据通过其与下一灯组相连接的下游端口,转发给该下一灯组,下一灯组的灯组控制芯片从其与该下游端口相连接的上游端口接收该更新后的灯效协议数据之后,便可按照本灯组的灯组控制芯片完全相同的方式,接续完成其自身所对应的灯效的播放。After completing the update of the light group sequence pointer, the light group control chip of this light group can continue to encapsulate the updated light group sequence pointer in the protocol header, and encapsulate the light effect control data in the protocol data area, thereby re-encapsulating the light effect protocol data as a whole. Then, the light group control chip of this light group forwards the light effect protocol data to the next light group through its downstream port connected to the next light group. After the light group control chip of the next light group receives the updated light effect protocol data from its upstream port connected to the downstream port, it can continue to complete the playback of its own corresponding light effect in exactly the same way as the light group control chip of this light group.

根据以上实施例可见,本申请的灯组控制芯片不仅自行完成自身相对应的灯效的播放,而且还负责为下一灯组的灯组控制芯片调整其灯组顺位指针,确保下一灯组控制芯片能够顺利获取其自身相对应的灯组控制数据,整个通信链路中,每个灯组控制芯片均按照相同的方式运行即可完成整个灯效的播放,有条不紊,而每个灯块控制芯片所写入的程序完全一致,便于批量生产和组装,实现成本可控。According to the above embodiments, it can be seen that the light group control chip of the present application not only completes the playback of its own corresponding light effects by itself, but is also responsible for adjusting the light group sequence pointer for the light group control chip of the next light group, ensuring that the next light group control chip can smoothly obtain its own corresponding light group control data. In the entire communication link, each light group control chip operates in the same way to complete the playback of the entire light effect in an orderly manner, and the programs written into each light block control chip are completely consistent, which is convenient for mass production and assembly, and realizes cost control.

请参阅图7,在一个实施例中,本申请的灯效中继控制方法,其应用于灯屏设备的控制器的控制芯片中,该控制器的控制芯片执行如下步骤,包括:Please refer to FIG. 7 . In one embodiment, the lighting effect relay control method of the present application is applied to a control chip of a controller of a light screen device. The control chip of the controller performs the following steps, including:

步骤S3100、根据待播放灯效生成灯屏设备中各个灯组相对应的灯组控制数据;Step S3100, generating light group control data corresponding to each light group in the light screen device according to the light effect to be played;

灯屏设备中的控制器,其负责接收灯效应用包,灯效应用包中包含有灯效描述数据,可以对灯效应用包进行解释以得到其中的灯效描述数据。灯效描述数据用于描述待播放灯效的灯效运动流程。灯效描述数据可以采用脚本进行描述,也可以通过多张图像帧进行描述。控制器可以根据灯效描述数据,将整个灯效运动流程分割为多个播放帧,进一步根据控制器事先获得的光源位置分布信息,将每个播放帧转换为映射到各个灯组的各个发光单元相对应的单元控制数据,然后按照灯组的对应关系,确定每个灯组相对应的各个单元控制数据,构造每个灯组相对应的灯组控制数据。The controller in the light screen device is responsible for receiving the lighting effect application package, which contains lighting effect description data. The lighting effect application package can be interpreted to obtain the lighting effect description data. The lighting effect description data is used to describe the lighting effect movement process of the lighting effect to be played. The lighting effect description data can be described by a script or by multiple image frames. The controller can divide the entire lighting effect movement process into multiple playback frames based on the lighting effect description data, and further convert each playback frame into unit control data corresponding to each light-emitting unit mapped to each light group based on the light source position distribution information obtained in advance by the controller, and then determine the corresponding unit control data of each light group according to the corresponding relationship of the light groups, and construct the light group control data corresponding to each light group.

步骤S3200、按照预定的顺序关系将各个灯组控制数据有序构造为灯效控制数据;Step S3200: sequentially constructing the control data of each light group into lighting effect control data according to a predetermined sequence relationship;

控制器预先获取的光源位置分布信息中,通常是通过控制器发送驱动指令,驱使各个灯组控制芯片予在响应,根据各个灯组控制芯片的响应顺序和其中的发光单元数量信息来确定的,在这种情况下,实际上光源位置分布信息中,便已经表征了灯屏中各个灯组的顺序关系。The light source position distribution information pre-acquired by the controller is usually determined by sending a driving instruction through the controller to drive each lamp group control chip to respond, which is determined according to the response sequence of each lamp group control chip and the number of light-emitting units therein. In this case, the light source position distribution information has actually characterized the sequential relationship of each lamp group in the lamp screen.

据此,控制器的控制芯片,可以按照这个顺序关系,对各个灯组相对应的灯组控制数据进行组织,构造为灯效控制数据,使灯效控制数据中的各个灯组控制数据表现出一定的顺序关系。Based on this, the control chip of the controller can organize the light group control data corresponding to each light group according to this sequential relationship, and construct it into lighting effect control data, so that each light group control data in the lighting effect control data shows a certain sequential relationship.

结合本申请前文所揭示的各个实施例,不难理解,适应控制器的控制芯片与各个灯组控制芯片所采用的协议细节不同,控制器的控制芯片在灯效控制数据中表示各个灯组控制数据的顺序关系时,既可以是按照灯组顺序将相应灯组控制数据依序排列,也可以是通过对每个灯组控制数据设定其相应的灯组序号实现顺序关系表示,具体可灵活设定。In combination with the various embodiments disclosed in the foregoing text of this application, it is not difficult to understand that the control chip of the adaptive controller and the protocol details adopted by each lamp group control chip are different. When the control chip of the controller represents the sequential relationship of each lamp group control data in the lighting effect control data, it can either arrange the corresponding lamp group control data in sequence according to the lamp group sequence, or it can achieve the sequential relationship representation by setting the corresponding lamp group serial number for each lamp group control data, and the specific setting can be flexibly performed.

步骤S3300、初始化灯组顺位指针使其指向所述灯效控制数据中的首个灯组控制数据相对应的顺位,将该灯组顺位指针与所述灯效控制数据封装为灯效协议数据;Step S3300, initializing the light group sequence pointer to point to the sequence corresponding to the first light group control data in the light effect control data, and encapsulating the light group sequence pointer and the light effect control data into light effect protocol data;

为了使灯屏中的各个为组能够有序地读取其自身相对应的灯组控制数据,控制器的控制芯片进一步设定灯组顺位指针,将其数值初始化为指向该控制芯片所构造的灯效控制数据中的首个灯组控制数据,例如,当数值0表示首个灯组控制数据所在的顺位时,灯组顺位指针设置为数值0即可。In order to enable each group in the light screen to read its corresponding light group control data in order, the control chip of the controller further sets a light group sequence pointer, and initializes its value to point to the first light group control data in the light effect control data constructed by the control chip. For example, when the value 0 represents the sequence of the first light group control data, the light group sequence pointer is set to the value 0.

确定了灯效控制数据和灯组顺位指针后,按照预设的协议格式,控制芯片将灯组顺位指针设置为协议报文的协议头部,将灯效控制数据设置在协议报文的协议数据区中,由此实现对协议报文的封装,成为灯效协议数据。After determining the lighting effect control data and the lighting group sequence pointer, the control chip sets the lighting group sequence pointer as the protocol header of the protocol message according to the preset protocol format, and sets the lighting effect control data in the protocol data area of the protocol message, thereby realizing the encapsulation of the protocol message into lighting effect protocol data.

步骤S3400、将所述灯效协议数据发送给灯屏设备中的各个灯组控制芯片以控制各个灯组播放相应的灯效。Step S3400: Send the lighting effect protocol data to each light group control chip in the light screen device to control each light group to play the corresponding lighting effect.

确定灯效协议数据后,控制器的控制芯片便可向灯屏设备的通信链路下行发送该灯效协议数据。通信链路中的各个灯组,按照其在通信链路中的通信顺序,由其中的第一灯组先处理该灯效协议数据,根据其中的灯组顺位指针读取自身相对应的灯组控制数据,控制自身的发光单元播放相应的灯效;然后修改该灯组顺位指针使其指向通信顺序在后的下一灯组相对应的顺位,重新封装该灯效协议数据,转发给下一灯组的灯组控制芯片,以此类推,通信链路上的每个灯组控制芯片都可以从灯效协议数据中得到其相应的灯组控制数据,控制自身的发光单元播放相应的灯效,全部灯组便可协同播放出整体灯效。After determining the lighting effect protocol data, the control chip of the controller can send the lighting effect protocol data to the communication link of the light screen device. Each light group in the communication link, according to its communication order in the communication link, first processes the lighting effect protocol data, reads its own corresponding light group control data according to the light group sequence pointer, and controls its own light-emitting unit to play the corresponding lighting effect; then modifies the light group sequence pointer to point to the sequence corresponding to the next light group in the communication order, repackages the lighting effect protocol data, and forwards it to the light group control chip of the next light group. By analogy, each light group control chip on the communication link can obtain its corresponding light group control data from the lighting effect protocol data, control its own light-emitting unit to play the corresponding lighting effect, and all light groups can play the overall lighting effect in coordination.

根据以上实施例不难理解,在控制器中,由控制芯片按照预定格式封装出灯效协议数据,其中通过灯组顺位指针指示当前顺位,该灯组顺位指针可以在通信链路中,供各个灯组控制芯片对应其当前顺位读取相应的目标灯组控制数据,并且在获得该目标灯组控制数据之后,灯组控制芯片又自行后推该灯组顺位指针所表示的当前顺位使其指示下一灯组控制芯片相对应的顺位,以此类推而顺利确保各个灯组控制芯片都能够获取到相应的灯组控制数据,确保各个灯组都能据此顺利协同播放灯效。It is not difficult to understand based on the above embodiments that in the controller, the control chip encapsulates the lighting effect protocol data in a predetermined format, wherein the current priority is indicated by the light group priority pointer, and the light group priority pointer can be used in the communication link for each light group control chip to read the corresponding target light group control data corresponding to its current priority, and after obtaining the target light group control data, the light group control chip automatically pushes back the current priority indicated by the light group priority pointer to indicate the corresponding priority of the next light group control chip, and so on, thereby ensuring that each light group control chip can obtain the corresponding light group control data, and ensuring that each light group can smoothly coordinate and play the lighting effects accordingly.

据此,在本申请由控制器提供的灯组顺位指针发挥指示作用的情况下,各个灯组控制芯片只需按照标准化的流程,便可顺利播放灯效,因此,即使灯屏设备中的个别灯组被拆卸、换装,或者增加个别灯组,且控制器未对各个灯组的连接顺序进行检测,只要控制器所封装的灯效协议数据中包含有足量的灯组相对应的灯组控制数据,灯屏设备中的各个灯组控制芯片,依然可以获取自身相对应的目标灯组控制数据来控制自身的发光单元播放相应的灯效。理论上,控制器可以不再依赖自检,只要预先指定灯组数量即可进行多灯组的灯效控制,大大简化了控制器与灯组之间的通信复杂度。Accordingly, in the present application, when the light group sequence pointer provided by the controller plays an indicating role, each light group control chip only needs to follow the standardized process to smoothly play the lighting effect. Therefore, even if individual light groups in the light screen device are disassembled, replaced, or individual light groups are added, and the controller does not detect the connection sequence of each light group, as long as the light effect protocol data encapsulated by the controller contains a sufficient amount of light group control data corresponding to the light group, each light group control chip in the light screen device can still obtain its own corresponding target light group control data to control its own light-emitting unit to play the corresponding lighting effect. In theory, the controller can no longer rely on self-testing, and can control the lighting effects of multiple light groups as long as the number of light groups is pre-specified, which greatly simplifies the complexity of communication between the controller and the light groups.

可见,本申请改进了灯屏设备中的控制器与灯组之间的通信机制,实现对灯屏设备的技术升级,灯屏设备的接受度更高,更易普及,其潜在经济收益明显提升。It can be seen that the present application improves the communication mechanism between the controller and the light group in the light screen device, realizes the technical upgrade of the light screen device, the light screen device has a higher acceptance and is easier to popularize, and its potential economic benefits are significantly improved.

在本申请的灯效驱动控制方法的任意实施例的基础上,按照预定的顺序关系将各个灯组控制数据有序构造为灯效控制数据,包括:On the basis of any embodiment of the lighting effect driving control method of the present application, each lighting group control data is orderly constructed into lighting effect control data according to a predetermined sequence relationship, including:

步骤S3210、将每个灯组相对应的灯组控制数据关联相应的序号,各个灯组的序号之间按照单位数值规则递增;Step S3210, associating the light group control data corresponding to each light group with a corresponding serial number, and the serial numbers of the light groups are incremented according to the unit value rule;

控制器中的控制芯片在组织各个灯组相对应的灯组控制数据时,可以为各个灯组设置相应的序号,也即灯组序号,并且确保各个灯组的灯组序号之间按照单位数值进行规则递增。When organizing the light group control data corresponding to each light group, the control chip in the controller can set a corresponding serial number for each light group, that is, the light group serial number, and ensure that the light group serial numbers of each light group are increased regularly according to the unit value.

为灯组控制数据设置其相应的灯组序号的方式,可以简单赋予各个灯组控制数据以对应的序号,也可以按照前文所示的方式借助数组表示形式来实施,恕不赘述。The method of setting the corresponding light group serial number for the light group control data can be to simply assign the corresponding serial number to each light group control data, or it can be implemented with the help of array representation in the manner shown in the previous text, which will not be elaborated here.

步骤S3220、按照各个灯组的序号对各个灯组控制数据进行排序,将排序后的各个灯组控制数据构造为灯效控制数据。Step S3220: sort the control data of each light group according to the sequence number of each light group, and construct the sorted control data of each light group into lighting effect control data.

确定了各个灯组控制数据相对应的序号后,可根据该序号对各个灯组控制数据进行排序,然后将排序后的各个灯组控制数据顺序拼接,便可得到相应的灯效控制数据。After determining the serial numbers corresponding to the control data of each light group, the control data of each light group can be sorted according to the serial numbers, and then the sorted control data of each light group can be spliced in sequence to obtain the corresponding lighting effect control data.

根据以上实施例不难理解,控制器的控制芯片可以通过为灯组控制数据设置序号的方式,使灯效控制数据中的灯组间顺序关系得到更为可靠的表示,以确保通信链路中的各个灯组控制芯片能够根据这种顺序关系,借助灯组顺位指针准确定位各个相应的灯组控制数据,确保通信机制高效可靠运行。It is not difficult to understand based on the above embodiments that the control chip of the controller can set serial numbers for the light group control data so that the sequential relationship between light groups in the lighting effect control data can be more reliably represented, thereby ensuring that each light group control chip in the communication link can accurately locate each corresponding light group control data based on this sequential relationship with the help of the light group sequence pointer, thereby ensuring efficient and reliable operation of the communication mechanism.

在本申请的灯效驱动控制方法的任意实施例的基础上,将所述灯效协议数据发送给灯屏设备中的各个灯组控制芯片以控制各个灯组播放相应的灯效,包括:On the basis of any embodiment of the lighting effect driving control method of the present application, the lighting effect protocol data is sent to each light group control chip in the light screen device to control each light group to play the corresponding lighting effect, including:

步骤S3410、所述控制器的控制芯片将其封装的灯效协议数据发送给第一灯组控制芯片,第一灯组控制芯片根据所述的灯效中继控制方法播放灯效及更新转发所述灯效协议数据给第二灯组控制芯片;Step S3410: The control chip of the controller sends the packaged lighting effect protocol data to the first light group control chip, and the first light group control chip plays the lighting effect and updates and forwards the lighting effect protocol data to the second light group control chip according to the lighting effect relay control method;

控制器的控制芯片封装出一个播放帧相对应的灯效协议数据后,便可将其发送到通信链路中,具体是发送给与该控制芯片的下游端口相连接的第一灯组控制芯片,第一灯组控制芯片通过其上游端口得到该灯效协议数据之后,执行本申请前文所揭示的灯效中继控制方法的各个步骤,便可提取出与其自身相对应的灯组控制数据来控制自身的发光单元播放相应的灯效,并且,调整灯效协议数据中的灯组顺位指针指向与第一灯组控制芯片的下游端口相连接的第二灯组控制芯片,再将该灯效协议数据转发给该第二灯组控制芯片。After the control chip of the controller encapsulates the lighting effect protocol data corresponding to a playback frame, it can send it to the communication link, specifically to the first light group control chip connected to the downstream port of the control chip. After the first light group control chip obtains the lighting effect protocol data through its upstream port, it executes the various steps of the lighting effect relay control method disclosed in the previous text of this application, and can extract the light group control data corresponding to itself to control its own light-emitting unit to play the corresponding lighting effect, and adjust the light group sequence pointer in the lighting effect protocol data to point to the second light group control chip connected to the downstream port of the first light group control chip, and then forward the lighting effect protocol data to the second light group control chip.

步骤S3420、第二灯组控制芯片根据第一灯组控制芯片完全相同的方法播放灯效及更新转发所述灯效协议数据给第三灯组控制芯片。Step S3420: The second light group control chip plays the lighting effect and updates and forwards the lighting effect protocol data to the third light group control chip in exactly the same way as the first light group control chip.

第二灯组控制芯片通过其上游端口接收到第一灯组控制芯片转发的灯效协议数据后,根据第一灯组控制芯片完全相同的方法,便可实现灯效的播放和灯效协议数据的重新封装转发,从而将灯效协议数据传递给第三灯组控制芯片,以此类推,直至通信链路中的最后一个灯组控制芯片转出后的灯效协议数据无后续处理为止。After the second light group control chip receives the lighting effect protocol data forwarded by the first light group control chip through its upstream port, it can play the lighting effects and repackage and forward the lighting effect protocol data according to the same method as the first light group control chip, thereby passing the lighting effect protocol data to the third light group control chip, and so on, until there is no subsequent processing of the lighting effect protocol data transferred out by the last light group control chip in the communication link.

根据以上实施例可以看出,控制器与各个灯组之间,实现链式的通信机制,而在该通信机制中,灯组顺位指针发挥着指导各个灯组正确播放其相对应的灯效的作用,正是灯组顺位指针的指示作用,使各个灯组可以协同播放同一整体灯效,由此确保整个灯屏设备的稳健运行。It can be seen from the above embodiments that a chain communication mechanism is implemented between the controller and each light group, and in this communication mechanism, the light group sequence pointer plays the role of guiding each light group to correctly play its corresponding light effect. It is the instructive role of the light group sequence pointer that enables each light group to coordinately play the same overall light effect, thereby ensuring the stable operation of the entire light screen equipment.

请参阅图8,本申请的另一实施例还提供一种灯效中继控制装置,实现于灯屏设备的灯组的灯组控制芯片中,其包括数据接收模块5100、灯组提取模块5200、灯效播放模块5300,以及数据转发模块5400,其中,所述数据接收模块5100,设置为接收灯效协议数据,所述灯效协议数据包括灯组顺位指针和灯效控制数据,所述灯效控制数据包括按照顺序关系表示的多个灯组控制数据,所述灯组顺位指针用于指示所述顺序关系中的当前顺位;所述灯组提取模块5200,设置为根据所述灯组顺位指针所指示的当前顺位,获取所述灯效控制数据中与该当前顺位相对应的目标灯组控制数据;所述灯效播放模块5300,设置为根据所述目标灯组控制数据,控制本灯组播放相应的灯效;所述数据转发模块5400,设置为更新所述灯效协议数据中的灯组顺位指针使其指向下一顺位,输出该灯效协议数据。Please refer to FIG8 . Another embodiment of the present application further provides a lighting effect relay control device, which is implemented in a lighting group control chip of a lighting group of a lighting screen device, and includes a data receiving module 5100, a lighting group extraction module 5200, a lighting effect playback module 5300, and a data forwarding module 5400. The data receiving module 5100 is configured to receive lighting effect protocol data, the lighting effect protocol data includes a lighting group sequence pointer and lighting effect control data, the lighting effect control data includes a plurality of lighting group control data represented in a sequential relationship, and the lighting group sequence pointer is used to indicate a current sequence in the sequential relationship; the lighting group extraction module 5200 is configured to obtain target lighting group control data corresponding to the current sequence in the lighting effect control data according to the current sequence indicated by the lighting group sequence pointer; the lighting effect playback module 5300 is configured to control the lighting group to play the corresponding lighting effect according to the target lighting group control data; the data forwarding module 5400 is configured to update the lighting group sequence pointer in the lighting effect protocol data to point to the next sequence, and output the lighting effect protocol data.

在本申请的灯效中控制方法的任意实施例的基础上,所述灯组提取模块5200,包括:第一解析模块,设置为解析所述灯效协议数据,提取出其中的灯组顺位指针和灯效控制数据,所述灯效控制数据中每个灯组控制数据包括多个单元控制数据;第一读取模块,设置为以所述灯组顺位指针所指向的当前顺位相对应的数据位置为起点,连续读取与本灯组的发光单元数量相对应的多个单元控制数据,作为本灯组相对应的目标灯组控制数据;第一播放模块,设置为根据所述目标灯组控制数据中的各个单元控制数据,对应控制本灯组中的各个发光单元协同播放相应的灯效。Based on any embodiment of the control method of the lighting effect in the present application, the light group extraction module 5200 includes: a first parsing module, configured to parse the lighting effect protocol data, and extract the light group sequence pointer and the lighting effect control data therein, wherein each light group control data in the lighting effect control data includes multiple unit control data; a first reading module, configured to take the data position corresponding to the current sequence pointed to by the light group sequence pointer as the starting point, and continuously read multiple unit control data corresponding to the number of light-emitting units of this light group as the target light group control data corresponding to this light group; a first playback module, configured to control each light-emitting unit in this light group to collaboratively play the corresponding lighting effect according to each unit control data in the target light group control data.

在本申请的灯效中继控制方法的任意实施例的基础上,所述灯组提取模块5200,包括:第二解析模块,设置为解析所述灯效协议数据,提取出其中的灯组顺位指针和灯效控制数据,所述灯效控制数据中每个灯组控制数据均包括多个设置了灯组序号的单元控制数据;第二读取模块,设置为读取灯组序号与所述灯组顺位指针所指示的当前顺位相匹配的各个单元控制数据,作为本灯组的目标灯组控制数据;第二播放模块,设置为根据所述目标灯组控制数据中的各个单元控制数据,对应控制本灯组中的各个发光单元协同播放相应的灯效。Based on any embodiment of the lighting effect relay control method of the present application, the light group extraction module 5200 includes: a second parsing module, configured to parse the lighting effect protocol data, extract the light group sequence pointer and the lighting effect control data therein, each light group control data in the lighting effect control data includes a plurality of unit control data with a light group sequence number set; a second reading module, configured to read each unit control data whose light group sequence number matches the current sequence indicated by the light group sequence pointer as the target light group control data of the light group; a second playback module, configured to control each light-emitting unit in the light group to collaboratively play the corresponding lighting effect according to each unit control data in the target light group control data.

在本申请的灯效中继控制方法的任意实施例的基础上,所述数据转发模块5400,包括:指针更新模块,设置为将所述灯组顺位指针所指示的当前顺位相对应的原数值递增单位数值,作为灯组顺位指针的更新数值,使其指向所述当前顺位的后一顺位;封装执行模块,设置为重新封装更新后的灯组顺位指针及所述灯效控制数据,成为更新的灯效协议数据以供发送。Based on any embodiment of the lighting effect relay control method of the present application, the data forwarding module 5400 includes: a pointer update module, configured to increment the original value corresponding to the current priority indicated by the light group priority pointer by a unit value as an updated value of the light group priority pointer, so that it points to the next priority after the current priority; an encapsulation execution module, configured to re-encapsulate the updated light group priority pointer and the lighting effect control data into updated lighting effect protocol data for transmission.

请参阅图9,本申请的另一实施例还提供一种灯效驱动控制装置,实现于灯屏设备的控制器的控制芯片中,其包括数据生成模块3100、数据构造模块3200、指针配置模块3300,以及发送驱动模块3400,其中,所述数据生成模块3100,设置为根据待播放灯效生成灯屏设备中各个灯组相对应的灯组控制数据;所述数据构造模块3200,设置为按照预定的顺序关系将各个灯组控制数据有序构造为灯效控制数据;所述指针配置模块3300,设置为初始化灯组顺位指针使其指向所述灯效控制数据中的首个灯组控制数据相对应的顺位,将该灯组顺位指针与所述灯效控制数据封装为灯效协议数据;所述发送驱动模块3400,设置为将所述灯效协议数据发送给灯屏设备中的各个灯组控制芯片以控制各个灯组播放相应的灯效。Please refer to Figure 9. Another embodiment of the present application also provides a lighting effect drive control device, which is implemented in the control chip of the controller of the light screen device, and includes a data generation module 3100, a data construction module 3200, a pointer configuration module 3300, and a sending drive module 3400, wherein the data generation module 3100 is configured to generate light group control data corresponding to each light group in the light screen device according to the light effect to be played; the data construction module 3200 is configured to orderly construct each light group control data into light effect control data according to a predetermined sequence relationship; the pointer configuration module 3300 is configured to initialize the light group sequence pointer to point to the sequence corresponding to the first light group control data in the light effect control data, and encapsulate the light group sequence pointer and the light effect control data into light effect protocol data; the sending drive module 3400 is configured to send the light effect protocol data to each light group control chip in the light screen device to control each light group to play the corresponding light effect.

在本申请的灯效驱动控制方法的任意实施例的基础上,所述数据构造模块3200,包括:顺序关联模块,设置为将每个灯组相对应的灯组控制数据关联相应的序号,各个灯组的序号之间按照单位数值规则递增;排序构造模块,设置为按照各个灯组的序号对各个灯组控制数据进行排序,将排序后的各个灯组控制数据构造为灯效控制数据。Based on any embodiment of the lighting effect driving control method of the present application, the data construction module 3200 includes: a sequential association module, configured to associate the lighting group control data corresponding to each lighting group with a corresponding serial number, and the serial numbers of each lighting group are incremented according to a unit numerical rule; a sorting construction module, configured to sort the control data of each lighting group according to the serial number of each lighting group, and construct the sorted control data of each lighting group into lighting effect control data.

在本申请的灯效驱动控制方法的任意实施例的基础上,所述发送驱动模块3400,包括:发送中继模块,设置为所述控制器的控制芯片将其封装的灯效协议数据发送给第一灯组控制芯片,第一灯组控制芯片运行其灯效中继控制装置播放灯效及更新转发所述灯效协议数据给第二灯组控制芯片;递进中继模块,设置为第二灯组控制芯片根据第一灯组控制芯片完全相同的方式播放灯效及更新转发所述灯效协议数据给第三灯组控制芯片。Based on any embodiment of the lighting effect driving control method of the present application, the sending driving module 3400 includes: a sending relay module, which is configured so that the control chip of the controller sends its packaged lighting effect protocol data to the first lighting group control chip, and the first lighting group control chip runs its lighting effect relay control device to play the lighting effect and update and forward the lighting effect protocol data to the second lighting group control chip; a progressive relay module, which is configured so that the second lighting group control chip plays the lighting effect and updates and forwards the lighting effect protocol data to the third lighting group control chip in exactly the same way as the first lighting group control chip.

在本申请任意实施例的基础上,请参阅图10,本申请的另一实施例还提供一种计算机设备,该计算机设备可以充当灯屏设备中的控制器使用,如图10所示,计算机设备的内部结构示意图。该计算机设备包括通过系统总线连接的处理器、计算机可读存储介质、存储器和网络接口。其中,该计算机设备的计算机可读存储介质存储有操作系统、数据库和封装计算机可读指令的计算机程序,数据库中可存储有控件信息序列,该计算机可读指令被处理器执行时,可使得处理器实现一种灯效播放控制方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该计算机设备的存储器中可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行本申请的灯效播放控制方法。该计算机设备的网络接口用于与终端连接通信。本领域技术人员可以理解,图10中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。On the basis of any embodiment of the present application, please refer to FIG. 10. Another embodiment of the present application further provides a computer device, which can be used as a controller in a light screen device, as shown in FIG. 10, which is a schematic diagram of the internal structure of the computer device. The computer device includes a processor, a computer-readable storage medium, a memory, and a network interface connected via a system bus. Among them, the computer-readable storage medium of the computer device stores an operating system, a database, and a computer program encapsulating computer-readable instructions. The database may store a control information sequence. When the computer-readable instructions are executed by the processor, the processor can implement a lighting effect playback control method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute the lighting effect playback control method of the present application. The network interface of the computer device is used to connect and communicate with the terminal. It can be understood by those skilled in the art that the structure shown in FIG. 10 is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

本实施方式中处理器用于执行图8或图9中的各个模块及其子模块的具体功能,存储器存储有执行上述模块或子模块所需的程序代码和各类数据。网络接口用于向用户终端或服务器之间的数据传输。本实施方式中的存储器存储有本申请的灯效播放控制装置中执行所有模块/子模块所需的程序代码及数据,服务器能够调用服务器的程序代码及数据执行所有子模块的功能。In this embodiment, the processor is used to execute the specific functions of each module and its submodule in FIG. 8 or FIG. 9, and the memory stores the program code and various data required to execute the above modules or submodules. The network interface is used to transmit data between user terminals or servers. The memory in this embodiment stores the program code and data required to execute all modules/submodules in the lighting effect playback control device of this application, and the server can call the program code and data of the server to execute the functions of all submodules.

本申请还提供一种存储有计算机可读指令的存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行本申请任一实施例所述灯效播放控制方法的步骤。The present application also provides a storage medium storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the lighting effect playback control method described in any embodiment of the present application.

本申请还提供一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被一个或多个处理器执行时实现本申请任一实施例所述灯效播放控制方法的步骤。The present application also provides a computer program product, including a computer program/instruction, which, when executed by one or more processors, implements the steps of the lighting effect playback control method described in any embodiment of the present application.

本领域普通技术人员可以理解实现本申请上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,前述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等计算机可读存储介质,或随机存储记忆体(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments of the present application can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a computer-readable storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

以上所述仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

综上所述,本申请使灯屏设备的控制器与灯组之间可以灵活通信,优化灯屏设备的产品使用体验,有助于灯屏设备的推广。In summary, the present application enables flexible communication between the controller of the light screen device and the light group, optimizes the product usage experience of the light screen device, and contributes to the promotion of the light screen device.

Claims (8)

1. A lamp-effect relay control method, characterized in that the following steps are executed by a lamp-group control chip in a lamp-screen device:
Receiving light effect protocol data, wherein the light effect protocol data comprises a light group order pointer and light effect control data, the light effect control data comprises a plurality of light group control data expressed according to a sequence relation, each light group control data comprises unit control data corresponding to each light emitting unit in a corresponding light group, and the light group order pointer is used for indicating the current order in the sequence relation;
acquiring target lamp group control data corresponding to the current position in the lamp effect control data according to the current position indicated by the lamp group position pointer;
Controlling the lamp group to play corresponding lamp effect according to the control data of the target lamp group;
updating a lamp group cis-position pointer in the lamp effect protocol data to point to the next cis-position, and outputting the lamp effect protocol data;
The updating the lamp group order pointer in the lamp efficiency protocol data to point to the next order comprises the following steps:
The original value corresponding to the current position indicated by the lamp group position pointer is increased by a unit value to be used as an updated value of the lamp group position pointer, so that the updated value points to the next position of the current position;
And repackaging the updated lamp group cis-position pointer and the lamp efficiency control data to obtain updated lamp efficiency protocol data for transmission.
2. The light effect relay control method according to claim 1, wherein obtaining target light group control data corresponding to a current position in the light effect control data according to the current position indicated by the light group position pointer, comprises:
Analyzing the light effect protocol data, and extracting a light group cis-position pointer and light effect control data in the light effect protocol data, wherein each light group control data in the light effect control data comprises a plurality of unit control data;
Continuously reading a plurality of unit control data corresponding to the number of the light emitting units of the lamp group by taking the data position corresponding to the current position pointed by the lamp group position pointer as a starting point, and taking the unit control data as target lamp group control data corresponding to the lamp group;
And correspondingly controlling each light emitting unit in the lamp group to cooperatively play corresponding lamp effect according to each unit control data in the target lamp group control data.
3. The light effect relay control method according to claim 1, wherein obtaining target light group control data corresponding to a current position in the light effect control data according to the current position indicated by the light group position pointer, comprises:
Analyzing the light effect protocol data, and extracting a light group order pointer and light effect control data in the light effect protocol data, wherein each light group control data in the light effect control data comprises a plurality of unit control data with a light group serial number;
Reading each unit control data of which the lamp group serial number is matched with the current sequence indicated by the lamp group sequence pointer as target lamp group control data of the lamp group;
And correspondingly controlling each light emitting unit in the lamp group to cooperatively play corresponding lamp effect according to each unit control data in the target lamp group control data.
4. A lamp effect driving control method characterized in that the following steps are performed by a control chip of a controller in a lamp panel apparatus:
Generating lamp group control data corresponding to each lamp group in the lamp screen equipment according to the lamp effect to be played;
Orderly constructing the control data of each lamp group into lamp efficiency control data according to a preset sequence relation;
Initializing a lamp group order pointer to point to an order corresponding to first lamp group control data in the lamp effect control data, and packaging the lamp group order pointer and the lamp effect control data into lamp effect protocol data;
The lamp effect protocol data are sent to each lamp group control chip in the lamp screen equipment so as to control each lamp group to play corresponding lamp effect;
sending the lamp effect protocol data to each lamp group control chip in the lamp screen device to control each lamp group to play corresponding lamp effect, including:
The control chip of the controller sends the encapsulated lamp effect protocol data to a first lamp group control chip, and the first lamp group control chip plays the lamp effect and updates and forwards the lamp effect protocol data to a second lamp group control chip according to the lamp effect relay control method of any one of claims 1 to 3;
and the second lamp group control chip plays the lamp effect according to the method which is completely the same as the first lamp group control chip, updates and forwards the lamp effect protocol data to the third lamp group control chip.
5. The light efficiency driving control method of claim 4, wherein sequentially constructing each lamp group control data as light efficiency control data in a predetermined sequential relationship, comprises:
associating the lamp group control data corresponding to each lamp group with corresponding serial numbers, and increasing the serial numbers of the lamp groups according to a unit numerical rule;
And sequencing the control data of each lamp group according to the serial numbers of each lamp group, and constructing the sequenced control data of each lamp group into lamp efficiency control data.
6. A light effect relay control device implemented in a light group control chip of a light panel apparatus for implementing the light effect relay control method according to any one of claims 1 to 3, comprising:
The data receiving module is configured to receive light effect protocol data, wherein the light effect protocol data comprises a light group order pointer and light effect control data, the light effect control data comprises a plurality of light group control data expressed according to a sequence relation, each light group control data comprises unit control data corresponding to each light emitting unit in a corresponding light group, and the light group order pointer is used for indicating the current order in the sequence relation;
The lamp group extraction module is used for acquiring target lamp group control data corresponding to the current position in the lamp effect control data according to the current position indicated by the lamp group position pointer;
The lamp effect playing module is used for controlling the lamp group to play corresponding lamp effects according to the control data of the target lamp group;
and the data forwarding module is used for updating the lamp group order pointer in the lamp effect protocol data to lead the lamp group order pointer to point to the next order and outputting the lamp effect protocol data.
7. A lamp effect driving control device implemented in a control chip of a controller of a lamp panel apparatus for implementing the lamp effect driving control method as claimed in claim 4 or 5, comprising:
The data generation module is used for generating lamp group control data corresponding to each lamp group in the lamp screen equipment according to the to-be-played lamp effect;
the data construction module is used for orderly constructing the control data of each lamp group into lamp efficiency control data according to a preset sequence relation;
the pointer configuration module is used for initializing a lamp group order pointer to point to an order corresponding to first lamp group control data in the lamp effect control data, and packaging the lamp group order pointer and the lamp effect control data into lamp effect protocol data;
And the sending driving module is used for sending the lamp effect protocol data to each lamp group control chip in the lamp screen equipment so as to control each lamp group to play corresponding lamp effect.
8. A light panel device comprising a controller and at least one light bank, each controller comprising a control chip, each light bank comprising a light bank control chip and a plurality of light emitting units controlled by the light bank control chip, characterized in that the light bank control chip performs the steps of the method according to any one of claims 1 to 3, and the control chip of the controller performs the steps of the method according to claim 4 or 5.
CN202410205498.9A 2024-02-26 2024-02-26 Lamp screen equipment, lamp effect relay, driving control method and corresponding device Active CN117794020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410205498.9A CN117794020B (en) 2024-02-26 2024-02-26 Lamp screen equipment, lamp effect relay, driving control method and corresponding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410205498.9A CN117794020B (en) 2024-02-26 2024-02-26 Lamp screen equipment, lamp effect relay, driving control method and corresponding device

Publications (2)

Publication Number Publication Date
CN117794020A CN117794020A (en) 2024-03-29
CN117794020B true CN117794020B (en) 2024-05-07

Family

ID=90389446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410205498.9A Active CN117794020B (en) 2024-02-26 2024-02-26 Lamp screen equipment, lamp effect relay, driving control method and corresponding device

Country Status (1)

Country Link
CN (1) CN117794020B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114530127A (en) * 2022-02-23 2022-05-24 陈冠波 Backlight control method, backlight controller and computer readable storage medium
CN114867160A (en) * 2022-05-07 2022-08-05 深圳创维-Rgb电子有限公司 Lamp strip lighting control method, device, equipment and storage medium
CN117098287A (en) * 2023-09-19 2023-11-21 深圳市永诺节能技术服务有限公司 Intelligent control method for energy-saving lamp and energy-saving lamp system
CN117156645A (en) * 2023-10-27 2023-12-01 深圳市千岩科技有限公司 Spliced lamps and their controllers and lighting effect playback methods and devices

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114530127A (en) * 2022-02-23 2022-05-24 陈冠波 Backlight control method, backlight controller and computer readable storage medium
CN114867160A (en) * 2022-05-07 2022-08-05 深圳创维-Rgb电子有限公司 Lamp strip lighting control method, device, equipment and storage medium
CN117098287A (en) * 2023-09-19 2023-11-21 深圳市永诺节能技术服务有限公司 Intelligent control method for energy-saving lamp and energy-saving lamp system
CN117156645A (en) * 2023-10-27 2023-12-01 深圳市千岩科技有限公司 Spliced lamps and their controllers and lighting effect playback methods and devices

Also Published As

Publication number Publication date
CN117794020A (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US20200359094A1 (en) Screen parameter configuration system
EP4386534A1 (en) Control method and apparatus for light emitting device, electronic device, and storage medium
WO2010091623A1 (en) Apparatus and method for dynamically generating application program interface
US12279354B1 (en) Splicing-lamp lighting-effect application, playback method, device, system, and storage medium
CN117440574B (en) Lamp screen equipment, lamp effect generation method, corresponding device and medium
CN116628791B (en) Lamp installation guiding method, device, equipment and medium
CN117156645B (en) Spliced lamp, controller thereof and lamp effect playing method and device
US20080288919A1 (en) Encoding of Symbol Table in an Executable
CN117794020B (en) Lamp screen equipment, lamp effect relay, driving control method and corresponding device
CN116685029A (en) Splicing lamp and its controller, configuration method and device
CN117425255B (en) Indoor lighting lamp, lamp efficiency configuration method, device and equipment
CN117156646B (en) Spliced lamps, controller and lighting effect signal generation method and device thereof
CN112860244B (en) A graphical programming method and system
CN117202459B (en) Atmosphere lamp, controller thereof and lamp effect coordinated playing method and device
CN117794021B (en) Atmosphere lamp equipment, lamp effect projection playing method and device, medium and product
CN117440583B (en) Indoor lighting fixtures and lighting effect configuration methods, devices and equipment
CN116663089B (en) Lamp installation and configuration methods, devices, equipment and media
CN117560815B (en) Atmosphere lamp equipment, and method, device and medium for playing lamp effect graph in hierarchical coordination mode
CN103677718B (en) A kind of combination control method and terminal
CN117794019B (en) Intelligent lamp and array method, device and product thereof
CN114489619A (en) Interface view display method, terminal equipment and computer readable storage medium
CN114185522A (en) Page theme customization method, device, electronic device and storage medium
CN115657571B (en) Intelligent toy production method, system, platform and storage medium
WO2025087406A1 (en) Modular lighting fixture and controller therefor, lighting effect signal generation method, and lighting effect playing method
CN117794022A (en) Light color partition control method and device, equipment and medium thereof

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: 518057 3301, Building C, Lot 1, Chuangzhi Yuncheng, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Zhiyan Technology Co.,Ltd.

Country or region after: China

Patentee after: Shenzhen Qianyan Technology Co.,Ltd.

Address before: 518057 3301, Building C, Lot 1, Chuangzhi Yuncheng, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong

Patentee before: SHENZHEN ZHIYAN TECHNOLOGY Co.,Ltd.

Country or region before: China

Patentee before: Shenzhen Qianyan Technology Co.,Ltd.

CP03 Change of name, title or address