CN113407282A - Terminal desktop display method, electronic equipment and computer storage medium - Google Patents

Terminal desktop display method, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN113407282A
CN113407282A CN202110700078.4A CN202110700078A CN113407282A CN 113407282 A CN113407282 A CN 113407282A CN 202110700078 A CN202110700078 A CN 202110700078A CN 113407282 A CN113407282 A CN 113407282A
Authority
CN
China
Prior art keywords
window
application
desktop
target
information
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
CN202110700078.4A
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
Hubei Ecarx Technology 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 Hubei Ecarx Technology Co Ltd filed Critical Hubei Ecarx Technology Co Ltd
Priority to CN202110700078.4A priority Critical patent/CN113407282A/en
Publication of CN113407282A publication Critical patent/CN113407282A/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

Landscapes

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

Abstract

The invention provides a display method of a terminal desktop, electronic equipment and a computer storage medium, wherein the method comprises the following steps: after a desktop system of the terminal is started, configuration information of a current scene is called from a preset scene configuration file corresponding to a free window mode, wherein the configuration information of the current scene comprises at least one application identifier and corresponding window information, and the window information comprises a window size and corresponding desktop coordinates; and displaying the application corresponding to the at least one application identifier on the terminal desktop in a window with the size of each window and the desktop coordinate according to the information of each window. Based on the technical scheme provided by the invention, each window is reconstructed based on Activity, so that each window can multiplex the application life cycle management, the problem of window hierarchy is avoided, the existing application can be directly multiplexed, and the application adaptation cost is low.

Description

