Display interface layout switching method and device

By creating a second display interface in the on-board operating system and gradually displaying the content, the problem of poor visual effects when switching screen layouts is solved, and smooth layout adjustments and user experience improvements are achieved.

CN119127378APending Publication Date: 2024-12-13CHINA AUTOMOTIVE INNOVATION CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411285931.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the on-board operating system, the screen layout cannot be smoothly switched, resulting in poor visual effects and affecting the user experience.

Method used

By creating a second display interface in the first display interface, the first operation interface and the second operation interface are displayed respectively, and gradually changed it into the target display content, switching of layout status is realized, and communication between systems is used to pause and restore the display area show.

Benefits of technology

It realizes smooth layout switching and adjustment, improves visual effects and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127378A_ABST
    Figure CN119127378A_ABST
Patent Text Reader

Abstract

The invention relates to a display interface layout switching method and device.According to the method, under the condition that a first layout switching instruction is obtained, a second display interface is created in a display area corresponding to a first display interface; the application programs in the second operation interface and the first operation interface involved in the interface change in the layout switching process can be displayed in the first display area and the second display area of the second display interface respectively, and the interface change can be conveniently and uniformly responded; by gradually changing the display contents of the first display area and the second display area into the second operation interface in the second layout state, smooth layout switching adjustment can be realized, and the visual effect of layout adjustment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle-mounted operating systems, and in particular to a display interface layout switching method and device. Background Art

[0002] With the continuous increase in vehicle smart cockpit functions and the reduction in costs, the technology of running multiple vehicle operating systems on a SoC chip and displaying the corresponding operating interfaces of multiple vehicle operating systems on the same screen has gradually become the development trend of smart cockpits. In related technologies, the screen is usually divided into two unrelated areas to display the contents of two operating interfaces respectively. However, when the overall layout displayed on the screen needs to be adjusted, it is usually switched directly to the new layout, and the layout switching cannot be realized smoothly, the visual effect is poor, and the user experience is affected. Summary of the invention

[0003] In order to solve at least one of the technical problems mentioned above, the present disclosure proposes a display interface layout switching method and device.

[0004] In one aspect, the present invention provides a display interface layout switching method, which is applied to a second operating system, and the method includes:

[0005] In response to the first layout switching instruction, a second display interface is created in the display area corresponding to the first display interface, the first display interface is used to display the first operation interface and the second operation interface in the first layout state, the first operation interface is the operation interface corresponding to the first operating system, the second operation interface is the operation interface corresponding to the second operating system, and the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface;

[0006] Displaying the display content of the target display area in the first display interface in the second display area of ​​the second display interface, the target display area is the display area of ​​the first target application in the first display interface, and the first target application is the application in the first operation interface that is hidden after the layout state is switched to the second layout state;

[0007] Gradually changing the display contents of the first display area and the second display area to target display contents, where the target display contents are the second operation interface in the second layout state;

[0008] The first operating system is used to send the display content of the target display area to the second operating system, and pause the display of the target display area in the first display interface.

[0009] In an optional embodiment, the second display interface further includes a third display area, and the third display area is an area of ​​the second display interface other than the first display area and the second display area, and the method further includes:

[0010] Displaying a second target application in the third display area, the second target application being an application in the first operation interface that is not hidden after the layout state is switched to the second layout state;

[0011] Obtaining an operation instruction for a second target application program;

[0012] An operation instruction for the second target application is sent to the first operating system.

[0013] In an optional embodiment, gradually changing the display content of the first display area and the second display area to the target display content includes:

[0014] Switching the display styles of the first display area and the second display area to the display styles in the second layout state;

[0015] The display contents of the first display area and the second display area are switched to a third target application, where the third target application is an application displayed on the second operation interface in the second layout state.

[0016] In an optional embodiment, after gradually changing the display contents of the first display area and the second display area to the target display contents, the method further includes:

[0017] In response to the second layout switching instruction, gradually change the display contents of the first display area and the second display area to the second operation interface and the display contents of the target display area in the first layout state, and send a gradual change completion message to the first operating system, wherein the second layout switching instruction is used to switch the layout state from the second layout state back to the first layout state;

[0018] Stop displaying the second display interface;

[0019] The first operating system is further used to restore the display of the first display interface after receiving the gradient completion message.

[0020] In a second aspect, the present invention further provides a display interface layout switching method, which is applied to a second operating system, and the method includes:

