Desktop control method and device, storage medium and electronic device

By generating a desktop application configuration interface and allowing users to specify a desktop application that is opened by default, the pain points of users frequently selecting and modifying default applications in the prior art are solved, achieving better user experience and operational convenience.

CN113625913BActive Publication Date: 2025-01-17HUNAN HAPPLY SUNSHINE INTERACTIVE ENTERTAINMENT MEDIA CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110957565.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-18
Publication Date
2025-01-17
Estimated Expiration
2041-08-18

AI Technical Summary

Technical Problem

The existing desktop control scheme causes users to frequently select the desktop application that is opened by default every time they start the terminal device, and to restore the factory settings when modifying the default application, resulting in poor user experience.

Method used

Provide a desktop control method and device, which generates a desktop application configuration interface, allows users to enter operation instructions to specify the desktop application that is opened by default, and automatically open the user-specified desktop application or system default application when the terminal device is started or needed to avoid frequent choose.

Benefits of technology

Improves user experience, allowing users to easily set and modify desktop applications that are open by default without factory reset, simplifying operational processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113625913B_ABST
    Figure CN113625913B_ABST
Patent Text Reader

Abstract

The present application provides a desktop control method and device, a storage medium and an electronic device, including: generating a desktop application configuration interface in response to a user's desktop application change instruction, the desktop application configuration interface including application identifiers of various desktop applications pre-provided in the terminal device, so that the user can input an operation instruction through the desktop application configuration interface, use the desktop application corresponding to the operation instruction as the user-specified desktop application, and control the opening of a preset page of the user-specified desktop application, so that the preset page of the user-specified desktop application is used as the desktop of the terminal device. It can be seen that in the present application scheme, the user can set the desktop application to be opened by default, and can modify the desktop application to be opened by default without restoring the terminal device to factory settings, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of terminal device management, and in particular to a desktop control method and device, a storage medium and an electronic device. Background Art

[0002] Multiple desktop applications can be installed in the terminal device, and the user can select a desktop application to be opened by default from the multiple desktop applications to control the desktop.

[0003] The existing desktop control solution is: during the startup of the terminal device or after the user presses the home button, the terminal device will pop up a desktop application selection box. The user can select the default desktop application through the Just Once button and the Always button in the desktop application selection box. If the user selects the Just Once button, then each time the terminal device is started or after the user presses the home button, the desktop application selection box will pop up, causing the user to execute the selection instruction every time. If the user selects the Always button, then if the user subsequently wants to modify the default desktop application, the terminal device must be restored to factory settings before it can be modified, resulting in a poor user experience. Summary of the invention

[0004] The present application provides a desktop control method and device, a storage medium and an electronic device, aiming to solve the problem of poor user experience caused by current desktop control solutions.

[0005] In order to achieve the above objectives, this application provides the following technical solutions:

[0006] A desktop control method, applied to a terminal device, comprising:

[0007] In response to a desktop application change instruction from a user, a desktop application configuration interface is generated; the desktop application configuration interface includes application identifiers of various desktop applications pre-provided by the terminal device;

[0008] Acquire an operation instruction input by the user through the desktop application configuration interface, and use the desktop application corresponding to the operation instruction as the user-specified desktop application;

[0009] Control to open the preset page of the user-specified desktop application so that the preset page of the user-specified desktop application serves as the desktop of the terminal device.

[0010] The above method may optionally further include:

[0011] When the terminal device is started or receives a desktop opening instruction, determining whether there is a user-specified desktop application in the terminal device;

[0012] If the user-specified desktop application exists in the terminal device, controlling to open a preset page of the user-specified desktop application;

[0013] If there is no user-specified theme application, the control opens the preset page of the system default desktop application.

[0014] The above method may optionally further include:

[0015] In response to an upgrade instruction for a current desktop application, determining whether the current desktop application is a desktop application specified by a user; the current desktop application is a desktop application currently being used by the terminal device;

[0016] If the current desktop application is a desktop application specified by the user, after the current desktop application is upgraded, controlling to open a preset page of the upgraded current desktop application;

[0017] If the current desktop application is not a user-specified desktop application, determine whether there is a user-specified desktop application in the terminal device; if there is a user-specified desktop application in the terminal device, control the opening of a preset page of the user-specified desktop application; if there is no user-specified desktop application in the terminal device, then: determine whether the current desktop application is a system default desktop application. If the current desktop application is a system default desktop application, then after the current desktop application is upgraded, control the opening of the preset page of the upgraded current desktop application. If the current desktop application is not a system default desktop application, control the opening of the preset page of the system default desktop application.

