Desktop window control method, device, electronic device and storage medium

By adjusting the size and priority of the desktop window, the problem of users taking a long time to find a response window after inputting operation instructions is solved, achieving fast response and efficient window management.

CN114896019BActive Publication Date: 2024-09-03SHANGHAI JIACHE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210617408.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-01
Publication Date
2024-09-03
Estimated Expiration
2042-06-01

AI Technical Summary

Technical Problem

In the existing technology, the desktop window has a single form, and the user needs to spend a long time looking for a responding window after inputting an operation instruction to determine whether the input operation instruction is correctly responded to.

Method used

After receiving the operation instruction, the size of the target window is changed, and the window change instruction is generated, including the height and width change parameters. The window size is adjusted and adjusted according to the priority and animation parameters. Other windows are hidden or displayed so that the user can quickly know the operation instruction. response.

Benefits of technology

Users can quickly determine whether operating instructions have been responded to correctly, improving operating efficiency, and restoring the default window size to display more application windows after closing the application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114896019B
    Figure CN114896019B
Patent Text Reader

Abstract

The present application provides a desktop window control method, device, electronic device and storage medium, the method comprising: receiving a first operation instruction for a first target window; the first target window is a window displayed on a display screen; the display screen displays windows corresponding to multiple applications in a default state; generating a first window change instruction according to the first operation instruction; adjusting the first target window according to the first height change parameter and the first width change parameter in the first window change instruction to obtain the adjusted first target window; receiving first application data sent by an application server corresponding to the adjusted first target window, and displaying the first application data in the adjusted first target window. In the present application, when the desktop system receives the first operation instruction, it changes the size of the first target window and receives the data sent by the application server, thereby saving memory and traffic data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a desktop window control method, device, electronic device and storage medium. Background Art

[0002] In order to facilitate users to view the relevant information of installed applications (Application, APP), you can set up windows of various APPs on the desktop, such as: weather forecast APP window, calendar APP window, express reminder window, shopping APP window, etc. The window displays relevant information of the APP, such as: reminder messages, push messages, etc. of the APP. Through the APP window, users can get the latest information without opening the APP, which brings great convenience to users.

[0003] Currently, desktop windows are of a single form. After a user inputs an operation instruction on the desktop, it takes a long time to find a corresponding window to determine whether the input operation instruction is correctly responded to. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a desktop window control method, device, electronic device and storage medium, so that a user can quickly know whether an operation instruction is responded to correctly.

[0005] In a first aspect, an embodiment of the present application provides a desktop window control method, comprising: receiving a first operation instruction for a first target window; the first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to multiple applications in a default state; generating a first window change instruction according to the first operation instruction, the first window change instruction including a first height change parameter and a first width change parameter of the first target window; adjusting the first target window according to the first height change parameter and the first width change parameter to obtain an adjusted first target window.

[0006] In the embodiment of the present application, after the desktop system receives the first operation instruction, the size of the first target window is changed, so that the user can quickly know whether the first operation instruction is responded to correctly.

[0007] In any embodiment, generating a first window change instruction according to the first operation instruction includes: acquiring a first priority of the first target window according to the first operation instruction; and generating the first window change instruction according to the first priority.

[0008] In the embodiment of the present application, the size change of the first target window is determined according to the first priority, so that the size change of the changed first target window is more reasonable.

[0009] In any embodiment, after adjusting the first target window according to the first height change parameter and the first width change parameter, the method further includes: obtaining other windows blocked by the adjusted first target window according to the position of the adjusted first target window in the display screen; hiding the other windows, or setting the adjusted first target window on top of the other windows.

[0010] In the embodiment of the present application, other windows blocked by the first target window are hidden or placed under the first target window, so that the changed first target window can be displayed normally on the desktop.

[0011] In any embodiment, the method further includes: receiving a close instruction to close the application corresponding to the adjusted first target window; adjusting the size of the adjusted first target window to a default size according to the close instruction, and displaying the other windows.

[0012] In the embodiment of the present application, after the application corresponding to the first target window is closed, the size of the first target window is restored to the default size, and other windows are displayed, so that more application windows can be displayed in the default state.

[0013] In any embodiment, after obtaining the adjusted first target window, the method further includes: receiving first application data sent by an application server corresponding to the adjusted first target window, and displaying the first application data in the adjusted first target window.