[0021] In response to the first layout switching instruction, the display content of the target display area in the first display interface is sent to the second operating system, and the display of the target display area in the first display interface is paused, the first display interface is used to display the first operation interface and the second operation interface in the first layout state, the first operation interface is the operation interface corresponding to the first operating system, the second operation interface is the operation interface corresponding to the second operating system, the target display area is the display area of ​​the first target application in the first display interface, and the first target application is the application in the first operation interface that is hidden after the layout state is switched to the second layout state;

[0022] Among them, the second operating system is used to create a second display interface in the display area corresponding to the first display interface, and the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface; the display content of the target display area is displayed in the second display area of ​​the second display interface; the display content of the first display area and the second display area is gradually changed into the target display content, and the target display content is the second operation interface in the second layout state.

[0023] In an optional embodiment, the method further comprises:

[0024] In response to a second layout switching instruction, receiving a gradient completion message, the second layout switching instruction being used to switch the layout state from the second layout state back to the first layout state;

[0025] Restore the display of the first display interface;

[0026] Among them, the second operating system is also used to gradually change the display content of the first display area and the second display area to the second operation interface in the first layout state and the display content of the target display area, and send a gradient completion message to the first operating system; stop displaying the second display interface.

[0027] In an optional embodiment, after restoring the display of the first display interface, the method further includes:

[0028] Obtaining an operation instruction for the second operation interface;

[0029] The operation instruction for the second operation interface is sent to the second operating system.

[0030] In an optional embodiment, after restoring the display of the first display interface, the method further includes:

[0031] Stop sending the display content of the target display area to the second operating system.

[0032] In a third aspect, the present invention further provides a display interface layout switching device, which is applied to a second operating system, and the device includes:

[0033] A first response module, configured to create a second display interface in a display area corresponding to the first display interface in response to a first layout switching instruction, wherein the first display interface is configured to display a first operation interface and a second operation interface in a first layout state, wherein the first operation interface is an operation interface corresponding to the first operating system, and the second operation interface is an operation interface corresponding to the second operating system, and the second operation interface in the first layout state is displayed in a first display area of ​​the second display interface;

[0034] A first display module, configured to display the display content of a target display area in the first display interface in a second display area of ​​the second display interface, wherein the target display area is a display area of ​​a first target application in the first display interface, and the first target application is an application in the first operation interface that is hidden after the layout state is switched to the second layout state;

[0035] A first gradient module, used to gradually change the display contents of the first display area and the second display area into target display contents, where the target display contents are the second operation interface in the second layout state;

[0036] The first operating system is used to send the display content of the target display area to the second operating system, and pause the display of the target display area in the first display interface.

[0037] In a fourth aspect, the present invention further provides a display interface layout switching device, which is applied to a first operating system, and the device includes:

[0038] A second response module is used to respond to the first layout switching instruction, send the display content of the target display area in the first display interface to the second operating system, and pause the display of the target display area in the first display interface, the first display interface is used to display the first operation interface and the second operation interface in the first layout state, the first operation interface is the operation interface corresponding to the first operating system, the second operation interface is the operation interface corresponding to the second operating system, the target display area is the display area of ​​the first target application in the first display interface, and the first target application is the application in the first operation interface that is hidden after the layout state is switched to the second layout state;

[0039] Among them, the second operating system is used to create a second display interface in the display area corresponding to the first display interface, and the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface; the display content of the target display area is displayed in the second display area of ​​the second display interface; the display content of the first display area and the second display area is gradually changed into the target display content, and the target display content is the second operation interface in the second layout state.

[0040] In a fifth aspect, the present invention further provides an electronic device, comprising:

[0041] processor;

[0042] a memory for storing processor-executable instructions;

[0043] Wherein, the processor is used to execute instructions to implement the above-mentioned display interface layout switching method.

[0044] In a sixth aspect, the present invention further provides a storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the above-mentioned display interface layout switching method.

[0045] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

[0046] The implementation of this disclosure has the following beneficial effects:

[0047] In response to a first layout switching instruction, a second display interface is created in a display area corresponding to the first display interface, the first display interface is used to display the first operation interface and the second operation interface in a first layout state, the first operation interface is the operation interface corresponding to the first operating system, and the second operation interface is the operation interface corresponding to the second operating system, and the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface; the display content of the target display area in the first display interface is displayed in the second display area of ​​the second display interface, the target display area is the display area of ​​the first target application in the first display interface, and the first target application is an application in the first operation interface that is hidden after the layout state is switched to the second layout state; the display content of the first display area and the second display area is gradually changed to the target display content, and the target display content is the second operation interface in the second layout state; wherein the first operating system is used to send the display content of the target display area to the second operating system, and pause the display of the target display area in the first display interface.