[0018] The above method may optionally further include:

[0019] In response to an uninstall instruction for the current desktop application, determining whether the current desktop application is a user-specified desktop application;

[0020] If the current desktop application is a user-specified desktop application, controlling to open a preset page of a system default desktop application;

[0021] If the current desktop application is not a user-specified desktop application, determining whether the user-specified desktop application exists in the terminal device; if the user-specified desktop application exists in the terminal device, controlling to open a preset page of the user-specified desktop application; if the user-specified desktop application does not exist in the terminal device, controlling to open a preset page of the system default desktop application;

[0022] An uninstall operation is performed on the current desktop application.

[0023] In the above method, optionally, the controlling of opening a preset page of the user-specified desktop application includes:

[0024] Obtain application information of the desktop application specified by the user;

[0025] According to the application information of the user-specified desktop application, control to open a preset page of the user-specified desktop application.

[0026] A desktop control device, applied to a terminal device, comprising:

[0027] A generating unit, configured to generate a desktop application configuration interface in response to a desktop application change instruction from a user; the desktop application configuration interface includes application identifiers of various desktop applications pre-provided in the terminal device;

[0028] An acquisition unit, configured to acquire an operation instruction input by the user through the desktop application configuration interface, and use the desktop application corresponding to the operation instruction as the user-specified desktop application;

[0029] The first control unit is used to control the opening of the preset page of the user-specified desktop application, so that the preset page of the user-specified desktop application serves as the desktop of the terminal device.

[0030] The above device may optionally further include:

[0031] A first determination unit, configured to determine whether a user-specified desktop application exists in the terminal device when the terminal device is started or receives a desktop opening instruction;

[0032] A second control unit, configured to control opening of a preset page of a user-specified desktop application if the user-specified desktop application exists in the terminal device;

[0033] The third control unit is used to control opening of a preset page of the system default desktop application if there is no user-specified theme application.

[0034] The above device may optionally further include:

[0035] A second judgment unit is used to respond to an upgrade instruction for a current desktop application and judge whether the current desktop application is a desktop application specified by a user; the current desktop application is a desktop application currently being used by the terminal device;

[0036] A fourth control unit, configured to control opening of a preset page of the upgraded current desktop application after the current desktop application is upgraded if the current desktop application is a user-specified desktop application;

[0037] The third judgment unit is used to judge whether there is a user-specified desktop application in the terminal device if the current desktop application is not a user-specified desktop application; if there is a user-specified desktop application in the terminal device, control the opening of a preset page of the user-specified desktop application; if there is no user-specified desktop application in the terminal device, then: judge whether the current desktop application is a system default desktop application, if the current desktop application is the system default desktop application, then after the current desktop application is upgraded, control the opening of the preset page of the upgraded current desktop application; if the current desktop application is not the system default desktop application, control the opening of the preset page of the system default desktop application.

[0038] A storage medium stores an instruction set, wherein the instruction set implements the above-mentioned desktop control method when executed by a processor.

[0039] An electronic device, comprising:

[0040] A memory for storing at least one set of instructions;

[0041] The processor is used to execute the instruction set stored in the memory, and implement the desktop control method as mentioned above by executing the instruction set.

[0042] Compared with the prior art, this application has the following advantages:

[0043] The present application provides a desktop control method and device, a storage medium and an electronic device, including: generating a desktop application configuration interface in response to a user's desktop application change instruction, the desktop application configuration interface including application identifiers of various desktop applications pre-provided in the terminal device, so that the user can input an operation instruction through the desktop application configuration interface, use the desktop application corresponding to the operation instruction as the user-specified desktop application, and control the opening of a preset page of the user-specified desktop application, so that the preset page of the user-specified desktop application is used as the desktop of the terminal device. It can be seen that in the present application scheme, the user can set the desktop application to be opened by default, and can modify the desktop application to be opened by default without restoring the terminal device to factory settings, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0045] Figure 1 A method flow chart of a desktop control method provided by this application;

[0046] Figure 2 A flowchart of another method of a desktop control method provided by the present application;

[0047] Figure 3 A flowchart of another method of a desktop control method provided by the present application;

[0048] Figure 4 Another method flow chart of a desktop control method provided by the present application;

[0049] Figure 5 A schematic diagram of the structure of a desktop control system provided in this application;

[0050] Figure 6 A schematic diagram of the structure of a desktop control device provided in this application;

[0051] Figure 7 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0054] It should be noted that the concepts such as "first" and "second" mentioned in the present application are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0055] It should be noted that the modifications of "one" and "plurality" mentioned in the disclosure of this application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0056] The present application embodiment provides a desktop control method, which is applied to a terminal device, and the terminal device includes but is not limited to a handheld device, a portable device, a tablet device, or a smart TV. The flowchart of the desktop control method is as follows Figure 1 As shown, specifically including:

[0057] S101. In response to a desktop application change instruction from a user, generate a desktop application configuration interface; the desktop application configuration interface includes application identifiers of various desktop applications pre-configured in a terminal device.

[0058] In this embodiment, a desktop application change instruction from a user is received, a response is given to the desktop application change instruction from the user, and a desktop application configuration interface is generated, wherein the desktop application configuration interface includes application identifiers of various desktop applications pre-provided in the terminal device, the application identifiers include but are not limited to the names and icons of the desktop applications, and optionally, the application identifiers are displayed in the desktop application configuration interface in a form including but not limited to a drop-down menu or a list.

[0059] In this embodiment, the interactive interface is preset, and the preset controls in the interactive interface may be, but are not limited to, buttons for triggering changes in desktop applications, tool items in a toolbar, and the like.

[0060] In this embodiment, the desktop application change instruction is an instruction issued by the user by clicking a preset control in a preset interactive interface of the terminal device when there is a demand for setting a default desktop application or a demand for changing a default desktop application.

[0061] S102: Acquire an operation instruction input by a user through a desktop application configuration interface, and use a desktop application corresponding to the operation instruction as a user-specified desktop application.

[0062] In this embodiment, the user can enter operation instructions through the desktop application configuration interface to select the desktop application to be opened by default. Optionally, the user can enter operation instructions through the desktop application configuration interface in ways including but not limited to voice, keyboard, mouse operation, and entering application name.

[0063] In this embodiment, after the user can input an operation instruction through the desktop application configuration interface, the operation instruction input by the user is obtained, and the desktop application corresponding to the operation instruction is obtained, and the desktop application selected by the user is used as the user-specified desktop application, that is, the desktop application corresponding to the operation instruction is used as the default opened desktop application.

[0064] In this embodiment, the system property preset to characterize the default desktop application selected by the user can be represented by persist.launcher.name. The package name of the default desktop application is pre-set. Optionally, the package name can be com.mgtv.mgui. The package name is pre-stored in another property (such as ro.sys.launcher.name) in the application system of the terminal device.

[0065] In this embodiment, after the user inputs an operation instruction through the desktop application configuration interface, the system property persist.launcher.name is set to the package name of the desktop application corresponding to the operation instruction.

[0066] In this embodiment, a home page control variable is preset for representing the home page control, and optionally, it can be represented by mHomeInten; a process class is preset for managing system processes, and the process class can be represented by PhoneWindowManager.java; a management class is preset for managing application packages, and the management class can be represented by chooseBestActivit; a method for representing selecting an activity is preset, and optionally, it can be represented by chooseBestActivity.

[0067] In this embodiment, in the initialization init method of PhoneWindowManager.java of the operating system of the terminal device, the value of mHomeIntent is changed according to the persist.launcher.name property value; in the chooseBestActivity method of PackageManagerService.java, the return value of the function is changed according to the persist.launcher.name property value. Preferably, the operating system is an Android system.

[0068] S103: Control opening of a preset page of a desktop application specified by a user, so that the preset page of the desktop application specified by the user serves as the desktop of the terminal device.

[0069] In this embodiment, the preset page of the user-specified desktop application is controlled to be opened. Optionally, the main interface of the user-specified desktop application is controlled to be opened, so that the main interface of the user-specified desktop application serves as the desktop of the terminal device.

[0070] Specifically, the process of controlling the user to specify a preset page of a desktop application includes the following steps:

[0071] Get the application information of the desktop application specified by the user;

[0072] According to the application information of the desktop application specified by the user, control to open the preset page of the desktop application specified by the user.

