CN112783550A - Application program management method and device - Google Patents

Application program management method and device Download PDF

Info

Publication number
CN112783550A
CN112783550A CN202110099441.1A CN202110099441A CN112783550A CN 112783550 A CN112783550 A CN 112783550A CN 202110099441 A CN202110099441 A CN 202110099441A CN 112783550 A CN112783550 A CN 112783550A
Authority
CN
China
Prior art keywords
function
preset
interface
installation package
functional
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.)
Granted
Application number
CN202110099441.1A
Other languages
Chinese (zh)
Other versions
CN112783550B (en
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.)
Vivo Software Technology Co Ltd
Original Assignee
Vivo Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Software Technology Co Ltd filed Critical Vivo Software Technology Co Ltd
Priority to CN202110099441.1A priority Critical patent/CN112783550B/en
Priority claimed from CN202110099441.1A external-priority patent/CN112783550B/en
Publication of CN112783550A publication Critical patent/CN112783550A/en
Application granted granted Critical
Publication of CN112783550B publication Critical patent/CN112783550B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses an application program management method and device, which belong to the technical field of electronic equipment, and the method comprises the following steps: under the condition that an application program meets a preset condition, analyzing an installation package of the application program to obtain preset parameters corresponding to each functional interface contained in the installation package, wherein the preset parameters comprise: interface identification, a jump relation for jumping to the functional interface and a functional label; storing preset parameters corresponding to the functional interfaces into a preset database, wherein the preset database comprises: and presetting parameters corresponding to the function interfaces contained in each application program installation package installed by the electronic equipment. According to the application program management method, a user can quickly and conveniently find the target function module and start the target function.

Description

