Double-screen display switching method based on single MIPI DSI signal channel
By adding MIPI switches between the CPU and dual display screens of the mobile terminal and combining software-level control, dual-screen display switching of a single MIPI DSI signal channel is achieved, solving the problem that high-end CPUs need to provide two display hardware channels in the existing technology, reducing hardware costs and expanding the application range.
Patent Information
- Application Number
- CN202411757207.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-25
AI Technical Summary
In the prior art, dual-screen display requires high-end CPU to provide two display hardware channels, resulting in excessive hardware cost, limiting the application promotion of dual-screen display technology in mid- and low-end products.
By adding a MIPI switch between the CPU and the dual display screen of the mobile terminal, it is used to switch MIPI signals to different screens, monitor the folded state of the dual screen, report the switched screen status, control the display application layer and the driver layer to switch the corresponding image resources and drivers, and finally switch the MIPI signal path through the MIPI switch to realize the dual-screen display switching of a single MIPI DSI signal channel.
It reduces the requirements for CPU hardware performance, reduces hardware costs, realizes the dual-screen display function of mid- and low-end products, and expands the application possibility of dual-screen display technology on mid- and low-end smart terminals.
Smart Images

Figure CN119690364A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent terminals, and in particular to a dual-screen display switching method based on a single MIPI DSI signal channel. Background Art
[0002] With the rapid development of mobile terminal technology, users' demands for display functions are becoming increasingly diversified, and dual-screen display technology has emerged. In the existing technology, the realization of dual-screen display usually requires the CPU side of the mobile terminal to be equipped with two independent display hardware channels, that is, using dual MIPI (Mobile Industry Processor Interface) data channels, each data channel is connected to a display screen, and the software side can independently control and display the two displays. This configuration is usually only found in high-end products because it requires the use of high-end CPUs with dual display hardware channels.
[0003] In the prior art, dual-screen display must rely on the technical solution of a high-end CPU to provide two display hardware channels, which leads to a significant increase in product hardware costs and limits the application and promotion of dual-screen display technology in mid- and low-end products.
[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0005] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a dual-screen display switching method based on a single MIPI DSI signal channel is provided. The present invention provides a dual-screen display device and method based on a single MIPI DSI signal channel of the MTK platform, aiming to solve the problem in the prior art that dual-screen display requires a high-end CPU to provide two display hardware channels. The present invention realizes the use of a single MIPI DSI channel to support dual-screen display through an innovative combination of software and hardware, thereby reducing the requirements for CPU hardware performance and further reducing hardware costs.
[0006] The present application discloses a dual-screen display switching method, device, intelligent terminal and computer-readable storage medium based on a single MIPI DSI signal channel, which has the advantages of reducing hardware costs and realizing the dual-screen display function of mid- and low-end products.
[0007] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0008] This application provides a dual-screen display switching method based on a single MIPI DSI signal channel, and the technical solution is as follows:
[0009] A MIPI switch is added between the CPU and the dual display screens of the mobile terminal to switch the MIPI signal to different screens; the folding state of the dual screens of the mobile terminal is monitored, and when it is detected that the display screen needs to be switched, the switched screen state is reported; the display application layer is controlled to switch the image resources suitable for the current switched screen resolution according to the switched screen state; the display driver layer is controlled to switch to the screen driver corresponding to the current switching; the MIPI switch is controlled to switch the MIPI signal path to switch the MIPI signal to the target screen.
[0010] Furthermore, the present application also proposes that before the step of adding a MIPI switch between the CPU and the dual display screens of the mobile terminal, the step includes: pre-setting a dual-screen processing service APP for monitoring the folding state of the dual screens of the mobile terminal and controlling the switching process.
[0011] Furthermore, the present application also proposes that before the step of adding a MIPI switch between the CPU of the mobile terminal and the dual display screens, the step includes: pre-modifying the driver layer of the mobile terminal to support mounting two display screen drivers at the same time, and switching the activated driver as needed.
[0012] Furthermore, the present application also proposes that the step of monitoring the folding state of the dual-screen of the mobile terminal and reporting the switched screen state when it is detected that the display screen needs to be switched includes: monitoring the folding state of the dual-screen of the mobile terminal, and determining whether the mobile terminal is currently in a folded state or a flipped open state; when it is detected that the mobile terminal is currently in a folded state and needs to be switched to a flipped open state, or when it is detected that the mobile terminal is currently in a flipped open state and needs to be switched to a folded state, a signal that the display screen needs to be switched is generated; when a signal that the display screen needs to be switched is detected, the switched screen state is reported.
[0013] Furthermore, the present application also proposes that the step of controlling the MIPI switch to switch the MIPI signal path and switching the MIPI signal to the target screen includes: when the MIPI signal is switched to the target screen, the app end is controlled to start sending pictures, and the screen display switching is completed.
[0014] Furthermore, the present application also proposes that the control of the display application layer to switch the image resources suitable for the current switching screen resolution according to the switched screen state includes: controlling the display application layer to switch the image resources suitable for the current switching screen resolution according to the switched screen state; wherein the image resources include: a first image resource corresponding to the first screen, and a second image resource corresponding to the second screen.
[0015] Furthermore, the present application also proposes that controlling the display driver layer to switch to the screen driver corresponding to the current switch includes: controlling the display driver layer to switch to the screen driver corresponding to the current switch, wherein the screen driver includes: a first screen driver corresponding to the first screen, and a second screen driver corresponding to the second screen.
[0016] Furthermore, the present application also proposes a dual-screen display switching device based on a single MIPI DSI signal channel, comprising: a mobile terminal CPU, and a first screen and a second screen; and also comprising: a MIPI switch; the input end of the MIPI switch is connected to the CPU, the first output end of the MIPI switch is connected to the first screen, and the second output end of the MIPI switch is connected to the second screen, and the MIPI switch is used to switch the MIPI signal to different screens; the dual-screen display switching device uses the above-mentioned dual-screen display switching method based on a single MIPI DSI signal channel to switch the display.
[0017] Furthermore, the present application also proposes an intelligent terminal, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, including for executing the above-mentioned method.
[0018] Furthermore, the present application also proposes a computer-readable storage medium, which enables the electronic device to perform the above method when instructions in the storage medium are executed by a processor of an electronic device.
[0019] As can be seen from the above, the present application provides a dual-screen display switching method, device, intelligent terminal and computer-readable storage medium based on a single MIPI DSI signal channel, which adds a MIPI switch between the CPU and the dual display screens of the mobile terminal to switch the MIPI signal to different screens; monitors the folding state of the dual screens of the mobile terminal, and reports the switched screen state when it is detected that the display screen needs to be switched; controls the display application layer to switch image resources suitable for the current switched screen resolution according to the switched screen state; controls the display driver layer to switch to the screen driver corresponding to the current switching; controls the MIPI switch to switch the MIPI signal path, and switches the MIPI signal to the target screen. By adding a MIPI switch between the CPU and the dual display screens, dual-screen display switching of a single MIPI DSI signal channel is realized, which solves the problem in the prior art that dual-screen display must rely on a high-end CPU to provide two display hardware channels, and has the advantages of reducing hardware costs and realizing dual-screen display functions for mid- and low-end products.
[0020] The dual-screen display switching method based on a single MIPI DSI signal channel provided by the present invention adds a MIPI switch between the CPU and the display screen to switch the MIPI signal to different screens; when the sensor detects that the display screen needs to be switched (such as when the mobile phone is folded or flipped), a series of software and hardware collaborative operations will be triggered. First, the application layer switches the image resources suitable for the new screen resolution. Then, the driver layer switches to the corresponding screen driver. Finally, by controlling the MIPI switch, the MIPI signal is switched to the target screen. This method ensures that only one screen is activated at any time, thereby achieving the goal of supporting dual-screen display with a single MIPI channel.
[0021] The present invention utilizes software-level control and hardware-level MIPI switches to achieve dual-screen switching without relying on high-end CPUs with dual MIPI channels. This not only reduces hardware costs, but also expands the application possibilities of dual-screen display technology on mid- and low-end smart terminals. It reduces CPU hardware performance requirements and reduces CPU configuration compared to the original dual-screen solution, so that mid- and low-end CPUs can also implement dual-screen solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 It is a schematic diagram of the connection structure of dual mipi data channels in the CPU hardware end of the prior art mobile phone.
[0024] Figure 2 It is a structural schematic diagram of a dual-screen display switching device based on a single MIPI DSI signal channel according to an embodiment of the present invention.
[0025] Figure 3 It is a flowchart of a dual-screen display switching method based on a single MIPI DSI signal channel provided in Example 1 of the present invention.
[0026] Figure 4 It is a flowchart of a dual-screen display switching method based on a single MIPI DSI signal channel provided in Example 2 of the present invention.
[0027] Figure 5 It is a schematic diagram of the internal processing flow of the dual-screen display switching method based on a single MIPI DSI signal channel provided in Example 3 of the present invention.
[0028] Figure 6It is a block diagram of the internal structure principle of the intelligent terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0030] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0031] With the development of mobile phone technology, screen display requirements are constantly changing and updating to meet customer needs. Mobile phone dual-screen display technology has also emerged. Usually, in order to support dual-screen display, the mobile phone CPU needs to provide two display hardware channels, such as Figure 1 As shown, the mobile phone CPU hardware end has dual MIPI data channels, and each data channel is mounted with a display screen to connect to different screens respectively. The corresponding software end can display them separately. Generally, only higher-end products will provide two display hardware channels.
[0032] Because the CPU hardware of low-end and mid-range smart terminals only has one set of mipi signals, the software side can only display one screen. Taking the MTK mobile phone CPU chip MT6789 as an example, the chip side only has one set of mipi dsi image display hardware channels, and the original solution can only support the normal operation of one display. If the conventional dual-screen technical solution is used, the mobile phone CPU chip needs to be replaced, such as MT6878. The hardware cost of MT6878 will increase significantly compared to MT6789.
[0033] That is, the dual-screen display in the prior art requires a high-end CPU to provide two display hardware channels, which easily leads to the problem of excessively high hardware costs. In order to reduce hardware costs, this application proposes a dual-screen display switching method based on a single MIPI DSI signal channel.
[0034] Among them, MIPI (Mobile Industry Processor Interface) is a high-performance, low-power, and low-cost serial communication interface developed by the Mobile Industry Processor Interface Alliance (MIPI Alliance).
[0035] MIPI DS1: Used to connect the display screen and processor, providing high-bandwidth serial data transmission, mainly used for the display screens of mobile devices such as mobile phones and tablets.
[0036] MIPI switch: realizes one mipi signal input and two mipi signal output, and can manage and control two output interfaces.
[0037] MIPI switch is a processor interface switch in the mobile industry. The full Chinese name of DSI (Display Serial Interface) signal is display serial interface signal.
[0038] Specifically, Figure 3 As shown, a dual-screen display switching method based on a single MIPI DSI signal channel provided by an embodiment of the present invention includes the following steps:
[0039] S100. Add a MIPI switch between the CPU and the dual display screens of the mobile terminal to switch the MIPI signal to different screens.
[0040] Specifically, Figure 2 As shown, the embodiment of the present invention can be implemented in a low- to mid-end mobile terminal, connecting the MIPI1 interface of a low- to mid-end performance CPU to the input end of a MIPI switch, connecting the first output end MIPI1 of the MIPI switch to the first display screen 1, and connecting the second output end MIPI1 of the MIPI switch to the second display screen 2, for switching the MIPI signal to different screens according to screen switching requirements through the MIPI switch.
[0041] In the embodiment of the present invention, the MIPI interface is a high-bandwidth, low-power serial data transmission standard. The functions of the MIPI switch include:
[0042] Signal selection: When the device needs to switch screens, the MIPI signal can be switched between different displays. This means that through the MIPI switch, the CPU can choose to send the image signal to the main display or the secondary display.
[0043] Reduced complexity: By using switches, there is no need to design and connect a MIPI interface for each display, simplifying design and layout.
[0044] Save resources: When a display is not in use, power consumption can be reduced, extending battery life.
[0045] S200: By monitoring the folding state of the dual screens of the mobile terminal, when it is detected that the display screen needs to be switched, the switched screen state is reported.
[0046] In the embodiment of this step, the mobile terminal such as a foldable mobile phone has different working modes, such as a single screen mode and a dual screen mode. The sensor or software function for monitoring the folding state can determine in real time whether the device is in an unfolded (dual screen) state or a folded (single screen) state.
[0047] When users are in different usage scenarios, such as browsing the web, watching videos, or performing multitasking operations, they may need to quickly switch the displayed content of the screen. In the folded state, users may want to switch the content from the main screen to the secondary screen, or vice versa, to meet different operating needs.
[0048] In an embodiment of the present invention, once the monitoring system detects that the user needs to switch the display screen, it will automatically report the status of the switched screen. Specifically, with respect to status detection, the change in the folded or unfolded state can be detected by a sensor or a software algorithm to confirm the user's intention. With respect to the reporting mechanism, the status information can be sent to a processing unit, such as a CPU or system software, in order to perform corresponding operations. With respect to executing the switch, after receiving the status report, the present invention will start the switching process to transfer the currently displayed content from one screen to another.
[0049] In the embodiment of the present invention, by monitoring the folding state, detecting the switching demand and reporting the state, the mobile terminal can respond to the user's operation intention more intelligently and improve the user experience. This technology is particularly important in the flexible use of dual-screen devices, ensuring that users can fully utilize the advantages brought by the two screens.
[0050] S300 , controlling the display application layer to switch image resources suitable for the currently switched screen resolution according to the switched screen state.
[0051] In the embodiment of the present invention, the application layer monitors the state of the current display screen in real time (for example, whether it is in full screen mode, folded state or unfolded state). According to the resolution and ratio of the current screen, the system needs to determine which display mode needs to be switched to.
[0052] Based on the monitored screen status, the application layer will select image resources that match the current display mode. Image resources may include preset versions of multiple resolutions and sizes so that they can be switched according to actual needs.
[0053] The application layer then presents the selected image resource on the interface, ensuring that the image is clear and fully adapted to the current screen resolution. This may involve scaling, cropping, or other processing operations on the image to ensure the best visual effect.
[0054] In this step, by adapting image resources of different resolutions, it can ensure that users always get the best visual effect in different screen states. Clear images can enhance the user's viewing experience.
[0055] And switching image resources of corresponding resolution according to the current screen status can effectively reduce the occupation of system resources and improve the fluency and responsiveness of applications, especially when processing high-resolution images. And using adaptive image resources can help reduce the energy consumption required for screen operation, especially in low-resolution display mode, thereby extending the battery life of the device.
[0056] For example, Example 1: Reading application. In an e-book reading application, when the user switches the dual-screen device from a folded state to an unfolded state, the system detects the change in screen resolution.
[0057] When in folded state: The device displays a smaller screen (such as 1080x1920), and the system loads low-resolution (such as 720x1280) text and image resources to reduce memory and battery usage.
[0058] When in the expanded state: switch to two screens for simultaneous use, the resolution is increased to (2160x3840). At this time, the system loads high-resolution text and image resources to facilitate user reading and provide better visual enjoyment.
[0059] Example 2: In a video playback application:
[0060] When playing in full screen: If the user unfolds the device and watches the video, the system will select a high-definition format (such as 1080p or 4K) for playback based on the full-screen resolution to ensure the best presentation of the video effect.
[0061] When playing in a small window: When the user folds the device and switches to a small window for playback based on the size, the system may automatically select a lower resolution (such as 480p or 720p) for smooth playback to fit the smaller display area and reduce buffering time.
[0062] It can be seen that the present invention can effectively improve user experience, optimize resource utilization, and bring better visual effects and longer battery life by controlling the display application layer to select image resources with suitable screen resolution according to the switched screen state. This intelligent switching mechanism is the key to the success of modern dual-screen devices.
[0063] S400, controlling the display driver layer to switch to the screen driver corresponding to the current switching, controlling the MIPI switch to switch the MIPI signal path, and switching the MIPI signal to the target screen.
[0064] In this step, the display driver layer is responsible for transmitting image data to specific display hardware (such as a screen). When the user switches the screen state (such as switching from the main screen to the secondary screen or from the folded state to the unfolded state), the display driver layer needs to load the driver corresponding to the target screen.
[0065] Involves initializing the new driver to ensure that the new display can present content correctly, such as setting the refresh rate, resolution, color profile, etc.
[0066] In this step, the MIPI switch controls the signal path: specifically, the MIPI switch connects the CPU and multiple display screens and is responsible for controlling the data flow. At this time, by switching the MIPI switch, the MIPI signal path is adjusted to the target screen. When the user chooses to switch the display screen, the MIPI switch receives the control instruction and switches the data transmission path from the current screen to the target screen, thereby realizing the corresponding display output.
[0067] It can be seen that the switching mechanism of the embodiment of the present invention enables the mobile device to flexibly respond to different display requirements, and the user can freely choose which screen to use in a variety of scenarios, thereby improving the user experience. By accurately switching to the corresponding driver, it is ensured that the device can fully utilize the hardware performance and avoid display problems or performance degradation caused by incorrect configuration. By switching the signal path when necessary and activating only the currently used screen, it helps to reduce battery consumption and extend the use time of the device.
[0068] For example, taking a game app as an example, when a user uses a dual-screen device in the game:
[0069] About switching the driver layer: When the user changes the device from folded mode to unfolded mode, the display driver layer will switch to the driver designed for the external screen (such as the secondary screen) to support the widescreen mode.
[0070] About MIPI signal switching: The MIPI switch will also switch the signal to the secondary screen to ensure smooth playback of the game screen on the secondary screen, so that users can view game data and battle screens at the same time to enhance the gaming experience.
[0071] It can be seen that the present invention controls the display driver layer and the switching of the MIPI switch to achieve efficient image display in different screen states. Such steps greatly improve the flexibility and user experience of the device, while optimizing performance and battery efficiency. In modern smart devices, especially in dual-screen and folding devices, this mechanism is crucial.
[0072] The present application solves the problem in the prior art that dual-screen display requires a high-end CPU to provide two display hardware channels, and realizes dual-screen display switching based on a single MIPI DSI signal channel by adding a MIPI switch between the CPU and the dual display screens of the mobile terminal.
[0073] When implementing the above method, key terms include MIPI switch, display application layer, display driver layer, etc. The MIPI switch is used to switch MIPI signals between the CPU and the dual display screens of the mobile terminal. The display application layer is responsible for switching image resources suitable for the current screen resolution according to the switched screen state. The display driver layer is responsible for switching to the driver corresponding to the current screen.
[0074] like Figure 2 As shown, by adding a MIPI switch between the CPU and the dual display screens of the mobile terminal, dual-screen display switching based on a single MIPI DSI signal channel can be achieved. Monitor the dual-screen folding state of the mobile terminal, and report the switched screen state when it is detected that the display screen needs to be switched. Control the display application layer to switch the image resources suitable for the current switched screen resolution according to the switched screen state. Control the display driver layer to switch to the screen driver corresponding to the current switching, control the MIPI switch to switch the MIPI signal path, and switch the MIPI signal to the target screen.
[0075] Compared with the prior art, this application realizes dual-screen display switching based on a single MIPI DSI signal channel by adding a MIPI switch between the CPU and the dual display screens of the mobile terminal, thereby reducing hardware costs. In the prior art, dual-screen display requires a high-end CPU to provide two display hardware channels, while this application only requires a single MIPI DSI signal channel to realize dual-screen display switching, reducing dependence on high-end CPUs and reducing hardware costs.
[0076] In the specific implementation process, when it is detected that the display screen needs to be switched, the folding state of the dual screens of the mobile terminal is first monitored, and the switched screen state is reported. Then, the display application layer is controlled to switch the image resources suitable for the current switched screen resolution according to the switched screen state. Next, the display driver layer is controlled to switch to the screen driver corresponding to the current switch. Finally, the MIPI switch is controlled to switch the MIPI signal path and switch the MIPI signal to the target screen. Through the above steps, dual-screen display switching based on a single MIPI DSI signal channel is realized, which effectively solves the problem of high hardware cost in the prior art.
[0077] Furthermore, the present application also proposes to pre-set a dual-screen processing service APP for monitoring the dual-screen folding state of the mobile terminal and controlling the switching process.
[0078] In the prior art, dual-screen display requires a high-end CPU to provide two display hardware channels, which easily leads to the problem of excessively high hardware costs. This application solves this problem by adding a MIPI switch between the CPU and the dual display screens of the mobile terminal. Specifically, before adding the step of setting the MIPI switch, a dual-screen processing service APP is pre-set to monitor the folding state of the dual screens of the mobile terminal and control the switching process. In this way, when it is detected that the display screen needs to be switched, the switched screen status can be reported in time, thereby realizing the switching of the display screen.
[0079] The setting of the dual-screen processing service APP can be implemented in a variety of ways. For example, the APP can be built into the operating system of the mobile terminal (such as Figure 5 The dual-screen processing service APP shown in the figure) can be installed in the mobile terminal through software update. The APP monitors the folding state of the dual screen in real time by calling the sensor interface of the mobile terminal. When the folding state of the dual screen is detected to change, the APP will control the MIPI switch to switch the MIPI signal path according to the preset switching process, and report the switched screen status.
[0080] Therefore, this application realizes real-time monitoring and control of the folding state of the dual screen by adding a dual screen processing service APP, effectively solving the problem of requiring a high-end CPU to provide two display hardware channels in the prior art, and reducing hardware costs. Furthermore, the technical solution of this application simplifies the implementation of dual screen display, allowing mid-end and even low-end mobile terminals to support dual screen display functions, improving user experience.
[0081] Furthermore, the present application also proposes to modify the driver layer of the mobile terminal so that it supports mounting two display screen drivers at the same time and can switch the activated driver as needed.
[0082] The technical solution of this application aims to solve the problem in the prior art that dual-screen display requires high-end CPU to provide two display hardware channels, resulting in excessively high hardware costs. By making modifications to the driver layer of the mobile terminal, it supports mounting two display drivers at the same time and switching the activated driver as needed, dual-screen display switching can be achieved while maintaining a single MIPI DSI signal channel, thereby reducing hardware costs.
[0083] Specifically, when implementing the technical solution of this application, it can be achieved through the following steps:
[0084] Modify the driver layer of the mobile terminal so that it can mount two display screen drivers at the same time. This can be achieved by adding support code for the second display screen driver in the driver layer.
[0085] When the active driver needs to be switched, the driver layer can select the appropriate display driver according to the current screen state and switch. This can be achieved by adding switching logic in the driver layer. When it is detected that the display needs to be switched, the driver layer will select the corresponding display driver according to the current screen state.
[0086] Therefore, by modifying the driver layer of the mobile terminal to support mounting two display screen drivers at the same time and being able to switch the activated driver as needed, dual-screen display switching can be achieved under existing hardware conditions, reducing hardware costs. Compared with the prior art, the technical solution of the present application does not require a high-end CPU to provide two display hardware channels, and has higher economy and practicality.
[0087] Furthermore, the present application also proposes that the step of monitoring the folding state of the dual screens of the mobile terminal and reporting the switched screen state when it is detected that the display screen needs to be switched includes:
[0088] Monitor the folding state of the dual screens of the mobile terminal to determine whether the mobile terminal is currently in a folded state or a flipped open state;
[0089] When it is detected that the mobile terminal is currently in a folded state and needs to be switched to a flipped open state, or when it is detected that the mobile terminal is currently in a flipped open state and needs to be switched to a folded state, a display screen switching signal is generated;
[0090] When a display screen switching signal is detected, the screen status to be switched is reported.
[0091] This application determines whether the display screen needs to be switched by monitoring the dual-screen folding state of the mobile terminal, and reports the switched screen state when a signal that the display screen needs to be switched is detected. Specifically, first monitor the dual-screen folding state of the mobile terminal to determine whether it is currently in a folded state or a flipped open state. When it is detected that the mobile terminal is in a folded state and needs to be switched to a flipped open state, or when it is detected that the mobile terminal is in a flipped open state and needs to be switched to a folded state, a signal that the display screen needs to be switched is generated. Subsequently, when a signal that the display screen needs to be switched is detected, the switched screen state is reported.
[0092] The implementation of this technical solution may include using a sensor or software algorithm to monitor the folding state of the mobile terminal, and judging whether the display screen needs to be switched based on the monitoring result. For example, an angle sensor may be provided at the hinge of the mobile terminal to judge the current folding state by detecting the angle of the hinge. Alternatively, a software algorithm may be used to analyze the usage of the mobile terminal and the screen display content to judge whether the display screen needs to be switched.
[0093] Compared with the prior art, the advantage of this application is that it can automatically determine whether the display screen needs to be switched by monitoring the dual-screen folding state of the mobile terminal, thereby improving the intelligence of the dual-screen display switching, reducing the user's operation steps, and improving the user experience. In addition, through reasonable sensor layout and software algorithm design, efficient and accurate folding state monitoring and display screen switching can be achieved, improving the reliability and response speed of the system.
[0094] Furthermore, the present application also proposes that when the MIPI signal is switched to the target screen and the switching is completed, the control app starts sending pictures and the screen display is switched.
[0095] The technical solution of the present application is to add a MIPI switch between the CPU and the dual display screens of the mobile terminal to switch the MIPI signal to different screens. The driver layer of the mobile terminal is modified in advance to support mounting two display screen drivers at the same time, and the activated driver can be switched as needed. Monitor the folding state of the dual screens of the mobile terminal, and report the switched screen state when it is detected that the display screen needs to be switched. Control the display application layer to switch the image resources suitable for the current switched screen resolution according to the switched screen state. Control the display driver layer to switch to the screen driver corresponding to the current switch, control the MIPI switch to switch the MIPI signal path, and switch the MIPI signal to the target screen.
[0096] When the MIPI switch is controlled to switch the MIPI signal path and the MIPI signal is switched to the target screen, when the MIPI signal is switched to the target screen, the app is controlled to start sending images and the screen display is switched. Specifically, when it is detected that the display needs to be switched, the system will first control the MIPI switch to switch the signal path and switch the MIPI signal to the target screen. Then, the app starts to send image data to the target screen to ensure that the content displayed on the screen can be updated in time. As a result, the entire switching process can be carried out smoothly and the user experience is improved.
[0097] Through the above technical solution, this application solves the problem in the prior art that dual-screen display requires high-end CPU to provide two display hardware channels, which easily leads to excessively high hardware costs. By adding a MIPI switch between the CPU and the dual display screens of the mobile terminal and coordinating the control at the software level, dual-screen display switching of a single MIPI DSI signal channel is realized, which reduces hardware costs and improves the flexibility and adaptability of the system.
[0098] Furthermore, the present application also proposes that Figure 5 As shown, the display application layer is controlled to switch image resources suitable for the current switched screen resolution according to the switched screen state, wherein the image resources include a first image resource corresponding to the first screen and a second image resource corresponding to the second screen.
[0099] In this solution, the control display application layer switches the image resources suitable for the current screen resolution according to the switched screen state. Specifically, when the mobile terminal detects that the display screen needs to be switched, the display application layer selects and loads the image resources that match the screen resolution according to the current screen state. This ensures that the image is displayed best on different screens, and the user experience is not affected by resolution mismatch.
[0100] The switching of image resources can be achieved in many ways. For example, image resources of different resolutions can be pre-stored in the display application layer. When the screen is switched, the application layer loads the corresponding image resources according to the currently activated screen resolution. Furthermore, the resolution of image resources can be dynamically adjusted to ensure that the image can achieve the best display effect on different screens. For example, when switching from a high-resolution screen to a low-resolution screen, the image resources can be adjusted to a size suitable for the low-resolution screen through image scaling technology.
[0101] This application solves the problem in the prior art that dual-screen display requires a high-end CPU to provide two display hardware channels by controlling the display application layer to switch image resources suitable for the current screen resolution. This not only reduces hardware costs, but also improves the user experience during the dual-screen display switching process. Compared with the prior art, this application provides a more economical and efficient dual-screen display switching method.
[0102] Furthermore, if Figure 5 As shown, the present application also proposes controlling the display driver layer to switch to a screen driver corresponding to the current switch, wherein the screen driver includes a first screen driver corresponding to the first screen and a second screen driver corresponding to the second screen.
[0103] The technical solution is to add a MIPI switch between the CPU and the dual display screens of the mobile terminal to switch the MIPI signal to different screens, monitor the folding state of the dual screens of the mobile terminal, and report the switched screen state when it is detected that the display screen needs to be switched. The display application layer is controlled to switch the image resources suitable for the current switched screen resolution according to the switched screen state, and the display driver layer is controlled to switch to the corresponding screen driver currently switched, and finally the MIPI switch is controlled to switch the MIPI signal path and switch the MIPI signal to the target screen.
[0104] The step of controlling the display driver layer to switch to the screen driver corresponding to the current switch can be implemented in the following ways. For example, the current active screen can be automatically identified through software programming, and the corresponding screen driver can be switched according to the state of the active screen. At the same time, the switching of the screen driver can also be automatically triggered by hardware design when a change in the screen state is detected. In addition, the user can manually select to switch to the corresponding screen driver through the operation interface when the screen needs to be switched.
[0105] This application realizes dual-screen display switching under a single MIPI DSI signal channel by adding a MIPI switch between the CPU and the dual display screens of the mobile terminal and controlling the display driver layer to switch to the screen driver corresponding to the current switching. Compared with the prior art, this application does not require a high-end CPU to provide two display hardware channels, thereby reducing hardware costs, while also simplifying the implementation of dual-screen display and improving the flexibility and adaptability of the system.
[0106] Furthermore, if Figure 2 As shown, the present application also proposes a dual-screen display switching device based on a single MIPI DSI signal channel, including a mobile terminal CPU, and a first screen and a second screen; also including a MIPI switch; the input end of the MIPI switch is connected to the CPU, the first output end of the MIPI switch is connected to the first screen, and the second output end of the MIPI switch is connected to the second screen, and the MIPI switch is used to switch the MIPI signal to different screens; the dual-screen display switching device uses a dual-screen display switching method based on a single MIPI DSI signal channel to switch the display.
[0107] This technical solution realizes the switching of MIPI signals between different screens by adding a MIPI switch between the CPU and the dual display screens of the mobile terminal. By monitoring the dual-screen folding state of the mobile terminal, when it is detected that the display screen needs to be switched, it can report the switched screen state, control the display application layer to switch the image resources suitable for the current screen resolution according to the switched screen state, control the display driver layer to switch to the driver corresponding to the current screen, and control the MIPI switch to switch the MIPI signal path, and switch the MIPI signal to the target screen.
[0108] The new technical features of the device are mainly reflected in the setting of a MIPI switch, which is used to realize the switching of dual-screen display under the condition of a single MIPI DSI signal channel. Specifically, the input end of the MIPI switch is connected to the CPU, the first output end is connected to the first screen, and the second output end is connected to the second screen. The switching of the MIPI switch realizes the switching of MIPI signals between different screens. This implementation method not only reduces the dependence on high-end CPUs and reduces hardware costs, but also meets the needs of dual-screen display.
[0109] It can be seen that the present application solves the problem in the prior art that dual-screen display requires a high-end CPU to provide two display hardware channels by adding a MIPI switch on the basis of a single MIPI DSI signal channel, thereby reducing hardware costs while still being able to achieve the dual-screen display function.
[0110] The present invention can be implemented in a variety of ways. For example, the MIPI switch can adopt the existing electronic switch technology, the monitoring of the dual-screen folding state can be achieved by sensors, and the control of the display application layer and the driver layer can be achieved through software programming.
[0111] The advantage of the technical solution of the present application over the prior art is that, by adding a MIPI switch and related control methods, dual-screen display switching based on a single MIPI DSI signal channel is realized, avoiding the problem of requiring a high-end CPU to provide two display hardware channels, thereby reducing hardware costs and improving the popularity and application scope of dual-screen display technology.
[0112] In another embodiment of the present invention, Figure 4 As shown, the dual-screen display switching method based on a single MIPI DSI signal channel of the present application also proposes the following steps:
[0113] Steps for generating screen switching instructions: monitor the status of the mobile phone through a sensor, and when it is detected that the display screen needs to be switched (such as when the mobile phone is folded or flipped), generate a screen switching instruction and notify the system application service program.
[0114] Android application layer processing steps: The application app developed for the current dual-screen solution has the main functions of monitoring the status of the mobile phone, switching image resources, and notifying the driver layer to switch display hardware.
[0115] Android driver layer processing steps: modify the original solution (only one display driver can be mounted) and mount two display drivers at the same time. The main function is to switch the display driver and switch the hardware display connection status.
[0116] Image resource switching steps: In the dual-screen solution, the physical resolutions of the two screens are different, usually one is high resolution and the other is low resolution, and different resolutions correspond to different image resources.
[0117] Connecting screen switching steps: In the embodiment of the present application, there is only one mipi dsi display signal output, and two display screen hardware are connected through a mipi switch. The screen hardware to be connected is distinguished by operating the mipi switch, and only one screen hardware can be connected at the same time.
[0118] Screen driver switching steps: Each display hardware corresponds to a display driver, and the operation of the display hardware depends on the operation of the driver.
[0119] In another embodiment of the present invention, Figure 5 As shown, taking the Android system as an example, the dual-screen display switching method based on a single MIPIDSI signal channel of the present application also proposes the following steps:
[0120] S1, sensor monitors the status of the mobile phone and sends a signal to the application APP service (dual-screen processing service APP);
[0121] S2. The dual-screen processing service APP determines which display screen needs to be switched to according to the sensor status. The image resource is switched first, and then the kernel driver layer (the Android driver layer in this embodiment) is notified to switch the hardware connection status.
[0122] S3. The kernel driver switches the MIPI switch state according to the notification information of the dual-screen processing service APP, and switches the running screen driver.
[0123] S4. After the drive logic is switched, the dual-screen processing service APP starts sending images, and the screen display is switched.
[0124] The embodiment of the present invention uses a mid-to-low-end mobile phone chip (only supports single-screen display), adds a MIPI path switching switch (MIPI switch) on the hardware side, connects two different screens, develops a screen switching APP on the Android application layer on the software side, and realizes compatibility of screen drivers with different resolutions on the driver side, thereby realizing a low-cost dual-screen display solution.
[0125] Based on the above embodiments, the present invention further provides an intelligent terminal, whose principle block diagram can be shown as follows: Figure 6 As shown. The intelligent terminal includes a processor, a memory, a network interface, a display screen, and a database connected through a system bus. Among them, the processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the intelligent terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a dual-screen display switching method based on a single MIPI DSI signal channel is implemented. The database of the intelligent terminal is used to store a dual-screen display switching program based on a single MIPI DSI signal channel.
[0126] Those skilled in the art will understand that Figure 6The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the smart terminal to which the scheme of the present invention is applied. The specific smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0127] In one embodiment, a smart terminal is provided, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include instructions for performing the following operations:
[0128] A MIPI switch is added between the CPU and the dual display screens of the mobile terminal to switch the MIPI signal to different screens; the folding state of the dual screens of the mobile terminal is monitored, and when it is detected that the display screen needs to be switched, the switched screen state is reported; the display application layer is controlled to switch the image resources suitable for the current screen resolution according to the switched screen state; the display driver layer is controlled to switch to the screen driver corresponding to the current switching; the MIPI switch is controlled to switch the MIPI signal path, and the MIPI signal is switched to the target screen.
[0129] The memory of the smart terminal can be any type of non-volatile memory, such as flash memory, ROM, etc. One or more programs can be downloaded, pre-installed, or loaded into the memory through the network. The processor can be a single processor or a combination of multiple processors for executing programs stored in the memory. The program may include a module for monitoring the folding state of the dual screen, a module for controlling the display application layer, a module for controlling the display driver layer, and a module for controlling the MIPI switch. Furthermore, the program can be optimized and adjusted according to specific needs to improve switching efficiency and user experience.
[0130] It can be seen that the smart terminal proposed in this application implements a dual-screen display switching method based on a single MIPI DSI signal channel by storing one or more programs in a memory and executing these programs by one or more processors. Compared with the prior art, the smart terminal of this application can realize the switching of dual-screen displays without increasing the hardware cost, solving the problem of requiring a high-end CPU to provide two display hardware channels in the prior art, thereby reducing the hardware cost and improving the cost performance of the equipment.
[0131] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0132] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A dual-screen display switching method based on a single MIPIDSI signal channel, characterized in that: Also includes: Add a MIPI switch between the CPU and the dual display screens of the mobile terminal to switch the MIPI signal to different screens; Monitor the folding status of dual screens of mobile terminals, and report the status of the switched screens when it is detected that the display screens need to be switched; Control the display application layer to switch image resources suitable for the current screen resolution according to the switched screen state; Control the display driver layer to switch to the screen driver corresponding to the current switch; The MIPI switch is controlled to switch the MIPI signal path, and the MIPI signal is switched to the target screen.
2. The dual-screen display switching method based on a single MIPIDSI signal channel according to claim 1, characterized in that: The step of adding a MIPI switch between the CPU and the dual display screens of the mobile terminal includes: A dual-screen processing service APP is pre-set to monitor the dual-screen folding state of the mobile terminal and control the switching process.
3. The dual-screen display switching method based on a single MIPIDSI signal channel according to claim 2, characterized in that: The step of adding a MIPI switch between the CPU and the dual display screens of the mobile terminal includes: The driver layer of the mobile terminal is modified in advance to support mounting two display screen drivers at the same time, and the activated driver can be switched as needed.
4. The dual-screen display switching method based on a single MIPIDSI signal channel according to claim 1, characterized in that: The step of monitoring the dual-screen folding state of the mobile terminal and reporting the switched screen state when detecting that the display screen needs to be switched comprises: Monitor the folding state of the dual screens of the mobile terminal to determine whether the mobile terminal is currently in a folded state or a flipped open state; When it is detected that the mobile terminal is currently in a folded state and needs to be switched to a flipped open state, or when it is detected that the mobile terminal is currently in a flipped open state and needs to be switched to a folded state, a display screen switching signal is generated; When a display screen switching signal is detected, the screen status to be switched is reported.
5. The dual-screen display switching method based on a single MIPIDSI signal channel according to claim 3, characterized in that: The step of controlling the MIPI switch to switch the MIPI signal path and switching the MIPI signal to the target screen includes: When the MIPI signal is switched to the target screen, the control app starts sending images and the screen display is switched.
6. The dual-screen display switching method based on a single MIPIDSI signal channel according to claim 1, characterized in that: The controlling display application layer to switch the image resources suitable for the current switched screen resolution according to the switched screen state includes: The display application layer is controlled to switch image resources suitable for the current switching screen resolution according to the switched screen state; wherein the image resources include: a first image resource corresponding to the first screen, and a second image resource corresponding to the second screen.
7. The dual-screen display switching method based on a single MIPIDSI signal channel according to claim 1, characterized in that: The controlling the display driver layer to switch to the screen driver corresponding to the current switching includes: The control display driving layer switches to a screen driving corresponding to the current switching, wherein the screen driving includes: a first screen driving corresponding to the first screen, and a second screen driving corresponding to the second screen.
8. A dual-screen display switching device based on a single MIPIDSI signal channel, characterized in that: include: A mobile terminal CPU, and a first screen and a second screen; Also included: a MIPI switch; The input end of the MIPI switch is connected to the CPU, the first output end of the MIPI switch is connected to the first screen, the second output end of the MIPI switch is connected to the second screen, and the MIPI switch is used to switch the MIPI signal to different screens; The dual-screen display switching device switches the display using the dual-screen display switching method based on a single MIPIDSI signal channel as described in any one of claims 1-7.
9. An intelligent terminal, characterized in that: The device comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, and the one or more programs include being used to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as described in any one of claims 1 to 7.