[0073] In this embodiment, based on obtaining the application information of the desktop application specified by the user, that is, obtaining the application information of the desktop application that is opened by default, according to the application information, control is exercised to open the preset page of the desktop application specified by the user, that is, the application information of the desktop specified by the user is loaded, thereby realizing opening the preset page of the desktop application specified by the user.

[0074] The desktop control method provided in the embodiment of the present application generates a desktop application configuration interface in response to a user's desktop application change instruction. The desktop application configuration interface includes application identifiers of various desktop applications pre-provided in the terminal device, so that the user can input an operation instruction through the desktop application configuration interface, use the desktop application corresponding to the operation instruction as the user-specified desktop application, and control the opening of the preset page of the user-specified desktop application, so that the preset page of the user-specified desktop application is used as the desktop of the terminal device. By using the desktop control method provided in the embodiment of the present application, the user can set the desktop application that opens by default, and can modify the desktop application that opens by default without restoring the terminal device to factory settings, thereby improving the user experience.

[0075] See also Figure 2 The desktop control method provided in the embodiment of the present application may further include the following steps:

[0076] S201. When the terminal device is started or receives a desktop opening instruction, determine whether there is a user-specified desktop application in the terminal device. If so, execute S202; if not, execute S203.

[0077] In this embodiment, when the terminal device is started or receives a desktop opening instruction, it is determined whether there is a user instruction desktop application in the terminal device, wherein the desktop opening instruction is an instruction issued by the user pressing the homepage control.

[0078] In this embodiment, the process of determining whether a user-specified desktop application exists in the terminal device specifically includes: determining whether a system property persist.launcher.name is assigned a property value; if so, determining whether application information of a desktop application corresponding to the property value of persist.launcher.name exists in the terminal device; if application information of a desktop application corresponding to the property value of persist.launcher.name exists in the terminal device, it is determined that a user-specified desktop application exists in the terminal device; if a system property persist.launcher.name is not assigned a property value, or application information of a desktop application corresponding to the property value of persist.launcher.name does not exist in the terminal device, it is determined that a user-specified desktop application does not exist in the terminal device.

[0079] S202: Control opening of a preset page of a desktop application specified by a user.

[0080] In this embodiment, if there is a user-specified desktop application in the terminal device, the preset page of the user-specified desktop application is controlled to be opened. Specifically, the preset page of the user-specified desktop application is loaded so that the preset page of the user-specified desktop is used as the desktop of the terminal device.

[0081] S203: Control opening of a preset page of a system default desktop application.

[0082] In this embodiment, the device system defaults to the desktop application in advance in the operating system of the terminal device.

[0083] In this embodiment, if the user-specified desktop application does not exist in the terminal device, the application information of the system default desktop application is obtained, and the application information of the system default desktop application is loaded to open the preset page of the system default desktop application, so that the preset page of the system default desktop application is used as the desktop of the terminal device.

[0084] This embodiment, embodiment Figure 2 The specific implementation of the business logic of each step is described as follows:

[0085] In the chooseBestActivity method of PackageManagerService.java of the operating system, the service logic of ResolveInfo ri = findPreferredActivity(intent,resolvedType,flags,query,r0.priority,true,false,debug,userId) is intercepted according to the value of pln. If the system needs to start the desktop, the corresponding desktop application information will be returned in advance according to the value of pln, and the desktop startup module will pull up the main interface of the corresponding desktop based on the information. During this process, the desktop application selection box of the operating system will not pop up.

[0086] In the desktop control method provided in the embodiment of the present application, when the terminal device is started or receives a desktop opening instruction, the desktop application selection box will not pop up. Instead, it is directly determined whether there is a user-specified desktop application in the terminal device. If so, the preset page of the user-specified desktop application is controlled to open. If not, the preset page of the system default desktop application is controlled to open. Therefore, the user does not need to perform the selection operation again, thereby improving the user experience.

[0087] See also Figure 3 The desktop control method provided in the embodiment of the present application may further include the following steps:

[0088] S301. Respond to an upgrade instruction for the current desktop application, determine whether the current desktop application is a user-specified desktop application, if so, execute S302, if not, execute S303.

[0089] In this embodiment, an upgrade instruction for the current desktop application is received, the upgrade instruction is responded to, and it is determined whether the current desktop application is a user-specified desktop application, wherein the upgrade instruction may be a silent upgrade instruction, that is, a scheduled upgrade instruction. The current desktop application is the desktop application currently being used by the terminal device, that is, the desktop application currently in the startup state.

[0090] S302: After the current desktop application is upgraded, control the opening of a preset page of the upgraded current desktop application.

[0091] In this embodiment, if the current desktop application is a user-specified desktop application, the current desktop application is waited for to be upgraded, and after the upgrade of the current desktop application is completed, the preset page of the upgraded current desktop application is controlled to be opened, that is, the application information of the upgraded current desktop application is obtained, and the application information is loaded to realize the opening of the preset page of the upgraded current desktop application, so that the preset page of the upgraded current desktop application is the desktop of the terminal device.

[0092] In this embodiment, if the current desktop application is the system default desktop application and there is no user-specified desktop application in the terminal device, the current desktop application is waited for to be upgraded, and after the upgrade of the current desktop application is completed, the preset page of the upgraded current desktop application is controlled to be opened, that is, the application information of the upgraded current desktop application is obtained, and the application information is loaded to realize the opening of the preset page of the upgraded current desktop application, so that the preset page of the upgraded current desktop application is the desktop of the terminal device.

[0093] S303: Determine whether there is a user-specified desktop application in the terminal device. If so, execute S304; if not, execute S305.

[0094] In this embodiment, if the current desktop application is not a user-specified desktop application, it is determined whether there is a user-specified desktop application in the terminal device. Specifically, it is determined whether the system property persist.launcher.name is assigned a property value. If so, it is determined whether there is application information of the desktop application corresponding to the property value of persist.launcher.name in the terminal device. If there is application information of the desktop application corresponding to the property value of persist.launcher.name in the terminal device, it is determined that there is a user-specified desktop application in the terminal device. If the system property persist.launcher.name is not assigned a property value, or there is no application information of the desktop application corresponding to the property value of persist.launcher.name in the terminal device, it is determined that there is no user-specified desktop application in the terminal device.

[0095] S304: Control opening of a preset page of a desktop application specified by a user.

[0096] In this embodiment, if there is a user-specified desktop application in the terminal device, the preset page of the user-specified desktop application is controlled to open, that is, the application information of the user-specified desktop application is obtained, and the application information is loaded to realize opening the preset page of the user-specified desktop application, so that the preset page of the user-specified desktop application is the desktop of the terminal device.

[0097] S305: Determine whether the current desktop application is the system default desktop application. If so, execute S302; if not, execute S306.

[0098] In this embodiment, if the current desktop application is not a user-specified desktop application and the user-specified desktop application does not exist in the terminal device, it is further determined whether the current desktop application is a system default desktop application.

[0099] S306: Control opening of a preset page of a system default desktop application.

[0100] In this embodiment, if the current desktop is not the system default desktop application, the preset page of the system default desktop application is controlled to open, that is, the application information of the system default desktop application is obtained, and the application information is loaded to open the preset page of the system default desktop application, so that the preset page of the system default desktop application is the desktop of the terminal device.

[0101] In the desktop control method provided in the embodiment of the present application, when the current desktop application is upgraded, if the current desktop application is a user-specified desktop application, or the current desktop application is a system default desktop application and the user-specified desktop application does not exist in the terminal device, then after waiting for the current desktop application to be upgraded, control is performed to open the preset page of the upgraded current desktop application; otherwise, when there is a user-specified desktop application in the terminal device, the preset page of the user-specified desktop application is directly controlled to be opened; when there is no user-specified desktop application in the terminal device, the preset page of the system default desktop application is directly controlled to be opened without waiting for the current desktop application to be upgraded.

[0102] See also Figure 4 The desktop control method provided in the embodiment of the present application may further include the following steps:

[0103] S401. Respond to an uninstall instruction for the current desktop application, determine whether the current desktop application is a user-specified desktop application, if so, execute S402, if not, execute S403.

[0104] In this embodiment, an uninstall instruction for the current desktop application is received, a response is made to the uninstall instruction, and a determination is made as to whether the current desktop application is a user-specified desktop application, wherein the uninstall instruction may be an instruction for silent uninstallation, that is, an instruction for scheduled uninstallation, or an instruction issued by the user through an uninstall control of a preset interactive interface.

[0105] S402: Control opening of a preset page of a system default desktop application.

[0106] In this embodiment, if the current desktop application is a user-specified desktop application, the preset page of the system default desktop application is controlled to be opened, that is, the application information of the system default desktop application is obtained, and the application information is loaded to open the preset page of the system default desktop application, so that the preset page of the system default desktop application is the desktop of the terminal device.

[0107] It should be noted that before controlling the opening of the preset page of the system default desktop application, the property value of the system property persist.launcher.name can also be set to empty.

[0108] In this embodiment, if the current desktop application is not a user-specified desktop application and the user-specified desktop application does not exist in the terminal device, the preset page of the system default desktop application is controlled to open, that is, the application information of the system default desktop application is obtained and loaded to open the preset page of the system default desktop application, so that the preset page of the system default desktop application is the desktop of the terminal device.

[0109] S403: Determine whether there is a user-specified desktop application in the terminal device. If so, execute S404; if not, execute S402.

[0110] In this embodiment, if the current desktop application is not a user-specified desktop application, it is determined whether there is a user-specified desktop application in the terminal device. Specifically, it is determined whether the system property persist.launcher.name is assigned a property value. If so, it is determined whether there is application information of the desktop application corresponding to the property value of persist.launcher.name in the terminal device. If there is application information of the desktop application corresponding to the property value of persist.launcher.name in the terminal device, it is determined that there is a user-specified desktop application in the terminal device. If the system property persist.launcher.name is not assigned a property value, or there is no application information of the desktop application corresponding to the property value of persist.launcher.name in the terminal device, it is determined that there is no user-specified desktop application in the terminal device.

[0111] S404: Control opening of a preset page of a desktop application specified by a user.

[0112] In this embodiment, if the current desktop application is not a user-specified desktop application, but a user-specified desktop application exists in the terminal device, the preset page of the user-specified desktop application is controlled to open, that is, the application information of the user-specified desktop application is obtained and loaded to realize opening the preset page of the user-specified desktop application, so that the preset page of the user-specified desktop application is the desktop of the terminal device.

[0113] S405: Execute an uninstall operation on the current desktop application.

[0114] In this embodiment, after receiving the uninstall instruction for the current desktop application, the uninstall operation is performed on the current desktop application. Specifically, the application information of the current desktop application is deleted.

[0115] In the desktop control method provided in the embodiment of the present application, when the current desktop application is uninstalled, if the current desktop application is not a user-specified desktop application, but a user-specified desktop application exists in the terminal device, then control is performed to open the preset page of the user-specified desktop application; otherwise, control is performed to open the preset page of the system default desktop application.

[0116] See also Figure 5 The embodiment of the present application also provides a desktop control system, including a user-set default desktop application module 501, a desktop information acquisition module 502 and a desktop startup module 503.

[0117] The desktop application module 501 is used to generate a desktop application configuration interface in response to a desktop application change instruction from a user, obtain an operation instruction input by the user through the desktop application configuration interface, and use the desktop application corresponding to the operation instruction as the user-specified desktop application.

[0118] The desktop information acquisition module 502 is used to acquire application information of the desktop application specified by the user.

[0119] The desktop starting module 503 is used to control opening of a preset page of the desktop application specified by the user according to the application information of the desktop application specified by the user.

[0120] It should be noted that although the instructions are depicted in a particular order, this should not be understood as requiring that the instructions be executed in the particular order shown or in a sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.

[0121] It should be understood that the various steps described in the method embodiments disclosed in the present application can be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0122] and Figure 1 Corresponding to the method described above, the embodiment of the present application further provides a desktop control device for controlling Figure 1 The specific implementation of the method is shown in the following diagram: Figure 6 Specifically, it includes:

[0123] The generating unit 601 is used to generate a desktop application configuration interface in response to a desktop application change instruction of a user; the desktop application configuration interface includes application identifiers of various desktop applications pre-provided in the terminal device;

[0124] An acquisition unit 602 is used to acquire an operation instruction input by the user through the desktop application configuration interface, and use the desktop application corresponding to the operation instruction as the user-specified desktop application;

[0125] The first control unit 603 is used to control opening of the preset page of the user-specified desktop application, so that the preset page of the user-specified desktop application serves as the desktop of the terminal device.

[0126] The desktop control device provided in the embodiment of the present application allows the user to set the desktop application that opens by default, and can modify the desktop application that opens by default without restoring the terminal device to factory settings, thereby improving the user experience.

[0127] In one embodiment of the present application, based on the above solution, it can also be configured as follows:

[0128] A first determination unit is used to determine whether there is a user-specified desktop application in the terminal device when the terminal device is started or receives a desktop opening instruction;

[0129] A second control unit, configured to control opening of a preset page of a user-specified desktop application if the user-specified desktop application exists in the terminal device;

[0130] The third control unit is used to control opening of a preset page of the system default desktop application if there is no user-specified theme application.

[0131] In one embodiment of the present application, based on the above solution, it can also be configured as follows:

[0132] A second judgment unit is used to respond to an upgrade instruction for a current desktop application and judge whether the current desktop application is a desktop application specified by a user; the current desktop application is a desktop application currently being used by the terminal device;

[0133] A fourth control unit, configured to control opening of a preset page of the upgraded current desktop application after the current desktop application is upgraded if the current desktop application is a user-specified desktop application;

[0134] The third judgment unit is used to judge whether there is a user-specified desktop application in the terminal device if the current desktop application is not a user-specified desktop application; if there is a user-specified desktop application in the terminal device, control the opening of a preset page of the user-specified desktop application; if there is no user-specified desktop application in the terminal device, then: judge whether the current desktop application is a system default desktop application, if the current desktop application is the system default desktop application, then after the current desktop application is upgraded, control the opening of the preset page of the upgraded current desktop application; if the current desktop application is not the system default desktop application, control the opening of the preset page of the system default desktop application.

[0135] In one embodiment of the present application, based on the above solution, it can also be configured as follows:

[0136] A fourth determination unit, configured to respond to an uninstall instruction for the current desktop application and determine whether the current desktop application is a user-specified desktop application;

[0137] A fifth control unit, configured to control opening of a preset page of a system default desktop application if the current desktop application is a user-specified desktop application;

[0138] a fifth judgment unit, configured to judge whether a user-specified desktop application exists in the terminal device if the current desktop application is not a user-specified desktop application; if a user-specified desktop application exists in the terminal device, control opening of a preset page of the user-specified desktop application; if no user-specified desktop application exists in the terminal device, control opening of a preset page of a system default desktop application;

[0139] An uninstallation unit is used to perform an uninstallation operation on the current desktop application.

[0140] In one embodiment of the present application, based on the above solution, the first control unit 603 is specifically used to:

[0141] Obtain application information of the desktop application specified by the user;

[0142] According to the application information of the user-specified desktop application, control to open a preset page of the user-specified desktop application.

[0143] An embodiment of the present application further provides a storage medium storing an instruction set, wherein when the instruction set is executed, the desktop control method disclosed in any of the above embodiments is executed.

[0144] The present application also provides an electronic device, whose structural diagram is as follows: Figure 7 As shown, it specifically includes a memory 701 for storing at least one set of instruction sets; a processor 702 for executing the instruction set stored in the memory, and implementing the desktop control method disclosed in any of the above embodiments by executing the instruction set.

[0145] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0146] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope disclosed in the present application. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.

[0147] The above description is only a preferred embodiment disclosed in this application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the disclosure of this application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the disclosure of this application (but not limited to) to form a technical solution.

Claims

1. A desktop control method, characterized in that: Applied to a terminal device, the method comprises: In response to a desktop application change instruction from a user, a desktop application configuration interface is generated; the desktop application configuration interface includes application identifiers of various desktop applications pre-provided by the terminal device; the desktop application change instruction is an instruction issued by the user by clicking a preset control in a preset interactive interface of the terminal device when there is a need to set a default desktop application or to change a default desktop application; Acquire an operation instruction input by the user through the desktop application configuration interface, and use the desktop application corresponding to the operation instruction as the user-specified desktop application; Controlling to open the preset page of the desktop application specified by the user, so that the preset page of the desktop application specified by the user serves as the desktop of the terminal device; In response to an uninstall instruction for a current desktop application, determining whether the current desktop application is a user-specified desktop application; If the current desktop application is a user-specified desktop application, controlling to open a preset page of a system default desktop application; If the current desktop application is not a user-specified desktop application, determining whether the user-specified desktop application exists in the terminal device; if the user-specified desktop application exists in the terminal device, controlling to open a preset page of the user-specified desktop application; if the user-specified desktop application does not exist in the terminal device, controlling to open a preset page of the system default desktop application; An uninstall operation is performed on the current desktop application.

2. The method according to claim 1, characterized in that Also includes: When the terminal device is started or receives a desktop opening instruction, determining whether there is a user-specified desktop application in the terminal device; If the user-specified desktop application exists in the terminal device, controlling to open a preset page of the user-specified desktop application; If there is no user-specified theme application, the control opens the preset page of the system default desktop application.