[0014] In the embodiment of the present application, the adjusted first target window is communicatively connected to the application server, so that the adjusted first target window can display the data sent by the application server in real time.

[0015] In any embodiment, after adjusting the first target window according to the first height change parameter and the first width change parameter, the method also includes: receiving a second operation instruction for a second target window on the display screen; if the application of the adjusted first target window is in a running state, generating a second window change instruction according to the second operation instruction, the second window change instruction including a second height change parameter and a second width change parameter corresponding to the second target window, and a third height change parameter and a third width change parameter corresponding to the adjusted first target window; adjusting the adjusted first target window and the second target window according to the second window change instruction; receiving second application data sent by the application server corresponding to the adjusted second target window, and displaying the second application data in the adjusted second target window.

[0016] In the embodiment of the present application, when another application is started, the sizes of the first target window and the second target window can be adjusted so that the two applications can be displayed on the desktop at the same time.

[0017] In any embodiment, the first window change instruction also includes animation parameters; the adjusting the first target window according to the first height change parameter and the first width change parameter includes: adjusting the first target window according to the first height change parameter, the first width change parameter and the animation parameter. In the embodiment of the present application, the first target window is resized according to a preset style.

[0018] In a second aspect, an embodiment of the present application provides a desktop window control device, comprising: an instruction receiving module, used to receive a first operation instruction for a first target window; the first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to multiple applications in a default state; an instruction generating module, used to generate a first window change instruction according to the first operation instruction, the first window change instruction including a first height change parameter and a first width change parameter of the first target window; a window adjustment module, used to adjust the first target window according to the first height change parameter and the first width change parameter to obtain an adjusted first target window; a data receiving module, used to receive first application data sent by an application server corresponding to the adjusted first target window, and display the first application data in the adjusted first target window.

[0019] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory and a bus, wherein the processor and the memory communicate with each other through the bus; the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the method of the first aspect.

[0020] In a fourth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, comprising: the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the method of the first aspect.

[0021] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 A schematic diagram of a desktop window control method provided in an embodiment of the present application;

[0024] Figure 2 A schematic diagram of a desktop window provided in an embodiment of the present application;

[0025] Figure 3 Another screen display schematic diagram provided for an embodiment of the present application;

[0026] Figure 4 A flowchart of another desktop window control method is provided for an embodiment of the present application;

[0027] Figure 5 A schematic diagram of a desktop window provided in an embodiment of the present application;

[0028] Figure 6 A schematic diagram of the structure of a desktop window control device provided in an embodiment of the present application;

[0029] Figure 7 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.

[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0032] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.

[0033] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0034] In the description of the embodiments of the present application, the term "and / or" 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 character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0035] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0036] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.

[0037] In the description of the embodiments of the present application, unless otherwise clearly specified and limited, technical terms such as "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present application can be understood according to the specific circumstances.

[0038] Since the desktop window in the prior art has a single form, after the user inputs an operation instruction, the window size remains fixed, but the content in the window changes, so that the user needs to spend a long time to check whether the window responds to the user's operation instruction. In order to solve this technical problem, the embodiment of the present application provides a desktop window control method. When the user inputs an operation instruction, the desktop system will immediately change the size of the window corresponding to the operation instruction, that is, the corresponding window will be enlarged, so that the user can quickly locate the responding window.

[0039] It is understandable that the desktop described in the embodiment of the present application is applicable to the window on the desktop of the mobile terminal, and is also applicable to the window on the desktop of the vehicle terminal, etc., and the embodiment of the present application does not specifically limit this. For the convenience of description, the embodiment of the present application is described with the vehicle terminal as the execution subject, and a desktop operating system is running in the vehicle terminal. It is understandable that the desktop operating system can provide an interactive window for the vehicle terminal, and the user can realize the corresponding function by triggering the control on the desktop operating system.

[0040] Figure 1 A flowchart of a desktop window control method provided by an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes:

[0041] Step 101: receiving a first operation instruction for a first target window; the first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to a plurality of application programs respectively in a default state. Figure 2 A desktop window diagram provided in an embodiment of the present application, such as Figure 2 As shown, it includes a weather forecast APP window, a today's focus APP window, a courier APP window, a popular application window, a calendar APP window, etc. The first target window is one of the multiple windows displayed on the display screen of the vehicle terminal. The first operation instruction can be an instruction generated by the vehicle terminal after the user clicks the first target window on the display screen, or it can be an instruction entered by the user in the first target window through the display screen.