[0048] The present disclosure creates a second display interface in the display area corresponding to the first display interface when a first layout switching instruction is obtained, so that the second operation interface involved in the interface change during the layout switching process and the application program in the first operation interface can be respectively displayed in the first display area and the second display area of ​​the second display interface, thereby facilitating a unified response to the interface change; by gradually changing the display contents of the first display area and the second display area to the second operation interface in the second layout state, a smooth layout switching adjustment can be achieved, thereby improving the visual effect of the layout adjustment.

[0049] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art description. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure, and do not constitute an improper limitation of the present disclosure.

[0051] Figure 1 is a schematic diagram of an implementation environment according to an exemplary embodiment;

[0052] Figure 2 is a flow chart of a method for switching a display interface layout according to an exemplary embodiment;

[0053] Figure 3 is a schematic diagram showing a first layout state and a second layout state according to an exemplary embodiment;

[0054] Figure 4 is a schematic diagram showing a layout state switching according to an exemplary embodiment;

[0055] Figure 5 is a schematic diagram showing a display effect of a second layout state according to an exemplary embodiment;

[0056] Figure 6 is a schematic diagram of a display interface layout switching device according to an exemplary embodiment;

[0057] Figure 7 is a schematic diagram of another display interface layout switching device according to an exemplary embodiment;

[0058] Figure 8 The present invention is a block diagram of an electronic device for displaying interface layout switching according to an exemplary embodiment. DETAILED DESCRIPTION

[0059] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0061] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated. The word "exemplary" is used specifically herein to mean "serving as an example, embodiment, or illustrative". Any embodiment described herein as "exemplary" is not necessarily to be construed as being superior or better than other embodiments.

[0062] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0063] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0064] See also Figure 1 , Figure 1 is a schematic diagram of an application environment according to an exemplary embodiment. Figure 1 As shown, the application environment may include a server 01 and a terminal 02 .

[0065] In an optional embodiment, server 01 can be used to perform calculations for displaying the interface layout switching method. Specifically, server 01 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.

[0066] In an optional embodiment, the terminal 02 may perform calculation processing in combination with the display interface layout switching method of the server 01. Specifically, the terminal 02 may include but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptop computers, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc. Optionally, the operating system running on the electronic device may include but is not limited to Android system, IOS system, Linux system, Windows system, Unix system, etc.

[0067] For example, in response to the first layout switching instruction, terminal 02 creates a second display interface in the display area corresponding to the first display interface, the first display interface is used to display the first operation interface and the second operation interface in the first layout state, the first operation interface is the operation interface corresponding to server 01, and the second operation interface is the operation interface corresponding to terminal 02, and the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface; the display content of the target display area in the first display interface is displayed in the second display area of ​​the second display interface, the target display area is the display area of ​​the first target application in the first display interface, and the first target application is an application in the first operation interface that is hidden after the layout state is switched to the second layout state; the display content of the first display area and the second display area is gradually changed to the target display content, and the target display content is the second operation interface in the second layout state; wherein, server 01 is used to send the display content of the target display area to the second operating system, and pause the display of the target display area in the first display interface.

[0068] In addition, it should be noted that Figure 1 What is shown is only one application environment provided by the present disclosure. In actual application, other application environments may also be included.

[0069] In the embodiments of this specification, the server 01 and the terminal 02 may be directly or indirectly connected via wired or wireless communication, which is not limited in this disclosure.

[0070] Figure 2 is a flow chart of a method for switching a display interface layout according to an exemplary embodiment. Figure 2 The display interface layout switching method shown is applied to the second operating system and includes the following:

[0071] Step S201: In response to the first layout switching instruction, a second display interface is created in the display area corresponding to the first display interface, the first display interface is used to display the first operation interface and the second operation interface in the first layout state, the first operation interface is the operation interface corresponding to the first operating system, the second operation interface is the operation interface corresponding to the second operating system, and the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface.

[0072] In the disclosed embodiment, the first operating system and the second operating system are two vehicle-mounted operating systems running on the same chip, wherein the first operating system is an infotainment system, denoted as system A, and the second operating system is a driving control system, denoted as system B. The driving control system usually runs on a Linux or QNX operating system, while the infotainment system mainly runs on an Android operating system. The operation interface corresponding to the first operating system is the first operation interface, and the operation interface corresponding to the second operating system is the second operation interface. The first operation interface and the second operation interface are displayed on the same screen, with the second operation interface on top and the first operation interface on the bottom.

[0073] In the embodiment of the present disclosure, the first layout switching instruction is used to change the area ratio of the first operation interface and the second operation interface respectively on the screen. The initial layout state corresponding to the first operation interface and the second operation interface is as follows: Figure 3 As shown in the first layout state in the figure, the interface is the first display interface. The first display interface is used to display the first operation interface and the second operation interface in the first layout state. At this time, it can be seen that the main operation interface on the screen is the first operation interface. The first layout switching instruction is used to change the main display operation interface on the screen, changing the layout state of the first operation interface and the second operation interface from Figure 3 The first layout state in the switch to Figure 3 The second layout state in the screen is in the second layout state, and the interface corresponding to the second layout state is the second display interface, that is, the main display operation interface in the screen is switched to the second operation interface.

[0074] In the embodiment of the present disclosure, in response to the first layout switching instruction, a second display interface is created in the display area corresponding to the first display interface, such as Figure 4As shown, the second display interface 42 is located above the first display interface 41. The second display interface is equal in size to the first display interface, and the content displayed on the first display interface is controlled by the first operating system, while the content displayed on the second display interface is controlled by the second operating system. Figure 4 As shown in (a), the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface. Specifically, the second operation interface in the first layout state may be displayed in the first display area of ​​the second display interface in such a manner that when the second display interface is just created, the second display interface is entirely a transparent area, the area in the first display interface where the second operation interface in the first layout state is displayed is determined as a control area of ​​the first display area, the display area in the second display interface that is at the same position as the control area is determined as the first display area, and the second operation interface in the first layout state is displayed in the first display area, and then the first display interface stops displaying the second operation interface in the first layout state.

[0075] Step S202: Display the display content of the target display area in the first display interface in the second display area of ​​the second display interface, where the target display area is the display area of ​​the first target application in the first display interface, and the first target application is an application in the first operation interface that is hidden after the layout state is switched to the second layout state; wherein the first operating system is used to send the display content of the target display area to the second operating system, and pause the display of the target display area in the first display interface.

[0076] In the embodiment of the present disclosure, the target display area can be determined by the enlarged display area of ​​the second operation interface or the reduced interface area of ​​the first operation interface after the layout state of the screen is switched from the first layout state to the second layout state, and the second display area of ​​the second display interface is the display area at the same position as the target display area. Specifically, the second display area of ​​the second display interface displays the display content of the target display area in the first display interface by the first operating system sending the display content of the target display area to the second operating system, and the second operating system displays the display content of the target display area, such as Figure 4 As shown in (b), the first operating system then pauses display of the target display area in the first display interface.

[0077] Step S203: gradually changing the display contents of the first display area and the second display area to target display contents, where the target display contents are the second operation interface in the second layout state.

[0078] In the embodiment of the present disclosure, gradually changing the display contents of the first display area and the second display area to the target display contents includes:

[0079] Step S2031: Switch the display styles of the first display area and the second display area to the display styles in the second layout state.

[0080] In the present disclosure, Figure 4 As shown in (c) of FIG. 1 , the display styles of the first display area and the second display area in the second layout state may be the background colors, application image styles, etc. corresponding to the first display area and the second display area in the second layout state, and the switching may be gradual, as shown in FIG. Figure 4 The state shown in (b) gradually changes to Figure 4 Specifically, switching the display style of the first display area to the display style in the second layout state may be to gradually increase the size of the application image of the second operation interface displayed in the first display area, and switching the display style of the second display area to the display style in the second layout state may be to gradually change the background of the application to be hidden in the first operation interface displayed in the second display area.

[0081] Step S2032: Switch the display contents of the first display area and the second display area to a third target application, where the third target application is an application displayed on the second operation interface in the second layout state.

[0082] In the embodiment of the present disclosure, switching the display content of the first display area and the second display area to the third target application may be to gradually change the application image content of the first display area and the second display area to the image content of the application displayed on the second operation interface in the second layout state. Figure 4 As shown in (d) in .

[0083] Based on the above, it can be known that in the embodiment of the present disclosure, by switching the display style of the first display area and the second display area to the display style in the second layout state, the display style involved in the layout switching process can be adjusted first, and the transition of the display style can be completed first; by switching the display content of the first display area and the second display area to the third target application, the third target application is the application displayed on the second operation interface in the second layout state, and when the display style switching is completed, the transition of the display content can be realized, the layout switching can be gradually completed, and the visual effect of the layout adjustment can be improved.

[0084] In an optional embodiment, the second display interface further includes a third display area, and the third display area is an area of ​​the second display interface other than the first display area and the second display area, and the method further includes:

[0085] Step S301: displaying a second target application in a third display area, where the second target application is an application in the first operation interface that is not hidden after the layout state is switched to the second layout state.

