Image display method for inter-system switching, smart wearable device, and storage medium

By writing task image information into the data sharing area and loading it by the second operating system during system switching, the problem of unsmooth screen display during system switching of smart wearable devices is solved, achieving seamless connection and improving user experience.

CN115421681BActive Publication Date: 2026-11-27GEER TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211231843.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-11-27
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

During system switching, smart wearable devices may experience brief black or blue screens, resulting in choppy display and affecting the user's visual experience.

Method used

When a hibernation command is received, the task image information of the current display task of the first operating system is written into the data sharing area, and after the writing is completed, the first processor is controlled to enter hibernation state. The second operating system loads the task image information in the data sharing area for display, so as to achieve seamless switching between systems.

Benefits of technology

It ensures smooth screen display during system switching of smart wearable devices, avoids brief black screen or blue screen phenomena, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115421681B_ABST
    Figure CN115421681B_ABST
Patent Text Reader

Abstract

The application discloses an image display method for inter-system switching, a smart wearable device and a storage medium. The image display method for inter-system switching comprises the following steps: if a sleep instruction for controlling a first processor to switch from a wake-up state to a sleep state is received, task image information corresponding to a current display task of a first operating system is written into a data sharing area; after the task image information is written, the first processor is controlled to enter the sleep state, and the task image information stored in the data sharing area is loaded by a second operating system for display, so that the second operating system continues to run the current display task. The application improves the smoothness of picture display of the smart wearable device during the inter-system switching process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wearable device technology, and in particular to an image display method for inter-system switching, a smart wearable device, and a storage medium. Background Technology

[0002] VR (Virtual Reality) devices or AR (Augmented Reality) devices are currently experiencing rapid development and widespread adoption of virtual reality and augmented reality products. Many smart wearable devices on the market, such as AR / VR glasses or AR / VR headsets, are placing increasingly higher demands on system computing power, power consumption, and performance. The architecture of smart wearable devices is becoming increasingly sophisticated and complex. To balance the support and expansion of AR / VR product functions with good battery life, dual operating systems based on "Android + RTOS (Real-time Operating System)" (referred to as dual systems) are becoming increasingly common. However, during the system switching process between dual systems, the screen of smart wearable devices may experience a brief blackout or blue screen, resulting in choppy display and severely impacting the user's visual experience. Summary of the Invention

[0003] The main purpose of this application is to provide an image display method, a smart wearable device, and a storage medium for switching between systems, aiming to solve the technical problem of poor screen display smoothness during system switching of dual systems in smart wearable devices.

[0004] The image display method for inter-system switching is applied to a smart wearable device, which includes a first processor running a first operating system and a second processor running a second operating system. The image display method for inter-system switching includes:

[0005] If a hibernation command is received to control the first processor to switch from a wake-up state to a hibernation state, the task image information corresponding to the current display task of the first operating system is written to the data sharing area.

[0006] After the task image information is written, the first processor is controlled to enter a sleep state, and the task image information stored in the data sharing area is loaded and displayed through the second operating system, so as to control the second operating system to continue running the current display task.

[0007] Optionally, the step of controlling the first processor to enter a sleep state includes, before:

[0008] The system switching information is sent from the first operating system to the second operating system, wherein the system switching information includes the image index of the task image information in the corresponding storage location in the data sharing area;

[0009] The system switching information is received through the second operating system, and the task image information stored in the data sharing area is read according to the image index;

[0010] The read task image information is stored in the local cache of the second operating system;

[0011] The step of loading and displaying the task image information stored in the data sharing area through the second operating system includes:

[0012] The task image information stored in the local cache is loaded and displayed through the second operating system.

[0013] Optionally, the step of storing the read task image information to the local cache of the second operating system includes:

[0014] After storing the read task image information, the screen display channel for image output is switched from the first processor to the second processor.

[0015] Optionally, the step of controlling the first processor to enter a sleep state includes, before:

[0016] The system switching information is sent from the first operating system to the second operating system, wherein the system switching information includes the image index of the task image information in the corresponding storage location in the data sharing area;

[0017] The system switching information is received through the second operating system, and the image index is stored in the local cache of the second operating system.

[0018] The step of loading and displaying the task image information stored in the data sharing area through the second operating system includes:

[0019] The second operating system loads the image index stored in the local cache, and then reads and displays the task image information stored in the data sharing area based on the loaded image index.

[0020] Optionally, after the step of loading and displaying the task image information stored in the data sharing area through the second operating system, the following steps are included:

[0021] Real-time detection of image display status control commands input by user touch operations, and acquisition of task attributes corresponding to the current display task;

[0022] Based on the image display status control command, the sensor data corresponding to the task attribute, or the Internet data obtained online, the displayed task image information is updated in real time to continue running the current display task.

[0023] Optionally, the step of updating the displayed task image information in real time includes:

[0024] The task image information is synchronously updated to the data sharing area at a preset frequency.

[0025] Optionally, the step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area further includes:

[0026] Write the task audio information corresponding to the current audio playback task of the first operating system to the data sharing area;

[0027] The step of controlling the first processor to enter a sleep state after the task image information is written, and loading the task image information stored in the data sharing area through the second operating system for display includes:

[0028] After the task image information and the task audio information have been written, the first processor is controlled to enter a sleep state.

[0029] The second operating system loads and plays the task audio information stored in the data sharing area, thereby controlling the second operating system to continue running the current audio playback task;

[0030] The task image information stored in the data sharing area is loaded and displayed through the second operating system.

[0031] Optionally, the step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area includes:

[0032] Detect the operating status of the second processor;

[0033] If the second processor is in a sleep state, control the second processor to enter a wake-up state;

[0034] After the second processor enters the wake-up state, the step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area is executed.

[0035] This application also provides a smart wearable device, which is a physical device. The smart wearable device includes: a memory, a processor, and a program for the inter-system switching image display method stored in the memory and executable on the processor. When the program for the inter-system switching image display method is executed by the processor, it can implement the steps of the inter-system switching image display method as described above.

[0036] This application also provides a storage medium, which is a computer-readable storage medium, storing a program for implementing an image display method for inter-system switching. The program for implementing the image display method for inter-system switching is executed by a processor to implement the steps of the image display method for inter-system switching as described above.

[0037] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the image display method for inter-system switching as described above.

[0038] This application, upon receiving a hibernation command to switch the first processor from a wake-up state to a hibernation state, writes the task image information corresponding to the current display task of the first operating system to a data sharing area. After the task image information is written, the first processor is controlled to enter a hibernation state, and the second operating system loads the task image information stored in the data sharing area for display. This allows the second operating system to continue running the current display task, enabling the first operating system to save and transmit the current application scenario's on-site display environment information to the second operating system via the data sharing area. After parsing, the second operating system immediately takes over the display task and continues running, achieving a seamless transition of display images during system switching. This makes the user unaware of the operating system switching process. In contrast, if the first operating system immediately enters a hibernation state upon receiving the hibernation command, it is more likely to lose historical display tasks, leading to a brief black screen or blue screen during system switching in the smart wearable device. This leads to a problem of choppy screen display. This application addresses this by delaying the entry point of the first operating system into hibernation mode. Specifically, it first writes the task image information corresponding to the current display task of the first operating system to the data sharing area. During this writing process, the first operating system does not enter hibernation mode; therefore, it continues to manage the current display task (the first operating system is still displaying the task image information corresponding to the current display task) until the task image information is completely written. Only then does the first operating system stop managing the current display task (the first operating system stops displaying the task image information corresponding to the current display task and enters hibernation mode). The second operating system, now awake, reads the task image information stored in the data sharing area and immediately takes over the current display task (because the reading process is very fast, the reading time is negligible). This avoids the loss of historical display tasks from the previous operating system, preventing brief black screens or blue screens, and completing the switching action within the duration of human visual persistence. If the historical display task of the previous operating system is lost, a second operation is required to restart the application corresponding to the current display task. Only after the application corresponding to the current display task has fully started can the task image information corresponding to the current display task be displayed. However, this application uses data sharing in the data sharing area to first mount and display the task image information, and then synchronously starts the application corresponding to the current display task in the background. After the application corresponding to the current display task has started, the task image information is updated in real time, thereby achieving true "seamless switching". This improves the smoothness of screen display during the switching process between systems of smart wearable devices, and overcomes the technical problem of poor screen display smoothness during the switching process of smart wearable devices. Attached Figure Description

[0039] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0040] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is a flowchart illustrating the first embodiment of the image display method for switching between systems in this application;

[0042] Figure 2 This is a flowchart illustrating the second embodiment of the image display method for switching between systems in this application;

[0043] Figure 3 This is a flowchart illustrating the third embodiment of the image display method for switching between systems in this application;

[0044] Figure 4 This is a flowchart illustrating the fourth embodiment of the image display method for switching between systems in this application;

[0045] Figure 5 This is a schematic diagram of the frame structure of a smart wearable device in one embodiment of this application;

[0046] Figure 6 This is a schematic diagram of the display interface of a smart wearable device in one embodiment of this application;

[0047] Figure 7 This is a schematic diagram of the data storage of task image information in the data sharing area in one embodiment of this application;

[0048] Figure 8 This is a schematic diagram of the data storage of task image information in the data sharing area in another embodiment of this application;

[0049] Figure 9 This is a timing diagram of an image display method for inter-system switching in one embodiment of this application;

[0050] Figure 10 This is a schematic diagram of the hardware operating environment involved in the smart wearable device in the embodiments of this application.