[0042] Step 102: Generate a first window change instruction according to the first operation instruction, where the first window change instruction includes a first height change parameter and a first width change parameter of the first target window.

[0043] In actual applications, although the user clicks on the first target window, there are situations where the vehicle terminal cannot correctly respond to the first target window, for example: the force of the user's click is too small, the user triggers the wrong position, etc. Therefore, in order to enable the user to quickly know whether the first operation instruction is correctly responded to, after the vehicle terminal receives the first operation instruction, a first window change instruction is generated according to the first operation instruction. The first window change instruction is used to control the size of the first target window to change. Therefore, the first window change instruction includes a first height change parameter and a first width change parameter of the first target window. Among them, the first height change parameter is used to characterize the height of the first target window after adjustment, and the first width change parameter is used to characterize the width of the first target window after adjustment.

[0044] Step 103: adjusting the first target window according to the first height variation parameter and the first width variation parameter to obtain an adjusted first target window.

[0045] If the default size of the first target window is 180*180 pixels, and the first height change parameter and the first width change parameter are 360*360 pixels, the size of the adjusted first target window is larger than the default size of the first target window in the initial state, and the user can quickly know that the first target window is responded to. It should be noted that the first height change parameter may be equal to or different from the first width change parameter, and the size of the first target window is adjusted according to specific settings.

[0046] In the embodiment of the present application, after the desktop system receives the first operation instruction, the size of the first target window is changed, so that the user can quickly know whether the first operation instruction is responded to correctly.

[0047] Based on the above embodiment, the first window change instruction further includes animation parameters; adjusting the first target window according to the first height change parameter and the first width change parameter includes:

[0048] The first target window is adjusted according to the first height change parameter, the first width change parameter and the animation parameter.

[0049] The animation parameters are used to characterize the change mode of the first target window in the process of changing to the adjusted first target window, for example, it can be fading, translation, rotation, etc. Taking translation as an example, the animation parameters also include the translation angle and the translation length. Assume that the animation parameters are based on the lower left corner of the first target window, translate 50 pixels to the right, and then adjust the first target window according to the first height change parameter and the first width change parameter. Of course, it is also possible to adjust the first target window according to the first height change parameter and the first width change parameter, and then translate 50 pixels to the right.

[0050] On the basis of the above embodiment, generating a first window change instruction according to the first operation instruction includes:

[0051] Acquire a first priority of a first target window according to a first operation instruction;

[0052] A first window change instruction is generated according to the first priority.

[0053] In a specific implementation process, the first priority can be used to characterize the importance of the corresponding first target window to the user. The higher the first priority, the more important the first target window is to the user, and the size of the first target window needs to be set to the maximum window. Therefore, the size that the first target window should be adjusted can be determined by the first priority. The window size can be divided into large, medium and small, and the priority also corresponds to low, medium and high accordingly. If the first priority is low, the size of the adjusted first target window is small; if the first priority is medium, the size of the adjusted first target window is medium; if the first priority is high, the size of the adjusted first target window is large. It can be understood that the window sizes of different sizes can be pre-set to occupy the number of pixels in the screen, for example: a large-sized window occupies 720*720 pixels of the display screen, a medium-sized window occupies 360*360 pixels of the display screen, and a small-sized window occupies 180*180 pixels of the display screen. The above window size is only an example, and can be set according to actual conditions. The embodiment of the present application does not specifically limit this.

[0054] In the embodiment of the present application, the size change of the first target window is determined according to the first priority, so that the size change of the changed first target window is more reasonable.

[0055] Based on the above embodiment, after adjusting the first target window according to the first height variation parameter and the first width variation parameter, the method further includes:

[0056] According to the adjusted position of the first target window in the display screen, acquiring other windows blocked by the adjusted first target window;

[0057] Hide other windows, or set the adjusted first target window on top of other windows.

[0058] In a specific implementation process, after the first target window is triggered from the initial state, generally, the size of the adjusted first target window is larger than the size of the initial state, and it will block other windows on the display screen. Figure 3 Another screen display schematic diagram provided in the embodiment of the present application is as follows: Figure 3As shown, 15 windows are displayed in the display screen 301, among which window 7 is the first target window selected by the user. After the first target window is adjusted, it is determined that it will block windows 2-4, windows 8-9, and windows 12-14 according to the position of the adjusted first target window in the display screen. Therefore, the blocked windows (also called other windows) can be set to be hidden, for example: each window has a display attribute, when the display attribute is displayed, the window is displayed on the display screen; when the display attribute is hidden, the window will not be displayed on the display screen. Alternatively, the adjusted first target window is set on the upper layer of the blocked window, so that the adjusted first target window can be completely displayed on the display screen.

[0059] Based on the above embodiment, the method further includes:

[0060] receiving a closing instruction for closing the application corresponding to the adjusted first target window;

[0061] The size of the adjusted first target window is adjusted to a default size according to the close instruction, and other windows are displayed.

[0062] In a specific implementation process, when the user no longer needs to run the application corresponding to the first target window, in order to reduce traffic data consumption, the vehicle terminal can be operated so that the vehicle terminal generates a closing instruction for the application corresponding to the adjusted first target window, wherein the closing instruction includes an identifier corresponding to the adjusted first target window. The vehicle terminal adjusts the size of the adjusted first target window to the default size according to the identifier in the closing instruction. If other windows are blocked when the first target window is adjusted to the adjusted first target window, other blocked windows can be restored to display after the size of the adjusted first target window is adjusted to the default size.

[0063] In the embodiment of the present application, after the application corresponding to the first target window is closed, the size of the first target window is restored to the default size, and other windows are displayed, so that more application windows can be displayed in the default state.

[0064] Based on the above embodiment, after obtaining the adjusted first target window, the method further includes:

[0065] The first application data sent by the application server corresponding to the adjusted first target window is received, and the first application data is displayed in the adjusted first target window.

[0066] In the specific implementation process, since the first target window is in a default state, it maintains low-power communication with the corresponding application, that is, it only monitors whether the application is turned on or off. After obtaining the adjusted first target window, the vehicle terminal sends a data request instruction to the corresponding application to connect the adjusted first target window with the corresponding application server, that is, the adjusted first target window is bound to the corresponding application server, and the application server sends the first application data to the vehicle terminal, and renders the first application data on the adjusted first target window.

[0067] It should be noted that the vehicle terminal can communicate with the application server using the aidl interface, and after obtaining the adjusted first target window, the TextureView technology is used to provide a virtual display area, which is the area in the adjusted first target window used to display the first application data.

[0068] In the embodiment of the present application, the adjusted first target window is communicatively connected to the application server, so that the adjusted first target window can display the data sent by the application server in real time.

[0069] Based on the above embodiment, after adjusting the first target window according to the first height variation parameter and the first width variation parameter, the method further includes:

[0070] receiving a second operation instruction for a second target window on the display screen;

[0071] If the application of the adjusted first target window is in a running state, a second window change instruction is generated according to the second operation instruction, the second window change instruction including a second height change parameter and a second width change parameter corresponding to the second target window, and a third height change parameter and a third width change parameter corresponding to the adjusted first target window;

[0072] Adjusting the adjusted first target window and second target window according to the second window change instruction;

[0073] The second application data sent by the application server corresponding to the adjusted second target window is received, and the second application data is displayed in the adjusted second target window.

[0074] In the specific implementation process, the second target window is also a window displayed on the display screen, and the second target window is different from the first target window. While the application in the first target window is in operation, if the user wants to open another application, the corresponding second target window can be triggered to cause the vehicle terminal to generate a second operation instruction.

[0075] After obtaining the second operation instruction, the vehicle terminal generates a second window change instruction according to the second operation instruction, and the second window change instruction includes a second height change parameter and a second width change parameter corresponding to the second target window, and a third height change parameter and a third width change parameter corresponding to the adjusted first target window. Among them, the second height change parameter is used to characterize the height of the second target window after adjustment, and the second width change parameter is used to characterize the width of the second target window after adjustment. The third height change parameter is used to characterize the height of the adjusted first target window after it is adjusted again, and the third width change parameter is used to characterize the width of the adjusted first target window after it is adjusted again.

[0076] The vehicle terminal can adjust the adjusted first target window and the second target window according to the second window change instruction. It should be noted that if the third height change parameter is equal to the first height change parameter, and the third width change parameter is equal to the first width change parameter, the size of the adjusted first target window will not change.

[0077] After obtaining the adjusted second target window, a communication connection is established with the corresponding application server, and the second application data sent by the application server is received, and the second application data is rendered in the adjusted second target window. It can be understood that the method of establishing a communication connection with the application server and rendering the second application data is referred to in the above embodiment, and will not be repeated here.