Application program management method and device
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to an application program management method and device.
Background
A plurality of Applications (APPs) are generally installed in the electronic device, and the installed APPs can bring various convenient services to the user. With the continuous update and upgrade of electronic devices, the memory of mobile electronic devices is increasing, and accordingly, the number of APPs that can be installed on electronic devices is also increasing. And along with the increase of the APP quantity of installation on the electronic equipment, and the function in the APP of installation both has commonality and has the difference, when the user needs to use certain function, need open APP one by one and look for target function entry, complex operation, consuming time are long.
Disclosure of Invention
The embodiment of the application program management method and device aims to solve the problems that in the prior art, when a user opens an APP one by one to search for a target function entrance, the operation is complex, and the time consumption is long.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an application management method applied to an electronic device, where the method includes: under the condition that an application program meets a preset condition, analyzing an installation package of the application program to obtain preset parameters corresponding to each functional interface contained in the installation package, wherein the preset parameters comprise: interface identification, a jump relation for jumping to the functional interface and a functional label; storing preset parameters corresponding to the functional interfaces into a preset database, wherein the preset database comprises: and presetting parameters corresponding to the function interfaces contained in each application program installation package installed by the electronic equipment.
In a second aspect, an embodiment of the present application provides an application management apparatus, which is applied to an electronic device, where the apparatus includes: the analysis module is used for analyzing the installation package of the application program under the condition that the application program meets preset conditions to obtain preset parameters corresponding to each functional interface contained in the installation package, wherein the preset parameters comprise: interface identification, a jump relation for jumping to the functional interface and a functional label; the storage module is used for storing the preset parameters corresponding to the functional interfaces into a preset database, wherein the preset database comprises: and presetting parameters corresponding to the function interfaces contained in each application program installation package installed by the electronic equipment.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the application program meets the preset conditions, analyzing the installation package of the application program to obtain preset parameters corresponding to each functional interface contained in the installation package; and storing the preset parameters corresponding to the functional interfaces into a preset database. When a user searches a target function, the user directly inputs a function search keyword, namely the system can be triggered to search preset parameters corresponding to a target function interface matched with the function search keyword from a preset database, and the user jumps to the target function interface according to the jump relation of the target function interface contained in the preset parameters, so that the target function searching process is convenient and short in time consumption.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart illustrating the steps of an application management method according to an embodiment of the present application;
fig. 2 is a block diagram showing a configuration of an application management apparatus according to an embodiment of the present application;
fig. 3 is a block diagram showing a configuration of an electronic device according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail an application management method provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, a flowchart illustrating steps of an application management method according to an embodiment of the present application is shown.
The application management method provided by the embodiment of the application is applied to electronic equipment, and comprises the following steps:
step 101: and the electronic equipment analyzes the installation package of the application program under the condition that the application program meets the preset conditions to obtain preset parameters corresponding to each functional interface contained in the installation package.
The preset conditions may be set as: the application is installed in the electronic device for the first time or the application is updated.
The installation package of the application program includes a plurality of functional interfaces, and for each functional interface, a corresponding preset parameter needs to be analyzed, where the preset parameter may include but is not limited to: interface identification, jump relation of jumping to a function interface and a function label.
The interface identifiers of different functional interfaces are different, and one functional interface can be uniquely calibrated by the interface identifiers. And the corresponding functional interface can be directly opened through the jump relation system jumping to the functional interface. The function label is used for indicating a plurality of supported functions of the function interface.
Step 102: and the electronic equipment stores the preset parameters corresponding to the functional interfaces into a preset database.
Wherein, preset the database and include: and presetting parameters corresponding to the function interfaces contained in each application program installation package installed by the electronic equipment. The electronic equipment manages the installed application programs and manages preset parameters of the functional interfaces contained in the application programs stored in the preset database. For example: when a certain application program is uninstalled from the electronic device, preset parameters corresponding to each functional interface included in the application program managed in the preset database need to be deleted synchronously. For another example: when a certain application program is installed in the electronic equipment for the first time, after the application program is installed, the electronic equipment needs to analyze the installation package to obtain preset parameters corresponding to each functional interface contained in the application program, and the preset parameters corresponding to each functional interface contained in the application program obtained through analysis are added to a preset database.
In the electronic equipment, each installed application program is divided according to function modules, each function module corresponds to one function interface, and a plurality of function modules are subjected to system management in a preset database, so that a user can conveniently perform global search on target functions.
According to the application program management method provided by the embodiment of the application program, under the condition that the application program meets the preset conditions, the installation package of the application program is analyzed to obtain the preset parameters corresponding to each functional interface contained in the installation package; and storing the preset parameters corresponding to the functional interfaces into a preset database. When a user searches a target function, the user directly inputs a function search keyword, namely the system can be triggered to search preset parameters corresponding to a target function interface matched with the function search keyword from a preset database, and the user jumps to the target function interface according to the jump relation of the target function interface contained in the preset parameters, so that the target function searching process is convenient and short in time consumption.
In an optional embodiment, when the application program meets a preset condition, the electronic device analyzes the application program installation package to obtain a mode of obtaining preset parameters corresponding to each functional interface included in the installation package, and the method includes the following substeps:
the first substep: the method comprises the steps that when an application program meets a preset condition, the electronic equipment analyzes a preset file in an installation package of the application program to obtain interface information of each functional interface contained in the installation package;
the preset file can be a Manifist file in the installation package, and the related information of the functional interface can be analyzed from the Manifist. Manifest files, which may define the structure and metadata of an application and its components and requirements, are stored at the bottom level in the project hierarchy. It contains each of the Activity, Service, Content Provider, and Broadcast Receiver components that make up an application, and uses the Intent Filter and permissions to determine how these components interact with each other and with other applications. Among them, Activity is one of the four most basic and most commonly used components in android.
And a second substep: the electronic equipment determines interface identification and function labels corresponding to the function interfaces based on the interface information of the function interfaces;
some functional interfaces have functional labels in interface information, so that the functional labels can be directly extracted from the functional interfaces, and some functional interfaces have no functional labels in interface information, so that the controls in the functional interfaces need to be analyzed, and finally the functional labels corresponding to the functional interfaces are determined.
And a third substep: and the electronic equipment analyzes the jump relation of jumping to each functional interface from the source codes contained in the installation package.
The jump relationship includes: data exchange, a jump logic relationship, a page complete path and other relationships involved in the jump process, including but not limited to intent, transfer, click event and the like. The analyzed jump relation is a complete command which can be used for automatically executing the opening of the corresponding function interface.
The mode of optionally analyzing each function module contained in the installation package of the application program has comprehensive analysis and accurate analysis result.
In an optional embodiment, in a case that the electronic device cannot determine the function label according to the interface information of the function interface for any function interface, after the step of analyzing the jump relationship between the jump to each function interface from the source code included in the installation package, the method further includes the following steps:
the method comprises the following steps: analyzing each control included in the functional interface from a preset file;
the preset file may be a Manifest file.
Step two: analyzing the jump relation of jumping to each control from the source code;
step three: and analyzing character strings contained in the jump relation corresponding to each control to obtain a function label of the function interface.
In the actual implementation process, the system can obtain all activities with labels, i.e. interface information attributes, from the Manifest, and obtain different character strings under common controls, e.g. controls commonly used as modules tab, i.e. tags, such as viewport + fragment, TabActivity, from the source codes, and obtain the character strings under the controls, and use the character strings as the function tags.
The mode of optionally determining the function label of the function interface can ensure the reliability of the generated function label.
In an optional embodiment, after the electronic device stores the preset parameters corresponding to each functional interface in the preset database, the method further includes the following steps:
the method comprises the following steps: receiving a function search keyword input by a user;
the function search keyword may be manually input by a user; or automatically generating a plurality of function search keywords by the system according to each function which can be provided by the electronic equipment currently for the user to select, and selecting the function search keywords from the plurality of function search keywords generated by the system by the user to complete the input; the functional search keyword may also be input by a user voice. In this optional embodiment, a specific input mode obtained by searching the keyword through the function is not particularly limited.
Step two: searching a first function label matched with the search keyword from a preset database;
the first functional tag may be one or more. When the first function tag matched with the search keyword is not found in the preset database, prompt information can be output to prompt the user that the related function module is not found.
For example: the function search keyword input by the user is 'scan', and the system searches the database for the first function tags corresponding to the function interfaces providing the 'scan' function. The first function tag searched for may be a scan of an a application, a scan of a B application, or a scan of a C application, etc.
Step three: displaying each first function label;
when a plurality of first function tags are included, the first function tags can be displayed in a sequence according to a preset rule.
The preset rules may be set as: sequencing the first function labels according to the use frequency of the function interface corresponding to the first function labels by the user; and sequencing the first function tags according to the current application scene, and the like, wherein the preset rule is set in such a way that the first function tags with larger user selectivity are sequenced more forwards. The mode of simultaneously displaying the plurality of first function labels for the user to select facilitates the user to visually know which application programs can provide the searched functions and to quickly locate the target function module in the target application program.
Step four: under the condition that first input of a user on a target function label in all first function labels is received, searching a target jump relation corresponding to the target function label from a preset database;
the first input may include, but is not limited to: click, long press, or slide operation, etc. The first input user selects a target function tag from the plurality of first function tags. Because the preset database stores the corresponding relations of the functional tags, the jump relations and the interface identifications, after the target functional tags are determined, the target corresponding relations corresponding to the target functional tags can be searched from the preset database, and the target jump relations can be searched from the target corresponding relations.
It should be noted that, if only one first function tag is found in the second step, the system may directly find the target jump relationship corresponding to the first function tag from the preset database, and jump to the target function interface corresponding to the target function tag according to the target jump relationship. The manual selection of a user is not needed, so that the operation is more convenient and time-saving.
Step five: and jumping to a target function interface corresponding to the target function label according to the target jumping relation.
And starting a target function module corresponding to the target function label through the target jump relation, and starting a target function interface. The user does not need to search the target function interface entry by himself after opening the target application program, and the operation is convenient and fast.
According to the optional global search mode, the system can provide the first function labels corresponding to the matched function interfaces for the user to select according to the function search keywords input by the user, so that the user can conveniently search the function interfaces, and the personalized requirements of the user can be met.
In an optional embodiment, after the preset parameters corresponding to each functional interface are stored in the preset database, the method further includes the following steps:
and under the condition of receiving an unloading instruction of the installation package of the application program, deleting preset parameters corresponding to each functional interface contained in the installation package of the application program from a preset database.
The mode of optionally managing the preset parameters corresponding to the function interfaces in the preset database can avoid providing unloaded function modules for the application program when the user performs function global search after the application program is unloaded, and can improve the reliability of the preset parameters managed in the preset database.
In the application management method provided in the embodiment of the present application, the execution subject may be an application management apparatus, or a control module in the application management apparatus for executing the application management method. In the embodiment of the present application, an application management device executing an application management method is taken as an example, and the application management device provided in the embodiment of the present application is described.
Fig. 2 is a block diagram of an application management apparatus for implementing an embodiment of the present application. The application management apparatus shown in fig. 2 is for implementing the application management method shown in fig. 1.
The application management device 200 according to the embodiment of the present application includes:
the analysis module 201 is configured to analyze an installation package of an application program under the condition that the application program meets a preset condition, to obtain preset parameters corresponding to each functional interface included in the installation package, where the preset parameters include: interface identification, a jump relation for jumping to the functional interface and a functional label;
a storage module 202, configured to store the preset parameters corresponding to the functional interfaces into a preset database, where the preset database includes: and presetting parameters corresponding to the function interfaces contained in each application program installation package installed by the electronic equipment.
Optionally, the parsing module includes:
the first submodule is used for analyzing a preset file in an installation package of the application program under the condition that the application program meets a preset condition to obtain interface information of each functional interface contained in the installation package;
the second sub-module is used for determining interface identifications and function labels corresponding to the function interfaces based on the interface information of the function interfaces;
and the third sub-module is used for analyzing the jump relation of jumping to each functional interface from the source codes contained in the installation package.
Optionally, the parsing module further includes:
the fourth sub-module is configured to, for any one of the function interfaces, analyze, by the third sub-module, a jump relationship between a jump to each of the function interfaces from a source code included in the installation package, and then analyze, by the third sub-module, each control included in the function interface from the preset file, when a function tag cannot be determined according to interface information of the function interface;
a fifth sub-module, configured to parse, from the source code, a jump relationship to each control;
and the sixth sub-module is used for analyzing the character strings contained in the jump relations corresponding to the controls to obtain the function labels of the function interface.
Optionally, the apparatus further comprises:
the first receiving module is used for receiving the function search keywords input by the user after the storage module stores the preset parameters corresponding to the function interfaces into a preset database;
the searching module is used for searching a first function label matched with the search keyword from the preset database;
the display module is used for displaying each first functional label;
the second searching module is used for searching a target jump relation corresponding to a target function label from the preset database under the condition of receiving first input of a user to the target function label in each first function label;
and the skipping module is used for skipping to a target function interface corresponding to the target function label according to the target skipping relation.
Optionally, the apparatus further comprises:
and the deleting module is used for deleting the preset parameters corresponding to the functional interfaces in the installation package from the preset database under the condition of receiving an unloading instruction of the installation package of the application program after the preset parameters corresponding to the functional interfaces are stored in the preset database.
The application management device shown in fig. 2 in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The application management device shown in fig. 2 in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The application management device shown in fig. 2 provided in this embodiment of the application can implement each process implemented by the application management method in the embodiment of the method shown in fig. 1, and is not described here again to avoid repetition.
According to the application program management device provided by the embodiment of the application program, under the condition that the application program meets the preset conditions, the installation package of the application program is analyzed to obtain the preset parameters corresponding to each functional interface contained in the installation package; and storing the preset parameters corresponding to the functional interfaces into a preset database. When a user searches a target function, the user directly inputs a function search keyword, namely the system can be triggered to search preset parameters corresponding to a target function interface matched with the function search keyword from a preset database, and the user jumps to the target function interface according to the jump relation of the target function interface contained in the preset parameters, so that the target function searching process is convenient and short in time consumption.
Optionally, an embodiment of the present application further provides an electronic device, as shown in fig. 3, the electronic device 300 includes: the processor 301, the memory 302, and the program or the instruction stored in the memory 302 and capable of running on the processor 301, when executed by the processor 301, implement the processes of the above-mentioned embodiment of the application management method, and can achieve the same technical effects, and are not described herein again to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may further include a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 410 is configured to, when an application program meets a preset condition, parse an installation package of the application program to obtain preset parameters corresponding to each functional interface included in the installation package, where the preset parameters include: interface identification, a jump relation for jumping to the functional interface and a functional label; storing preset parameters corresponding to the functional interfaces into a preset database, wherein the preset database comprises: and presetting parameters corresponding to the function interfaces contained in each application program installation package installed by the electronic equipment.
Optionally, when the processor 410 analyzes the application installation package to obtain the preset parameters corresponding to each functional interface included in the installation package when the application meets the preset condition, specifically, the processor is configured to:
under the condition that the application program meets a preset condition, analyzing a preset file in an installation package of the application program to obtain interface information of each functional interface contained in the installation package;
determining interface identifications and function labels corresponding to the function interfaces based on the interface information of the function interfaces;
and analyzing the jump relation of jumping to each functional interface from the source code contained in the installation package.
Optionally, for any of the function interfaces, in a case that the function label cannot be determined according to the interface information of the function interface, after analyzing a jump relationship that jumps to each of the function interfaces from the source code included in the installation package, the processor 410 is further configured to: analyzing each control included in the functional interface from the preset file; analyzing the jump relation of jumping to each control from the source code; and analyzing character strings contained in the jump relation corresponding to each control to obtain the function label of the function interface.
Optionally, the user input unit 407 is configured to receive a function search keyword input by a user after the processor 410 stores preset parameters corresponding to the function interfaces in a preset database;
the processor 410 is further configured to search the preset database for a first function tag matching the search keyword;
a display unit 406, configured to display each first function tag;
the processor 410 is further configured to, in a case that a first input of a target function tag in each first function tag is received by a user, search a target jump relationship corresponding to the target function tag from the preset database; and jumping to a target function interface corresponding to the target function label according to the target jumping relation.
Optionally, after storing the preset parameters corresponding to each functional interface in a preset database, the processor 410 deletes the preset parameters corresponding to each functional interface included in the installation package from the preset database when receiving an uninstall instruction of the installation package of the application program.
According to the electronic equipment provided by the embodiment of the application, under the condition that the application program meets the preset conditions, the installation package of the application program is analyzed to obtain the preset parameters corresponding to each functional interface contained in the installation package; and storing the preset parameters corresponding to the functional interfaces into a preset database. When a user searches a target function, the user directly inputs a function search keyword, namely the system can be triggered to search preset parameters corresponding to a target function interface matched with the function search keyword from a preset database, and the user jumps to the target function interface according to the jump relation of the target function interface contained in the preset parameters, so that the target function searching process is convenient and short in time consumption.
It should be understood that in the embodiment of the present application, the input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. A touch panel 4071, also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 410 may be integrated with an application processor that primarily handles operating systems, user interfaces, applications, etc., and a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the embodiment of the application management method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the embodiment of the application management method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An application management method applied to an electronic device, the method comprising:
under the condition that an application program meets a preset condition, analyzing an installation package of the application program to obtain preset parameters corresponding to each functional interface contained in the installation package, wherein the preset parameters comprise: interface identification, a jump relation for jumping to the functional interface and a functional label;
storing preset parameters corresponding to the functional interfaces into a preset database, wherein the preset database comprises: and presetting parameters corresponding to the function interfaces contained in each application program installation package installed by the electronic equipment.
2. The method according to claim 1, wherein the step of analyzing the application installation package to obtain preset parameters corresponding to each functional interface included in the installation package when the application meets a preset condition includes:
under the condition that the application program meets a preset condition, analyzing a preset file in an installation package of the application program to obtain interface information of each functional interface contained in the installation package;
determining interface identifications and function labels corresponding to the function interfaces based on the interface information of the function interfaces;
and analyzing the jump relation of jumping to each functional interface from the source code contained in the installation package.
3. The method according to claim 2, wherein, for any of the function interfaces, after the step of analyzing a jump relationship for jumping to each of the function interfaces from source codes included in the installation package in a case where a function label cannot be determined according to interface information of the function interface, the method further comprises:
analyzing each control included in the functional interface from the preset file;
analyzing the jump relation of jumping to each control from the source code;
and analyzing character strings contained in the jump relation corresponding to each control to obtain the function label of the function interface.
4. The method according to claim 1, wherein after the step of storing the preset parameters corresponding to the functional interfaces in a preset database, the method further comprises:
receiving a function search keyword input by a user;
searching a first function label matched with the search keyword from the preset database;
displaying each first function label;
under the condition that first input of a user to a target function label in each first function label is received, searching a target jump relation corresponding to the target function label from the preset database;
and jumping to a target function interface corresponding to the target function label according to the target jumping relation.
5. The method according to claim 1, wherein after the step of storing the preset parameters corresponding to the functional interfaces in a preset database, the method further comprises:
and under the condition that an uninstalling instruction of the installation package of the application program is received, deleting preset parameters corresponding to each functional interface contained in the installation package from the preset database.
6. An application management apparatus applied to an electronic device, the apparatus comprising:
the analysis module is used for analyzing the installation package of the application program under the condition that the application program meets preset conditions to obtain preset parameters corresponding to each functional interface contained in the installation package, wherein the preset parameters comprise: interface identification, a jump relation for jumping to the functional interface and a functional label;
the storage module is used for storing the preset parameters corresponding to the functional interfaces into a preset database, wherein the preset database comprises: and presetting parameters corresponding to the function interfaces contained in each application program installation package installed by the electronic equipment.
7. The apparatus of claim 6, wherein the parsing module comprises:
the first submodule is used for analyzing a preset file in an installation package of the application program under the condition that the application program meets a preset condition to obtain interface information of each functional interface contained in the installation package;
the second sub-module is used for determining interface identifications and function labels corresponding to the function interfaces based on the interface information of the function interfaces;
and the third sub-module is used for analyzing the jump relation of jumping to each functional interface from the source codes contained in the installation package.
8. The apparatus of claim 7, wherein the parsing module further comprises:
the fourth sub-module is configured to, for any one of the function interfaces, analyze, by the third sub-module, a jump relationship between a jump to each of the function interfaces from a source code included in the installation package, and then analyze, by the third sub-module, each control included in the function interface from the preset file, when a function tag cannot be determined according to interface information of the function interface;
a fifth sub-module, configured to parse, from the source code, a jump relationship to each control;
and the sixth sub-module is used for analyzing the character strings contained in the jump relations corresponding to the controls to obtain the function labels of the function interface.
9. The apparatus of claim 6, further comprising:
the first receiving module is used for receiving the function search keywords input by the user after the storage module stores the preset parameters corresponding to the function interfaces into a preset database;
the searching module is used for searching a first function label matched with the search keyword from the preset database;
the display module is used for displaying each first functional label;
the second searching module is used for searching a target jump relation corresponding to a target function label from the preset database under the condition of receiving first input of a user to the target function label in each first function label;
and the skipping module is used for skipping to a target function interface corresponding to the target function label according to the target skipping relation.
10. The apparatus of claim 6, further comprising:
and the deleting module is used for deleting the preset parameters corresponding to the functional interfaces in the installation package from the preset database under the condition of receiving an unloading instruction of the installation package of the application program after the preset parameters corresponding to the functional interfaces are stored in the preset database.
CN202110099441.1A 2021-01-25 Application program management method and device Active CN112783550B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110099441.1A CN112783550B (en) 2021-01-25 Application program management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110099441.1A CN112783550B (en) 2021-01-25 Application program management method and device

