CN114510313A - Application display method and device, storage medium and electronic equipment - Google Patents

Application display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114510313A
CN114510313A CN202210176792.2A CN202210176792A CN114510313A CN 114510313 A CN114510313 A CN 114510313A CN 202210176792 A CN202210176792 A CN 202210176792A CN 114510313 A CN114510313 A CN 114510313A
Authority
CN
China
Prior art keywords
display
application
target application
target
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210176792.2A
Other languages
Chinese (zh)
Inventor
邹元飞
江加强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202210176792.2A priority Critical patent/CN114510313A/en
Publication of CN114510313A publication Critical patent/CN114510313A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an application display method and device, a storage medium and electronic equipment. Wherein, the method comprises the following steps: determining a target application, and judging whether the starting mode of the target application is a free window mode and whether the starting mode carries display coordinates; under the condition that the starting mode of the target application is a free window mode and carries the display coordinates, displaying the target application at the display coordinates according to the size of a display interface window indicated by the free window mode; determining a display interface window size indicated in a free window manner at the display coordinates to display the target application as an initial display attribute of the target application; and responding to a touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display according to the target display attribute. The method and the device solve the technical problems that in the related art, the display desktop mode is simple, the application display mode is single due to less interaction with the user, and the user experience is poor.

Description

Application display method and device, storage medium and electronic equipment
Technical Field
The present application relates to the field of display, and in particular, to a display method and apparatus for an application, a storage medium, and an electronic device.
Background
At present, the display desktop display mode applied in the vehicle machine system is simplified, the interaction between the display desktop and a user is less, and the use experience of the user is poorer.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides an application display method and device, a storage medium and electronic equipment, and aims to at least solve the technical problems that in the related technology, a display desktop mode is simple, interaction with a user is less, the application display mode is single, and user experience is poor.
According to an aspect of an embodiment of the present application, there is provided a display method of an application, including: determining a target application, and judging whether a starting mode of the target application is a free window mode and whether the starting mode carries display coordinates, wherein the free window mode is used for indicating that the size of a display interface window of the target application is adjustable and is used for indicating that the display interface window covers the upper parts of other applications; under the condition that the starting mode of the target application is a free window mode and carries the display coordinates, displaying the target application at the display coordinates according to the size of a display interface window indicated by the free window mode; determining a display interface window size indicated in a free window manner at the display coordinates to display the target application as an initial display attribute of the target application; and responding to a touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display according to the target display attribute.
Optionally, responding to the touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display the target display attribute, including: detecting a first area selected by a touch point corresponding to a touch instruction, and acquiring a first moving distance of the preset dragging area moving along the direction of a transverse axis of a preset display area under the condition that the first area is determined to be the preset dragging area; under the condition that the first moving distance is determined to be larger than a first preset threshold value, determining a target display position of the target application in a preset display area according to the first moving distance; the target application is displayed in a predetermined shape at the target display position.
Optionally, after the target display position displays the target application in a predetermined shape, the method further comprises: determining other applications in the predetermined display area which are not completely covered by the target application display interface window; and displaying a display interface window corresponding to the uncovered part of the other application in the preset display area.
Optionally, in a case where it is determined that the first movement distance is smaller than the first preset threshold, it is determined that the initial display attribute remains unchanged.
Optionally, responding to the touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display the target display attribute, including: detecting a second area selected by a touch point corresponding to the touch instruction; and under the condition that the second area is determined to be the preset zooming area, zooming the display interface window of the target application.
Optionally, zooming the display interface window of the target application includes: acquiring a second movement distance of the preset zooming area moving along the direction of the transverse axis of the preset display area and a third movement distance of the preset zooming area moving along the direction of the longitudinal axis of the preset display area; and under the condition that the second moving distance and the third moving distance are both larger than a second preset threshold value, zooming the display interface window of the target application according to a preset adjusting proportion.
Optionally, a closing button is arranged on a display interface window of the target application, the initial display attribute is adjusted in response to a touch instruction to obtain a target display attribute, and the target application is controlled to display the target display attribute, including: and detecting a third area selected by a touch point corresponding to the touch instruction, and determining to close the target application under the condition that the third area is determined to be the area where the close button is located.
Optionally, the method further comprises: marking an application stack of a target application, wherein the application stack is used for indicating a current display layer of the target application; under the condition that operation instructions for other applications are detected, determining whether the jump type of the operation instructions is internal jump or not, and under the condition that the jump type of the operation instructions is determined to be internal jump, determining that the current display layer of the target application is kept unchanged, wherein the internal jump comprises the step of; clicking a display interface window of the other application under the condition that the other application is opened so as to operate the other application; and under the condition that the jump type of the operation instruction is determined to be external jump, determining that the display layers of other applications are positioned above the current display layer of the target application, wherein the external jump comprises the following steps: other applications are launched from the application panel.
Optionally, the method further comprises: determining the time length for clicking the target application; and under the condition that the duration is greater than the preset duration, controlling to enter an editing mode of the target application, wherein the editing mode is used for realizing each function of the target application.
According to another aspect of the embodiments of the present application, there is also provided a display device including: the first determining module is used for determining the target application, judging whether the starting mode of the target application is a free window mode and whether the starting mode carries display coordinates, wherein the free window mode is used for indicating that the size of a display interface window of the target application is adjustable and is used for indicating that the display interface window covers the upper parts of other applications; the first display module is used for displaying the target application in the size of a display interface window indicated by the free window mode at the display coordinate under the condition that the starting mode of the target application is the free window mode and the display coordinate is carried; the second determination module is used for determining the initial display attribute of the target application as the display interface window size indicated by the free window mode at the display coordinate; and the second display module is used for responding to the touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display the target display attribute.
According to another aspect of the embodiments of the present application, there is also provided a non-volatile storage medium, where the non-volatile storage medium includes a stored program, and the device in which the non-volatile storage medium is located is controlled to execute a display method of any application when the program runs.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a processor; a memory for storing processor executable instructions, wherein the processor is configured to execute the instructions to implement the display method of any one of the applications.
In the embodiment of the application, a mode of displaying the target application in a free window mode is adopted, the display interface window of the target application is displayed in the window size indicated by the free window mode at the display coordinate through the carried display coordinate of the target application, and the display mode is modified based on the touch screen instruction under the condition of receiving the touch screen instruction, so that the purpose of flexibly displaying the display interface window of the target application is achieved, the diversified display of the display interface window of the application is realized, the interaction modes with a user are enriched, the technical effect of user use experience is improved, and the technical problems that the application display mode is single and the user use experience is poor due to less interaction with the user due to the fact that the display desktop mode is simpler in the related technology are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow chart illustrating a display method for an alternative application according to an embodiment of the present application;
FIG. 2 is a flow diagram of launching an application in an exemplary embodiment;
FIG. 3 is a schematic diagram of a window drag flow in an exemplary embodiment;
FIG. 4 is a diagram illustrating display effects after three applications have been launched in an exemplary embodiment;
FIG. 5 is a schematic diagram of the App Panel open interface in an exemplary embodiment;
FIG. 6 is a diagram illustrating a display interface window of a car steward in an exemplary embodiment;
FIG. 7 is a schematic diagram of a display interface window of a car owner during dragging in an exemplary embodiment;
FIG. 8 is a diagram of two application scenarios in an exemplary embodiment during which a car steward is returning to the desktop;
FIG. 9 is a schematic diagram of a button setup and drag process of the car steward in an exemplary embodiment;
FIG. 10 is a schematic diagram of a display interface window of a car steward moving along the X-axis to a display position at 1/4 of a predetermined display area in an exemplary embodiment;
FIG. 11 is a schematic diagram illustrating how a display interface window is displayed by the car steward after the car steward moves to 1/4 of a predetermined display area in an exemplary embodiment;
fig. 12 is a schematic structural diagram of a display device according to an alternative application of the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present application, there is provided a display method embodiment for an application, it should be noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a display method of an application according to an embodiment of the present application, as shown in fig. 1, the method including the steps of:
step S102, determining a target application, and judging whether a starting mode of the target application is a free window mode and whether the starting mode carries display coordinates, wherein the free window mode is used for indicating that the size of a display interface window of the target application is adjustable and is used for indicating that the display interface window covers the upper parts of other applications;
step S104, under the condition that the starting mode of the target application is a free window mode and carries display coordinates, displaying the target application at the display coordinates by the size of a display interface window indicated by the free window mode;
step S106, determining the initial display attribute of the target application displayed by the size of the display interface window indicated by the free window mode at the display coordinate;
and S108, responding to the touch instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display according to the target display attribute.
According to the display method of the application, the display interface window of the target application is displayed at the display coordinate in the window size indicated by the free window mode through the display coordinate carried by the target application, and the display mode is modified based on the touch screen instruction under the condition that the touch screen instruction is received, so that the purpose of flexibly displaying the display interface window of the target application is achieved, diversified display of the display interface window of the application is achieved, the interaction mode with a user is enriched, the technical effect of user use experience is improved, and the technical problems that the display desktop mode is simple in the related technology, the application display mode is single due to less interaction with the user, and the user use experience is poor are solved.
Fig. 2 is a flowchart of starting an application according to an exemplary embodiment of the present application, and as can be seen from fig. 2, the flowchart includes: after the system is started, starting an application through a starting process Activity, determining whether the application is started in a full screen mode, if so, directly starting the application in a common mode, if not, judging whether the started application is started in a free window mode and carries coordinates, if so, directly starting the application in the free window mode, and if not, setting the starting mode as the free window mode and simultaneously setting the coordinate position.
The free window mode means that the size of the display interface window of the application is adjustable, and the position of the display interface window can also be changed according to the change of the display coordinates.
In some embodiments of the application, a touch screen instruction is responded, an initial display attribute is adjusted to obtain a target display attribute, and a target application is controlled to be displayed according to the target display attribute, which can be realized in the following manner, specifically, a first area selected by a touch point corresponding to the touch screen instruction is detected, and a first moving distance of a preset dragging area moving along a horizontal axis direction of a preset display area is obtained under the condition that the first area is determined to be the preset dragging area; under the condition that the first moving distance is determined to be larger than a first preset threshold value, determining a target display position of the target application in a preset display area according to the first moving distance; the target application is displayed in a predetermined shape at the target display position. That is, the display window of the application may be dragged by the movement of the touch point instructed by the touch screen.
It should be noted that, after the target application is displayed in the predetermined shape at the target display position, other applications in the predetermined display area that are not completely covered by the target application display interface window may be determined, and then the display interface window corresponding to the uncovered portion of the other applications is displayed in the predetermined display area.
It will be appreciated that in the event that the first movement distance is determined to be less than the first preset threshold, the initial display attribute is determined to remain unchanged.
Taking a target application as a car steward as an example, a dragging process of the display window is described, fig. 3 is a schematic view of an optional window dragging process according to the present application, and as shown in fig. 3, the dragging process includes the following steps:
the method comprises the steps that an application Panel App Panel is loaded and opened by a system desktop, whether the opened application Panel is a car-in-car steward or not is judged, if the currently opened application is not the car-in-car steward, the application is displayed in a large-size mode, a display interface window of the application is covered on other applications (utilization, navigation and multimedia applications), and meanwhile a closing button capable of closing the application is displayed for closing the application. If the currently opened application is the car steward, the display interface window of the car steward can also be displayed in a large-size mode and covered on other applications, meanwhile, the button and the dragging button can be closed, and when the displacement (the first moving distance) dragged by the finger (namely, the touch screen point) is smaller than 60px (a first preset threshold), after the finger leaves the display interface, the car steward returns to the initial display position (namely, under the condition that the first moving distance is smaller than the first preset threshold, the initial display attribute is determined to be kept unchanged); and when the dragging displacement is larger than 60px, the display interface window of the car steward can be displayed at the dragged position, and it should be noted that the display interface window of the car steward can be continuously dragged after long pressing.
It should be noted that the drag button may be displayed on a window of the display interface, or may not be displayed, that is, the drag button may be dragged when an area selected by a touch point corresponding to a touch instruction of a user is a drag area.
In other optional embodiments of the application, a touch instruction is responded, the initial display attribute is adjusted to obtain a target display attribute, the target application is controlled to display according to the target display attribute, and a second area selected for detecting a touch point corresponding to the touch instruction can be detected; and under the condition that the second area is determined to be the preset zooming area, zooming the display interface window of the target application. That is, in the case that the second area selected by the touch point is a zoom area, zooming may be performed on the display interface window of the target application.
Specifically, zooming the display interface window of the target application can be realized by the following steps:
acquiring a second movement distance of the preset zooming area moving along the direction of the transverse axis of the preset display area and a third movement distance of the preset zooming area moving along the direction of the longitudinal axis of the preset display area; and under the condition that the second moving distance and the third moving distance are both larger than a second preset threshold value, zooming the display interface window of the target application according to a preset adjusting proportion.
In some embodiments of the application, a close button is arranged on a display interface window of a target application, a touch instruction is responded, an initial display attribute is adjusted to obtain a target display attribute, the target application is controlled to be displayed according to the target display attribute, a third area selected for detecting a touch point corresponding to the touch instruction can be detected, and the target application is determined to be closed under the condition that the third area is determined to be an area where the close button is located.
The units of the first moving distance, the second moving distance, and the other moving distances may be pixel size, and the unit is px; the application dragging distance may also be a distance that is long and/or wide relative to a preset display area, for example, if the preset display area is a rectangular display area, the application dragging distance is defined at 1/3, 1/4 where the rectangular display area is long, and the like.
In some optional embodiments of the present application, an application stack of a target application may be marked, where it is to be noted that the application stack is used to indicate a current display layer of the target application, determine whether a jump type of an operation instruction is an internal jump when the operation instruction for another application is detected, and determine that the current display layer of the target application remains unchanged when the jump type of the operation instruction is determined to be the internal jump, where the internal jump includes; clicking a display interface window of the other application under the condition that the other application is opened so as to operate the other application; under the condition that the jump type of the operation instruction is determined to be external jump, determining that the display layers of other applications are located above the current display layer of the target application, wherein the external jump includes but is not limited to: other applications are launched from the application panel.
It should be noted that, in the related art, regardless of internal jumping or external jumping, as long as other applications are clicked, for example, a car steward is currently at the top, and the navigation is clicked at this time, the navigation is enabled to be covered on the car steward, and in the present application, the car steward can still be kept at the top under the condition of in-place internal jumping by setting an application stack. Namely, a mark is made on an application stack of the car steward, when navigation or multimedia is clicked, if the car steward is opened, the application stack of the car steward is always kept at the forefront, and simultaneously, whether application starting is multimedia or application started by internal navigation or application started by external App Panel is distinguished, if the application starting is external jump, logic for displaying the application stack of the car steward at the forefront is skipped, otherwise, the logic for displaying the application stack of the car steward is required to be entered.
In some optional embodiments of the present application, a time duration for clicking the target application may also be determined, and when the time duration is greater than a predetermined time duration, the control unit enters an editing mode of the target application, where the editing mode is used to implement each function of the target application. Namely, the editing mode of the application can be entered by a long-time pressing mode, and the control of the application is realized.
To facilitate better understanding of the embodiments related to the present application by those skilled in the art, the embodiments related to the present application will now be described with reference to an exemplary specific implementation, taking a car owner as an example, specifically:
after the car machine system is started, after initialization of core service (AMS WMS) is completed, a HOME interface (HOME desktop) is started through the core service, at the moment, a display desktop is displayed, after the desktop is displayed, three applications can be started through a method called by the system, the first application is an intelligent scene, the second application is navigation, and the third application is multimedia desktop display. The three application display processes can specify the display position and simultaneously specify the application display mode as a free window mode.
After the system receives three applications started by a desktop, logic processing is needed to be carried out at a display layout place of a system loading interface, if the desktop is started to allow appointed coordinate display, and under the condition that the size interface is judged to be small in size, any closing, reducing and restoring button can not be displayed on the interface, the display effect is shown in fig. 4, it needs to be noted that the time length for clicking the car owner can be determined, and under the condition that the time length is greater than the preset time length, the system is controlled to enter an editing mode, namely the long-press car owner can enter the editing mode to realize each function of the car owner. After the display interface window of the car steward is moved, a map, multimedia applications and the like which are covered before can be displayed, the movement of the car steward can be stopped at any time, and other applications which are not completely covered by the target application display interface in the preset display area can be determined; and displaying a display interface corresponding to the uncovered part of the other application in the preset display area.
As shown in fig. 5, when the App Panel open interface is clicked, any application, for example, a car-phone housekeeper, is displayed in a large size, and the display interface is shown in fig. 6, it should be noted that, in order to reduce the cost caused by application adaptation, the management system may adopt a unification process, for an application started from the App Panel, the application is loaded and displayed in a free window manner, a coordinate position is specified to be loaded in a large size manner, for an application that is not allowed to be loaded in a window manner, the application is loaded in a free window manner, meanwhile, when the display size of the application is determined to be in a large size, a close button may be displayed in an upper left corner, the close button is used to close a window of the application, as shown in fig. 7, in the process of dragging the display interface window of the car-phone housekeeper, when a lateral pulling displacement is less than 60px in the dragging process, a finger is released and then returns to a full window state, when the transverse pulling displacement is larger than 60px in the dragging process, the state of the window can be kept when the finger is opened, and the window can move in the moving area when the finger is pressed for a single finger. The same principle is that: the horizontal button displacement and the vertical button displacement of the scaling button at the lower right corner and the lower left corner are both larger than 60px, the window state is kept when the finger is released, and the finger can move in the moving area by pressing with a single finger for a long time.
Taking the car steward as an example, the description will be made on the case of returning the application to the desktop, as shown in fig. 8, the following two cases are generally divided:
1. the car steward is not opened before or quit after being opened;
2. the car steward has previously opened and is loading the display in the smallest window.
For the first case, the car steward is no longer displayed after returning to the desktop, and for the second case, the car steward needs to be displayed after returning to the desktop.
It should be noted that, in the second case, when returning to the desktop, logic processing may be added to determine whether a car steward process exists, and by adding a system interface, if the car steward process exists, the position of the car steward is obtained, and the car steward application is started.
In the case that the opened application is the car steward, as shown in fig. 9, a closed button, a left-right dragging button, and a stepless zooming button are arranged on the display interface window; and the display interface window can be dragged and displayed in a zooming way according to the dragging button, the stepless zooming button and the like.
When the display interface window of the car steward moves to 1/4 of the predetermined display area along the X axis, the display can be displayed in a narrow-strip form, fig. 10 is a schematic diagram of a display position where the display interface window of the car steward moves to 1/4 of the predetermined display area along the X axis, fig. 11 is a schematic diagram of a display mode of the display interface window of the car steward after moving to 1/4 of the predetermined display area, as can be seen from fig. 11, at this time, the display interface of the car steward is in a narrow-strip form.
It is easy to notice that the car steward can perform long-press dragging in the area where the desktop can be dragged, and the long-press dragging can be realized by simulating a system long-press event in a DecorView interception event through the system and then moving the car steward; meanwhile, the closing and restoring buttons are arranged on the display interface window of the car steward, the car steward can be closed through the closing buttons and return to the system desktop, and the car steward can also return to the display interface window at the beginning of the car steward through the restoring buttons to display.
It should be noted that, when a large-size interface is opened, the display interface window of the application displayed later may be processed, and the display interface window of the same size may be determined, and the display interface window of the application opened earlier may be hidden.
Fig. 12 is a display device according to an application of an embodiment of the present application, and as shown in fig. 12, the device includes:
the first determining module 40 is configured to determine a target application, determine whether a starting mode of the target application is a free window mode and whether the starting mode carries a display coordinate, where the free window mode is used to indicate that a display interface window of the target application is adjustable in size and to indicate that the display interface window covers the top of another application;
the first display module 42 is configured to, when the starting mode of the target application is a free window mode and carries a display coordinate, display the target application at the display coordinate in the size of the display interface window indicated by the free window mode;
a second determination module 44, configured to determine an initial display attribute that displays the target application as the target application at the display coordinate in the display interface window size indicated in the free window manner;
and the second display module 46 is configured to respond to the touch screen instruction, adjust the initial display attribute to obtain a target display attribute, and control the target application to display the target display attribute.
In the display device of the application, a first determining module 40 is used for determining a target application, and judging whether a starting mode of the target application is a free window mode and whether a display coordinate is carried, wherein the free window mode is used for indicating that the size of a display interface window of the target application is adjustable and is used for indicating that the display interface window covers the upper parts of other applications; the first display module 42 is configured to display the target application at the display coordinate in the size of the display interface window indicated by the free window mode when the starting mode of the target application is the free window mode and the display coordinate is carried; a second determination module 44, configured to determine an initial display attribute that displays the target application as the target application at the display coordinate in the display interface window size indicated in the free window manner; the second display module 46 is configured to respond to a touch screen instruction, adjust an initial display attribute to obtain a target display attribute, and control a target application to display the target display attribute, so that diversified display of a display interface window of the application is achieved, interaction modes with a user are enriched, a technical effect of user experience is improved, and further technical problems that a display desktop mode in related technologies is simple, an application display mode is single due to less interaction with the user, and user experience is poor are solved.
According to another aspect of the embodiments of the present application, there is also provided a non-volatile storage medium, where the non-volatile storage medium includes a stored program, and the device in which the non-volatile storage medium is located is controlled to execute a display method of any application when the program runs.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including: a processor; a memory for storing processor executable instructions, wherein the processor is configured to execute the instructions to implement the display method of any one of the applications.
Specifically, the storage medium is used for storing program instructions for executing the following functions, and the following functions are realized:
determining a target application, and judging whether a starting mode of the target application is a free window mode and whether the starting mode carries display coordinates, wherein the free window mode is used for indicating that the size of a display interface window of the target application is adjustable and is used for indicating that the display interface window covers the upper parts of other applications; under the condition that the starting mode of the target application is a free window mode and carries the display coordinates, displaying the target application at the display coordinates according to the size of a display interface window indicated by the free window mode; determining a display interface window size indicated in a free window manner at the display coordinates to display the target application as an initial display attribute of the target application; responding to a touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display according to the target display attribute
In the related embodiment of the application, a free window mode is adopted to display the target application, the display interface window of the target application is displayed at the display coordinate according to the size of the window indicated by the free window mode through the display coordinate carried by the target application, and the display mode is modified based on the touch screen instruction under the condition that the touch screen instruction is received, so that the purpose of flexibly displaying the display interface window of the target application is achieved, diversified display of the display interface window of the application is achieved, interaction modes with a user are enriched, the technical effect of user use experience is improved, and the technical problems that in the related technology, the display desktop mode is simple, the application display mode is single due to less interaction with the user, and the user use experience is poor are solved.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (12)

