CN117539552A - Application processing method, device, terminal and storage medium - Google Patents

Application processing method, device, terminal and storage medium Download PDF

Info

Publication number
CN117539552A
CN117539552A CN202210934973.7A CN202210934973A CN117539552A CN 117539552 A CN117539552 A CN 117539552A CN 202210934973 A CN202210934973 A CN 202210934973A CN 117539552 A CN117539552 A CN 117539552A
Authority
CN
China
Prior art keywords
application
homepage
target
configuration information
terminal
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
CN202210934973.7A
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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN202210934973.7A priority Critical patent/CN117539552A/en
Publication of CN117539552A publication Critical patent/CN117539552A/en
Pending legal-status Critical Current

Links

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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides an application processing method, an application processing device, a terminal and a storage medium, wherein the method comprises the following steps: acquiring first application configuration information of a target application, wherein the target application is an application of which the first application configuration information does not comprise homepage application configuration information; adding homepage application configuration information into first application configuration information of the target application to obtain second application configuration information of the target application; and displaying an application interface corresponding to the target application according to the second application configuration information of the target application. By adopting the process of the application, the home page application setting is easier to realize and more flexible.

Description

Application processing method, device, terminal and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to an application processing method, an application processing device, a terminal, and a storage medium.
Background
The home application of the terminal is uniquely customized by the terminal manufacturer, and other applications in the system cannot be set as the home application.
Disclosure of Invention
The embodiment of the application processing method, device, terminal and storage medium provide for easier realization and more flexible setting process of the home page application.
In one aspect, an embodiment of the present application provides an application processing method, including:
acquiring first application configuration information of a target application, wherein the target application is an application of which the first application configuration information does not comprise homepage application configuration information;
adding homepage application configuration information into first application configuration information of the target application to obtain second application configuration information of the target application;
and displaying an application interface corresponding to the target application according to the second application configuration information of the target application.
In still another aspect, an embodiment of the present application provides an application processing apparatus, including:
the system comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring first application configuration information of a target application, and the target application is an application of which the first application configuration information does not comprise homepage application configuration information;
the processing module is used for adding the homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application;
and the display module is used for displaying an application interface corresponding to the target application according to the second application configuration information of the target application.
In yet another aspect, an embodiment of the present application provides a terminal, including a processor, a memory, and a user interface, where the processor, the memory, and the user interface are connected to each other, where the memory is configured to store computer program instructions, and the processor is configured to execute the program instructions to implement the application processing method.
In yet another aspect, embodiments of the present application provide a computer-readable storage medium having stored therein computer program instructions for executing the application processing method when executed by a processor.
In summary, by adding the homepage application configuration information to the first application configuration information of the target application to obtain the second application configuration information of the target application, and setting the target application as the homepage application, compared with the prior art, by adopting the above method, the setting of any application program of the terminal as the homepage application can be realized, so that the setting process of the homepage application is easier to realize and more flexible.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an application processing method according to an embodiment of the present application;
FIG. 2A is a schematic illustration of an application interface for a home application provided in an embodiment of the present application;
FIG. 2B is a schematic diagram of a home application configuration interface provided by an embodiment of the present application;
FIG. 3 is a flowchart of an application processing method according to another embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a home page application management process provided by an embodiment of the present application;
FIG. 5 is a flowchart of an application processing method according to another embodiment of the present disclosure;
FIG. 6 is a flowchart of an application processing method according to another embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an application processing device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
In general, if an end user wants to switch homepage applications, one more homepage application must be re-customized by the end manufacturer based on the customized homepage application. However, a plurality of homepage applications are customized by a terminal manufacturer, and then the terminal user performs selection of the homepage applications based on the customized plurality of homepage applications, thereby realizing a setting process of the homepage applications, which is difficult to realize and not flexible enough.
The embodiment of the application provides an application processing scheme, which can realize that any application except an original homepage application in a terminal is set as the homepage application, and specifically comprises the following steps: acquiring first application configuration information of a target application, wherein the target application is an application of which the first application configuration information does not comprise homepage application configuration information; adding the homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application; and displaying an application interface corresponding to the target application according to the second application configuration information of the target application. Wherein the original home page application refers to an application in which the first application configuration information includes home page application configuration information.
In one embodiment, the application processing scheme provided by the application may also implement setting the original home page application in the terminal as the home page application. In setting the original home page application as the home page application, there is no need to make any modification to the first application configuration information of the original home page application.
It can be seen that, by the application processing scheme provided by the embodiment of the present application, any application in the terminal other than the original home application may be set as the home application. In an embodiment, the application processing scheme provided by the embodiment of the application may also implement setting an original home page application in the terminal as the home page application. It can be seen that the embodiment of the application can realize that any application of the terminal is set as a homepage application. Compared with the prior art, the method and the device have the advantages that customization of a plurality of homepage applications is needed by terminal manufacturers to achieve the selection process of the homepage applications, and the homepage application setting process can be achieved more easily and is more flexible.
In a scene of setting a homepage application for a vehicle-mounted system, the application processing scheme can be adopted to set the navigation application as the homepage application in the process of using the vehicle-mounted system so as to facilitate the use of the navigation function. The navigation application is set as the homepage application, so that the vehicle-mounted system can return to the interface of the navigation application at the first time no matter the vehicle-mounted system is restarted or the Home key is detected to be clicked. In addition, by adopting the application processing scheme, the favorite music or video application can be set as the homepage application in the process of using the vehicle-mounted system, so that the daily entertainment and leisure are facilitated. By adopting the application processing scheme, any application program in the vehicle-mounted system can be set as the homepage application, and the homepage application setting requirements of users in different scenes can be met in the using process of the vehicle-mounted system.
The application processing scheme can be executed by the terminal. The terminal may be a smart watch, a smart phone, a tablet computer, a vehicle terminal, etc. The terminal is installed with a plurality of application programs. The plurality of applications may include system software. The system software may be, for example, an Android operating system. The plurality of applications may also include at least one application software. The at least one application software may include, for example, one or more mapping software, one or more music software. Wherein at least one reference herein refers to one or more.
The terminal can set a Home application. The Home application is the homepage application mentioned in the application. Among other things, the home application referred to herein may also be referred to as a desktop application. The homepage application is an important intelligent control and presentation program for the operating system of the terminal. The terminal may present an application interface of the home application, for example, a main interface of the home application, after the operating system is started. In this embodiment of the present invention, the terminal may set the operating system as a homepage application, and in the case of setting the operating system as a homepage application, the terminal may display an application interface of the operating system after the operating system is started, for example, may be specifically a main interface of the operating system. Alternatively, the terminal may set any one of the at least one application software as the homepage application, such as when the at least one application software includes application a, the terminal may set application a of the at least one application software as the homepage application. In the case that the application a is set as a homepage application, the terminal may present an application interface of the application a after the operating system is started, for example, may specifically be a main interface of the application a. By setting any application program as the homepage application, an application interface of the application program, such as a main interface of the application program, can be opened first under the condition that an operating system of the terminal is restarted or the Home key is detected to be clicked, so that the application program is more convenient to use. The main interface mentioned in the application refers to a top interface which interacts with the terminal user for a long time in the application program, and main functions or most functions of the application program can be accessed through the main interface. Typically, the main interface is the first interface displayed after the application is started.
In one embodiment, the application interface of the home application mentioned herein may include portal information, such as an application icon, of at least one application program other than the home application among the plurality of application programs, and/or the application interface of the home application may further include portal information, such as a control icon, of at least one control. It should be noted that, the application interface of the homepage application specifically includes which elements, and may be designed according to actual requirements, which is not limited in this application. In this embodiment of the present application, after detecting a selection operation of portal information in an application interface of the home application, the terminal may open the application interface associated with the selected portal information. After detecting the operation of returning to the homepage application, the terminal can open the application interface of the homepage application. For example, assume that the home application is application A and that the application interface of the home application is the main interface of application A and that the home page of application A includes the application icon of application B. The end user may click on an application icon of application B included in the main interface of application a, in order to enter application B from application a. The terminal can detect the clicking operation of the application icon of the application B in the application A, then opens the main interface of the application B, and displays the main interface of the application B to the terminal user. Further, if the terminal user wants to return to the main interface of the application a from any interface displayed by the terminal, all application interfaces currently opened by the terminal can be closed or the Home key of the terminal can be pressed. And after detecting closing operations of all currently opened application interfaces or detecting pressing operations of a Home key of the terminal, the terminal can open a main interface of the application A and display the main interface of the application A to a terminal user. The Home key mentioned in the present application may be an entity Home key or a virtual Home key, which is not limited herein. The Home key may be replaced by another control capable of implementing the Home key function, which is not limited herein.
In some embodiments, when the home application is not system software, the application interface of the home application mentioned above may include a first folder. The first folder includes portal information that may include at least one application of the plurality of applications other than the home application, and/or the first folder may include an application interface of the home application and may further include portal information of at least one control. In this way, in the case that the homepage application is not system software, the large-area shielding of the information such as the function information of the homepage application itself caused by the direct display of various entry information on the application interface of the homepage application can be avoided, so that the influence on the operation of the homepage application which is not system software is reduced. In one embodiment, when the home application is not system software, the application interface of the home application mentioned above may include a plurality of folders, such as a second folder, a third folder. Wherein the number of folders may be determined according to the number of portal information.
In one embodiment, the application configuration information of the application program is modified, requiring full authorization by the interested party.
Based on the aforementioned application processing scheme, the embodiment of the application also provides an application processing method and device. The application processing method is described in detail below.
Referring to fig. 1, a flow chart of an application processing method is provided in an embodiment of the present application. The method may be applied to the aforementioned terminals. Specifically, the method comprises the following steps:
s101, acquiring first application configuration information of a target application, wherein the target application is an application of which the first application configuration information does not comprise homepage application configuration information.
The target application may be any application software of the aforementioned at least one application software included in the terminal. Alternatively, if the home application has been set by the terminal before the target application is set as the home application, the target application may be any application software included by the terminal other than the set home application. Alternatively, the target application may be any application software in the terminal whose frequency of use is greater than or equal to a preset frequency. The first application configuration information of the application is original application configuration information of the application. For example, the first application configuration information of the target application is original application configuration information of the target application.
In one embodiment, the terminal may already be provided with the home application before setting the target application as the home application. The terminal may open an application interface of the home application. The application interface of the home application may include at least portal information of at least one application program other than the set home application. The portal information includes, but is not limited to, at least one of a portal icon and a portal name. Alternatively, the application interface of the home application may include the aforementioned first folder, and the first folder may include at least portal information of at least one application other than the home application. Or, the application interface of the homepage application may include the aforementioned folders, where the folders include a target folder, which is a folder where the portal information of the target application is located. The terminal may display an operation window for the target application when detecting a first operation of portal information of the target application, the operation window including an option indicating whether to set the target application as a homepage application. The terminal may generate a setting request to set the target application as the homepage application upon detecting a selection operation of an option to set the target application as the homepage application. The first operation includes, but is not limited to, a single-finger long press operation of entry information to the target application, and so on. For example, referring to the application interface of the home application shown in fig. 2A, the application interface of the home application shown in fig. 2A is the main interface of the operating system. The interface shown in fig. 2A shows entry information of a plurality of application software included in the terminal, and specifically shows application icons of the plurality of application software, where the plurality of application software shown in fig. 2A includes an application a, and the application B … … end user can press the application icon of the application a in the interface shown in fig. 2A for a long time, so as to open an operation window for the application a, and the operation window includes an option that whether to set the application a as a homepage application. The end user may click on this option to set application a as the home application. The terminal may generate a setting request for setting the application a as a homepage application upon detecting a click operation on this option.
In one embodiment, the terminal may open a home application configuration interface and present at least one candidate application on the home application configuration interface. Here, the displaying at least one candidate application specific on the homepage application configuration interface may be displaying an application identifier of the at least one candidate application on the homepage application configuration page, and the application identifier may be at least one of an application icon, an application name, and an application package name. The terminal may already be provided with the home application before setting the target application as the home application. Thus, at least one candidate application herein may include at least one application of the plurality of applications other than the set home application. Or the at least one candidate application may include the set homepage application and at least one application program other than the set homepage application among the plurality of application programs, such as all application programs of the at least one candidate application including the terminal. Or, the at least one candidate application herein may include at least one application program having a frequency of use greater than or equal to a preset frequency among the plurality of application programs. The terminal may determine the selected candidate application as the target application upon detecting a selection operation for any one of the at least one candidate application, thereby generating a setting request to set the target application as the homepage application. The candidate application selected is determined as the target application, and specifically, the candidate application corresponding to the selected application identifier is determined as the target application. For example, the home application configuration interface may be referred to as the interface of FIG. 2B. The interface shown in fig. 2B shows application identifiers of at least one candidate application included in the terminal, and fig. 2B specifically shows application names and application icons. The end user may check the application identification of application a in the interface shown in fig. 2B to set application a as the home application. After detecting the checking operation of the application identifier of the application a, the terminal confirms that the selecting operation of the application a is detected, determines the application a as a target application, and can generate a setting request for setting the application a as a homepage application.
In one embodiment, the terminal may provide a home application configuration function. The function interface corresponding to the homepage application configuration function is the homepage application configuration interface. In one embodiment, the home application configuration function may be provided by a designated application program included in the terminal. Accordingly, the home application configuration interface may be an interface for home application configuration that the specified application includes. Wherein the designated application may be a setup application or may be other application programs to which the homepage application configuration function is added. Here, the setup application may provide other functions such as network management, application management, storage management, in addition to the homepage application configuration function. Alternatively, the designated application may be an application program dedicated to implementing the home application configuration function. The terminal may open the home application configuration interface upon detecting an open operation of the home application configuration interface in the designated application. Alternatively, the terminal may display the home application configuration interface when a second operation on the terminal screen is detected, which may be, for example, a user-defined shortcut operation for opening the home application configuration interface or may be a shortcut operation specified by the terminal manufacturer for opening the home application configuration interface. The latter can open the homepage application configuration interface quickly, so that the homepage application setting process is more convenient.
In one embodiment, the terminal may acquire a setting request for setting the target application as the homepage application, and acquire first application configuration information of the target application according to the setting request for setting the target application as the homepage application.
In one embodiment, the setting request for setting the target application as the homepage application may carry an application identifier of the target application, and the terminal obtains the first application configuration information of the target application according to the setting request by: the terminal may obtain, according to the target application identifier (application identifier of the target application) carried by the setting request, first application configuration information of the target application, where the first application configuration information of the target application is original application configuration information of the target application. In an embodiment, when the operating system of the terminal is an android operating system, the first application configuration information of the application may specifically be a target activity of the application, where the target activity refers to a main portal activity of the target application, that is, a portal activity that is operated by the target application first. The target activity is located in an android management. The android management file is an information description file of the target application, and describes information such as information of various components used by the target application.
In one embodiment, when the application identifier includes an application name and/or an application icon, the specific manner in which the terminal obtains the first application configuration information of the target application according to the application name or the application icon of the target application may be that the terminal queries the application package name of the target application according to the application name and/or the application icon of the target application, so as to obtain the first application configuration information of the target application according to the application package name of the target application. Or when the application identifier is the application package name of the target application, the specific mode of the terminal obtaining the first application configuration information of the target application according to the application identifier of the target application may be that the terminal analyzes the first application configuration information of the target application according to the application package name of the target application.
In one embodiment, after acquiring the first application configuration information of the target application, the terminal may detect whether the target application meets the homepage application setting condition according to the first application configuration information of the target application, and execute step S102 when the homepage application setting condition is not met.
In one embodiment, the method for detecting, by the terminal, whether the target application meets the home application setting condition according to the first configuration information of the target application may specifically be: the terminal may determine whether the first application configuration information of the target application includes homepage application configuration information, and when the first application configuration information of the target application includes homepage application configuration information, the terminal may determine that the target application satisfies the homepage application setting condition, or else determine that the target homepage application does not satisfy the homepage application setting condition. In the embodiment of the present application, the terminal may determine that the first application configuration information of the target application does not include the homepage application configuration information, and thus may determine that the target application does not satisfy the homepage application setting condition. In one embodiment, when the operating system of the terminal is an android system, the homepage application configuration information may include a homepage application tab, such as CATEGORY_HOME, and may also include a DEFAULT startup tab CATEGORY_DEFAULT. CATEGORY_HOME is a label which can be set in the target activity, specifically a label which can be set in an intention filter of the target activity, and is used for indicating that an application program supports as a homepage application, CATEGORY_DEFAULT is a label which can be set in the target activity, specifically a label which can be set in an intention filter of the target activity, and is used for indicating that the application program is an application program which needs to be started implicitly.
In one embodiment, the method for detecting, by the terminal, whether the target application meets the home application setting condition according to the first configuration information of the target application may specifically be: the terminal may determine whether the first application configuration information of the target application includes a homepage application configuration statement, and determine that the target application satisfies the homepage application setting condition when the first application configuration information of the target application includes the homepage application configuration statement. In the embodiment of the present application, the terminal may determine that the first application configuration information of the target application does not include the homepage application configuration statement, and thus may determine that the target application does not satisfy the homepage application setting condition. Wherein the homepage application configuration statement is a code that causes the application program to support the homepage application set as the homepage application, the homepage application configuration statement including homepage application configuration information. In one embodiment, when the HOME page application configuration information includes a CATEGORY_HOME and a CATEGORY_DEFAULT, the HOME page application configuration statement may include a first statement that sets the CATEGORY tag to CATEGORY_HOME, the first statement including CATEGORY_HOME, and a second statement that sets the CATEGORY tag to CATEGORY_DEFAULT, the second statement including CATEGORY_DEFAULT. When the terminal detects that the first application configuration information of the target application comprises a first statement and a second statement, the target application is determined to meet the homepage application setting condition, and when the terminal detects that the first application configuration information does not comprise at least one of the first statement and the second statement, the terminal determines that the target application does not meet the homepage application setting condition.
S102, adding homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application.
In the embodiment of the application, homepage application configuration information is added to the first application configuration information of the target application to obtain the second application configuration information of the target application.
The terminal may perform step S102 when detecting that the target application does not satisfy the home application setting condition. In one embodiment, the terminal may invoke the home application configuration management service to perform step S102. An automatic process of converting an application program, which is not originally a homepage application, into a homepage application is realized through a homepage application configuration management service. The terminal identifies the target application not as the homepage application according to the first application configuration information of the target application, and the terminal identifies the target application as the homepage application according to the second application configuration information of the target application by modifying the first application configuration information of the target application so that the target application is converted into the homepage application. In the embodiment of the present application, the modification manner of the first application configuration information of the target application is that the homepage application configuration management service is called to add homepage application configuration information to the first application configuration information of the target application, so as to obtain second application configuration information of the target application, where the second application configuration information of the target application is not the original application configuration information of the target application. That is, in the case where the first application configuration information of the target application does not include the homepage application configuration information, by adding the homepage application configuration information to the first application configuration information of the target application, the target application can be set to the homepage application from the unsupported setting before the first application configuration information is modified to the supported setting after the first application configuration information is modified.
In one embodiment, the manner in which the terminal adds the homepage application configuration information to the first application configuration information of the target application to obtain the second application configuration information of the target application may be: if the homepage application configuration information includes CATEGORY_HOME and CATEGORY_DEFAULT, the terminal may add CATEGORY_HOME and CATEGORY_DEFAULT to the first application configuration information of the target application to obtain the second application configuration information of the target application. In one embodiment, when the first application configuration information of the target application includes a target tag, and the target tag is a CATEGORY_HOME or CATEGORY_DEFAULT, the terminal replaces the target tag in the first application configuration information of the target application with the first tag in the homepage application configuration information, and adds tags other than the target tag in the CATEGORY_HOME and CATEGORY_DEFAULT to the first application configuration information of the target application to obtain second application configuration information of the target application.
In one embodiment, the manner in which the terminal adds the homepage application configuration information to the first application configuration information of the target application may be: and the terminal adds the homepage application configuration statement to the first application configuration information of the target application to obtain the second application configuration information of the target application. In one embodiment, if the homepage application configuration information includes a CATEGORY_HOME and a CATEGORY_DEFAULT, the first application configuration information of the target application includes a target sentence, the target sentence is the first sentence or the second sentence, and the terminal may replace the target sentence in the first application configuration information of the target application with the target sentence in the homepage application configuration sentence, and add the sentence in the homepage application configuration sentence except the target sentence to the first application configuration information of the target application, so as to obtain the second application configuration information of the target application.
In one embodiment, when the first application configuration information of the target application is the target activity included in the android management file of the target application, the aforementioned first application configuration information added to the target application may be specifically added to an agent-filter of the target activity.
S103, displaying an application interface corresponding to the target application according to the second application configuration information of the target application.
In the embodiment of the application, the terminal may set the target application as the homepage application, and after the target application is set as the homepage application, display an application interface corresponding to the target application according to the second application configuration information of the target homepage application.
In one embodiment, after the target application is successfully set as the homepage application, the terminal user may click the Home key to return to the application interface corresponding to the target application. If the terminal detects the clicking operation on the Home key, the terminal can identify the target application as the homepage application according to the second application configuration information of the target application, start the target application, and display an application interface corresponding to the target application, such as a main interface of the target application.
In one embodiment, if the terminal detects a clicking operation on the Home key, all homepage applications included in the terminal can be identified, the set homepage applications are determined by analyzing the homepage application management file, and when the terminal determines that the set homepage applications exist in all homepage applications included in the terminal, the terminal can start the set homepage applications and display application interfaces of the set homepage applications. Here, if the set home page application is determined to be the target application by parsing the home page application management file, the target application may be started and an application interface of the target application may be displayed when it is determined that the target application exists in all the home page applications included in the terminal. In one embodiment, if the terminal detects a click operation on the Home key, all homepage applications included in the terminal can be identified, the homepage application which is set up last time is determined by analyzing the homepage application management file, and when determining that the homepage application which is set up last time exists in all homepage applications included in the terminal, the terminal can start the homepage application which is set up last time and display an application interface of the homepage application which is set up last time. Here, if it is determined that the homepage application set last time is the target application by parsing the homepage application management file, the target application may be started and an application interface of the target application may be displayed when it is determined that the target application exists in all homepage applications included in the terminal. In one embodiment, the terminal includes, but is not limited to, performing the updating of the indication information of setting the target application as the homepage application into the homepage application management file after the second application configuration information of the target application is acquired or after a setting request for setting the target application as the homepage application is acquired.
In one embodiment, the terminal may add an application configuration information modification record of the target application to the homepage application management file, where the application configuration information modification record of the target application includes a target application identifier and a latest addition time of the target application, the target application identifier is an application identifier of the target application, and the latest addition time is a time when the target application was last added as the homepage application. In one embodiment, the application configuration information modification record of the target application may not include the latest addition time, in which case, the application configuration information modification record of the target application may be used to replace an existing application configuration information modification record in the homepage application management file, which is equivalent to the homepage application management file including only the latest application configuration information modification record.
In one embodiment, the terminal may not add the application configuration information modification record of the target application to the homepage application management file, but add the application configuration information modification record of the target application to a file dedicated to saving the application configuration information modification record, which is referred to herein as an application configuration information modification record file, where the application configuration information modification record file may be stored in a database or in the terminal, or the like, which is not limited in this application. In one embodiment, the application configuration information modification record of the target application may not include the latest addition time, in which case, the application configuration information modification record of the target application may be used to replace an existing application configuration information modification record in the application configuration information modification record, which is equivalent to that the application configuration information modification record file includes only the latest piece of application configuration information modification record.
In one embodiment, the terminal may update information indicating that the target application is the set homepage application into the homepage application management file to implement a process of setting the target application as the homepage application. In one embodiment, the information indicating that the target application is the set homepage application may include information such as an application identifier of the target application (e.g., an application package name of the target application) and a homepage application identifier (e.g., a homepage application class name) corresponding to the application identifier of the target application. In one embodiment, the terminal may also update the application identifier in the indication information existing in the home application management file with the application identifier of the target application.
In the embodiment of fig. 1, the terminal may add the homepage application configuration information to the application configuration information of the application program, so that the application program becomes the homepage application, thereby implementing an automatic setting process of the homepage application.
Fig. 3 is a flow chart of an application processing method according to still another embodiment of the present application. The method may be applied to the aforementioned terminals. Specifically, the method comprises the following steps:
In steps S301-S302, the terminal may enter the home application configuration interface and select any one of the applications to set as the home application based on the home application configuration interface.
In the embodiment of the application, the terminal may open a homepage application configuration interface, select an original homepage application such as an operating system of the terminal to set as the homepage application based on the homepage application configuration interface, or may select any application other than the original homepage application included in the terminal to set as the homepage application based on the homepage application configuration interface.
The specific manner of how the terminal selects any application based on the homepage application configuration interface may refer to the manner in which the terminal selects any candidate starting application based on the homepage application configuration interface to set as the homepage application in the embodiment of fig. 1, which is not described herein in detail.
In step S303, the terminal may determine whether the selected application supports the set homepage application, and sequentially perform steps S304 to S306 when the selected application does not support the set homepage application, and perform step S306 when the selected application supports the set homepage application.
The terminal can obtain the first application configuration information of the selected application according to the application identifier of the selected application carried by the setting request, so as to judge whether the selected application supports the application set as the homepage according to the first application configuration information of the selected application.
Specifically, the terminal may obtain an application package name of the selected application according to an application identifier of the selected application carried by the setting request, and transfer the application package name of the selected application to the homepage application configuration management service, analyze first application configuration information of the selected application according to the application package name of the selected application through the homepage application configuration management service, then detect whether the selected application meets the homepage application setting condition according to the first application configuration information of the selected application, indicate that the selected application does not support to be set as the homepage application when detecting that the selected application does not meet the homepage application setting condition, and indicate that the selected application supports to be set as the homepage application when detecting that the selected application meets the homepage application setting condition.
The process of detecting whether the selected application meets the homepage application setting condition according to the first application configuration information of the selected application may refer to the process of detecting whether the target application meets the homepage application setting condition according to the first application configuration information of the target application in the embodiment of fig. 1, which is not described herein in detail.
In step S304-step S305, when the selected application does not support setting as the home application, the terminal may add the home application configuration information to the first application configuration information of the selected application through the home application configuration management service to obtain second application configuration information of the selected application, and after obtaining the second application configuration information of the selected application, the terminal may further store and memorize the application identifier of the target application.
When the selected application does not meet the homepage application setting condition, the terminal can add homepage application configuration information to the first application configuration information of the selected application through the homepage application configuration management service to obtain second application configuration information of the selected application so that the selected application supports setting as the homepage application.
After obtaining the second application configuration information of the selected application, the terminal may memorize and store the application package name of the selected application. The terminal memorizes and stores an application package name of the selected application, indicating that the first application configuration information of the selected application is modified in the process of setting the selected application as the homepage application.
The manner in which the terminal memorizes and stores the application package name of the selected application may specifically be to add the application configuration information modification record of the selected application to the application configuration information modification record file. The application configuration information modification record file is used for recording the application package name of the first type of application. The first type of application refers to an application to which homepage application configuration information is added in the first application configuration information.
In step S306, the terminal may set the selected application as a homepage application.
The terminal may update information indicating that the selected application is the set homepage application to the homepage application management file if the selected application is set as the homepage application, or update an application package name in the indication information existing in the homepage application management file with an application package name of the selected application to realize a process of setting the selected application as the homepage application. The latter corresponds to updating the application package name of the selected application to a homepage application management file, where the homepage application management file is used to record the application package name of the second type of application, which refers to the application set as the homepage application by the terminal.
It should be noted that, regardless of whether the selected application satisfies the homepage application setting condition, as long as the selected application is set as the homepage application, the information indicating that the selected application is the set homepage application may be updated to the homepage application management file, or the application package name in the indication information existing in the homepage application management file may be updated with the application package name of the selected application. That is, in the case where the first application configuration information of the selected application originally includes the homepage application configuration information, the selected application is set as the homepage application, and the information indicating the homepage application of the selected application as the setting may be updated to the homepage application management file, or the application package name in the indication information existing in the homepage application management file may be updated with the application package name of the selected application. Unlike the home application management file, the application configuration information modification record file does not include an application package name of a target type application, which refers to an application in which the first application configuration information includes the home application configuration information. For example, the first application configuration information of the operating system of the terminal includes homepage application configuration information, and the terminal does not add homepage application configuration information to the first application configuration information of the operating system after receiving a setting request for setting the operating system as a homepage application, so that the application package name of the operating system is not recorded in the application configuration information modification record file, but the homepage application management file records the application package name of the operating system after setting the operating system as the homepage application.
In one embodiment, the terminal may invoke the home application configuration management service to set the selected application as the home application.
In step S307, the terminal detects that the Home key is pressed to start the selected application.
The terminal can start the selected application after detecting the clicking operation of the Home key, and display the interface of the selected application. The terminal may also start the selected application after detecting other operations for returning to the home application, and display an application interface of the selected application.
In one embodiment, if the terminal detects a clicking operation on the Home key, it may identify all homepage applications included in the terminal (may identify all homepage applications included in the terminal through homepage application configuration information), and determine the set homepage application by parsing the homepage application management file, and when it is determined that there is a set homepage application in all homepage applications included in the terminal, the terminal may start the set homepage application and display an application interface of the set homepage application. In one embodiment, if the terminal detects a click operation on the Home key, all homepage applications included in the terminal can be identified, the homepage application which is set up last time is determined by analyzing the homepage application management file, and when determining that the homepage application which is set up last time exists in all homepage applications included in the terminal, the terminal can start the homepage application which is set up last time and display an application interface of the homepage application which is set up last time.
In one embodiment, the terminal may manage the home page application in the following manner.
The terminal sets the selected application as the homepage application, then adds the selected application to the stack top of the homepage application management stack, removes the historical application in the homepage application management stack from the stack bottom, or adds the selected application to the stack bottom of the stack which the homepage should manage if the clicking operation of the Home key is detected, removes the historical application in the homepage application management stack from the stack bottom, and executes the homepage application management operation according to the homepage application management stack. The history application is a homepage application set before the target application. The home page management stack may be an activity management stack of the home page application. Specifically, after setting the selected application as the homepage application, the terminal adds application data of the selected application to the stack top in the homepage application management stack, and removes application data of the historical application at the stack bottom in the homepage application management stack; and executing homepage application management operation according to the homepage application management stack.
In one embodiment, the terminal may also manage the home page application in the following manner. As described below in conjunction with fig. 4, fig. 4 includes steps S401-S403.
In steps S401 to S403, after setting the selected application as the home application, the terminal may add the selected application to the top of the home application management stack and remove the application located at the bottom of the home application management stack from the top of the home application management stack. If the first application configuration information of the shifted-out application is modified (i.e., the original application configuration information of the shifted-out application is modified), the first application configuration information of the shifted-out application is restored.
In one embodiment, the terminal may reselect the application to be set as the home application after setting the target application as the home application. After setting the re-selected application as the home application, the terminal may add the re-selected application to the top of the stack of the home application management stack and move the target application out of the bottom of the stack of the home application management stack. Specifically, after setting the re-selected application as the homepage application, the terminal adds application data of the re-selected application to the stack top in the homepage application management stack, removes application data of a target application located at the stack bottom in the homepage application management stack, and executes homepage application management operation according to the homepage application management stack. And if the first application configuration information of the target application is modified, the first application configuration information of the target application can be restored after the target application is moved out.
It should be noted that, after the history application is removed from the home application management stack, since the removed application does not need to take on the role of the home application, the configuration of the removed application may be restored to its default configuration if the removed application modifies the configuration, e.g., if the first application configuration information of the removed application is modified to be the second application configuration information, the second application configuration information of the removed application may be restored to the first application configuration information. Each application set as the homepage application is put into the homepage Home type collection in the starting process, and is referred to as homepage application management stack for management, in this embodiment of the present application, after any application is successfully set as the homepage application, the application set as the homepage application last time can be removed from the homepage management stack, and if the configuration of the removed application is modified, the configuration of the removed application is restored to its default configuration. By performing this operation, persistent modifications to the configuration of the application program can be avoided, and the introduction of the home application management stack can also facilitate management of the home application.
In one embodiment, after obtaining the second application configuration information of the target application or after setting the target application as the homepage application successfully, if a setting request for setting any application, except the target application, included in the terminal as the homepage application is detected, the second application configuration information of the target application is restored to the first application configuration information; or if the fact that any application except the target application included in the terminal is set as the homepage application is detected to be successful, the second application configuration information of the target application is restored to the first application configuration information of the target application.
In the embodiment of fig. 3, the terminal may perform the setting of the home page application based on the home page application configuration interface, where the terminal may enable an application program that is not the home page application to become the home page application by adding the home page application configuration information to the application configuration information of the application program through the home page application configuration management service, so as to implement an automatic setting process of the home page application.
Fig. 5 is a flowchart of an application processing method according to another embodiment of the present application. The method may be applied to the aforementioned terminals. Specifically, the method comprises the following steps:
s501, acquiring first application configuration information of a target application, wherein the target application is an application of which the first application configuration information does not comprise homepage application configuration information.
S502, adding homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application.
S503, displaying an application interface corresponding to the target application according to the second application configuration information of the target application.
Step S501 to step S503 may refer to step S101 to step S103 in the embodiment of fig. 1, which is not described herein.
S504, when the shutdown operation of the terminal where the target application is located is detected, restoring the second application configuration information of the target application to obtain the first application configuration information of the target application.
S505, executing a shutdown operation on the terminal.
In step S504-step S505, when detecting a shutdown operation for the terminal where the target application is located, the terminal may delete the homepage application configuration information from the second application configuration information of the target application to obtain the first application configuration information of the target application, and execute the shutdown operation for the terminal, thereby avoiding an invasive persistent modification to the first application configuration information of the target application.
In one embodiment, when a shutdown operation of the terminal where the target application is located is detected, the terminal may determine an application program that has currently modified the first application configuration information, and if the application program that has currently modified the first application configuration information is the target application, delete the homepage application configuration information from the second application configuration information of the target application, and obtain the first application configuration information of the target application. In one embodiment, the terminal may query the application configuration information modification record, and determine the application program modified with the first application configuration information according to the queried application configuration information modification record. For example, when the application configuration information modification record is stored in the application configuration information modification record file, then the application program that has currently modified the first application configuration information may be determined from the application configuration information modification record file.
S506, when the restarting operation for the terminal is detected, the restarting operation is executed for the terminal.
S507, determining at least one homepage application included by the terminal.
The terminal may acquire application configuration information of each application included in the terminal, and determine at least one homepage application included in the terminal according to the application configuration information of each application. Since the first application configuration information of the original homepage application includes homepage application configuration information, the at least one homepage application determined by the terminal includes the original homepage application.
In one embodiment, when the homepage application management file includes the added application configuration information modification record, the terminal may obtain the first application configuration information of the second application corresponding to the second target application identifier according to the second target application identifier (application identifier corresponding to the second application) included in the application configuration information modification record of the second application (the application that changes the first application configuration information into the homepage application by last modification), and add the homepage application configuration information to the first application configuration information of the second application, so as to obtain the second application configuration information of the second application. Since the second application configuration information of the second application includes homepage application configuration information, the at least one homepage application determined by the terminal includes the second application.
In one embodiment, the application configuration information modification record file includes an added application configuration information modification record, and the terminal may obtain first application configuration information of a second application corresponding to the second target application identifier according to a second target application identifier (application identifier corresponding to the second application) included in the application configuration information modification record of the second application (application that has recently changed from modifying the first application configuration information into the homepage application), and add homepage application configuration information to the first application configuration information of the second application, to obtain second application configuration information of the second application. Since the second application configuration information of the second application includes homepage application configuration information, the at least one homepage application determined by the terminal includes the second application.
In one embodiment, if the second application is a target application, and the second target application identifier is a target application identifier, the terminal obtains first application configuration information of the target application according to the target application identifier; adding homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application; and determining that the target application is a homepage application according to the second application configuration information of the target application. Since the second application configuration information of the target application includes homepage application configuration information, the at least one homepage application determined by the terminal includes the target application.
S508, starting a target homepage application in the at least one homepage application.
S509, displaying an application interface corresponding to the target homepage application.
The home page application identifier is a corresponding identifier recorded in a home page application management file for the target home page application. And adding a homepage application identifier with the time interval between the time and the current time as the minimum time interval in the homepage application management file, and identifying the application of the target homepage application. The addition time refers to the time when the application is set as the home application.
In one embodiment, when the home page application management file includes updated information indicating that the application is a set home page application, the terminal may determine, as the target home page application, a first application corresponding to the first target application identification according to the first target application identification (application identification corresponding to the first application) in the information indicating that the first application (the application last set as the home page application) is the set home page application.
In one embodiment, if the at least one homepage application includes a target homepage application, the target homepage application is started, and an application interface corresponding to the target homepage application is displayed. The first application belongs to at least one homepage application, and indicates that the first application is the homepage application set by the terminal last time, so that the first application can be preferentially started, and an application interface corresponding to the first application is displayed, so that the application interface of the homepage application set last time can be displayed after the terminal is restarted, and the interface which is always displayed as an operation system of the terminal after the terminal is restarted is not longer common as the prior art.
In one embodiment, assuming that the target application is still set as the home application before the terminal is powered off, the first target application identifier is an application identifier of the target application, and the first application is the target application, and the target home application is the target application. The terminal may determine that the at least one home application includes a target application, and then start the target application, and display an application interface corresponding to the target application. Assuming that before the terminal performs the key operation, another application except the target application is finally set as the homepage application, when the first target application is identified as the application identifier of the other application, the first application is the other application, the target homepage is the other homepage application, the terminal can determine that at least one homepage application comprises the other application, then start the other application, and display an application interface corresponding to the other application.
In one embodiment, the terminal may expose at least one home page application when the at least one home page application does not include the target home page application. The terminal may start the selected homepage application when detecting a selection operation for any one of the at least one homepage application, and display an application interface of the selected homepage application. For example, the terminal may display, through an interface, an application identifier of at least one home application included in the terminal, and the terminal user may select an application identifier from the application identifiers of the at least one home application, start the home application corresponding to the selected application identifier, and display an application interface of the home application corresponding to the selected application identifier.
In the embodiment of fig. 5, the terminal may execute the restart operation, determine the first application according to the target file, and when the first application belongs to at least one homepage application, preferentially start the first application, and display an application interface corresponding to the first application.
Fig. 6 is a flowchart of an application processing method according to another embodiment of the present application. The method may be applied to the aforementioned terminals. Specifically, the method comprises the following steps:
in steps S601-S602, the terminal may start starting the home application after restarting the system, and then enter the home application configuration management service.
The terminal may execute a restart operation, specifically, may execute a restart operation after the terminal is turned off, enter the homepage application configuration management service, specifically, may restart the system, execute an instruction to start the homepage application, and enter the homepage application configuration management service. In one embodiment, the terminal may set a home application configuration management service in the package management service Package Manager Service and enter the home application configuration management service after entering Package Manager Service.
The terminal can set the homepage application through interfaces such as a homepage application setting interface. The terminal may set any one of the applications of the terminal as a homepage application through an interface such as a homepage application setting interface, e.g., the terminal may set any one of at least one candidate application of the terminal as a homepage application through the homepage setting interface. In one embodiment, the terminal may set the target application as the home application through an interface such as a home application setting interface. For example, the terminal may acquire a setting request for setting the target application as the homepage application, and then acquire first application configuration information of the target application according to the setting request, thereby detecting whether the target application satisfies the homepage application setting condition according to the first application configuration information of the target application. The terminal may invoke the homepage application configuration management service when detecting that the target application does not satisfy the homepage application setting condition, add homepage application configuration information to the first application configuration information of the target application through the homepage application configuration management service, obtain second application configuration information of the target application, and set the target application as the homepage application.
In the process that a certain application is set as a homepage application through interfaces such as a homepage application setting interface, if the first application configuration information of the application is modified or second application configuration information of the application is obtained, the terminal memorizes and stores the application identifier of the application. The mode of memorizing and storing the application identifier of the application by the terminal can be that the terminal updates the application identifier of the application to the application configuration information modification record file. For example, in the process of setting the target application as the homepage application through the homepage application setting interface and other interfaces, if the first application configuration information of the target application is modified or the second application configuration information of the target application is obtained, the terminal stores the application identifier of the target application. The mode of memorizing and storing the application identifier of the target application by the terminal can be specifically that the terminal updates the application identifier of the target application to the application configuration information modification record file.
After setting a certain application as a homepage application through interfaces such as a homepage application setting interface, the terminal updates information indicating the homepage application which is set as the homepage application to a homepage application management file, or updates an application package name in the existing indication information in the homepage application management file by using an application package name of the selected application, so as to realize the process of setting the selected application as the homepage application. The latter corresponds to updating the application package name of the selected application to the home application management file.
After the terminal sets a certain application as the homepage application through interfaces such as a homepage application setting interface, if a shutdown instruction of the terminal is detected, restoring the second application configuration information of the application to obtain the first application configuration information of the application, and executing shutdown operation. For example, after the terminal sets the target application as the homepage application through interfaces such as the homepage application setting interface, if the shutdown operation for the terminal is detected, the second application configuration information of the target application is reduced to obtain the first application configuration information of the target application, and the shutdown operation is performed on the terminal.
In one embodiment, when a restart operation for a terminal is detected, the restart operation is performed on the terminal.
In step S603, the terminal may query whether the application identifier is memorized and stored. If yes, step S604 to step S605 are sequentially executed, and if no, step S605 is executed.
The mode of judging whether the application identifier is memorized and stored by the terminal can be as follows: the terminal inquires whether an application identifier exists in the application configuration information modification file.
In step S604, the terminal obtains the second target application identifier stored in memory, obtains the first application configuration information of the second application corresponding to the second target application identifier according to the second target application identifier, and adds the homepage application configuration information to the first application configuration information of the second application to obtain the second application configuration information of the second application.
The terminal may determine the latest updated application identifier from the application configuration information modification record file, for example, determine the application identifier with the minimum time interval between the addition time and the current time as the second target application identifier, obtain the first application configuration information of the second application corresponding to the second target application identifier according to the second target application identifier, and add the homepage application configuration information in the first application configuration information of the second application, obtain the second application configuration information of the second application, set the second application as the homepage application, where the second application is the homepage application started as a candidate.
In step S605, the terminal may determine at least one home page application included in the terminal.
At least one homepage application determined by the terminal is a homepage application which is candidate to be started, and the at least one homepage application comprises the second application.
In one embodiment, the terminal may further generate a candidate start homepage application list including at least one homepage application after determining the at least one homepage application included in the terminal, and in particular, the terminal may generate a candidate start homepage application list including an application identification of the at least one homepage application.
In step S606, the terminal may acquire a first target application identifier from the home application management file.
In the embodiment of the present application, the homepage application management file is used to record instruction information indicating that an application is set as a homepage application. The terminal may parse the homepage application management file to determine the set homepage application.
The terminal can acquire an application identifier with the minimum time interval between the adding time and the current time in the homepage application management file as a first target application identifier.
In step S607, the terminal may determine whether a first application corresponding to the first target application identifier exists in at least one home application, if not, execute step S608, and if so, execute step S609.
In one embodiment, the terminal may determine whether the first application exists in the candidate startup home application list, and in particular, may determine whether the first target application identifier exists in the candidate startup application list.
In step S608, when the first application terminal corresponding to the first target application identifier does not exist in the at least one homepage application, the at least one homepage application may be displayed, and one homepage application is selected, and the selected homepage application is started.
The terminal may display at least one homepage application included in the terminal if the first application corresponding to the first target application identifier does not belong to the at least one homepage application; if a selection operation for any one of at least one homepage application included in the terminal is detected, starting the selected homepage application, and displaying an application interface of the selected homepage application.
In one embodiment, when the homepage application management file has an application upgrade, a terminal system failure, or the like, a determination result that the first application corresponding to the first target application identifier does not exist in the at least one homepage application may occur, and in this case, the at least one homepage application may be displayed so as to select one homepage application for starting.
In step S609, when a first application corresponding to the first target application identifier exists in at least one home application, the terminal may start the first application.
In the embodiment of fig. 6, the home application configuration management service does not invasively modify the application configuration information, and when the terminal is powered off, the application modified with the first application configuration information is restored from the second application configuration information to the first application configuration information, and after the terminal is restarted, the application is restored from the first application configuration information to the second application configuration information. In the process of recovering from the first application configuration information to the second application configuration information, the homepage application configuration management service can analyze the application identifier stored and memorized last time to obtain the first application configuration information of the application corresponding to the application identifier, and then re-add the homepage application configuration information into the first application configuration information of the application, so that the homepage application configuration management service can re-determine that the application is the homepage application, and put the application into a candidate homepage starting application list, then the homepage application configuration management service can analyze the homepage application management file, if the application corresponding to the application identifier added last time in the homepage application management file is in the candidate homepage starting application list, the application corresponding to the application identifier added last time is directly started, otherwise, the candidate homepage starting application list is popped up for a terminal user to select, and finally the terminal re-starts the homepage application selected by the terminal user.
The application processing device provided in the embodiment of the present application is described in detail below.
Fig. 7 is a schematic structural diagram of an application processing device according to an embodiment of the present application. The application processing device can be applied to the terminal. Specifically, the application processing apparatus includes:
the obtaining module 701 is configured to obtain first application configuration information of a target application, where the target application is an application where the first application configuration information does not include homepage application configuration information.
The processing module 702 is configured to add the homepage application configuration information to the first application configuration information of the target application, so as to obtain second application configuration information of the target application.
And the display module 703 is configured to display an application interface corresponding to the target application according to the second application configuration information of the target application.
In one embodiment, the processing module 702 is further configured to, before displaying the application interface corresponding to the target application according to the second application configuration information of the target application, add an application configuration information modification record of the target application to a homepage application management file, where the application configuration information modification record of the target application includes a target application identifier and a latest adding time of the target application, where the target application identifier is an application identifier of the target application, and the latest adding time is a time when the target application is added last as the homepage application.
In one embodiment, the processing module 702 is further configured to, when detecting a shutdown operation for a terminal where the target application is located, perform reduction processing on the second application configuration information of the target application, to obtain first application configuration information of the target application; and executing a shutdown operation on the terminal.
In one embodiment, the processing module 702 is further configured to perform a restart operation on the terminal when a restart operation for the terminal is detected; determining at least one homepage application included in the terminal; the homepage application at least comprises an original homepage application, and the original homepage application is an application of which the first application configuration information comprises homepage application configuration information; starting a target homepage application in the at least one homepage application; and adding a homepage application identifier with the time interval between the time and the current time as the minimum time interval in the homepage application management file, and identifying the application of the target homepage application.
In one embodiment, the display module 703 is further configured to display an application interface corresponding to the target homepage application.
In one embodiment, when the target home application is the target application, the home application identifier is the target application identifier, and the processing module 702 is further configured to obtain the first application configuration information of the target application according to the target application identifier; and adding homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application.
In one embodiment, the processing module 702 determines that the terminal includes at least one home application, specifically, determines the target application as a home application according to the second application configuration information of the target application, where the at least one home application included in the terminal further includes the target application.
In one embodiment, the obtaining module 701 obtains first application configuration information of the target application, specifically, obtains a setting request about setting the target application as a homepage application; and acquiring first application configuration information of the target application according to the application identifier of the target application carried by the setting request.
In one embodiment, the processing module 702 is further configured to move the target application into the home application management stack after the target application is set as the home application is successful; removing a history application from the homepage application management stack, wherein the history application is a homepage application arranged before the target application; and carrying out homepage application management through the homepage application management stack.
In the embodiment shown in fig. 7, the application processing device may add the homepage application configuration information to the application configuration information of the application program, so that the application program becomes the homepage application, thereby implementing the self-defining process of the homepage application.
Referring to fig. 8, fig. 8 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present application. As shown in fig. 8, the terminal may include: processor 801, user interface 803 and memory 805, and the above-described terminal may further comprise at least one communication bus 802. In one embodiment, the terminal may also include a network interface 804. Wherein a communication bus 802 is used to enable connected communication between these components. The user interface 803 may include a Display screen (Display) or the like, among others. In this embodiment of the present application, the user interface 803 may be used to display related interfaces, including a home application setting interface, an application interface, and the like. Optionally, the user interface 803 may also include a standard wired interface, a wireless interface. The network interface 804 may include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 805 may be a high-speed RAM memory or a nonvolatile memory (non-volatile memory), such as at least one magnetic disk memory. The memory 805 may also optionally be at least one storage device located remotely from the aforementioned processor 801. As shown in fig. 8, an operating system, a network communication module, a user interface module, and a device control application program may be included in the memory 805, which is one type of computer-readable storage medium.
In the terminal shown in fig. 8, the network interface 804 may provide a network communication function; while user interface 803 is primarily an interface for providing input to a user; and the processor 801 may be used to invoke device control applications stored in the memory 805 to implement:
the method comprises the steps of obtaining first application configuration information of a target application, wherein the target application is an application of which the first application configuration information does not comprise homepage application configuration information.
And adding the homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application.
And displaying an application interface corresponding to the target application according to the second application configuration information of the target application.
In one embodiment, before displaying the application interface corresponding to the target application according to the second application configuration information of the target application, the processor 801 may be configured to invoke the device control application stored in the memory 805 to implement:
and adding the application configuration information modification record of the target application to a homepage application management file, wherein the application configuration information modification record of the target application comprises a target application identifier and the latest adding time of the target application, the target application identifier is the application identifier of the target application, and the latest adding time is the time when the target application is added as the homepage application last time.
In one embodiment, the processor 801 may be used to invoke a device control application stored in the memory 805 to implement:
when the shutdown operation of the terminal where the target application is located is detected, restoring the second application configuration information of the target application to obtain the first application configuration information of the target application;
and executing a shutdown operation on the terminal.
In one embodiment, the processor 801 may be used to invoke a device control application stored in the memory 805 to implement:
when a restarting operation for the terminal is detected, executing the restarting operation for the terminal;
determining at least one homepage application included in the terminal; the homepage application at least comprises an original homepage application, and the original homepage application is an application of which the first application configuration information comprises homepage application configuration information;
starting a target homepage application in the at least one homepage application; adding a homepage application identifier with the time interval between the time and the current time being the minimum time interval in the homepage application management file, and using the homepage application identifier as the application identifier of the target homepage application;
and displaying an application interface corresponding to the target homepage application.
In one embodiment, when the target home application is a target application, the home application identification is the target application identification, the processor 801 may be configured to invoke a device control application program stored in the memory 805 to implement:
acquiring first application configuration information of the target application according to the target application identifier;
adding homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application;
the determining at least one homepage application included by the terminal comprises:
and determining that the target application is a homepage application included in the terminal according to the second application configuration information of the target application, wherein at least one homepage application included in the terminal also comprises the target application.
In one embodiment, the processor 801 may be configured to invoke a device control application program stored in the memory 805 to obtain first application configuration information for the target application, including:
the acquiring a setting request for setting a target application as a homepage application;
and acquiring first application configuration information of the target application according to the application identifier of the target application carried by the setting request.
In one embodiment, the processor 801 may be used to invoke a device control application stored in the memory 805 to implement:
after the target application is set as the homepage application, the target application is moved into the homepage application management stack;
removing a history application from the homepage application management stack, wherein the history application is a homepage application arranged before the target application;
and carrying out homepage application management through the homepage application management stack.
It should be understood that the terminal described in the embodiment of the present application may perform the description of the above-mentioned application processing method in the embodiment corresponding to fig. 1, 3, 5 and 6, and may also perform the description of the above-mentioned application processing device in the embodiment corresponding to fig. 7, which are not repeated herein. In addition, the description of the beneficial effects of the same method is omitted.
The present application also provides a computer readable storage medium storing a computer program comprising program instructions which, when executed by a computer, cause the computer to perform a method as in the previous embodiments, which computer may be part of the terminal mentioned above. Such as the processor 801 described above. As an example, the program instructions may be deployed to be executed on one terminal or on multiple terminals at one site or on multiple terminals distributed across multiple sites and interconnected by a communication network, where the multiple terminals distributed across multiple sites and interconnected by a communication network may constitute a blockchain network.
The terms "first," "second," "third," and "fourth" and the like in the description and in the claims of this application and in the above-described figures, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in the embodiments may be accomplished by computer programs to instruct related hardware, where the programs may be stored on a computer readable storage medium, and where the programs, when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (10)

