Drive module and drive system

By using a mapping table in the driver module to establish a corresponding relationship between the driver port and the driver data in the data packet, the problem of resource occupation by host sorting is solved, and lower latency and more efficient LED module driving is achieved.

CN118737035APending Publication Date: 2024-10-01SILERGY SEMICON TECH (HANGZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411095974.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In the existing technology, the host sorts the driving data of multiple LED modules, which occupies a large amount of memory resources and computing processing resources, resulting in large system delays.

Method used

The driver module is used to establish a corresponding relationship between the driver port and the driver data in the data packet through the mapping table, and directly obtain the driver data corresponding to each driver port, avoiding the host from sorting processing.

Benefits of technology

It effectively reduces the occupation of host memory resources and computing processing resources, reduces system latency, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118737035A_ABST
    Figure CN118737035A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a driving module and a driving system, and the driving module comprises a plurality of driving ports which are configured to drive at least one LED module in a plurality of LED modules; the driving module is configured to receive a data packet comprising a plurality of driving data arranged according to a predetermined mode and corresponding to the plurality of LED modules, and obtain the driving data corresponding to each driving port according to the LED module corresponding to each driving port in the driving module; therefore, the LED module corresponding to each driving port is driven according to the driving data corresponding to each driving port. According to the method and the device, the mapping relation between the driving data and each driving port in the driving module is realized by utilizing the driving module, so that the occupation of host memory resources and computing processing resources is effectively reduced, and the cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power electronics, and more particularly to a drive module and a drive system. Background Art

[0002] The processor generates multiple driving data corresponding to the multiple LED modules according to the information required by the multiple LED modules in each frame of the screen, such as brightness information, and sends it to the host. The host generates a data packet containing multiple driving data to each driver chip according to the communication protocol, and each driver chip drives the multiple LED modules. Since the driving port of each driver chip can be coupled to any LED module, the serial number of the driving port of each driver chip and the serial number of the corresponding LED module to be driven will be inconsistent. For example, the first LED module is driven by the fourth port of the third driver chip, not the first port of the first driver chip. If the driving data generated by the processor are directly used to drive the LED modules corresponding to the driving ports of each driver chip in turn, the driving data received by the LED modules corresponding to the driving ports of each driver chip will be the driving data corresponding to other LED modules, so that the preset picture cannot appear on the screen.

[0003] In the prior art, the host reorders the multiple driving data corresponding to the multiple LED modules so that the LED driving modules corresponding to the driving ports of the respective driving chips receive the corresponding driving data. After the driving chips receive the multiple driving data ordered by the host, the multiple driving data correspond to the driving ports in increasing order, that is, the first driving data corresponds to the first driving port of the first driving chip, the second driving data corresponds to the second driving port of the first driving chip, ..., and the last driving data corresponds to the last driving port of the last driving chip. However, in the prior art, the host orders the driving data, which occupies more memory resources and computing processing resources of the host, and the system delay is relatively large. Summary of the invention

[0004] In view of this, the present invention proposes a driving module and a driving system to solve the technical problem in the prior art that the host sorts multiple driving data, occupies more memory resources and computing processing resources of the host, and has a large system delay.

[0005] An embodiment of the present invention provides a driving module, comprising: a plurality of driving ports, configured to drive at least one LED module among a plurality of LED modules; the driving module is configured to receive a data packet including a plurality of driving data corresponding to the plurality of LED modules and arranged in a predetermined manner, and obtain driving data corresponding to each driving port according to the LED modules corresponding to each driving port in the driving module, so that the LED modules corresponding to each driving port are driven respectively according to the driving data corresponding to each driving port.

[0006] In one embodiment, the driving module further includes: a first module configured to obtain driving data corresponding to each driving port according to a mapping table, wherein the mapping table is used to characterize the correspondence between the driving port in the driving module and part or all of the driving data in the data packet.

[0007] In one embodiment, the driving module receives a data packet sent by a host and containing the mapping table corresponding to the driving module, and stores the mapping table.

[0008] In one embodiment, the mapping table is generated according to the LED modules corresponding to the respective driving ports in the driving module.

[0009] In one embodiment, the mapping table is configured as a correspondence between the driving ports in the driving module and the serial numbers of part or all of the driving data in the data packet.

[0010] In one embodiment, when the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the i-th driving data in the data packet, where i is configured to be generated according to a function related to p, or generated according to a predetermined correspondence relationship with p.

[0011] In one embodiment, when the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the pth driving data in the data packet.

[0012] In one embodiment, the driving module further includes: a plurality of registers corresponding one-to-one to a plurality of driving ports; obtaining driving data corresponding to each driving port according to the LED modules corresponding to each driving port in the driving module, and storing the driving data corresponding to each driving port in the registers corresponding to each driving port respectively.

[0013] In one embodiment, the driving module further includes: a second module configured to generate driving signals corresponding to each driving port according to driving data corresponding to each driving port, so as to drive the LED modules corresponding to each driving port respectively.

[0014] In one embodiment, a plurality of driving data arranged in a predetermined manner corresponding to the plurality of LED modules are generated according to the information required by the plurality of LED modules in each frame of the screen.

[0015] In one embodiment, the driving module determines whether it is a target driving module. If the driving module determines that it is a target driving module, the driving data corresponding to each driving port of the driving module is obtained according to the LED modules corresponding to each driving port in the driving module.

[0016] An embodiment of the present invention provides a driving system, comprising: a host, configured to send a data packet including a plurality of driving data corresponding to a plurality of LED modules and arranged in a predetermined manner; and n driving modules; wherein each driving module comprises: a plurality of driving ports, configured to drive at least one LED module among the plurality of LED modules; a current driving module receives a data packet including a plurality of driving data corresponding to the plurality of LED modules and arranged in a predetermined manner, and obtains driving data corresponding to each driving port in the current driving module according to the LED modules corresponding to each driving port in the current driving module, so that the LED modules corresponding to each driving port in the current driving module are driven respectively according to the driving data corresponding to each driving port in the current driving module.

[0017] In one embodiment, the current driver module is configured to obtain the driver data corresponding to each driver port in the current driver module according to a mapping table, wherein the mapping table is used to characterize the correspondence between the driver port in the current driver module and part or all of the driver data in the data packet.

[0018] In one embodiment, the current driving module receives a data packet sent by the host and including the mapping table corresponding to the current driving module, and stores the mapping table.

[0019] In one embodiment, the mapping table corresponding to the current driving module is generated according to the LED modules corresponding to the driving ports in the current driving module.

[0020] In one embodiment, a plurality of mapping tables corresponding one to each of the n driving modules are preset in the host.

[0021] In one embodiment, the mapping table corresponding to the current driving module is configured as a correspondence between the driving port in the current driving module and the sequence number of part or all of the driving data in the data packet.

[0022] In one embodiment, when the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the i-th driving data in the data packet, where i is configured to be generated according to a function related to p, or generated according to a predetermined correspondence relationship with p.

[0023] In one embodiment, if the serial number corresponding to a driving port in the mapping table corresponding to the current driving module is p, the driving port corresponds to the pth driving data in the data packet.

[0024] In one embodiment, each driving module further includes: a plurality of registers corresponding one-to-one to a plurality of driving ports; obtaining driving data corresponding to each driving port in the current driving module according to the LED modules corresponding to each driving port in the current driving module, and storing the driving data corresponding to each driving port in the current driving module in the registers corresponding to each driving port in the current driving module.

[0025] In one embodiment, the driving module is configured to generate driving signals corresponding to each driving port in the current driving module according to driving data corresponding to each driving port in the current driving module, so as to drive the LED modules corresponding to each driving port in the current driving module respectively.

[0026] In one embodiment, the host or the host's host computer generates a plurality of driving data corresponding to the plurality of LED modules and arranged in a predetermined manner according to the information required by the plurality of LED modules for each frame of the screen.

[0027] In one embodiment, the host and the n driving modules are coupled in series in sequence to perform chain communication.

[0028] In one embodiment, the host and the n driving modules are coupled to perform bus communication.

[0029] In one embodiment, the current driving module determines whether it is the target driving module. When the current driving module determines that it is the target driving module, the driving data corresponding to each driving port in the current driving module is obtained according to the LED modules corresponding to each driving port in the current driving module.

[0030] Compared with the prior art, the technical solution of the present invention has the following advantages: the driving module of the present invention includes multiple driving ports, which are configured to drive at least one LED module among multiple LED modules; the driving module is configured to receive a data packet including multiple driving data corresponding to multiple LED modules and arranged in a predetermined manner, and obtain driving data corresponding to each driving port according to the LED modules corresponding to each driving port in the driving module, so that the LED modules corresponding to each driving port are driven according to the driving data corresponding to each driving port. In the present invention, the mapping relationship between multiple driving data and each driving port in the driving module is realized by using the driving module, which effectively reduces the occupation of host memory resources and computing processing resources, reduces costs, and reduces system delays. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0032] Figure 1 is a schematic diagram of a first embodiment of a drive system of the present invention;

[0033] Figure 2 A coding diagram for the communication protocol of the present invention;

[0034] Figure 3 Another coding diagram of the communication protocol of the present invention;

[0035] Figure 4 is a schematic diagram of an embodiment of a driving module of the present invention;

[0036] Figure 5 is a schematic diagram of a second embodiment of a drive system of the present invention;

[0037] Figure 6 Schematic diagram of embodiment 3 of the drive system of the present invention. DETAILED DESCRIPTION

[0038] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, flows, components and circuits are not described in detail.

[0039] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.

[0040] At the same time, it should be understood that in the following description, "circuit" refers to a conductive loop composed of at least one element or subcircuit through electrical connection or electromagnetic connection. When an element or circuit is said to be "connected to" another element or an element / circuit is said to be "connected between" two nodes, it can be directly coupled or connected to another element or there can be an intermediate element, and the connection between the elements can be physical, logical, or a combination thereof. On the contrary, when an element is said to be "directly coupled to" or "directly connected to" another element, it means that there is no intermediate element between the two.

[0041] Unless the context clearly requires otherwise, throughout the specification and claims, the words "include", "comprising" and similar words should be interpreted in an inclusive sense rather than an exclusive or exhaustive sense; that is, in the sense of "including but not limited to".

[0042] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0043] The present invention provides a driving system for driving multiple LED modules. The driving system includes a host and n driving modules. The host is configured to send a data packet including multiple driving data corresponding to the multiple LED modules and arranged in a predetermined manner. Each driving module includes multiple driving ports. The multiple driving ports in each driving module are configured to drive at least one LED module among the multiple LED modules. The current driving module receives a data packet including multiple driving data corresponding to the multiple LED modules and arranged in a predetermined manner. If the current driving module is a target driving module, or the current driving module defaults to being the target driving module, the current driving module obtains driving data corresponding to each driving port in the current driving module according to the LED modules corresponding to each driving port in the current driving module, so that the LED modules corresponding to each driving port in the current driving module are driven according to the driving data corresponding to each driving port in the current driving module.