3. The method according to claim 1, characterized in that Also includes: In response to an upgrade instruction for a current desktop application, determining whether the current desktop application is a desktop application specified by a user; the current desktop application is a desktop application currently being used by the terminal device; If the current desktop application is a desktop application specified by the user, after the current desktop application is upgraded, controlling to open a preset page of the upgraded current desktop application; If the current desktop application is not a user-specified desktop application, determine whether there is a user-specified desktop application in the terminal device; if there is a user-specified desktop application in the terminal device, control the opening of a preset page of the user-specified desktop application; if there is no user-specified desktop application in the terminal device, then: determine whether the current desktop application is a system default desktop application. If the current desktop application is a system default desktop application, then after the current desktop application is upgraded, control the opening of the preset page of the upgraded current desktop application. If the current desktop application is not a system default desktop application, control the opening of the preset page of the system default desktop application.

4. The method according to any one of claims 1 to 3, characterized in that: The controlling of opening a preset page of the user-specified desktop application includes: Obtain application information of the desktop application specified by the user; According to the application information of the user-specified desktop application, control to open a preset page of the user-specified desktop application.

5. A desktop control device, characterized in that: Applied to a terminal device, the device comprises: A generating unit, configured to generate a desktop application configuration interface in response to a desktop application change instruction of a user; the desktop application configuration interface includes application identifiers of various desktop applications pre-provided in the terminal device; the desktop application change instruction is an instruction issued by the user by clicking a preset control in a preset interactive interface of the terminal device when there is a requirement to set a default desktop application or to change a default desktop application; An acquisition unit, configured to acquire an operation instruction input by the user through the desktop application configuration interface, and use the desktop application corresponding to the operation instruction as the user-specified desktop application; A first control unit, configured to control opening of a preset page of the user-specified desktop application, so that the preset page of the user-specified desktop application serves as the desktop of the terminal device; A fourth determination unit, configured to respond to an uninstall instruction for a current desktop application and determine whether the current desktop application is a user-specified desktop application; The fifth control unit is used to control opening of a preset page of a system default desktop application if the current desktop application is a user-specified desktop application; to determine whether a user-specified desktop application exists in the terminal device if the current desktop application is not a user-specified desktop application; to control opening of a preset page of the user-specified desktop application if the user-specified desktop application exists in the terminal device; to control opening of a preset page of the system default desktop application if the user-specified desktop application does not exist in the terminal device; and to perform an uninstall operation on the current desktop application.

6. The device according to claim 5, characterized in that Also includes: A first determination unit is used to determine whether there is a user-specified desktop application in the terminal device when the terminal device is started or receives a desktop opening instruction; A second control unit, configured to control opening of a preset page of a user-specified desktop application if the user-specified desktop application exists in the terminal device; The third control unit is used to control opening of a preset page of the system default desktop application if there is no user-specified theme application.

7. The device according to claim 5, characterized in that Also includes: A second determination unit, configured to respond to an upgrade instruction for a current desktop application and determine whether the current desktop application is a user-specified desktop application; The current desktop application is the desktop application currently being used by the terminal device; A fourth control unit, configured to control opening of a preset page of the upgraded current desktop application after the current desktop application is upgraded if the current desktop application is a user-specified desktop application; The third judgment unit is used to judge whether there is a user-specified desktop application in the terminal device if the current desktop application is not a user-specified desktop application; if there is a user-specified desktop application in the terminal device, control the opening of a preset page of the user-specified desktop application; if there is no user-specified desktop application in the terminal device, then: judge whether the current desktop application is a system default desktop application, if the current desktop application is the system default desktop application, then after the current desktop application is upgraded, control the opening of the preset page of the upgraded current desktop application; if the current desktop application is not the system default desktop application, control the opening of the preset page of the system default desktop application.

8. A storage medium, characterized in that: The storage medium stores an instruction set, wherein the instruction set, when executed by a processor, implements the desktop control method according to any one of claims 1 to 4.

9. An electronic device, characterized in that: include: A memory for storing at least one set of instructions; A processor is used to execute the instruction set stored in the memory, and implement the desktop control method according to any one of claims 1 to 4 by executing the instruction set.

Citation Information

Patent Citations

  • Method and device for deleting default desktop

    CN104166559A