[0078] In another embodiment, the second window change instruction also includes the second animation parameter of the second target window and the adjusted third animation parameter of the first target window. The second animation parameter and the third animation parameter refer to the explanation of the animation parameter in the above embodiment, which will not be repeated here.

[0079] In the embodiment of the present application, when another application is started, the sizes of the first target window and the second target window can be adjusted so that the two applications can be displayed on the desktop at the same time.

[0080] In another embodiment, when generating the second operation instruction, the second priority corresponding to the second target window and the third priority corresponding to the first target window may be obtained first. The priority of the window may be dynamically changed or fixed, and may be specifically preset.

[0081] For dynamic changes, if the user opens the navigation application first, the first priority of the first target window corresponding to the navigation application is high. If the user then opens the music application, since the music application is opened later than the navigation application, the music application is a program that the user needs more. Therefore, the second priority of the second target window corresponding to the music application is high, and the priority of the navigation application is adjusted from high to medium.

[0082] For the case where the priority is fixed, if the priority of the navigation application is always high, then if you open the navigation application first and then the music application, the priority of the navigation application will not change. The navigation application and the music application can be allowed to be at high priority at the same time, and their corresponding window sizes are equal.

[0083] In another embodiment, Figure 4 Another desktop window control method flow chart is provided for the embodiment of the present application. Figure 5 A schematic diagram of a desktop window provided in an embodiment of the present application, such as Figure 4 and Figure 5 As shown, the method includes:

[0084] Step 401: The desktop system running on the vehicle terminal loads the user preference window. It can be understood that the user preference window refers to the window corresponding to the application that the user frequently visits. The displayed window uses SliceProvider to obtain the content (i.e., slice) that the corresponding APP needs to display dynamically; the SliceProvider interactive data mechanism can provide local data and network data when the APP is not in the foreground, using the minimum memory and the lowest performance. The desktop system parses the slice of the APP, obtains the UI data that meets the rules according to the pre-defined data parsing protocol, and uses the corresponding UI controls to draw it on the window of the display screen. The pre-defined protocol is more flexible than the slice standard UI, and can better unify the desktop UI style.

[0085] Step 402: The vehicle terminal receives an input instruction from the user (such as "navigate to Square A") and generates a first operation instruction (Order 1) and transmits it to the desktop system; wherein Order 1 includes the window ID of the first target window.

[0086] Step 403: After receiving Order1, the desktop system searches for a window and finds the navigation APP window. Then, the desktop system generates a first window change instruction Order1-1 according to Order1.

[0087] Step 404: The desktop system changes the position of the navigation APP window corresponding to the navigation APP and the parameters that need to be changed in Order1-1: the first height change parameter (cWidth), the first width change parameter (cHeight) and the first animation parameter (cAnimal) to obtain an adjusted navigation APP window.

[0088] Step 405: After cAnimal ends, the navigation content is fully loaded and the communication with the navigation APP is established. The communication between the vehicle terminal and the navigation APP server adopts the aidl interface. When the animation cAnimal starts to execute, the desktop system notifies the navigation APP and uses TextureView technology to provide a virtual display for the navigation APP to draw navigation information and maps; the navigation also uses aidl to pass the navigation data to the desktop system so as to monitor the update of the navigation data and display it to the user.

[0089] Step 406: The vehicle terminal receives the user's operation instruction for the music APP window (i.e., the second operation instruction), generates a second window change instruction Order2-1, and changes the music APP window according to the second height change parameter (cLWidth), the second width change parameter (cLHeight) and the second animation parameter (cLAnimal) included in Order2-1.

[0090] Step 407: The music APP window changes smoothly to the size of cLWidth and cLHeight according to the cLAnimal animation, that is, the music APP window is adjusted to a large window, and when the cLAnimal animation ends, the changed content is loaded and communication with the music APP is established. At the same time, the navigation APP window is changed according to the change parameters of the navigation APP window in Order2-1, that is, the navigation APP window is reduced to a medium window, and because the navigation APP window is reduced, some of the other windows that were originally blocked will be re-displayed.

[0091] Step 408: When the user wants to close the navigation APP, he can send the navigation APP closing instruction Order3 to the vehicle terminal. The navigation APP window changes back to the default small window state according to its change parameters, and releases TextureView, notifying the navigation APP to stop map drawing and data updating. In addition, other windows blocked by the navigation APP window are displayed.