[0044] In one embodiment, the host is coupled to each driver module, so that the host can communicate with multiple driver modules at the same time to perform serial bus communication. In another embodiment, the host and n driver modules are sequentially coupled in series to form a communication link, thereby performing serial chain communication. In another embodiment, the host is coupled to each driver module, and the host is also sequentially coupled in series with n driver modules to form a communication link, thereby selectively performing serial bus communication or / and serial chain communication.

[0045] Figure 1 FIG. 1 is a schematic diagram of a first embodiment of a drive system of the present invention. Figure 1 As shown, the driving system includes a host and n driving modules IC1 to ICn coupled in series. Specifically, each driving module also includes a data input port SDI and a data output port SDO, the output port MDO of the host is coupled to the data input port SDI of the first driving module IC1, and the data input ports SDI of the second driving module IC2 to the last driving module ICn are coupled to the data output port SDO of the previous driving module. In this embodiment, the data output port SDO of the last driving module ICn is not coupled to the data input port of the host. In another embodiment, the data output port SDO of the last driving module ICn is coupled to the data input port of the host.

[0046] In this embodiment, each driving module has m driving ports, and each driving port drives one LED module, but the present invention is not limited to this. In other embodiments, multiple driving ports can drive one LED module.

[0047] In this embodiment, each LED module includes one LED. In other embodiments, the LED module includes multiple LEDs coupled in series and / or in parallel. The present invention does not limit the structure of the LED module, and the structures of multiple LED modules can be the same or different, and the number of LEDs in each LED module can be the same or different.

[0048] In this embodiment, n driver modules communicate with the host Master through a unified communication protocol. During the communication process, the host sends a data packet including multiple driving data corresponding to multiple LED modules and arranged in a predetermined manner to one or more target driver modules. The target driver module receives the data packet and performs corresponding actions according to the communication data corresponding to it in the data packet. Specifically, when the host sends a data packet to a target driver module, the data packet only includes the driving data corresponding to one driver module, such as Figure 2 As shown in FIG. 1 , an exemplary coding diagram of the communication protocol of the present invention is given, wherein the data packet includes command data Command, address data Device Address, register address data Register Address and communication data Data, wherein the communication data Data includes multiple driving data corresponding to a driving module, so as to drive the LED module corresponding to the target driving module. Figure 2As shown, in this embodiment, the communication data Data includes two driving data Data1 and Data2, that is, one driving module corresponds to two driving data, and each driving data is configured as one byte of data, and one byte is equal to 8 bits; in another embodiment, the communication data Data includes j driving data, that is, one driving module corresponds to j driving data, and each driving data is configured as multiple or one byte of data, j is greater than or equal to 1, and the present invention does not limit this. The current driving module receives the data packet and determines whether it is the target driving module based on the address data Device Address in the data packet. When the host sends a data packet to multiple target driving modules, the data packet includes driving data corresponding to multiple driving modules, such as Figure 3 As shown, another coding diagram of the communication protocol of the present invention is given as an example, the data packet includes command data Command, address data Device Address, register address data Register Address and communication data Data, wherein the communication data Data includes multiple driving data corresponding to multiple driving modules, so as to drive the LED modules corresponding to multiple target driving modules. Figure 3 As shown, in this embodiment, the communication data Data includes i driving data Data1~Datai, that is, multiple driving modules correspond to i driving data, where i is greater than 1. If one driving module corresponds to j driving data, then i / j driving modules correspond to i driving data, i is greater than j, and j is greater than or equal to 1. In this embodiment, each driving data is configured as one byte of data; in another embodiment, each driving data is configured as multiple bytes of data, and the present invention is not limited to this. In one embodiment, the current driving module receives the data packet and determines whether it is the target driving module according to the address data Device Address in the data packet. Optionally, the current driving module modifies the address data Device Address in the data packet to the next driving module. In another embodiment, the current driving module receives the data packet, and does not need to determine whether it is the target driving module according to the address data Device Address. It directly defaults to the target driving module, and the address data Device Address part in the data packet can be omitted. Optionally, whether the host sends the data packet to one or more target driving modules is determined by the command data Command. Since there are more target driver modules, the number of driver data in the data packet is greater, and when the host sorts the multiple driver data, more host memory and processing resources are occupied. Therefore, the solution of the present invention has greater advantages when there are more target driver modules.