[0051] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0052] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0053] In this embodiment, the smart wearable device of this application may be, for example, a Mixed Reality (MR) device, an Augmented Reality (AR) device, a Virtual Reality (VR) device, an Extended Reality (XR) device, or some combination thereof.

[0054] During the system switching process between the two systems of a smart wearable device, the screen may experience a brief blackout or blue screen, resulting in choppy display and severely impacting the user's visual experience.

[0055] Example 1

[0056] Based on this, please refer to Figure 1 This embodiment provides an image display method for inter-system switching, which is applied to a smart wearable device. The smart wearable device includes a first processor running a first operating system and a second processor running a second operating system. The image display method for inter-system switching includes:

[0057] Step S10: If a hibernation command is received to control the first processor to switch from a wake-up state to a hibernation state, the task image information corresponding to the current display task of the first operating system is written to the data sharing area.

[0058] In this embodiment, the processor's operating states include a hibernation state and a wake-up state. The hibernation state refers to a power-saving mode that the processor enters when it is idle due to no applications running. The wake-up state refers to a running mode in which an application is currently running on the processor, as opposed to the hibernation state.

[0059] It should be noted that this data sharing area is a hard disk area that both the first and second operating systems can read and write to, and both operating systems can load the data resources in this data sharing area. These data resources include, but are not limited to, audio codec data resources and video codec data resources.

[0060] It is understandable that the hibernation command controlling the first processor to transition from a wake-up state to a hibernation state can be actively triggered or passively triggered. For example, a smart wearable device can select one of its dual processors to enter the wake-up state while the other enters the hibernation state based on the current power consumption. In other words, only one operating system is launched to minimize power consumption. That is, the system will launch the processor with the appropriate hardware configuration or processing performance level corresponding to the current power consumption, thereby achieving both minimal power consumption and smooth application operation. This satisfies the performance requirements of the applications currently running on the system while effectively reducing the power consumption of the smart wearable device. Therefore, this hibernation command can be passively triggered by the system to reduce power consumption. Of course, this hibernation command can also be triggered by the user through active input. These active input methods include, but are not limited to, voice input, physical button press input, or touchscreen input.

[0061] As an example, the step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area includes:

[0062] Step A10: Detect the operating status of the second processor;

[0063] Step A20: If the second processor is in a sleep state, control the second processor to enter a wake-up state;

[0064] For example, the second processor can be controlled to enter a wake-up state by the first processor based on inter-core communication. Specifically, each operating system has a resident program for waking up another operating system, which is used to control the other operating system in a dormant state to enter a wake-up state.

[0065] Step A30: After the second processor enters the wake-up state, the step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area is executed.

[0066] In this embodiment, the smart wearable device includes two processors, one of which is a main processor with relatively high power consumption and processing performance, and the other can be a secondary processor with relatively low power consumption and processing performance.

[0067] Generally, the secondary operating system running on the secondary processor of a smart wearable device can only perform low-power applications such as information notifications, weather status, and voice calls. However, the main operating system running on the main processor can support high-power applications such as AR navigation and AR shopping due to the higher hardware configuration requirements of the main processor.

[0068] In this embodiment, the two operating systems can be of the same type or different types. Those skilled in the art will understand that when the two operating systems are different, the dual system of the smart wearable device can be either "Android + RTOS (Real-time Operating System)" or "HarmonyOS + RTOS". Each processor runs a separate operating system; for example, the main processor runs Android or HarmonyOS, while the secondary processor runs the real-time operating system.

[0069] To aid in understanding the meanings of "first" and "second" in this embodiment, an example is provided. In this example, the dual systems of the smart wearable device are an Android system and a real-time operating system. The Android system runs on the main processor, and the real-time operating system runs on the secondary processor. If a hibernation command is received to control the main processor to switch from a wake-up state to a hibernation state, then the main processor is the first processor, the Android system is the first operating system, the secondary processor is the second processor, and the real-time operating system is the second operating system. If a hibernation command is received to control the secondary processor to switch from a wake-up state to a hibernation state, then the secondary processor is the first processor, the real-time operating system is the first operating system, the main processor is the second processor, and the Android system is the second operating system.

[0070] This embodiment controls the second processor to enter a wake-up state when the second processor is in a sleep state, thereby facilitating the smooth transfer of the current display task of the first operating system to the second operating system and avoiding the phenomenon of image interruption when the first operating system enters a sleep state during the display process.

[0071] After step S10, step S20 is executed. After the task image information is written, the first processor is controlled to enter a sleep state, and the task image information stored in the data sharing area is loaded and displayed through the second operating system, so as to control the second operating system to continue running the current display task.