[0092] Step 409: When the user wants to close the music APP, he can send the music APP closing instruction Order4 to the vehicle terminal. The music APP window changes back to the default state according to its parameters, and releases TextureView, notifying the media app to stop music playback and data update. In addition, other windows blocked by the enlarged music APP window are displayed.

[0093] In the embodiment of the present application, since the default window of each application is smaller than the default window in the prior art, more default windows can be displayed in the same desktop space; in addition, since the present application does not need to load all windows on the desktop as large windows, on-demand loading is adopted, which can save more memory and data traffic of the desktop system.

[0094] Figure 6 This is a schematic diagram of a desktop window control device provided in an embodiment of the present application. The device may be a module, program segment or code on an electronic device. It should be understood that the device is similar to the above-mentioned Figure 1 The method embodiment corresponds to and can be executed Figure 1 The various steps involved in the method embodiment and the specific functions of the device can be found in the description above. To avoid repetition, detailed description is appropriately omitted here. The device includes: an instruction receiving module 601, an instruction generating module 602, a window adjustment module 603 and a data receiving module 604, wherein:

[0095] The instruction receiving module 601 is used to receive a first operation instruction for a first target window; the first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to multiple application programs respectively in a default state;

[0096] The instruction generation module 602 is used to generate a first window change instruction according to the first operation instruction, where the first window change instruction includes a first height change parameter and a first width change parameter of the first target window;

[0097] The window adjustment module 603 is used to adjust the first target window according to the first height variation parameter and the first width variation parameter to obtain the adjusted first target window.

[0098] Based on the above embodiment, the instruction generation module 602 is specifically used for:

[0099] Acquire a first priority of a first target window according to a first operation instruction;

[0100] A first window change instruction is generated according to the first priority.

[0101] Based on the above embodiment, the device further includes a first window adjustment module, which is used to:

[0102] According to the adjusted position of the first target window in the display screen, acquiring other windows blocked by the adjusted first target window;

[0103] Hide other windows, or set the adjusted first target window on top of other windows.

[0104] Based on the above embodiment, the first window adjustment module is further used for:

[0105] receiving a closing instruction for closing the application corresponding to the adjusted first target window;

[0106] The size of the adjusted first target window is adjusted to a default size according to the close instruction, and other windows are displayed.

[0107] Based on the above embodiment, the device further includes a data receiving module, which is used to:

[0108] The first application data sent by the application server corresponding to the adjusted first target window is received, and the first application data is displayed in the adjusted first target window.

[0109] Based on the above embodiment, the device further includes a second window adjustment module, which is used to:

[0110] receiving a second operation instruction for a second target window on the display screen;

[0111] If the application of the adjusted first target window is in a running state, a second window change instruction is generated according to the second operation instruction, the second window change instruction including a second height change parameter and a second width change parameter corresponding to the second target window, and a third height change parameter and a third width change parameter corresponding to the adjusted first target window;

[0112] Adjusting the adjusted first target window and second target window according to the second window change instruction;

[0113] The second application data sent by the application server corresponding to the adjusted second target window is received, and the second application data is displayed in the adjusted second target window.

[0114] Based on the above embodiment, the first window change instruction also includes animation parameters; the window adjustment module 603 is specifically used for:

[0115] The first target window is adjusted according to the first height change parameter, the first width change parameter and the animation parameter.

[0116] Figure 7 A schematic diagram of the physical structure of an electronic device provided in an embodiment of the present application, such as Figure 7 As shown, the electronic device includes: a processor (processor) 701, a memory (memory) 702 and a bus 703; wherein,

[0117] The processor 701 and the memory 702 communicate with each other via the bus 703;

[0118] The processor 701 is used to call the program instructions in the memory 702 to execute the methods provided by the above-mentioned method embodiments, for example, including: receiving a first operation instruction for a first target window; the first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to multiple applications in a default state; generating a first window change instruction according to the first operation instruction, the first window change instruction including a first height change parameter and a first width change parameter of the first target window; adjusting the first target window according to the first height change parameter and the first width change parameter to obtain an adjusted first target window.

[0119] The processor 701 may be an integrated circuit chip with signal processing capabilities. The processor 701 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. It may implement or execute various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0120] The memory 702 may include but is not limited to random access memory (RAM), read only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), etc.