[0049] If the current driving module determines that it is the target driving module, the current driving module obtains the driving data corresponding to each driving port of the target driving module from the data packet sent by the host to drive the LED modules corresponding to each driving port. Figure 2 and Figure 3 For the purpose of illustration, in other embodiments, the data packet also includes other parts, or the positions of the parts in the data packet can be swapped, or the length of the parts in the data packet can be any number of bytes, etc. The present invention is not limited to this, and any data packet including multiple drive data arranged in a predetermined manner is within the scope of protection of the present invention.

[0050] In this embodiment, the driving data in the communication data is configured as any data related to the driving port of the driving module. In one embodiment, the driving data can be LED brightness data. In another embodiment, the driving data can also be the time required to delay the brightness change of the LED module. In other embodiments, the driving data can also be other data, and the present invention is not limited to this.

[0051] In this embodiment, the host and n driver modules can communicate in two ways. The first is serial chain communication. In this communication mode, the driver module receives and forwards the received data packets to the next driver module in turn. The second is serial bus communication. The drive system performs serial bus communication. In this communication mode, the data input port of each driver module is directly coupled to its data output port or equivalently directly coupled. Therefore, the host and each driver module are coupled, and the host can communicate with n driver modules at the same time. Specifically, when the host and n driver modules perform serial chain communication, each time the communication is performed, the host sends a data packet including multiple driving data, and the driver module receives and forwards the data packet to the next driver module in turn. When the host and n driver modules perform serial bus communication, multiple driver modules receive data packets at the same time. In one embodiment, all driver modules receive data packets at the same time; in another embodiment, i driver modules receive data packets at the same time, and i is greater than or equal to 1 and less than or equal to n. When the target driver module of this communication is one, the data packet includes the driving data corresponding to one driver module, and when the target driver module of this communication is multiple, the data packet includes the driving data corresponding to multiple driver modules.

[0052] In this embodiment, the host is configured to send a data packet including n*m driving data corresponding to n*m LED modules and arranged in a predetermined manner, and the n driving modules are configured to drive the n*m ​​LED modules; wherein each driving module includes m driving ports, and the m driving ports in each driving module are configured to drive m LED modules in the n*m ​​LED modules, that is, each driving port is configured to drive one LED module. Optionally, the current driving module defaults to being the target driving module. Optionally, the current driving module determines that it is the target driving module. The current driving module receives a data packet including n*m driving data corresponding to the n*m ​​LED modules and arranged in a predetermined manner. If the current driving module is the target driving module, the driving data corresponding to each driving port in the current driving module is obtained according to the LED modules corresponding to each driving port in the current driving module, so that the LED modules corresponding to each driving port in the current driving module are driven according to the driving data corresponding to each driving port in the current driving module.

[0053] In order to distinguish between a plurality of different LED modules, different serial numbers are set for the LED modules, such as LED1, LED2, etc. In this embodiment, the serial numbers of the plurality of driving data arranged in a predetermined manner correspond to the serial numbers of the plurality of LED modules respectively. In one embodiment, the serial numbers of the plurality of driving data correspond to a plurality of LED modules whose serial numbers increase in sequence, that is, the serial number of the driving data is the same as the serial number of the corresponding LED module, so that the plurality of driving data data1~datan correspond to LED1~LEDn respectively. In another embodiment, the plurality of driving data correspond to a plurality of LED modules in disorder, that is, the serial numbers of the plurality of LED modules correspond to the serial numbers of the plurality of driving data arbitrarily, for example, the first driving data corresponds to the fourth LED module, i.e., LED4.

[0054] Optionally, the host or the host's host computer generates a plurality of driving data corresponding to the plurality of LED modules and arranged in a predetermined manner according to the information required by the plurality of LED modules for each frame of the screen. The host or the host's host computer does not sort the plurality of driving data.

[0055] In the present embodiment, the current driver module is configured to obtain the driving data corresponding to each driving port in the current driver module according to a mapping table, wherein the mapping table is used to characterize the corresponding relationship between the driving port in the current driver module and part or all of the driving data in the data packet. Specifically, when the target driver module is one, the mapping table is used to characterize the corresponding relationship between the driving port in the current driver module and all of the driving data in the data packet. When the target driver module is multiple, the mapping table is used to characterize the corresponding relationship between the driving port in the current driver module and part of the driving data in the data packet. In another embodiment, the current driver module can obtain the driving data corresponding to each driving port in the current module by other implementations, i.e., in the form of a non-mapping table.

[0056] Since each driving port in the current module is physically configured to be coupled to a corresponding LED module, and the multiple driving data received by the current module and arranged in a predetermined manner correspond to multiple LED modules, each driving port in the current module can obtain corresponding driving data for driving the corresponding LED module.

[0057] According to the LED modules corresponding to the driving ports in the current driving module, the mapping table corresponding to the current driving module is generated. In one embodiment, the mapping table corresponding to the current driving module is generated according to the serial numbers of the LED modules corresponding to the driving ports in the current driving module, but the present invention is not limited to this. Optionally, the mapping table is configured as a correspondence between the serial numbers of the driving ports in the driving module and part or all of the driving data in the data packet.

[0058] In one embodiment, the n mapping tables corresponding to the n driver modules are preset in the host. In one embodiment, the mapping tables are generated by the host. In another embodiment, the mapping tables are generated by the client and preset in the host.

[0059] In the present invention, it is necessary to obtain the driving data corresponding to each driving port in the driving module according to the mapping table. Therefore, before the host sends a data packet including n*m driving data corresponding to n*m LED modules and arranged in a predetermined manner, each driving module needs to obtain its own mapping table.

[0060] During initialization, each driver module obtains its own mapping table, and the steps include: the host sends a data packet including the mapping table corresponding to the current driver module, the current driver module receives the data packet including the mapping table corresponding to the current driver module sent by the host, and stores the mapping table.

[0061] The host can transmit the corresponding mapping table to each driver module in any way. In one embodiment, there is only one target driver module each time communicating, that is, the host sends a data packet including only one mapping table to a specific driver module, so that it is necessary to configure mapping tables for n driver modules, and n communications are required. At this time, the communication method can be bus communication or chain communication. In another embodiment, there are multiple target driver modules each time communicating, for example, the host sends a data packet including n mapping tables to n driver modules respectively, so that the data packets of n mapping tables can be completed in one communication. At this time, the communication method can be bus communication or chain communication. The communication protocol for the host to send the mapping table can be similar to the communication protocol for the host to send the driving data, and the communication data can be replaced with the data of the mapping table, which will not be repeated here.

[0062] like Figure 4 As shown, a schematic diagram of an embodiment of a driver module of the present invention is given, wherein the number m of the driver ports of the driver module is configured to be 4, and the number n of the driver modules is set to be 50, but the present invention does not set this. Figure 4 As shown, n driving modules need to drive 200 LEDs, and the four driving ports CH1-CH4 of each driving module ICi are coupled to LED200, LED100, LED5, and LED3 respectively.

[0063] During initialization, the host first sends each mapping table to the corresponding driver module. Afterwards, the host sends a data packet including multiple driver data arranged in a predetermined manner, and the target driver module obtains the driver data corresponding to each port of itself according to the mapping table. The multiple driver data arranged in a predetermined manner are used to characterize the correspondence between multiple LED modules and multiple driver data. Optionally, the multiple driver data arranged in a predetermined manner are used to characterize the correspondence between the serial numbers of multiple LED modules and the serial numbers of multiple driver data. In one embodiment, the serial number of the LED module is the same as the serial number of the corresponding driver data. In another embodiment, the serial number of the LED module and the serial number of the corresponding driver data may be the same or different, that is, the serial numbers of multiple LED modules and the serial numbers of multiple driver data may correspond arbitrarily. In one embodiment, the predetermined method is set by the customer. In another embodiment, the predetermined method is set by the host.

