Control method applied to matrix RGB lamp and related equipment

By layouting the RGB lamp beads in a matrix, each column is independently connected to the data line, and each row is controlled by an automatic timing selector, the reliability problem caused by single point failure in traditional RGB lamp control is solved, and the stable operation of the system is achieved.

CN120379111APending Publication Date: 2025-07-25GUANGDONG DINGCHUANG SMART MANUFACTURING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510731703.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

In traditional RGB lamp control methods, once a certain lamp bead in series fails, all subsequent lamp beads will not work properly, resulting in a significant reduction in the reliability of the entire lighting system.

Method used

The control method of matrix RGB lamps is adopted. Each column of beads is independently connected to the data line, and each row of beads is connected to the automatic timing selector. By switching the row and column lamp beads regularly, it is ensured that even if a certain bead fails, other beads can be kept in working state.

Benefits of technology

It improves the reliability of the RGB lamp control system, prevents the failure of the overall lamp beads caused by single point failure, and ensures the stable operation of the lighting system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120379111A_ABST
    Figure CN120379111A_ABST
Patent Text Reader

Abstract

The embodiment of the invention belongs to the technical field of artificial intelligence, and relates to a control method and related equipment applied to a matrix RGB lamp, and the method comprises the steps: obtaining a preset control instruction corresponding to the matrix distribution when the matrix RGB lamp starts to work, and the control instruction comprises a preset time interval and a switching sequence; starting an automatic timing selector, activating a first row of RGB lamps to work according to the control instruction, and triggering a timer of the automatic timing selector to start timing; when the working time of the first row of RGB lamps reaches the preset time interval, triggering a counter of the automatic timing selector to start counting, and activating the next row of RGB lamps to work; and when the statistical number of the counter reaches M, resetting the counter, and starting the next round of RGB lamp control according to the control instruction. The lamp beads in the rows and the columns are switched at regular time, and it is ensured that even if a certain lamp bead fails, other lamp beads can be kept in the working state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, and particularly to a control method and related devices applied to matrix RGB lights. Background Art

[0002] Traditional RGB light strips usually adopt a single-chain data line control method, connecting multiple RGB lamp beads in series. Although this method is simple and easy to implement, it has obvious defects: once a lamp bead fails, the entire light strip will be interrupted and the subsequent lamp beads cannot work properly. In fact, the failure of a lamp bead close to the data line has a greater impact, and more lamp beads will fail. This single-point failure may cause the system function to be unavailable, bringing great inconvenience to users.

[0003] With the development of LED technology, programmable RGB lights are widely used in various lighting scenarios due to their advantages such as rich colors and flexible control. Traditional programmable RGB light control systems usually adopt a series connection method, that is, a data line is used to control multiple RGB lamp beads in sequence. However, this series connection method has an obvious defect: once a lamp bead in the series fails, all subsequent lamp beads will not be able to work properly, resulting in a significant reduction in the reliability of the entire lighting system.

[0004] It can be seen that the traditional RGB light control method has the problem that once a lamp bead in the series fails, all subsequent lamp beads will not be able to work properly, resulting in a significant reduction in the reliability of the entire lighting system. Summary of the Invention

[0005] The purpose of the embodiments of this application is to propose a control method and related devices applied to matrix RGB lights to solve the problem that in the traditional RGB light control method, once a lamp bead in the series fails, all subsequent lamp beads will not be able to work properly, resulting in a significant reduction in the reliability of the entire lighting system.

[0006] To solve the above technical problems, the embodiments of this application provide a control method applied to matrix RGB lights. The matrix RGB lights are distributed in a matrix of N columns and M rows. Each column of lamp beads is independently connected to a data line, and each row of lamp beads is respectively connected to an automatic timing selector. Wherein, N and M are integers greater than zero, and the following technical solutions are adopted:

[0007] When the matrix RGB lights start to work, obtain a pre-set control instruction corresponding to the matrix distribution. Wherein, the control instruction includes a pre-set time interval and a switching sequence;

[0008] Start the automatic timing selector, activate the first row of RGB lights to work according to the control instruction, and trigger the timer of the automatic timing selector to start timing;