Publications (2)

Publication Number Publication Date
CN112783550A true CN112783550A (en) 2021-05-11
CN112783550B CN112783550B (en) 2024-07-09

Family

ID=

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365880A (en) * 2012-03-29 2013-10-23 百度在线网络技术(北京)有限公司 Mobile terminal application program search method, mobile terminal application program search system and mobile terminal
CN105930477A (en) * 2016-04-28 2016-09-07 北京小米移动软件有限公司 Information search method and device
CN106033303A (en) * 2015-03-19 2016-10-19 阿里巴巴集团控股有限公司 Information searching and identifying method and device
CN110795181A (en) * 2019-09-18 2020-02-14 北京你财富计算机科技有限公司 Application program interface display method and device based on skip protocol and electronic equipment
CN111026454A (en) * 2019-11-25 2020-04-17 维沃移动通信有限公司 Function starting method and terminal equipment
CN111243580A (en) * 2018-11-28 2020-06-05 Tcl集团股份有限公司 Voice control method, device and computer readable storage medium
CN111522840A (en) * 2020-04-27 2020-08-11 平安科技(深圳)有限公司 Label configuration method, device, equipment and computer readable storage medium
CN111767108A (en) * 2020-06-28 2020-10-13 Oppo广东移动通信有限公司 Application program label generation method, application interface display method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365880A (en) * 2012-03-29 2013-10-23 百度在线网络技术(北京)有限公司 Mobile terminal application program search method, mobile terminal application program search system and mobile terminal
CN106033303A (en) * 2015-03-19 2016-10-19 阿里巴巴集团控股有限公司 Information searching and identifying method and device
CN105930477A (en) * 2016-04-28 2016-09-07 北京小米移动软件有限公司 Information search method and device
CN111243580A (en) * 2018-11-28 2020-06-05 Tcl集团股份有限公司 Voice control method, device and computer readable storage medium
CN110795181A (en) * 2019-09-18 2020-02-14 北京你财富计算机科技有限公司 Application program interface display method and device based on skip protocol and electronic equipment
CN111026454A (en) * 2019-11-25 2020-04-17 维沃移动通信有限公司 Function starting method and terminal equipment
CN111522840A (en) * 2020-04-27 2020-08-11 平安科技(深圳)有限公司 Label configuration method, device, equipment and computer readable storage medium
CN111767108A (en) * 2020-06-28 2020-10-13 Oppo广东移动通信有限公司 Application program label generation method, application interface display method and device