[0064] In this embodiment, the multiple driving data sent by the host correspond to the multiple LED modules with increasing serial numbers in sequence, that is, the multiple driving data 1 to 200 are arranged in sequence according to LED1 data, LED2 data, LED3 data...LED200 data. At this time, the mapping table can also represent the arrangement information of the actual LED modules of the corresponding driving module. The mapping table is generated only according to the LED modules corresponding to each driving port, and the serial number of the LED module is the same as the serial number of the corresponding driving data. For example, in one embodiment, the data of the mapping table received and stored by the driving module can be set to: 200, 100, 5 and 3 respectively. At this time, when the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the pth driving data in the data packet. Thus, when the driver module receives a data packet including a plurality of driving data, the data packet is parsed and searched according to the mapping table. If the first data in the mapping table is 200, the driving port CH1 corresponds to the 200th driving data 200 in the data packet. If the second data in the mapping table is 100, the driving port CH2 corresponds to the 100th driving data 100 in the data packet. If the third data in the mapping table is 5, the driving port CH3 corresponds to the 5th driving data 5 in the data packet. If the fourth data in the mapping table is 3, the driving port CH4 corresponds to the 3rd driving data 3 in the data packet, until the parsing is completed. In another embodiment, the data in the mapping table received and stored by the driver module can be set to 199, 99, 4 and 2 respectively. At this time, when the sequence number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the i-th driving data in the data packet, wherein i is configured to be generated according to a function related to p. Specifically, i=p+1, so that the first data in the mapping table is 199, then the driving port CH1 corresponds to the 200th driving data 200 in the data packet, the second data in the mapping table is 99, then the driving port CH2 corresponds to the 100th driving data 100 in the data packet, the third data in the mapping table is 4, then the driving port CH3 corresponds to the fifth driving data 5 in the data packet, the fourth data in the mapping table is 2, then the driving port CH4 corresponds to the third driving data 3 in the data packet, until the parsing is completed. In other embodiments, when the sequence number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the i-th driving data in the data packet, wherein i is generated according to a predetermined corresponding relationship with p.

[0065] In this embodiment, the multiple driving data sent by the host correspond to the multiple LED modules with increasing serial numbers in sequence, that is, the multiple driving data are arranged in sequence according to LED1 data, LED2 data, LED3 data...LED200 data, and the present invention is not limited to this. In another embodiment, the multiple driving data sent by the host correspond to the multiple LED modules in disorder in sequence, for example, the multiple driving data are arranged in sequence according to LED200 data, LED20 data, LED4 data, LED50 data, and the serial number of the driving data is not necessarily the same as the serial number of the corresponding LED module. At this time, a mapping table is jointly generated according to the LED modules corresponding to each driving port and the multiple driving data arranged in a predetermined manner (that is, the correspondence between the serial number of the LED module and the serial number of the driving data). The serial number of the LED module and the serial number of the corresponding driving data can be different or the same, that is, the serial numbers of the multiple LED modules and the serial numbers of the multiple driving data correspond arbitrarily. Take the driving port CH1 in the driving module as an example for explanation. For example, the driving port CH1 is coupled to the LED 200, and the driving data corresponding to the LED 200 is the first driving data. In one embodiment, when the first data in the driving port mapping table is configured as 1, when the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the p-th driving data in the data packet, so that the driving port CH1 corresponds to the first driving data in the data packet; in another embodiment, when the first data in the driving port mapping table is configured as 2, when the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the i-th driving data in the data packet, wherein i is configured to be generated according to a function related to p. Specifically, i=p-1, so that the driving port CH1 corresponds to the first driving data in the data packet. In other embodiments, when the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the i-th driving data in the data packet, wherein i is generated according to a predetermined corresponding relationship with p.

[0066] It can be understood that the above-mentioned function related to p is not limited. The function related to p is used to characterize the relationship between the serial number of the driving data corresponding to the LED module driven by the driving port and p, and the present invention does not limit this.

[0067] Specifically, in this embodiment, the driving module includes a first module, which is configured to obtain driving data corresponding to each driving port according to a mapping table, wherein the mapping table is used to characterize the corresponding relationship between the driving port in the driving module and part or all of the driving data in the data packet. The driving module also includes a second module, which is configured to generate driving signals corresponding to each driving port according to the driving data corresponding to each driving port, so as to drive the LED modules corresponding to each driving port respectively.

[0068] In this embodiment, the driving module further includes a plurality of registers corresponding to a plurality of driving ports one by one; according to the LED modules corresponding to the driving ports in the driving module, the driving data corresponding to the driving ports are obtained, and the driving data corresponding to the driving ports are respectively stored in the registers corresponding to the driving ports, and the driving signals corresponding to the driving ports are respectively generated according to the driving data in the registers corresponding to the driving ports. Optionally, the driving signal is a PWM signal. In another embodiment, the driving data corresponding to the driving ports are obtained, and the driving signals corresponding to the driving ports are directly generated according to the driving data corresponding to the driving ports. Each driving port does not need to store its corresponding driving data in the registers corresponding to the ports, and the registers in the driving module can be omitted, thereby reducing the cost.

