A data transmission method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202510495544.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-21
- Publication Date
- 2026-10-23
AI Technical Summary
[0004]然而,目前的显示流程中,通过一组RGB接口只能驱动一个LCD显示模组,从而导致许多实际应用场景中存在局限性
[0046]在本发明实施例中,可以确定第一个帧缓冲区的第一待传输数据和第二个帧缓冲区的第二待传输数据,然后基于时钟信号将第一待传输数据输出给第一显示装置,以及,将第二待传输数据输出给第二显示装置。也就是说,在本发明实施例中,基于两个帧缓冲区可以分别缓存两个显示装置的待传输数据(即前述的第一待传输数据和第二待传输数据),且使用时钟信号来分别采集两个显示装置所待传输的有效数据,从而实现一组RGB接口使用像素点交叉刷新的方式同时驱动两个LCD显示模组的目的,且由于是一组RGB接口驱动两个LCD显示模组,相比相关技术中两组RGB接口驱动两个LCD显示模组的方式,可以降低硬件成本,减少电路板空间的占用,同时可以降低系统的复杂性和功耗,且提升系统的稳定性。
Smart Images

Figure CN122967599A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data transmission technology, and more particularly to a data transmission method, apparatus, electronic device, and storage medium. Background Technology
[0002] Currently, with the continuous development of liquid crystal technology, liquid crystal displays (LCDs) have been widely used. Because LCD drivers based on RGB interfaces can transmit data quickly and directly write displayed data onto the screen, RGB interfaces are widely used in LCD drivers.
[0003] Specifically, a segment of space in Double Data Rate Synchronous Dynamic Random Access Memory (DDR) can be allocated to store a complete frame buffer data. The display processing unit then retrieves the data from the frame buffer and performs rotation, scaling, and compositing processing as needed. Data communication with the LCD is then established via the RGB display interface, allowing the LCD to display a frame of data in real time, resulting in the desired image.
[0004] However, in current display processes, a single RGB interface can only drive one LCD display module, leading to limitations in many practical applications. For example, in commercial displays or industrial control, different information needs to be displayed to different users. If each piece of information requires a separate RGB interface, it will not only increase hardware costs and occupy more circuit board space, but also increase system complexity, instability, and power consumption. Summary of the Invention
[0005] This invention provides a data transmission method, apparatus, electronic device, and storage medium for efficient data transmission to achieve dual-screen display.
[0006] In a first aspect, embodiments of the present invention provide a data transmission method, the method comprising:
[0007] Determine the first data to be transmitted in the first frame buffer and the second data to be transmitted in the second frame buffer;
[0008] The first data to be transmitted is output to the first display device based on the clock signal, and the second data to be transmitted is output to the second display device.
[0009] In one possible implementation, outputting the first data to be transmitted to a first display device based on a clock signal, and outputting the second data to be transmitted to a second display device, includes:
[0010] The first data to be transmitted is output to the first display device based on the rising edge of the clock signal; and,
[0011] The second data to be transmitted is output to the second display device based on the falling edge of the clock signal.
[0012] In one possible implementation, outputting the first data to be transmitted to a first display device based on a clock signal, and outputting the second data to be transmitted to a second display device, includes:
[0013] The first data to be transmitted is output to the first display device based on the falling edge of the clock signal; and,
[0014] The second data to be transmitted is output to the second display device based on the rising edge of the clock signal.
[0015] In one possible implementation, outputting the first data to be transmitted to a first display device based on a clock signal, and outputting the second data to be transmitted to a second display device, includes:
[0016] The first data to be transmitted is output to the first display device based on the rising edge of the first clock signal; and,
[0017] The second data to be transmitted is output to the second display device based on the rising edge of the second clock signal.
[0018] In one possible implementation, outputting the first data to be transmitted to a first display device based on a clock signal, and outputting the second data to be transmitted to a second display device, includes:
[0019] The first data to be transmitted is output to the first display device based on the falling edge of the first clock signal; and,
[0020] The second data to be transmitted is output to the second display device based on the falling edge of the second clock signal.
[0021] In one possible implementation, outputting the first data to be transmitted to a first display device based on a clock signal, and outputting the second data to be transmitted to a second display device, includes:
[0022] The first data to be transmitted is output to the first display device based on the rising edge of the first clock signal; and,
[0023] The second data to be transmitted is output to the second display device based on the falling edge of the second clock signal.
[0024] Secondly, embodiments of the present invention provide a data transmission apparatus, the apparatus comprising:
[0025] A determining unit is used to determine the first data to be transmitted in the first frame buffer and the second data to be transmitted in the second frame buffer;
[0026] The transmission unit is configured to output the first data to be transmitted to the first display device based on a clock signal, and to output the second data to be transmitted to the second display device.
[0027] In one possible implementation, the transmission unit is specifically used for:
[0028] The first data to be transmitted is output to the first display device based on the rising edge of the clock signal; and,
[0029] The second data to be transmitted is output to the second display device based on the falling edge of the clock signal.
[0030] In one possible implementation, the transmission unit is specifically used for:
[0031] The first data to be transmitted is output to the first display device based on the falling edge of the clock signal; and,
[0032] The second data to be transmitted is output to the second display device based on the rising edge of the clock signal.
[0033] In one possible implementation, the transmission unit is specifically used for:
[0034] The first data to be transmitted is output to the first display device based on the rising edge of the first clock signal; and,
[0035] The second data to be transmitted is output to the second display device based on the rising edge of the second clock signal.
[0036] In one possible implementation, the transmission unit is specifically used for:
[0037] The first data to be transmitted is output to the first display device based on the falling edge of the first clock signal; and,
[0038] The second data to be transmitted is output to the second display device based on the falling edge of the second clock signal.
[0039] In one possible implementation, the transmission unit is specifically used for:
[0040] The first data to be transmitted is output to the first display device based on the rising edge of the first clock signal; and,
[0041] The second data to be transmitted is output to the second display device based on the falling edge of the second clock signal.
[0042] Thirdly, embodiments of the present invention provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps included in any of the methods in the first aspect.
[0043] Fourthly, embodiments of the present invention provide a computer-readable storage medium including program code, which, when the program product is run on an electronic device, causes the electronic device to perform the steps included in any of the methods in the first aspect.
[0044] Fifthly, embodiments of the present invention provide a computer program product, the computer program product comprising: computer program code, which, when executed on an electronic device, causes the electronic device to perform the steps included in any of the methods in the first aspect.
[0045] The technical solutions provided by the embodiments of the present invention bring at least the following beneficial effects:
[0046] In this embodiment of the invention, a first data to be transmitted in the first frame buffer and a second data to be transmitted in the second frame buffer can be determined. Then, the first data to be transmitted is output to the first display device based on a clock signal, and the second data to be transmitted is output to the second display device. That is, in this embodiment of the invention, the data to be transmitted by the two display devices (i.e., the aforementioned first and second data to be transmitted) can be cached by the two frame buffers respectively, and the valid data to be transmitted by the two display devices is collected by the clock signal respectively. This achieves the purpose of driving two LCD display modules simultaneously using a set of RGB interfaces with pixel cross-refresh. Since it is a set of RGB interfaces driving two LCD display modules, compared with the method of driving two LCD display modules by two sets of RGB interfaces in related technologies, it can reduce hardware costs, reduce the occupation of circuit board space, reduce system complexity and power consumption, and improve system stability.
[0047] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practice. The objects and other advantages of the invention may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings.
[0048] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit the invention. Attached Figure Description
[0049] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention, but do not constitute an undue limitation of the invention.
[0050] Figure 1 A schematic diagram of data transmission provided for related technologies;
[0051] Figure 2 A schematic diagram of data display provided for related technologies;
[0052] Figure 3 A flowchart of a data transmission method provided in an embodiment of the present invention;
[0053] Figure 4 A schematic diagram of data display provided in an embodiment of the present invention;
[0054] Figure 5 A schematic diagram illustrating data transmission according to an embodiment of the present invention;
[0055] Figure 6 A schematic diagram illustrating another data transmission method provided in an embodiment of the present invention;
[0056] Figure 7 A structural block diagram of a data transmission device provided in an embodiment of the present invention;
[0057] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention. Without conflict, the embodiments and features in the embodiments of the present invention can be arbitrarily combined with each other. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown here. The term "comprising" and any variations thereof in the specification and claims of the present invention are intended to cover non-exclusive protection. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices.
[0059] In this embodiment of the invention, "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0060] Furthermore, unless otherwise stated, the ordinal numbers such as "first" and "second" mentioned in the embodiments of the present invention are used to distinguish multiple objects and are not used to limit the size, content, order, timing, priority, or importance of the multiple objects. For example, "first display device" and "second display device" are only used to distinguish display devices and do not indicate that the two display devices are different in size, priority, or importance.
[0061] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These are to be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description. It should be noted that in the embodiments of the present invention, references may be made to existing industry solutions such as software, components, and models. These should be considered exemplary, intended only to illustrate the feasibility of implementing the technical solutions of the present invention, and do not imply that the applicant has already used or necessarily used such solutions.
[0062] In the technical solution of this invention, the collection, dissemination, use, and display of various types of data (such as monitoring data of shopping malls and shooting data of film and television dramas) all comply with the requirements of relevant national laws and regulations.
[0063] To facilitate understanding of the technical solutions provided in the embodiments of the present invention, some key terms used in the embodiments of the present invention will be explained here first:
[0064] Liquid Crystal Display (LCD): A display technology that uses liquid crystal materials and controls the alignment of liquid crystal branches through an electric field to change the light transmittance and thus display images.
[0065] RGB interface: The RGB interface is a standard for transmitting the three primary colors of red, green, and blue. Through this interface, digital or analog RGB signals can be transmitted to a display device to display color images.
[0066] Pixel Clock (PCLK): Provides a synchronization clock signal for data transmission. The frequency of the pixel clock signal determines the data transmission rate; the higher the speed, the greater the amount of data transmitted per unit time. For example, in high-resolution display scenarios, a higher frequency PCLK is required to ensure sufficient transmission bandwidth for smooth image display.
[0067] Horizontal Sync (HS): Used to identify the start and end of a line of data. Within a single frame, the HS signal changes according to a fixed period, and its frequency depends on the number of lines and refresh rate of the display. For example, on a 1080P resolution display with a 30Hz refresh rate, the HS signal frequency is 30Hz * 1080 = 32.4kHz.
[0068] Vertical Sync (VS) signal: Used to identify the start and end of a frame of data. The period between two falling / rising edges represents a complete frame of data, and the frequency of the VS signal determines the refresh rate of the display. For example, a common 30Hz refresh rate means that the frequency of the VS signal is 30Hz.
[0069] Data Enable (DE) signal: Used to control the effective transmission of data. During the active period of the DE signal (which can be active high or low), the data to be displayed is transmitted to the LCD screen so that the LCD screen can display the corresponding pixels. In conjunction with the HS and VS signals, the DE signal ensures that the data for each pixel is transmitted to the display screen at the correct time.
[0070] The 24-bit data signal [DATA23-DATA0] is used to transmit the RGB color information of each pixel, with red (Read), green (Green), and blue (Blue) each occupying 8 bits, i.e., 888 format, which can achieve rich and realistic image display effects.
[0071] For example, see Figure 1 As shown, Figure 1 This is the timing diagram for the RGB interface. VS represents frame synchronization data; two falling edges represent one entire frame. HS represents line synchronization data, and DE is the data enable control signal, mapping the data to be displayed to the LCD's display pixels. For example, in 1080P: one frame synchronization data cycle consists of 1080 valid DE+HS synchronized data points. PCLK is the data transmission clock signal, acquiring data on the rising edge of valid DE and HS synchronized data. DATA represents display data, with D1 representing one pixel. For example, in 1080P: one line synchronization data cycle contains 1920 valid pixel data points, i.e., Dn = D1920.
[0072] Each pixel transmits RGB888 data in parallel using a 24-bit DATA signal. The correspondence between the DATA signal and the RGB888 data transmission is shown in Table 1 below:
[0073]
[0074]
[0075] Table 1
[0076] Double Data Rate Synchronous Dynamic Random Access Memory (DDR): Double Data Rate Synchronous Dynamic Random Access Memory is a type of memory used to store data such as images and audio.
[0077] Frame buffer: A memory area used to store image data. In a display system, it stores complete image information for one frame, including the color value of each pixel. The display processing unit reads data from the frame buffer and transmits it to the display device for display. Its capacity and read / write speed directly affect the performance and display effect of the display system.
[0078] The display processor unit (DPU) is a functional module specifically designed to process display-related data. Common functions include rotation, scaling, and compositing. The DPU can convert raw image data into a format that meets the requirements of the display device and transmit the data to the display device according to the device's timing requirements, achieving high-quality and efficient image presentation.
[0079] LCD data output port (LCD Port): An interface used to transmit display data to the LCD screen. For example, an RGB data output port.
[0080] As mentioned above, see Figure 2 , Figure 2 This is a schematic diagram illustrating a data display in related technologies. Specifically, the DDRframe buffer can store the data of one frame, for example, frame data A. Frame data A is, for example, 1080P, meaning it contains 1920 valid pixel data. Then, the display processing unit (i.e., Figure 2 The DPU (Data Processing Unit) in the system can acquire data from the frame buffer and perform rotation, scaling, and compositing processing. Then, it communicates with the LCD via the RGB display interface, allowing the LCD to display the image corresponding to frame data A stored in the frame buffer in real time.
[0081] In the current display process, only one LCD display module can be driven through a set of RGB interfaces.
[0082] In view of this, the present invention provides a data processing method. This method determines the first data to be transmitted in the first frame buffer and the second data to be transmitted in the second frame buffer. Then, based on a clock signal, the first data to be transmitted is output to the first display device, and the second data to be transmitted is output to the second display device. As can be seen, in this embodiment of the invention, the two frame buffers can respectively cache the data to be transmitted from the two display devices, and a clock signal is used to collect the valid data to be transmitted from the two display devices respectively, thereby achieving the goal of simultaneously driving two LCD display modules using a pixel-by-pixel cross-refresh method with a single RGB interface. In other words, the present invention proposes a technical improvement for dual-screen display using a single RGB physical interface, achieved through optimized timing signal adjustment and memory management. Based on the traditional RGB interface hardware architecture, it adopts a dual-frame buffer dynamic switching mechanism and pixel / clock signal multiplexing technology, breaking through the limitation that a single physical interface can only drive a single display module. This scheme achieves dual-channel data transmission capability through pixel / clock signal timing logic while maintaining the interface electrical characteristics, achieving efficient resource utilization and cost reduction.
[0083] In the embodiments of the present invention, the technical solutions provided by the present invention can be applied to commercial display and control panels, industrial control consoles, etc.
[0084] For example, a dual-screen display solution designed using the AD102 can be applied to various POS systems requiring dual-screen displays, such as those found in milk tea shops, clothing stores, and restaurants. This allows cashiers to input product information into the merchant's inventory management software. Not only can the cashier view inventory management information on the POS system, but the system also displays brief product information and prices to customers in real time. This allows two different roles—cashier and customer—to simultaneously view different content, improving data transmission efficiency.
[0085] For example, in a factory production line, a control device can be used to monitor the output, yield rate, and operating status of multiple production lines in real time from multiple directions, thereby improving production efficiency and reducing the cost of equipment use and maintenance.
[0086] To further illustrate the data transmission method provided in the embodiments of the present invention, a detailed description is provided below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiments of the present invention provide method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on conventional or non-inventive methods. In steps where there is no logically necessary causal relationship, the execution order of these steps is not limited to the execution order provided in the embodiments of the present invention. In actual processing or when the device executes the method, it may be executed in the order shown in the embodiments or drawings, or in parallel (e.g., in a parallel processor or multi-threaded processing application environment).
[0087] The following combination Figure 3 The flowchart shown illustrates the data transmission method in this embodiment of the invention. The method can be executed by an electronic device, and the specific implementation flow of the method is as follows:
[0088] Step 301: Determine the first data to be transmitted in the first frame buffer and the second data to be transmitted in the second frame buffer.
[0089] In this embodiment of the invention, the single-frame frame buffer in the related art can be set as a dual-frame frame buffer. That is, in this embodiment of the invention, dual-frame frame buffers are used to buffer frame data separately.
[0090] For example, see Figure 4 As shown, Figure 4 This is a schematic diagram of data display in an embodiment of the present invention. DDR frame buffer 1 can store one frame of data, such as frame data A, and DDR frame buffer 2 can store one frame of data, such as frame data B.
[0091] Optionally, DDR frame buffer 1 can store one frame of data from LCD display module 1, and DDR frame buffer 2 can store one frame of data from LCD display module 2. Of course, it is also possible that DDR frame buffer 1 stores one frame of data from LCD display module 2, and DDR frame buffer 2 stores one frame of data from LCD display module 1; this is not limited in this embodiment of the invention. Figure 4 The example shown uses DDR frame buffer1 to store one frame of data from LCD1 and DDR frame buffer2 to store one frame of data from LCD2, thus allowing the determination of the first frame buffer (e.g. Figure 4 The first data to be transmitted (e.g., frame data A) and the second frame buffer (e.g., DDR framebuffer1) in the DDR framebuffer1 are the first data to be transmitted (e.g., frame data A) and the second frame buffer (e.g., DDR framebuffer1). Figure 4 The second data to be transmitted (e.g., frame data B) in DDR framebuffer2.
[0092] Please continue reading Figure 4 Display processing unit (i.e.) Figure 4 The DPU (Data Processing Unit) can acquire data from DDR frame buffer1 and DDR frame buffer2 and perform rotation, scaling, and compositing processing. Then, it communicates with the LCD via the RGB display interface, so that LCD1 can display the image corresponding to frame data A stored in DDR frame buffer1 in real time, and LCD2 can display the image corresponding to frame data B stored in DDR frame buffer1 in real time.
[0093] Step 302: Output the first data to be transmitted to the first display device based on the clock signal, and output the second data to be transmitted to the second display device.
[0094] In this embodiment of the invention, pixel data can be collected based on the rising edge and falling edge of the clock signal, thereby achieving dual-screen display.
[0095] In one possible implementation, the first data to be transmitted can be output to the first display device based on the falling edge of the clock signal; and the second data to be transmitted can be output to the second display device based on the rising edge of the clock signal.
[0096] In one possible implementation, the first data to be transmitted can be output to the first display device based on the rising edge of the clock signal; and the second data to be transmitted can be output to the second display device based on the falling edge of the clock signal.
[0097] For example, see Figure 5 As shown, Figure 5 This is a schematic diagram illustrating pixel data acquisition in an embodiment of the present invention. Wherein, Figure 5 In this context, D1, D2, D3, ..., Dn represent the pixel data of LCD1. Figure 5 In this context, P1, P2, P3, ..., Pn represent the pixel data of LCD2. Figure 5 In the process, valid display data, namely D1, D2, D3, ..., Dn, is collected through the rising edge of PCLK1 and transmitted to LCD1; valid display data, namely P1, P2, P3, ..., Pn, is collected through the falling edge of PCLK1 and transmitted to LCD2.
[0098] It can be seen that, in Figure 5In the sequence, the first rising edge of PCLK indicates that the first pixel data D1 of buffer1 is transmitted to the LCD1 module for display, and the LCD2 module does not acquire data during this time. The first falling edge of PCLK indicates that the first pixel data P1 of buffer2 is transmitted to the LCD2 module for display, and the LCD1 module does not acquire data during this time. The second rising edge of PCLK indicates that the second pixel data D2 of buffer1 is transmitted to the LCD1 module for display, and the LCD2 module does not acquire data during this time.
[0099] By repeating this process, and by using the different rising and falling edges of the PCLK, the point data of the two LCD display modules are alternately transmitted on the same set of RGB interfaces, thereby achieving dual-screen display.
[0100] In this embodiment of the invention, a set of clock signals can be added to collect pixel data, thereby realizing dual-screen display.
[0101] In one possible implementation, the first data to be transmitted can be output to the first display device based on the falling edge of the first clock signal; and the second data to be transmitted can be output to the second display device based on the falling edge of the second clock signal.
[0102] In one possible implementation, the first data to be transmitted can be output to the first display device based on the rising edge of the first clock signal; and the second data to be transmitted can be output to the second display device based on the falling edge of the second clock signal.
[0103] In one possible implementation, the first data to be transmitted can be output to the first display device based on the falling edge of the first clock signal; and the second data to be transmitted can be output to the second display device based on the rising edge of the second clock signal.
[0104] In one possible implementation, the first data to be transmitted can be output to the first display device based on the rising edge of the first clock signal; and the second data to be transmitted can be output to the second display device based on the rising edge of the second clock signal.
[0105] For example, see Figure 6 As shown, Figure 6 This is a schematic diagram illustrating pixel data acquisition in an embodiment of the present invention. Wherein, Figure 6 In this context, D1, D2, D3, ..., Dn represent the pixel data of LCD1. Figure 6 In this context, P1, P2, P3, ..., Pn represent the pixel data of LCD2. Figure 6In the process, valid display data, namely D1, D2, D3, ..., Dn, is collected through the rising edge of PCLK1 and transmitted to LCD1; valid display data, namely P1, P2, P3, ..., Pn, is collected through the falling edge of PCLK2 and transmitted to LCD2.
[0106] It can be seen that, in Figure 6 In this process, LCD1 acquires valid data via the rising edge of PCLK1, and LCD2 acquires valid data via the rising edge of PCLK2. First, the first rising edge of PCLK1 triggers the transmission of the first pixel data D1 from buffer1 to the LCD1 module, providing the LCD1 module with the first pixel data for display. At this time, PCLK2 generates a falling edge, and the LCD2 module does not trigger data acquisition. Next, PCLK1 generates a falling edge, and simultaneously, PCLK2 generates its first rising edge, triggering the transmission of the first pixel data P1 from buffer2 to the LCD2 module, providing the LCD2 module with the first pixel data for display. At this time, PCLK1 generates a falling edge, and the LCD1 module does not trigger data acquisition. Then, PCLK2 generates a falling edge, and simultaneously, PCLK1 generates its second rising edge, triggering the transmission of the second pixel data D2 from buffer1 to the LCD1 module, providing the LCD1 module with the second pixel data for display. At this time, PCLK2 generates a falling edge, and the LCD2 module does not trigger data acquisition.
[0107] By repeating this process and adding a set of PCLK interfaces, pixel data from the two LCD display modules can be alternately transmitted on the same set of RGB interfaces, thus achieving dual-screen display.
[0108] As can be seen, the dual-screen display achieved in this embodiment of the invention, by adding a set of frame buffers and combining different acquisition methods of PCLK signals for pixel cross-refresh, has the following advantages compared to existing solutions: 1. Reduced hardware costs: This invention can drive dual LCD display modules with a single chip, thereby reducing the number of main control chips, correspondingly reducing related peripheral components, and lowering the design complexity and manufacturing costs of the circuit board. 2. Improved system stability: This invention, by driving dual LCD display modules with a single chip, can reduce the development difficulty and maintainability of the system, reduce data transmission and information synchronization between multiple devices, and improve device stability. 3. Easy to promote and implement: The solution provided by this invention is easy to upgrade and modify on the existing hardware basis, enhancing the scalability of the display system.
[0109] Based on the same inventive concept, embodiments of the present invention provide a data transmission device capable of implementing the functions corresponding to the aforementioned data transmission method. This data transmission device can be a hardware structure, a software module, or a hardware structure plus a software module. The data transmission device can be implemented by a chip system, which can consist of chips or include chips and other discrete components. Please refer to [link to previous text]. Figure 7 As shown, the data transmission device includes:
[0110] The determining unit 701 is used to determine the first data to be transmitted in the first frame buffer and the second data to be transmitted in the second frame buffer;
[0111] The transmission unit 702 is configured to output the first data to be transmitted to the first display device based on a clock signal, and to output the second data to be transmitted to the second display device.
[0112] In one possible implementation, the transmission unit 702 is specifically used for:
[0113] The first data to be transmitted is output to the first display device based on the rising edge of the clock signal; and,
[0114] The second data to be transmitted is output to the second display device based on the falling edge of the clock signal.
[0115] In one possible implementation, the transmission unit 702 is specifically used for:
[0116] The first data to be transmitted is output to the first display device based on the falling edge of the clock signal; and,
[0117] The second data to be transmitted is output to the second display device based on the rising edge of the clock signal.
[0118] In one possible implementation, the transmission unit 702 is specifically used for:
[0119] The first data to be transmitted is output to the first display device based on the rising edge of the first clock signal; and,
[0120] The second data to be transmitted is output to the second display device based on the rising edge of the second clock signal.
[0121] In one possible implementation, the transmission unit 702 is specifically used for:
[0122] The first data to be transmitted is output to the first display device based on the falling edge of the first clock signal; and,
[0123] The second data to be transmitted is output to the second display device based on the falling edge of the second clock signal.
[0124] In one possible implementation, the transmission unit 702 is specifically used for:
[0125] The first data to be transmitted is output to the first display device based on the rising edge of the first clock signal; and,
[0126] The second data to be transmitted is output to the second display device based on the falling edge of the second clock signal.
[0127] All relevant content of each step involved in the aforementioned embodiments of the data transmission method can be referenced to the functional description of the corresponding functional module of the data transmission device in the embodiments of the present invention, and will not be repeated here.
[0128] The module division in this embodiment of the invention is illustrative and represents only one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional modules in the various embodiments of the invention can be integrated into a single controller, exist as separate physical entities, or be integrated into a single module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0129] Based on the same inventive concept, embodiments of the present invention provide an electronic device, please refer to... Figure 8 As shown, the electronic device includes at least one processor 801 and a memory 802 connected to the at least one processor. In this embodiment of the invention, the specific connection medium between the processor 801 and the memory 802 is not limited. Figure 8 Taking the connection between processor 801 and memory 802 via bus 800 as an example, bus 800 in... Figure 8 The connections between other components are indicated by thick lines and are for illustrative purposes only, not as limiting information. The 800 bus can be divided into address bus, data bus, control bus, etc., for ease of representation. Figure 8 The symbol is represented by only one thick line, but this does not indicate that there is only one bus or one type of bus. In addition, the data transmission device includes a communication interface 803 for receiving or sending data.
[0130] In this embodiment of the invention, the memory 802 stores instructions that can be executed by at least one processor 801. By executing the instructions stored in the memory 802, at least one processor 801 can perform the steps included in the aforementioned data transmission method.
[0131] The processor 801 is the control center of the electronic device. It can connect to various parts of the electronic device through various interfaces and lines. By running or executing instructions stored in the memory 802 and calling data stored in the memory 802, it can monitor the various functions and data processing of the electronic device as a whole.
[0132] Optionally, processor 801 may include one or more processing units. Processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into processor 801. In some embodiments, processor 801 and memory 802 may be implemented on the same chip; in some embodiments, they may be implemented separately on independent chips.
[0133] Processor 801 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0134] Memory 802, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 802 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 802 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In embodiments of the present invention, memory 802 may also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.
[0135] By designing and programming the processor 801, the code corresponding to the data transmission method described in the foregoing embodiments can be embedded into the chip, thereby enabling the chip to execute the steps of the aforementioned data transmission method during operation. How to design and program the processor 801 is a well-known technique to those skilled in the art, and will not be elaborated here.
[0136] Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium including program code, which, when the program product is run on an electronic device, is used to cause the electronic device to perform the steps of the aforementioned data transmission method.
[0137] In some possible implementations, aspects of the data transmission method provided by the present invention can also be implemented as a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the steps of the data transmission method according to various exemplary embodiments of the present invention described above.
[0138] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0139] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0140] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0141] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0142] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A data transmission method, characterized in that, The method includes: Determine the first data to be transmitted in the first frame buffer and the second data to be transmitted in the second frame buffer; The first data to be transmitted is output to the first display device based on the clock signal, and the second data to be transmitted is output to the second display device.
2. The method according to claim 1, characterized in that, Outputting the first data to be transmitted to the first display device based on a clock signal, and outputting the second data to be transmitted to the second display device, includes: The first data to be transmitted is output to the first display device based on the rising edge of the clock signal; as well as, The second data to be transmitted is output to the second display device based on the falling edge of the clock signal.
3. The method according to claim 1, characterized in that, Outputting the first data to be transmitted to the first display device based on a clock signal, and outputting the second data to be transmitted to the second display device, includes: The first data to be transmitted is output to the first display device based on the falling edge of the clock signal; as well as, The second data to be transmitted is output to the second display device based on the rising edge of the clock signal.
4. The method according to claim 1, characterized in that, Outputting the first data to be transmitted to the first display device based on a clock signal, and outputting the second data to be transmitted to the second display device, includes: The first data to be transmitted is output to the first display device based on the rising edge of the first clock signal; and, The second data to be transmitted is output to the second display device based on the rising edge of the second clock signal.
5. The method according to claim 1, characterized in that, Outputting the first data to be transmitted to the first display device based on a clock signal, and outputting the second data to be transmitted to the second display device, includes: The first data to be transmitted is output to the first display device based on the falling edge of the first clock signal; and, The second data to be transmitted is output to the second display device based on the falling edge of the second clock signal.
6. The method according to claim 1, characterized in that, Outputting the first data to be transmitted to the first display device based on a clock signal, and outputting the second data to be transmitted to the second display device, includes: The first data to be transmitted is output to the first display device based on the rising edge of the first clock signal; and, The second data to be transmitted is output to the second display device based on the falling edge of the second clock signal.
7. A data transmission device, characterized in that, The device includes: A determining unit is used to determine the first data to be transmitted in the first frame buffer and the second data to be transmitted in the second frame buffer; The transmission unit is configured to output the first data to be transmitted to the first display device based on a clock signal, and to output the second data to be transmitted to the second display device.
8. An electronic device, characterized in that, The computer device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes: computer program code, which, when run on an electronic device, causes the electronic device to perform the method described in any one of claims 1-6.