Similar Documents

Publication Publication Date Title
CN108319489B (en) Application page starting method and device, storage medium and electronic equipment
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
CN105302811A (en) Browser page skipping method and apparatus
CN112399006B (en) File sending method and device and electronic equipment
CN113190741B (en) Search method, search device, electronic equipment and storage medium
CN111209490A (en) Friend-making recommendation method based on user information, electronic device and storage medium
CN112749081A (en) User interface testing method and related device
CN112035752A (en) Resource searching method and device, electronic equipment and readable storage medium
CN112612391B (en) Message processing method and device and electronic equipment
CN106648746B (en) Application program execution method and device
CN112269798A (en) Information display method and device and electronic equipment
CN112181567A (en) Interface display method and device and electronic equipment
CN113014476A (en) Group creation method and device
CN111241823A (en) Dependency configuration management method and device, electronic equipment and storage medium
CN112181253A (en) Information display method and device and electronic equipment
CN111917628A (en) Message processing method and device and electronic equipment
CN112199561A (en) Application search method and device
CN111954079B (en) Image processing method, device, electronic equipment and medium
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
CN112016080A (en) Application authority management method and device and electronic equipment
CN112100463A (en) Information processing method and device, electronic equipment and readable storage medium
CN112181570A (en) Background task display method and device and electronic equipment
CN112099693A (en) Task display method and device and electronic equipment
CN112783550B (en) Application program management method and device
CN112783550A (en) Application program management method and device

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
GR01 Patent grant