1. An application processing method, comprising:
acquiring first application configuration information of a target application, wherein the target application is an application of which the first application configuration information does not comprise homepage application configuration information;
adding homepage application configuration information into first application configuration information of the target application to obtain second application configuration information of the target application;
and displaying an application interface corresponding to the target application according to the second application configuration information of the target application.
2. The method according to claim 1, wherein before displaying the application interface corresponding to the target application according to the second application configuration information of the target application, the method further comprises:
and adding the application configuration information modification record of the target application to a homepage application management file, wherein the application configuration information modification record of the target application comprises a target application identifier and the latest adding time of the target application, the target application identifier is the application identifier of the target application, and the latest adding time is the time when the target application is added as the homepage application last time.
3. The method according to claim 1, wherein the method further comprises:
when the shutdown operation of the terminal where the target application is located is detected, restoring the second application configuration information of the target application to obtain the first application configuration information of the target application;
and executing a shutdown operation on the terminal.
4. The method according to claim 1, wherein the method further comprises:
when a restarting operation for the terminal is detected, executing the restarting operation for the terminal;
determining at least one homepage application included in the terminal; the homepage application at least comprises an original homepage application, and the original homepage application is an application of which the first application configuration information comprises homepage application configuration information;
starting a target homepage application in the at least one homepage application; adding a homepage application identifier with the time interval between the time and the current time being the minimum time interval in the homepage application management file, and using the homepage application identifier as the application identifier of the target homepage application;
and displaying an application interface corresponding to the target homepage application.
5. The method of claim 4, wherein when the target home application is a target application, the home application identification is the target application identification, the method further comprising:
Acquiring first application configuration information of the target application according to the target application identifier;
adding homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application;
the determining at least one homepage application included by the terminal comprises:
and determining the target application as a homepage application according to the second application configuration information of the target application, wherein at least one homepage application included in the terminal also comprises the target application.
6. The method according to any one of claims 1-5, wherein the obtaining the first application configuration information of the target application includes:
the acquiring a setting request for setting a target application as a homepage application;
and acquiring first application configuration information of the target application according to the application identifier of the target application carried by the setting request.
7. The method according to any one of claims 1-5, further comprising:
after the target application is set as the homepage application, the target application is moved into the homepage application management stack;
removing a history application from the homepage application management stack, wherein the history application is a homepage application arranged before the target application;
And carrying out homepage application management through the homepage application management stack.
8. An application processing apparatus, comprising:
the acquisition module is used for acquiring first application configuration information of the target application;
the processing module is used for adding the homepage application configuration information into the first application configuration information of the target application to obtain second application configuration information of the target application;
and the display module is used for displaying an application interface corresponding to the target application according to the second application configuration information of the target application.
9. A terminal comprising a processor, a memory and a user interface, the processor, the memory and the user interface being interconnected, wherein the memory is adapted to store computer program instructions, the processor being configured to execute the program instructions to implement the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein computer program instructions for performing the method of any of claims 1-7 when being executed by a processor.
CN202210934973.7A 2022-08-02 2022-08-02 Application processing method, device, terminal and storage medium Pending CN117539552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210934973.7A CN117539552A (en) 2022-08-02 2022-08-02 Application processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210934973.7A CN117539552A (en) 2022-08-02 2022-08-02 Application processing method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN117539552A true CN117539552A (en) 2024-02-09

