Interface mode switching method and apparatus, and electronic device, chip and medium
By setting the target timing point and priority order of the interface mode switching strategy in the interface display system, the problem of interface mode switching jamming is solved, and a user-invisible switching experience is achieved.
Patent Information
- Application Number
- PCT/CN2025/088138
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-11
- Filing Date
- 2025-04-09
- Publication Date
- 2025-10-16
AI Technical Summary
In special circumstances, when the system is busy, the interface mode switch causes visual lag, giving users a bad experience.
By setting target timing points, the interface displays the window status of multiple applications currently running on the system, and performs interface mode switching in the order of window status priority, including controlling the frozen screen state of the window interface to switch modes within the interface switching time, thereby optimizing the interface mode switching strategy.
This avoids the stuck phenomenon when switching interface modes, making users unable to perceive the switching process and improving the user experience.
Smart Images

Figure CN2025088138_16102025_PF_FP_ABST
Abstract
Description
Interface mode switching method and device, electronic equipment, chip and medium
[0001] Cross-reference to Related Applications
[0002] The present disclosure claims priority to the Chinese patent application No. 202410437133.9, filed on April 11, 2024, and entitled "Interface mode switching method and device, electronic equipment, chip and medium", the entire content of which is incorporated herein by reference. TECHNICAL FIELD
[0003] The present disclosure relates to the field of interface display device control, and in particular, to an interface mode switching method and device, electronic equipment, chip and medium. BACKGROUND
[0004] There are different interface modes in the interface of an interface display device, such as a dark mode and a light mode. By providing different modes for users in different environments, a better user experience is provided. Generally, the dark mode is used in a low ambient light environment, and the light mode is used in a high ambient light environment. However, in special cases, the system is busy and has poor performance, which can cause a visual effect of the dark and light mode switching to appear to be stuck, thereby providing a poor experience for the user. SUMMARY
[0005] To solve the above technical problem, the present disclosure provides an interface mode switching method and device, electronic equipment, chip and medium. By setting a target timing point, when the target timing point is reached, the interface mode switching strategy can be optimized based on the priority order of the window state of the application, so that the user cannot see the lag of the switching.
[0006] A first aspect embodiment of the present disclosure provides an interface mode switching method, which comprises: when a current time reaches a target timing point, obtaining a window state of a plurality of applications currently running in an interface display system; and performing interface mode switching of an interface display device according to a priority order of the window state.
[0007] In an embodiment of the present disclosure, the method comprises: obtaining a current memory usage of the interface display device through a memory obtaining interface of the interface display system; and determining the interface switching time according to the current memory usage.
[0008] In an embodiment of the present disclosure, the method comprises: controlling a window interface of the interface display device to be in a frozen screen state within the interface switching time; and performing the interface display device mode switching in the frozen screen state.
[0009] In an embodiment of the present disclosure, the interface display system is controlled to configure the interface switching time for each visible application in the plurality of applications.
[0010] In an embodiment of the present disclosure, the method comprises: obtaining weather data, and setting a target timing point based on a sunrise time and / or a sunset time in the weather data.
[0011] In an embodiment of the present disclosure, the interface display device interface mode switching is performed according to a priority order of window states, comprising: sorting the plurality of applications according to a priority, a visibility, and an invisibility of the window states, or sorting the plurality of applications according to the priority, the visibility, and the invisibility of the window states to determine a first order; and based on the first order, sequentially notifying the corresponding applications to perform the interface display device interface mode switching.
[0012] In an embodiment of the present disclosure, the method comprises: when the current time reaches the predicted timing point and the interface display system is in a working state, obtaining window states of a plurality of applications currently running in the interface display system.
[0013] In an embodiment of the present disclosure, the method further comprises: when the current time reaches the target timing point and the interface display system is in a hibernation state, controlling to wake up the interface display system and perform the interface display device interface mode switching; and when the interface display device interface mode switching is completed, controlling the interface display system to hibernate.
[0014] In an embodiment of the present disclosure, the interface display device interface mode switching comprises: performing the interface display device interface mode switching according to a reverse order of an application list of the interface display system.
[0015] In an embodiment of the present disclosure, the interface display device interface mode switching comprises: waking up the interface display system, and obtaining interface switching times of a plurality of applications currently running in the interface display system; when the interface switching times are greater than a first threshold, obtaining window states of the plurality of applications; and performing the interface display device interface mode switching according to a priority order of the window states.
[0016] In an embodiment of the present disclosure, the method further comprises: at a first time before the current time reaches the target timing point and the interface display device interface is in a first mode, performing second mode resource caching; and when the second mode resource caching is completed, performing the interface display device interface mode switching at the target timing point, and the interface display device interface mode switching is switching from the first mode to the second mode.
[0017] The second aspect embodiment of the present disclosure provides an interface mode switching device, which comprises: an acquisition module configured to acquire window states of a plurality of applications currently running by an interface display system when a current time reaches a target timing point; and a control module configured to perform interface mode switching of an interface display device within an interface switching time according to a priority order of the window states.
[0018] In an embodiment of the present disclosure, the device further comprises a timing module configured to acquire weather data and set the target timing point based on a sunrise time and / or a sunset time in the weather data.
[0019] The third aspect embodiment of the present disclosure provides an electronic device, which comprises: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of the first aspect embodiments of the present disclosure.
[0020] The fourth aspect embodiment of the present disclosure provides a non-transitory computer readable storage medium storing computer instructions, the computer instructions being used to cause a computer to perform the method of the first aspect embodiments of the present disclosure.
[0021] The fifth aspect embodiment of the present disclosure provides a computer program product comprising a computer program, the computer program being executed by a processor to implement the method of any one of the first aspect embodiments of the present disclosure.
[0022] The sixth aspect embodiment of the present disclosure provides a vehicle comprising the interface mode switching device according to the second aspect embodiment of the present disclosure or the electronic device according to the third aspect embodiment of the present disclosure.
[0023] The seventh aspect embodiment of the present disclosure provides a chip comprising one or more interface circuits and one or more processors; the interface circuit is configured to receive a signal from a memory of an electronic device and send a signal to the processor, the signal comprising computer instructions stored in the memory, and when the processor executes the computer instructions, the electronic device performs the method of any one of the first aspect embodiments of the present disclosure.
[0024] In summary, according to the interface mode switching method proposed in the present disclosure, the window states of the plurality of applications currently running in the interface display system are acquired when the current time reaches the target timing point; and the interface mode switching of the interface display device is performed within the interface switching time according to the priority order of the window states. The technical solution proposed in the present disclosure judges the window states of the plurality of applications in the current interface display device, updates the switching strategy based on the priority order of the window states of the applications, i.e., informs the corresponding applications to perform the interface mode switching according to the priority order, which can avoid the freezing phenomenon caused when all the applications running in the current interface display system perform the interface mode switching, realizes the effect that the switching freezing is invisible to the user, and improves the user experience.
[0025] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the drawings required to be used in the embodiments or the prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can also be obtained by those skilled in the art without creative labor.
[0027] FIG. 1 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure;
[0028] FIG. 2 is a flowchart of performing interface mode switching according to an embodiment of the present disclosure;
[0029] FIG. 3 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure;
[0030] FIG. 4 is a flowchart of performing interface mode switching according to an embodiment of the present disclosure;
[0031] FIG. 5 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure;
[0032] FIG. 6 is a flowchart of performing interface mode switching according to an embodiment of the present disclosure;
[0033] FIG. 7 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure;
[0034] FIG. 8 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure;
[0035] FIG. 9 is a flowchart of performing interface mode switching according to an embodiment of the present disclosure;
[0036] FIG. 10 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure;
[0037] FIG. 11 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure;
[0038] FIG. 12A is a schematic diagram of an interface mode switching method according to an embodiment of the present disclosure;
[0039] FIG. 12B is a schematic diagram of an interface mode switching method according to an embodiment of the present disclosure;
[0040] FIG. 13 is a schematic diagram of an interface mode switching device according to an embodiment of the present disclosure;
[0041] FIG. 14 is a block diagram of an electronic device for implementing an interface mode switching method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] Embodiments of the present disclosure are described in detail below with reference to the accompanying drawings, in which like or similar elements are identified with the same or similar reference numerals throughout the drawings. The embodiments described below are examples in which the present disclosure is explained, and are not intended to limit the present disclosure.
[0043] The interface mode switching method provided by the present disclosure is described in detail below with reference to the accompanying drawings. In actual applications, the interface mode switching method can be applied to a movable device. For example, the movable device can be a vehicle.
[0044] FIG. 1 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure. As shown in the embodiment of FIG. 1, the method includes:
[0045] In step 101, when a current time reaches a target timing point, the window states of a plurality of applications currently running on an interface display system are obtained.
[0046] In embodiments of the present disclosure, the target timing point can be a preset mode switching time point, or a time point determined according to parameters such as weather data.
[0047] In embodiments of the present disclosure, when the interface display system reaches the preset mode switching time point, the window states of the plurality of applications currently running on the interface display system are obtained. For example, the window states of the plurality of applications currently running on the interface display system are obtained.
[0048] In embodiments of the present disclosure, when the interface mode switching method is applied to a vehicle, the interface display device can be a head unit (HU, Head Unit, vehicle infotainment system), or a vehicle display device, etc.
[0049] In some embodiments, the window state can be a visible window, an invisible window.
[0050] In some embodiments, the window state further includes a priority window, which is a visible window and a window of an application with the highest priority level set by a human.
[0051] In embodiments of the present disclosure, obtaining the window states of the plurality of applications can be obtaining the number of priority windows, visible windows and invisible windows of the interface display system currently running.
[0052] Step 102, performing interface mode switching of the interface display device according to the priority order of the window states within the interface switching time.
[0053] In embodiments of the present disclosure, performing interface mode switching of the interface display device according to the priority order of the window states can be performing interface mode switching according to the pre-set order of visible, invisible, or the pre-set order of priority, visible, invisible.
[0054] In embodiments of the present disclosure, performing interface mode switching of the interface display device can be performing switching from the first mode to the second mode, or from the second mode to the first mode within the interface switching time when the current time reaches the target time point, wherein the first mode can be a dark mode, and the second mode can be a light mode, or the first mode can be a light mode, and the second mode can be a dark mode.
[0055] In embodiments of the present disclosure, the interface switching time can be a fixed value pre-set by the interface switching device, or can be determined according to data such as memory usage of the interface display system.
[0056] In the above embodiments, performing interface mode switching according to the priority order can avoid the freezing phenomenon caused when all applications running in the current interface display system perform interface mode switching, and can improve the user experience.
[0057] In summary, the interface mode switching method proposed in the present disclosure realizes the effect that the user cannot perceive the freezing during interface mode switching of the interface display device. For example, when the interface mode switching method proposed in the present disclosure is applied to the vehicle infotainment system, the effect that the user cannot perceive the freezing during interface mode switching of the infotainment interface can be realized.
[0058] FIG. 2 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure. As shown in the embodiment of FIG. 1, based on the embodiment shown in FIG. 1, as shown in FIG. 2, the method further includes the following steps:
[0059] In step 201, the current memory usage of the interface display system is obtained through an interface display system memory obtaining interface.
[0060] In the embodiments of the present disclosure, the current memory usage of the interface display system can be the remaining available cache memory of the interface display system obtained from the memory obtaining interface.
[0061] In step 202, the interface switching time is determined according to the current memory usage.
[0062] In the embodiments of the present disclosure, the interface switching time can be determined according to the current memory usage. When the remaining available cache memory is greater than a preset value, it is considered that the system resources are abundant, and the interface switching time is determined as a first threshold value. When the remaining available cache memory is less than the preset value, it is considered that the interface switching system resources are tight, and the system can be stuck, and the interface switching time is determined as a second threshold value. For example, when the interface mode switching method is applied to a vehicle, the vehicle is provided with a car machine system, and the car machine system (for example, an Android system) is taken as an example. The preset value can be 1600000. When the preset value is greater than 1600000, it is considered that the car machine system resources are abundant, and the first threshold value can be 800 ms. Otherwise, when the preset value is less than 1600000, it is considered that the car machine system resources are tight, and the system can be stuck, and the second threshold value can be 1200 ms.
[0063] In the embodiments of the present disclosure, the interface switching time can also be a fixed value preset in advance. For example, the fixed value can be the first threshold value or the second threshold value.
[0064] FIG. 3 is a flowchart of the interface mode switching according to the embodiments of the present disclosure. Based on the embodiments shown in FIG. 1, FIG. 2 is a further description of step 102 of FIG. 1, and based on the embodiments shown in FIG. 2, the following steps are included.
[0065] In step 301, the window interface of the interface display device is in a frozen state within the interface switching time.
[0066] In the embodiments of the present disclosure, the frozen state means that the interface display system freezes the currently displayed window interface within the interface switching time, so that the window interface remains static, and the interface display device starts to perform various operations required for mode switching.
[0067] In step 302, the interface display device mode switching is performed in the frozen state.
[0068] In the embodiments of the present disclosure, in the frozen state, the interface display device mode switching is performed, which means that the interface display device performs the background interface mode switching while the window interface of the interface display device keeps the screen still, so that the interface mode switching is completed in the state that the window interface keeps the screen still, and the frozen state is released immediately after the switching is successful. For example, when the interface switching method is applied to a vehicle, the vehicle is in a use state, such as a driving state, or the car system is in a working state, in the interface switching time, the window interface of the car is in a frozen state, in the frozen state, the car performs the background interface mode switching, so that the car interface mode switching is completed in the state that the window interface keeps the screen still, and the frozen state of the car system is released after the switching is successful.
[0069] FIG. 4 is a flowchart of the interface mode switching method according to an embodiment of the present disclosure. Based on the embodiment shown in FIG. 1, FIG. 4 is a further illustration of FIG. 1, and based on the embodiment shown in FIG. 4, the method comprises the following steps:
[0070] In step 401, the interface display system is controlled to configure an interface switching time for each visible application in the plurality of applications.
[0071] In the embodiments of the present disclosure, the plurality of applications includes visible applications and invisible applications, the visible applications are applications that are visible to the user in the current interface display system, and the invisible applications are applications that are invisible to the user in the current interface display system. The interface display system configures an interface switching time for each visible application, and in the interface switching time, the interface mode switching of the interface display device is performed.
[0072] In the embodiments of the present disclosure, the interface switching time configured by the interface display system for each visible application can be an interface switching time determined according to data such as memory usage of the interface display system, or can be a fixed value preset by the interface switching device.
[0073] FIG. 5 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure. As shown in FIG. 1, based on the embodiment shown in FIG. 1, as shown in FIG. 5, the method further comprises the following steps:
[0074] In step 501, weather data is obtained, and a target timing point of a timing module is set based on the sunrise time and / or the sunset time in the weather data.
[0075] In the embodiments of the present disclosure, the weather data can be obtained on the cloud, and the weather data is related to a region, that is, the sunrise time and the sunset time in the weather data are different in different regions.
[0076] In the embodiments of the present disclosure, the weather data can be used to determine whether the interface display device needs to switch the interface mode, in other words, the weather data contains the sunrise time and the sunset time, in the automatic mode, the interface display system switches from the dark mode to the light mode at the sunrise time, and switches from the light mode to the dark mode at the sunset time, that is, the weather data can determine the time point at which the interface display device switches the interface mode.
[0077] In the embodiments of the present disclosure, the target time point is used to determine whether the current time can execute the interface mode switching of the interface display device, in other words, if the interface display system is still in the sleep state at the target time point, the interface display system cannot execute the interface mode switching of the interface display device, if the interface display system is in the working state at the target time point, the interface display system can execute the interface mode switching of the interface display device according to the target time point.
[0078] In the embodiments of the present disclosure, the sunrise time and the sunset time can be determined based on the weather data, or only the sunrise time or only the sunset time is determined.
[0079] In the embodiments of the present disclosure, the sunrise time corresponds to the switching of the interface display system from the first mode to the second mode, and the sunset time corresponds to the switching of the interface display system from the second mode to the first mode, wherein the first mode corresponds to the dark mode, and the second mode corresponds to the light mode.
[0080] In the embodiments of the present disclosure, the target time point can be a time point at which the sunrise time and the sunset time are set, or a time point at which only the sunrise time is set or a time point at which only the sunset time is set.
[0081] In the embodiments of the present disclosure, the target time point can be a first target time point set according to the sunrise time, which is used to determine whether the current vehicle reaches the time point at which the first mode is switched to the second mode.
[0082] In the embodiments of the present disclosure, the target time point can be a second target time point set according to the sunset time, which is used to determine whether the current vehicle reaches the time point at which the second mode is switched to the first mode.
[0083] In the embodiments of the present disclosure, the first target time point and the second target time point can be set at the same time, or only the first target time point of the sunrise time or the second target time point of the sunset time is set.
[0084] In the above embodiments, by determining the sunrise and / or sunset time, setting the target timing point, judging the current interface display system state and whether the wake-up and / or mode switching needs to be performed, in different states, the interface display system performs different mode switching processes to achieve the effect that the user is not aware of the switching lag in different states. For example, when the interface mode switching method is applied to the vehicle machine system of a vehicle, by determining the sunrise and / or sunset time, setting the target timing point, judging the current vehicle machine system state and whether the wake-up and / or mode switching needs to be performed, in different states, the vehicle machine system performs different mode switching processes to achieve the effect that the user is not aware of the switching lag in different states.
[0085] FIG. 6 is a flowchart of the interface mode switching process according to an embodiment of the present disclosure. Based on the embodiment shown in FIG. 1, FIG. 6 is a further description of step 102 of FIG. 1, and based on the embodiment shown in FIG. 2, the steps include the following steps:
[0086] Step 601: Sort the multiple applications according to the order of visible and invisible window states, or sort the multiple applications according to the order of priority, visible and invisible window states, to determine the first order.
[0087] In the embodiments of the present disclosure, the first order is the order of the multiple applications determined according to the window state and the pre-set order.
[0088] In the embodiments of the present disclosure, the pre-set order can be the order of visible and invisible, or the order of priority, visible and invisible. The priority application is an application that is always notified first, i.e., an application that starts to perform the related operation first. The visible application is an application that is visible to the user in the current interface display system running, and the visible application includes the priority application. The invisible application is an application that is invisible to the user in the current interface display system running.
[0089] In the embodiments of the present disclosure, the first order determined by sorting the multiple applications according to the order of priority, visible and invisible, or the order of visible and invisible, can be the order of the multiple applications currently running in the interface display system, which is obtained by sorting the multiple applications currently running in the interface display system according to the priority order.
[0090] Step 602: Based on the first order, sequentially notify the corresponding applications to perform the interface mode switching of the interface display device.
[0091] In the embodiments of the present disclosure, based on the first order, sequentially notifying the corresponding applications to perform the interface mode switching of the interface display device can be notifying the multiple applications according to the sorting order of the multiple applications in the first order, so that the multiple applications receive the instructions to perform the interface mode switching of the interface display device at different time points.
[0092] In the above embodiment, based on the first order, the interface display device interface mode switching is sequentially performed, which can avoid the situation that the user can see the lag caused by the simultaneous execution of the interface display device interface mode switching by multiple applications, and make the multiple applications perform the interface mode switching respectively, so that the user can not perceive the lag phenomenon, and the user experience is improved.
[0093] FIG. 7 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure. Based on the embodiment shown in FIG. 1, as shown in FIG. 7, the method further includes the following steps:
[0094] Step 701: When the current time reaches the target timing point and the interface display system is in a working state, the window state of the multiple applications currently running on the interface display system is obtained.
[0095] In an embodiment of the present disclosure, the target timing point can be a preset mode switching time point, or a timing point determined according to parameters such as weather data.
[0096] In an embodiment of the present disclosure, when the current time reaches the target timing point and the interface display system is in a working state, it indicates that the interface display system has started at the target timing point, and the related interface display device interface mode switching can be performed.
[0097] For example, when the interface switching method is applied to the vehicle machine system of a vehicle, when the current time reaches the target timing point and the vehicle machine system is in a working state, it indicates that the vehicle machine system has started at the target timing point, and the related vehicle machine interface mode switching can be performed.
[0098] In an embodiment of the present disclosure, the current time reaching the target timing point can be the current time reaching the first target timing point, or the current time reaching the second target timing point, in other words, when the sunrise time or the sunset time is reached, and the interface display system is in a working state, it indicates that the interface display system has started at the first target timing point or the second target timing point, and the subsequent interface display device interface mode switching can be performed.
[0099] In an embodiment of the present disclosure, when the interface display system is in a working state and reaches the target mode switching time point, the window state of the multiple applications currently running on the interface display system is obtained.
[0100] FIG. 8 is a flowchart of an interface mode switching method according to an embodiment of the present disclosure. Based on FIG. 1, as shown in FIG. 8, the method further includes the following steps:
[0101] Step 801, in the case that the current time reaches the target timing point and the interface display system is in a dormant state, control the interface display system to wake up and perform interface display device interface mode switching.
[0102] In embodiments of the present disclosure, the current time reaching the target timing point can be the current time reaching the first target timing point or the second target timing point, in other words, the current time is sunrise time or sunset time.
[0103] In embodiments of the present disclosure, in the case that the interface display system is in a dormant state, i.e. sunrise time or sunset time, the current interface display system is still in a dormant state and not working. In this state, when the time to perform interface display device interface mode switching is reached, the control module of the interface display system needs to wake up the interface display system. After the interface display system is woken up, it performs interface mode switching, i.e. at the first target timing point, the first mode is switched to the second mode, and at the second target timing point, the second mode is switched to the first mode, wherein the first mode is a dark mode and the second mode is a light mode.
[0104] In embodiments of the present disclosure, in the case that the current time reaches the first target timing point and the interface display system is in a dormant state, and in the case that the interface display system is in a working state at the second target timing point, the interface display system performs corresponding interface display device interface mode switching according to different situations.
[0105] In embodiments of the present disclosure, the interface display system performing interface display device interface mode switching can be performed in the order of the list of applications or in a preset order.
[0106] For example, the interface display device wakes up the interface display system and performs interface display device interface mode switching at the first target timing point, wherein the interface display device interface mode switching can be performed in different ways, such as in the order of the list of applications or in the order of target priority. At the second target timing point, the window state of the currently running multiple applications is obtained, and the interface mode switching is performed in the order of the priority of the window state.
[0107] Step 802, when the interface display device interface mode switching is completed, control the interface display system to sleep.
[0108] In embodiments of the present disclosure, when the interface display device interface mode switching is completed, the interface display system is switched from the first mode to the second mode at the first target timing point, and / or is switched from the second mode to the first mode at the second target timing point.
[0109] In the above embodiment, when the interface display system is in the sleep state, the interface display device performs the interface mode switching, and then re-enters the sleep state after the switching is completed, waits for the user to start the interface display device, and when the interface display system enters the working state again, the interface display device has completed the interface mode switching, thus ensuring that the interface mode switching is invisible to the user. For example, when the interface mode switching method of the present disclosure is applied to a vehicle, when the vehicle is in a non-working state, i.e., when the infotainment system is in a sleep state, the infotainment system is woken up, the infotainment performs the interface mode switching, and then re-enters the sleep state after the switching is completed, waits for the user to start the vehicle, and when the infotainment system enters the working state again, the infotainment has completed the interface mode switching.
[0110] FIG. 9 is a flowchart of the interface display device performing the interface mode switching according to an embodiment of the present disclosure. Based on the embodiment shown in FIG. 8, FIG. 9 further describes step 801 of FIG. 8, as shown in FIG. 9, including the following steps:
[0111] Step 901: Perform the interface mode switching of the interface display device in the reverse order of the application list of the interface display system.
[0112] In the embodiment of the present disclosure, the interface display device is in the sleep state at the first target time point, the control module wakes up the interface display system, and the interface display system enters the working state. The interface display system performs the interface mode switching of the interface display device in the reverse order of the current application list, and then re-enters the sleep state after the switching is completed.
[0113] In the embodiment of the present disclosure, the interface display device is in the sleep state at the second target time point, the control module wakes up the interface display system, and the interface display system enters the working state. The interface display system performs the interface mode switching of the interface display device in the reverse order of the current application list, and then re-enters the sleep state after the switching is completed.
[0114] In the embodiment of the present disclosure, the interface display device is in the sleep state at the first target time point and the second target time point, the control system wakes up the interface display system, and the interface display system performs the interface mode switching of the interface display device in the reverse order of the current application list, and then re-enters the sleep state after the switching is completed.
[0115] In the above embodiment, when the interface display device is in the sleep state and reaches the mode switching time point, the interface display system is woken up, and the interface display system is controlled to notify the application to perform the interface mode switching of the interface display device in the reverse order of the application list, which can avoid the interface mode switching of the interface display device being visible to the user when the user starts the vehicle.
[0116] FIG. 10 is a flowchart of performing interface mode switching according to an embodiment of the present disclosure. FIG. 10 further describes step 801 of FIG. 8. As shown in FIG. 10, the method comprises the following steps.
[0117] In step 1001, the interface display system is woken up, and the window states of the applications currently running on the interface display system are obtained.
[0118] In the embodiment of the present disclosure, the interface display system is in a sleep state at the first target time point or the second target time point. The interface display device control module wakes up the interface display system, and obtains the window states of the applications currently running on the interface display system.
[0119] In the embodiment of the present disclosure, the window states of the applications can be priority, visible, and invisible, wherein the priority is a custom application that is always notified first.
[0120] In the embodiment of the present disclosure, the window states of the applications currently running on the interface display system are obtained, that is, the priority applications, the visible applications, and the invisible applications among the applications currently running on the interface display system are determined.
[0121] In step 1002, the interface display device interface mode switching is performed according to the priority order of the window states.
[0122] In the embodiment of the present disclosure, the priority order of the window states can be an order of sorting the applications according to the window states of priority, visible, and invisible, or an order of visible and invisible. A first order is determined, and the interface display device interface mode switching is performed on the corresponding applications in the first order.
[0123] In the embodiment of the present disclosure, when the interface display system is in a sleep state at the first target time point, the control module wakes up the interface display system, and controls the interface display system to perform the interface display device interface mode switching according to the priority order of the window states. When the interface display system is in a sleep state at the second target time point, the control module wakes up the interface display system, and controls the interface display system to perform the interface display device interface mode switching according to the priority order of the window states.
[0124] In the above embodiment, when the interface display system is in a sleep state, the interface display system is woken up and controlled to perform the interface mode switching according to the priority order of the applications currently running, after the interface mode switching is completed, the interface display system is again in a sleep state. This can avoid the lag caused by all users performing the interface mode switching together, and the interface mode switching is completed before the user starts the vehicle, so that the lag is invisible to the user.
[0125] FIG. 11 is a flowchart of the interface mode switching method according to an embodiment of the present disclosure. As shown in FIG. 11, the method further includes the following steps when the interface display system is in the working state:
[0126] In step 1101, at a first time before the current time reaches the target timing point, and when the interface of the interface display device is in the first mode, the second mode resource is cached.
[0127] In the embodiment of the present disclosure, the first time can be a time point before the target timing point, in other words, the first time is before the target timing point, and is used to control the interface display system to cache the resource before the target timing point.
[0128] In the embodiment of the present disclosure, at the first time before the current time reaches the target timing point, and when the interface of the interface display device is in the first mode, the second mode resource can be cached when the current time is adjacent to the first target timing point, the interface display system is in the working state, and the interface of the interface display device is in the first mode, wherein the first mode can be the dark mode, and the second mode can be the light mode. It can be understood that the current time is adjacent to the sunrise time, and at this time, the interface display system is in the working state in the dark mode, and then the light resource mode is cached, so as to notify the application to load the light mode resource in advance, and subsequently, the speed of switching the resource is obviously improved because the light mode resource is already in the cache.
[0129] In the embodiment of the present disclosure, at the first time before the current time reaches the target timing point, and when the interface of the interface display device is in the first mode, the second mode resource can be cached when the current time is adjacent to the second target timing point, the interface display system is in the working state, and the interface of the interface display device is in the first mode, wherein the first mode can be the light mode, and the second mode can be the dark mode. It can be understood that the current time is adjacent to the sunset time, and at this time, the interface display system is in the working state in the light mode, and then the dark resource mode is cached, so as to notify the application to load the dark mode resource in advance, and subsequently, the speed of switching the resource is obviously improved because the dark mode resource is already in the cache.
[0130] In the above embodiment, the first time is preset, the interface display system caches the second mode resource at the first time before reaching the target timing point, and the interface display system caches the two mode resources before performing the interface mode switching, so as to improve the speed of performing the interface mode switching subsequently.
[0131] In step 1102, when the second mode resource caching is completed, the interface mode switching of the interface display device is performed at the target timing point.
[0132] In embodiments of the present disclosure, the interface display device interface mode switching is switching the first mode to the second mode.
[0133] In embodiments of the present disclosure, the interface display device interface mode switching can be in the manner shown in the interface mode switching method shown in FIGS. 1-11.
[0134] In embodiments of the present disclosure, when the second mode resource caching is completed, it can be that the current time reaches the first target time point, the interface display system is in a working state, and the interface display device interface is in the first mode. The second mode resource caching is completed, the interface display system cache stores resources of the first mode and the second mode, the interface display device interface mode switching is performed, that is, the first mode is switched to the second mode, and the switching manner can be the interface mode switching method shown in FIGS. 1 and 11. The first mode is a dark mode, and the second mode is a light mode. It can be understood that, since the resources of the two modes are cached in the system, the speed of the interface display device interface mode switching is improved, and the user cannot see the lag of the mode switching.
[0135] In embodiments of the present disclosure, when the second mode resource caching is completed, it can be that the current time reaches the second target time point, the interface display system is in a working state, and the interface display device interface is in the first mode. The second mode resource caching is completed, the interface display system cache stores resources of the first mode and the second mode, the interface display device interface mode switching is performed, that is, the first mode is switched to the second mode, and the switching manner can be the interface mode switching method shown in FIGS. 1 and 2. The first mode is a light mode, and the second mode is a dark mode. It can be understood that, since the resources of the two modes are cached in the system, the speed of the interface display device interface mode switching is improved, and the user cannot see the lag of the mode switching.
[0136] In the embodiments of the present disclosure, when the second mode resource caching is completed at a first target time point or a second target time point, the interface display system is in a working state, and the interface display device interface is in the first mode, the second mode resource caching is completed, the interface display system stores the resources of the first mode and the second mode, and the interface display device interface mode switching is performed, that is, the first mode is switched to the second mode, and the switching mode can be performed according to the original switching mode. In the scenario in which the current time reaches the first target time point, the first mode is a dark mode, and the second mode is a light mode. In the scenario in which the current time reaches the second target time point, the first mode is a light mode, and the second mode is a dark mode. It can be understood that, since the system already caches the resources of the two modes, the interface mode switching is performed according to the original switching mode, which can improve the switching speed, reduce the switching lag, and enable the user to be unaware of the switching lag.
[0137] In the above embodiments, the resources to be switched are cached and loaded in advance before the mode switching is performed, so that the interface display system stores the resources of the two modes, and then the interface display device interface mode switching is performed, which can improve the switching speed and make the switching lag invisible to the user.
[0138] The interface mode switching method provided in the embodiments of the present disclosure is described in detail by taking the application of the interface mode switching method to a vehicle as an example. It is explained that the above method includes the following two schemes:
[0139] Step 1, obtaining the interface switching time of mode switching in the working state of the vehicle machine.
[0140] The interface switching time is determined by reading log information, trace information, and the current memory usage of the system.
[0141] Step 2, performing the interface mode switching within the interface switching time.
[0142] Scheme 1, obtaining weather data, and determining the automatic wake-up time of the vehicle machine according to the sunrise and sunset time.
[0143] According to the weather data, the RTC timing wake-up is set. When the vehicle machine system is in a sleep state and reaches the time of deep-light mode switching, the RTC wakes up the vehicle machine system and initiates the switching of the deep-light mode. As shown in FIG. 12A, the sunrise time is 6:00, the RTC wakes up the vehicle machine system, and the switching from the dark mode to the light mode is performed.
[0144] Scheme 2, determining the type and strategy of the application before the vehicle machine system starts and the deep-light mode switching process is performed.
[0145] As shown in Figure 12A, at sunset time 18:00, the vehicle system is in working state and reaches the time point for mode switching. It is distributed in the order of priority notification applications > visible applications > invisible applications, and the corresponding applications execute interface mode switching from light mode to dark mode.
[0146] Solution 3: In automatic switching mode, the current mode is light mode. Notify the application in advance to load resources for dark mode, but do not switch resources. After the application loads relevant resources into the cache, it starts switching between light and dark modes. Since light resources are already in the cache, the speed of switching resources will be significantly improved.
[0147] As shown in FIG12B , before sunset at 18:00, the applications are notified to load dark resources into the cache. After all applications have loaded dark resources, the applications are notified to switch the interface mode from light to dark at sunset.
[0148] The above-mentioned Scheme 1, Scheme 2, and Scheme 3 can be executed separately, and Scheme 1 and Scheme 2 can be nested with each other, that is, after the vehicle system is awakened in Scheme 1, it can execute the interface mode switching in a fixed order, or it can execute the interface mode switching in order of priority. Scheme 3 and Scheme 2 can be nested, that is, the vehicle system can load resources in advance in the working state, and then execute the interface mode switching in order of application priority.
[0149] All three of the above methods can achieve the effect of making the lag caused by interface mode switching invisible to the user.
[0150] FIG13 is a schematic diagram of the structure of an interface mode switching device 800 of an interface display device according to an embodiment of the present disclosure. As shown in FIG13 , the device includes: an acquisition module 810 and a control module 820 .
[0151] The acquisition module 810 is used to reach the target timing point at the current time, and obtain the window status of multiple applications currently running on the interface display system.
[0152] The control module 820 is configured to execute interface mode switching of the interface display device within the interface switching time according to the priority order of the window states.
[0153] In some embodiments, the acquisition module is used to acquire the interface switching time of multiple applications currently running in the interface display system when the current time reaches the target timing point and the interface display system is in a working state.
[0154] In some optional embodiments, the control module is further used to control the window interface of the interface display device to be in a frozen screen state during the interface switching time; and in the frozen screen state, execute the mode switching of the interface display device.
[0155] In some optional embodiments, the control module is further configured to control the interface display system to configure the interface switching time for each visible application in the plurality of applications.
[0156] In some embodiments, the apparatus further comprises a timing module configured to obtain weather data, and set the target timing point based on a sunrise time and / or a sunset time in the weather data.
[0157] In some embodiments, the obtaining module is configured to further obtain the plurality of applications currently running in the interface display system in a case that the current time reaches the target timing point and the interface display system is in the working state.
[0158] In some embodiments, the timing module is further configured to determine the sunrise time and / or the sunset time based on the weather data, set a first target timing point according to the sunrise time, and / or set a second target timing point according to the sunset time.
[0159] In some embodiments, the control module is further configured to sort the plurality of applications in a first order according to the priority of the window state, and notify the corresponding application to execute the interface display device interface mode switching in sequence based on the first order.
[0160] In some embodiments, the control module is further configured to control to wake up the interface display system and execute the interface display device interface mode switching in a case that the current time reaches the target timing point and the interface display system is in the sleep state, and control the interface display system to sleep when the interface display device interface mode switching is completed.
[0161] In some embodiments, the control module is further configured to execute the interface display device interface mode switching in a reverse order of the application list of the interface display system.
[0162] In some embodiments, the control module is further configured to wake up the interface display system, and obtain the window state of the plurality of applications currently running in the interface display system, and execute the interface display device interface mode switching according to the priority order of the window state.
[0163] In some embodiments, the control module is further configured to execute second mode resource caching at a first time before the current time reaches the target timing point and the interface display device interface is in the first mode, and execute the interface display device interface mode switching at the target timing point when the second mode resource caching is completed, the interface display device interface mode switching being switching from the first mode to the second mode.
[0164] In summary, the interface mode switching device provided by the present disclosure obtains the window states of the plurality of applications currently running by the interface display system when the current time reaches the target timing point; and performs interface mode switching of the interface display device within the interface switching time according to the priority order of the window states. The device updates the distribution strategy of the interface mode switching of the interface display device in the case that the interface display system is in a working state and the interface mode switching is stuck, avoids the user's visibility of the sticking caused by simultaneous execution of mode switching of all applications, and makes the applications perform the interface mode switching of the interface display device according to the priority order, so as to realize the effect that the user cannot see the sticking of the mode switching and improve the user's experience.
[0165] In the embodiments of the present disclosure, the method and device provided by the embodiments of the present disclosure are introduced. In order to realize the functions of the method provided by the embodiments of the present disclosure, the electronic device can include a hardware structure, a software module, and the functions can be realized in the form of hardware structure, software module, or hardware structure plus software module. Some of the functions can be executed in the form of hardware structure, software module, or hardware structure plus software module.
[0166] FIG. 14 is a block diagram of an electronic device 900 for implementing the above-mentioned interface mode switching method according to an exemplary embodiment.
[0167] For example, the electronic device 900 can be a mobile phone, a computer, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
[0168] Referring to FIG. 14, the electronic device 900 can include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0169] The processing component 902 usually controls overall operations of the electronic device 900, such as operations associated with display, telephone calling, data communication, camera operation, and recording operation. The processing component 902 can include one or more processors 920 to execute instructions to complete all or part of steps of the methods described above. In addition, the processing component 902 can include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.
[0170] The memory 904 is configured to store various types of data to support the operation of the electronic device 900. Examples of such data include instructions for any application or method operating on the electronic device 900, contact data, phonebook data, messages, pictures, videos, and the like. The memory 904 can be implemented by any type of volatile or nonvolatile memory, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disc, or optical disc.
[0171] The power supply component 906 supplies power for various components of the electronic device 900. The power supply component 906 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 900.
[0172] The multimedia component 908 includes a screen providing an output interface between the electronic device 900 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or a sliding action, but also detect duration and pressure related to the touching or sliding action. In some embodiments, the multimedia component 908 includes a front camera and / or a back camera. The front camera and / or the back camera can receive external multimedia data when the electronic device 900 is in an operation mode, such as a photographing mode or a video mode. Each of the front camera and the back camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0173] The audio component 910 is configured to output and / or input an audio signal. For example, the audio component 910 includes a microphone (MIC) configured to receive an external audio signal when the electronic device 900 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 904 or transmitted via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting an audio signal.
[0174] The I / O interface 912 provides an interface between the processing component 902 and peripheral interface modules, which can be a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0175] The sensor component 914 includes one or more sensors for providing status assessments for various aspects of the electronic device 900. For example, the sensor component 914 can detect an open / closed position of the electronic device 900, relative positioning of components, such as a display and a keypad of the electronic device 900, a change in position of the electronic device 900 or a component of the electronic device 900, presence or absence of user contact with the electronic device 900, orientation or acceleration / deceleration / g-force and temperature of the electronic device 900. The sensor component 914 can include an optical sensor for detecting ambient light, a proximity sensor configured to detect proximity of an object, a motion sensor configured to detect motion of the electronic device 900, a position sensor configured to detect position of the electronic device 900, a temperature sensor configured to detect temperature of the electronic device 900, an acceleration sensor configured to detect acceleration of the electronic device 900, a gyroscope sensor configured to detect orientation of the electronic device 900, an air quality sensor configured to detect air quality, a pressure sensor configured to detect pressure, and / or a humidity sensor configured to detect humidity.
[0176] The communication component 916 is configured to facilitate wired or wireless communication between the electronic device 900 and other devices. The electronic device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR (New Radio), or a combination thereof. In an example embodiment, the communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.
[0177] In an example embodiment, the electronic device 900 can be implemented using one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements, for performing the above-described methods.
[0178] In an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 904 including instructions, is also provided, which can be executed by the processor 920 of the electronic device 900 to complete the above-described methods. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.
[0179] The embodiment of the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to make a computer execute the interface mode switching method described in the above embodiment of the present disclosure.
[0180] The embodiment of the present disclosure also provides a computer program product, comprising a computer program, wherein the computer program is used to make a processor execute the interface mode switching method described in the above embodiment of the present disclosure.
[0181] The embodiment of the present disclosure also provides a vehicle comprising the interface mode switching device or the electronic device described in the above embodiment of the present disclosure.
[0182] The embodiment of the present disclosure also provides a chip, comprising one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory of an electronic device and send a signal to the processor, and the signal comprises computer instructions stored in the memory, and when the processor executes the computer instructions, the electronic device executes the interface mode switching method described in the above embodiment of the present disclosure.
[0183] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all the embodiments consistent with the present disclosure. Instead, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0184] In the description of the present specification, the description of the terms "one embodiment", "some embodiments", "exemplary embodiment", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the present specification, the exemplary description of the above terms does not necessarily mean the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0185] Any processes or methods described in the flowcharts or otherwise described herein can be understood as representing code modules, segments, or portions of code which include one or more executable instructions for implementing specific logic functions (or steps) of the processes. The various embodiments of the present disclosure can include additional or fewer steps or processes, and the order of the steps or processes can be altered, as will be appreciated by those skilled in the art, as the described embodiments of the present disclosure can be implemented in a variety of ways.
[0186] The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be embodied in non-transitory computer-readable media, which can be executed by a processing module, or other device, to perform the functions or steps represented therein. The logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a list of instructions to implement the logic functions represented therein, and the scope of the present disclosure encompasses additional implementations in which the functions are performed in a different order, or in substantially simultaneous fashion, or in reverse order, as will be appreciated by those skilled in the art, as the described embodiments of the present disclosure can be implemented in a variety of ways.
[0187] It is to be understood that the various parts of the present disclosure can be implemented by hardware, software, firmware or a combination thereof. In the above embodiments, the various steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, and in another embodiment, any of the following technologies, or a combination thereof, can be used: discrete logic circuitry having logic gates for implementing logic functions upon an application of data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.
[0188] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiment method can be completed by a program instructing the relevant hardware, and the program can be stored in a computer readable storage medium. When the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0189] In addition, each functional unit in various embodiments of the present disclosure can be integrated into one processing module, or each unit can exist physically independently, or two or more units can be integrated into one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. If the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium. The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0190] Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above-mentioned embodiments are exemplary and cannot be understood as limiting the present disclosure, and those skilled in the art can make changes, modifications, replacements and variations to the above-mentioned embodiments within the scope of the present disclosure.
Claims
1. A method for switching interface modes, wherein: The method comprises: When the current time reaches the target timing point, the window status of multiple applications currently running on the system is obtained; According to the priority order of the window states, the interface mode switching of the interface display device is executed within the interface switching time.
2. The method according to claim 1, wherein The method comprises: Obtain the current memory usage of the interface display system through the memory acquisition interface of the interface display system; The interface switching time is determined according to the current memory usage.
3. The method according to claim 1 or 2, wherein: The performing of interface mode switching of the interface display device within the interface switching time includes: During the interface switching time, controlling the window interface of the interface display device to be in a frozen screen state; In the frozen screen state, the interface display device mode is switched.
4. The method according to any one of claims 1 to 3, wherein: The method comprises: The interface display system is controlled to configure an interface switching time for each visible application in the plurality of applications.
5. The method according to any one of claims 1 to 4, wherein: The method comprises: Acquire weather data, and set a target timing point based on a sunrise time and / or a sunset time in the weather data.
6. The method according to any one of claims 1 to 5, wherein: The executing the interface mode switching of the interface display device according to the priority order of the window states includes: Sorting the multiple applications in the order of visible and invisible window states, or sorting the multiple applications in the order of priority, visible, and invisible window states to determine a first order; Based on the first sequence, the corresponding applications are notified in sequence to execute the interface mode switching of the interface display device.
7. The method according to claim 1, wherein The method comprises: When the current time reaches the target timing point and the interface display system is in a working state, the window states of multiple applications currently running in the interface display system are obtained.
8. The method according to any one of claims 1 to 7, wherein: The method further comprises: When the current time reaches the target timing point and the interface display system is in a dormant state, controlling to wake up the interface display system and executing interface mode switching of the interface display device; When the interface mode switching of the interface display device is completed, the interface display system is controlled to sleep.
9. The method according to claim 8, wherein The executing of the interface mode switching of the interface display device includes: The interface mode switching of the interface display device is performed in the reverse order of the application list of the interface display system.
10. The method according to claim 8, wherein The executing of the interface mode switching of the interface display device includes: Waking up the interface display system and obtaining the window status of multiple applications currently running on the interface display system; The interface mode switching of the interface display device is executed according to the priority order of the window status.
11. The method according to any one of claims 1 to 10, wherein The method further comprises: At a first time before the current time reaches the target timing point, and the interface display device is in the first mode, executing the second mode resource caching; When the second mode resource cache is completed, the interface mode switching of the interface display device is executed at the target timing point, and the interface mode switching of the interface display device is to switch the first mode to the second mode.
12. An interface mode switching device, wherein: include: An acquisition module, configured to acquire the window states of multiple applications currently running on the interface display system when the current time reaches the target timing point; The control module is used to execute the interface mode switching of the interface display device within the interface switching time according to the priority order of the window status.
13. The interface mode switching device according to claim 12, wherein: include: The timing module is used to obtain weather data and set a target timing point based on the sunrise time and / or sunset time in the weather data.
14. An electronic device, wherein: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 12.
15. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-11.
16. A computer program product, wherein The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 6.
17. A vehicle, wherein Including the interface mode switching device as described in claim 7 or the electronic device as described in claim 8.
18. A chip, wherein: The electronic device comprises one or more interface circuits and one or more processors; the interface circuit is used to receive a signal from a memory of the electronic device and send the signal to the processor, the signal including a computer instruction stored in the memory, and when the processor executes the computer instruction, the electronic device executes the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Method and device for regulating shooting related function, and mobile terminal
CN108289172A
Injection molding machine interface mode adjusting method and device, computer equipment and storage medium
CN116330603A
Interface display method, readable medium and electronic equipment
CN117076088A
Display mode switching method and device, electronic equipment and storage medium
CN117193904A