The present application claims the benefit of priority to Chinese Application No. 202311840426.3, filed on Dec. 28, 2023, the contents of which are incorporated herein by reference in their entireties for all purposes.
Vehicles as a means of transportation, have been widely used in daily life, work and tourism. In the related art, an in-vehicle display screen is located on a control panel at a front end inside a vehicle, and is configured to provide functions such as audio and video playback and vehicle navigation.
The disclosure relates to the field of electronic technologies, and particularly relates to a method and apparatus for displaying an application, a medium, an in-vehicle terminal, and a vehicle.
According to a first aspect of an example of the disclosure, a method for displaying an application is provided. The method is performed by an in-vehicle terminal. A current display interface of the in-vehicle terminal includes n application windows, where n≥1. In response to determining n>1, the n application windows are arranged adjacent to each other in a transverse direction.
The method includes:
The window queue is configured for continuous adjacent arrangement of the n application windows. A status of the window queue is dynamically updated with change of the application window layout. Serial numbers of the application windows in the window queue sequentially increase in a direction opposite to a starting point direction. A serial number of the application window, closest to the starting point direction, of the n application windows is 1. The starting point direction is a direction, close to a driver side, of the in-vehicle terminal.
At least part of a zone of the window queue overlaps a display interface of the in-vehicle terminal, so as to ensure that the application windows in the window queue are displayed in the current display interface.
According to a second aspect of an example of the disclosure, a non-transitory computer-readable storage medium is provided. The computer-readable storage medium stores a computer program instruction. one or more processors are collectively configured to execute the computer program instruction to:
According to a third aspect of an example of the disclosure, an in-vehicle terminal is provided. The in-vehicle terminal includes:
The one or more processors are collectively configured to execute the executable instruction in the memory to:
According to a fourth aspect of an example of the disclosure, a vehicle is provided. The vehicle includes the in-vehicle terminal according to the third aspect of the disclosure.
It is to be understood that the above general description and the following detailed description are illustrative and explanatory, and cannot limit the disclosure.
Accompanying drawings here are incorporated in the description as a constituent part of the description, illustrate examples conforming to the disclosure, and serve to describe principles of the disclosure together with the description.
Examples will be described in detail here and shown in the accompanying drawings illustratively. When the following descriptions involve the accompanying drawings, unless otherwise specified, the same number in different accompanying drawings denotes the same or similar elements. The embodiments described in the following examples do not denote all embodiments consistent with the disclosure. On the contrary, the embodiments are merely instances of an apparatus and a method consistent with some aspects of the disclosure as detailed in the appended claims.
It is to be noted that all actions of obtaining signals, information or data in the disclosure are conducted under the premise of complying with corresponding data protection laws and policies of the current country and obtaining authorization from a corresponding apparatus owner.
With the technology development, an existing in-vehicle display screen has a function of split-screen display. An existing split-screen principle is to divide the entire display screen into different display zones by dividing pixel points on the display screen, and thus different application content can be displayed in the display zones respectively. However, a size and content of each display zone are generally fixed, which can hardly satisfy customized demand of users.
In order to solve the problems in the related art, the disclosure provides a method and apparatus for displaying an application, a medium, an in-vehicle terminal, and a vehicle.
In S101, an application window editing operation for a current display interface is received.
In the disclosure, the current display interface of the in-vehicle terminal includes n application windows. In response to determining that n>1, that is, the current display interface includes a plurality of application windows, the n application windows are arranged adjacent to each other in a transverse direction, that is, no gap is provided between the n application windows. In addition, the application windows are not in a cross-screen mode, and different application windows are configured to display different applications.
As shown in
In addition, as shown in
The application window editing operation may be a window removing operation, a window width adjusting operation, a window adding operation, a window full-screen display operation, and a window translating operation, etc.
In S102, an application window layout of the current display interface is adjusted according to the application window editing operation and a window queue.
In the disclosure, the window queue is configured for continuous adjacent arrangement of the n application windows in the current display interface. At least part of a zone of the window queue overlaps the display interface of the in-vehicle terminal, so as to ensure that the application windows in the window queue are displayed in the current display interface. That is, the display interface of the in-vehicle terminal is configured to display the application window in the window queue, and the n application windows are continuous in the window queue.
In addition, a status of the window queue is dynamically updated with change of the application window layout. The status of the window queue includes a length (that is, n) of the window queue and a window width. That is, through adjustment of a display interface layout in the in-vehicle terminal may lead to change of the length of the window queue and the application window width in the window queue. Serial numbers of the application windows in the window queue sequentially increase in a direction opposite to a starting point direction. A serial number of the application window, closest to the starting point direction, of the n application windows is 1. The starting point direction is a direction, close to a driver side, of the in-vehicle terminal. If the vehicle is a left-rudder vehicle, the starting point direction is horizontally leftward. If the vehicle is a right-rudder vehicle, the starting point direction is horizontally rightward. The drawings in the disclosure all take the condition that the vehicle is the left-rudder vehicle as an instance.
The application window layout may include display content (that is, which applications are displayed) and/or the window width. That is, the step that the application window layout of the current display interface is adjusted includes the following step that the display content of the current display interface is adjusted and/or the window width of the current display interface is adjusted. Adjustment of the window width and adjustment of the display content may lead to change of a number of windows in the current display interface.
The technical solution according to the examples of the disclosure can have the following beneficial effects: the in-vehicle terminal adjusts, in response to receiving the application window editing operation for the current display interface, the application window layout of the current display interface according to the application window editing operation and the window queue. The window queue is configured for continuous adjacent arrangement of the n application windows in the current display interface. The status of the window queue is dynamically updated with change of the application window layout of the current display interface. The at least part of the zone of the window queue overlaps the display interface of the in-vehicle terminal, so as to ensure that the application windows in the window queue are displayed in the current display interface. In this way, self-adaptive adjustment of display content and a display window size in the display interface can be implemented according to a user operation, and a use experience of a user can be improved. In addition, one or more application windows can be displayed in the display interface of the in-vehicle terminal, such that the display interface can have more display forms, and a use ratio of the display interface and a visual experience of the user can be improved. In addition, when split-screen display is conducted in the display interface, different applications can be separately displayed in each display window, which facilitates use.
In the disclosure, n≤3, and the application window width is d/3 or 2d/3. That is, the application window in the window queue and the application window in the current display interface have two sizes of d/3 and 2d/3. The application window width changes adaptively with layout change of the display interface, where d denotes a width of the current display interface.
In one embodiment, the current display interface includes one application window. A width of the application window may be 2d/3 (as shown in
In another embodiment, the current display interface includes two application windows. Widths of the two application windows may be both d/3 (as shown in
In yet another embodiment, the current display interface includes two application windows. Widths of the two application windows may be d/3 and 2d/3 respectively, and no vacant window position exists in the current display interface. The application window with the width of d/3 may be close to the starting point direction (as shown in
In yet another embodiment, as shown in
In yet another embodiment, as shown in
The specific embodiment of the step that the application window layout of the current display interface is adjusted according to the application window editing operation and the window queue in S102 will be described in detail below. In the disclosure, the application window layout may be adjusted on the basis that a number of application windows adjusted is as small as possible, such that influence of adjustment of the application window layout on the window queue can be reduced while adjustment efficiency of the application window layout can be improved.
Specifically, in response to determining that the application window editing operation is the window removing operation, the application window layout of the current display interface may be adjusted according to the application window editing operation and the window queue through the following steps (a1)-(a5):
Step (a1): a to-be-removed window is determined in the current display interface according to the window removing operation.
In the disclosure, the current display interface 200 further includes a window control 310, 312 (three points on the top of the application window as shown in
In one embodiment, as shown in
In another embodiment, as shown in
Step (a2): a to-be-removed window n is removed from the current display interface.
Step (a3): whether an (n+1)th application window exists is determined.
Step (a4): in response to determining that the (n+1)th application window exists, an application window having a serial number greater than that of the to-be-removed window n in the window queue is translated sequentially to the starting point direction, and is displayed in the current display interface.
In response to determining that the (n+1)th application window does not exist, it is indicated that the current display interface includes an end window of the window queue, that is, no application window that may be added to a freed-up vacant window position in the current display interface exists in the window queue. In this case, adjustment of the display content of the current display interface is completed.
Step (a5): in response to determining that n=1 and a to-be-removed window is not located at a starting point of the window queue, the current display interface is switched to a display interface previous to the current display interface.
In the disclosure, the application windows in the window queue constitute a plurality of continuous display interfaces, the previous display interface is an interface, close to the starting point direction, of adjacent interfaces of the current display interface, and a subsequent display interface is an interface, away from the starting point direction, of adjacent interfaces of the current display interface.
When the number of application windows in the current display interface is 1 and the to-be-removed window is not located at the starting point of the window queue, it is indicated that the application window in the current display interface is the to-be-removed window and the current display interface further has the previous display interface. In this case, a display interface of a display device may be switched from the current display interface to the display interface previous to the current display interface.
The specific embodiment of the steps that the application window having the serial number greater than that of the to-be-removed window n in the window queue is translated sequentially to the starting point direction and is displayed in the current display interface in step (a4) will be described in detail below. Specifically, the specific embodiment may be implemented through the following steps (a41) and (a42):
Step (a41): a first width of the (n+1)th application window and a second width of the to-be-removed window are obtained.
Step (a42): a translating strategy is determined according to a comparison result of the first width and the second width.
Then, the application window having the serial number greater than that of the to-be-removed window n in the window queue may be translated sequentially to the starting point direction according to the translating strategy.
The specific embodiment of the step that the translating strategy is determined according to the comparison result of the first width and the second width in step (a42) will be described in detail below.
In one embodiment, in response to determining that the first width of the (n+1)th application window is greater than the second width of the to-be-removed window, the translating strategy is to reduce the first width of the (n+1)th application window to the second width of the to-be-removed window, translate the (n+1)th application window to the starting point direction, and display the (n+1)th application window in the current display interface.
For instance, as shown in
Further, for instance, as shown in the current display interface 510 at a left bottom in
In another embodiment, in response to determining that the first width of the (n+1)th application window is equal to the second width of the to-be-removed window, the translating strategy is to keep a width of the (n+1)th application window unchanged, translate the (n+1)th application window to the starting point direction, and display the (n+1)th application window in the current display interface.
For instance, as shown in
Further, for instance, as shown in the current display interface at a left top in
Further, for instance, as shown in
In yet another embodiment, in response to determining that the first width of the (n+1)th application window is smaller than the second width of the to-be-removed window and an (n+2)th application window exists, the translating strategy is to keep a width of the (n+1)th application window unchanged, translate the (n+1)th application window to the starting point direction, and display the (n+1)th application window in the current display interface; and translate the (n+2)th application window with a width equaling a difference between the second width and the first width to the starting point direction, and display the (n+2)th application window in the current display interface. No matter how wide the (n+2)th application window is, the (n+2)th application window is translated to the starting point direction by a width equaling the difference between the second width and the first width, and is displayed in the current display interface.
For instance, as shown in
In yet another embodiment, in response to determining that the first width of the (n+1)th application window is smaller than the second width of the to-be-removed window and the (n+2)th application window does not exist, the translating strategy is to keep a width of the (n+1)th application window unchanged, translate the (n+1)th application window to the starting point direction, and display the (n+1)th application window in the current display interface.
In the disclosure, in response to determining that the first width of the (n+1)th application window is smaller than the second width of the to-be-removed window and the (n+2)th application window does not exist, a width of the (n+1)th application window may be kept unchanged, and the (n+1)th application window may be translated to the starting point direction and displayed in the current display interface. Then, the display interface further includes the vacant window position. The (n+2)th application window does not exist, that is, the (n+1)th application window is an end window of the window queue, such that the vacant window position is no longer filled.
In addition, the current display interface further includes width adjusting controls separately configured between every two adjacent application windows. The width adjusting control is configured to adjust a width of the application window. For instance, if the starting point direction is from right to left, the width adjusting control is configured to adjust a width of an application window on a left side of the width adjusting control. The width of the corresponding application window is adjusted by dragging or clicking on the width adjusting control (including single-clicking and double-clicking, for instance, single-clicking on the width adjusting control to increase the width of the corresponding application window, and double-clicking on the width adjusting control to decrease the width of the corresponding application window). The width of the application window may be switched between d/3 and 2d/3.
For instance, as shown in
In addition, in response to determining that the width of an application window away from the starting point direction is 2d/3, the current display interface further includes a width adjusting control configured on a second vertical edge, away from the starting point direction, of the current display interface. As shown in
The window width adjusting operation may be a first control operation for any one of the width adjusting controls in the current display interface. The first control operation may be a dragging operation, a clicking operation, etc.
In response to determining that the application window editing operation is the window width adjusting operation, the application window layout of the current display interface may be adjusted according to the application window editing operation and the window queue as follows: the window width of the current display interface is at least adjusted according to the first control operation and the window queue.
The specific embodiment of the step that the window width of the current display interface is at least adjusted according to the first control operation and the window queue will be described in detail below.
In one embodiment, n=3, and the widths of the n application windows each are d/3. In response to determining that the first control operation is to drag any one of the width adjusting controls away from the starting point direction, a width of a target application window is stretched to 2d/3. An nth application window in the current display interface is pushed to a display interface subsequent to the current display interface. The target application window is an application window, close to the starting point direction, of application windows at two ends of the width adjusting control targeted by the first control operation.
In the disclosure, in response to determining that the number of application windows in the current display interface is 3, widths of the three application windows in the current display interface are all d/3. In this case, the current display interface includes two width adjusting controls. Any one of the width adjusting controls is dragged away from the starting point direction, and the width of the target application window may be stretched to 2d/3. In this case, the nth application window in the current display interface is pushed out of the display interface of the in-vehicle terminal.
For instance, the current display interface 800 is as shown in
Further, for instance, the current display interface is as shown in
In another embodiment, n=2, the width of the n application windows is d/3 or 2d/3, and an application window with a width of 2d/3 in the current display interface is close to the starting point direction. In this case, in response to determining that the first control operation is to drag a width adjusting control to the starting point direction and the (n+1)th application window exists, a width of the application window close to the starting point direction is reduced to d/3, and the application window, away from the starting point direction, of the current display interface and the (n+1)th application window are translated to the starting point direction by a width of d/3 and are displayed in the current display interface.
In the disclosure, when the number of application windows in the current display interface is 2 and an application window with a width of 2d/3 in the current display interface is close to the starting point direction, the current display interface includes one width adjusting control. The width of the application window close to the starting point direction may be reduced to d/3 by dragging the width adjusting control to the starting point direction, and then whether the (n+1)th application window exists may be determined. In response to determining that the (n+1)th application window exists, the (n+1)th application window is added to a new vacant window position by a width of d/3. In response to determining that the (n+1)th application window does not exist, a window filling operation is not required.
For instance, as shown in
In yet another embodiment, n=2, the widths of the n application windows are d/3 and 2d/3 respectively, and the application window with the width of d/3 in the current display interface is close to the starting point direction. In this case, the window width of the current display interface may be at least adjusted according to the first control operation and the window queue as follows:
In response to determining that the first control operation is to drag a width adjusting control close to the starting point direction away from the starting point direction, a width of a first application window in the current display interface is stretched to 2d/3, and a width of a second application window in the current display interface is reduced to d/3.
In the disclosure, when the number of application windows in the current display interface is 2 and the application window with the width of d/3 in the current display interface is close to the starting point direction, the current display interface includes two width adjusting controls. The width of the first application window in the current display interface may be stretched to 2d/3 by dragging the width adjusting control between the two application windows away from the starting point direction. That is, the width of the application window close to the starting point direction is stretched to 2d/3, and a width of the second application window in the current display interface is reduced to d/3.
As shown in
In response to determining that the first control operation is to drag a width adjusting control away from the starting point direction to the starting point direction, the width of an application window away from the starting point direction is reduced to d/3. In response to determining that the (n+1)th application window exists, the (n+1)th application window is translated to the starting point direction by the width of d/3 and is displayed in the current display interface.
In the disclosure, when the number of application windows in the current display interface is 2 and an application window with a width of d/3 in the current display interface is close to the starting point direction, the current display interface includes two width adjusting controls. The width of an application window away from the starting point direction may be reduced to d/3 by dragging the width adjusting control (the width adjusting control on the second vertical edge) away from the starting point direction to the starting point direction, and then whether the (n+1)th application window exists may be determined. In response to determining that the (n+1)th application window exists, the (n+1)th application window is translated to the starting point direction by the width of d/3 and displayed in the current display interface. In response to determining that the (n+1)th application window does not exist, the filling operation is not required. In this case, the display interface includes a vacant window position with the width of d/3.
For instance, as shown in
In yet another embodiment, n=2, and the widths of the two application windows in the current display interface both are d/3. That is, in response to determining that the first control operation is to drag any one of the width adjusting controls away from the starting point direction, the width of the target application window is stretched to 2d/3.
In the disclosure, in response to determining that the number of application windows in the current display interface is 2 and the vacant window position exists in the current display interface, it is indicated that the current display interface includes two application windows each with a width of d/3 and one vacant window position with a width of d/3, and the current display interface includes two width adjusting controls. In this case, in response to determining that any one of the width adjusting controls is dragged away from the starting point direction, the width of the target application window may be adjusted to 2d/3, in this case, the sum of the width of the target application window adjusted and a width of another application window is just equal to d, and window pushing and window filling operations are not required.
As shown in
In yet another embodiment, in response to determining n=1 (that is, the current display interface includes one width adjusting control): when a width of the application window is 2d/3, if the first control operation is to drag a width adjusting control to the starting point direction, the width of the application window is adjusted to 2d/3; and when a width of the application window is d/3, if the first control operation is to drag a width adjusting control away from the starting point direction, the width of the application window is adjusted to d/3.
For instance, as shown in
Further, for instance, as shown in
In addition, in response to determining that n=3 and the widths of the n application windows each are d/3, when the first application window in the current display interface is located at a starting point of the window queue, the width adjusting control close to the starting point direction is further configured to adjust a width of the application window, away from the starting point direction, of the application windows at two ends of the width adjusting control. That is, when the first application window in the current display interface is located at the starting point of the window queue, the width adjusting control between the first application window and the second application window may be configured to adjust the width of the first application window and adjust the width of the second application window.
For instance, as shown in
In this case, the step that the window width of the current display interface is at least adjusted according to the first control operation and the window queue may further include the following steps:
For instance, as shown in
In response to determining that the number of application windows in the current display interface is 3 and the first control operation is to drag a width adjusting control close to the starting point direction to the starting point direction, the width of the second application window in the current display interface is adjusted to 2d/3, and the first application window in the current display interface is temporarily pushed out of the current display interface, such that frustration of the user can be reduced.
After the first application window in the current display interface is temporarily pushed out of the current display interface, the method may further include the following two steps:
In the disclosure, the second control operation is to drag the width adjusting control on the first vertical edge away from the starting point direction. In response to receiving the second control operation for the width adjusting control on the first vertical edge, the width of the second application window in the current display interface is adjusted to d/3, such that a window position closest to the starting point direction may be vacated. Then, the first application window temporarily pushed out of the display interface may be translated back to the vacated window position.
For instance, as shown in
In response to determining that the application window editing operation is the window adding operation, the application window layout of the current display interface may be adjusted according to the application window editing operation and the window queue as follows:
The specific embodiment of the step that the to-be-added window is added to the current display interface at least according to the existence of the vacant window position in the current display interface will be described in detail below.
In one embodiment, in response to determining that the vacant window position exists in the current display interface, a width of the to-be-added window is adjusted according to a width of the vacant window position and the width of the to-be-added window, and then the to-be-added window is added to the vacant window position.
Specifically, in response to determining that the width of the to-be-added window is smaller than or equal to that of the vacant window position, the to-be-added window is added to the vacant window position according to the original width. In response to determining that the width of the to-be-added window is greater than that of the vacant window position, the width of the to-be-added window is reduced to the width of the vacant window position, and then the to-be-added window is added to the vacant window position.
In another embodiment, n=1, the width of the application window is d/3 or 2d/3, and the width of the to-be-added window is d/3 by default. In this case, the to-be-added window may be added to the current display interface at least according to the existence of the vacant window position in the current display interface as follows:
In yet another embodiment, n=2, and the widths of the n application windows are selected to be d/3 and 2d/3. In this case, the to-be-added window may be added to the current display interface at least according to the existence of the vacant window position in the current display interface as follows:
In the disclosure, in response to determining that the current display interface includes two application windows and widths of the two application windows are d/3 and 2d/3 respectively, the width of the application window with the width of 2d/3 in the current display interface is reduced to d/3. No matter how large the to-be-added window is, the to-be-added window is added by the width of d/3 to the nth application window in the current display interface.
For instance, as shown in a left top in
Further, for instance, as shown in a left bottom in
In another embodiment, n=3, and the widths of the n application windows each are d/3. In this case, the to-be-added window may be added to the current display interface at least according to the existence of the vacant window position in the current display interface as follows: the to-be-added window is added by the width of d/3 to a position of the nth application window in the current display interface, where an original nth application window in the current display interface is pushed to a display interface subsequent to the current display interface.
In the disclosure, in response to determining that the current display interface includes three application windows and widths of the three application windows are all d/3, no vacant window position exists in the current display interface. In this case, no matter how large the to-be-added window is, the to-be-added window is added by the width of d/3 to the position of the nth application window in the current display interface, where the original nth application window in the current display interface is pushed to the display interface subsequent to the current display interface.
For instance, as shown in
In addition to adjusting the application window layout of the display interface in the in-vehicle terminal, the entire display interface may be switched. In the disclosure, interface switching may be conducted in various modes. In one embodiment, interface switching may be conducted through gestures or an interface switching control configured on the display interface in the current display interface.
Specifically, interface switching may be conducted by swiping leftward and rightward on the display interface with gestures. For instance, when the display interface is swiped leftward by a preset distance and a next interface exists, in response to detecting a release operation, the current display interface is switched to the next interface. When the display interface is swiped rightward by a preset distance and a previous interface exists, in response to detecting a release operation, the current display interface is switched to the previous interface. As shown in
In a swiping process, the display interface moves along with a hand. When a swipe distance is smaller than a size of the display interface, or no corresponding adjacent interface exists, the display interface moves along with the hand, and the current display interface is returned to after the hand is released.
When the user clicks on any position in an effective zone of the current display interface, an interface switching control (such as a page turning key 1520, 1522 as shown in
In yet another embodiment, interface switching may be conducted in an interface preview mode. The interface preview mode may be entered by clicking on a HOME key in the current display interface by user, such that the interface may be viewed and switched.
In the interface preview mode, each interface may be displayed in different arrangement modes, for instance, in a straight-line shape (as shown in
When each interface is arranged in a straight-line shape, if there are a plurality of interfaces, a paging indicator may be displayed at a bottom, and the user may preview different interfaces by sliding leftward and rightward.
In addition, when the user conducts interface switching through a non-gesture operation, gesture switching teaching may be conducted. When the user finishes the teaching procedure once, gesture switching teaching no longer appears.
For instance, when the interface preview mode is exited, if the current display interface is inconsistent with that when the interface preview mode is entered, a reverse three-finger swipe teaching may appear, which may prompt the user to return to the display interface previous to the current display interface through gestures.
Further, for instance, after the user conducts interface switching through the interface switching control, the reverse three-finger swipe teaching appears, which prompts the user to return to the display interface previous to the current display interface through gestures.
In addition, after an application is downloaded, the application may be used after passing the China Type Approval (CTA) of the Ministry of Industry and Information Technology. Thus, if an application without CTA authorization exists in the application window of the current display interface 1700, as shown in
In one possible embodiment, in response to determining that the application window editing operation is the window translating operation, the application window layout of the current display interface may be adjusted according to the application window editing operation and the window queue through a plurality of embodiments. In one embodiment, an application window position adjusting button is triggered to suspend a to-be-adjusted application window above the window queue, the to-be-adjusted application window is dragged to a to-be-adjusted position, and original application windows are sequentially arranged backwards along the window queue in a direction opposite to the starting point direction after position determination.
In another possible embodiment, a to-be-adjusted application window is dragged to an edge position of the current display interface, another display interface adjacent to the current display interface is activated, and reordering is conducted in an application window of a new display interface.
The window queue is configured for continuous adjacent arrangement of the n application windows. A status of the window queue is dynamically updated with change of the application window layout. Serial numbers of the application windows in the window queue sequentially increase in a direction opposite to a starting point direction. A serial number of the application window, closest to the starting point direction, of the n application windows is 1. The starting point direction is a direction, close to a driver side, of the in-vehicle terminal.
At least part of a zone of the window queue overlaps a display interface of the in-vehicle terminal, so as to ensure that the application windows in the window queue are displayed in the current display interface.
The technical solution according to the examples of the disclosure can have the following beneficial effects: the in-vehicle terminal adjusts, in response to receiving the application window editing operation for the current display interface, the application window layout of the current display interface according to the application window editing operation and the window queue. The window queue is configured for continuous adjacent arrangement of the n application windows in the current display interface. The status of the window queue is dynamically updated with change of the application window layout of the current display interface. The at least part of the zone of the window queue overlaps the display interface of the in-vehicle terminal, so as to ensure that the application windows in the window queue are displayed in the current display interface. In this way, self-adaptive adjustment of display content and a display window size in the display interface can be implemented according to a user operation, and a use experience of a user can be improved. In addition, one or more application windows can be displayed in the display interface of the in-vehicle terminal, such that the display interface can have more display forms, and a use ratio of the display interface and a visual experience of the user can be improved. In addition, when split-screen display is conducted in the display interface, different applications can be separately displayed in each display window, which facilitates use.
Optionally, the application window editing operation is a window removing operation.
The first adjustment module 1802 includes:
Optionally, the first translating sub-module includes:
Optionally, the third determination sub-module includes:
Optionally, the third determination sub-module includes:
Optionally, the third determination sub-module includes:
Optionally, the application window editing operation is a window removing operation.
The adjustment module 1802 includes:
Optionally, n=3, the current display interface includes n application windows, and an nth application window includes two or more different application interfaces.
Optionally, the application window editing operation is a window width adjusting operation.
The current display interface further includes width adjusting controls separately configured between every two adjacent application windows. The width adjusting control is configured to adjust a width of the application windows.
The window width adjusting operation is a first control operation for any one of the width adjusting controls.
The adjustment module 1802 includes:
Optionally, in response to determining n=3, widths of the n application windows each are d/3, where d denotes a width of the current display interface, the adjustment sub-module includes:
Optionally, in response to determining n=3, widths of the n application windows each are d/3, where d denotes a width of the current display interface, in response to determining that a first application window in the current display interface is located at a starting point of the window queue, the width adjusting control close to the starting point direction is further configured to adjust a width of the application window, away from the starting point direction, of application windows at two ends of the width adjusting control.
The adjustment sub-module further includes:
Optionally, the apparatus 1800 further includes:
Optionally, in response to determining n=2, widths of the n application windows each are d/3 or 2d/3, and the application window with the width of 2d/3 in the current display interface is close to the starting point direction, where d denotes a width of the current display interface.
The adjustment sub-module includes:
Optionally, in response to determining n=2, widths of the n application windows are d/3 and 2d/3 respectively, and the application window with the width of d/3 in the current display interface is close to the starting point direction, where d denotes a width of the current display interface.
The current display interface further includes a width adjusting control configured on a second vertical edge, away from the starting point direction, of the current display interface.
The adjustment sub-module includes:
Optionally, the adjustment sub-module further includes:
Optionally, the application window editing operation is a window adding operation;
The first adjustment module 1802 includes:
Optionally, the first adding sub-module includes:
Optionally, the second adding sub-module includes:
Optionally, a width of the application window is d/3 or 2d/3, and a width of the to-be-added window is d/3, where d denotes a width of the current display interface.
The first adding sub-module includes:
Optionally, in response to determining n=2, a width of the n application windows is selected to be d/3 or 2d/3, where d denotes a width of the current display interface.
The first adding sub-module includes:
Optionally, in response to determining n=3, widths of the n application windows each are d/3, where d denotes a width of the current display interface.
The first adding sub-module includes:
Optionally, the application window editing operation is a window translating operation.
The adjustment module 1802 includes:
Optionally, the application window editing operation is a window translating operation.
The first adjustment module 1802 includes:
For the apparatus in the above examples, a specific method for each module to execute an operation is described in detail in the examples relating to the method, which will not be described in detail here.
In addition, the disclosure provides a non-transitory computer-readable storage medium, which stores a computer program instruction. The computer program instruction implements steps of the method for displaying an application according to the disclosure when being executed collectively by one or more processors.
The disclosure further provides an in-vehicle terminal. The in-vehicle terminal includes:
The one or more processors are collectively configured to execute the executable instruction in the memory, so as to implement steps of the method for displaying an application according to the disclosure.
In addition, the disclosure further provides a vehicle. The vehicle includes the in-vehicle terminal according to the disclosure.
As shown in
With reference to
In some examples, the infotainment system 610 may include a communication system, an entertainment system, a navigation system, etc.
The perception system 620 may include several sensors configured to sense information of an environment around the vehicle 600. For instance, the perception system 620 may include a global positioning system (the global positioning system may be a GPS system, a Beidou system or another positioning system), an inertial measurement unit (IMU), a laser radar, a millimeter-wave radar, an ultrasonic radar, and a photographing apparatus.
The decision control system 630 may include a computing system, a vehicle controller, a steering system, a throttle, and a braking system.
The drive system 640 may include components that provide power for movement of the vehicle 600. In one example, the drive system 640 may include an engine, an energy source, a transmission system, and wheels. The engine may be one or a combination of an internal combustion engine, an electric motor, and an air compression engine. The engine may convert energy provided by the energy source into mechanical energy.
Some or all functions of the vehicle 600 are controlled by the computing platform 650. The computing platform 650 may include at least one processor 651 and a memory 652. The processor 651 may execute an instruction 653 stored in the memory 652.
The processor 651 may be any conventional processor, such as a central processing unit (CPU) that is commercially available. The processor may also include, for instance, a graphic process unit (GPU), a field programmable gate array (FPGA), a system on chip (SOC), an application specific integrated circuit (ASIC), or a combination of them.
The memory 652 may be implemented by any type of volatile or nonvolatile memory device or their combinations, such as a static random access memory (SRAM), an electrically erasable programmable read only memory (EEPROM), an erasable programmable read only memory (EPROM), a programmable read only memory (PROM), a read only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.
In addition to the instruction 653, the memory 652 may further store data, such as a road map, route information, a vehicle position, direction and speed, and other data. The data stored in the memory 652 may be used by the computing platform 650.
In the example of the disclosure, the processor 651 may execute the instruction 653, so as to complete all or some steps of the above method for displaying an application.
Those skilled in the art could easily conceive of other implementation solutions of the disclosure upon consideration of the description and practice of the disclosure. The disclosure is intended to cover any variations, uses or adaptive changes of the disclosure, which follow the general principles of the disclosure and include common general knowledge or conventional technical means not disclosed in the art. The description and the examples are regarded as merely illustrative, and the true scope and spirit of the disclosure are indicated by the following claims.
It is to be understood that the disclosure is not limited to a precise structure described above and illustrated in the accompanying drawings, and can have various modifications and changes without departing from the scope. The scope of the disclosure is limited merely by the appended claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 202311840426.3 | Dec 2023 | CN | national |