[0009] When the working time of the first row of RGB lights reaches the preset time interval, trigger the counter of the automatic timing selector to start counting, and activate the next row of RGB lights to work;

[0010] When the statistical quantity of the counter reaches M, reset the counter, and start the next round of RGB light control according to the control instruction.

[0011] Further, the step of when the working time of the first row of RGB lights reaches the preset time interval, triggering the counter of the automatic timing selector to start counting, and activating the next row of RGB lights to work specifically includes the following steps:

[0012] Among the rows of RGB lights after the first row of RGB lights, determine whether the next row of RGB lights is a faulty light;

[0013] If the next row of RGB lights is not a faulty light, determine the next row of RGB lights to be activated as the next row of RGB lights to be activated;

[0014] If the next row of RGB lights is a faulty light, determine whether the RGB lights in the next row of the faulty light are faulty lights until a row of RGB lights that can work normally is found.

[0015] Further, the step of if the next row of RGB lights is a faulty light, determining whether the RGB lights in the next row of the faulty light are faulty lights until a row of RGB lights that can work normally is found specifically includes the following steps:

[0016] When activating the next row of RGB lights that can work normally, increase the display brightness of the first row of RGB lights and the next row of RGB lights that can work normally to compensate for the visual impact of the faulty lights.

[0017] Further, the step of if the next row of RGB lights is a faulty light, determining whether the RGB lights in the next row of the faulty light are faulty lights until a row of RGB lights that can work normally is found specifically includes the following steps:

[0018] Display the fault information corresponding to the faulty light to the user through a fault indicator light.

[0019] Further, the step of when the matrix RGB lights start to work, obtaining a preset control instruction corresponding to the matrix distribution, where the control instruction includes a preset time interval and a switching sequence specifically includes the following steps:

[0020] Collect the scene environment information of the matrix RGB lights according to the ambient light sensor;

[0021] Dynamically adjust the preset time interval of the control instruction according to the scene environment information.

[0022] Further, after the step of collecting the scene environment information of the matrix RGB lamp by the ambient light sensor, the following steps are further included:

[0023] Adjust the light brightness of the control instruction according to the scene environment information.

[0024] To solve the above technical problems, an embodiment of the present application further provides a control device applied to a matrix RGB lamp. The matrix RGB lamp is distributed in an N-column M-row matrix. Each column of lamp beads is independently connected to a data line, and each row of lamp beads is respectively connected to an automatic timing selector. Wherein, N and M are integers greater than zero, and the following technical solutions are adopted:

[0025] A control instruction acquisition module, configured to, when the matrix RGB lamp starts to work, acquire a preset control instruction corresponding to the matrix distribution, wherein the control instruction includes a preset time interval and a switching sequence;

[0026] A first RGB lamp control module, configured to start the automatic timing selector, activate the first row of RGB lamps to work according to the control instruction, and trigger the timer of the automatic timing selector to start timing;

[0027] A second RGB lamp control module, configured to, when the working time of the first row of RGB lamps reaches the preset time interval, trigger the counter of the automatic timing selector to start counting, and activate the next row of RGB lamps to work;

[0028] A counter reset module, configured to, when the statistical quantity of the counter reaches M, reset the counter, and start the next round of RGB lamp control according to the control instruction.

[0029] Further, the second RGB lamp control module includes:

[0030] A fault lamp judgment sub-module, configured to judge whether the next row of RGB lamps belongs to a fault lamp among the RGB lamps in each row after the first row of RGB lamps;

[0031] A first to-be-activated RGB lamp determination sub-module, configured to, if the next row of RGB lamps does not belong to a fault lamp, determine the next row of RGB lamps as the to-be-activated next row of RGB lamps;

[0032] The second RGB light to be activated determination sub-module is used to determine whether the RGB light in the next row belongs to a faulty light if the RGB light in the next row belongs to a faulty light, until an RGB light that can work normally is found.

[0033] To solve the above technical problems, an embodiment of the present application further provides a computer device, which adopts the following technical solutions:

[0034] It includes a memory and a processor. Computer-readable instructions are stored in the memory, and when the processor executes the computer-readable instructions, the steps of the control method applied to the matrix RGB lights as described above are implemented.

[0035] To solve the above technical problems, an embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solutions:

[0036] Computer-readable instructions are stored on the computer-readable storage medium, and when the computer-readable instructions are executed by a processor, the steps of the control method applied to the matrix RGB lights as described above are implemented.

[0037] The present application provides a control method applied to matrix RGB lights, including: when the matrix RGB lights start to work, obtaining a pre-set control instruction corresponding to the matrix distribution, where the control instruction includes a pre-set time interval and a switching order; starting an automatic timing selector, activating the first row of RGB lights to work according to the control instruction, and triggering the timer of the automatic timing selector to start timing; when the working time of the first row of RGB lights reaches the pre-set time interval, triggering the counter of the automatic timing selector to start counting, and activating the next row of RGB lights to work; when the statistical quantity of the counter reaches M, resetting the counter, and starting the next round of RGB light control according to the control instruction. Compared with the prior art, the present application ensures that even if a certain light bead fails, other light beads can still maintain the working state by timing and switching the light beads in rows and columns. Description of the Drawings

[0038] To more clearly illustrate the solutions in the present application, the following will briefly introduce the drawings required for the description of the embodiments of the present application. Obviously, the following drawings are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0039] Figure 1 It is an exemplary system architecture diagram to which the present application can be applied;

[0040] Figure 2It is a flowchart of the implementation of the control method for matrix RGB lights provided by an embodiment of the present application;

[0041] Figure 3 It is a schematic structural diagram of the control device for matrix RGB lights provided by an embodiment of the present application;

[0042] Figure 4 It is a schematic structural diagram of an embodiment of a computer device according to the present application. Detailed implementation manners

[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion. The terms "first", "second", etc. in the specification and claims of this application or the above drawings are used to distinguish different objects and not to describe a specific order.

[0044] Referring to "embodiment" herein means that a specific feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of this application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein can be combined with other embodiments.

[0045] In order to enable those skilled in the art of this technology to better understand the solution of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0046] As Figure 1 shown, the system architecture 100 may include a terminal device 101, a network 102, and a server 103. The terminal device 101 may be a laptop computer 1011, a tablet computer 1012, or a mobile phone 1013. The network 102 is a medium for providing a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0047] Users can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications may be installed on the terminal device 101, such as a web browser application, a shopping application, a search application, an instant messaging tool, an email client, a social platform software, etc.

[0048] The terminal device 101 can be various electronic devices with a display screen and supporting web browsing. In addition to the laptop 1011, tablet computer 1012, or mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop computer, a desktop computer, and so on.

[0049] The server 103 can be a server that provides various services, such as a background server that supports the pages displayed on the terminal device 101.

[0050] It should be noted that the control method for the matrix RGB lights provided in the embodiments of the present application is generally executed by the server / terminal device. Correspondingly, the control device for the matrix RGB lights is generally set in the server / terminal device.

[0051] It should be understood that Figure 1 the numbers of the terminal devices, networks, and servers in

[0052] are merely illustrative. According to the implementation requirements, there can be any number of terminal devices, networks, and servers. Figure 2 Continuing to refer to

[0053] FIG. [FIGURE NUMBER], a flowchart of an embodiment of the control method for the matrix RGB lights according to the present application is shown. The control method for the matrix RGB lights includes: step S201, step S202, step S203, and step S204.

[0054] In step S201, when the matrix RGB lights start to work, obtain a pre-set control instruction corresponding to the matrix distribution, where the control instruction includes a pre-set time interval and a switching order;

[0055] In step S202, start the automatic timing selector, activate the first row of RGB lights to work according to the control instruction, and trigger the timer of the automatic timing selector to start timing;

[0056] In step S203, when the working time of the first row of RGB lights reaches the pre-set time interval, trigger the counter of the automatic timing selector to start counting, and activate the next row of RGB lights to work;

[0057] In the embodiments of the present application, the traditional linear RGB light string is changed to a matrix layout of n columns and m rows. Each column of light beads is independently connected to the data line, and the rows are controlled by an automatic timing selector.

[0058] In the embodiments of the present application, the automatic timing selector is a control unit responsible for activating each row of RGB lights in sequence according to a preset time interval and order. The selector sets the switching time and cycle period according to the size of the matrix (n columns and m rows).