[0069] In the above embodiment, each driving port drives one LED module, but the present invention is not limited to this. For example, in other embodiments, each q driving ports drives one LED module. In this case, the driving module can still obtain the driving data corresponding to each driving port through the mapping table. In one embodiment, the q driving ports corresponding to one LED module correspond to the same serial number of driving data; in another embodiment, the driving data corresponding to one LED module is split or copied into q identical driving data, and the serial numbers of the q driving data are different, then the q driving ports corresponding to the LED module correspond to the serial numbers of the q driving data respectively.

[0070] In one embodiment, the current driver module receives all the multiple driver data, and then obtains the driver data corresponding to each driver port according to the mapping table. In another embodiment, after receiving a driver data, the driver module immediately searches the mapping table to find out whether there is a driver port in the current driver module corresponding to the driver data, thereby saving communication time and reducing memory.

[0071] Figure 5 Schematic diagram of the second embodiment of the backlight driving system of the present invention; in this embodiment, the host is coupled to each of the n driving modules via the output port MDO, and the host and the n driving modules perform serial bus communication. Specifically, each driving module includes a port IO, and the host is coupled to the port IO of each driving module via the output port MDO.

[0072] During the communication process, the host sends a data packet to one or more target driver modules. The target driver module receives the data packet and performs corresponding actions according to the corresponding communication data in the data packet.

[0073] Specifically, multiple driver modules receive data packets simultaneously. In one embodiment, all driver modules receive data packets simultaneously. In another embodiment, i driver modules receive data packets simultaneously, where i is greater than or equal to 1 and less than or equal to n. When there is only one target driver module for this communication, the data packet includes driver data corresponding to one driver module. When there are multiple target driver modules for this communication, the data packet includes multiple driver data corresponding to multiple driver modules. The target driver module obtains the driver data corresponding to each driver port in the target driver module according to the mapping table. The specific method is the same as Figure 4 Similar, no further description is given here.

[0074] Figure 6 It is a schematic diagram of the third embodiment of the backlight driving system of the present invention; in this embodiment, the host and n driving modules are connected in series in sequence to form a communication link, so that the host and the n driving modules can perform serial link communication and serial bus communication, and the host and each of the n driving modules are coupled, so that the host and the n driving modules can perform serial bus communication.

[0075] When the host and n driver modules perform serial link communication and serial bus communication, the process is similar to that of the first embodiment. When the host and n driver modules perform serial bus communication, the process is similar to that of the second embodiment. No further description is given here. The target driver module obtains the driver data corresponding to each driver port in the target driver module according to the mapping table. The specific method is the same as Figure 4 Similar, no further description is given here.

[0076] Optionally, in the present invention, each driving module is configured as a driving chip.

[0077] The present invention further provides a driving method, which is based on the driving system, and has been explained in the above description of the backlight driving system, and will not be repeated here.

[0078] In the first to third embodiments of the present invention, n driving modules are coupled via a single line for single-line communication, but the present invention is not limited thereto, and multi-line communication is also applicable to the above-mentioned backlight driving method and system. In other embodiments, the n driving modules can be coupled via multiple lines for other forms of communication, such as I2C / SPI communication, and a serial multi-line communication system is obtained by adding additional communication lines (such as clock lines) on the basis of the first to third embodiments. Moreover, the first to third embodiments of the present invention are all described using serial as an example, but the driving method of the present invention is also applicable to parallel systems.

[0079] Although the embodiments are described and illustrated separately above, some common technologies are involved. It is the opinion of ordinary technicians in this field that the embodiments can be replaced and integrated. If the content is not clearly recorded in one of the embodiments, reference can be made to another recorded embodiment.

[0080] According to the embodiments of the present invention as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A driving module, characterized in that: include: a plurality of driving ports configured to drive at least one LED module among the plurality of LED modules; The driving module is configured to receive a data packet including a plurality of driving data corresponding to a plurality of LED modules and arranged in a predetermined manner, and obtain driving data corresponding to each driving port according to the LED modules corresponding to each driving port in the driving module, so that the LED modules corresponding to each driving port are driven respectively according to the driving data corresponding to each driving port.

2. The driving module according to claim 1, characterized in that: Also includes: The first module is configured to obtain the driving data corresponding to each driving port according to the mapping table, The mapping table is used to represent the corresponding relationship between the driving port in the driving module and part or all of the driving data in the data packet.

3. The driving module according to claim 2, characterized in that: The driving module receives a data packet sent by a host computer and containing the mapping table corresponding to the driving module, and stores the mapping table.

4. The driving module according to claim 2, characterized in that: The mapping table is generated according to the LED modules corresponding to the respective driving ports in the driving module.