[0086] In the embodiment of the present disclosure, the third display area is the area corresponding to the first operation interface in the second layout state. Specifically, the method of displaying the second target application in the third display area can be to keep the third display area transparent, and keep displaying the application in the first operation interface that is not hidden in the first display interface. The display effect is as follows: Figure 5 shown.

[0087] Step S302: Acquire an operation instruction for the second target application.

[0088] In the embodiment of the present disclosure, the second operating system takes over the subsequent functions of the application that is not hidden in the first operation interface in the second layout state, and obtaining the operation instruction for the second target application can be to obtain the trigger operation for the second target application through the second display interface.

[0089] Step S303: Sending an operation instruction for the second target application to the first operating system.

[0090] In the embodiment of the present disclosure, the received operation instruction for the second target application is sent to the first operating system through inter-system communication.

[0091] Based on the above, it can be known that in the embodiment of the present disclosure, by displaying the applications that are not hidden in the first operation interface in the third display area, it is possible to display the applications that are not involved in the layout state adjustment on the second display interface after the layout state is switched to the second layout state; obtain the operation instructions for the second target application through the second display interface, and send the operation instructions for the second target application to the first operating system. When the screen display interface is controlled by the second operating system, the second operating system can take over the operation instructions for the first operation interface, and through interaction between systems, the second operating system can process the operation instructions for the first operation interface.

[0092] In an optional embodiment, after gradually changing the display contents of the first display area and the second display area to the target display contents, the method further includes:

[0093] Step S401: In response to the second layout switching instruction, the display contents of the first display area and the second display area are gradually changed to the second operation interface in the first layout state and the display contents of the target display area, and a gradient completion message is sent to the first operating system, wherein the second layout switching instruction is used to switch the layout state from the second layout state back to the first layout state; wherein the first operating system is further used to restore the display of the first display interface after receiving the gradient completion message.

[0094] In the embodiment of the present disclosure, the second layout switching instruction is a layout state restoration instruction, which is used to switch the layout state from the second layout state back to the first layout state, that is, to switch the main operation interface displayed on the screen to the first operation interface. The display content of the first display area and the second display area is gradually changed to the display content of the second operation interface and the target display area in the first layout state. First, the display style of the first display area and the second display area is switched to the display style of the second operation interface and the target display area in the first layout state. The display style of the second operation interface and the target display area in the first layout state can be the background color, application image style, etc. corresponding to the second operation interface and the target display area in the first layout state. The switching method can be gradual. Specifically, switching the display style of the first display area to the display style in the first layout state can be to gradually reduce the size style of the application image of the second operation interface displayed in the first display area. Switching the display style of the second display area to the display style in the first layout state can be to gradually change the background of the application displayed in the second display area; then, the display content of the first display area and the second display area is gradually changed to the application image content of the corresponding area in the first display interface.

[0095] In the embodiment of the present disclosure, after the above-mentioned gradual change process is completed, the second operating system is also used to send a gradual change completion message to the first operating system, and the first operating system restores the display of the first display interface after receiving the gradual change completion message. At this time, the second display interface and the first display interface display the same content.

[0096] Step S402: stop displaying the second display interface.

[0097] Based on the above, it can be known that in the embodiment of the present disclosure, upon receiving the second layout switching instruction, the first operating system gradually changes the display content of the first display area and the second display area to the second operation interface and the display content of the target display area in the first layout state, sends a gradual change completion message to the first operating system, stops displaying the second display interface, receives the gradual change completion message by the first operating system, and restores displaying the first display interface. Through the gradual layout switching operation and the cooperation between the two operating systems, smooth layout switching adjustment can be achieved, thereby improving the visual effect of the layout adjustment.

[0098] On the other hand, the present disclosure also provides another display interface layout switching method, which is applied to a second operating system and includes the following:

[0099] In response to a first layout switching instruction, the display content of a target display area in a first display interface is sent to a second operating system, and the display of the target display area in the first display interface is paused, wherein the first display interface is used to display a first operation interface and a second operation interface in a first layout state, the first operation interface is an operation interface corresponding to the first operating system, the second operation interface is an operation interface corresponding to the second operating system, the target display area is a display area of ​​a first target application in the first display interface, and the first target application is an application in the first operation interface that is hidden after the layout state is switched to the second layout state; wherein the second operating system is used to create a second display interface in a display area corresponding to the first display interface, the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface; the display content of the target display area is displayed in the second display area of ​​the second display interface; the display content of the first display area and the second display area is gradually changed into the target display content, and the target display content is the second operation interface in the second layout state.

[0100] In the embodiment of the present disclosure, sending the display content of the target display area in the first display interface to the second operating system may be that the first operating system sends the display content of the target display area to the second operating system through inter-system communication. The method of pausing the display of the target display area in the first display interface may be that after the display content of the target display area is displayed in the second display area of ​​the second display interface, the display of the target display area in the first display interface is paused.

[0101] In an optional embodiment, the method further comprises:

[0102] Step S501: In response to a second layout switching instruction, a gradient completion message is received, wherein the second layout switching instruction is used to switch the layout state from the second layout state back to the first layout state; wherein the second operating system is also used to gradually change the display content of the first display area and the second display area to the second operation interface in the first layout state and the display content of the target display area, and send a gradient completion message to the first operating system.

[0103] In the disclosed embodiment, the gradient completion message is sent by the second operating system to the first operating system after the display contents of the first display area and the second display area are gradiently changed to the second operation interface in the first layout state and the display contents of the target display area.

[0104] Step S502: Restore the display of the first display interface; wherein the second operating system is also used to stop the display of the second display interface.

[0105] In the embodiment of the present disclosure, the first display interface can be restored by the first display interface displaying the first operation interface and the second operation interface displayed in the first layout state. After the first operating system restores the display of the first display interface, the second operating system stops displaying the second display interface.

[0106] Based on the above, it can be known that in the embodiment of the present disclosure, upon receiving the second layout switching instruction, the first operating system gradually changes the display content of the first display area and the second display area to the second operation interface and the display content of the target display area in the first layout state, sends a gradual change completion message to the first operating system, stops displaying the second display interface, receives the gradual change completion message by the first operating system, and restores displaying the first display interface. Through the gradual layout switching operation and the cooperation between the two operating systems, smooth layout switching adjustment can be achieved, thereby improving the visual effect of the layout adjustment.

[0107] In an optional embodiment, after restoring the display of the first display interface, the method further includes:

[0108] Step S601: Acquire an operation instruction for the second operation interface.

[0109] In the embodiment of the present disclosure, the first operating system takes over the subsequent functions of the application of the second operating interface in the first layout state, and obtaining the operation instruction for the second operating interface can be to close the second display interface and obtain the trigger operation for the second operating interface through the first display interface.

[0110] Step S602: Sending an operation instruction for the second operation interface to the second operating system.

[0111] In the embodiment of the present disclosure, the received operation instruction for the second operation interface is sent to the second operating system through inter-system communication.

[0112] Based on the above, it can be known that in the embodiment of the present disclosure, by obtaining operation instructions for the second operation interface on the first display interface and sending the operation instructions for the second operation interface to the second operating system, the first operating system can take over the operation instructions for the second operation interface when the screen display interface is controlled by the first operating system, and through interaction between systems, the first operating system can process the operation instructions for the second operation interface.

[0113] In an optional embodiment, after restoring the display of the first display interface, the method further includes:

[0114] Stop sending the display content of the target display area to the second operating system.

[0115] Based on the above, it can be seen that in the embodiment of the present disclosure, after restoring the display of the first display interface, stopping the second operating system from sending the display content of the target display area to the second operating system can avoid unnecessary data interaction, prevent invalid data from occupying data transmission resources, and improve the data interaction and transmission efficiency of the vehicle system.

[0116] Figure 6 is a block diagram of a display interface layout switching device according to an exemplary embodiment. Figure 6 The device is applied to the second operating system and includes a first response module 601, a first display module 602 and a first gradient module 603, wherein:

[0117] A first response module 601 is used to create a second display interface in a display area corresponding to the first display interface in response to a first layout switching instruction, the first display interface is used to display a first operation interface and a second operation interface in a first layout state, the first operation interface is an operation interface corresponding to the first operating system, the second operation interface is an operation interface corresponding to the second operating system, and the second operation interface in the first layout state is displayed in a first display area of ​​the second display interface;

[0118] A first display module 602 is used to display the display content of a target display area in the first display interface in a second display area of ​​the second display interface, where the target display area is a display area of ​​a first target application in the first display interface, and the first target application is an application in the first operation interface that is hidden after the layout state is switched to the second layout state;

[0119] The first gradient module 603 is used to gradually change the display content of the first display area and the second display area into the target display content, and the target display content is the second operation interface in the second layout state; wherein the first operating system is used to send the display content of the target display area to the second operating system, and pause the display of the target display area in the first display interface.

[0120] In an optional embodiment, the second display interface further includes a third display area, the third display area is an area of ​​the second display interface excluding the first display area and the second display area, and the device further includes:

[0121] A second display module, used for displaying a second target application in the third display area, where the second target application is an application in the first operation interface that is not hidden after the layout state is switched to the second layout state;

[0122] A first acquisition module, used to acquire an operation instruction for a second target application program;

[0123] The first sending module is used to send the operation instruction for the second target application to the first operating system.

[0124] In an optional embodiment, the first gradient module 603 includes:

[0125] A display style switching module, used to switch the display styles of the first display area and the second display area to the display styles in the second layout state;

[0126] The display content switching module is used to switch the display content of the first display area and the second display area to a third target application, where the third target application is an application displayed on the second operation interface in the second layout state.

[0127] In an optional embodiment, the device further comprises:

[0128] A second gradient module is used to respond to a second layout switching instruction to gradually change the display contents of the first display area and the second display area to the second operation interface and the display contents of the target display area in the first layout state, and send a gradient completion message to the first operating system, wherein the second layout switching instruction is used to switch the layout state from the second layout state back to the first layout state;

[0129] The first stop module is used to stop the display of the second display interface; wherein the first operating system is also used to restore the display of the first display interface after receiving the gradient completion message.

[0130] Figure 7 is a block diagram of another display interface layout switching device according to an exemplary embodiment. Figure 7 The device is applied to a first operating system and includes a second response module 701, wherein:

[0131] The second response module 701 is used to respond to the first layout switching instruction, send the display content of the target display area in the first display interface to the second operating system, and pause the display of the target display area in the first display interface, the first display interface is used to display the first operation interface and the second operation interface in the first layout state, the first operation interface is the operation interface corresponding to the first operating system, the second operation interface is the operation interface corresponding to the second operating system, the target display area is the display area of ​​the first target application in the first display interface, and the first target application is the application in the first operation interface that is hidden after the layout state is switched to the second layout state; wherein the second operating system is used to create a second display interface in the display area corresponding to the first display interface, the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface; the display content of the target display area is displayed in the second display area of ​​the second display interface; the display content of the first display area and the second display area is gradually changed to the target display content, and the target display content is the second operation interface in the second layout state.

[0132] In an optional embodiment, the device further comprises:

[0133] a gradient completion message receiving module, configured to receive a gradient completion message in response to a second layout switching instruction, wherein the second layout switching instruction is configured to switch the layout state from the second layout state back to the first layout state;

[0134] The first display interface recovery module is used to restore the display of the first display interface; wherein the second operating system is also used to gradually change the display content of the first display area and the second display area to the second operating interface in the first layout state and the display content of the target display area, and send a gradient completion message to the first operating system; stop the display of the second display interface.

[0135] In an optional embodiment, the device further comprises:

[0136] A second acquisition module, used to acquire an operation instruction for a second operation interface;

[0137] The second sending module is used to send the operation instruction for the second operation interface to the second operating system.

[0138] In an optional embodiment, the device further comprises:

[0139] The second stopping module is used to stop sending the display content of the target display area to the second operating system.

[0140] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware such as processing circuits or memories, or a combination thereof. Similarly, one processor or multiple processors or memories can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0141] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is used for the instructions to implement the display interface layout switching method as in the embodiment of the present disclosure.

[0142] Figure 8 is a block diagram of an electronic device for displaying interface layout switching according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a display interface layout switching method and device are implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.

[0143] Those skilled in the art will understand that Figure 8 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0144] In an exemplary embodiment, a storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the display interface layout switching method in the embodiment of the present disclosure.

[0145] In an exemplary embodiment, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer executes the display interface layout switching method in the embodiment of the present disclosure.

[0146] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present disclosure may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct RAMbus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0147] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

[0148] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A display interface layout switching method, It is characterized in that Applied to the second operating system, the method includes: In response to the first layout switching instruction, a second display interface is created in a display area corresponding to the first display interface, the first display interface is used to display a first operation interface and a second operation interface in a first layout state, the first operation interface is an operation interface corresponding to the first operating system, the second operation interface is an operation interface corresponding to the second operating system, and the second operation interface in the first layout state is displayed in a first display area of ​​the second display interface; Displaying the display content of the target display area in the first display interface in the second display area of ​​the second display interface, the target display area is the display area of ​​the first target application in the first display interface, and the first target application is the application in the first operation interface that is hidden after the layout state is switched to the second layout state; gradually changing the display contents of the first display area and the second display area to target display contents, where the target display contents are the second operation interface in the second layout state; The first operating system is used to send the display content of the target display area to the second operating system, and pause the display of the target display area in the first display interface.

2. The method according to claim 1, It is characterized in that The second display interface further includes a third display area, and the third display area is an area of ​​the second display interface excluding the first display area and the second display area. The method further includes: Displaying a second target application in the third display area, where the second target application is an application in the first operation interface that is not hidden after the layout state is switched to the second layout state; Obtaining an operation instruction for the second target application; The operation instruction for the second target application is sent to the first operating system.

3. The method according to claim 1, It is characterized in that The step of gradually changing the display contents of the first display area and the second display area to target display contents includes: Switching the display styles of the first display area and the second display area to the display styles in the second layout state; Switch the display contents of the first display area and the second display area to a third target application, where the third target application is an application displayed on the second operation interface in the second layout state.

4. The method according to claim 1, It is characterized in that After gradually changing the display contents of the first display area and the second display area to target display contents, the method further includes: In response to a second layout switching instruction, gradually changing the display contents of the first display area and the second display area to the second operation interface and the display contents of the target display area in the first layout state, and sending a gradual change completion message to the first operating system, wherein the second layout switching instruction is used to switch the layout state from the second layout state back to the first layout state; Stop displaying the second display interface; The first operating system is further configured to restore the display of the first display interface after receiving the gradient completion message.

5. A display interface layout switching method, It is characterized in that Applied to a first operating system, the method comprises: In response to the first layout switching instruction, the display content of the target display area in the first display interface is sent to the second operating system, and the display of the target display area in the first display interface is suspended, the first display interface is used to display the first operation interface and the second operation interface in the first layout state, the first operation interface is the operation interface corresponding to the first operating system, the second operation interface is the operation interface corresponding to the second operating system, the target display area is the display area of ​​the first target application in the first display interface, and the first target application is the application in the first operation interface that is hidden after the layout state is switched to the second layout state; Among them, the second operating system is used to create a second display interface in the display area corresponding to the first display interface, and the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface; the display content of the target display area is displayed in the second display area of ​​the second display interface; the display content of the first display area and the second display area is gradually changed to the target display content, and the target display content is the second operation interface in the second layout state.

6. The method according to claim 5, It is characterized in that The method further comprises: In response to a second layout switching instruction, receiving a gradient completion message, wherein the second layout switching instruction is used to switch the layout state from the second layout state back to the first layout state; Restoring the display of the first display interface; Among them, the second operating system is also used to gradually change the display content of the first display area and the second display area to the second operation interface in the first layout state and the display content of the target display area, and send the gradient completion message to the first operating system; stop displaying the second display interface.

7. The method according to claim 6, It is characterized in that After restoring the display of the first display interface, the method further includes: Obtaining an operation instruction for the second operation interface; The operation instruction for the second operation interface is sent to the second operating system.

8. The method according to claim 6, It is characterized in that After restoring the display of the first display interface, the method further includes: Stop sending the display content of the target display area to the second operating system.

9. A display interface layout switching device, It is characterized in that Applied to the second operating system, the device comprises: A first response module, configured to create a second display interface in a display area corresponding to a first display interface in response to a first layout switching instruction, wherein the first display interface is configured to display a first operation interface and a second operation interface in a first layout state, wherein the first operation interface is an operation interface corresponding to a first operating system, and the second operation interface is an operation interface corresponding to the second operating system, and the second operation interface in the first layout state is displayed in a first display area of ​​the second display interface; A first display module, configured to display the display content of a target display area in the first display interface in a second display area of ​​the second display interface, wherein the target display area is a display area of ​​a first target application in the first display interface, and the first target application is an application in the first operation interface that is hidden after the layout state is switched to the second layout state; A first gradient module, used for gradually changing the display contents of the first display area and the second display area to target display contents, where the target display contents are the second operation interface in the second layout state; The first operating system is used to send the display content of the target display area to the second operating system, and pause the display of the target display area in the first display interface.

10. A display interface layout switching device, It is characterized in that Applied to a first operating system, the device comprises: a second response module, configured to respond to the first layout switching instruction, send the display content of the target display area in the first display interface to the second operating system, and suspend the display of the target display area in the first display interface, wherein the first display interface is configured to display a first operation interface and a second operation interface in a first layout state, wherein the first operation interface is an operation interface corresponding to the first operating system, and the second operation interface is an operation interface corresponding to the second operating system, and the target display area is a display area of ​​a first target application in the first display interface, and the first target application is an application in the first operation interface that is hidden after the layout state is switched to the second layout state; Among them, the second operating system is used to create a second display interface in the display area corresponding to the first display interface, and the second operation interface in the first layout state is displayed in the first display area of ​​the second display interface; the display content of the target display area is displayed in the second display area of ​​the second display interface; the display content of the first display area and the second display area is gradually changed to the target display content, and the target display content is the second operation interface in the second layout state.