[0121] The present embodiment discloses a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, and when the program instructions are executed by a computer, the computer can execute the methods provided by the above-mentioned method embodiments, for example, including: receiving a first operation instruction for a first target window; the first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to multiple application programs in a default state; generating a first window change instruction according to the first operation instruction, the first window change instruction including a first height change parameter and a first width change parameter of the first target window; adjusting the first target window according to the first height change parameter and the first width change parameter to obtain the adjusted first target window.

[0122] The present embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions. The computer instructions enable a computer to execute the methods provided by the above-mentioned method embodiments, for example, including: receiving a first operation instruction for a first target window; the first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to multiple applications in a default state; generating a first window change instruction according to the first operation instruction, the first window change instruction including a first height change parameter and a first width change parameter of the first target window; adjusting the first target window according to the first height change parameter and the first width change parameter to obtain an adjusted first target window.

[0123] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0124] In addition, the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0125] Furthermore, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0126] In this document, relational terms such as first and second, etc. are used merely to distinguish one entity or operation from another entity or operation, but do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0127] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A desktop window control method, characterized in that: include: Receiving a first operation instruction for a first target window; The first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to a plurality of application programs respectively in a default state; generating a first window change instruction according to the first operation instruction, wherein the first window change instruction includes a first height change parameter and a first width change parameter of the first target window; Adjusting the first target window according to the first height change parameter and the first width change parameter to obtain an adjusted first target window; After adjusting the first target window according to the first height variation parameter and the first width variation parameter, the method further includes: According to the position of the adjusted first target window in the display screen, acquiring other windows blocked by the adjusted first target window; Hide the other windows, or set the adjusted first target window on top of the other windows; The method further comprises: receiving a closing instruction for closing an application corresponding to the adjusted first target window; The size of the adjusted first target window is adjusted to a default size according to the close instruction, and the other windows are displayed.

2. The method according to claim 1, characterized in that The generating a first window change instruction according to the first operation instruction includes: Acquire a first priority of the first target window according to the first operation instruction; The first window change instruction is generated according to the first priority.

3. The method according to claim 1, characterized in that After obtaining the adjusted first target window, the method further includes: The first application data sent by the application server corresponding to the adjusted first target window is received, and the first application data is displayed in the adjusted first target window.

4. The method according to claim 1, characterized in that: After adjusting the first target window according to the first height variation parameter and the first width variation parameter, the method further includes: receiving a second operation instruction for a second target window on the display screen; If the application of the adjusted first target window is in a running state, a second window change instruction is generated according to the second operation instruction, wherein the second window change instruction includes a second height change parameter and a second width change parameter corresponding to the second target window, and a third height change parameter and a third width change parameter corresponding to the adjusted first target window; adjusting the adjusted first target window and the second target window according to the second window change instruction; The second application data sent by the application server corresponding to the adjusted second target window is received, and the second application data is displayed in the adjusted second target window.

5. The method according to any one of claims 1 to 4, characterized in that: The first window change instruction further includes animation parameters; and adjusting the first target window according to the first height change parameter and the first width change parameter includes: The first target window is adjusted according to the first height change parameter, the first width change parameter, and the animation parameter.

6. A desktop window control device, characterized in that: include: An instruction receiving module, used for receiving a first operation instruction for a first target window; The first target window is a window displayed on a display screen; wherein the display screen displays windows corresponding to a plurality of application programs respectively in a default state; an instruction generation module, configured to generate a first window change instruction according to the first operation instruction, wherein the first window change instruction includes a first height change parameter and a first width change parameter of the first target window; a window adjustment module, configured to adjust the first target window according to the first height change parameter and the first width change parameter to obtain an adjusted first target window; The device also includes a first window adjustment module, which is used to: According to the position of the adjusted first target window in the display screen, acquiring other windows blocked by the adjusted first target window; Hide the other windows, or set the adjusted first target window on top of the other windows; The first window adjustment module is also used for: receiving a closing instruction for closing the application corresponding to the adjusted first target window; The size of the adjusted first target window is adjusted to a default size according to the close instruction, and other windows are displayed.

7. An electronic device, characterized in that: include: processor, memory and bus, wherein, The processor and the memory communicate with each other via the bus; The memory stores program instructions executable by the processor, and the processor can execute the method according to any one of claims 1 to 5 by calling the program instructions.

8. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, which, when executed by a computer, enable the computer to perform the method according to any one of claims 1 to 5.