[0072] In this embodiment, the task image information can be divided into dynamic and static images. For example, if the current display task includes a clock image display task, then the task image information corresponding to the current display task can include a static clock face image and a dynamically changing clock hand image. Initially, the first operating system is responsible for displaying the clock interface. However, when the first processor receives a sleep command to switch from a wake-up state to a sleep state, it needs to switch from the first operating system to the second processor to handle the clock image display task. In this embodiment, before the first processor enters the sleep state, the task image information corresponding to the current display task of the first operating system is written to the data sharing area. After the task image information is written, the processor enters the sleep mode, which facilitates the second operating system to load the task image information stored in the data sharing area for display, thereby controlling the second operating system to continue running the current display task.

[0073] In this embodiment, upon receiving a hibernation command to switch the first processor from a wake-up state to a hibernation state, the task image information corresponding to the current display task of the first operating system is written to the data sharing area. After the task image information is written, the first processor is controlled to enter hibernation. The second operating system loads the task image information stored in the data sharing area for display, thereby controlling the second operating system to continue running the current display task. This allows the first operating system to save and transmit the current application scenario's on-site display environment information to the second operating system through the data sharing area. After parsing, the second operating system immediately takes over the display task and continues running, achieving a seamless transition of display images during system switching. This makes the user unaware of the operating system switching process. In contrast, if the first operating system immediately enters hibernation upon receiving the hibernation command, it is more likely to lose historical display tasks, leading to a brief black screen or blue screen during system switching in the smart wearable device. This leads to problems with the smooth display of the screen. However, this embodiment delays the time when the first operating system enters a sleep state. Specifically, it first writes the task image information corresponding to the current display task of the first operating system to the data sharing area. During the writing of this task image information, the first operating system does not enter a sleep state. Therefore, the first operating system is still taking over the current display task (the first operating system is still displaying the task image information corresponding to the current display task) until the task image information is written. Only then does the first operating system stop taking over the current display task (the first operating system stops displaying the task image information corresponding to the current display task and enters sleep mode). The second operating system, which is in a wake-up state, reads the task image information stored in the data sharing area and immediately takes over the current display task (because the reading process of the task image information is very fast, the reading time is negligible). This avoids the loss of the historical display tasks of the previous operating system and the occurrence of a brief black screen or blue screen phenomenon. The switching action is completed within the time of the persistence of vision of the human eye. If the historical display task of the previous operating system is lost, a second operation is required to restart the application corresponding to the current display task. Only after the application corresponding to the current display task has fully started can the task image information corresponding to the current display task be displayed. However, in this embodiment, through data sharing in the data sharing area, the task image information is first mounted and displayed, and the application corresponding to the current display task is started synchronously in the background. After the application corresponding to the current display task has started, the task image information is updated in real time, thereby achieving true "seamless switching". This improves the smoothness of screen display during the switching process between systems of smart wearable devices, and overcomes the technical problem of poor screen display smoothness during the switching process of smart wearable devices.

[0074] In one possible implementation, please refer to Figure 3The step prior to controlling the first processor to enter a sleep state includes:

[0075] Step S41: The system switching information is sent from the first operating system to the second operating system, wherein the system switching information includes the image index of the task image information in the corresponding storage location in the data sharing area;

[0076] In this embodiment, the system switching information refers to the information notifying the second operating system that it is about to switch from the first operating system to the second operating system. Those skilled in the art will understand that the image index contains the storage location information of the task image information in the data sharing area, and the storage location of the task image information in the data sharing area can be located and read based on the image index.

[0077] Step S42: Receive the system switching information through the second operating system and store the image index in the local cache of the second operating system;

[0078] In this embodiment, the local cache area refers to the buffer buffer.

[0079] The step of loading and displaying the task image information stored in the data sharing area through the second operating system includes:

[0080] Step S43: Load the image index stored in the local cache through the second operating system, and read and display the task image information stored in the data sharing area according to the loaded image index.

[0081] In this embodiment, the system switching information is sent from the first operating system to the second operating system. The system switching information includes the image index of the task image information at the corresponding storage location in the data sharing area. The second operating system then receives the system switching information and stores the image index in its local cache. This facilitates the second operating system to read the image index stored in its local cache and load the task image information from the data sharing area for display. This allows for a smooth takeover of the historical display tasks from the first operating system and avoids brief black screen or blue screen phenomena during the system switching process of the dual systems of the smart wearable device.

[0082] Further, the step of storing the image index to the local cache of the second operating system includes:

[0083] Step B10: After storing the image index, the screen display channel for image output is switched from the first processor to the second processor.

[0084] After the second operating system finishes storing the read image index, it switches the screen display channel for image output from the first processor to the second processor. This means the first operating system stops running the current display task, and the second operating system, now awake, reads the image information stored in the data sharing area to immediately take over the current display task. When the network signal quality is good and stable, the image information reading process is very fast, with negligible reading time. Therefore, this embodiment, by switching the screen display channel for image output from the first processor to the second processor after storing the image index, enables a seamless transition of the current display task from the first operating system to the second operating system, further improving the smoothness of screen display during system switching in smart wearable devices.

[0085] In another possible implementation, please refer to Figure 2 The step prior to controlling the first processor to enter a sleep state includes:

[0086] Step S31: The system switching information is sent from the first operating system to the second operating system, wherein the system switching information includes the image index of the task image information in the corresponding storage location in the data sharing area;

[0087] In this embodiment, the system switching information refers to the information notifying the second operating system that it is about to switch from the first operating system to the second operating system. Those skilled in the art will understand that the image index contains the storage location information of the task image information in the data sharing area, and the storage location of the task image information in the data sharing area can be located and read based on the image index.

[0088] Step S32: Receive the system switching information through the second operating system, read the task image information stored in the data sharing area according to the image index, and store the read task image information in the local cache of the second operating system;

[0089] In this embodiment, the local cache area refers to the buffer buffer.

[0090] The step of loading and displaying the task image information stored in the data sharing area through the second operating system includes:

[0091] Step S33: Load and display the task image information stored in the local cache through the second operating system.

[0092] Considering that loading data from a shared data area is more susceptible to network signal quality issues than loading data from a local cache, leading to packet loss / droppage and slow data reading, this embodiment uses a first operating system to send system switching information to a second operating system. This system switching information includes the image index of the task image information stored in the shared data area. The second operating system receives the system switching information, reads the task image information stored in the shared data area based on the image index, stores the read task image information in its local cache, and then loads and displays the task image information from the local cache. This avoids the problem of unstable network signals causing task image information reading failures or slow reading speeds when directly reading task image information from the shared data area, thereby reducing the time required to acquire task image information and enabling rapid loading and display of the task image information. This achieves a "seamless connection" effect and further improves the smoothness of screen display during system switching of smart wearable devices.

[0093] Furthermore, in one implementable manner, the step of storing the read task image information to the local cache of the second operating system includes:

[0094] Step C10: After storing the read task image information, switch the screen display channel for image output from the first processor to the second processor.

[0095] After the second operating system finishes storing the read task image information, it switches the screen display channel for image output from the first processor to the second processor. That is, the first operating system stops running the current display task, and the second operating system, which is in a wake-up state, reads the task image information stored in the data sharing area to immediately take over the current display task. The reading process of the task image information is very fast, and the reading time is negligible. Therefore, this embodiment achieves a "seamless transition" of the current display task from the first operating system to the second operating system by switching the screen display channel for image output from the first processor to the second processor after storing the read task image information. This further improves the smoothness of the screen display during the switching process between systems of the smart wearable device.

[0096] In one possible implementation, the step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area further includes:

[0097] Step D10: Write the task audio information corresponding to the current audio playback task of the first operating system to the data sharing area;

[0098] The step of controlling the first processor to enter a sleep state after the task image information is written, and loading the task image information stored in the data sharing area through the second operating system for display includes:

[0099] Step D20: After the task image information and the task audio information have been written, control the first processor to enter a sleep state.

[0100] Step D30: The second operating system loads and plays the task audio information stored in the data sharing area to control the second operating system to continue running the current audio playback task;

[0101] Step D40: Load and display the task image information stored in the data sharing area through the second operating system.

[0102] This embodiment writes the task image information corresponding to the current display task of the first operating system to the data sharing area, and simultaneously writes the task audio information corresponding to the current audio playback task of the first operating system to the data sharing area. After both the task image information and the task audio information are written, the first processor is controlled to enter a sleep state, and the task audio information stored in the data sharing area is loaded and played by the second operating system to control the second operating system to continue running the current audio playback task. In this way, during the system switching process between the two systems of the smart wearable device, the loss of the historical display tasks of the first operating system, which would result in a brief black screen or blue screen, is avoided, thus improving the smoothness of the screen display of the smart wearable device. It can also avoid the loss of the historical audio playback tasks of the first operating system, which would result in a brief audio interruption / stuttering, thus improving the smoothness of audio playback during the system switching process of the smart wearable device.

[0103] To aid in understanding the technical concept or working principle of this application, a specific embodiment is provided:

[0104] In this specific embodiment, please refer to Figure 5 , Figure 5This is a schematic diagram of the framework structure of a smart wearable device in an embodiment of this application. The smart wearable device includes an AP (application processor) and a CP (baseband processor). The AP and CP each run an operating system, and the two operating systems cooperate to complete the display task. The AP and CP can transmit information between the two systems through inter-core communication. Both the AP and CP can read and write data (such as task image information) stored in the data sharing area via the BUS bus. The inter-core communication messages are mainly used for notification and can carry a small amount of data, while the data sharing area can store a large amount of data.

[0105] In smart wearable devices, both the AP (Application Processor) and CP (Content Processor) have their own tasks, and switching between them frequently occurs in real-world applications. For example, when the AP needs to enter sleep mode, it needs to switch the display path to the CP side. This requires a "seamless transition" to minimize the time spent switching between systems.

[0106] From the perspective of display content in smart wearable devices, display scenarios can be divided into dynamic and static images. For example, to display a clock interface, the clock face is static, but the clock hands are moving. Initially, the AP is responsible for displaying this clock interface, but now it needs to switch to the CP side to handle this display task. Therefore, the AP needs to save the current application scenario and send it to the CP side. After parsing, the CP side immediately takes over the display task and continues running.

[0107] This specific embodiment provides a method for managing a data sharing area, the purpose of which is to enable the rapid transmission of scene identification information and seamless switching when AP and CP switch in certain scenarios.

[0108] In this specific embodiment, both the AP and CP can read and write to this data sharing area, and the data storage format for the task image information can be referred to... Figure 7The `Index` field contains the data index ID for easy searching and traversal. The `Type` field indicates the data type; the parsing method for the data content differs depending on the `Type`. If `Type` represents a static image, then `data` contains the image path information. If `Type` represents the current time, then the corresponding `data` field contains the specific time (hours, minutes, seconds). If `Type` represents a component in the display interface, such as a button, then the `data` field contains the button's coordinates, size, and other information. The `Role` field represents the role (AP or CP) that last wrote data to this index. The `Length` field indicates the actual length of the `data` field, used for validation to prevent read / write out-of-bounds errors. The `Offset` field represents the offset information, allowing precise location of the `data` field address for a specific index based on its starting address.

[0109] For reference Figure 6 , Figure 6 This is a schematic diagram of the display interface of a smart wearable device in an embodiment of this application. The currently running display tasks on this interface include webpage image display, temperature image display, weather image display, and time image display. Initially, the display is on the AP side, but now it needs to switch to the CP side. Before going into sleep mode, the AP side writes the site information to the data sharing area. The data storage format for this site information stored in the data sharing area can be found in [reference needed]. Figure 8 In this table, entry 1 corresponds to temperature information. The AP writes the temperature value, coordinates, display area, and other parameters at the time of switching into the data area of ​​the corresponding table. The clock corresponds to entry 2, the weather corresponds to entry 3, and the webpage image corresponds to entry 4.

[0110] For reference Figure 9 , Figure 9 This is a timing diagram of the image display method for system switching in this application embodiment. The specific steps include: (1) When the AP receives a sleep command while driving the screen display, it immediately writes the current display environment data into the data sharing area; (2) After saving the state, it sends a message to notify the CP side that a switch is about to be performed. The message will carry the index corresponding to the state when it was saved; (3) After receiving the notification, the CP side reads the data in the corresponding index from the shared memory according to the index information and saves it locally; (4) After reading, it sends a message to notify the AP side to stop displaying and enter sleep mode. At the same time, the CP continues to complete the display task according to the read information.

[0111] It should be noted that the process of switching from CP to AP is the same. After the CP saves the current state to shared memory, the corresponding role becomes CP.

[0112] It should be noted that the above specific embodiments are only used to help understand the technical concept or working principle of this embodiment, and do not constitute a limitation on this application. Any simple modifications based on the technical concept or working principle of this embodiment should be within the protection scope of this application.

[0113] Example 2

[0114] Based on the above embodiments of this application, please refer to Figure 4 In another embodiment of this application, content that is the same as or similar to that in Embodiment 1 described above can be referred to the above description and will not be repeated hereafter. Based on this, the step of loading and displaying the task image information stored in the data sharing area through the second operating system includes:

[0115] Step S51: Real-time detection of image display status control commands input by user touch operations, and acquisition of task attributes corresponding to the current display task;

[0116] It's easy to understand that different display tasks correspond to different task attributes. For example, the task attribute for a clock image display task is "clock," the task attribute for a weather image display task is "weather," the task attribute for a webpage image display task is "webpage," and the task attribute for a temperature image display task is "temperature."

[0117] In this embodiment, the user touch operation may include physical button touch operation and touchscreen button touch operation. The user can input image display status control commands through physical button touch operation or touchscreen button touch operation, thereby updating the task image information corresponding to the current display task in real time. For example, on the display interface of a smart wearable device, the user can use touchscreen button operation to navigate to web pages at different network addresses, thus updating the task image information corresponding to the web page image display task in real time. As another example, the user can use physical button touch operation to calibrate the clock hand on a clock face, thus updating the task image information corresponding to the clock image display task in real time.

[0118] Step S52: Based on the image display status control command, the sensor data corresponding to the task attribute, or the Internet data obtained online, update the displayed task image information in real time to continue running the current display task.

[0119] In this embodiment, for example, on the display interface of the smart wearable device, the device can obtain the latest current time information through online internet data. Based on this current time information, the clock hands on the clock face are calibrated in real time, enabling real-time updates of the task image information corresponding to the clock image display task. As another example, the current display task includes a temperature image display task, and the task attribute corresponding to the temperature image display task is temperature, with its corresponding sensor data being temperature information. In this case, the current temperature information can be collected by the temperature sensor mounted on the smart wearable device, and the task image information corresponding to the temperature image display task can be updated in real time based on the collected temperature information.

[0120] This embodiment detects the image display status control commands input by the user's touch operation in real time, obtains the task attributes corresponding to the current display task, and then updates the displayed task image information in real time according to the image display status control commands, the sensor data corresponding to the task attributes, or the Internet data obtained online, so as to continue running the current display task and realize the smooth takeover of the historical display tasks of the first operating system by the second operating system.

[0121] Furthermore, in one implementable manner, the step of updating the displayed task image information in real time includes:

[0122] Step E10: Synchronously update the real-time updated task image information to the data sharing area at a preset frequency.

[0123] This embodiment synchronizes the real-time updated task image information to the data sharing area at a preset frequency. This facilitates the next system switch (when the original first processor and first operating system are switched to the second processor and second operating system, and the original second processor and second operating system are switched to the first processor and first operating system). The newly switched operating system can load the latest task image information from the current display task of the previous operating system from the data sharing area for display, avoiding inconsistencies with the task image information of the operating system before the switch, which would cause screen asynchrony and affect the smoothness of screen display during the switching process of the smart wearable device.

[0124] Example 3

[0125] This invention provides a smart wearable device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the image display method for inter-system switching in the first embodiment described above.

[0126] The following is for reference. Figure 10 The diagram illustrates a structural schematic suitable for implementing the embodiments of the present disclosure of a smart wearable device. The smart wearable device in the embodiments of the present disclosure may include, but is not limited to, Mixed Reality (MR) devices, Augmented Reality (AR) devices, Virtual Reality (VR) devices, Extended Reality (XR) devices, or some combination thereof. Figure 10 The smart wearable device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0127] like Figure 10 As shown, the smart wearable device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM 1002) or a program loaded from a storage device into a random access memory (RAM 1004). The RAM 1004 also stores various programs and data required for the operation of the AR glasses. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. Input / output (I / O) interfaces are also connected to the bus 1005.

[0128] Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the smart wearable device to communicate wirelessly or wiredly with other devices to exchange data. Although smart wearable devices with various systems are shown in the figures, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems may be implemented alternatively.

[0129] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of embodiments of this disclosure.

[0130] The smart wearable device provided by this invention employs the image display method for inter-system switching in Embodiment 1 or Embodiment 2 described above, which can solve the technical problem of poor screen display smoothness during system switching in dual systems of the smart wearable device. Compared with the prior art, the beneficial effects of the smart wearable device provided by this invention are the same as those of the image display method for inter-system switching provided in Embodiment 1 described above, and other technical features of this smart wearable device are the same as those disclosed in the method of the previous embodiment, and will not be repeated here.

[0131] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0132] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

[0133] Example 4

[0134] This invention provides a storage medium, which is a computer storage medium, having computer-readable program instructions stored thereon, which are used to execute the image display method for inter-system switching in the above embodiment one.

[0135] The computer-readable storage medium provided in this embodiment of the invention may be, for example, a USB flash drive, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0136] The aforementioned computer-readable storage medium may be included in the smart wearable device; or it may exist independently and not assembled into the smart wearable device.

[0137] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by a smart wearable device, the smart wearable device: if it receives a sleep instruction to control the first processor to switch from a wake-up state to a sleep state, it writes the task image information corresponding to the current display task of the first operating system to the data sharing area; after the task image information is written, it controls the first processor to enter a sleep state, and displays the task image information stored in the data sharing area through the second operating system, so as to control the second operating system to continue running the current display task.

[0138] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0139] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0140] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0141] The computer-readable storage medium provided by this invention stores computer-readable program instructions for performing the image display method for system switching described above, which can solve the technical problem of poor screen display smoothness during system switching in dual-system smart wearable devices. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiments of this invention are the same as the beneficial effects of the image display method for system switching provided in Embodiment 1 or Embodiment 2 above, and will not be repeated here.

[0142] Example 5

[0143] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the image display method for inter-system switching as described above.

[0144] The computer program product provided in this application can solve the technical problem of poor screen display smoothness during system switching in dual-system smart wearable devices. Compared with the prior art, the beneficial effects of the computer program product provided in this embodiment are the same as the beneficial effects of the image display method for system switching provided in Embodiment 1 or Embodiment 2 above, and will not be repeated here.