Family

ID=89788664

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210934973.7A Pending CN117539552A (en) 2022-08-02 2022-08-02 Application processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN117539552A (en)

Similar Documents

Publication Publication Date Title
KR101556905B1 (en) Managing web page links using structured data
US6754722B2 (en) System and method for installing device drivers in a computer system
US20060235944A1 (en) Method and system for a home screen editor in smartphone devices
US8244687B2 (en) Persistent state database for operating system services
US20140304632A1 (en) Smart device for convenient graphic object arrangement and method of graphic object arrangement
US20190332367A1 (en) Method and apparatus for installing application
US20080182668A1 (en) Information processor
JP2008508597A (en) Help utility application program
CN108595965B (en) Method and device for preventing attribute information of interface control from being stolen
US10248291B2 (en) In-vehicle terminal, content display system, content display method and computer program product
CN103309751A (en) Apparatus and method of terminal for providing file system function
US7882063B2 (en) System for synchronization of configuration values between a data base and its input utility
CN111158788B (en) Desktop starter control method and device and storage medium
CN113918209A (en) Method and device for generating upgrade list and readable storage medium
CN117130697B (en) Method and device for fixing application on taskbar
CN105739717B (en) Data inputting method and device
US20070266337A1 (en) Contextual link display in a user interface
CN117539552A (en) Application processing method, device, terminal and storage medium
JPH10289084A (en) Information processor and read-only storage medium
JP4064621B2 (en) Software support system and computer-readable recording medium recording support program
CN110989876B (en) Application program adaptation method, mobile terminal and storage medium
JPH05158672A (en) Program start selection system using menu
CN112581957B (en) Computer voice control method, system and related device
CN109408547B (en) SAM registry reading method, reading system and related device
JPH1027179A (en) Electronic newspaper system

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