5. The driving module according to claim 2, characterized in that: The mapping table is configured as a correspondence between the driving ports in the driving module and the serial numbers of part or all of the driving data in the data packet.

6. The driving module according to claim 5, characterized in that: When the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the i-th driving data in the data packet, where i is configured to be generated according to a function related to p, or generated according to a predetermined corresponding relationship with p.

7. The driving module according to claim 5, characterized in that: When the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the pth driving data in the data packet.

8. The driving module according to claim 1, characterized in that: Also includes: A plurality of registers corresponding one-to-one to a plurality of driver ports; According to the LED modules corresponding to the driving ports in the driving module, driving data corresponding to the driving ports are obtained, and the driving data corresponding to the driving ports are respectively stored in the registers corresponding to the driving ports.

9. The driving module according to claim 1, characterized in that: Also includes: The second module is configured to generate driving signals corresponding to each driving port according to driving data corresponding to each driving port, so as to drive the LED modules corresponding to each driving port respectively.

10. The driving module according to claim 1, characterized in that: According to the information required by the multiple LED modules in each frame of the screen, a plurality of driving data corresponding to the multiple LED modules and arranged in a predetermined manner are generated.

11. The driving module according to claim 1, characterized in that: The driving module determines whether it is a target driving module. If the driving module determines that it is a target driving module, the driving data corresponding to each driving port of the driving module is obtained according to the LED modules corresponding to each driving port in the driving module.

12. A drive system, characterized in that: include: A host configured to send a data packet including a plurality of driving data corresponding to a plurality of LED modules and arranged in a predetermined manner; and n driver modules; Each driver module includes: a plurality of driving ports configured to drive at least one LED module among the plurality of LED modules; The current driving module receives a data packet including a plurality of driving data corresponding to a plurality of LED modules and arranged in a predetermined manner, and obtains driving data corresponding to each driving port in the current driving module according to the LED modules corresponding to each driving port in the current driving module, so that the LED modules corresponding to each driving port in the current driving module are driven respectively according to the driving data corresponding to each driving port in the current driving module.

13. The drive system according to claim 12, characterized in that: The current driver module is configured to obtain the driver data corresponding to each driver port in the current driver module according to the mapping table. The mapping table is used to represent the corresponding relationship between the driving port in the current driving module and part or all of the driving data in the data packet.

14. The drive system according to claim 13, characterized in that: The current driving module receives a data packet sent by the host and containing the mapping table corresponding to the current driving module, and stores the mapping table.

15. The driving system according to claim 13, characterized in that: According to the LED modules corresponding to the driving ports in the current driving module, the mapping table corresponding to the current driving module is generated.

16. The driving system according to claim 13, characterized in that: A plurality of mapping tables corresponding one to one to the n driving modules are preset in the host.

17. The driving system according to claim 13, characterized in that: The mapping table corresponding to the current driving module is configured as a correspondence between the driving port in the current driving module and the sequence number of part or all of the driving data in the data packet.

18. The drive system according to claim 17, characterized in that: When the serial number of the driving data corresponding to a driving port in the mapping table is p, the driving port corresponds to the i-th driving data in the data packet, where i is configured to be generated according to a function related to p, or generated according to a predetermined corresponding relationship with p.

19. The drive system according to claim 17, characterized in that: If the serial number corresponding to a driving port in the mapping table corresponding to the current driving module is p, the driving port corresponds to the pth driving data in the data packet.

20. The drive system according to claim 12, characterized in that: Each driver module also includes: A plurality of registers corresponding one-to-one to a plurality of driver ports; According to the LED modules corresponding to the driving ports in the current driving module, the driving data corresponding to the driving ports in the current driving module are obtained, and the driving data corresponding to the driving ports in the current driving module are respectively stored in the registers corresponding to the driving ports in the current driving module.

21. The drive system according to claim 12, characterized in that: The driving module is configured to generate driving signals corresponding to each driving port in the current driving module according to driving data corresponding to each driving port in the current driving module, so as to drive the LED modules corresponding to each driving port in the current driving module respectively.

22. The drive system according to claim 12, characterized in that: The host or the host's host computer generates a plurality of driving data corresponding to the plurality of LED modules and arranged in a predetermined manner according to the information required by the plurality of LED modules for each frame of the screen.

23. The drive system according to claim 12, characterized in that: The host and the n driving modules are coupled in series in sequence to perform chain communication.

24. The drive system according to claim 12, characterized in that: The host and the n driving modules are coupled to perform bus communication.

25. The drive system according to claim 12, characterized in that: The current driving module determines whether it is the target driving module. When the current driving module determines that it is the target driving module, the driving data corresponding to each driving port in the current driving module is obtained according to the LED modules corresponding to each driving port in the current driving module.