[0145] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A method for image display during inter-system switching, characterized in that, The image display method for inter-system switching is applied to a smart wearable device, the smart wearable device including a first processor running a first operating system and a second processor running a second operating system, the image display method for inter-system switching including: If a hibernation command is received to control the first processor to switch from a wake-up state to a hibernation state, the task image information corresponding to the current display task of the first operating system is written to the data sharing area according to a preset data storage format. The data storage format includes an Index field, a Type field, a Role field, a Length field, and an Offset field. When the Type field represents a static image, the task image information is the image path information; when the Type field represents the current time information, the task image information is the hour, minute, and second information of the current time; when the Type field represents a component in the display interface, the task image information is the coordinates and size information of the component. The Role field is used to represent the role that last performed the write operation on the task image information; the Length field represents the actual data length of the task image information; and the Offset field is used to locate the storage address of the task image information based on the starting address. After the second operating system finishes storing the read task image information into its local cache, it controls the first processor to enter a sleep state, and loads the task image information stored in the data sharing area through the second operating system for display, thereby controlling the second operating system to continue running the current display task; wherein, the step of controlling the first processor to enter a sleep state, loading the task image information stored in the data sharing area through the second operating system for display, and controlling the second operating system to continue running the current display task includes: The second operating system sends a message to notify the first operating system to stop displaying and enter a sleep state. At the same time, the second operating system continues to complete the current display task according to the task image information stored in the local cache, and controls the first processor to stop displaying and enter a sleep state according to the message.

2. The image display method for inter-system switching as described in claim 1, characterized in that, Prior to the step of controlling the first processor to enter a sleep state, the following steps are included: The system switching information is sent from the first operating system to the second operating system, wherein the system switching information includes the image index of the task image information in the corresponding storage location in the data sharing area; The system switching information is received through the second operating system, and the task image information stored in the data sharing area is read according to the image index; The read task image information is stored in the local cache of the second operating system; The step of loading and displaying the task image information stored in the data sharing area through the second operating system includes: The task image information stored in the local cache is loaded and displayed through the second operating system.

3. The image display method for inter-system switching as described in claim 2, characterized in that, The step of storing the read task image information to the local cache of the second operating system includes: After storing the read task image information, the screen display channel for image output is switched from the first processor to the second processor.

4. The image display method for inter-system switching as described in claim 1, characterized in that, Prior to the step of controlling the first processor to enter a sleep state, the following steps are included: The system switching information is sent from the first operating system to the second operating system, wherein the system switching information includes the image index of the task image information in the corresponding storage location in the data sharing area; The system switching information is received through the second operating system, and the image index is stored in the local cache of the second operating system. The step of loading and displaying the task image information stored in the data sharing area through the second operating system includes: The second operating system loads the image index stored in the local cache, and then reads and displays the task image information stored in the data sharing area based on the loaded image index.

5. The image display method for inter-system switching as described in any one of claims 1 to 4, characterized in that, After the step of loading and displaying the task image information stored in the data sharing area through the second operating system, the following steps are included: Real-time detection of image display status control commands input by user touch operations, and acquisition of task attributes corresponding to the current display task; Based on the image display status control command, the sensor data corresponding to the task attribute, or the Internet data obtained online, the displayed task image information is updated in real time to continue running the current display task.

6. The image display method for inter-system switching as described in claim 5, characterized in that, The step of updating the displayed task image information in real time includes: The task image information is synchronously updated to the data sharing area at a preset frequency.

7. The image display method for inter-system switching as described in claim 1, characterized in that, The step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area also includes: Write the task audio information corresponding to the current audio playback task of the first operating system to the data sharing area; The step of controlling the first processor to enter a sleep state after the task image information is written, and loading the task image information stored in the data sharing area through the second operating system for display includes: After the task image information and the task audio information have been written, the first processor is controlled to enter a sleep state. The second operating system loads and plays the task audio information stored in the data sharing area, thereby controlling the second operating system to continue running the current audio playback task; The task image information stored in the data sharing area is loaded and displayed through the second operating system.

8. The image display method for inter-system switching as described in claim 1, characterized in that, Before the step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area, the following steps are included: Detect the operating status of the second processor; If the second processor is in a sleep state, control the second processor to enter a wake-up state; After the second processor enters the wake-up state, the step of writing the task image information corresponding to the current display task of the first operating system to the data sharing area is executed.

9. A smart wearable device, characterized in that, The smart wearable device includes: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the steps of the image display method for inter-system switching according to any one of claims 1 to 8.

10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and the computer-readable storage medium stores a program for implementing an image display method for inter-system switching. The program for implementing the image display method for inter-system switching is executed by a processor to implement the steps of the image display method for inter-system switching as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • System interaction method and wearable equipment

    CN110908496A

  • System switching method and device, equipment and storage medium

    CN114647452A

  • Display method and device of wearable equipment, wearable equipment and medium

    CN114706693A

  • Interface display method and device, terminal equipment and computer readable storage medium

    CN115080158A