1. A method for displaying an application, comprising:
determining a target application, and judging whether a starting mode of the target application is a free window mode and whether a display coordinate is carried, wherein the free window mode is used for indicating that the size of a display interface window of the target application is adjustable and is used for indicating that the display interface window covers the upper parts of other applications;
under the condition that the starting mode of the target application is a free window mode and carries display coordinates, displaying the target application at the display coordinates according to the size of a display interface window indicated by the free window mode;
determining that the target application is displayed at the display coordinates in the display interface window size indicated in the free window manner as an initial display attribute of the target application;
responding to a touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display the target display attribute.
2. The method of claim 1, wherein responding to a touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display the target display attribute comprises:
detecting a first area selected by a touch point corresponding to the touch screen instruction, and acquiring a first movement distance of the preset dragging area moving along the direction of a transverse axis of a preset display area under the condition that the first area is determined to be a preset dragging area;
under the condition that the first moving distance is determined to be larger than a first preset threshold value, determining a target display position of the target application in the preset display area according to the first moving distance;
displaying the target application in a predetermined shape at the target display position.
3. The method of claim 2, wherein after the target display location displays the target application in a predetermined shape, the method further comprises:
determining other applications within the predetermined display area that are not completely covered by the target application display interface window;
and displaying a display interface window corresponding to the uncovered part of the other application in the preset display area.
4. The method of claim 2, wherein the initial display attribute is determined to remain unchanged if the first movement distance is determined to be less than the first preset threshold.
5. The method of claim 1, wherein responding to a touch screen instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display the target display attribute comprises:
detecting a second area selected by a touch point corresponding to the touch screen instruction;
and zooming the display interface window of the target application under the condition that the second area is determined to be a preset zooming area.
6. The method of claim 5, wherein zooming the display interface window of the target application comprises:
acquiring a second moving distance of the preset zooming area moving along the direction of the transverse axis of a preset display area and a third moving distance of the preset zooming area moving along the direction of the longitudinal axis of the preset display area;
and under the condition that the second moving distance and the third moving distance are both larger than a second preset threshold value, zooming the display interface window of the target application according to a preset adjusting proportion.
7. The method according to claim 1, wherein a close button is arranged on a display interface window of the target application, a target display attribute is obtained by adjusting the initial display attribute in response to a touch screen instruction, and the target application is controlled to be displayed with the target display attribute, and the method includes:
and detecting a third area selected by a touch point corresponding to the touch screen instruction, and determining to close the target application under the condition that the third area is determined to be the area where the close button is located.
8. The method of claim 1, further comprising:
marking an application stack of the target application, wherein the application stack is used for indicating a current display layer of the target application;
under the condition that operation instructions for other applications are detected, determining whether the jump type of the operation instructions is internal jump or not, and under the condition that the jump type of the operation instructions is determined to be internal jump, determining that the current display layer of the target application is kept unchanged, wherein the internal jump comprises; clicking a display interface window of the other application under the condition that the other application is opened so as to operate the other application;
determining that the display layers of the other applications are located above the current display layer of the target application under the condition that the jump type of the operation instruction is determined to be external jump, wherein the external jump comprises: the other application is launched from the application panel.
9. The method of claim 1, further comprising:
determining the time length for clicking the target application;
and under the condition that the duration is greater than the preset duration, controlling to enter an editing mode of the target application, wherein the editing mode is used for realizing each function of the target application.
10. A display device for an application, comprising:
the device comprises a first determining module, a second determining module and a display module, wherein the first determining module is used for determining a target application, judging whether a starting mode of the target application is a free window mode and whether a display coordinate is carried by the starting mode of the target application, and the free window mode is used for indicating that the size of a display interface window of the target application is adjustable and indicating that the display interface window covers the top of other applications;
the first display module is used for displaying the target application at the display coordinate according to the size of a display interface window indicated by the free window mode under the condition that the starting mode of the target application is the free window mode and carries the display coordinate;
a second determining module, configured to determine that the target application is displayed at the display coordinates in the display interface window size indicated in the free window manner as an initial display attribute of the target application;
and the second display module is used for responding to a touch instruction, adjusting the initial display attribute to obtain a target display attribute, and controlling the target application to display the target display attribute.
11. A non-volatile storage medium, comprising a stored program, wherein when the program runs, a device in which the non-volatile storage medium is located is controlled to execute a display method of an application according to any one of claims 1 to 9.
12. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions, wherein the processor is configured to execute the instructions to implement a display method of an application of any one of claims 1 to 9.
CN202210176792.2A 2022-02-24 2022-02-24 Application display method and device, storage medium and electronic equipment Pending CN114510313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210176792.2A CN114510313A (en) 2022-02-24 2022-02-24 Application display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210176792.2A CN114510313A (en) 2022-02-24 2022-02-24 Application display method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114510313A true CN114510313A (en) 2022-05-17

