Display switching method and electronic device
By maintaining the current interface screen in the electronic device under bright screen display switching conditions, and switching the interface when the display data of the second system is detected, the problem of screen flashing black when switching between dual systems is solved, and the user experience is improved.
Patent Information
- Application Number
- PCT/CN2024/084666
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-29
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-03
AI Technical Summary
In electronic devices, switching between dual systems often causes the screen to flash black, affecting the user experience. It is difficult to achieve smooth interface switching without using the existing technology.
By keeping the current interface screen unchanged when the bright screen display switching conditions are met, and switching to the second interface screen when the display data of the second system is detected, interface switching without an idle screen is achieved.
It improves the user experience, realizes smooth bright screen display switching under dual systems, and avoids the phenomenon of screen flashing to black.
Smart Images

Figure CN2024084666_03102024_PF_FP_ABST
Abstract
Description
Display switching method and electronic device
[0001] This application claims priority to the Chinese patent application filed on March 29, 2023, with application number 202310324674.6 and invention name “Display Switching Method and Electronic Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of display technology, and in particular to a display switching method and electronic device. Background Art
[0003] With the development of electronic devices, dual operating systems have gradually become a more reasonable configuration method for electronic devices. For example, smartwatches that support dual operating systems can delegate complex computing logic and visually appealing scenes to the main core system, while simpler and more limited functions are handled by the small core system. The two systems work together and switch intelligently, achieving the goal of long battery life for smartwatches.
[0004] Summary of the Invention
[0005] The present application provides a display switching method and an electronic device.
[0006] The present application discloses a display switching method, which is applied to an electronic device that supports running a first system and a second system. The method includes:
[0007] When the first system is running, the screen displays a first interface corresponding to the first system, where the first interface is the interface of the first application corresponding to the first system;
[0008] When it is determined that the bright screen display switching condition is met, the bright screen continues to display the current frame corresponding to the first interface screen; and generates indication information for bright screen display switching;
[0009] Based on the above indication information, the content displayed on the bright screen is switched from the current frame image to the second interface image, and the second interface image is the interface image of the second application corresponding to the above second system.
[0010] The present application discloses an electronic device, including:
[0011] The display module is used to display the first interface screen corresponding to the first system when the first system is running, and the first interface screen is the interface screen of the first application corresponding to the above-mentioned first system; and when it is determined that the conditions for switching the bright screen display are met, the bright screen continues to display the current frame screen corresponding to the above-mentioned first interface screen; the processing module is used to generate indication information for switching the bright screen display; the above-mentioned display module is also used to switch the content displayed on the bright screen from the current frame screen to the second interface screen based on the above-mentioned indication information, and the second interface screen is the interface screen of the second application corresponding to the above-mentioned second system.
[0012] An embodiment of the present application discloses another electronic device, including a memory, a processor, and a communication module. The memory stores a computer program, and when the computer program is executed by the processor, the electronic device implements the method described above.
[0013] An embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor in an electronic device, the electronic device implements the method described above.
[0014] The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features and advantages of the present application will be apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0016] FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present application;
[0017] FIG2 is a schematic flow chart of a display switching method provided in an embodiment of the present application;
[0018] FIG3 is a schematic diagram of a system architecture of an electronic device provided in an embodiment of the present application;
[0019] FIG4 is a schematic flow chart of another display switching method provided in an embodiment of the present application;
[0020] FIG5 is a schematic diagram of a first specific example of a system architecture of an electronic device provided in an embodiment of the present application;
[0021] FIG6 is a schematic flow chart of a first specific example of a display switching method provided in an embodiment of the present application;
[0022] FIG7 is a schematic diagram of a second specific example of the system architecture of an electronic device provided in an embodiment of the present application;
[0023] FIG8 is a schematic flowchart of a second specific example of the display switching method provided in an embodiment of the present application;
[0024] FIG9 is a schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] Glossary:
[0026] 1. Dual system: A hardware architecture based on two processor chips, with each processor running an independent operating system.
[0027] 2. MCU: Micro controller unit, used to run the small-core RTOS system. This chip has the characteristics of extremely low power consumption.
[0028] 3. AP: Application processor, which is the processor that runs the Android system.
[0029] 4. DSI: Display module control interface (display serial interface).
[0030] 5. DDIC: Display driver integrated circuit (DDIC).
[0031] 6. MIPI: mobile industry processor interface.
[0032] The technical solution in this application will be described below with reference to the accompanying drawings.
[0033] To facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first input interface and the second input interface are intended to distinguish different input interfaces and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity or execution order, and words such as "first" and "second" do not necessarily mean that they are different.
[0034] It should be noted that, in this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
[0035] In addition, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.
[0036] FIG1 shows an application scenario 100 provided by an embodiment of the present application. As shown in FIG1 , the application scenario 100 may include an electronic device 101. The electronic device 101 may support the operation of a first system and a second system, and may delegate complex computing logic and scenes with a gorgeous interface to the large core system for processing, while scenes with relatively simple functions and a relatively single function may be delegated to the small core system for processing. The two systems cooperate with each other and switch intelligently to achieve the purpose of long battery life for the smart watch. As shown in FIG1 , the electronic device 101 may include a display screen, and the display screen currently displays the second interface screen of the second application corresponding to the second system.
[0037] It should be understood that before displaying the above-mentioned second interface screen, the electronic device 101 can display the first interface screen, which is the interface screen of the first application corresponding to the first system. When it is determined that the bright screen display switching condition is met, the electronic device 101 switches the first interface screen displayed on the bright screen to the second interface screen currently displayed, thereby achieving the bright screen display switching.
[0038] However, in the process of implementing the above-mentioned bright screen display switching, the above-mentioned electronic device 101 needs to perform a screen off operation, which causes the screen to flash black, which is very easy for the user to notice, and the user experience is not good.
[0039] In view of this, an embodiment of the present application provides a display switching method and electronic device. When it is determined that the conditions for screen-on display switching are met, the electronic device can keep the current frame of the current interface screen (i.e., the first interface screen) on the screen, and when the display data corresponding to the second system is detected, the second interface screen corresponding to the second system is displayed, that is, the content displayed on the screen is switched from the current frame of the first interface screen to the second interface screen, thereby realizing screen-on display switching under dual systems. In other words, the present application can keep the current frame of the first interface screen on the screen before display switching, so that the electronic device can realize display switching without turning off the screen, thereby improving the user experience.
[0040] In order to make the purpose and technical solution of this application clearer and more intuitive, the display switching method and electronic device provided by the embodiments of this application will be described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0041] FIG2 is a schematic flow chart of a display switching method 200 provided in an embodiment of the present application. The method 200 can be applied to the application scenario 100 shown in FIG1 above, and can also be applied to other scenarios, which are not limited in the embodiment of the present application. As shown in FIG2, the method 200 may include the following steps:
[0042] S201, when a first system is running, the electronic device displays a first interface screen corresponding to the first system, where the first interface screen is an interface screen of a first application corresponding to the first system.
[0043] S202: When it is determined that the screen-lit display switching condition is met, the electronic device turns on the screen and continues to display the current frame image corresponding to the first interface image.
[0044] It should be understood that before displaying the current frame of the first interface, the electronic device can also stop refreshing the above-mentioned first interface screen displayed on the bright screen, and determine the current frame corresponding to the first interface screen; and when a display hold instruction is detected, the bright screen keeps displaying the current frame corresponding to the first interface screen until the electronic device displays the second interface screen corresponding to the second system on the bright screen.
[0045] It should also be understood that the above-mentioned bright screen display switching conditions may include the current power consumption of the electronic device meeting the power consumption threshold, detecting the application corresponding to the second system running, or detecting a preset user operation, etc. This application does not limit this.
[0046] In one possible case, the operating power consumption of the first system is greater than the operating power consumption of the second system. When it is determined that the current power consumption of the electronic device is less than the first power consumption threshold in the power consumption threshold, it is determined that the bright screen display switching condition is met. The first power consumption threshold is used to indicate the minimum power consumption for running the first system.
[0047] In another possible case, when the operating power consumption of the first system is less than the operating power consumption of the second system and it is determined that the current power consumption of the electronic device is greater than or equal to the second power consumption threshold in the power consumption threshold, it is determined that the bright screen display switching condition is met, and the second power consumption threshold is used to indicate the minimum power consumption for running the second system.
[0048] S203: The electronic device generates instruction information for switching to bright screen display.
[0049] In a possible case, the above-mentioned indication information for switching the bright screen display may be a preset level signal, and the indication information for switching the bright screen display may be used to instruct the electronic device to brightly display a screen of a system corresponding to a non-preset level signal.
[0050] Exemplarily, the preset level signal is a second level signal. When it is determined that the level signal of the first system is currently the second level signal, the electronic device may switch the display authority from the first system to the second system and display the second interface screen corresponding to the second system on the screen, so that the content displayed on the screen switches from the current frame to the second interface screen. The preset level signal may also be referred to as a low level signal.
[0051] In another possible case, the above-mentioned indication information for switching the screen display is interface information, and the indication information for switching the screen display can be used to instruct the electronic device to display a screen of a system other than the system corresponding to the above-mentioned interface information.
[0052] Exemplarily, when the first interface information corresponding to the first system is obtained, the electronic device can switch the display authority from the first system to the second system, the second system corresponds to the second interface, and the first interface is different from the second interface; and display the second interface picture corresponding to the second system on the screen, so that the content displayed on the screen is switched from the above-mentioned current frame to the above-mentioned second interface picture.
[0053] S204: Based on the instruction information, the electronic device switches the content displayed on the bright screen from the current frame to a second interface screen, where the second interface screen is an interface screen of a second application corresponding to the second system.
[0054] It should be understood that the above-mentioned first applications may be the same or different.
[0055] For example, when the operating power consumption of the first system is less than that of the second system, the application corresponding to the second system may include the first application corresponding to the first system. The first application and the second application may be the same application, that is, the second interface screen and the first interface screen may be interface screens of the same application. For example, the second interface screen may be the interface screen loaded and displayed after the current frame screen corresponding to the first interface screen. Alternatively, the first application and the second application are not the same application, and the second interface screen and the first interface screen are not interface screens of the same application.
[0056] Exemplarily, when the operating power consumption of the first system is greater than the operating power consumption of the second system, the application corresponding to the second system does not include the first application corresponding to the first system, and the first application and the second application are not the same application, that is, the second interface screen and the first interface screen are not interface screens of the same application.
[0057] In the present application, when it is determined that the conditions for screen-on display switching are met, the electronic device can keep the current frame of the current interface screen (i.e., the first interface screen) on the screen, and when the display data corresponding to the second system is detected, the second interface screen corresponding to the second system is displayed, that is, the content displayed on the screen is switched from the current frame of the first interface screen to the second interface screen, thereby realizing screen-on display switching under dual systems. In other words, the present application can keep the current frame of the first interface screen on the screen before display switching, so that the electronic device can realize display switching without turning off the screen, thereby improving the user experience.
[0058] It should be understood that the electronic devices involved in the embodiments of the present application may be mobile phones, watches, laptops, PDAs, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, personal digital assistants (PDAs), etc., and the embodiments of the present application are not limited to this.
[0059] FIG3 is a schematic diagram of a system architecture of an electronic device 300 provided in an embodiment of the present application. As shown in FIG3 , the electronic device 300 includes a first processor 301, a second processor 302, a display module 303, and a power supply 304. The first processor 301 can run a first system and send display data corresponding to the first system to the display module 303; the second processor 302 can be used to run a second system (i.e., a dual-core dual system) and send display data corresponding to the second system to the display module 303; the display module 303 is used to display display data corresponding to the first system, or display display data corresponding to the above-mentioned second system; and the power supply 304 can be used to provide power to various devices or circuits in the electronic device 300.
[0060] The display switching method provided in this application is described in detail below with reference to the electronic device 300 shown in FIG. 3 and FIG. 4 .
[0061] FIG4 is a flow chart of a display switching method 400 provided in an embodiment of the present application. As shown in FIG4 , the method 400 includes the following steps:
[0062] S401: The first processor 301 runs a first system.
[0063] S402: The first processor 301 sends display data corresponding to the first system to the display module 303. Correspondingly, the display module 303 receives the display data corresponding to the first system sent by the first processor 301, wherein the display data is the display data of the interface screen of the first application corresponding to the first system.
[0064] S403 , the display module 303 displays the first interface image on the screen based on the display data corresponding to the first system.
[0065] It should be understood that when the display module 303 displays the display data corresponding to the first system, it represents that the current display authority is at the first system corresponding to the first processor.
[0066] S404: When the screen-lighting display switching condition is met, the display module 303 turns on the screen and keeps displaying the current frame corresponding to the first interface.
[0067] It should be understood that the above display switching conditions may include determining that the current power consumption of the electronic device meets the power consumption threshold, detecting the application corresponding to the second system running; or detecting a preset user operation, etc., which is not limited in this application.
[0068] S405 , the second processor 302 powers on the display module 303 via the power supply 304 .
[0069] S406: The first processor 301 generates instruction information for switching to bright screen display.
[0070] S407 : The first processor 301 sends the bright screen display switching instruction information to the display module 303 . Correspondingly, the display module 303 receives the bright screen display switching instruction information sent by the first processor 301 .
[0071] Exemplarily, the above-mentioned indication information for switching the bright screen display can be a preset level signal or interface information, wherein, when the indication information for switching the bright screen display is a preset level signal, it can be used to instruct the display module 303 to brightly display a picture of a system that does not correspond to the preset level signal, or, when the indication information for switching the bright screen display is the above-mentioned interface information, it can be used to instruct the display module 303 to brightly display a picture of a system that does not correspond to the above-mentioned interface information.
[0072] S408 , the display module 303 switches the content displayed on the bright screen from the current frame image to the second interface image based on the above instruction information. The second interface image is the interface image of the second application corresponding to the above second system.
[0073] It is understandable that in the embodiment of the present application, the first processor and the second processor work asynchronously, and the first system and the second system need to implement system communication (or called dual-core communication).
[0074] In one possible scenario, the first system in the above-mentioned electronic device can be an Android operating system running on an application processor AP (also called a big core), and the second system can be a real-time operating system RTOS running on a microcontroller unit MCU (also called a small core).
[0075] Figure 5 shows a schematic diagram of the electronic device 300 described above. As shown in Figure 5, the electronic device 300 includes a first processor 301 and a second processor 302, which are respectively an AP and an MCU. In addition, the display module 303 in the electronic device 300 may also include a display permission switch 501 and a display 502. The AP 301 includes a first interface for sending display data corresponding to the Android system to the display module 303, and the MCU 302 includes a second interface for sending display data corresponding to the RTOS system to the display module 303. The display permission switch 501 in the display module 303 includes a first input interface, a second input interface, and an output interface. The first input interface is used to receive display data corresponding to the Android system from the AP 301, and the second input interface is used to receive display data corresponding to the RTOS system from the MCU 302. The first input interface and the second input interface of the display permission switch 501 can also be used to receive level signals from the AP 301 or the MCU 302 to switch display permissions. The output interface is used to send the received display data corresponding to the Android system or the display data corresponding to the RTOS system to the display 502, and the display 502 is used to receive and display the display data corresponding to the Android system or the display data corresponding to the RTOS system through the display interface.
[0076] The display switching method provided in this application is described in detail below in conjunction with the electronic device 300 shown in FIG. 5 and FIG. 6 .
[0077] FIG6 is a flow chart of a display switching method 600 provided in an embodiment of the present application. As shown in FIG6 , the method 600 includes the following steps:
[0078] S601 and AP301 run the Android system.
[0079] S602: AP301 sends display data corresponding to the Android system to display module 303 via the first interface. Correspondingly, display module 303 receives the display data corresponding to the Android system sent from AP301, wherein the display data is the display data of the interface screen of the first application corresponding to the Android system.
[0080] For example, the display module 303 can receive display data corresponding to the Android system sent from the AP 301 through the first input interface of the display permission switch 501, and transmit the display data corresponding to the Android system to the display 502 through the output interface of the display permission switch 501. The display interface of the display 502 is connected to the output interface of the display permission switch 501, so that the display 502 can receive the display data from the AP 301.
[0081] It should be understood that the current connection between the first interface and the first input interface indicates that the current display permission belongs to the Android system corresponding to AP301.
[0082] S603 , the display module 303 displays the first interface image on the screen based on the display data corresponding to the Android system.
[0083] S604: When the bright screen display switching condition is met, the AP 301 sends a display hold instruction to the display module 303 via the first interface. Correspondingly, the display module 303 receives the display hold instruction from the AP 301.
[0084] For example, the display module 303 can receive the display hold instruction from the AP 301 through the first input interface of the display authority switch 501, and transmit the display hold instruction to the display 502 through the output interface of the display authority switch 501. The display interface of the display 502 and the output interface of the display authority switch 501 are in a connected state, so that the display 502 can receive the display hold instruction from the AP 301.
[0085] For example, when it is detected that the second application corresponding to the second system, ie, the RTOS system, is started, the AP 301 may determine that the display switching condition is met.
[0086] For example, when a preset user operation, such as sliding the display screen with multiple fingers, is detected, the AP 301 may determine that the display switching condition is satisfied.
[0087] S605 , the display module 303 stops refreshing the first interface image displayed on the bright screen based on the above-mentioned display maintenance instruction, determines the current frame image corresponding to the first interface image, and keeps displaying the current frame image corresponding to the first interface image on the bright screen.
[0088] For example, the display module 303 may stop refreshing the first interface image displayed on the bright screen through the display 502 , and keep the bright screen displaying the current frame image corresponding to the first interface image.
[0089] S606: When the bright screen display switching condition is met, the AP 301 sends a bright screen display switching notification to the MCU 302. Correspondingly, the MCU 302 receives the bright screen display switching notification from the AP 301.
[0090] In a possible implementation, the AP 301 may send a screen-bright display switching notification to the MCU 302 through dual-core communication technology. Correspondingly, the MCU 302 may also receive the screen-bright display switching notification from the AP 301 through dual-core communication.
[0091] It should be understood that the above only takes the example of first sending the display hold instruction (such as S604 above) and then sending the bright screen display switching notification (S606). In addition, AP301 can also first execute the operation of sending the bright screen display switching notification to MCU302 and then execute the operation of sending the display hold instruction when the bright screen display switching conditions are met. This application does not limit this.
[0092] It should also be understood that, in addition to the above-described case where the AP 301 sends the bright screen display switching notification when the bright screen display switching conditions are met, the AP 301 may also send the bright screen display switching notification to the MCU 302 after determining to send the above-mentioned display hold instruction. Correspondingly, in the case where the AP 301 first sends the bright screen display switching notification and then sends the display hold instruction, the display hold instruction can also be understood as being triggered and sent by the AP 301 after determining to send the above-mentioned bright screen display switching notification, and this application is not limited to this.
[0093] S607 , the MCU 302 powers on the display module 303 through the power supply 304 based on the screen-bright display switching notification.
[0094] S608 , the AP 301 adjusts the currently corresponding first level signal to a preset level signal, where the first level signal is higher than the preset level signal.
[0095] It should be understood that the first level signal described above can also be referred to as a high-level signal, and the preset level signal can also be referred to as a low-level signal. If the level signal from AP 301 is determined to be a high-level signal, it can be determined that the current display permission belongs to the Android system corresponding to AP 301. In other words, upon receiving the indication information for switching to a bright screen display, which is a preset level signal, the display module 303 performs a display switching operation to change the display permission to no longer belong to the system corresponding to the preset level signal.
[0096] Exemplarily, the first level signal and the second level signal may be chip select (CS) signals.
[0097] S609 , the AP 301 sends a bright screen display switching instruction message in the form of a preset level signal to the display module 303 . Correspondingly, the display module 303 receives the preset level signal from the AP 301 .
[0098] Exemplarily, the display module 303 may receive a preset level signal from the AP 301 through the display authority switch 501 .
[0099] It should be understood that the display permission switch 501 includes, in addition to the first input interface and the second input interface shown in FIG5 , a general purpose IO interface (general purpose IO ports), and the AP301 includes, in addition to the first interface shown in FIG5 , a general purpose IO interface. The general purpose IO interface of the display permission switch 501 corresponds to the general purpose IO interface of the AP301 and is in a normally open state, that is, the AP301 can send the above-mentioned level signal to the display module 303 through the general purpose IO interface, and correspondingly, the display module 303 can receive the level signal from the AP301 through the general purpose IO interface of the display permission switch 501.
[0100] It should also be understood that the above-mentioned indication information of the bright screen display switching which is a preset level signal can be sent after AP301 sends the above-mentioned display hold instruction and the bright screen display switching notification, so that MCU302 can prepare for the display switching in advance and successfully switch the display authority to MCU302 when the display 502 in the display module 303 is not black.
[0101] S610 , the display module 303 enables the second interface, the second input interface, and the display interface based on the bright screen display switching indication information of the preset level signal, so as to switch the display authority from the AP 301 to the MCU 302 .
[0102] For example, the display module 303 can select the second interface, the second input interface and the display interface based on the indication information of the bright screen display switching of the preset level signal through the display permission switch 501, so that the display permission is switched from AP301 to MCU302.
[0103] S611 , MCU 302 sends display data corresponding to the RTOS system to the display module 303 through the second interface. The display data is display data of the interface screen of the second application corresponding to the RTOS system. Correspondingly, the display module 303 receives the display data from MCU 302 .
[0104] For example, the display module 303 can receive display data from the MCU 302 through the second input interface of the display permission switch 501, and transmit the display data to the display 502 through the output interface of the display permission switch 501. The display interface of the display 502 and the output interface of the display permission switch 501 are in a communication state, so that the display 502 can receive the display data from the MCU 302.
[0105] S612 , the display module 303 turns on the screen to display the second interface picture corresponding to the RTOS system, so that the displayed content on the screen is switched from the current frame picture of the first interface to the second interface picture.
[0106] For example, the display module 303 may display the second interface image corresponding to the RTOS system via the display 502 .
[0107] Optionally, the MCU 302 may also notify the AP 301 to power off the display 502 and enter a sleep state to reduce power consumption.
[0108] Optionally, when there is a level signal in the Android system corresponding to AP301, following the above S612, when MCU302 determines that the display switching condition is currently met, MCU302 can use the bright screen display switching notification to enable AP301 to adjust its current preset level signal to the above-mentioned first level signal, so that the display module 303 switches the display authority back to the Android system corresponding to AP301, that is, the system corresponding to the first level signal, based on the indication information of the bright screen display switching of the first level signal.
[0109] It should be understood that the above embodiment mainly describes the display switching method provided by this application using the first system, such as the Android system corresponding to AP301, as an example in which a corresponding level signal exists. In addition, this application can also implement the display switching method when a second system, such as the RTOS system corresponding to MCU302, exists a corresponding level signal, and this application does not limit this.
[0110] For example, if a level signal is present in the RTOS system corresponding to MCU302 and MCU302 determines that the display switching condition is currently met, MCU302 can proactively send a bright screen display switching instruction message, which is a preset level signal, to display module 303, so that display module 303 can switch display permissions to the Android system corresponding to AP301, i.e., a system other than the system corresponding to the preset level signal. Alternatively, MCU302 can also send a bright screen display switching instruction message, which is a first level signal, to display module 303 based on the display switching notification from AP301, so that display module 303 can switch display permissions to the system corresponding to the first level signal, i.e., the RTOS system.
[0111] It should be understood that while the first system can handle events handled by the second system, the second system may not necessarily be able to handle events handled by the first system. This means that the performance of the first processor is higher than that of the second processor. In other words, the application corresponding to the second system does not include the first application corresponding to the first system. This means that the second interface screen and the first interface screen are not the interface screens of the same application.
[0112] For example, when displaying the interface screen of a first application (such as a video application), if the electronic device detects an instruction to start a second application, such as a text message application, and determines that the text message application is the application corresponding to the above-mentioned second processor, the electronic device can run the text message application and can switch the display authority to the second system to display the interface screen of the text message application.
[0113] Optionally, the present application may also be provided with an application corresponding to both the first system and the second system, and when the electronic device turns on the screen to display the interface screen of the application, if it is determined that the current power consumption is less than the first power consumption threshold in the power consumption threshold, it indicates that the display switching condition is met, and the display authority is switched from the first system to the second system, that is, the second system continues to display the interface screen of the above application, where the first power consumption threshold is used to indicate the minimum power consumption for running the first system.
[0114] Exemplarily, the applications corresponding to both the first system and the second system include a text message application. When the electronic device displays the interface screen of the text message application, if it is determined that the current power consumption is less than the first power consumption threshold in the power consumption threshold, the electronic device can switch the display authority from the above-mentioned first system to the second system, that is, switch from the first processor running and displaying the text message application to the second processor running and displaying the text message application.
[0115] In another possible scenario, the second system in the above electronic device may also be an Android operating system running on an application processor AP, and the first system may be a real-time operating system RTOS running on a microcontroller unit MCU.
[0116] It is understandable that the second system can process events processed by the first system, but the first system may not be able to process events processed by the second system, that is, the performance of the second processor is higher than that of the first processor.
[0117] Figure 7 shows a schematic diagram of the electronic device 300 described above. As shown in Figure 7, the first processor 301 and the second processor 302 included in the electronic device 300 may be an MCU and an AP, respectively. Furthermore, the display module 303 in the electronic device 300 may also include a display 701. The MCU 301 includes a first interface for sending display data corresponding to the RTOS to the display module 303, and the AP 302 includes a second interface for sending display data corresponding to the Android system to the display module 303. The display 701 in the display module 303 includes a first display interface and a second display interface. The first display interface is used to receive display data corresponding to the RTOS system from the MCU 301 and display the display data, and the second display interface is used to receive display data corresponding to the Android system from the AP 302 and display the display data. The first display interface and the second display interface of the display 701 may also be used to receive interface information from the MCU 301 or the AP 302, respectively, to switch display permissions.
[0118] The display switching method provided in this application is described in detail below in conjunction with the electronic device 300 shown in FIG. 7 and FIG. 8 .
[0119] FIG8 is a flow chart of a display switching method 800 provided in an embodiment of the present application. As shown in FIG8 , the method 800 includes the following steps:
[0120] S801, MCU301 runs the RTOS system.
[0121] S802, MCU301 sends display data corresponding to the RTOS system to display 701. Correspondingly, display 701 receives the display data corresponding to the RTOS system sent from MCU301, wherein the display data is the display data of the interface screen of the first application corresponding to the RTOS system.
[0122] S803, the display 701 displays the first interface screen based on the display data corresponding to the RTOS system.
[0123] It should be understood that the display 701 currently displays display data corresponding to the RTOS system, indicating that the current display authority belongs to the RTOS system.
[0124] S804: When the bright screen display switching condition is met, the MCU 301 sends a display hold instruction to the display 701 via the first interface. Correspondingly, the display 701 receives the display hold instruction from the MCU 301 via the first display interface.
[0125] It should be understood that when it is detected that the second system, that is, the second application corresponding to the Android system is started, AP301 determines that the display switching condition is met, or when a preset user operation is detected, such as multi-finger sliding the display screen, AP301 determines that the display switching condition is met.
[0126] S805, the display 701 stops refreshing the first interface screen displayed on the bright screen based on the above-mentioned display maintenance instruction, determines the current frame screen corresponding to the first interface screen, and keeps displaying the current frame screen corresponding to the first interface screen on the bright screen.
[0127] It should be understood that the display 701 needs to keep the current frame of the first interface on display until the display permission is controlled by the Android system and the display data corresponding to the Android system is received.
[0128] S806 : When the bright screen display switching condition is met, the MCU 301 sends a bright screen display switching notification to the AP 302 . Correspondingly, the AP 302 receives the bright screen display switching notification from the MCU 301 .
[0129] In a possible implementation, the MCU 301 may send a screen-bright display switching notification to the AP 302 through dual-core communication technology. Correspondingly, the AP 302 may also receive the screen-bright display switching notification from the MCU 301 through dual-core communication.
[0130] It should be understood that the above only takes the example of first sending the display hold instruction (such as S804 above) and then sending the bright screen display switching notification (S806). In addition, MCU301 can also first execute the operation of sending the bright screen display switching notification to AP302 when the bright screen display switching conditions are met, and then execute the operation of sending the display hold instruction. This application does not limit this.
[0131] It should also be understood that, in addition to the above-mentioned case where the MCU 301 sends the bright screen display switching notification when the bright screen display switching conditions are met, the MCU 301 may also send the bright screen display switching notification to the AP 302 after determining to send the above-mentioned display hold instruction. Correspondingly, in the case where the MCU 301 first sends the bright screen display switching notification and then sends the display hold instruction, the display hold instruction may also be triggered to be sent by the MCU 301 after determining to send the above-mentioned bright screen display switching notification, and this application does not limit this.
[0132] S807 , the AP 302 powers on the display 701 through the power supply 304 based on the bright screen display switching notification.
[0133] S808, MCU301 sends the instruction information of switching the screen display of the interface information to the display 701 through the first interface. Correspondingly, the display 701 receives the instruction information of switching the screen display of the interface information from MCU301 through the first display interface.
[0134] Exemplarily, the above interface information may be the first interface information of the MCU 301 , that is, the interface information corresponding to the system where the display authority currently resides.
[0135] It should be understood that the above-mentioned indication information of the bright screen display switching of the interface information can be sent after MCU301 sends the above-mentioned display hold instruction and the bright screen display switching notification, so that AP302 can prepare for the display switching in advance and successfully switch the display authority to AP302 when the display 701 is not black.
[0136] S809 , the display 701 enables the second interface and the second display interface based on the instruction information of the screen-on display switching of the interface information, so that the display authority is switched from the MCU 301 to the AP 302 .
[0137] Exemplarily, the display 701 may enable the second interface and the second display interface through the DDIC, so that the display authority is switched from the MCU 301 to the AP 302 . The DDIC may support the first display interface or the second display interface.
[0138] It should be understood that when the display 701 receives the interface information, the currently enabled interface (ie, the first interface) is turned off, and another interface (ie, the second interface) is selected to be enabled, so that the display authority is switched.
[0139] S810, AP302 sends display data corresponding to the Android system to the display 701 through the second interface. The display data is the display data of the interface screen of the second application corresponding to the Android system. Correspondingly, the display 701 receives the display data from AP302 through the second display interface.
[0140] S811, the display 701 turns on the screen to display the second interface picture corresponding to the Android system, so that the screen display content is switched from the current frame picture of the first interface to the second interface picture.
[0141] Optionally, the AP 302 may also notify the MCU 301 to power off the display 701 to reduce power consumption.
[0142] It should be understood that the second system can handle events handled by the first system, but the first system may not necessarily be able to handle events handled by the second system, that is, the performance of the second processor is higher than that of the first processor. In other words, the application corresponding to the second system may include the first application corresponding to the first system.
[0143] In one possible case, the first application and the second application are not the same application, that is, the second interface screen and the first interface screen are not interface screens of the same application.
[0144] In another possible case, the above-mentioned first application and the second application are the same application, that is, the second interface screen and the first interface screen are interface screens of the same application, and the second interface screen can be the interface screen loaded and displayed after the current frame screen corresponding to the first interface screen.
[0145] Exemplarily, when it is determined that the current power consumption is less than the second power consumption threshold in the power consumption threshold, it indicates that the display switching condition is met, and the electronic device can switch the display authority from the first system to the second system, that is, the second system continues to display the interface screen of the above application, where the second power consumption threshold can be used to indicate the minimum power consumption for running the second system.
[0146] It should be understood that the processor in the electronic device 300 may include, in addition to the AP and MCU shown above, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. The display shown above can use a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), MiniLED, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc. Among them, the MIPI interface can be used to connect the above-mentioned processor and the display module. MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc. In the embodiment of the present application, the processor and the display module communicate via the DSI interface (i.e., the first interface, the second interface, the display interface, the first display interface, and the second display interface) to realize the display function of the electronic device 300.
[0147] In addition, in some embodiments, the processor may further include other interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0148] Optionally, the electronic device 300 may further include a memory and a transceiver. The first processor, the second processor, the transceiver, and the memory may communicate with each other via an internal connection path to transfer display data, etc. The memory is used to store computer programs, and the processor may call and execute the computer programs from the memory.
[0149] The first processor or the second processor may be combined with the memory to form a processing device, or more commonly, they are independent components. The processor may be configured to execute program code stored in the memory to implement the aforementioned functions. In a specific implementation, the memory may also be integrated into the processor or independent of the processor.
[0150] The transceiver can provide wireless communication solutions for the electronic device 300, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver can be one or more devices that integrate at least one communication processing module.
[0151] In addition, in order to make the functions of the electronic device 300 more complete, the electronic device 300 may further include one or more of an input unit, an audio circuit, and a sensor, etc., which is not limited in this application.
[0152] It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is merely a schematic illustration and does not constitute a structural limitation on the electronic device.
[0153] In other embodiments of the present application, the electronic device may also be provided with a single processor, and the first system and the second system respectively run on different cores of the processor, wherein the processing performance of the core running the first system is higher than the processing performance of the core running the second system, and the embodiments of the present application do not impose any restrictions.
[0154] It should also be understood that the Android system and RTOS system shown above are merely exemplary and are not limited in this application.
[0155] It should be understood that the above embodiments may be coupled to each other, and this application does not limit this. Furthermore, the order of the sequence numbers of the above processes does not imply a specific order of execution. The execution order of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0156] FIG9 shows another electronic device 900 provided by an embodiment of the present application. The electronic device 900 includes: a display module 901 and a processing module 902 .
[0157] Among them, the display module 901 is used to: when the first system is running, the bright screen displays the first interface screen corresponding to the first system, and the first interface screen is the interface screen of the first application corresponding to the above-mentioned first system; and when it is determined that the bright screen display switching conditions are met, the bright screen continues to display the current frame screen corresponding to the above-mentioned first interface screen; the processing module is used to generate indication information for the bright screen display switching; the processing module 902 is used to: based on the above-mentioned indication information, switch the content displayed on the bright screen from the current frame screen to the second interface screen, and the second interface screen is the interface screen of the second application corresponding to the second system.
[0158] It should be understood that the electronic device 900 here is embodied in the form of a functional module. The term "module" here can refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combined logic circuit and / or other suitable components that support the described functions. In an optional example, those skilled in the art will understand that the electronic device 900 can be specifically the electronic device in the above-mentioned embodiment, or the functions of the electronic device in the above-mentioned embodiment can be integrated in the electronic device 900, and the electronic device 900 can be used to execute the various processes and / or steps corresponding to the electronic device in the above-mentioned method embodiment. To avoid repetition, they will not be described here.
[0159] The electronic device 900 has the function of implementing the corresponding steps performed by the electronic device in the above method; the above functions can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.
[0160] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0161] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0162] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0163] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0164] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0165] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk. The above is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A display switching method, characterized in that: Applied to an electronic device, the electronic device supports running a first system and a second system, the method comprising: When the first system is running, the screen displays a first interface picture corresponding to the first system, where the first interface picture is an interface picture of a first application corresponding to the first system; When it is determined that the bright screen display switching condition is met, the bright screen continues to display the current frame image corresponding to the first interface image; Generate indication information for bright screen display switching; Based on the indication information, the content displayed on the bright screen is switched from the current frame image to a second interface image, where the second interface image is an interface image of a second application corresponding to the second system.
2. The method according to claim 1, characterized in that The electronic device includes a display module, the indication information of the bright screen display switching is a preset level signal, and the switching of the bright screen display content from the current frame image to the second interface image corresponding to the second system includes: When the first system corresponds to the preset level signal, the display authority is switched from the first system to the second system through the display module; The display module is used to display the second interface picture corresponding to the second system, so that the content displayed on the screen is switched from the current frame to the second interface picture.
3. The method according to claim 2, characterized in that The electronic device further includes a first processor and a second processor, the first processor corresponds to the first system, the second processor corresponds to the second system, the display module includes a display permission switch and a display, and when the first system corresponds to the preset level signal, the display permission is switched from the first system to the second system through the display module, including: receiving the preset level signal corresponding to the first system from the first processor through the display permission switch; The display permission switch switches the display permission from the first system corresponding to the first processor to the second system corresponding to the second processor based on the preset level signal.
4. The method according to claim 3, characterized in that: The display permission switch includes a first input interface and a second input interface, and the display permission switch switches the display permission from the first system corresponding to the first processor to the second system corresponding to the second processor based on the preset level signal, including: The display permission switch switches the display permission from the first input interface to the second input interface based on the preset level signal, so as to switch the display permission from the first system corresponding to the first processor to the second system corresponding to the second processor. The first input interface is used to receive data corresponding to the first system from the first processor, and the second input interface is used to receive data corresponding to the second system from the second processor.
5. The method according to claim 1, characterized in that: The electronic device includes a display module, the indication information of the bright screen display switching is interface information, and the switching of the bright screen display content from the current frame to a second interface picture corresponding to the second system includes: In a case where the interface information is first interface information corresponding to the first system, the display authority is switched from the first system to the second system through the display module, the second system corresponds to a second interface, and the first interface is different from the second interface; The display module is used to display the second interface picture corresponding to the second system, so that the content displayed on the screen is switched from the current frame to the second interface picture.
6. The method according to claim 5, characterized in that The electronic device further includes a first processor and a second processor, the first processor corresponds to the first system, the second processor corresponds to the second system, the display module includes a display, the display includes a first display interface and a second display interface, and the display authority is switched from the first system to the second system through the display module based on the first interface information corresponding to the first system, including: receiving, through the first display interface of the display, the first interface information corresponding to the first system from the first processor; Switching, by the display, the display authority from the first display interface to the second display interface based on the first interface information, so as to switch the display authority from the first system corresponding to the first processor to the second system corresponding to the second processor; Among them, the first display interface is used to select the first interface corresponding to the first processor so that the display receives data corresponding to the first system from the first processor, and the second display interface is used to select the second interface corresponding to the second processor so that the display receives data corresponding to the second system from the second processor.
7. The method according to claim 1, characterized in that The electronic device includes a first processor, a second processor and a display module, the first processor corresponds to the first system, the second processor corresponds to the second system, and the bright screen keeps displaying the current frame image corresponding to the first interface image, including: receiving, through the display module, a display hold instruction sent from the first processor; Stop refreshing the first interface picture corresponding to the first system displayed on the bright screen by the display module based on the display hold instruction; Determine, by means of the display module, a current frame image corresponding to the first interface image; The display module turns on the screen to keep displaying the current frame image corresponding to the first interface image until the display module turns on the screen to display the second interface image corresponding to the second system.
8. The method according to claim 1, 2 or 5, characterized in that: After switching the content displayed on the bright screen from the current frame to the second interface, the method further includes: The display module is powered off by the first processor.
9. The method according to claim 8, characterized in that The method further comprises: Switching the first system to background operation by the first processor; or, The first system is switched to a sleep mode by the first processor.
10. The method according to claim 1, characterized in that The electronic device includes a first processor, a second processor and a display module. Before generating the indication information of switching the screen display, the method further includes: receiving, by the second processor, a screen-lit display switching notification from the first processor, and powering on the display module based on the screen-lit display switching notification; The screen-on display switching notification is sent by the first processor when the screen-on display switching condition is met.
11. The method according to claim 1, characterized in that: The bright screen display switching condition is satisfied, including: In the case where it is determined that the current power consumption of the electronic device meets the power consumption threshold, determining that the bright screen display switching condition is met; In the case where it is detected that the application corresponding to the second system is running, determining that the bright screen display switching condition is met; or, When a preset user operation is detected, it is determined that the bright screen display switching condition is met.
12. The method according to claim 1, characterized in that The method further comprises: When the interface screen of the application corresponding to the first system and the second system is displayed on the screen, and it is determined that the current power consumption is less than the first power consumption threshold in the power consumption threshold, the display authority is switched from the first system to the second system so that the second system displays the interface screen of the application.
13. An electronic device, characterized in that: include: A display module is used to display a first interface picture corresponding to the first system on the screen when the first system is running, where the first interface picture is an interface picture of a first application corresponding to the first system; and, when it is determined that a screen display switching condition is met, the screen keeps displaying a current frame picture corresponding to the first interface picture; A processing module, used for generating indication information of bright screen display switching; The display module is also used to switch the content displayed on the bright screen from the current frame image to a second interface image based on the indication information, where the second interface image is an interface image of a second application corresponding to the second system.
14. The electronic device according to claim 13, characterized in that: The electronic device includes a display module, the indication information of the bright screen display switching is a preset level signal, and the processing module is used for: When the first system corresponds to the preset level signal, the display authority is switched from the first system to the second system through the display module; The display module is used for: The display module is used to display the second interface picture corresponding to the second system, so that the content displayed on the screen is switched from the current frame to the second interface picture.
15. The electronic device according to claim 14, characterized in that: The electronic device further includes a first processor and a second processor, the first processor corresponds to the first system, the second processor corresponds to the second system, the display module includes a display permission switch and a display, and the processing module is used to: receiving the preset level signal corresponding to the first system from the first processor through the display permission switch; The display permission switch switches the display permission from the first system corresponding to the first processor to the second system corresponding to the second processor based on the preset level signal.
16. The electronic device according to claim 15, characterized in that: The display permission switch includes a first input interface and a second input interface, and the processing module is used for: The display permission switch switches the display permission from the first input interface to the second input interface based on the preset level signal, so as to switch the display permission from the first system corresponding to the first processor to the second system corresponding to the second processor. The first input interface is used to receive data corresponding to the first system from the first processor, and the second input interface is used to receive data corresponding to the second system from the second processor.
17. The electronic device according to claim 13, characterized in that: The electronic device includes a display module, the indication information of the bright screen display switching is interface information, and the processing module is used for: In a case where the interface information is first interface information corresponding to the first system, the display authority is switched from the first system to the second system through the display module, the second system corresponds to a second interface, and the first interface is different from the second interface; The display module is used for: The display module is used to display the second interface picture corresponding to the second system, so that the content displayed on the screen is switched from the current frame to the second interface picture.
18. The electronic device according to claim 17, characterized in that: The electronic device further includes a first processor and a second processor, the first processor corresponds to the first system, the second processor corresponds to the second system, the display module includes a display, the display includes a first display interface and a second display interface, and the processing module is used to: receiving, through the first display interface of the display, the first interface information corresponding to the first system from the first processor; Switching the display permission from the first display interface to the first display interface based on the first interface information a second display interface for switching display authority from the first system corresponding to the first processor to the second system corresponding to the second processor; Among them, the first display interface is used to select the first interface corresponding to the first processor so that the display receives data corresponding to the first system from the first processor, and the second display interface is used to select the second interface corresponding to the second processor so that the display receives data corresponding to the second system from the second processor.
19. The electronic device according to claim 13, characterized in that: The processing module is used for: When the interface screen of the application corresponding to the first system and the second system is displayed on the screen, and it is determined that the current power consumption is less than the first power consumption threshold in the power consumption threshold, the display authority is switched from the first system to the second system so that the second system displays the interface screen of the application.
20. A computer-readable storage medium, characterized in that: Used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Method and device for displaying image data
CN105472439A
Screen image switching method and device based on system switching
CN107678824A
High-energy-efficiency display processing method and device
CN112860428A
Interface switching method and device, equipment and storage medium
CN113656120A
Application interface display method and device, equipment and storage medium
CN115167953A
