Dual-system switching method and switching equipment
During the dual-system switching process, the first central processing unit outputs operating data to the second central processing unit and controls channel switching, thereby solving the problem of display screen interruption and achieving fast, stable dual-system switching and consistent display effects.
Patent Information
- Application Number
- CN202510876145.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2025-10-10
AI Technical Summary
In the prior art, the display screen is interrupted when switching between the two systems, which affects the user experience and has a poor switching effect.
By outputting operation data information to the second central processing unit when the first central processing unit enters the switching interface and transmitting the switching instruction when the switching instruction is received, the display switching module is controlled to switch channels. The second central processing unit quickly starts operation to generate display data, and the display module maintains a stable display.
The dual-system switching speed is improved, the stable display state of the display module is maintained, the consistency of the display image before and after switching is ensured, and the switching effect is improved.
Smart Images

Figure CN120762845A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of dual system switching, in particular to a dual system switching method and switching device. BACKGROUND
[0002] When switching between systems of a dual system device, the display screen is usually interrupted, and new screen display can be performed only after the dual system switching is completed. The change of the display screen before and after the switching affects the user experience. Therefore, the prior art has poor switching effect during the switching between dual systems. SUMMARY
[0003] The present application provides a dual system switching method and switching device to solve the problem of poor dual system switching effect.
[0004] According to an aspect of the present application, a dual system switching method is provided, which is applied to a dual system switching device. The dual system switching device comprises a first central processing unit, a second central processing unit, a display switching module and a display module. The first central processing unit is connected with the second central processing unit. The first central processing unit is further connected with a first channel of the display switching module. The second central processing unit is further connected with a second channel of the display switching module. A third channel of the display switching module is connected with the display module. The first central processing unit is used for running a first system. The second central processing unit is used for running a second system. The first central processing unit and the second central processing unit are used for outputting display data. The display switching module is used for transmitting the display data to the display module through the first channel or the second channel.
[0005] The dual system switching method comprises the following steps.
[0006] The first central processing unit outputs running data information to the second central processing unit when entering a switching interface and not receiving a switching instruction.
[0007] The first central processing unit transmits the switching instruction to the second central processing unit and issues a channel switching instruction to the display switching module when entering the switching interface and receiving the switching instruction.
[0008] The display switching module turns off the first channel and turns on the second channel according to the channel switching instruction.
[0009] The second central processing unit runs when receiving the switching instruction and generates the display data according to the running data information.
[0010] The display module performs screen display according to the display data.
[0011] Optionally, the first central processor is further configured to, when entering the switching interface and receiving the switching instruction, transmit the switching instruction to the second central processor and send a channel switching instruction to the display switching module, and the sending the channel switching instruction to the display switching module comprises:
[0012] The first central processor sends the current display data to the display module through the first channel;
[0013] The first central processor sends the channel switching instruction to the display switching module after sending the display data of the last frame and transmits the switching instruction to the second central processor.
[0014] Optionally, the display switching module turns off the first channel and turns on the second channel according to the channel switching instruction comprises:
[0015] The display switching module turns off the first channel and turns on the second channel within less than one frame of time.
[0016] Optionally, the running data information comprises:
[0017] The program running in the first central processor and the main interface.
[0018] Optionally, the second central processor is configured to, when receiving the switching instruction, start running and generate the display data according to the running data information, and the generating the display data according to the running data information comprises:
[0019] The second central processor starts running within less than one frame of time after receiving the switching instruction;
[0020] The second central processor controls the display module to display the screen of the switching interface;
[0021] The second central processor continues to execute the program running in the first central processor and generates the display data according to the main interface;
[0022] The second central processor inputs the display data to the display module through the second channel.
[0023] Optionally, the display module displays the screen according to the display data comprises:
[0024] The display module displays the main interface according to the display data.
[0025] Optionally, the first channel includes: a first signal transmission bus and a first control signal bus; the second channel includes: a second signal transmission bus and a second control signal bus; the third channel includes: a third signal transmission bus and a third control signal bus; the display data includes: picture display data and picture parameter data;
[0026] The first signal transmission bus, the second signal transmission bus and the third signal transmission bus are used to transmit the picture display data;
[0027] The first control signal bus, the second control signal bus, and the third control signal bus are used to transmit the picture parameter data.
[0028] Optionally, the first system includes an Android system; and the second system includes a real-time operating system.
[0029] According to another aspect of the present invention, a dual-system switching device is provided, comprising:
[0030] The first central processing unit is configured to output operation data information to the second central processing unit when entering the switching interface and not receiving a switching instruction;
[0031] The first central processing unit is further configured to, upon entering the switching interface and receiving the switching instruction, transmit the switching instruction to the second central processing unit and issue a channel switching instruction to the display switching module;
[0032] The display switching module is configured to shut down the first channel and turn on the second channel according to the channel switching instruction;
[0033] The second central processing unit is configured to start operation upon receiving the switching instruction and generate display data according to the operation data information;
[0034] The display module is used for performing screen display according to the display data.
[0035] Optionally, the data transmission interface of the first central processing unit is connected to the data transmission interface of the second central processing unit, and the data transmission interface is used to transmit the operating data information;
[0036] The signal synchronization interface of the first central processing unit is connected to the signal synchronization interface of the second central processing unit, and the signal synchronization interface is used to transmit the switching instruction.
[0037] The technical solution provided by the embodiments of the present invention immediately outputs operational data information to the second central processing unit when the first central processing unit enters the switching interface, allowing the second central processing unit to receive and process the operational data information in advance, thereby improving the speed of dual-system switching. Furthermore, during the switching process, the display module's display screen is not interrupted, and even when the display switching module switches channels, the display module can maintain a stable display state. Because the second central processing unit can receive the operational data information of the first central processing unit, the display module's display screen can remain consistent before and after the dual-system switching, resulting in a better dual-system switching effect.
[0038] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 This is a structural diagram of a dual-system switching device provided according to an embodiment of the present invention;
[0041] Figure 2 is a flow chart of a dual-system switching method provided according to an embodiment of the present invention;
[0042] Figure 3 is a flow chart of another dual-system switching method provided according to an embodiment of the present invention;
[0043] Figure 4 This is a flow chart of another dual-system switching method provided according to an embodiment of the present invention.
[0044] Figure 5 This is a flowchart of a specific implementation method of S160 provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0046] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0047] The embodiment of the present invention provides a dual-system switching method, which is applied to a dual-system switching device. Figure 1 A schematic structural diagram of a dual-system switching device provided in an embodiment of the present invention. Figure 2 This is a flow chart of a dual system switching method provided by an embodiment of the present invention. Figure 1 The dual-system switching device includes: a first central processing unit 1, a second central processing unit 2, a display switching module 3 and a display module 4; the first central processing unit 1 is connected to the second central processing unit 2, the first central processing unit 1 is also connected to the first channel 5 of the display switching module 3, the second central processing unit 2 is also connected to the second channel 6 of the display switching module 3, and the third channel 7 of the display switching module 3 is connected to the display module 4; the first central processing unit 1 is used to run the first system, and the second central processing unit 2 is used to run the second system; the first central processing unit 1 and the second central processing unit 2 are used to output display data, and the display switching module 3 is used to transmit display data to the display module 4 through the first channel 5 or the second channel 6.
[0048] Continue to refer Figure 1Optionally, the first channel 5 includes a first signal transmission bus 51 and a first control signal bus 52; the second channel 6 includes a second signal transmission bus 61 and a second control signal bus 62; the third channel 7 includes a third signal transmission bus 71 and a third control signal bus 72; and the display data includes screen display data and screen parameter data. The first signal transmission bus 51, the second signal transmission bus 61, and the third signal transmission bus 71 are used to transmit screen display data. The first control signal bus 52, the second control signal bus 62, and the third control signal bus 72 are used to transmit screen parameter data.
[0049] At any given moment, only one of the first and second channels 5, 6 is in an on state. When the first channel 5 is on, the first central processor 1 transmits display data to the display module 4 via the first and third channels 7. The first signal transmission bus 51 and the third signal transmission bus 71 can be used to transmit the image display data within the display data. The image display data is the image to be displayed by the display module 4. Simultaneously, the first control signal bus 52 and the third control signal bus 72 transmit image parameter data. The image parameter data is the image parameters such as color, saturation, resolution, and brightness of the image displayed by the display module 4. Based on the image display data and the image parameter data, the display module 4 can display the image of the first system.
[0050] Switching between the two systems involves switching between the first CPU 1 and the second CPU 2. When the first CPU 1 switches to the second CPU 2, the first channel 5 is disconnected and the second channel 6 is connected. The second CPU 2 transmits display data to the display module 4 via the second and third channels 6 and 7. The display module 4 then displays the second system's screen based on the screen display data and screen parameter data.
[0051] refer to Figure 2 , dual system switching methods include:
[0052] S110: Determine whether the first CPU has entered the switching interface. If so, execute S120; otherwise, return to execute S110.
[0053] S120: The first central processing unit outputs operation data information to the second central processing unit.
[0054] The user can switch between systems by entering the switching interface and issuing a switching command. Therefore, when the display interface of the first system is the switching interface, it means that the user may be about to perform a system switching operation. At this time, the first central processing unit can output operating data information to the second central processing unit.
[0055] Optionally, the operation data information includes programs and a main interface running on the first central processing unit.
[0056] By receiving the operating data of the first CPU in advance, the second CPU can quickly generate the second system's main interface based on the first system's main interface while the second CPU is running. The second system's main interface can be identical to the first system's main interface, ensuring consistent screens before and after the system switch. The second CPU can also continue to execute the program running on the first CPU, thereby ensuring stable operation of the program after the system switch.
[0057] S130: Determine whether the first central processing unit has received a switching instruction. If a switching instruction is received, execute S140.
[0058] S140: The first central processing unit transmits a switching instruction to the second central processing unit, and sends a channel switching instruction to the display switching module.
[0059] When the first CPU receives a switching instruction, it indicates that the second CPU needs to replace the first CPU. At this time, the first CPU can issue a channel switching instruction to the display switching module, causing the display switching module to connect to the second CPU. The display data sent by the second CPU can be transmitted to the display module through the display switching module.
[0060] At the same time, the first central processing unit also transmits the switching instruction to the second central processing unit, so that the second central processing unit can start running according to the switching instruction.
[0061] S150 , the display switching module turns off the first channel and turns on the second channel according to the channel switching instruction.
[0062] Among them, when the display switching module receives a channel switching instruction, the display switching module can shut down the first channel connected to the first central processing unit and turn on the second channel connected to the second central processing unit, so that the second central processing unit can transmit display data to the display module through the second channel.
[0063] S160 , the second central processing unit starts to operate upon receiving the switching instruction, and generates display data according to the operation data information.
[0064] When the second central processor receives the switching instruction, the second central processor is put into operation, and to ensure the stability of the program, the second central processor can continue to execute the program running in the first central processor. The second central processor can also generate display data according to the main interface of the first system, so that after the first central processor switches to the second central processor, the consistent main interface can be maintained. Through this setting mode, after the first system is switched to the second system, the second system can maintain a stable working state, and the same system main interface as the first system can be maintained, thereby improving the consistency before and after the system switching.
[0065] S170, the display module performs picture display according to the display data.
[0066] Exemplarily, the display module can include a display, and when the display module receives the display data, the display module performs picture display according to the display data.
[0067] The present application exemplarily shows the switching process of the first system to the second system, and in other embodiments, the second system can also be switched to the first system, and this does not limit the present application.
[0068] The technical scheme provided by the embodiment of the present application outputs the running data information to the second central processor as soon as the first central processor enters the switching interface, so that the second central processor can receive the running data information in advance and process it, thereby improving the speed of the dual-system switching. During the switching process, the display picture of the display module will not be interrupted, and even when the display switching module performs channel switching, the display module can maintain a stable display state. Since the second central processor can receive the running data information of the first central processor, the display picture of the display module can maintain consistency before and after the dual-system switching, so that the dual-system has a good switching effect.
[0069] Figure 3 The flowchart of another dual-system switching method provided by the embodiment of the present application is shown in FIG. 6. Figure 3 On the basis of the above embodiments, optionally, S140, the first central processor transmits a switching instruction to the second central processor, and sends a channel switching instruction to the display switching module, which includes:
[0070] S141, the first central processor sends the current display data to the display module through the first channel.
[0071] S142, after sending the display data of the last frame, the first central processor sends a channel switching instruction to the display switching module, and transmits a switching instruction to the second central processor.
[0072] Before the first central processor switches to the second central processor, the display data of the display module is provided by the first central processor. To ensure that the screen display of the display module does not show tearing during the switching process of the dual systems, after the first central processor sends the display data of the last frame, a channel switching instruction is immediately sent to the display switching module, and at the same time, the switching instruction is transmitted to the second central processor.
[0073] When the display switching module switches from the first channel to the second channel, the second central processor has received the switching instruction and started operation. The second central processor provides display data to the display module through the second channel. Through this setting method, it can be ensured that the display module will not interrupt the display of the picture when the system switches, thereby ensuring the stability of the picture display.
[0074] Figure 4 This is a flow chart of another dual-system switching method provided by an embodiment of the present invention. Figure 4 Based on the above embodiments, optionally, S150, the display switching module shuts off the first channel and turns on the second channel according to the channel switching instruction, includes:
[0075] S151 : The display switching module turns off the first channel and turns on the second channel within a time period less than one frame.
[0076] If the switching time between the first and second channels is longer than one frame, the display module will not receive new display data after one frame while the display switching module is switching channels, resulting in a black screen. Therefore, by controlling the switching time between the first and second channels to within one frame, the second CPU can promptly transmit display data to the display module before the display module displays the second frame. This prevents screen flickering or tearing, ensuring a consistently good display quality.
[0077] Figure 5 This is a flowchart of a specific implementation method of S160 provided by an embodiment of the present invention. Figure 5 Based on the above embodiments, optionally, S160, the second central processor is configured to start operation upon receiving a switching instruction, and generate display data according to the operation data information, including:
[0078] S161. After receiving the switching instruction, the second central processing unit starts operating within a time period of less than one frame.
[0079] The time it takes for the display switching module to shut down the first channel and turn on the second channel must be controlled to be less than one frame. To ensure that the display switching module can immediately transmit display data through the second channel after the channel switch, the second central processing unit must be put into operation within less than one frame.
[0080] S162: The second central processing unit controls the display module to display the screen of the switching interface.
[0081] During the dual-system switching process, the display module can remain in the switching interface. Therefore, the second CPU can continue to transmit the display data of the switching interface to the display module, so that the display module maintains the display state of the switching interface. Because the second CPU can operate in less than one frame, the display module's display data will not be interrupted when the display module is displaying the screen, and the display module's display screen will not experience flickering or tearing.
[0082] S163: The second central processing unit continues to execute the program being run by the first central processing unit, and generates display data according to the main interface.
[0083] S164. The second central processing unit inputs the display data into the display module through the second channel.
[0084] Among them, in order to ensure the stability of program operation before and after dual system switching, the second central processing unit can continue to execute the program running in the first central processing unit according to the operation data information, so that users can still directly use the previously used program after dual system switching without reloading.
[0085] At the same time, the second central processing unit can also generate display data based on the main interface run by the first central processing unit, and after exiting the switching interface, a new screen can be displayed through the display module. For example, the display data may include the wallpaper of the main interface and the arrangement position of each application. Therefore, when the second central processing unit is put into operation, the second system run by the second central processing unit can be consistent with the first system run by the first central processing unit. When the user operates the second system, there is no need to familiarize and learn the new system again, and the user experience can be maintained the same as the first system.
[0086] On the basis of the above embodiments, optionally, the display module displays a screen according to the display data, including: the display module displays a main interface according to the display data.
[0087] When the second system exits the switching interface, the display module displays the second system's main interface based on the display data. Because the display data is generated by the operating data information, and the operating data information is sent from the first central processing unit to the second central processing unit, after the dual system switch, the display module can maintain the same main interface as before the switch.
[0088] Based on the above embodiments, optionally, the first system includes an Android system; and the second system includes a real-time operating system.
[0089] A real-time operating system (RTOS) is an operating system designed specifically for real-time applications. It provides predictable task scheduling and response times. RTOSs are commonly used in embedded systems, such as industrial control, medical equipment, and consumer electronics, where real-time performance and reliability are highly demanding.
[0090] The Android system offers a rich user interface, multimedia features, and application ecosystem, supporting multitasking and complex interactions. Compared to real-time operating systems, it offers more comprehensive functionality. Switching from Android to a real-time operating system reduces power consumption on devices that are switching between two operating systems.
[0091] The embodiment of the present invention further provides a dual system switching device for executing the dual system switching method provided by any embodiment of the present invention. Figure 1 The dual-system switching device includes: a first central processing unit 1, a second central processing unit 2, a display switching module 3 and a display module 4. The first central processing unit 1 is used to output operation data information to the second central processing unit 2 when entering the switching interface and no switching instruction is received. The first central processing unit 1 is also used to transmit the switching instruction to the second central processing unit 2 when entering the switching interface and receiving the switching instruction, and to issue a channel switching instruction to the display switching module 3. The display switching module 3 is used to turn off the first channel 5 and turn on the second channel 6 according to the channel switching instruction. The second central processing unit 2 is used to start operation when receiving the switching instruction, and generate display data according to the operation data information. The display module 4 is used to display the screen according to the display data.
[0092] Continue to refer Figure 1 Based on the above embodiments, optionally, the data transmission interface 11 of the first central processing unit 1 is connected to the data transmission interface 21 of the second central processing unit 2, and the data transmission interface is used to transmit operating data information. The signal synchronization interface 12 of the first central processing unit 1 is connected to the signal synchronization interface 22 of the second central processing unit 2, and the signal synchronization interface is used to transmit switching instructions.
[0093] The dual-system switching device provided in the embodiment of the present invention has similar beneficial effects as the dual-system switching method, which will not be described in detail.
[0094] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0095] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A dual-system switching method, characterized in that: Applicable to a dual-system switching device, the dual-system switching device comprising: a first central processing unit, a second central processing unit, a display switching module, and a display module; the first central processing unit is connected to the second central processing unit, the first central processing unit is further connected to a first channel of the display switching module, the second central processing unit is further connected to a second channel of the display switching module, and the third channel of the display switching module is connected to the display module; the first central processing unit is used to run a first system, and the second central processing unit is used to run a second system; the first central processing unit and the second central processing unit are used to output display data, and the display switching module is used to transmit the display data to the display module via the first channel or the second channel; The dual-system switching method includes: The first central processing unit outputs operation data information to the second central processing unit when entering the switching interface and not receiving a switching instruction; When the first central processing unit enters the switching interface and receives the switching instruction, the first central processing unit transmits the switching instruction to the second central processing unit and issues a channel switching instruction to the display switching module; The display switching module turns off the first channel and turns on the second channel according to the channel switching instruction; The second central processing unit is put into operation upon receiving the switching instruction, and generates the display data according to the operation data information; The display module performs screen display according to the display data.
2. The dual-system switching method according to claim 1, characterized in that: The first central processing unit is further configured to, upon entering the switching interface and receiving the switching instruction, transmit the switching instruction to the second central processing unit, and issue a channel switching instruction to the display switching module, including: The first central processing unit sends the current display data to the display module through the first channel; After sending the display data of the last frame, the first central processing unit sends the channel switching instruction to the display switching module and transmits the switching instruction to the second central processing unit.
3. The dual-system switching method according to claim 1, wherein: The display switching module shuts off the first channel and turns on the second channel according to the channel switching instruction, comprising: The display switching module turns off the first channel and turns on the second channel in a time period less than one frame.
4. The dual-system switching method according to claim 1, wherein: The operation data information includes: The first central processing unit runs a program and a main interface.
5. The dual-system switching method according to claim 4, characterized in that: The second central processing unit is configured to start operation upon receiving the switching instruction, and generate the display data according to the operation data information, including: After receiving the switching instruction, the second central processing unit is put into operation within a time period of less than one frame; The second central processing unit controls the display module to display the screen of the switching interface; The second central processing unit continues to execute the program being run by the first central processing unit, and generates the display data according to the main interface; The second central processing unit inputs the display data into the display module through the second channel.
6. The dual-system switching method according to claim 4, characterized in that: The display module performs screen display according to the display data, including: The display module displays the main interface according to the display data.
7. The dual-system switching method according to claim 1, wherein: The first channel includes: a first signal transmission bus and a first control signal bus; the second channel includes: a second signal transmission bus and a second control signal bus; the third channel includes: a third signal transmission bus and a third control signal bus; the display data includes: picture display data and picture parameter data; The first signal transmission bus, the second signal transmission bus and the third signal transmission bus are used to transmit the picture display data; The first control signal bus, the second control signal bus, and the third control signal bus are used to transmit the picture parameter data.
8. The dual-system switching method according to claim 1, wherein: The first system includes an Android system; the second system includes a real-time operating system.
9. A dual-system switching device, characterized in that: include: The first central processing unit is configured to output operation data information to the second central processing unit when entering the switching interface and not receiving a switching instruction; The first central processing unit is further configured to, upon entering the switching interface and receiving the switching instruction, transmit the switching instruction to the second central processing unit and issue a channel switching instruction to the display switching module; The display switching module is configured to shut down the first channel and turn on the second channel according to the channel switching instruction; The second central processing unit is configured to start operation upon receiving the switching instruction and generate display data according to the operation data information; The display module is used for performing screen display according to the display data.
10. The dual-system switching device according to claim 9, characterized in that: The data transmission interface of the first central processing unit is connected to the data transmission interface of the second central processing unit, and the data transmission interface is used to transmit the operation data information; The signal synchronization interface of the first central processing unit is connected to the signal synchronization interface of the second central processing unit, and the signal synchronization interface is used to transmit the switching instruction.