Family

ID=81552711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210176792.2A Pending CN114510313A (en) 2022-02-24 2022-02-24 Application display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114510313A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900693A (en) * 2018-05-25 2018-11-27 北京小米移动软件有限公司 Window display method and device
CN109254821A (en) * 2018-09-05 2019-01-22 Oppo广东移动通信有限公司 Window Zoom method, device, terminal and computer readable storage medium
CN111352677A (en) * 2018-12-20 2020-06-30 青岛海信移动通信技术股份有限公司 Interface display method and terminal of application program
CN113476841A (en) * 2021-06-30 2021-10-08 杭州闪电玩网络科技有限公司 Game interface display method and system and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900693A (en) * 2018-05-25 2018-11-27 北京小米移动软件有限公司 Window display method and device
CN109254821A (en) * 2018-09-05 2019-01-22 Oppo广东移动通信有限公司 Window Zoom method, device, terminal and computer readable storage medium
CN111352677A (en) * 2018-12-20 2020-06-30 青岛海信移动通信技术股份有限公司 Interface display method and terminal of application program
CN113476841A (en) * 2021-06-30 2021-10-08 杭州闪电玩网络科技有限公司 Game interface display method and system and electronic equipment

Similar Documents

Publication Publication Date Title
CN102981704B (en) A kind of icon placement method of display interface and mobile terminal
US11816305B2 (en) Interface display method and apparatus, and storage medium
CN104135684B (en) A kind of interface display method and device based on Firefox OS
CN112135181B (en) Video preview method and device and electronic equipment
CN109432775B (en) Split screen display method and device of game map
CN112099686B (en) Icon display control method and device and electronic equipment
CN103324478B (en) The application management method of mobile terminal and mobile terminal
CN103106005A (en) Method and device for arranging status bar icons of mobile appliance
CN104462516B (en) A kind of information cuing method and mobile terminal
CN102934065A (en) Information processing device
CN104581415A (en) Intelligent television set and tabletop switching method thereof
CN106293426A (en) Screenshotss method and apparatus based on browser of mobile terminal
CN112947923A (en) Object editing method and device and electronic equipment
CN103593180A (en) Method and device for adding files in application programs
CN102929486A (en) Terminal and link processing method
CN107294835A (en) Document sending method and device in a kind of instant messaging
CN111290678A (en) Picture preview method, device and equipment
CN114173175A (en) Media resource playing method, device, equipment and storage medium
CN114089884A (en) Desktop editing method and electronic equipment
CN113268182A (en) Application icon management method and electronic equipment
CN106155462A (en) A kind of interface alternation method and device
CN107529095A (en) A kind of video-splicing method and device
CN114510313A (en) Application display method and device, storage medium and electronic equipment
US11847294B2 (en) Method for generating desktop of mobile terminal, device and electronic device
CN114397989A (en) Parameter value setting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination