Data communication method and electronic equipment
Patent Information
- Application Number
- CN202380024226.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-15
- Filing Date
- 2023-12-29
- Publication Date
- 2024-11-26
AI Technical Summary
The channel utilization rate of driver chips in existing display devices is low, which leads to increased costs and larger occupied areas. Furthermore, when driver chips with different numbers of channels are mixed, communication is chaotic, causing the driver chips to fail to work properly.
By obtaining the drive data and channel number of multiple drive chips in each drive group, the drive data of the drive group is generated, including multiple data segments and data compensation information, ensuring that each drive chip obtains its corresponding drive data based on the compensation information. Achieve channel matching and orderliness of data transmission.
It improves the utilization rate of the driver chip, reduces the cost and area occupied by the driver circuit, and ensures that driver chips with different channel numbers can work normally and communicate efficiently after being mixed and connected.
Smart Images

Figure CN119032393A_ABST
Abstract
Description
Data communication method and electronic equipment
[0001] This application claims priority to the Chinese patent applications filed with the China Patent Office on March 21, 2023, with application number 202310280055.1; filed on May 15, 2023, with application number 202310547465.8; and filed on May 15, 2023, with application number 202310545206.1, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to a data communication method and electronic equipment. Background Art
[0003] A display device is a device that displays images and / or user interfaces. It typically consists of at least one controller, a driver circuit, and multiple light strings that provide backlighting. The driver circuit includes at least one driver chip, each of which has a uniform number of channels, driving a corresponding number of light strings. Improving the channel utilization of each driver chip is a current research hotspot.
[0004] Summary of the Invention
[0005] An embodiment of the present application provides a data communication method, which is applied to at least one controller, wherein the at least one controller is connected to at least one driver group, wherein the driver group includes a plurality of driver chips connected in series, and at least one of the plurality of driver chips has a different number of channels from the other driver chips; the method includes:
[0006] For each driver group, obtaining the driving data and channel number of multiple driver chips in the driver group;
[0007] generating driving data for the driving group based on the driving data and the number of channels; wherein the driving data for the driving group includes a plurality of data segments, the plurality of data segments correspond one-to-one to the driving chips, and the driving data for the driving group includes data compensation information associated with the number of channels of each driving chip;
[0008] The driving data corresponding to the driving group is sent to each driving group, so that each driving chip in the driving group obtains its corresponding driving data based on the data compensation information.
[0009] The present application also provides a data communication method, which is applied to a driver chip, wherein the driver chip is included in a driver group, wherein the driver group includes a plurality of driver chips connected in series, and at least one of the plurality of driver chips has a different number of channels from the other driver chips; the driver group is connected to at least one controller; and the method includes:
[0010] receiving driving data of the driving group; the driving data of the driving group is generated by at least one controller based on the driving data and channel numbers of the multiple driving chips, the driving data of the driving group includes multiple data segments, the multiple data segments correspond one-to-one to the driving chips, and the driving data of the driving group includes data compensation information associated with the channel number of each driving chip;
[0011] Based on the data compensation information, driving data corresponding to the driving chip is acquired from the driving data of the driving group.
[0012] The present application also provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0013] The memory stores computer-executable instructions;
[0014] The processor executes the computer-executable instructions stored in the memory to implement the above-mentioned data communication method.
[0015] The embodiment of the present application further provides a computer-readable non-volatile storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, cause a computer device to execute. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0017] FIG1 is a schematic diagram of an operation scenario between a display device and a control device in an example;
[0018] FIG2 is a block diagram of a configuration of a control device in an example;
[0019] FIG3 is a schematic structural diagram of a display device in an example;
[0020] FIG4 is a schematic diagram of the structure of a display in an example;
[0021] FIG5 is a flow chart of a data communication method in an example;
[0022] FIG6 is a flow chart of a data communication method in another example;
[0023] FIG7 is a schematic structural diagram of a display device in another example;
[0024] FIG8 is a flow chart of a data communication method in another example;
[0025] FIG9 is a schematic diagram of the structure of driving data of a driving group in another example;
[0026] FIG10 is a flow chart of a data communication method in another example;
[0027] FIG11 is a schematic diagram of the structure of driving data of a driving group in an example;
[0028] FIG12 is a schematic diagram of a process of a driver chip reading driver data in another example;
[0029] FIG13 is a flow chart of a data communication method in another example;
[0030] FIG14 is a flow chart of a data communication method in another example;
[0031] FIG15 is a schematic diagram of a process of a driver chip reading driver data in another example;
[0032] FIG16 is a flow chart of a data communication method in another example;
[0033] FIG17 is a flow chart of a data communication method in another example;
[0034] FIG18 is a schematic structural diagram of an electronic device provided by an embodiment.
[0035] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0036] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0037] It should be noted that the brief descriptions of terms in this application are only for the purpose of facilitating the understanding of the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and usual meanings.
[0038] In the specification and claims of this application and the drawings, the terms "first," "second," and the like are used to distinguish similar or similar objects or entities and are not necessarily intended to limit a particular order or precedence, unless otherwise indicated. It should be understood that the terms used in this manner are interchangeable where appropriate, for example, the embodiments of this application can be implemented in an order other than that shown or described in the drawings.
[0039] In addition, the terms "including" and "having" and any variations thereof are intended to cover, but not exclude, inclusion. For example, a product or device comprising a list of components is not necessarily limited to those components expressly listed but may include other components not expressly listed or inherent to such product or device. The term "circuitry" as used in this application refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code that is capable of performing the function associated with that element.
[0040] FIG1 is a schematic diagram illustrating an operation scenario between a display device and a control device according to some embodiments of the present disclosure. As shown in FIG1 , a user can operate a display device 200 through a smart device 300 or a control device 100 .
[0041] In some embodiments, the control device 100 may be a remote controller. Communication between the remote controller and the display device may include infrared protocol communication, Bluetooth protocol communication, or other short-range communication methods, and the display device 200 may be controlled wirelessly or wired. The user may control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, and the like.
[0042] In some embodiments, a smart device 300 (such as a mobile terminal, tablet computer, computer, laptop computer, etc.) can also be used to control the display apparatus 200. For example, the display apparatus 200 can be controlled using an application running on the smart device.
[0043] In some embodiments, the display device may not use the aforementioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
[0044] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200 device, or the user's voice command control can be received through a voice control device set outside the display device 200 device.
[0045] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be communicatively coupled via a local area network (LAN), a wireless local area network (WLAN), or other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be a single cluster or multiple clusters, and may include one or more types of servers.
[0046] FIG2 is a block diagram illustrating the configuration of a control device 100 according to some embodiments of the present disclosure. As shown in FIG2 , the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory 160, and a power supply 150. The control device 100 can receive user input commands and convert them into commands that the display device 200 can recognize and respond to, acting as an intermediary for interaction between the user and the display device 200.
[0047] Figure 3 is a structural schematic diagram of a display device according to some embodiments of the present disclosure. As shown in Figure 3, the display device 200 includes at least one of a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory 160, a power supply 150, and a user interface 280.
[0048] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, and first to nth interfaces for input / output.
[0049] The display 260 includes a display screen component for presenting images, and a driving component for driving image display, a component for receiving image signals output from a controller, and a component for displaying video content, image content, and a menu control interface and a user control UI interface.
[0050] The display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.
[0051] Communicator 220 is a component used to communicate with external devices or servers using various communication protocols. For example, the communicator may include at least one of a Wi-Fi module, a Bluetooth module, a wired Ethernet module, or other network communication protocol chip or a near-field communication protocol chip, as well as an infrared receiver. Display device 200 can use communicator 220 to send and receive control signals and data signals with external control device 100 or server 400.
[0052] The user interface 280 may be configured to receive a control signal from the control device 100 (eg, an infrared remote controller, etc.).
[0053] Detector 230 is used to collect signals from the external environment or external interactions. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; or detector 230 includes an image collector, such as a camera, for collecting external environmental scenes, user attributes, or user interaction gestures; or detector 230 includes a sound collector, such as a microphone, for receiving external sounds.
[0054] The external device interface 240 may include, but is not limited to, any one or more of the following: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by multiple of the above interfaces.
[0055] The tuner-demodulator 210 receives broadcast television signals via a wired or wireless reception method, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0056] In some embodiments, the controller 250 and the tuner 210 may be located in different separate devices, that is, the tuner 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0057] Controller 250 controls the operation of the display device and responds to user operations using various software control programs stored in memory 160. Controller 250 controls the overall operation of display device 200. For example, in response to receiving a user command to select a UI object for display on display 260, controller 250 may perform operations related to the object selected by the user command.
[0058] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), a RAM Random Access Memory (RAM), a backlight controller (Bcon), a ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0059] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific voice or gesture, and the user input interface may recognize the voice or gesture through a sensor to receive the user input command.
[0060] A user interface is the medium for interaction and information exchange between an application or operating system and the user. It converts information between its internal form and a user-friendly format. A common user interface is the graphical user interface (GUI), which refers to a graphical user interface related to computer operations. It can be an icon, window, control, or other interface element displayed on an electronic device's display. Controls can include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
[0061] FIG4 is a schematic diagram illustrating the architecture of a display according to some embodiments of the present disclosure. As shown in FIG4 , the display includes a display panel 12 , at least one controller 10 , a backlight module 11 , and a power supply module 13 .
[0062] The power supply module 13 is connected to the at least one controller 10 , the display panel 12 and the backlight module 11 , and is configured to supply power to the at least one controller 10 , the display panel 12 and the backlight module 11 .
[0063] At least one controller 10 serves as the main control of the display and is configured to receive signals from a computer or other video source, determine and perform format conversion, timing control and other processing on the backlight data and display data, and send the processed backlight data to the backlight assembly, and send the processed display data to the display panel. The at least one controller 10 may include a system-level controller (System On Chip, abbreviated as SOC), a timing controller (Timing Controller, abbreviated as Tcon) and a backlight controller (Backlight Controller, abbreviated as Bcon). In some embodiments, Bcon can be replaced by a dimming controller (Dcon).
[0064] The display panel 12 is connected to at least one controller 10. In some embodiments, the display panel 12 can be connected to Tcon. The display panel 12 includes liquid crystal molecules that are configured to deflect based on the processed display data it receives and display images based on the backlight provided by the backlight module.
[0065] The backlight module 11 is connected to at least one controller 10. In some embodiments, the backlight module 11 may be connected to Bcon or Dcon. The backlight module 11 is configured to generate corresponding backlight based on the processed backlight data it receives.
[0066] From top to bottom, the backlight module 11 comprises a membrane, a diffuser, a bracket, a reflector, a light panel, and a back panel. The back panel serves as a supporting substrate; the light panel, equipped with lamp beads, provides backlighting; the bracket supports the diffuser, membrane, and other components to maintain the optical spacing between the light panel and the diffuser; the reflector reflects the backlight from the light panel toward the diffuser; and the backlight from the light panel is provided to the display panel via the diffuser and other components. The diffuser and other components are configured to even out the brightness and angle of the light, resulting in a more uniform brightness distribution across the entire display panel.
[0067] In one embodiment, the backlight module 11 includes multiple light panels, each of which includes multiple light-emitting areas. Each light-emitting area (also called a partition) includes multiple arrays of micron-level lamp beads and corresponding one or more driver chips. Each lamp bead can be an LED lamp. On the light panel, at least one lamp bead placed in a preset order is connected in series to form a light string. The driver chip is connected to at least one corresponding light string. The arrangement order of the lamp beads on the light string can be horizontal, vertical, or arranged according to a preset pattern.
[0068] Each partition's driver chip receives the same amount of processed drive data from Bcon, enabling each channel of the driver chip to drive the connected light strings based on the corresponding drive data, thus achieving local backlight control of the backlight module 11, i.e., local dimming. This enables more precise regional light control and more uniform and harmonious screen brightness. The light board 30 is composed of micro-LEDs, which include miniLEDs and OLEDs.
[0069] In the related art, each row of lamp beads in the lamp panel includes multiple lamp strings (partitions), and the driver chip includes a uniform number of channels, one lamp string corresponds to one channel, and at least one controller sends a uniform number of driving data to each driver chip so that each channel obtains the corresponding driving data. However, in some cases, the number of lamp strings in each row of lamp beads does not exactly match the number of channels of the driver chip, resulting in unused channels in the driver chip. For example, each row of lamp beads has 14 partitions, and a 6-channel driver chip is used. If 2 are used, it is insufficient, so only 3 can be used, which leaves 4 channels. This results in a low utilization rate of the driver chip, thereby increasing the cost and occupied area of the driver circuit.
[0070] The driver groups all use driver chips with the same specifications. For example, if they all use 6 channels or 4 channels, the above-mentioned channel surplus problem will easily occur. If the driver chips with different numbers of channels are mixed, the above-mentioned problem can be avoided. For example, in the scenario where each row of lamp beads includes 14 partitions, two 4-channel driver chips and one 6-channel driver chip can be mixed and connected, which just matches the number of partitions in each row. Therefore, the mixing of driver chips with different numbers of channels can avoid channel surplus of the driver chip, thereby improving the utilization rate of the driver chip. However, the difficulty in implementing the mixed connection method is that after mixing, the number of channels of each driver chip is not fixed, and the communication between at least one controller and each driver chip will be chaotic, so that the driver chip cannot obtain the corresponding drive data, which in turn causes the driver chip to malfunction.
[0071] The content of this application is described in detail below with reference to specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in certain embodiments. In the description of this application, unless otherwise clearly specified and limited, each term should be understood in a broad sense within the art. The embodiments of this application will be described below with reference to the accompanying drawings.
[0072] FIG5 is a flow chart of a data communication method provided in another embodiment of the present application. The method is applied to at least one controller, wherein the at least one controller is connected to a driver group, wherein the driver group includes a plurality of driver chips connected in series, wherein at least one of the plurality of driver chips has a different number of channels from the other driver chips. As shown in FIG2 , the method includes:
[0073] S101: For each driving group, obtain driving data and channel numbers of multiple driving chips in the driving group.
[0074] S102: Generate driving data of the driving group based on the driving data and the number of channels.
[0075] The driving data of the driving group includes multiple data segments, each of which corresponds to a driving chip one-to-one. The driving data of the driving group includes data compensation information associated with the number of channels of each driving chip.
[0076] S103: Sending driving data of the corresponding driving group to each driving group, so that each driving chip in the driving group obtains its corresponding driving data based on the data compensation information.
[0077] In this embodiment, the driving circuit includes multiple driving groups, each driving group corresponds to a row of lamp beads in the lamp board. Since the display device is usually based on line scanning technology for display, the driving data in the driving chip of each driving group is sent by one data line. This can avoid too much difference in the receiving time of the driving data in the driving chips under the same driving group.
[0078] Since the driving data includes data compensation information associated with the number of channels of the driving chip, when the driving chip obtains the driving data of the driving group, it obtains the driving data corresponding to each channel from the driving data based on the data compensation data. This not only does not cause the channels of the driving chip to be idle, but also does not cause data reading errors of the driving chip.
[0079] The data communication method provided by this application will be explained below in conjunction with a number of specific embodiments.
[0080] FIG6 is a flow chart of a data communication method provided in another embodiment of the present application. As shown in FIG6 , S102 includes:
[0081] S1021: The number of channels corresponding to the driver chip with the largest number of channels in the driver group is used as the first number.
[0082] S1022: Generate driving data of the driving group based on the first number and the driving data of the plurality of driving chips.
[0083] At least one controller sends driving data to the driving group based on the above driving data, so that each driving chip in the driving group obtains a corresponding data segment from the driving data of the driving group, and determines the driving data of the driving chip from the obtained data segment based on the number of channels of the driving chip.
[0084] In this embodiment, since the driver group includes at least one driver chip with a different number of channels from other driver chips, this also indicates that there are mixed driver chips in the driver group, and multiple driver chips are connected in series. Figure 7 is a structural schematic diagram of a display device in another example. As shown in Figure 7, the driver group 210 connected to at least one controller 10 includes a first driver chip 212a, a second driver chip 212b, and a third driver chip 212c, wherein the second driver chip 212b and the third driver chip 212c both have 4 channels, and the first driver chip 212a has 6 channels. The number of channels of the driver chip is exactly equal to the number of partitions of each row of lamp beads. Therefore, based on this solution, there will be no idle channels of the driver chip.
[0085] On this basis, in S101, the driving data of the driver chip is obtained, wherein the driver chip needs to control the light string connected to it according to the driving data. The first number is the number of channels corresponding to the driver chip with the largest number of channels, such as the number of channels 6 in the first driver chip 212a in Figure 7.
[0086] In S1022, the driving data of the driving group includes multiple data segments, each of which corresponds one-to-one to the multiple driving chips, and each data segment includes a first number of data. For example, with reference to FIG7 , if the driving group includes three driving chips, the driving data of the driving group includes three data segments, and each data segment includes six data. It should be noted that each data segment can be understood as data for controlling one channel, that is, each data segment includes data for six channels.
[0087] In one example, FIG8 is a flow chart of another data communication method provided in yet another embodiment of the present application. As shown in FIG8 , S1022 includes:
[0088] S10221: For each driver chip, add a second number of invalid data to the driver data corresponding to the driver chip to generate a data segment corresponding to the driver chip.
[0089] The data compensation data includes a second number of invalid data corresponding to each driving chip.
[0090] S10222: Integrate the data segments corresponding to the multiple driver chips to obtain the driving data of the driver group; the order of the data segments of the multiple driver chips in the driving data of the driver group is consistent with the order of the multiple driver chips in the driver group.
[0091] This embodiment exemplarily introduces a scheme for generating driving data of a driving group, wherein the second number is the difference between the first number and the number of channels of the driving chip. That is to say, in this example, for the driving data of the driving chip, a second number of invalid data is added to the driving data so that the data segment includes the first number of data.
[0092] The following uses an actual scenario as an example: FIG9 is a schematic diagram of the structure of driving data of a driving group in an example. As shown in FIG9 , the driving group includes a first driving chip 212a, a second driving chip 212b, and a third driving chip 212c, which correspond to the first data segment data1, the second data segment data2, and the third data segment data3 in the driving data of the driving group, respectively. As shown in FIG7 , the first driving chip 212a has 6 channels, corresponding to 6 driving data; the second driving chip 212b and the third driving chip 212c each have 4 channels, corresponding to 4 driving data, where the first number is 6. For the first driving chip 212a, the second number is 0, so 0 invalid data is added to the corresponding driving data (D1-D6); for the second driving chip 212b and the third driving chip 212c, the second number is 2, so two invalid data 00s are added to the corresponding driving data. This generates the first data segment data1, the second data segment data2, and the third data segment data3, each containing 6 data. These three data segments are combined to generate the drive data 41 of the drive group.
[0093] In one embodiment, in the data segment corresponding to the driver chip, invalid data can be placed after the driver chip's drive data. This allows the driver chip to directly read the preceding valid drive data when acquiring the corresponding data, thereby saving time in acquiring valid drive data. In another embodiment, invalid data can also be placed before the driver chip's drive group data.
[0094] In this example, a second number of invalid data is added to the driving data of the driver chip, so that the data segment corresponding to the driver chip maintains the first number of data. In this way, for the driver chip, the number of each data segment is the same, and the corresponding data segments can be directly obtained in sequence, thereby ensuring the orderly transmission of data, so that driver chips with different numbers of channels can obtain corresponding driving data.
[0095] After the driving data for the driver group is generated, the driving data is sent to the driver group. Each driver chip in the driver group sequentially obtains the corresponding data segment and then sequentially reads the data of the corresponding channel number from the data segment as the driving data for the driver chip, and controls the connected light string according to the driving data.
[0096] Continuing with FIG9 , after at least one controller sends the driving data of the driving group, the first driving chip 212a obtains the first number (6) of data from the first bit, the second driving chip 212b obtains 6 data in sequence from the 7th bit, and the third driving chip 212c obtains 6 data from the 13th bit, thereby achieving the acquisition of the corresponding data segment and obtaining the driving data from the data segment. If the data segment is not generated according to the first number, but is generated according to the number of channels of the corresponding driving chip, the problem of data confusion will occur. For example, if the first data segment includes 6 data, and the second data segment and the third data segment both include 4 data, when the first driving chip obtains 6 data from the starting position, the second driving chip and the third driving chip do not know how many data the previous driving chip has obtained, and therefore do not know from which position to start obtaining, thereby causing the driving chip to be unable to obtain the corresponding driving data. In this embodiment, the number of data obtained by each driving chip is the first number, so each driving chip can obtain the corresponding data segment from the corresponding position.
[0097] In this embodiment, based on the driving data of the first number and multiple driver chips, the driving data of the driver group is generated. The driving data of the driver group includes multiple data segments, and the multiple data segments correspond one-to-one to the multiple driver chips. Each data segment includes the first number of data. In this way, for the driver chip, the number of data in each data segment is the same, and the corresponding data segments can be directly obtained in sequence without considering the difference in the number of channels of the driver chip. Therefore, based on this solution, it is possible to ensure that the driver chips with different numbers of channels obtain the corresponding driving data in an orderly manner, and then it is possible to achieve mixed connection of driver chips with different numbers of channels, thereby improving the utilization rate of the driver chip and reducing the cost and occupied area of the driver circuit.
[0098] FIG10 is a flow chart of a data communication method provided in another embodiment of the present application. As shown in FIG10 , S102 includes:
[0099] S1023: Generate driving data of the driving group according to the driving data of the multiple driving chips in the driving group; the order of the driving data of the multiple driving chips in the driving data of the driving group is consistent with the order of the multiple driving chips in the driving group; the driving data of the driving group includes a read bit.
[0100] In this embodiment, since the driver group includes at least one driver chip with a different number of channels than the other driver chips, this also indicates that there are mixed driver chips in the driver group, and the multiple driver chips are connected in series. The data communication method provided in this embodiment is also applicable to the display device shown in Figure 7. The structure of this display device has been described in the previous embodiment and will not be explained here.
[0101] Based on this, this embodiment first obtains the drive data for each driver chip in the driver group, where the number of drive data for each driver chip matches the number of channels in the driver chip. The drive data for each driver chip is then arranged in the order of the driver chips in the driver group to generate driver group data, and a read bit is set in the drive data. For example, the drive data for the driver group includes a wave header, and the read bit is located immediately after the wave header. This enables the driver chips to quickly read the corresponding drive data.
[0102] For example, Figure 11 is a schematic diagram of the structure of drive data for a driver group in an example. As shown in Figures 7 and 11, the driver group includes a first driver chip 212a, a second driver chip 212b, and a third driver chip 212c connected in series. The corresponding channel numbers are 6, 4, and 4, respectively, and the corresponding drive data are Data1, Data2, and Data3, respectively. This generates drive data 41 for the driver group, which includes 14 data. The drive data 41 for the driver group may also include a wave header and a wave tail, and the bit following the wave header is set as the read bit (D1 in the figure).
[0103] After the driving data of the driving group is generated as described above, the driving data of the driving group is sent to the driving group. Each driving chip in the driving group obtains the data of several driving chip channels starting from the reading position as the driving data of the driving chip; and shifts the driving data corresponding to the next driving chip of the driving chip to the reading position, so that the next driving chip can also read the corresponding driving data from the reading position.
[0104] For example, FIG12 is a flow chart of a driver chip reading driving data in an example. As shown in FIG12 , the driving data of the driver group includes driving data Data1, driving data Data2, and driving data Data3 of three driver chips. The first driver chip 212 a reads six data starting from the reading position, namely Data1, and then shifts the remaining Data2 to the reading position; then the second driver chip 212 b reads four data starting from the reading position, namely data2, and the second driver chip 212 b shifts data3 to the reading position; the third driver chip 212 c reads four data starting from the reading position, namely data3, thereby completing the reading of driving data by the three driver chips.
[0105] In this embodiment, the driving data of the driving group is generated based on the driving data of multiple driver chips in the driving group, wherein the order of the driving data of the multiple driver chips in the driving data of the driving group is consistent with the order of the multiple driver chips in the driving group, and a read bit is set in the driving data of the driving group. After the driving data is sent to the driving group, the driver chips in the driving group read the data corresponding to the number of channels starting from the read bit as the driving data of the driver chip, and shift the driving data corresponding to the next driver chip to the starting position, so that each driver chip can read the corresponding driving data starting from the read bit, and the problem of data reading confusion caused by the different number of channels of each driver chip will not occur. Therefore, based on this solution, it is possible to ensure that the driver chips with different channel numbers obtain the corresponding driving data in an orderly manner, and then it is possible to realize mixed connection of driver chips with different channel numbers, thereby improving the utilization rate of the driver chip and reducing the cost and occupied area of the driver circuit.
[0106] FIG13 is a flow chart of a data communication method provided in another embodiment of the present application. The method is applied to a driver chip, wherein the driver chip is included in a driver group, wherein the driver group includes a plurality of driver chips connected in series, wherein at least one driver chip has a different number of channels from the other driver chips; the driver group is connected to at least one controller; as shown in FIG13 , the method includes:
[0107] S201: Receive driving data from a driving group.
[0108] The driving data of the driving group is generated by at least one controller based on the driving data and channel numbers of multiple driving chips. The driving data of the driving group includes multiple data segments, and the multiple data segments correspond one-to-one to the driving chips. The driving data of the driving group includes data compensation information associated with the channel number of each driving chip.
[0109] S202 : Acquire driving data corresponding to the driving chip from the driving data of the driving group based on the data compensation information.
[0110] In the above technical solution, after at least one processor transmits the driving data of the driving group to the corresponding driving group, since the driving data of the driving group includes data compensation information associated with the number of channels of each driving chip in the driving group, each driving chip can accurately read the data based on the data compensation information to ensure the normal display of each light string in the display device shown in Figure 7.
[0111] The data communication method provided by this application will be explained below in conjunction with a number of specific embodiments.
[0112] FIG14 is a flow chart of a data communication method provided in yet another embodiment of the present application. As shown in FIG14 , S202 includes:
[0113] S2021. Acquire corresponding data segments from the driving data of the driving group according to a serial order.
[0114] S2022: Obtain a first quantity, and determine the quantity of invalid data based on the first quantity and the number of channels of the driver chip.
[0115] S2023. Determine the driving data of the driving chip from the data segment based on the amount of invalid data.
[0116] The data compensation data includes invalid data generated based on the number of channels of the driving chip.
[0117] This embodiment uses the driver chip as the execution entity. In S201, drive data for the driver group is received. The drive data for the driver group is generated by at least one controller based on a first number of channels and drive data from multiple driver chips, where the first number is the number of channels corresponding to the driver chip with the largest number of channels in the driver group. The drive data for the driver group includes multiple data segments, each corresponding one-to-one to the multiple driver chips, and each data segment includes the first number of data items. The corresponding data segments are then sequentially retrieved from the driver group.
[0118] For example, as shown in FIG9 , a driver group includes a first driver chip 212a, a second driver chip 212b, and a third driver chip 212c. The first number is 6. The received driver data of the driver group includes 18 data. The first bit after the end of the wave is used as the starting position. The first driver chip 212a obtains 6 driving data from the starting position. These 6 data are the data segment corresponding to the first driver chip 212a. The second driver chip 212b obtains 6 data from the 7th bit as the data segment corresponding to the second driver chip 212b, and obtains 6 data from the 13th bit as the data segment corresponding to the third driver chip 212c. In other words, the nth driver chip obtains m data from the m(n-1)+1 bit as its data segment, where m is the first number.
[0119] After the corresponding data segment is obtained based on the above, S2022 is executed to obtain a first quantity, and based on the first quantity and the number of channels of the driver chip, the driving data of the driver chip is determined from the data segment.
[0120] As an example, the driving data of the driving group is formed by integrating data segments corresponding to multiple driving chips by at least one controller, and the order of the data segments of the multiple driving chips in the driving data of the driving group is consistent with the order of the multiple driving chips in the driving group, wherein the data segment corresponding to the driving chip is generated by adding a second number of invalid data to the driving data corresponding to the driving chip, where the second number is the difference between the first number and the number of channels of the driving chip; S2022 includes:
[0121] Subtracting the first number from the number of channels of the driver chip to obtain a second number of invalid data;
[0122] S2023 includes:
[0123] A second number of invalid data is deleted from the data segment to generate driving data for the driving chip.
[0124] In this example, the driver chip's data segment is obtained by adding the second number to the driver group's driving data. Therefore, after obtaining the driver chip's data segment, the second number of invalid data bits are removed from the data segment, and the remaining data becomes the driver chip's driving data. For example, Figure 15 is a schematic diagram of the data segment structure in one example. As shown in Figure 15 and combined with Figure 9, after the third driver chip 212c obtains the corresponding data segment Data3, the second number is 6-4=2. Therefore, the two invalid data bits 00 are deleted from Data3, thereby obtaining the driver chip's driving data D1, D2, D3, and D4.
[0125] It should be noted that when deleting the second number of invalid data, it can be agreed that they are deleted from a predetermined position. As an embodiment, in the data segment corresponding to the driver chip, the invalid data is located after the driver data of the driver chip. In this scenario, it can be agreed that the second number of data is deleted from the end of the first number of data segments forward to generate the driver chip data. In this way, when the driver chip obtains the corresponding data segment, it can directly read the previous valid driver data in sequence, thereby saving time in obtaining valid driver data. Of course, the invalid data can also be placed before the driver group data of the driver chip.
[0126] In this embodiment, driving data generated by at least one controller based on the first quantity and the driving data of the multiple driver chips is received, multiple data segments correspond one-to-one to the multiple driver chips, and each data segment includes the first quantity of data. Therefore, the corresponding data segments can be obtained from the driving data of the driver group in a serial order, and the driving data of the driver chip can be determined from the data segments based on the first quantity and the number of channels of the driver chip, without considering the difference in the number of channels of the driver chip. Therefore, based on this solution, it is possible to ensure that driver chips with different numbers of channels obtain corresponding driving data in an orderly manner, and then achieve mixed connection of driver chips with different numbers of channels, thereby improving the utilization rate of the driver chip and reducing the cost and occupied area of the driver circuit.
[0127] FIG16 is a flow chart of a data communication method provided in another embodiment of the present application. As shown in FIG16 , S202 includes:
[0128] S2024 , starting from the read bit, obtaining several data of the driver chip channels as the driving data of the driver chip.
[0129] S2025 , shifting the driving data corresponding to the next driving chip of the driving chip to the read bit.
[0130] Among them, the driving data of the driving group received in S201 is generated by at least one controller based on the driving data of multiple driving chips in the driving group; the order of the driving data of the multiple driving chips in the driving data of the driving group is consistent with the order of the multiple driving chips in the driving group; the driving data of the driving group includes data compensation data, and the data compensation data includes a read bit. The structure of the driving data of the driving group can be shown in Figure 11.
[0131] In S2024, starting from the read bit, several data points of the driver chip channels are obtained as the driver data of the driver chip. The read bit can be located at any bit in the driver data of the driver group. The read bit is used to specify the reading position of each driver chip. As an example, the driver data of the driver group includes a wave header, and the read bit is located at the bit after the wave header. This enables the driver chip to quickly read the corresponding drive data. In addition, the read bit and the wave header are continuous and do not occupy other storage locations, thereby improving storage efficiency.
[0132] After the driver chip finishes reading in S2025, the driving data corresponding to the next driver chip of the driver chip needs to be shifted to the reading bit, so that each driver chip can obtain the corresponding driving data from the reading bit.
[0133] In one example, FIG17 is a flow chart of another data communication method provided in yet another embodiment of the present application. As shown in FIG17 , S2025 includes:
[0134] S20251: Delete the driving data corresponding to the driving chip from the driving data of the driving group;
[0135] S20252: Adding padding data equal to the number of channels of the driver chip to the end of the driving data of the driver group, so that the remaining data in the driving data of the driver group is sequentially moved forward by the number of channels of the driver chip.
[0136] The following example illustrates a specific scenario: As shown in Figure 12 , the driver group includes a first driver chip 212a, a second driver chip 212b, and a third driver chip 212c. The corresponding channel numbers are 6, 4, and 4, respectively, and the corresponding drive data are Data1, Data2, and Data3, respectively. The driver group receives the drive data Data1, Data2, and Data3, where Data1 consists of 6 data points, Data2 and Data3 each consist of 4 data points, and the read bit is located one bit after the wave head. After receiving the drive data from the driver group, each driver chip knows its own channel number. Therefore, starting from the read bit, the first driver chip 212a obtains 6 data points, namely D1-D6, and uses D1-D6 as the drive data for that driver chip. Then, Data1, i.e., D1-D6, is deleted, and six padding data 0s are added to the end of Data3. In this way, Data2 and Data3 are shifted forward by six positions in sequence, so that D7 in Data2 is located at the read position. The second driver chip 212b can read Data2 starting from D7, then delete Data2 and add four padding data 0s to the end of Data3. This shifts D11-D14 of Data3 forward by four positions, and moves D11 to the read position. The third driver chip 212c reads Data3 starting from the read position, thereby completing the acquisition of corresponding driving data by each driver chip.
[0137] This example shifts the driving data corresponding to the next driver chip to the read bit by deleting the driving data of the driver chip and adding the number of channels of the driver chip to the end of the driving data of the driver group. This allows the next driver chip to read the corresponding driving data from the read bit, thereby ensuring that driver chips with different numbers of channels obtain corresponding driving data in an orderly manner.
[0138] In this embodiment, driving data of the driving group generated by at least one controller based on driving data of multiple driver chips in the driving group is received; the driving data of the driving group includes a read bit, and data corresponding to the number of channels of the driver chip is read from the read bit as the driving data, and then the read driving data is deleted, and the driving data corresponding to the next driver chip is shifted to the read bit, so that each driver chip can read the corresponding driving data starting from the read bit, and the problem of data reading confusion caused by the different number of channels of each driver chip will not occur. Therefore, this embodiment can ensure that driver chips with different numbers of channels obtain corresponding driving data in an orderly manner, thereby realizing mixed connection of driver chips with different numbers of channels.
[0139] FIG18 is a schematic diagram of the structure of an electronic device provided in Example 1 of the present application. As shown in FIG18 , the electronic device includes:
[0140] The electronic device includes a processor 291 and a memory 292; a communication interface 293, and a bus 294. The processor 291, memory 292, and communication interface 293 can communicate with each other via bus 294. Communication interface 293 can be used for information transmission. The processor 291 can invoke logic instructions in memory 292 to execute the methods of the above embodiments.
[0141] In addition, the logic instructions in the memory 292 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0142] Memory 292, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present application. Processor 291 executes the software programs, instructions, and modules stored in memory 292 to perform functional applications and data processing, thereby implementing the methods in the above-mentioned method embodiments.
[0143] Memory 292 may include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function; the data storage area may store data generated based on the use of the terminal device. Memory 292 may also include high-speed random access memory and non-volatile memory.
[0144] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in any embodiment.
[0145] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered merely as exemplary, and the true scope and spirit of the present application are indicated by the claims.
[0146] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A data communication method, the method being applied to at least one controller, the at least one controller being connected to at least one driver group, the driver group comprising a plurality of driver chips connected in series, at least one driver chip among the plurality of driver chips having a different number of channels from the other driver chips; the method comprising: For each driving group, obtaining driving data and channel numbers of multiple driving chips in the driving group; Based on the driving data and the number of channels, the driving data of the driving group is generated; the driving data of the driving group includes a plurality of data segments, the plurality of data segments correspond to the driving chips one by one, and the driving data of the driving group includes data compensation information associated with the number of channels of each driving chip; The driving data corresponding to the driving group is sent to each driving group, so that each driving chip in the driving group obtains its corresponding driving data based on the data compensation information.
2. The method according to claim 1, generating the driving data of the driving group based on the driving data, comprising: Obtaining the number of channels corresponding to the driver chip with the largest number of channels in the driver group as the first number; Based on the first quantity and the driving data of the multiple driving chips, the driving data of the driving group is generated; the driving data of the driving group includes multiple data segments, the multiple data segments correspond to the multiple driving chips one by one, and each data segment includes the first quantity of data.
3. The method according to claim 2, wherein the data compensation data comprises a second number of invalid data corresponding to each driver chip, and for each driver chip, the second number is a difference between the first number and the number of channels of the driver chip; The step of generating the driving data of the driving group based on the first number and the driving data of the plurality of driving chips comprises: For each driver chip, adding a second number of invalid data to the driver data corresponding to the driver chip to generate a data segment corresponding to the driver chip; The data segments corresponding to the multiple driving chips are integrated to obtain the driving data of the driving group; the order of the data segments of the multiple driving chips in the driving data of the driving group is consistent with the order of the multiple driving chips in the driving group. 4 . The method according to claim 3 , wherein in the data segment corresponding to the driver chip, the invalid data is located after the driving data of the driver chip.
5. The method according to claim 1, generating the driving data of the driving group based on the driving data and the number of channels, comprising: generating driving data of the driving group according to driving data of a plurality of driving chips in the driving group; The order of the driving data of the plurality of driving chips in the driving data of the driving group is consistent with the order of the plurality of driving chips in the driving group; and the data compensation data includes a read bit associated with the channel number of each driving chip. 6 . The method according to claim 5 , wherein the driving data of the driving group comprises a wave header, and the read bit is located at a bit next to the wave header.
7. A data communication method, the method being applied to a driver chip, the driver chip being included in a driver group, the driver group comprising a plurality of driver chips connected in series, at least one of the plurality of driver chips having a different number of channels from the other driver chips; The drive group is connected to at least one controller; the method comprises: receiving driving data of the driving group; the driving data of the driving group is generated by at least one controller based on the driving data and the number of channels of the plurality of driving chips, the driving data of the driving group includes a plurality of data segments, the plurality of data segments correspond to the driving chips one by one, and the driving data of the driving group includes data compensation information associated with the number of channels of each driving chip; Based on the data compensation information, the driving data corresponding to the driving chip is acquired from the driving data of the driving group.
8. The method according to claim 7, wherein the driving data of the driving group is generated by at least one controller based on a first number and the driving data of the plurality of driving chips, wherein the first number is the number of channels corresponding to the driving chip with the largest number of channels in the driving group; The driving data of the driving group includes a plurality of data segments, the plurality of data segments correspond to the plurality of driving chips one by one, and each data segment includes a first number of data; the data compensation data includes invalid data generated based on the number of channels of the driving chip; Based on the data compensation information, acquiring driving data corresponding to the driving chip from the driving data of the driving group includes: Acquire corresponding data segments from the driving data of the driving group according to a serial order; Acquire a first number, and determine the number of invalid data based on the first number and the number of channels of the driving chip; Based on the amount of the invalid data, driving data of the driving chip is determined from the data segment.
9. The method according to claim 8, wherein the driving data of the driving group is formed by integrating data segments corresponding to a plurality of driving chips by at least one controller, wherein the data segment corresponding to the driving chip is generated by adding a second number of invalid data to the driving data corresponding to the driving chip, the second number being the difference between the first number and the number of channels of the driving chip, and the order of the data segments of the plurality of driving chips in the driving data of the driving group is consistent with the order of the plurality of driving chips in the driving group; and determining the number of invalid data according to the number of channels of the driving chip comprises: The first number is subtracted from the number of channels of the driving chip to obtain a second number of invalid data.
10. The method according to claim 8 or 9, determining the driving data of the driving chip from the data segment based on the amount of the invalid data, comprising: A second number of invalid data is deleted from the data segment to generate driving data for the driving chip. 11 . The method according to claim 8 , wherein in the data segment corresponding to the driver chip, the invalid data is located after the driving data of the driver chip.
12. The method according to claim 7, wherein the driving data of the driving group is generated by the at least one controller according to the driving data of a plurality of driving chips in the driving group; The order of the driving data of the plurality of driving chips in the driving data of the driving group is consistent with the order of the plurality of driving chips in the driving group; The driving data of the driving group includes data compensation data, and the data compensation data includes a read bit; Based on the data compensation information, acquiring driving data corresponding to the driving chip from the driving data of the driving group includes: Starting from the read position, obtaining a number of data of the driver chip channels as the driving data of the driver chip; The driving data corresponding to the next driving chip of the driving chip is shifted to the read position.
13. The method according to claim 12, wherein the step of shifting the driving data corresponding to the next driving chip of the driving chip to the read bit comprises: Deleting the driving data corresponding to the driving chip from the driving data of the driving group; The padding data of the number of channels of the driving chip is added to the last bit of the driving data of the driving group, so that the remaining data in the driving data of the driving group is sequentially moved forward by the number of channels of the driving chip. 14 . The method according to claim 12 , wherein the driving data of the driving group comprises a wave header, and the read bit is located at a bit next to the wave header.
15. An electronic device, comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement any one of claims 1-6, or any one of claims 7-14.
