Application program control method and device, computer equipment and storage medium
By dividing the screen area into different driving positions on the vehicle terminal, the touch signal in a specific direction quickly display and full -screen application interface with a specific direction solves the tedious operation and the interface display. Improvement of user experience.
Patent Information
- Application Number
- CN202310921539.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2025-01-28
AI Technical Summary
On the vehicle terminal, as the application increases, users need to slide multiple times to find and open the required application. The operation is cumbersome and the application interface display form is single.
By dividing the screen area of the vehicle terminal into different areas, we correspond to different driving positions to achieve the rapid opening and interface display of the application. Specific methods include the interface of the target historical application of the corresponding area when receiving a touch signal receiving a specific direction, and the control interface moves along the direction until it is displayed in the full screen.
The operation experience of multiple users has been improved, the application is quickly opened, the operation method is simplified, and the user's trigger experience is improved through a rich interface display form.
Smart Images

Figure CN119376826A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicles, and in particular, to a control method, device, computer equipment, and storage medium for an application. Background Art
[0002] At present, with the development of vehicle terminals, more and more applications are displayed on vehicle terminals. Generally, when users open applications, they open the applications by triggering the application icons displayed on the terminal screen; however, when there are many applications on the vehicle, users may need to swipe multiple times to find the application they want to open and trigger it. This triggering method is relatively cumbersome, and after triggering the application icon, the application interface is generally displayed directly, and the display form is relatively simple. Summary of the invention
[0003] The embodiments of the present disclosure at least provide a method, apparatus, computer device, and storage medium for controlling an application program.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for controlling an application program, the method being applied to a vehicle terminal, wherein a screen area of the vehicle terminal includes at least a first area and a second area, wherein the first area and the second area correspond to different driving positions of the vehicle, respectively; the method comprising:
[0005] If a first contact signal along a first direction executed in the first area is received, a partial area of a first interface of a first target history application corresponding to the first area is displayed in the first area, and the first interface is controlled to move along the first direction until the first interface is displayed in full screen in the first area;
[0006] If a second contact signal along the first direction executed in the second area is received, a partial area of a second interface of a second target history application corresponding to the second area is displayed in the second area, and the second interface is controlled to move along the first direction until the second interface is displayed in full screen in the second area;
[0007] Among them, the first interface displayed in the first area and the second interface displayed in the second area at the same time are interfaces of different applications.
[0008] In a possible implementation manner, controlling the first interface to move along the first direction includes:
[0009] The first interface is controlled to move from a first edge to a second edge of the first region, wherein a direction from the first edge to the second edge is the first direction.
[0010] In a possible implementation manner, the method further includes:
[0011] If a third contact signal along the second direction executed in the first area is received, the third interface of the third application currently displayed in the first area is controlled to move along the second direction until the third interface of the third application displayed in the first area is closed.
[0012] In a possible implementation, the method further includes: after receiving a first contact signal along a first direction executed in the first area, when a fourth interface of a fourth application is currently displayed in the first area, while controlling the first interface to move along the first direction, controlling the fourth interface to shrink until the first interface covers the fourth interface.
[0013] In a possible implementation manner, the method further includes:
[0014] If a fourth contact signal along a third direction executed in the first area is received, the application interface currently displayed in the first area is controlled to move along the third direction to the second area; wherein the third direction is a direction from the first area to the second area.
[0015] In a possible implementation, when displaying the application interface in the first area, the method further includes displaying the application interface by the following method:
[0016] When the application interface is not displayed in the second area, the application interface is displayed in the first area and part of the second area at the same time.
[0017] In a possible implementation manner, the application interface displayed simultaneously in the first area and in a part of the second area is an application interface of a target application displayed to users in multiple seats.
[0018] In a possible implementation manner, the screen area of the vehicle terminal further includes a third area;
[0019] When displaying the application interface in the first area, the method further includes displaying the application interface by the following method:
[0020] determining a vehicle state of the current vehicle;
[0021] When the vehicle state is the target state, the application interface is displayed in the first area and a part of the third area at the same time.
[0022] In a second aspect, an embodiment of the present disclosure further provides a control device for an application program, which is applied to a vehicle terminal, wherein a screen area of the vehicle terminal includes at least a first area and a second area, wherein the first area and the second area correspond to different driving positions of the vehicle, respectively; the device includes:
[0023] A first response module is configured to, upon receiving a first contact signal along a first direction executed in the first area, display a partial area of a first interface of a first target historical application corresponding to the first area in the first area, and control the first interface to move along the first direction until the first interface is displayed in full screen in the first area;
[0024] A second response module is configured to display a partial area of a second interface of a second target historical application corresponding to the second area in the second area upon receiving a second contact signal along the first direction executed in the second area, and control the second interface to move along the first direction until the second interface is displayed in full screen in the second area;
[0025] Among them, the first interface displayed in the first area and the second interface displayed in the second area at the same time are interfaces of different applications.
[0026] In a possible implementation manner, the first response module, when controlling the first interface to move along the first direction, is used to:
[0027] The first interface is controlled to move from a first edge to a second edge of the first region, wherein a direction from the first edge to the second edge is the first direction.
[0028] In a possible implementation manner, the first response module is further configured to:
[0029] If a third contact signal along the second direction executed in the first area is received, the third interface of the third application currently displayed in the first area is controlled to move along the second direction until the third interface of the third application displayed in the first area is closed.
[0030] In one possible implementation, the first response module is further used to, after receiving a first contact signal along a first direction executed in the first area, control the fourth interface to shrink while controlling the first interface to move along the first direction when a fourth interface of a fourth application is currently displayed in the first area, until the first interface covers the fourth interface.
[0031] In a possible implementation manner, the first response module is further configured to:
[0032] If a fourth contact signal along a third direction executed in the first area is received, the application interface currently displayed in the first area is controlled to move along the third direction to the second area; wherein the third direction is a direction from the first area to the second area.
[0033] In a possible implementation manner, when the application interface is displayed in the first area, the first response module is further configured to display the application interface by:
[0034] When the application interface is not displayed in the second area, the application interface is displayed in the first area and part of the second area at the same time.
[0035] In a possible implementation manner, the application interface displayed simultaneously in the first area and in a part of the second area is an application interface of a target application displayed to users in multiple seats.
[0036] In a possible implementation manner, the screen area of the vehicle terminal further includes a third area;
[0037] When the application interface is displayed in the first area, the first response module is further used to display the application interface by the following method:
[0038] determining a vehicle state of the current vehicle;
[0039] When the vehicle state is the target state, the application interface is displayed in the first area and a part of the third area at the same time.
[0040] In a third aspect, an embodiment of the present disclosure further provides a computer device, comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the above-mentioned first aspect, or any possible implementation of the first aspect are performed.
[0041] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned first aspect or any possible implementation of the first aspect are executed.
[0042] In the control method, apparatus, computer equipment and storage medium of the application provided by the embodiments of the present disclosure, the screen area is divided into a first area and a second area, which are respectively provided for operation by users in different driving seats, thereby improving the operation experience of multiple users; and for any area, after a contact signal along a first direction executed in the area is detected, the target historical application corresponding to the area can be quickly opened, thereby realizing the rapid opening of the application and simplifying the operation method of the application software; and when displaying the interface of the target historical application, a partial area of the application interface is displayed first, and then the interface is controlled to move along the first direction until the first interface is displayed in full screen in the first area; through this display method, the display form of the application can be enriched and the user's triggering experience can be improved.
[0043] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0045] Figure 1 A flow chart showing a method for controlling an application program provided by an embodiment of the present disclosure is shown;
[0046] Figure 2 A schematic diagram showing movement of a first interface in the application control method provided by an embodiment of the present disclosure is shown;
[0047] Figure 3a and Figure 3b A schematic diagram showing a cross-screen display interface in a method for controlling an application program provided in an embodiment of the present disclosure is shown;
[0048] Figure 4a , 4b 4c is a schematic diagram showing the interface interaction between the first area and the second area in the control method of the application provided by the embodiment of the present disclosure;
[0049] Figure 5 A schematic diagram of the architecture of a control device for an application provided by an embodiment of the present disclosure is shown;
[0050] Figure 6A schematic diagram of the structure of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.
[0052] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0053] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.
[0054] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the personal information involved in the present disclosure (including but not limited to attribute information, facial images, etc.) is obtained with the authorization of the user. Specifically, it can be through a pop-up window in the page, information push, etc., sending a prompt message requesting authorization to the user, and obtaining the above personal information after the user agrees to the authorization.
[0055] To facilitate understanding of the present embodiment, a control method for an application disclosed in the embodiment of the present disclosure is first introduced in detail. The executor of the control method for the application provided in the embodiment of the present disclosure is a vehicle terminal, and the screen area of the vehicle terminal includes at least a first area and a second area. The first area and the second area respectively correspond to different driving positions of the vehicle. For example, the first area can correspond to the main driving seat, and the second area can correspond to the co-driving seat.
[0056] Here, corresponding to different driving positions does not mean that only the user in the corresponding driving position can operate in this area, but means that the area on the entire screen is closer to the driving position, that is, the first area and the second area correspond to different driving positions of the vehicle respectively, which may be a limitation on the area positions of the first area and the second area.
[0057] Alternatively, the first area and the second area are merely distinctions of different areas of the screen area.
[0058] The first area and the second area are not explicitly marked on the vehicle screen, that is, the first area and the second area are not distinguished when no application is displayed. When the first area and the second area are displaying an application, they are specifically distinguished.
[0059] See also Figure 1 As shown, it is a flowchart of a control method of an application provided in an embodiment of the present disclosure, and the method includes steps 101 to 102, wherein there is no order of execution between step 101 and step 102, and step 101 and step 102 can be executed simultaneously.
[0060] Step 101: If a first contact signal along a first direction is received in the first area, a partial area of a first interface of a first target history application corresponding to the first area is displayed in the first area, and the first interface is controlled to move along the first direction until the first interface is displayed in full screen in the first area.
[0061] Step 102: If a second contact signal along the first direction is received in the second area, a partial area of the second interface of the second target history application corresponding to the second area is displayed in the second area, and the second interface is controlled to move along the first direction until the second interface is displayed in full screen in the second area.
[0062] Among them, the first interface displayed in the first area and the second interface displayed in the second area at the same time are interfaces of different applications.
[0063] The first contact signal and the second contact signal may be contact signals corresponding to the same type of triggering operation, for example, a two-finger sliding operation, a three-finger sliding operation, etc.
[0064] The manner of displaying the second interface in the above step 101 and step 102, and the received contact signal are the same. The following takes executing the first contact signal in the first area as an example to describe the above steps in detail.
[0065] The first contact signal may be a trigger signal of a target gesture executed in the first area for quickly opening a historical application. In a normal trigger operation, it is generally a single-point trigger. In order to distinguish opening a target historical application from other trigger operations, the first contact signal may be a multi-point contact signal, such as a contact signal of a two-finger trigger sliding operation.
[0066] The first direction is a preset direction for opening an application, for example, a direction from bottom to top.
[0067] In a possible implementation, the trigger operation corresponding to the first contact signal may be a multi-finger sliding operation, for example, a two-finger sliding operation, a three-finger sliding operation, etc.
[0068] The first target historical application may refer to an application closed in the first area, for example, an application that was most recently closed in the first area. Specifically, a first application identification queue corresponding to the first area may be stored, and the first application identification queue may store application identifications in the order in which each application was closed.
[0069] For example, in the first area, application A is closed first, then application B, and finally application C. The storage order of the application identifiers in the first application identifier queue is C, B, A, that is, the application identifier of the most recently closed application is stored at the head of the queue; after receiving the first contact signal along the first direction executed in the first area, application C can be used as the first target historical application.
[0070] The first interface of the first target history application may be the main page of the first target history application, or may be the interface displayed when the first target history application was last closed. For example, if the first target history application is a search application, and the interface displayed when the first target history application was last closed was a detail page of a search result, then after receiving the first contact signal, the detail page may be used as the first interface.
[0071] Optionally, the target historical application may refer to a functional application of the vehicle itself, such as a vehicle setting function application, air conditioning setting, etc., in addition to a third-party application installed on the vehicle.
[0072] After any application is displayed in the first area or the second area, the application identifier corresponding to the application can be deleted from the application identifier queue; after receiving the first contact information executed in the first area again, the interface of the application corresponding to the application identifier at the head of the queue can also be displayed. Here, after receiving the first contact information again, the application at the head of the application identifier queue is different from the application at the last time the first contact information was received.
[0073] For example, if the first contact signal is received in the first area for the first time, the head of the application identification queue may be application A, and the application interface of application A can be displayed in the first area; if the first contact signal is received in the first area for the second time, the head of the application identification queue may be application B, and the application interface of application B can be displayed in the first area.
[0074] In a possible implementation, the first area and the second area may correspond to the same application identification queue, that is, both correspond to the first application identification queue; the first application identification queue may store application identifications closed in the first area or the second area, and the stored application identifications may be stored in sequence according to the order of closing.
[0075] After any application is displayed in the first area or the second area, the application identifier of the application in the first application identifier queue can be deleted; the second target historical application corresponding to the second area can refer to the application at the head of the first application identifier queue. The first target historical application and the second target historical application are different applications.
[0076] In another possible implementation, the first area and the second area may correspond to different application identification queues, that is, the first area corresponds to a first application identification queue for storing application identifications closed in the first area, and the second area corresponds to a second application identification queue for storing application identifications closed in the second area; the first application identification queue and the second application identification queue are independent of each other, and the application identifications contained in the two may be different.
[0077] Optionally, the application identification queue (including the first application queue and the second application identification queue) may also store the storage time of each application identification. When the storage time exceeds a preset time period, the application identification may be deleted from the application identification queue.
[0078] In the case where the second area corresponds to the second application identification queue, the method for determining the second target historical application from the second application identification queue is the same as the method for determining the first target historical application from the first application identification queue, and will not be repeated here.
[0079] The application identification queue may be stored in a cache of the vehicle terminal, and the application identification queue may be cleared when the vehicle terminal is turned off (eg, powered off).
[0080] After receiving the first contact signal, displaying a partial area of the first interface in the first area can be understood as gradually displaying areas of the first interface until the first interface is displayed in full screen in the first area.
[0081] Exemplarily, after receiving the first contact signal, 0% of the first interface may be displayed first, and then the first interface may be controlled to move along the first direction. During the movement, 10%, 20%, 30%, ... 100% of the first interface may be gradually displayed.
[0082] Here, controlling the first interface to move along the first direction may refer to controlling the first interface to move from a first edge to a second edge of the first region, wherein the direction from the first edge to the second edge is the first direction.
[0083] For example, Figure 2 As shown, the first direction is from bottom to top, then the first edge is the lower edge of the screen area, and the second edge is the upper edge of the screen area; when controlling the first interface to move along the first direction, the upper boundary of the first interface can first coincide with the lower edge of the screen area, and then the first interface is controlled to gradually move upward until the upper boundary of the first interface coincides with the upper edge of the screen area, and the lower boundary of the first interface coincides with the lower edge of the screen area.
[0084] When controlling the first interface to move along the first direction, the first interface may be controlled to move along the first direction according to a preset moving speed. Alternatively, when controlling the first interface to move along the first direction, when the triggering operation corresponding to the first contact information is a sliding operation, a sliding speed of the sliding operation may be determined, and then a moving speed when controlling the first interface to move along the first direction is determined based on the sliding speed of the sliding operation.
[0085] Exemplarily, a conversion coefficient between the sliding speed and the moving speed may be pre-set. After determining the sliding speed of the sliding operation, the moving speed may be determined based on the sliding operation and the conversion coefficient, and the first interface may be controlled to move along the first direction according to the moving speed.
[0086] The process of controlling the second interface to move along the first direction is the same as the process of controlling the first interface to move along the first direction, and will not be described in detail herein.
[0087] In a possible implementation, after the first interface is displayed in full screen in the first area, in order to achieve a display effect in which the first interface is integrated with the first area, the boundary of the first interface may be pixel blurred based on the display background of the first area and the second area.
[0088] Here, the display background of the first area and the second area may refer to a background wallpaper, or may refer to a displayed application interface.
[0089] In one possible implementation, after receiving a first contact signal along a first direction executed in the first area, when controlling the first interface to move along the first direction, if the first area also displays an application interface of another application, the first interface can be directly controlled to move along the first direction until it covers the application interface of the other application.
[0090] Alternatively, after receiving a first contact signal along a first direction executed in the first area, when a fourth interface of a fourth application is currently displayed in the first area, while controlling the first interface to move along the first direction, the fourth interface is controlled to shrink until the first interface covers the fourth interface.
[0091] Here, controlling the fourth interface to be reduced may be controlling the fourth interface to be reduced according to a preset reduction ratio. When the first interface covers the fourth interface, the reduction of the fourth interface is meaningless, and thus the reduction of the fourth interface may be stopped.
[0092] In a possible implementation, when an application interface is displayed in full screen in the first area, in order to increase the display effect of the application interface, it can be determined whether the second area displays the application interface. If the application interface is not displayed in the second area, the application interface can be displayed in part of the first area and the second area at the same time.
[0093] Here, the application interface displayed in full screen in the first area may be the first interface of the first target history application displayed after receiving the first contact signal; or, the application interface displayed in full screen in the first area may be the interface displayed after the user triggers the application icon displayed on the screen interface.
[0094] The simultaneous display of the application interface in the first area and a part of the second area may exemplarily refer to displaying the application interface in the full screen of the first area and a preset proportion of the second area. Here, the part of the second area may be connected to the first area. Exemplarily, the display effect of the application interface is as follows: Figure 3a shown.
[0095] In a possible implementation, when displaying across regions, the size of the display area in the second region may be related to the application corresponding to the application interface. For example, the display area corresponding to each application when displaying across regions may be preset, and then when displaying the application interface of any application, the display area in the second region may be determined based on the display area of the first region and the preset display area corresponding to the application when displaying across regions.
[0096] Similarly, when the application interface is displayed in full screen in the second area, it can also be determined whether the first area displays the application interface. If the application interface is not displayed in the first area, the application interface can be displayed in the second area and part of the first area. The display effect is exemplified as follows: Figure 3b shown.
[0097] In actual applications, not all applications may have the need for cross-region display. When the application interface needs to be displayed facing both the main driver's seat and the co-driver's seat at the same time, the application interface can be displayed across regions.
[0098] That is, the application interface displayed in the first area and a part of the second area, or the application interface displayed in the second area and a part of the first area, is the application interface of the target application displayed to users in multiple seats.
[0099] The target application may be, for example, an application of a preset type, such as a video application, a game application, etc.
[0100] Optionally, when the application interface is displayed across regions, it can first be detected whether there is a user sitting in the driving seat corresponding to each region. If there are users sitting in the driving seats corresponding to the first region and the second region, cross-regional display can be performed to facilitate displaying the application interface to multiple users.
[0101] If there is no user sitting in the driving seat corresponding to any area, the application interface can be displayed to that area across areas.
[0102] For example, if the positions of the first area and the second area on the screen area of the vehicle terminal are as follows: Figure 3a As shown, the first area corresponds to the main driver's seat, and the second area corresponds to the co-pilot seat. If the application interface of a certain target application can be displayed across areas, but there is no user sitting in the co-pilot seat, in this case, the application interface of the target application can be directly displayed in the first area without being displayed across areas.
[0103] When the application interface to be displayed is an application interface of a non-target application, it can be displayed in full screen in the first area or the second area alone.
[0104] In another possible implementation, the screen area of the vehicle terminal may further include a third area, which may be used to display driving-related information, such as vehicle speed, remaining battery power, remaining fuel, rotation speed, etc.
[0105] Optionally, the application interface can be displayed across regions in combination with the third region. However, since the information displayed in the third region is strongly related to driving safety, if the third region is to be occupied for displaying the application interface across regions, the safety of the current vehicle needs to be ensured.
[0106] Specifically, the vehicle state of the current vehicle may be determined first, and when the vehicle state is the target state, the application interface may be displayed in the first area and a part of the third area at the same time.
[0107] Here, the vehicle state may refer to any one or more of the vehicle's current gear, vehicle speed, driving state, etc. The target state may correspond to one or more of the vehicle's current gear being the parking gear, the vehicle speed being less than a preset speed, the driving state being the focused state, etc.
[0108] In a possible implementation, if a third contact signal along the second direction is received in the first area, the third interface of the third application currently displayed in the first area can be controlled to move along the second direction until the third interface of the third application displayed in the first area is closed.
[0109] Here, the third contact information and the first contact signal and the second contact signal may be contact signals corresponding to the same type of trigger operation; the second direction and the first direction may be opposite directions. Closing the display of the third application may mean minimizing the third application, or closing the third application.
[0110] When the third interface is displayed in the first area, the upper boundary of the third interface coincides with the second edge of the first area, and the lower boundary of the third interface coincides with the first edge of the first area. When controlling the third interface to move along the third direction, the third interface can be controlled to move from the second edge to the first edge, and the direction from the second edge to the first edge is the third direction.
[0111] During the movement of the third interface, the first area displays the third interface in full screen, displays a partial area of the third interface, and then cancels the display of the third interface.
[0112] Optionally, after closing the third application, the application identifier of the third application may be added to the first application identifier queue, so as to subsequently open the third application through the first contact information.
[0113] In another possible implementation manner, the first area and the second area may also interact with each other.
[0114] For example, if a fourth contact signal along a third direction is received in the first area, the application interface currently displayed in the first area is controlled to move along the third direction to the second area; wherein the third direction is a direction pointing from the first area to the second area.
[0115] Before moving the application interface currently displayed in the first area (referred to as the fifth interface) to the second area along the third direction, it can also be determined whether the second area currently displays an application interface. If not, the application interface currently displayed in the first area (the fifth interface) can be directly moved to the second area; if so, the fifth interface can be superimposed on the application interface (referred to as the sixth interface) displayed in the second area; or, at the same time as the fifth interface is moved to the second area, the sixth interface can be moved along the fourth direction to the first area for display, wherein the fourth direction is opposite to the third direction.
[0116] Wherein, when the fifth interface and the sixth interface are moved simultaneously, in the interactive area between the fifth interface and the sixth interface, the fifth interface may be located above the sixth interface.
[0117] For example, when the second area does not display an application interface, when the fifth interface is moved to the second area according to the third direction, the effect diagram is as follows: Figure 4a When the sixth interface is displayed in the second area, when the sixth interface and the fifth interface are moved at the same time, the effect diagram is as shown in FIG. Figure 4b shown.
[0118] In a possible scenario, different applications are of different importance to users in different driving positions. For example, the in-vehicle map is more important to the main driving position than to the co-pilot position. Therefore, when the interface between the first area and the second area moves, the importance of the applications displayed in different areas to the driving position corresponding to each area can be considered.
[0119] After receiving a fourth contact signal along a third direction executed in the first area, before controlling the application interface currently displayed in the first area to move along the third direction to the second area, the importance of the application interface currently displayed in the first area to the driving seat corresponding to the first area can be determined first. When the importance is less than a preset value, the application interface currently displayed in the first area can be controlled to move along the third direction to the second area.
[0120] If the importance is greater than a preset value, the display ratio of the fifth interface in the first area can be reduced, and the sixth interface can be moved to the first area, wherein the display ratio of the sixth interface is a preset ratio, and the fifth interface and the sixth interface together occupy the first area, as exemplified by Figure 4c shown.
[0121] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0122] Based on the same inventive concept, the embodiment of the present disclosure also provides a control device for an application corresponding to the control method for an application. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the control method for the application in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0123] Reference Figure 5 , which is a schematic diagram of the architecture of a control device for an application provided by an embodiment of the present disclosure, wherein the device is applied to a vehicle terminal, wherein the screen area of the vehicle terminal at least includes a first area and a second area, wherein the first area and the second area correspond to different driving positions of the vehicle respectively; the device includes: a first response module 501, a second response module 502; wherein,
[0124] A first response module 501 is configured to display a partial area of a first interface of a first target historical application corresponding to the first area in the first area upon receiving a first contact signal along a first direction executed in the first area, and control the first interface to move along the first direction until the first interface is displayed in full screen in the first area;
[0125] A second response module 502 is configured to display a partial area of a second interface of a second target historical application corresponding to the second area in the second area if a second contact signal along the first direction is received, and control the second interface to move along the first direction until the second interface is displayed in full screen in the second area;
[0126] Among them, the first interface displayed in the first area and the second interface displayed in the second area at the same time are interfaces of different applications.
[0127] In a possible implementation manner, the first response module 501, when controlling the first interface to move along the first direction, is used to:
[0128] The first interface is controlled to move from a first edge to a second edge of the first region, wherein a direction from the first edge to the second edge is the first direction.
[0129] In a possible implementation manner, the first response module 501 is further configured to:
[0130] If a third contact signal along the second direction executed in the first area is received, the third interface of the third application currently displayed in the first area is controlled to move along the second direction until the third interface of the third application displayed in the first area is closed.
[0131] In one possible implementation, the first response module 501 is also used to, after receiving a first contact signal along a first direction executed in the first area, control the fourth interface to shrink while controlling the first interface to move along the first direction when a fourth interface of a fourth application is currently displayed in the first area, until the first interface covers the fourth interface.
[0132] In a possible implementation manner, the first response module 501 is further configured to:
[0133] If a fourth contact signal along a third direction executed in the first area is received, the application interface currently displayed in the first area is controlled to move along the third direction to the second area; wherein the third direction is a direction from the first area to the second area.
[0134] In a possible implementation manner, when the application interface is displayed in the first area, the first response module 501 is further configured to display the application interface by the following method:
[0135] When the application interface is not displayed in the second area, the application interface is displayed in the first area and part of the second area at the same time.
[0136] In a possible implementation manner, the application interface displayed simultaneously in the first area and in a part of the second area is an application interface of a target application displayed to users in multiple seats.
[0137] In a possible implementation manner, the screen area of the vehicle terminal further includes a third area;
[0138] When the application interface is displayed in the first area, the first response module 501 is further used to display the application interface by the following method:
[0139] determining a vehicle state of the current vehicle;
[0140] When the vehicle state is the target state, the application interface is displayed in the first area and a part of the third area at the same time.
[0141] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.
[0142] Based on the same technical concept, the embodiment of the present disclosure also provides a computer device. Figure 6 As shown, it is a schematic diagram of the structure of a computer device 600 provided in an embodiment of the present disclosure, including a processor 601, a memory 602, and a bus 603. Among them, the memory 602 is used to store execution instructions, including a memory 6021 and an external memory 6022; the memory 6021 here is also called an internal memory, which is used to temporarily store the operation data in the processor 601, and the data exchanged with the external memory 6022 such as a hard disk. The processor 601 exchanges data with the external memory 6022 through the memory 6021. When the computer device 600 is running, the processor 601 communicates with the memory 602 through the bus 603, so that the processor 601 executes the following instructions:
[0143] If a first contact signal along a first direction executed in the first area is received, a partial area of a first interface of a first target history application corresponding to the first area is displayed in the first area, and the first interface is controlled to move along the first direction until the first interface is displayed in full screen in the first area;
[0144] If a second contact signal along the first direction executed in the second area is received, a partial area of a second interface of a second target history application corresponding to the second area is displayed in the second area, and the second interface is controlled to move along the first direction until the second interface is displayed in full screen in the second area;
[0145] Among them, the first interface displayed in the first area and the second interface displayed in the second area at the same time are interfaces of different applications.
[0146] In a possible implementation manner, in the instruction executed by the processor 601, controlling the first interface to move along the first direction includes:
[0147] The first interface is controlled to move from a first edge to a second edge of the first region, wherein a direction from the first edge to the second edge is the first direction.
[0148] In a possible implementation manner, in the instruction executed by the processor 601, the method further includes:
[0149] If a third contact signal along the second direction executed in the first area is received, the third interface of the third application currently displayed in the first area is controlled to move along the second direction until the third interface of the third application displayed in the first area is closed.
[0150] In one possible implementation, in the instructions executed by the processor 601, the method further includes: after receiving a first contact signal along a first direction executed in the first area, when a fourth interface of a fourth application is currently displayed in the first area, while controlling the first interface to move along the first direction, controlling the fourth interface to shrink until the first interface covers the fourth interface.
[0151] In a possible implementation manner, in the instruction executed by the processor 601, the method further includes:
[0152] If a fourth contact signal along a third direction executed in the first area is received, the application interface currently displayed in the first area is controlled to move along the third direction to the second area; wherein the third direction is a direction from the first area to the second area.
[0153] In a possible implementation manner, in the instructions executed by the processor 601, when the application interface is displayed in the first area, the method further includes displaying the application interface by the following method:
[0154] When the application interface is not displayed in the second area, the application interface is displayed in the first area and part of the second area at the same time.
[0155] In a possible implementation, in the instructions executed by the processor 601, the application interface displayed simultaneously in the first area and in a part of the second area is an application interface of the target application displayed to users in multiple seats.
[0156] In a possible implementation manner, in the instruction executed by the processor 601, the screen area of the vehicle terminal further includes a third area;
[0157] When displaying the application interface in the first area, the method further includes displaying the application interface by the following method:
[0158] determining a vehicle state of the current vehicle;
[0159] When the vehicle state is the target state, the application interface is displayed in the first area and a part of the third area at the same time.
[0160] The present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the control method of the application program described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0161] The present disclosure also provides a computer program product that carries a program code. The program code includes instructions that can be used to execute the steps of the control method of the application described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0162] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0163] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the 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 the device or unit can be electrical, mechanical or other forms.
[0164] 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.
[0165] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0166] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0167] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A method for controlling an application, characterized in that: The method is applied to a vehicle terminal, wherein a screen area of the vehicle terminal includes at least a first area and a second area, wherein the first area and the second area correspond to different driving positions of the vehicle respectively; the method comprises: If a first contact signal along a first direction executed in the first area is received, a partial area of a first interface of a first target history application corresponding to the first area is displayed in the first area, and the first interface is controlled to move along the first direction until the first interface is displayed in full screen in the first area; If a second contact signal along the first direction executed in the second area is received, a partial area of a second interface of a second target history application corresponding to the second area is displayed in the second area, and the second interface is controlled to move along the first direction until the second interface is displayed in full screen in the second area; Among them, the first interface displayed in the first area and the second interface displayed in the second area at the same time are interfaces of different applications.
2. The method according to claim 1, characterized in that The controlling the first interface to move along the first direction includes: The first interface is controlled to move from a first edge to a second edge of the first region, wherein a direction from the first edge to the second edge is the first direction.
3. The method according to claim 1, characterized in that The method further comprises: If a third contact signal along the second direction executed in the first area is received, the third interface of the third application currently displayed in the first area is controlled to move along the second direction until the third interface of the third application displayed in the first area is closed.
4. The method according to claim 1, characterized in that: The method also includes: after receiving a first contact signal along a first direction executed in the first area, when a fourth interface of a fourth application is currently displayed in the first area, while controlling the first interface to move along the first direction, controlling the fourth interface to shrink until the first interface covers the fourth interface.
5. The method according to claim 1, characterized in that The method further comprises: If a fourth contact signal along a third direction executed in the first area is received, the application interface currently displayed in the first area is controlled to move along the third direction to the second area; wherein the third direction is a direction from the first area to the second area.
6. The method according to claim 1, characterized in that When displaying the application interface in the first area, the method further includes displaying the application interface by the following method: When the application interface is not displayed in the second area, the application interface is displayed in the first area and part of the second area at the same time.
7. The method according to claim 6, characterized in that The application interface displayed in the first area and a part of the second area at the same time is the application interface of the target application displayed to users in multiple seats.
8. The method according to claim 1, characterized in that The screen area of the vehicle terminal also includes a third area; When displaying the application interface in the first area, the method further includes displaying the application interface by the following method: determining a vehicle state of the current vehicle; When the vehicle state is the target state, the application interface is displayed in the first area and a part of the third area at the same time.
9. A control device for an application, characterized in that: Applied to a vehicle terminal, the screen area of the vehicle terminal includes at least a first area and a second area, the first area and the second area correspond to different driving positions of the vehicle respectively; the device includes: A first response module is configured to display a partial area of a first interface of a first target historical application corresponding to the first area in the first area upon receiving a first contact signal along a first direction executed in the first area, and control the first interface to move along the first direction until the first interface is displayed in full screen in the first area; a second response module, configured to display a partial area of a second interface of a second target historical application corresponding to the second area in the second area upon receiving a second contact signal along the first direction executed in the second area, and control the second interface to move along the first direction until the second interface is displayed in full screen in the second area; Among them, the first interface displayed in the first area and the second interface displayed in the second area at the same time are interfaces of different applications.
10. A computer device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the control method of the application program as described in any one of claims 1 to 8 are performed.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the control method of the application program according to any one of claims 1 to 8.