[0059] In the embodiments of the present application, the automatic timing selector internally includes a timer and a counter. The timer is used to control the time interval of row switching, and the counter records the currently activated row number and resets after reaching the total number of rows m to start a new cycle.

[0060] In the embodiments of the present application, since each column of light beads is independently controlled, even if a light bead in a certain column is damaged, it will not affect the normal operation of other columns. The automatic timing selector ensures that even if all the light beads in a certain row fail, the light beads in other rows can still be activated as planned.

[0061] In the embodiments of the present application, the present application also applies other control modules, specifically:

[0062] Light bead control module: Responsible for controlling the color and brightness of each light bead;

[0063] Selector controller: Responsible for setting and controlling various parameters required for automatic timing, such as the number of columns, the number of rows, and the switching interval;

[0064] Signal transmission module: Transmits pulse signals between different columns of light beads.

[0065] In the embodiments of the present application, a control method applied to matrix RGB lights is provided, including: when the matrix RGB lights start to work, obtaining a pre-set control instruction corresponding to the matrix distribution, where the control instruction includes a pre-set time interval and switching order; starting the automatic timing selector, activating the first row of RGB lights to work according to the control instruction, and triggering the timer of the automatic timing selector to start timing; when the working time of the first row of RGB lights reaches the pre-set time interval, triggering the counter of the automatic timing selector to start counting, and activating the next row of RGB lights to work; when the statistical quantity of the counter reaches M, resetting the counter and starting the next round of RGB light control according to the control instruction. Compared with the prior art, the present application ensures that even if a certain light bead fails, other light beads can still maintain the working state by timing the switching of the light beads in rows and columns.

[0066] In some alternative implementation manners of the embodiments of the present application, the step of triggering the counter of the automatic timing selector to start counting and activating the next row of RGB lights when the working time of the first row of RGB lights reaches the preset time interval specifically includes the following steps:

[0067] Among the rows of RGB lights after the first row of RGB lights, determine whether the next row of RGB lights is a faulty light;

[0068] If the next row of RGB lights is not a faulty light, determine the next row of RGB lights as the next row of RGB lights to be activated;

[0069] If the next row of RGB lights is a faulty light, determine whether the RGB lights in the next row of the faulty light are faulty lights until a row of RGB lights that can work normally is found.

[0070] In the embodiments of the present application, the present application also incorporates a circuit protection module, which is used to monitor whether there are faulty lamp beads so as to automatically adjust the signal transmission path.

[0071] In some alternative implementation manners of the embodiments of the present application, the step of, if the next row of RGB lights is a faulty light, determining whether the RGB lights in the next row of the faulty light are faulty lights until a row of RGB lights that can work normally is found specifically includes the following steps:

[0072] When activating the next row of RGB lights that can work normally, increase the display brightness of the first row of RGB lights and the next row of RGB lights that can work normally to compensate for the visual impact of the faulty lights.

[0073] In the embodiments of the present application, although there is a basic fault tolerance mechanism, it can be further enhanced. For example, when it is detected that all the lamp beads in a certain row fail, an attempt can be made to reconfigure the signal transmission path to bypass the faulty row, or the influence of the faulty row can be compensated by adjusting the brightness of adjacent rows. Specifically, more complex fault detection and recovery algorithms are added to the circuit protection module to make up for the influence of the faulty row by using backup paths or adjusting the brightness of other rows.

[0074] In some alternative implementation manners of the embodiments of the present application, the step of, if the next row of RGB lights is a faulty light, determining whether the RGB lights in the next row of the faulty light are faulty lights until a row of RGB lights that can work normally is found specifically includes the following steps:

[0075] Display the fault information corresponding to the faulty light to the user through a fault indicator light.

[0076] In the embodiments of the present application, a fault warning and recording function is added. When a lamp bead fault is detected, the user is notified in a timely manner, and the fault information is recorded for subsequent maintenance or replacement. Specifically, a fault detection and alarm mechanism is added to the circuit protection module, and the user is notified of the fault information through an LED indicator light, a sound prompt, or a mobile phone APP.

[0077] In some alternative implementation manners of the embodiments of the present application, when the matrix RGB lamp starts to work, the control instructions preset corresponding to the matrix distribution are obtained, where the control instructions include the preset time interval and the switching sequence steps, and specifically include the following steps:

[0078] Collect the scene environment information of the matrix RGB lamp according to the ambient light sensor;

[0079] Perform a dynamic adjustment operation on the preset time interval of the control instructions according to the scene environment information.

[0080] In the embodiments of the present application, the current time interval is preset and may not be applicable to all scenarios. The function of dynamically adjusting the time interval can be added to automatically adjust the working time of each row of RGB lamps according to the ambient light intensity, user preferences, or preset scene modes (such as parties, reading, sleeping, etc.). Specifically, an ambient light sensor or a user input interface is integrated, and the time interval is calculated and adjusted through an algorithm.

[0081] In some alternative implementation manners of the embodiments of the present application, the current switching sequence is fixed, and the function of intelligent switching sequence can be added, such as dynamically adjusting the activation sequence of the RGB lamps according to the user's viewing habits, music rhythm, or video content to achieve a richer visual effect. Specifically, machine learning algorithms are used to analyze user behavior or video / audio content to generate an optimal switching sequence.

[0082] In some alternative implementation manners of the embodiments of the present application, after the step of collecting the scene environment information of the matrix RGB lamp according to the ambient light sensor, the following steps are further included:

[0083] Adjust the light brightness of the control instructions according to the scene environment information.

[0084] In the embodiments of the present application, a fault warning and recording function is added. When a lamp bead fault is detected, the user is notified in a timely manner, and the fault information is recorded for subsequent maintenance or replacement. Specifically, a fault detection and alarm mechanism is added to the circuit protection module, and the user is notified of the fault information through an LED indicator light, a sound prompt, or a mobile phone APP.

[0085] Embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is a theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use knowledge to obtain the best results.

[0086] Artificial intelligence basic technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technologies mainly include several major directions such as computer vision technology, robotics, biometric technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0087] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through computer-readable instructions. The computer-readable instructions 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 methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, read-only memory (ROM), or a random access memory (RAM), etc.

[0088] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings can include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same moment, but can be executed at different moments, and their execution order is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.

[0089] For further reference Figure 3 As an implementation of the method shown above Figure 2 Figure 2 Figure 2

[0090] Figure 3 Figure 3

[0091] A control instruction acquisition module 210, configured to obtain a preset control instruction corresponding to the matrix distribution when the matrix RGB lamp starts to work, where the control instruction includes a preset time interval and a switching sequence;

[0092] A first RGB lamp control module 220, configured to start an automatic timer selector, activate the first row of RGB lamps to work according to the control instruction, and trigger the timer of the automatic timer selector to start timing;

[0093] A second RGB lamp control module 230, configured to trigger the counter of the automatic timer selector to start counting and activate the next row of RGB lamps to work when the working time of the first row of RGB lamps reaches the preset time interval;

[0094] A counter reset module 240, configured to reset the counter when the statistical quantity of the counter reaches M, and start the next round of RGB lamp control according to the control instruction.

[0095] In an embodiment of the present application, a control device 200 for a matrix RGB lamp is provided, including: a control instruction acquisition module 210, configured to obtain a preset control instruction corresponding to the matrix distribution when the matrix RGB lamp starts to work, where the control instruction includes a preset time interval and a switching sequence; a first RGB lamp control module 220, configured to start an automatic timer selector, activate the first row of RGB lamps to work according to the control instruction, and trigger the timer of the automatic timer selector to start timing; a second RGB lamp control module 230, configured to trigger the counter of the automatic timer selector to start counting and activate the next row of RGB lamps to work when the working time of the first row of RGB lamps reaches the preset time interval; a counter reset module 240, configured to reset the counter when the statistical quantity of the counter reaches M, and start the next round of RGB lamp control according to the control instruction. Compared with the prior art, the present application ensures that even if a certain lamp bead fails, other lamp beads can still maintain the working state by periodically switching the lamp beads in rows and columns.

[0096] In some optional implementation manners of the embodiment of the present application, the above-mentioned second RGB lamp control module includes:

[0097] A faulty lamp judgment sub-module, configured to judge whether the next row of RGB lamps belongs to a faulty lamp among the RGB lamps in each row after the first row of RGB lamps;

[0098] A first to-be-activated RGB lamp determination sub-module, configured to determine the next row of RGB lamps to be activated as the next row of RGB lamps to be activated if the next row of RGB lamps does not belong to a faulty lamp;

[0099] The second RGB light to be activated determination sub-module is used to determine whether the RGB light in the next row belongs to a malfunctioning light if the RGB light in the next row belongs to a malfunctioning light, until an RGB light that can work properly is found.

[0100] To solve the above technical problems, an embodiment of the present application further provides a computer device. For details, please refer to Figure 4 , Figure 4 which is the basic structural block diagram of the computer device in the embodiment of the present application.

[0101] The computer device 300 includes a memory 310, a processor 320, and a network interface 330 that are communicatively connected to each other through a system bus. It should be noted that only the computer device 300 with components 310-330 is shown in the figure, but it should be understood that it is not required to implement all the shown components, and more or fewer components can be implemented alternatively. Among them, those skilled in the art of the present technology can understand that a computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.

[0102] The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing devices. The computer device can perform human-computer interaction with users through a keyboard, a mouse, a remote control, a touchpad or a voice control device, etc.

[0103] The memory 310 includes at least one type of readable storage medium, which includes flash memory, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disc, etc. In some embodiments, the memory 310 may be an internal storage unit of the computer device 300, such as the hard disk or memory of the computer device 300. In other embodiments, the memory 310 may also be an external storage device of the computer device 300, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the computer device 300. Of course, the memory 310 may also include both the internal storage unit and the external storage device of the computer device 300. In the embodiments of the present application, the memory 310 is generally used to store the operating system and various application software installed on the computer device 300, such as computer-readable instructions for the control method of matrix RGB lights. In addition, the memory 310 may also be used to temporarily store various data that have been output or will be output.

[0104] In some embodiments, the processor 320 may be a central processing unit (CPU), controller, microcontroller, microprocessor, or other data processing chip. The processor 320 is generally used to control the overall operation of the computer device 300. In the embodiments of the present application, the processor 320 is used to run the computer-readable instructions stored in the memory 310 or process data, such as running the computer-readable instructions for the control method of matrix RGB lights.

[0105] The network interface 330 may include a wireless network interface or a wired network interface, and this network interface 330 is generally used to establish a communication connection between the computer device 300 and other electronic devices.

[0106] The computer device provided by the present application ensures that even if a certain light bead fails, other light beads can still maintain their working states by periodically switching the light beads in rows and columns.

[0107] The present application also provides another implementation manner, that is, to provide a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor, so that the at least one processor executes the steps of the control method applied to the matrix RGB lamp as described above.

[0108] The computer-readable storage medium provided by the present application ensures that even if a certain lamp bead fails, other lamp beads can still maintain their working states by periodically switching the lamp beads in rows and columns.

[0109] Through the description of the above implementation manners, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation manner. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions to enable a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0110] Obviously, the embodiments described above are only a part of the embodiments of the present application, rather than all the embodiments. The accompanying drawings show the preferred embodiments of the present application, but do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure content of the present application more thorough and comprehensive. Although the present application has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions described in the foregoing specific implementation manners, or perform equivalent replacements on some of the technical features. Any equivalent structure directly or indirectly using the content of the specification and drawings of the present application in other related technical fields is equally within the scope of the patent protection of the present application.

Claims

1. A control method applied to a matrix RGB light, characterized in that, The matrix RGB lights are distributed in an N-column and M-row matrix. Each column of lamp beads is independently connected to a data line, and each row of lamp beads is respectively connected to an automatic timing selector, where N and M are integers greater than zero. The method includes the following steps: When the matrix RGB lights start to work, obtain a pre-set control instruction corresponding to the matrix distribution, where the control instruction includes a pre-set time interval and a switching sequence; Start the automatic timing selector, activate the first row of RGB lights to work according to the control instruction, and trigger the timer of the automatic timing selector to start timing; When the working time of the first row of RGB lights reaches the pre-set time interval, trigger the counter of the automatic timing selector to start counting, and activate the next row of RGB lights to work; When the statistical quantity of the counter reaches M, reset the counter, and start the next round of RGB light control according to the control instruction.

2. The control method applied to the matrix RGB lamp according to claim 1, wherein The step of, when the working time of the first row of RGB lights reaches the pre-set time interval, triggering the counter of the automatic timing selector to start counting, and activating the next row of RGB lights to work, specifically includes the following steps: Among the RGB lights in each row after the first row of RGB lights, determine whether the RGB lights in the next row are faulty lights; If the RGB lights in the next row are not faulty lights, determine the RGB lights in the next row as the next row of RGB lights to be activated; If the RGB lights in the next row are faulty lights, determine whether the RGB lights in the row next to the faulty lights are faulty lights until a row of RGB lights that can work normally is found.

3. The control method applied to the matrix RGB lamp according to claim 2, wherein The step of, if the RGB lights in the next row are faulty lights, determining whether the RGB lights in the row next to the faulty lights are faulty lights until a row of RGB lights that can work normally is found, specifically includes the following steps: When activating the RGB lights in the next row that can work normally, increase the display brightness of the first row of RGB lights and the RGB lights in the next row that can work normally to compensate for the visual impact of the faulty lights.

4. The control method applied to the matrix RGB lamp according to claim 1, wherein The step of, if the RGB lights in the next row are faulty lights, determining whether the RGB lights in the row next to the faulty lights are faulty lights until a row of RGB lights that can work normally is found, specifically includes the following steps: Display the fault information corresponding to the faulty lights to the user through a fault indicator light.

5. The control method applied to the matrix RGB lamp according to claim 1, characterized in that, The step of, when the matrix RGB lights start to work, obtaining a pre-set control instruction corresponding to the matrix distribution, where the control instruction includes a pre-set time interval and a switching sequence, specifically includes the following steps: Collect the scene environment information of the matrix RGB lights according to an ambient light sensor; Perform a dynamic adjustment operation on the pre-set time interval of the control instruction according to the scene environment information.

6. The control method applied to the matrix RGB lamp according to claim 4, wherein, After the step of collecting the scene environment information of the matrix RGB lights according to the ambient light sensor, the following steps are further included: Adjust the light brightness of the control instruction according to the scene environment information.

7. A control device applied to a matrix RGB lamp, characterized in that, The matrix RGB lights are distributed in an N-column and M-row matrix. Each column of lamp beads is independently connected to a data line, and each row of lamp beads is respectively connected to an automatic timing selector, where N and M are integers greater than zero. The device includes: A control instruction acquisition module, configured to, when the matrix RGB lights start to work, acquire a preset control instruction corresponding to the matrix distribution, where the control instruction includes a preset time interval and a switching sequence; A first RGB light control module, configured to start the automatic timing selector, activate the first row of RGB lights to work according to the control instruction, and trigger the timer of the automatic timing selector to start timing; A second RGB light control module, configured to, when the working time of the first row of RGB lights reaches the preset time interval, trigger the counter of the automatic timing selector to start counting, and activate the next row of RGB lights to work; A counter reset module, configured to, when the statistical quantity of the counter reaches M, reset the counter, and start the next round of RGB light control according to the control instruction.

8. The control device applied to the matrix RGB lamp according to claim 7, wherein The second RGB light control module includes: A fault lamp judgment sub-module, configured to judge whether the next row of RGB lights belongs to a fault lamp among the rows of RGB lights after the first row of RGB lights; A first to-be-activated RGB light determination sub-module, configured to, if the next row of RGB lights does not belong to a fault lamp, determine the next row of RGB lights as the to-be-activated next row of RGB lights; A second to-be-activated RGB light determination sub-module, configured to, if the next row of RGB lights belongs to a fault lamp, judge whether the next row of RGB lights of the fault lamp belongs to a fault lamp until a normally working RGB light is found.

9. A computer device, comprising a memory and a processor, characterized in that, Computer-readable instructions are stored in the memory. When the processor executes the computer-readable instructions, the steps of the control method for matrix RGB lights according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium, characterized in that, Computer-readable instructions are stored on the computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of the control method for matrix RGB lights according to any one of claims 1 to 6 are implemented.