Multi-screen connection structure, multi-screen connection system and display method
By connecting the display screen to a physical DSI bus through a switch in a folding screen mobile phone, and using a virtual DSI bus for logical control, the problem of redundant DSI bus design in the existing technology is solved, and multi-screen support and hardware complexity are achieved. degree reducing effect.
Patent Information
- Application Number
- CN202410844200.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-15
AI Technical Summary
The existing DSI bus design of folding screen mobile phones requires 8 lanes to connect the two displays, resulting in fewer high-end platforms and higher costs. Moreover, when the internal and external screens are displayed at the same time, 4 lanes are idle, causing unnecessary redundancy. Remain.
By connecting at least two display screens to one physical DSI bus through a switch, and logically using one physical DSI bus and at least one virtual DSI bus to control the display screens respectively, the connection and control of multiple display screens is realized, avoiding physical Line redundancy.
It realizes that only one physical DSI bus can support multiple displays, reduces hardware complexity and cost, improves the flexibility of product platform selection, and supports the initialization and operation of more displays through a virtual data bus.
Smart Images

Figure CN118778918A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of multi-screen management technology, and in particular to a multi-screen connection structure, a multi-screen connection system and a display method. Background Art
[0002] Folding screen mobile phones usually include two inner and outer display screens. Currently, mobile phone display screens are usually directly connected to the display system using the DSI bus. The DSI (a serial interface standard for transmitting display data) bus is responsible for transmitting display parameters and display data. In the existing solution, one display screen requires 4 lanes (i.e. channels, interfaces or data transmission paths), and two displays require 8 lanes. Currently, there are few platforms that provide 8 lanes, and they are all high-end platforms with higher costs. Summary of the invention
[0003] The purpose of the present invention is to provide a multi-screen connection structure, a multi-screen connection system and a display method, so as to support multiple display screens by configuring only one DSI.
[0004] In order to solve the above technical problems, the present invention provides a multi-screen connection structure, including at least two display screens, wherein the at least two display screens are connected to a physical DSI bus via a switching switch.
[0005] Furthermore, the physical DSI bus includes 4 lanes.
[0006] In addition, the present invention also proposes a multi-screen connection system, including the multi-screen connection structure as described above, and also including at least one virtual DSI bus, wherein each of the physical DSI bus and the at least one virtual DSI bus logically controls the corresponding display screen.
[0007] Furthermore, the logically controlling the corresponding display screen includes: writing the operating parameters into the DDIC register of the corresponding display screen.
[0008] Furthermore, the working parameters include switching the refresh rate, lighting up the screen, turning off the screen, and changing the color mode.
[0009] Furthermore, when data is read or written, it is performed through the physical DSI bus.
[0010] Furthermore, the physical DSI bus and the at least one virtual DSI bus are both registered in the bus controller.
[0011] Furthermore, it also includes a host layer and external devices, and the external devices are connected to the host layer through a bus.
[0012] Furthermore, the host layer includes a CPU, power management, memory and the bus controller; the external devices include a camera, a sensor and the display screen.
[0013] Furthermore, the bus includes an I2C bus, an I2S bus, an SPI bus, a DSI bus and a CSI bus.
[0014] In addition, the present invention also proposes a display method for a multi-screen connection system, wherein the multi-screen connection system includes at least two display screens, one physical DSI bus and at least one virtual DSI bus, wherein the at least two display screens are connected to the one physical DSI bus via a switch, wherein each of the one physical DSI bus and the at least one virtual DSI bus logically controls a corresponding display screen, and the display method includes:
[0015] Bus controller initialization;
[0016] Registering the at least two display screens connected to the one physical DSI bus and the at least one virtual DSI bus;
[0017] When a display screen needs to perform a read / write operation, it is determined whether the display screen is connected to the physical DSI bus. If so, reading / writing is performed. If not, the display screen is connected to the physical DSI bus through the switching switch, and then reading / writing is performed.
[0018] Furthermore, after the at least two display screens are registered and before a display screen needs to perform a read / write operation, the method further includes:
[0019] Performing logical operations on the display screen.
[0020] Through the above technical solution, the present invention has the following beneficial effects:
[0021] By connecting at least two display screens to one physical DSI bus through a switching switch; and logically controlling the corresponding display screens through one physical DSI bus and each virtual DSI bus of at least one virtual DSI bus, it is possible to support multiple display screens by configuring only one DSI (i.e., only one physical DSI bus is required), thereby avoiding structural redundancy and reducing hardware complexity. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a schematic diagram of a multi-screen connection structure in one embodiment of the present invention;
[0023] Figure 2 A schematic diagram of a multi-screen connection system according to an embodiment of the present invention;
[0024] Figure 3 This is a schematic diagram of the overall structure of a multi-screen connection system in one embodiment of the present invention;
[0025] Figure 4 It is a flowchart of a display method of a multi-screen connection system in one embodiment of the present invention;
[0026] Figure 5 It is a schematic diagram of the process of initializing the bus controller and registering the external device in the display method of the multi-screen connection system in one embodiment of the present invention;
[0027] Figure 6 It is a flow chart of a display screen registration process in a display method of a multi-screen connection system in one embodiment of the present invention;
[0028] Figure 7 The present invention is a flowchart of a display screen reading and writing process in a display method of a multi-screen connection system in one embodiment of the present invention. DETAILED DESCRIPTION
[0029] A multi-screen connection structure, a multi-screen connection system and a display method of the present invention will be described in more detail below in conjunction with the accompanying drawings, wherein preferred embodiments of the present invention are shown. It should be understood that those skilled in the art can modify the present invention described herein while still achieving the advantageous effects of the present invention. Therefore, the following description should be understood as being widely known to those skilled in the art and not as a limitation of the present invention.
[0030] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. The advantages and features of the present invention will become more apparent from the following description. It should be noted that the accompanying drawings are in very simplified form and are not in exact proportions, and are only used to facilitate and clearly assist in illustrating the purpose of the embodiments of the present invention.
[0031] The applicant's research found that there is no need for simultaneous display on the inner and outer screens of current foldable screen mobile phones. Therefore, in the existing 8-lane DSI design, 4-lane DSI are always idle, resulting in unnecessary redundancy in the design.
[0032] Embodiment 1
[0033] like Figure 1 As shown, the first embodiment of the present invention proposes a multi-screen connection structure. Taking dual screens as an example, this embodiment includes two display screens, and the two display screens are connected to a physical DSI bus through a switching switch.
[0034] The physical DSI bus includes four lanes. In this embodiment, a switch can be used to implement time-division multiplexing of physical connections, and one DSI bus (ie, four lanes) can support multiple display screens.
[0035] It can be seen that the multi-screen connection structure provided in this embodiment has a simple structure, avoids design redundancy, reduces hardware complexity, and improves the flexibility of the platform selection for folding screen products.
[0036] Embodiment 2
[0037] Please combine Figure 1 and Figure 2 As shown, this embodiment 2 proposes a multi-screen connection system, including the multi-screen connection structure as described above, and also includes at least one virtual DSI bus, and each of the physical DSI bus and the at least one virtual DSI bus logically controls the corresponding display screen.
[0038] Furthermore, the physical DSI bus and the virtual DSI bus are both registered in a bus controller.
[0039] When the system is working, the display screen needs to be initialized before it can be used in the system. During the system startup process, the hardware will be abstracted into software instances. The upper instance is responsible for managing / controlling the lower instance. The lower instance needs to register with the upper instance. For example, the bus controller is the control instance of all buses in the system. Each bus needs to register with it after initialization. Therefore, the physical DSI bus can only abstract one software instance DSI0. Since the physical connection can only connect one display screen at the same time, it results in only one display screen being found when traversing the bus. Therefore, the embodiment of the present invention abstracts a virtual DSI bus DSI1 from the software. DSI1 is registered on the bus controller, so that there are two DSI buses in the system logically. Therefore, the system will traverse the two DSI buses, so that both display screens can be initialized. Correspondingly, when three or more display screens are involved, the abstracted virtual DSI buses are increased accordingly, so that each display screen can be initialized.
[0040] By creating a virtual data bus, a flexible connection method is provided, allowing the implementation of the present invention to easily add or remove display screens without changing the physical connection. In addition, through the virtual data bus, this embodiment can support more display screens, and only through software configuration, without adding more physical lines. It can reduce unnecessary physical connections and reduce hardware costs and complexity. Logical connections can be isolated when a fault occurs, and will not affect the normal operation of other display screens.
[0041] In this embodiment, the logically controlling the corresponding display screen includes: writing the operating parameters into the DDIC register of the corresponding display screen, wherein the operating parameters are written via the DSI bus.
[0042] Preferably, the working parameters include sleeping, turning off the screen, waking up, lighting up, switching refresh rate, changing color mode, etc.
[0043] In this embodiment, when data is read and written, it is performed through the physical DSI bus.
[0044] In addition, please refer to Figure 3 This embodiment also includes a host layer and external devices, and the external devices are connected to the host layer via a bus.
[0045] Among them, the host layer includes CPU, power management, memory and the bus controller. Those skilled in the art may know that the host layer may be set according to actual conditions, that is, it may also include other embodiments besides the CPU, power management, memory and the bus controller in this embodiment.
[0046] In this embodiment, the external device includes a camera, a sensor and the display screen. Those skilled in the art will appreciate that the external device can be configured according to actual conditions, that is, other embodiments other than the camera, the sensor and the display screen in this embodiment are also included.
[0047] Preferably, the bus includes an I2C bus, an I2S bus, an SPI bus, a DSI bus and a CSI bus. It is known to those skilled in the art that the bus can be set according to actual conditions, that is, other embodiments are also included in addition to the I2C bus, I2S bus, SPI bus, DSI bus and CSI bus in this embodiment.
[0048] In a specific example, this embodiment further includes: an abstraction layer, a registration mechanism, and a data transmission management unit. Specifically, the abstraction layer is used to abstract the multiple display screens into software instances; the registration mechanism is used to register the software instances in the display framework of the multi-screen connection system, and this mechanism can be implemented in an existing manner; the data transmission management unit is used to manage the data transmission of the physical DSI bus and the virtual DSI bus to ensure that the data is correctly sent to any display screen.
[0049] In this embodiment, the bus controller can be initialized to register multiple display screens connected to the physical DSI bus and the virtual DSI bus, so that the multiple display screens can be identified. Subsequently, logical operations or read and write operations can be performed on the display screens according to actual needs. When performing read and write operations, the display screen can be connected to the physical DSI bus through the switching switch.
[0050] Embodiment 3
[0051] like Figure 4As shown, this embodiment also proposes a display method for a multi-screen connection system, and this method can be executed based on the first embodiment or the second embodiment.
[0052] In this embodiment, the multi-screen connection system includes at least two display screens, one physical DSI bus and at least one virtual DSI bus. The at least two display screens are connected to one physical DSI bus through a switch, and each of the one physical DSI bus and the at least one virtual DSI bus logically controls the corresponding display screen, and the display method specifically includes the following steps:
[0053] S1, bus controller initialization;
[0054] S2, registering the at least two display screens connected to the physical DSI bus and the at least one virtual DSI bus;
[0055] S3. When a display screen needs to perform a read / write operation, determine whether the display screen is connected to the physical DSI bus. If so, perform the read / write operation. If not, connect the display screen to the physical DSI bus through the switching switch before performing the read / write operation.
[0056] Among them, the physical DSI bus of this embodiment is used to transmit data of the display screen that is actually connected among at least two display screens; the virtual DSI bus is used to logically connect the display screens that are not actually connected among at least two display screens, so that the multi-screen connection system can identify and initialize all display screens.
[0057] The premise for the use of hardware is that it is abstracted into some logical entities, such as data structures, and these abstractions (data structures) have two purposes: 1. Hardware-related, abstracting the operation and physical parameters of the hardware; 2. The multi-screen connection system has a display framework, and the hardware must logically register itself with the corresponding display framework before being used, such as the device is registered with the display framework, the display is registered with DRM / KMS, the buttons and touch screen are registered with Input, the camera is registered with V4L2 (the abbreviation of Video4Linux version 2, which is a set of APIs (application programming interface) for video devices in the Linux kernel), and the sound card is registered with ALSA (referring to the sound architecture in the Linux operating display system).
[0058] For details, please refer to S1. Figure 5After the bus controller is initialized, the bus is initialized, the external devices on the bus are traversed, all external device abstract operations are completed one by one, and the software instance is registered into the device framework of the system. Then, the external device (such as the display) can be operated at the logical level through the software instance operation, such as sleeping, turning off the screen, waking up, lighting up, switching the refresh rate, changing the color mode, etc.
[0059] For S2, please refer to Figure 6 In the embodiment of the present invention, taking two display screens as an example, for the physical DSI bus, the system traverses the external devices on the physical DSI bus to determine whether an external device is connected. If so, for example, display screen 1 is connected, display screen 1 is abstracted and registered with the system device framework; after the physical DSI bus traversal is completed, it continues to determine whether there is a virtual DSI bus. If so, it traverses the external devices on the virtual DSI bus to determine whether an external device is connected. If so, for example, display screen 2 is connected, display screen 2 is abstracted and registered with the system device framework.
[0060] In addition, when there are more display screens, for the physical DSI bus, the system traverses the external devices on the physical DSI bus to determine whether any external devices are connected; if so, for example, display screen 1 is connected, display screen 1 is abstracted and registered with the system device framework; after the physical DSI bus traversal is completed, continue to determine whether there is a virtual DSI bus, if so, traverse the external devices on the virtual DSI bus to determine whether any external devices are connected, if so, for example, display screen 2, display screen 3... and display screen n are connected, then display screen 2, display screen 3... and display screen n are abstracted and registered with the system device framework.
[0061] For S3, refer to Figure 7 As shown, the display screen can be logically operated first. For example, sleep, turn off the screen, wake up, light up, switch refresh rate, change color mode, etc. It can be understood that logical operations can be realized on both the physical DSI bus and the virtual DSI bus, and there is no need to operate the switch at this time. Afterwards, determine whether to read and write data. If necessary, first determine whether the physical path (that is, whether the display screen is connected to the physical DSI bus) is connected. If it is connected, data can be read and written directly; if not, the display screen is connected to the physical DSI bus through the switch, and then read and write are performed.
[0062] In summary, the multi-screen connection structure, multi-screen connection system and display method proposed in the present invention have the following advantages:
[0063] By connecting at least two display screens to one physical DSI bus through a switching switch; and logically controlling the corresponding display screens through one physical DSI bus and each virtual DSI bus of at least one virtual DSI bus, it is possible to support multiple display screens by configuring only one DSI (i.e., only one physical DSI bus is required), thereby avoiding structural redundancy and reducing hardware complexity.
[0064] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A multi-screen connection structure, characterized in that: It comprises at least two display screens, and the at least two display screens are connected to a physical DSI bus through a switch.
2. The multi-screen connection structure according to claim 1, characterized in that: The physical DSI bus includes 4 lanes.
3. A multi-screen connection system, characterized in that: It includes the multi-screen connection structure as described in claim 1 or 2, and also includes at least one virtual DSI bus, and each of the physical DSI bus and the at least one virtual DSI bus logically controls the corresponding display screen respectively.
4. The multi-screen connection system according to claim 3, characterized in that: The logically controlling the corresponding display screen includes: writing the operating parameters into the DDIC register of the corresponding display screen.
5. The multi-screen connection system according to claim 4, characterized in that: The working parameters include switching the refresh rate, lighting the screen, turning off the screen, and changing the color mode.
6. The multi-screen connection system according to claim 3, characterized in that: When data is read or written, it is performed through the physical DSI bus.
7. The multi-screen connection system according to claim 3, characterized in that: The one physical DSI bus and the at least one virtual DSI bus are both registered in the bus controller.
8. The multi-screen connection system according to claim 7, characterized in that: It also includes a host layer and external devices, wherein the external devices are connected to the host layer through a bus.
9. The multi-screen connection system according to claim 8, characterized in that: The host layer includes a CPU, power management, memory and the bus controller; the external devices include a camera, a sensor and the display screen.
10. The multi-screen connection system according to claim 8, characterized in that: The buses include an I2C bus, an I2S bus, an SPI bus, a DSI bus and a CSI bus.
11. A display method for a multi-screen connection system, characterized in that: The multi-screen connection system includes at least two display screens, one physical DSI bus and at least one virtual DSI bus, wherein the at least two display screens are connected to the one physical DSI bus via a switch, and each of the one physical DSI bus and the at least one virtual DSI bus logically controls the corresponding display screen, and the display method includes: Bus controller initialization; Registering the at least two display screens connected to the physical DSI bus and the at least one virtual DSI bus; When a display screen needs to perform a read / write operation, it is determined whether the display screen is connected to the physical DSI bus. If so, reading / writing is performed. If not, the display screen is connected to the physical DSI bus through the switching switch, and then reading / writing is performed.
12. The method according to claim 11, characterized in that After the at least two display screens are registered and before a display screen needs to perform a read / write operation, the method further includes: Performing logical operations on the display screen.