Terminal desktop display method, electronic equipment and computer storage medium
Technical Field
The present invention relates to the field of computers, and in particular, to a method for displaying a terminal desktop, an electronic device, and a computer storage medium.
Background
At present, most desktop systems of the car machines are displayed in a widget (widget) or window form mode, and therefore the problems of asynchronous switching, desktop (Launcher) life cycle dependent window disappearance callback and high application adaptation cost exist in interactive experience.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a display method of a terminal desktop, an electronic device, and a computer storage medium that overcome or at least partially solve the above problems.
According to an aspect of the present invention, there is provided a method for displaying a terminal desktop, including:
after a desktop system of the terminal is started, configuration information of a current scene is called from a preset scene configuration file corresponding to a free window mode, wherein the configuration information of the current scene comprises at least one application identifier and corresponding window information, and the window information comprises a window size and corresponding desktop coordinates;
and displaying the application corresponding to the at least one application identifier on the terminal desktop in a window with the size of each window and the desktop coordinate according to the information of each window.
Optionally, after displaying the application corresponding to the at least one application identifier on a terminal desktop in a window of each window size and a desktop coordinate according to the information of each window, the method further includes:
receiving a scene switching instruction, and determining a target scene corresponding to the scene switching instruction according to the current scene of the terminal desktop;
target scene configuration information of the target scene is called from the scene configuration file, the target scene configuration information comprises at least one target application identifier and corresponding target window information, and the target window information comprises the size of a target window and corresponding target desktop coordinates;
and displaying the application corresponding to the at least one target application identifier on a terminal desktop in a target window with the size of each target window and the coordinates of the target desktop according to the target window information.
Optionally, after displaying the application corresponding to the at least one application identifier in a window of the size and the desktop coordinate of each window in a free window mode according to the information of each window, the method further includes:
monitoring application exchange events for any two windows;
and when the application exchange events aiming at any two windows are monitored, controlling the application exchange windows of the two windows to display.
Optionally, the monitoring application exchange events for any two windows includes:
monitoring a dragging event aiming at an application in any window and acquiring dragging information of the dragging event, wherein the dragging information comprises a dragging terminal point;
and judging whether the dragging end point is positioned in a target area range of another window with the window center as the middle point, and if so, determining that an application exchange event occurs.
Optionally, after displaying the application corresponding to the at least one application identifier on the terminal desktop in a window of each window size and desktop coordinate according to the information of each window, the method further includes:
receiving a full screen display instruction aiming at any application;
and closing other application windows of the terminal desktop according to the full-screen display instruction and hiding a fixed taskbar to display the application in a full screen.
According to another aspect of the present invention, there is also provided an electronic apparatus, including:
a processor;
a memory storing a computer program;
the computer program, when executed by the processor, causes the electronic device to perform the method of any of the above.
According to yet another aspect of the invention, there is also provided a computer storage medium having stored therein at least one instruction, at least one program, set of code or set of instructions, which is loaded by a processor and which performs a method as claimed in any preceding claim.
In the invention, after a desktop system of a terminal is started, configuration information of a current scene is firstly called from a preset scene configuration file corresponding to a free window mode, the configuration information of the current scene comprises at least one application identifier and corresponding window information, the window information comprises a window size and corresponding desktop coordinates, and then the application corresponding to the at least one application identifier is displayed on a terminal desktop in a window with the window size and the desktop coordinates according to the window information. Based on the scheme provided by the invention, each window is reconstructed based on Activity, so that each window can multiplex application full-life-cycle management without the problem of window hierarchy, in addition, the existing application can be directly multiplexed, and the application adaptation cost is low.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Some specific embodiments of the invention will be described in detail hereinafter, by way of illustration and not limitation, with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
fig. 1 is a schematic flowchart of a display method of a terminal desktop according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a terminal desktop according to one embodiment of the present invention;
FIG. 3 is a first diagram of a terminal desktop in accordance with a preferred embodiment of the present invention;
FIG. 4 is a second diagram of a terminal desktop in accordance with a preferred embodiment of the present invention;
FIG. 5 is a schematic diagram of a terminal desktop according to another preferred embodiment of the present invention;
fig. 6 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that the technical features of the embodiments and alternative embodiments of the present invention may be combined with each other without conflict.
Fig. 1 is a schematic flowchart of a display method of a terminal desktop according to an embodiment of the present invention. Referring to fig. 1, the method may include at least the following steps.
Step S102: after a desktop system of the terminal is started, configuration information of a current scene is called from a preset scene configuration file corresponding to a free window mode, wherein the configuration information of the current scene comprises at least one application identifier and corresponding window information, and the window information comprises a window size and corresponding desktop coordinates;
step S104: and displaying the application corresponding to at least one application identifier on the terminal desktop by the window with the size of each window and the desktop coordinates according to the information of each window.
The terminal is, for example, a mobile device, a computer, or a vehicle.
The application identification is used to distinguish different applications, such as application names.
In the embodiment of the invention, after a desktop system of a terminal is started, configuration information of a current scene is firstly called from a preset scene configuration file corresponding to a free window mode, the configuration information of the current scene comprises at least one application identifier and corresponding window information, the window information comprises a window size and corresponding desktop coordinates, and then at least one application corresponding to the application identifier is displayed on a terminal desktop in a window with the window size and the desktop coordinates according to the window information. Based on the scheme provided by the invention, each window is reconstructed based on Activity, so that each window can multiplex application full-life-cycle management without the problem of window hierarchy, in addition, the existing application can be directly multiplexed, and the application adaptation cost is low.
Fig. 2 is a schematic diagram of a terminal desktop according to an embodiment of the present invention. Referring to fig. 2, after the terminal system is started, the terminal desktop is subjected to application and window layout according to the configuration information of the current scene, so that the current scene can be displayed on the terminal desktop. In the current scene corresponding to the terminal desktop shown in fig. 2, a fixed taskbar (including a leftmost window and a left second column of windows), a first application and a second application are arranged from left to right in sequence.
Specifically, after the desktop system of the terminal is started, window information may be obtained, for example, a window is generally rectangular, the window information (100, 50, 600, 300) represents a distance between each side of the window and upper, lower, left, and right boundaries of the terminal desktop, a window corresponding to a window size and desktop coordinates may be planned on the terminal desktop based on the window information, and an application corresponding to an application identifier is displayed in the window.
In a preferred embodiment of the present invention, after the step S104, the method further includes: receiving a scene switching instruction, and determining a target scene corresponding to the scene switching instruction according to a current scene of a terminal desktop; and calling target scene configuration information of a target scene from the scene configuration file, wherein the target scene configuration information comprises at least one target application identifier and corresponding target window information, and the target window information comprises the size of a target window and corresponding target desktop coordinates. And displaying the application corresponding to at least one target application identifier on the terminal desktop according to the target window information by using the target window with the size of each target window and the desktop coordinates. Therefore, the user can adjust the scene of the terminal desktop as required, and the use experience of the user is improved.
FIG. 3 is a first diagram of a terminal desktop in accordance with a preferred embodiment of the present invention; fig. 4 is a second diagram of a terminal desktop according to a preferred embodiment of the present invention. Referring to fig. 2-4, the scene switching instruction may be issued by a user clicking a preset scene switching button on the terminal desktop, for example, a button located at a middle position in a navigation bar at the leftmost side of the terminal desktop. If the current scene of the terminal desktop when the scene switching instruction is received is the scene shown in fig. 2, for example, scene 1, it may be determined that the target scene corresponding to the scene switching instruction is scene 2, and the configuration information of scene 2 may be retrieved from the configuration file, and the terminal desktop is applied and window-planned according to the configuration information of scene 2, so that the terminal desktop is displayed as shown in fig. 3. Specifically, in FIG. 3, the first application is displayed in a larger window and the second application is dismissed; if the current scene of the terminal desktop is the scene shown in fig. 3, i.e., the scene 2, when the scene switching instruction is received, it may be determined that the target scene is the scene 3, and then the terminal desktop may be displayed as shown in fig. 4 according to the configuration information of the scene 3, i.e., the first application window is reduced and the third application window is newly added.
In a preferred embodiment of the present invention, after the step S104, the method further includes: monitoring application exchange events for any two windows; and when the application exchange events aiming at any two windows are monitored, controlling the application exchange windows of the two windows to display. Therefore, the user can adjust the application displayed by the window according to the requirement, and the user experience is further improved.
Specifically, monitoring application exchange events for any two windows includes: the method includes monitoring a drag event for an application within any window and acquiring drag information of the drag event, the drag information including a drag endpoint. And then judging whether the dragging end point is positioned in a target area range of another window with the window center as the middle point, and if so, determining that an application exchange event occurs.
The target region may be a circular region or a rectangular region having a center of the window as a midpoint, and the shape of the target region is not particularly limited in the present invention.
Fig. 5 is a schematic diagram of a terminal desktop according to another preferred embodiment of the present invention. Referring to fig. 4 and 5, the two windows where the application exchange event occurs are the first application window and the third application window.
In a preferred embodiment of the present invention, after the step S104, the method further comprises: and receiving a full-screen display instruction aiming at any application, closing other application windows of the terminal desktop according to the full-screen display instruction and hiding the fixed taskbar to display the application in a full screen mode. Therefore, the user can enlarge the application window according to the requirement, and the user experience is further improved.
Specifically, as shown in fig. 2 to 5, a full-screen display instruction for an application, which is issued by a user by clicking an enlarged icon on the upper right corner of a window of any application, may be received, and after receiving the full-screen display instruction, the terminal desktop exits from the free window mode, that is, other application windows of the terminal desktop are closed and the fixed taskbar is hidden, and the stack where the application is located is set to the full-screen mode, so that the application is displayed in the full-screen mode.
Based on the same inventive concept, the invention further provides an electronic device 600, and fig. 6 is a schematic structural block diagram of the electronic device according to an embodiment of the invention. Referring to fig. 6, the electronic device 600 comprises a processor 610 and a memory 620 in which computer programs 621 are stored; the computer program 621, when executed by the processor 610, causes the electronic device 600 to perform the method according to any of the embodiments described above.
Further, the electronic device 600 is a vehicle-mounted electronic device, or an edge server, or a cloud server.
Further, the Vehicle-mounted electronic device may specifically be a driving brain, or a Vehicle machine, a DHU (integrated machine of entertainment host and meter), an IHU (information entertainment Unit), an IVI (In-Vehicle information entertainment system), or any Vehicle-mounted information interaction terminal.
Based on the same inventive concept, the present invention also proposes a computer storage medium having at least one instruction, at least one program, set of code, or set of instructions stored therein, the at least one instruction, the at least one program, set of code, or set of instructions being loaded by a processor and executing the method according to any of the above embodiments.
The invention provides a terminal desktop display method, electronic equipment and a computer storage medium. Based on the scheme provided by the invention, each window is reconstructed based on Activity, so that each window can multiplex application full-life-cycle management without the problem of window hierarchy, in addition, the existing application can be directly multiplexed, and the application adaptation cost is low.
It is clear to those skilled in the art that the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and for the sake of brevity, further description is omitted here.
In addition, the functional units in the embodiments of the present invention may be physically independent of each other, two or more functional units may be integrated together, or all the functional units may be integrated in one processing unit. The integrated functional units may be implemented in the form of hardware, or in the form of software or firmware.
Those of ordinary skill in the art will understand that: the integrated functional units, if implemented in software 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 invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computing device (e.g., 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 invention when the instructions are executed. And the aforementioned storage medium includes: u disk, removable hard disk, Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disk, and other various media capable of storing program code.
Alternatively, all or part of the steps of implementing the foregoing method embodiments may be implemented by hardware (such as a computing device, e.g., a personal computer, a server, or a network device) associated with program instructions, which may be stored in a computer-readable storage medium, and when the program instructions are executed by a processor of the computing device, the computing device executes all or part of the steps of the method according to the embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments can be modified or some or all of the technical features can be equivalently replaced within the spirit and principle of the present invention; such modifications or substitutions do not depart from the scope of the present invention.

Claims (7)

1. A display method of a terminal desktop comprises the following steps:
after a desktop system of the terminal is started, configuration information of a current scene is called from a preset scene configuration file corresponding to a free window mode, wherein the configuration information of the current scene comprises at least one application identifier and corresponding window information, and the window information comprises a window size and corresponding desktop coordinates;
and displaying the application corresponding to the at least one application identifier on the terminal desktop in a window with the size of each window and the desktop coordinate according to the information of each window.
2. The method according to claim 1, wherein after displaying the application corresponding to the at least one application identifier on a terminal desktop in a window of each window size and desktop coordinates according to the information of each window, the method further comprises:
receiving a scene switching instruction, and determining a target scene corresponding to the scene switching instruction according to the current scene of the terminal desktop;
target scene configuration information of the target scene is called from the scene configuration file, the target scene configuration information comprises at least one target application identifier and corresponding target window information, and the target window information comprises the size of a target window and corresponding target desktop coordinates;
and displaying the application corresponding to the at least one target application identifier on a terminal desktop in a target window with the size of each target window and the coordinates of the target desktop according to the target window information.
3. The method according to claim 1, wherein after displaying the application corresponding to the at least one application identifier in a window of each window size and desktop coordinates in a free window mode according to the information of each window, the method further comprises:
monitoring application exchange events for any two windows;
and when the application exchange events aiming at any two windows are monitored, controlling the application exchange windows of the two windows to display.
4. The method of claim 3, wherein the monitoring application exchange events for any two windows comprises:
monitoring a dragging event aiming at an application in any window and acquiring dragging information of the dragging event, wherein the dragging information comprises a dragging terminal point;
and judging whether the dragging end point is positioned in a target area range of another window with the window center as the middle point, and if so, determining that an application exchange event occurs.
5. The method according to claim 1, wherein after displaying the application corresponding to the at least one application identifier on the terminal desktop in a window of each window size and desktop coordinates according to the window information, the method further comprises:
receiving a full screen display instruction aiming at any application;
and closing other application windows of the terminal desktop according to the full-screen display instruction and hiding a fixed taskbar to display the application in a full screen.
6. An electronic device, comprising:
a processor;
a memory storing a computer program;
the computer program, when executed by the processor, causes the electronic device to perform the method of any of claims 1-5.
7. A computer storage medium having stored therein at least one instruction, at least one program, a set of code or instructions, which is loaded by a processor and which performs the method of any one of claims 1 to 5.
CN202110700078.4A 2021-06-23 2021-06-23 Terminal desktop display method, electronic equipment and computer storage medium Pending CN113407282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110700078.4A CN113407282A (en) 2021-06-23 2021-06-23 Terminal desktop display method, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110700078.4A CN113407282A (en) 2021-06-23 2021-06-23 Terminal desktop display method, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN113407282A true CN113407282A (en) 2021-09-17

Family

ID=77682720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110700078.4A Pending CN113407282A (en) 2021-06-23 2021-06-23 Terminal desktop display method, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN113407282A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805748A (en) * 2021-09-18 2021-12-17 湖北亿咖通科技有限公司 Interface display method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment
CN110764844A (en) * 2019-10-25 2020-02-07 芜湖盟博科技有限公司 Multi-application window custom layout method on vehicle-mounted system
CN112988312A (en) * 2021-05-11 2021-06-18 湖北亿咖通科技有限公司 Desktop application window management system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750317A (en) * 2019-08-31 2020-02-04 华为技术有限公司 Desktop editing method and electronic equipment
CN110764844A (en) * 2019-10-25 2020-02-07 芜湖盟博科技有限公司 Multi-application window custom layout method on vehicle-mounted system
CN112988312A (en) * 2021-05-11 2021-06-18 湖北亿咖通科技有限公司 Desktop application window management system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805748A (en) * 2021-09-18 2021-12-17 湖北亿咖通科技有限公司 Interface display method, device and storage medium

Similar Documents

Publication Publication Date Title
US9098942B2 (en) Legend indicator for selecting an active graph series
CN106327540B (en) Control method, device and terminal based on OpenGL View
US20120146900A1 (en) Graphic user interface pointer control
CN111770229B (en) Network connection mode setting method and device
CN107977131B (en) Display device control method, storage medium, control device, and display device
CN110807161A (en) Page framework rendering method, device, equipment and medium
CN110083417B (en) User interface response method and device
CN113407282A (en) Terminal desktop display method, electronic equipment and computer storage medium
CN114117274A (en) Data rendering method and device, computer equipment and storage medium
CN111338672A (en) Method, electronic device, and computer storage medium for optimizing application updates
EP2608003B1 (en) Method and device for movement of image object
CN113485629B (en) Touch event processing method and device, storage medium and electronic equipment
CN115562777A (en) Target activity display method and device, electronic equipment and storage medium
CN114816684A (en) Business processing method, device, equipment, readable storage medium and product
CN112947828A (en) Control display method and device
US20150100925A1 (en) Menu Showing Method, Apparatus, and Device
CN112433723A (en) Personalized list development method and device
CN108268192B (en) List operation method and device
CN108415647B (en) Mouse action positioning method and system of seat management system
CN112306838A (en) Page layout compatibility testing method, device and equipment and readable storage medium
CN110851227B (en) Display control method and electronic equipment
CN111870946B (en) Information processing method, apparatus, device and computer readable storage medium
US20240202014A1 (en) Interface scheduling method and device, and computing device
US9733783B1 (en) Controlling a user interface
CN114281221B (en) Control method and device for vehicle-mounted display screen, vehicle 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220322

Address after: 430051 No. b1336, chuanggu startup area, taizihu cultural Digital Creative Industry Park, No. 18, Shenlong Avenue, Wuhan Economic and Technological Development Zone, Wuhan, Hubei Province

Applicant after: Yikatong (Hubei) Technology Co.,Ltd.

Address before: 430056 building B (qdxx-f7b), No.7 building, qiedixiexin science and Technology Innovation Park, South taizihu innovation Valley, Wuhan Economic and Technological Development Zone, Hubei Province

Applicant before: HUBEI ECARX TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210917