Detailed Description
In the following description, numerous technical details are set forth in order to provide a better understanding of the present application. However, it will be understood by those skilled in the art that the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The first embodiment of the invention relates to a method for displaying multiple application windows on a mobile terminal. Fig. 3 is a flowchart illustrating a method for displaying multiple application windows on the mobile terminal.
Specifically, the method for displaying multiple application windows on a mobile terminal includes a dynamically running foreground application window currently displayed in a screen scope and a background application window not displayed in the screen scope, where there are at least two foreground application windows, as shown in fig. 3, and the method includes the following steps:
step 101, detecting operation information of a screen received by a mobile terminal.
Step 102, when the setting operation information is detected, correspondingly changing the positions and/or sizes of the foreground application window and the background application window according to the setting operation information so as to adjust the application window displayed in the screen.
It can be understood that the background application window which is not displayed in the screen scope is logically equivalent to the region displayed outside the screen, and the background application window which is logically displayed in the region outside the screen can be adjusted to the foreground application window which is currently displayed on the screen through operation.
Furthermore, it is understood that in other embodiments of the present invention, the operation may be implemented by voice control, and is not limited to the operation implemented by a specific gesture on the screen.
Furthermore, it can be understood that after the sliding operation triggers the application window currently displayed on the screen to scroll, if the application window newly displayed in the screen is not loaded, the application window needs to be loaded. Of course, the application window may be loaded before the sliding operation, but the priority of the sliding operation is higher than that of the loading, if the sliding operation is triggered during the loading of the application window, the sliding operation is preferentially executed, and the unfinished loading is continuously executed after the sliding operation is finished.
In the embodiment, the plurality of application windows are simultaneously displayed on the screen, and the change of the positions and/or sizes of the foreground application window and the background application window of the screen is triggered by operation, so that a user can conveniently and quickly acquire the required application window in the screen.
The second embodiment of the invention relates to a method for displaying multiple application windows on a mobile terminal, which is improved on the basis of the first embodiment and mainly comprises the following steps: simultaneously displaying a plurality of application windows on a screen by defining a display area parameter of each application window; setting the operation information as operation information for controlling the position change of the application windows, adjusting the display area parameters of each application window according to the operation information, and accurately moving the application windows according to the adjusted display area parameters; when the amplitude of the sliding operation is larger than the threshold value, the application window with the highest priority level can be directly displayed, the tedious operation and waiting time for searching a specific application window by a user are avoided, and the user experience is improved. Specifically, the method comprises the following steps:
preferably, the operation is realized by adjusting the position of the application window through a display area parameter, and each application window comprises a display area parameter for defining the display area range of the application window in the screen;
preferably, in step 102, the operation information is set as the operation information for controlling the change of the position of the application window, and the step includes the following sub-steps:
determining the moving direction and amplitude of each application window according to the operation information for controlling the position change of the application windows, and adjusting the display area parameters of each application window according to the moving direction and amplitude;
moving the foreground application window according to the adjusted display area parameters, wherein the moving comprises: and moving at least one foreground application window out of the screen range, and/or moving at least one background application window which is not displayed in the screen range into the screen range.
Preferably, the operation for controlling the change of the position of the application window includes:
sliding along the first direction to the second direction of the screen; or
Clicking once or pressing for a long time in the first direction of the screen; or
Multi-finger operation on the screen.
Preferably, the display area parameter is coordinate values of a Top Left corner vertex and a Bottom Right corner vertex when the application window is displayed, namely (Top, Left) and (Bottom, Right). In addition, it is understood that in other embodiments of the present invention, the display area parameter may be in other forms as long as the display area of the application window can be defined.
Further, the display of each application window is adjusted in accordance with both the direction and the magnitude of the sliding operation, and therefore will be explained from both aspects below.
First, it is preferable that the plurality of application windows are arranged vertically in sequence on the screen.
When the detected operation direction in the setting operation information is the direction from the upper bottom edge of the screen to the lower bottom edge of the screen, a new application window appears at the topmost end of the screen, and the application window at the bottommost end of the screen moves out of the screen;
when the detected direction of the operation in the setting operation information is the direction from the lower edge of the screen to the upper edge of the screen, a new application window appears at the bottommost end of the screen, and the application window at the topmost end of the screen moves out of the screen.
In actual operation, the direction of operation cannot be the standard direction from the upper bottom side of the screen to the lower bottom side of the screen, and therefore, a deviation angle is preset for the direction of operation, and when the deviation angle of operation is within the preset range, the operation is considered to be valid.
Furthermore, it will be appreciated that multiple application windows may also be arranged laterally across the screen; when the detected deviation angle between the direction of the operation and the angle parallel to the bottom edge of the screen from right to left is not larger than a preset range, a new application window appears at the rightmost end of the screen, and the application window at the leftmost end of the screen moves out of the screen; and when the detected deviation angle between the operation direction and the angle parallel to the bottom edge of the screen from left to right is not more than the preset range, a new application window appears at the leftmost end of the screen, and the application window at the rightmost end of the screen moves out of the screen.
Further, it is preferable that when the magnitude of the detected slide operation is larger than a magnitude threshold value, the application window with the highest priority level is directly displayed. The setting mainly considers that various applications are very various, a user often spends more time finding a needed application window in a longer application window list, and if the sliding operation amplitude of the user is larger, the window moving speed is higher, so that the user is not favorable for finding a desired application window. Therefore, the user can preset some application windows with high priority, when the amplitude of the sliding operation is larger than the threshold value, the application window with the highest priority can be directly displayed, the tedious operation and waiting time for searching for a specific application window by the user are avoided, and the user experience is improved.
In addition, it is understood that in other embodiments, the speed of the sliding operation may be detected, and when the sliding speed is greater than the speed threshold, the application window with the highest priority level preset by the user is directly displayed.
As a preferred example of the present embodiment, the technical solution of the present application will be explained by taking the display of multiple application windows in an automobile center control screen as an example.
Fig. 4 is a schematic diagram showing a card type multi-window display in the car central control screen, and fig. 5 is a schematic diagram showing a card type multi-window display after the car central control screen is adjusted by a sliding operation.
As shown in fig. 4, a plurality of car applications are dynamically run in a card-type multi-window manner, wherein besides a plurality of application windows (application cards 3 to 8 in the figure) displayed in the foreground, i.e. the height range of the center control screen, other applications (application cards 1,2,9, and 10 in the figure) not displayed in the center control screen run in the background, which is logically equal to the area displayed outside the center control screen, the driver can slide each application window by voice or specific gestures to adjust the position relationship between the foreground and background application windows, and the card-type multi-window display adjusted by the sliding operation is schematically shown in fig. 5, wherein the application cards 1 to 6 are adjusted to the content currently displayed on the screen.
The third embodiment of the present invention relates to a method for displaying multiple application windows on a mobile terminal, and the third embodiment is an alternative to the second embodiment, and is improved on the basis of the first embodiment, and the main improvement is that:
simultaneously displaying a plurality of application windows on a screen by defining a display area parameter of each application window; setting the operation information as operation information for controlling the size change of the application window, determining the application window needing to be changed in size according to the operation information, adjusting the display area parameter of the application window and changing the size of the application window according to the adjusted display area parameter. Specifically, the method comprises the following steps:
preferably, the operation is realized by adjusting the position of the application window through a display area parameter, and each application window comprises a display area parameter for defining the display area range of the application window in the screen;
preferably, in step 102, the operation information is set as the operation information for controlling the size change of the application window, and the step includes the following sub-steps:
determining an application window needing to be changed in size according to operation information for controlling the change of the size of the application window, adjusting display area parameters of the application window, and changing the size of the application window according to the adjusted display area parameters, wherein the application window needing to be changed in size comprises a foreground application window and/or a background application window which is not displayed in a screen range currently.
Preferably, the operation for controlling application window size change comprises:
an operation in which the application window is selected, wherein the selecting the application window comprises: clicking the application window, or selecting the application window through voice input; or
And the application corresponding to the application window receives the new event.
As a preferred example, when the operation for controlling the size change of the application window is that the application receives a new time, that is, when it is detected that a message is generated by a specific application window, the display area parameter of the application window in the screen is adjusted so that the specific application window occupies the entire screen.
When the operation for controlling the size change of the application window is that the application corresponding to the application window receives a new event, as shown in fig. 6, the information is displayed on the full screen of the specific application window.
In the driving process of the automobile, when a certain application has specific information to inform a driver, the corresponding application card window can move to the central control screen area and automatically magnify to be a full screen, as shown in fig. 6, so that the driver can easily obtain the related information.
Further, it is to be appreciated that the particular application window from which the message originated can be either a foreground application window or a background application window. When the specific application window is a background application window, the specific application window scrolls to the screen and is zoomed in to a full screen. When the specific application window is a foreground application window, the specific application window is directly zoomed in to be a full screen.
Further, it is preferable that in the step of "determining an application window that needs to be resized according to operation information for controlling a size change of the application window, adjusting a display region parameter of the application window, and changing the size of the application window according to the adjusted display region parameter", the sub-step of:
when operation information for controlling the size change of the application window is detected, storing the currently displayed application window and the display area parameters thereof;
when the operation information for controlling the size change of the application window is timed out or closed, the previous display is resumed according to the stored application window and the display region parameters thereof.
The fourth embodiment of the present invention relates to a method for displaying multiple application windows on a mobile terminal, and the fourth embodiment is an improvement on the second and third embodiments, and the main improvement is that:
one application window corresponds to one StackBox child node, the number of the StackBox child nodes is expanded, and the StackBox child nodes are organized into a tree structure; the tree structure is multilayer, the StackBox child nodes further comprise child nodes, and the display area of the application window corresponding to the StackBox child node can be divided into a plurality of application windows. Specifically, the method comprises the following steps:
each application window corresponds to a data node in the data structure, and the data node is used for storing and updating display area parameters of the application windows;
in the second and third embodiments, the step of adjusting the display region parameter of the application window includes the following sub-steps:
when the setting operation information is detected, calculating display area parameters of each application window corresponding to the setting operation information;
transmitting the display area parameters of each application window obtained by calculation to the corresponding data node;
and displaying each application window according to the display area parameters in the corresponding data node.
Preferably, the data structure is a tree structure, one application window corresponds to one StackBox child node in the tree structure, and the mkouns member of each StackBox child node defines the display area parameter of each application window.
It is understood that in other embodiments of the present invention, the data structure may also be in other forms, and is not limited to a tree structure, such as a data linked list, etc., as long as one application window corresponding to one StackBox can be implemented to complete data interaction between operations and the application window.
Preferably, the tree structure is a multi-layer structure, and the StackBox child node further includes a child node for dividing the display area of the application window corresponding to the StackBox child node into a plurality of application windows.
As a preferred example of the embodiment, specifically, in implementation, the StackBox core data structure is modified and expanded according to the requirement of the card-mounted multi-window display, as shown in fig. 7, which is a schematic diagram of a StackBox tree structure and a card-mounted multi-application window, the number of stackboxes is expanded and they are organized into a tree structure with multiple children, and the mkouns of each leaf node StackBox defines (Top, Left) (Bottom, Right) of one application window on the screen, thereby implementing the card-mounted multi-window display.
As a preferred example, when the operation for controlling the position change of the application window is a sliding operation, fig. 8 is a schematic diagram illustrating the sliding operation event adjusting StackBox leaf nodes and the card-type multi-application window, and when the driver slides on the central control screen, YunOS adjusts the mkends of each leaf node in the StackBox tree structure according to the sliding range in response to the sliding event, so as to adjust the display area of each application window, thereby implementing the sliding adjustment of the card-type multi-application window.
As a preferred example, when the operation for controlling the application window size change is that a specific application receives a new event, as shown in fig. 9, when the specific application generates a message, YunOS adjusts mkends of the StackBox where the application is located, and adjusts it to occupy the position and size of the full screen, thereby achieving the purpose that the application is enlarged to facilitate the driver to obtain relevant information, and after the message is over, the application is restored to the original size before the full screen.
As a preferred example of the present embodiment, fig. 10 is a schematic view showing an overall flow of a card-type multi-window display method for an automobile application.
In step 1001, the vehicle intelligence system is started;
in step 1002, the automobile applies a card-like multi-window display;
in step 1003, detecting whether the driver slides the multi-window, if so, entering step 1004;
in step 1004, scrolling and adjusting foreground/background position of the multi-window application in the center control;
in step 1005, determining whether an even specific application message is generated, if yes, entering step 1006;
in step 1006, scroll the application-specific window to the foreground and zoom in to full screen, after which step 1007 is entered;
in step 1007; and judging whether the time is out or whether the driver controls the window to be zoomed, and if the judgment result is yes, entering the step 1002.
Of course, in practical applications, the order of application window scrolling caused by the sliding operation and full screen zooming caused by a specific message is not limited, but is called according to actual needs.
In the future, the intelligent automobile will go the way, and various applications will appear in the intelligent automobile system, run and be displayed on the central control screen. How to simultaneously run and display the applications in a limited central control screen space, conveniently switch application windows and enlarge/reduce a specific application window so that a driver can conveniently and quickly acquire information in a central control display area is a technical problem to be solved by combining a specific application scene of an automobile.
The defects of the prior launch display window of the YunOS application are that the screen is monopolized by a single application, the scroll display of a plurality of application windows cannot be realized, and the specific application window is enlarged and reduced. The invention aims to conveniently display and scroll multiple application windows and enlarge or reduce specific applications in a vehicle-mounted specific application scene.
The method embodiments of the present invention may be implemented in software, hardware, firmware, etc. Whether the present invention is implemented as software, hardware, or firmware, the instruction code may be stored in any type of computer-accessible memory (e.g., permanent or modifiable, volatile or non-volatile, solid or non-solid, fixed or removable media, etc.). Also, the Memory may be, for example, Programmable Array Logic (PAL), Random Access Memory (RAM), Programmable Read Only Memory (PROM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic disk, an optical disk, a Digital Versatile Disk (DVD), or the like.
A fifth embodiment of the present invention relates to a display system of multiple application windows on a mobile terminal, and fig. 11 is a schematic structural diagram of the display system of multiple application windows on the mobile terminal.
Specifically, the display system of multiple application windows on the mobile terminal includes a dynamically running foreground application window currently displayed in the screen scope and a background application window not displayed in the screen scope, where there are at least two foreground application windows, as shown in fig. 11, and the system includes:
the detection module is used for detecting the operation information of the screen received by the mobile terminal;
and the application window moving module is used for correspondingly changing the positions and/or sizes of the foreground application window and the background application window according to the set operation information when the set operation information is detected so as to adjust the application window displayed in the screen.
In the embodiment, the plurality of application windows are simultaneously displayed on the screen, and the change of the positions and/or sizes of the foreground application window and the background application window of the screen is triggered by operation, so that a user can conveniently and quickly acquire the required application window in the screen.
The first embodiment is a method embodiment corresponding to the present embodiment, and the present embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
The sixth embodiment of the present invention relates to a display system of multiple application windows on a mobile terminal, and is an improvement on the fifth embodiment, and the main improvements are as follows: simultaneously displaying a plurality of application windows on a screen by defining a display area parameter of each application window; setting the operation information as operation information for controlling the position change of the application windows, adjusting the display area parameters of each application window according to the operation information, and accurately moving the application windows according to the adjusted display area parameters; when the amplitude of the sliding operation is larger than the threshold value, the application window with the highest priority level can be directly displayed, the tedious operation and waiting time for searching a specific application window by a user are avoided, and the user experience is improved. Specifically, the method comprises the following steps:
preferably, each application window includes a display area parameter for defining the range of the display area of the application window in the screen.
Preferably, the operation information is set as operation information for controlling the change of the position of the application window, and the application window moving module comprises the following sub-modules:
the first display area parameter adjusting submodule is used for determining the moving direction and amplitude of each application window according to the operation information for controlling the position change of the application windows and adjusting the display area parameters of each application window according to the moving direction and amplitude;
the mobile submodule is used for moving the foreground application window according to the adjusted display area parameters, wherein the movement comprises the following steps: and moving at least one foreground application window out of the screen range, and/or moving at least one background application window which is not displayed in the screen range into the screen range.
Preferably, the display area parameter is a coordinate value of a vertex at the top left corner and a vertex at the bottom right corner when the application window is displayed. In addition, it is understood that in other embodiments of the present invention, the display area parameter may be in other forms as long as the display area of the application window can be defined.
The second embodiment is a method embodiment corresponding to the present embodiment, and the present embodiment can be implemented in cooperation with the second embodiment. The related technical details mentioned in the second embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the second embodiment.
The seventh embodiment of the present invention relates to a display system of multiple application windows on a mobile terminal, and is an improvement of the fifth embodiment, and the main improvements are as follows: the specific application window can be automatically enlarged or reduced according to the requirements of the user, so that the function of enlarging the relevant information required to be acquired by the user is realized. Specifically, the method comprises the following steps:
simultaneously displaying a plurality of application windows on a screen by defining a display area parameter of each application window; setting the operation information as operation information for controlling the size change of the application window, determining the application window needing to be changed in size according to the operation information, adjusting the display area parameter of the application window and changing the size of the application window according to the adjusted display area parameter. Specifically, the method comprises the following steps:
preferably, each application window determines the display area of the application window in the screen according to the respective display area parameters;
preferably, in the application window display adjustment module, the operation information is set as operation information for controlling the size change of the application window, and the module includes the following sub-modules:
the second display area parameter adjusting submodule is used for determining an application window needing to be changed in size according to the operation information for controlling the change of the size of the application window and adjusting the display area parameters of the application window;
and the scaling submodule is used for changing the size of the application window according to the adjusted display area parameters, wherein the application window needing to be changed in size comprises a foreground application window and/or a background application window which is not displayed in the screen range currently.
Preferably, in the application window display adjustment module, the following sub-modules are further included:
the display storage submodule is used for storing the currently displayed application window and the display area parameters thereof when the operation information for controlling the size change of the application window is detected;
a display recovery submodule for recovering the previous display according to the content stored in the display storage submodule when the operation information for controlling the change of the size of the application window is overtime or closed
The third embodiment is a method embodiment corresponding to the present embodiment, and the present embodiment can be implemented in cooperation with the third embodiment. The related technical details mentioned in the third embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the third embodiment.
The eighth embodiment of the present invention relates to a method for displaying multiple application windows on a mobile terminal, and the eighth embodiment is an improvement on the sixth and seventh embodiments, and the main improvement is that:
one application window corresponds to one StackBox child node, the number of the StackBox child nodes is expanded, and the StackBox child nodes are organized into a tree structure; the tree structure is multilayer, the StackBox child nodes further comprise child nodes, and the display area of the application window corresponding to the StackBox child node can be divided into a plurality of application windows. Specifically, the method comprises the following steps:
each application window corresponds to a data node in the data structure, and the data node is used for storing and updating display area parameters of the application windows;
in the application window display adjustment module in the sixth and seventh embodiments, the following sub-modules are included:
the display area parameter calculation submodule is used for calculating the display area parameters of each application window corresponding to the set operation information when the set operation information is detected;
the parameter transmission submodule is used for transmitting the display area parameters of each application window, which are calculated by the display area parameter calculation submodule, to the corresponding data nodes;
and the display sub-module displays each application window according to the display area parameters in the corresponding data node.
Preferably, the data structure is a tree structure, one application window corresponds to one StackBox child node in the tree structure, and the mkouns member of each StackBox child node defines the display area parameter of each application window.
Preferably, the tree structure is a multi-layer structure, and the StackBox child node further includes a child node, and the child node is configured to divide the display area of the application window corresponding to the StackBox child node into a plurality of application windows.
The fourth embodiment is a method embodiment corresponding to the present embodiment, and the present embodiment and the fourth embodiment can be implemented in cooperation with each other. The related technical details mentioned in the fourth embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the fourth embodiment.
It should be noted that, in each device embodiment of the present invention, each module is a logic module, and physically, one logic module may be one physical module, or may be a part of one physical module, or may be implemented by a combination of multiple physical modules, and the physical implementation manner of the logic modules itself is not the most important, and the combination of the functions implemented by the logic modules is the key to solve the technical problem provided by the present invention. Furthermore, in order to highlight the innovative part of the present invention, the above-mentioned embodiments of the device of the present invention do not introduce modules which are not so closely related to solve the technical problems proposed by the present invention, which does not indicate that there are no other modules in the above-mentioned embodiments of the device.
It is to be noted that in the claims and the description of the present patent, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the use of the verb "comprise a" to define an element does not exclude the presence of another, same element in a process, method, article, or apparatus that comprises the element.
While the invention has been shown and described with reference to certain preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention.