CN107885543A - Function management method and device of application program and intelligent terminal - Google Patents

Function management method and device of application program and intelligent terminal Download PDF

Info

Publication number
CN107885543A
CN107885543A CN201710980066.5A CN201710980066A CN107885543A CN 107885543 A CN107885543 A CN 107885543A CN 201710980066 A CN201710980066 A CN 201710980066A CN 107885543 A CN107885543 A CN 107885543A
Authority
CN
China
Prior art keywords
function
plug
functional
application program
interface
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
CN201710980066.5A
Other languages
Chinese (zh)
Other versions
CN107885543B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710980066.5A priority Critical patent/CN107885543B/en
Publication of CN107885543A publication Critical patent/CN107885543A/en
Application granted granted Critical
Publication of CN107885543B publication Critical patent/CN107885543B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

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

Abstract

The embodiment of the invention relates to the technical field of application programs, and particularly discloses a function management method and device of an application program and an intelligent terminal, wherein the function management method comprises the following steps: when a function extension request aiming at an application program is received, acquiring a function interface of the application program; searching a functional plug-in corresponding to the functional interface; determining a function plug-in to be added; and loading the functional plug-in to be added to the application program. Through the technical scheme, the embodiment of the invention can facilitate a user to select a certain functional plug-in to realize a certain specific function according to actual requirements, so that a plurality of characteristic functional plug-ins are integrated in one application program, frequent switching among a plurality of application programs by the user is avoided, and the user experience is improved.

Description

Function management method and device of application program and intelligent terminal
Technical Field
The embodiment of the invention relates to the technical field of application programs, in particular to a function management method and device of an application program and an intelligent terminal.
Background
With the continuous development of information technology, the number of Applications (APP) is in an explosive growth situation, and a large number of applications are on the shelf in an Application store every year.
However, in an application program, there is generally only one feature function, and the other functions are auxiliary functions, for example, the feature function of a beauty camera is beauty shooting, the feature function of beautiful pictures is image beautification processing, the feature function of a day-to-day jigsaw is spliced images, and the feature function of a fast-handed person is dynamic shooting.
In the process of implementing the invention, the inventor finds that the following problems exist in the related art: the existing application programs have single characteristic functions, and when a user needs to use the characteristic functions of different applications, the user needs to switch among the application programs back and forth, so that the operation process is complicated and time-consuming.
Disclosure of Invention
The embodiment of the invention provides a function management method and device of an application program and an intelligent terminal, which can solve the problems that the characteristic functions of the existing application programs are single, and a user needs to switch back and forth among a plurality of application programs when needing to use the characteristic functions of different applications.
In a first aspect, an embodiment of the present invention provides a method for managing functions of an application program, including:
when a function extension request aiming at an application program is received, acquiring a function interface of the application program;
searching a functional plug-in corresponding to the functional interface;
determining a function plug-in to be added;
and loading the functional plug-in to be added to the application program.
Optionally, the searching for the functional plug-in corresponding to the functional interface includes:
acquiring a local application program with the same type as the application program;
and searching the local application program for a functional plug-in corresponding to the functional interface.
Optionally, the searching for the functional plug-in corresponding to the functional interface includes:
entering a functional plug-in application market, wherein the functional plug-in application market comprises a plurality of functional plug-ins;
and searching the functional plug-in corresponding to the functional interface in the functional plug-in application market.
Optionally, before the step of loading the function plug-in to be added to the application program, the method further includes:
reading the use state of a function interface corresponding to a function plug-in to be added;
and when the functional interface corresponding to the functional plug-in to be added is in an occupied state, removing the prior functional plug-in currently occupying the functional interface corresponding to the functional plug-in to be added.
Optionally, the function management method further includes:
receiving a function pruning request for the application;
determining a function plug-in to be deleted according to the function deletion request;
and unloading the functional plug-in to be deleted.
In a second aspect, an embodiment of the present invention provides an apparatus for managing functions of an application program, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a function interface of an application program when receiving a function extension request aiming at the application program;
the searching unit is used for searching the functional plug-in corresponding to the functional interface;
a determination unit configured to determine a function plug-in to be added;
and the loading unit is used for loading the functional plug-in to be added to the application program.
Optionally, the search unit is specifically configured to:
acquiring a local application program with the same type as the application program;
and searching the local application program for a functional plug-in corresponding to the functional interface.
Optionally, the search unit is specifically configured to:
entering a functional plug-in application market, wherein the functional plug-in application market comprises a plurality of functional plug-ins;
and searching the functional plug-in corresponding to the functional interface in the functional plug-in application market.
Optionally, the function management apparatus further includes:
the removing unit is used for reading the use state of the function interface corresponding to the function plug-in to be added; and when the functional interface corresponding to the functional plug-in to be added is in an occupied state, removing the prior functional plug-in currently occupying the functional interface corresponding to the functional plug-in to be added.
Optionally, the function management apparatus further includes: an unloading unit to:
receiving a function pruning request for the application;
determining a function plug-in to be deleted according to the function deletion request;
and unloading the functional plug-in to be deleted.
In a third aspect, an embodiment of the present invention provides an intelligent terminal, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of function management of an application program as described above.
In a fourth aspect, the embodiment of the present invention further provides a non-transitory computer-readable storage medium, which stores computer-executable instructions for causing a smart terminal to execute the function management method of an application program as described above.
In a fifth aspect, the present invention also provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions, and when the program instructions are executed by a smart terminal, the smart terminal is caused to execute the function management method of the application program.
The embodiment of the invention has the beneficial effects that: different from the situation in the prior art, the method, the device and the intelligent terminal for managing the functions of the application program, provided by the embodiment of the invention, acquire the functional interfaces of the application program when receiving the function extension request for the application program, and search for the functional plug-ins corresponding to the functional interfaces; after the functional plug-in to be added is determined, namely the functional plug-in to be added by the user is determined, the functional plug-in to be added is loaded to the application program, the user can conveniently select a certain functional plug-in to realize a certain specific function according to actual requirements, and therefore a plurality of characteristic functional plug-ins are integrated in one application program, frequent switching of the user among a plurality of application programs is avoided, and user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a flowchart illustrating a method for managing functions of an application according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another method for managing functions of an application according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a function management apparatus for an application according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts.
The development of the internet is changing day by day, and more Applications (APPs) are available on the Application market, and each APP has a selling point or a certain function that a user likes. Switching back and forth between multiple applications is required when a user needs to use the "point of sale function" of a different application. For example, for image-like applications, it is often the case that: the application a has a better shooting effect, a general image processing effect and less jigsaw pattern selection, while the application B has a better image processing effect and a more diverse jigsaw pattern. When a user needs to perform shooting and image processing, the user needs to use the application program A to perform shooting, then switch to the application program B to perform image processing, and finally switch to the application program C to perform jigsaw puzzle splicing. Therefore, based on the current technology, the user needs to switch back and forth among a plurality of application programs if the user wants to perform a series of processing on the image, and the process is very tedious and time-consuming.
Based on the above, the embodiment of the invention provides a function management method and device for an application program and an intelligent terminal. The "application" may be any type of software installed on the smart terminal, such as: image processing software, instant messaging software, shopping software, audio software, and the like. In particular, in the embodiment of the present invention, the application is a plug-in application, and the functions provided by the plug-in application are implemented by corresponding function plug-ins. And the application program comprises one or more functional interfaces for loading the functional plug-ins matched with the functional interfaces, so that the functions of the application program can be realized through the functional plug-ins selected by the user.
The function management method of the application program provided by the embodiment of the invention is a function management method of the application program based on function plug-in, which is characterized in that when a function expansion request aiming at the application program is received, the function interfaces of the application program are obtained, and the function plug-ins corresponding to the function interfaces are searched; after the functional plug-in to be added is determined, namely the functional plug-in to be added by the user is determined, the functional plug-in to be added is loaded to the application program, the user can conveniently select a certain functional plug-in to realize a certain specific function according to actual requirements, and therefore a plurality of characteristic functional plug-ins are integrated in one application program, frequent switching of the user among a plurality of application programs is avoided, and user experience is improved.
Therefore, by adopting the function management method and device of the application program and the intelligent terminal provided by the embodiment of the invention, a certain function can be realized by a proper function plug-in according to the selection of a user. For example, after the user sets the application program a, the shooting function is still implemented by the shooting plug-in of the application program a, meanwhile, the image processing function is implemented by the image processing plug-in of the application program B, and the jigsaw function is implemented by the jigsaw plug-in of the application program C, so that the characteristic functions of the application programs A, B and C are compatible with each other in one application program, frequent switching between a plurality of application programs by the user is avoided, and the user operation is facilitated.
The function management method and device of the application program provided by the embodiment of the invention can be applied to any type of intelligent terminal, and the intelligent terminal can comprise but is not limited to: smart phones, tablet computers, smart home appliances, smart watches, smart cars, robots, and the like.
The embodiments of the present invention will be further explained with reference to the drawings.
Example one
Fig. 1 is a flowchart illustrating a function management method for an application according to an embodiment of the present invention, referring to fig. 1, the function management method includes, but is not limited to, the following steps:
110. when a function extension request for an application program is received, a function interface of the application program is acquired.
In this embodiment, each function of the application is supported and executed by a functional plug-in, and each functional plug-in is compatible with the execution environment of the application through a functional interface corresponding to the functional plug-in. The "function plug-in" may be a functional module including operation data and program instructions, and may implement a specific type of function. The "functional interface" is an interface or protocol for making a functional plug-in compatible with the running environment of an application program, and when a certain functional plug-in is matched with a functional interface (or when a certain functional plug-in meets the requirements of a given protocol), the functional plug-in can be run in the application program.
In this embodiment, a technical developer may preset a function interface of an application program, for example, at least one function interface is set for each function that the application program can implement, and when two function interfaces are included corresponding to a certain function, it is described that the application program can implement the function through two different function plug-ins. For example, if the technical developer desires that the application a can realize the functions X, Y and Z, the function interface X, the function interface Y, and the function interface Z may be set corresponding to these functions.
Specifically, in this embodiment, when a user wants to add a certain function to a certain application program or replace a function plug-in that implements a certain function, any interaction manner may be used, such as: the method comprises the steps of inputting a function expansion request on a function management interface of the application program through a touch screen, a mouse, a keyboard, a remote controller, a motion sensing operation and the like, for example, clicking a + in the management interface of the application program or inputting a specific gesture operation and the like. And when the intelligent terminal receives a function extension request aiming at the application program, firstly, acquiring a function interface of the application program to determine which types of function plug-ins are allowed to be loaded by the application program.
120. And searching a functional plug-in corresponding to the functional interface.
In this embodiment, the "functional plug-in corresponding to the functional interface" refers to a functional plug-in that can be matched with any functional interface of the application program, or a functional plug-in that meets the requirements of a predetermined protocol.
Specifically, in some embodiments, a specific implementation manner of searching for the function plug-in corresponding to the function interface may be: firstly, local application programs with the same type as the application programs are obtained; and searching the local application program for a functional plug-in corresponding to the functional interface. The "local application" refers to an application already existing in the system of the intelligent terminal, and the local application may perform function point splitting, that is, the functions of the local application may also be supported and run by one or more function plug-ins.
For example: an application program A running in the intelligent terminal is assumed to be an image processing application program, and functional interfaces of the application program A comprise a shooting functional interface X, a beautiful drawing functional interface Y and a jigsaw functional interface Z; moreover, the image processing application installed on the intelligent terminal is assumed to further comprise: application B, application C, and application D. Then, when the intelligent terminal receives a function extension request for the application program a, the functional interfaces that can be acquired from the application program a include a shooting functional interface X, a beautiful drawing functional interface Y, and a jigsaw functional interface Z, and meanwhile, a local application program that is the same type as the application program a on the intelligent terminal is acquired: application program B, application program C and application program D; and searching for a functional plug-in matched with the shooting functional interface X, the beautiful drawing functional interface Y or the jigsaw functional interface Z in the application program B, the application program C and the application program D.
In the embodiment, by searching the local application program with the same type as the application program for the functional plug-in corresponding to the functional interface of the application program, a user can conveniently and quickly add the functional plug-in which is more frequently used or more preferably used.
In addition, in other embodiments, a specific implementation manner of searching for a functional plug-in corresponding to the functional interface may further be: after a function extension request aiming at an application program is received and a function interface of the application program is acquired, the function plug-in application market is entered, and then a function plug-in corresponding to the function interface of the application program is searched in the function plug-in application market. The functional plug-in application market may be a functional plug-in application market set by a technical developer corresponding to the application program, or a functional plug-in application market developed by third-party software, and may include a plurality of functional plug-ins, and the functional plug-ins may be presented in a list or icon manner for a user to select. In this embodiment, by searching for a function plug-in corresponding to a function interface of the application program in the function plug-in application market, a wider variety of choices can be provided for the user.
130. Determining a function plug-in to be added.
In this embodiment, the "function plug-ins to be added" refers to one or more function plug-ins to be loaded into the application program, which are selected from the searched function plug-ins corresponding to the function interfaces of the application program.
In this embodiment, the searched functional plugins may be presented to the user in any presentation form, such as a list, an icon, a recommendation window, and the like, and the user may select one or more functional plugins as the functional plugins to be added, so that the intelligent terminal may determine the functional plugins to be added according to a selection instruction of the user.
Or, in some embodiments, the functional plug-in with the highest use frequency of the user may also be used as the functional plug-in to be added according to the historical use habit of the user, so as to improve the intelligence and efficiency of the function extension of the application program.
140. And loading the functional plug-in to be added to the application program.
In this embodiment, after determining the functional plug-in to be added, the functional plug-in to be added is matched with the corresponding functional interface thereof, and the running environment of the application program is loaded through the corresponding functional interface thereof. After the functional plug-in to be added is loaded to the application program, if an operation instruction for the functional plug-in to be added is received, the intelligent terminal can operate the functional plug-in to be added to realize a corresponding function of the functional plug-in.
Furthermore, in some embodiments, in order to reduce the storage space occupied by the application program, the function management method may further include: receiving a function pruning request for the application; determining a function plug-in to be deleted according to the function deletion request; and unloading the functional plug-in to be deleted.
For example, when a user needs to delete one or more functions of an application, the user can perform any interaction, such as: the method comprises the steps that a touch screen, a mouse, a keyboard, a remote controller, somatosensory operation and the like are used, a function deleting request is input in a function management interface of the application program, and the request comprises the function plug-ins which a user wants to delete, so that the intelligent terminal can determine the function plug-ins to be deleted according to the function deleting request and uninstall the function plug-ins to be deleted, and further space memory occupied by the application program is reduced.
For another example, the intelligent terminal may also count the usage frequency of each functional plug-in the application program, and if the usage frequency of a certain functional plug-in a preset time period is lower than a preset threshold, it is determined that the user does not need to use the functional plug-in, so that the request for deleting the functional plug-in may be automatically generated. And then, the intelligent terminal unloads the functional plug-in according to the functional deletion request.
According to the technical scheme, the embodiment of the invention has the beneficial effects that: according to the function management method of the application program, when a function expansion request aiming at the application program is received, the function interfaces of the application program are obtained, and the function plug-ins corresponding to the function interfaces are searched; after the functional plug-in to be added is determined, namely the functional plug-in to be added by the user is determined, the functional plug-in to be added is loaded to the application program, the user can conveniently select a certain functional plug-in to realize a certain specific function according to actual requirements, and therefore a plurality of characteristic functional plug-ins are integrated in one application program, frequent switching of the user among a plurality of application programs is avoided, and user experience is improved.
Example two
In practical applications, the functional interfaces corresponding to a certain function of an application may be limited, and one functional interface can only load one functional plug-in that matches the functional interface, for example, only one functional interface X of the image processing function of the application a is provided, but the functional plug-ins that implement the image processing function include a1, a2, and a3, at this time, the functional interface X can only load one of a1, a2, and a3, and if the functional plug-ins a1 and a2 are simultaneously loaded into the functional interface X, there may be an incompatibility problem.
Therefore, in order to avoid the problem of running errors of the application program due to incompatibility, an embodiment of the present invention further provides another function management method for the application program, where the function management method is different from the function management method for the application program provided in the first embodiment in that: in this embodiment, the use state of the function interface corresponding to the function plug-in to be added is also read, and when the function interface corresponding to the function plug-in to be added is in the occupied state, the previous function plug-in currently occupying the function interface corresponding to the function plug-in to be added is removed, and then the function plug-in to be added is loaded to the application program.
Specifically, referring to fig. 2, the function management method includes, but is not limited to, the following steps:
210. when a function extension request for an application program is received, a function interface of the application program is acquired.
220. And searching a functional plug-in corresponding to the functional interface.
230. Determining a function plug-in to be added.
240. And reading the use state of the function interface corresponding to the function plug-in to be added.
In this embodiment, the usage status of the functional interface may include an "occupied status" and an "idle status", where the "occupied status" refers to that the functional interface is currently occupied by another functional plug-in, or that another functional plug-in has been loaded into the application program through the functional interface; the "idle state" means that the functional interface is currently idle and not connected to any functional plug-in (i.e., not used to read the corresponding data packet of any functional plug-in).
In this embodiment, after determining the functional plug-in to be added, the use state of the functional interface corresponding to the functional plug-in to be added is read first, and if the use state is "idle state", the following step 260 is directly executed; if the usage status is "busy", the following steps 250 and 260 are performed.
250. And removing the prior functional plug-in which currently occupies the functional interface corresponding to the functional plug-in to be added.
In this embodiment, the "previous function plug-in" refers to a function plug-in that has been currently loaded into the application.
In this embodiment, in order to avoid that the newly added functional plug-in is not compatible with the current operating environment of the application program, when the functional interface corresponding to the functional plug-in to be added is in an occupied state, the previous functional plug-in currently occupying the functional interface corresponding to the functional plug-in to be added is removed. The "removing" may be to uninstall the previous function plug-in, or disconnect the previous function plug-in from the corresponding function interface, which is not specifically limited in this embodiment of the present invention.
For example: assuming that the function plug-in to be added is determined to be the function plug-in a2 through the steps 210-230, the function interface corresponding to the function plug-in a2 is the function interface X, and the application program currently realizes the function of image processing by loading the function plug-in a1 in the function interface X; then, the function plug-in a1 is said to be a "previous function plug-in", and at this time, in order to avoid that the function plug-in a2 is incompatible with the current operating environment of the application program, the function plug-in a1 may be removed first, so that the function plug-in a2 may be loaded to the application program through the function interface X.
260. And loading the functional plug-in to be added to the application program.
In this embodiment, steps 210, 220, 230, and 260 have the same technical features as steps 110, 120, 130, and 140 in the above embodiment, and specific implementation manners thereof can be referred to corresponding descriptions in steps 110, 120, 130, and 140, and detailed descriptions thereof will not be provided herein.
According to the technical scheme, the embodiment of the invention has the beneficial effects that: in the function management method for the application program provided in this embodiment, when the function interface corresponding to the function plug-in to be added is in an occupied state, the previous function plug-in currently occupying the function interface corresponding to the function plug-in to be added is removed, and then the function plug-in to be added is loaded to the application program, so that it is possible to prevent the newly added function plug-in from being incompatible with the current operating environment of the application program.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a function management device for an application according to an embodiment of the present invention, where the function management device 30 is capable of executing the function management method for an application according to any of the above method embodiments.
Specifically, referring to fig. 3, the function management device 30 includes:
an obtaining unit 31, configured to obtain a function interface of an application program when a function extension request for the application program is received;
a search unit 32, configured to search for a functional plug-in corresponding to the functional interface;
a determination unit 33 for determining a function plug-in to be added; and the number of the first and second groups,
a loading unit 34, configured to load the function plug-in to be added to the application program.
In the present embodiment, first, when a function extension request for an application is received, a function interface of the application is acquired by the acquisition unit 31; then searching for a functional plug-in corresponding to the functional interface by using the searching unit 32; when the determination unit 33 determines a functional plug-in to be added, the functional plug-in to be added is loaded to the application program by the loading unit 34.
In some embodiments, the search unit 32 is specifically configured to: acquiring a local application program with the same type as the application program; and searching the local application program for a functional plug-in corresponding to the functional interface. In other embodiments, the search unit 32 is specifically configured to: entering a functional plug-in application market, wherein the functional plug-in application market comprises a plurality of functional plug-ins; and searching the functional plug-in corresponding to the functional interface in the functional plug-in application market.
Furthermore, in some embodiments, the function management device 30 further includes: the unit 35 is removed. The removing unit 35 is specifically configured to read a use state of a function interface corresponding to a function plug-in to be added; and when the functional interface corresponding to the functional plug-in to be added is in an occupied state, removing the prior functional plug-in currently occupying the functional interface corresponding to the functional plug-in to be added. In this embodiment, the setting of the removing unit 35 can prevent the newly added function plug-in from being incompatible with the current running environment of the application program, which results in a running error.
Furthermore, in some embodiments, the function management device 30 further includes: and an unloading unit 36. The unloading unit 36 is used for: receiving a function pruning request for the application; determining a function plug-in to be deleted according to the function deletion request; and unloading the functional plug-in to be deleted. In this embodiment, the uninstalling unit 36 uninstalls the unnecessary functional plug-ins, so that the space and memory occupied by the application program can be reduced.
It should be noted that, since the function management apparatus for the application program is based on the same inventive concept as the function management method for the application program in the first and second embodiments, the corresponding contents in the above method embodiments are also applicable to the apparatus embodiments, and detailed description thereof is omitted here.
According to the technical scheme, the embodiment of the invention has the beneficial effects that: the function management device for an application program provided in the embodiment of the present invention obtains a function interface of the application program when receiving a function extension request for the application program through the obtaining unit 31; then searching for a functional plug-in corresponding to the functional interface by using the searching unit 32; when the determining unit 33 determines the functional plug-in to be added, the loading unit 34 loads the functional plug-in to be added to the application program, so that a user can conveniently select a certain functional plug-in to realize a certain specific function according to actual requirements, a plurality of characteristic functional plug-ins are integrated in one application program, frequent switching among a plurality of application programs by the user is avoided, and user experience is improved.
Example four
Fig. 4 is a schematic diagram of a hardware structure of an intelligent terminal according to an embodiment of the present invention, where the intelligent terminal 400 may be any type of electronic device and can execute the function management method of the application program according to any method embodiment described above.
Specifically, referring to fig. 4, the intelligent terminal 400 includes:
one or more processors 410 and a memory 420, with one processor 410 being an example in fig. 4.
The processor 410 and the memory 420 may be connected by a bus or other means, such as by a bus in FIG. 4.
The memory 420, which is a non-transitory computer-readable storage medium, may be used to store a non-volatile software program, a non-volatile computer-executable program, and modules, such as program instructions/modules corresponding to the function management method of the application program in the embodiment of the present invention (for example, the acquisition unit 31, the search unit 32, the determination unit 33, the loading unit 34, the removal unit 35, and the unloading unit 36 shown in fig. 3). The processor 410 executes various functional applications and data processing of the smart terminal 400 by running the non-volatile software programs, instructions and modules stored in the memory 420, that is, the function management method of the application program implementing the above-described method embodiment.
The memory 420 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the function management device of the application program, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 420 may optionally include memory located remotely from the processor 410, which may be connected to the smart terminal 400 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The one or more modules are stored in the memory 420 and when executed by the one or more processors 410, perform the function management method of the application program in any of the above-described method embodiments, for example, perform the above-described method steps 110 to 140 in fig. 1, and method steps 210 to 260 in fig. 2, to implement the functions of the units 31 to 36 in fig. 3.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
EXAMPLE five
Embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors, for example, by one of the processors 410 in fig. 4, so that the one or more processors can execute the function management method of the application program in any of the method embodiments, for example, execute the method steps 110 to 140 in fig. 1, and the method steps 210 to 260 in fig. 2, which are described above, to implement the functions of the units 31 to 36 in fig. 3.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
EXAMPLE six
Embodiments of the present invention provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, which, when executed by an intelligent terminal, cause the intelligent terminal to perform a method for managing functions of an application program in any of the above method embodiments, for example, the method steps 110 to 140 in fig. 1, and the method steps 210 to 260 in fig. 2 described above are performed, so as to implement the functions of the units 31 to 36 in fig. 3.
The product can execute the method provided by the embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can 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 (RAM), or the like.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (12)

1. A method for managing functions of an application program, comprising:
when a function extension request aiming at an application program is received, acquiring a function interface of the application program;
searching a functional plug-in corresponding to the functional interface;
determining a function plug-in to be added;
and loading the functional plug-in to be added to the application program.
2. The method according to claim 1, wherein the searching for the function plug-in corresponding to the function interface comprises:
acquiring a local application program with the same type as the application program;
and searching the local application program for a functional plug-in corresponding to the functional interface.
3. The method according to claim 1, wherein the searching for the function plug-in corresponding to the function interface comprises:
entering a functional plug-in application market, wherein the functional plug-in application market comprises a plurality of functional plug-ins;
and searching the functional plug-in corresponding to the functional interface in the functional plug-in application market.
4. The method according to any one of claims 1 to 3, wherein the step of loading the function plug-in to be added to the application program further comprises:
reading the use state of a function interface corresponding to a function plug-in to be added;
and when the functional interface corresponding to the functional plug-in to be added is in an occupied state, removing the prior functional plug-in currently occupying the functional interface corresponding to the functional plug-in to be added.
5. The function management method according to any one of claims 1 to 3, characterized in that the function management method further comprises:
receiving a function pruning request for the application;
determining a function plug-in to be deleted according to the function deletion request;
and unloading the functional plug-in to be deleted.
6. A function management apparatus for an application program, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a function interface of an application program when receiving a function extension request aiming at the application program;
the searching unit is used for searching the functional plug-in corresponding to the functional interface;
a determination unit configured to determine a function plug-in to be added;
and the loading unit is used for loading the functional plug-in to be added to the application program.
7. The function management device according to claim 6, wherein the search unit is specifically configured to:
acquiring a local application program with the same type as the application program;
and searching the local application program for a functional plug-in corresponding to the functional interface.
8. The function management device according to claim 6, wherein the search unit is specifically configured to:
entering a functional plug-in application market, wherein the functional plug-in application market comprises a plurality of functional plug-ins;
and searching the functional plug-in corresponding to the functional interface in the functional plug-in application market.
9. The function management device according to any one of claims 6 to 8, characterized in that the function management device further comprises:
the removing unit is used for reading the use state of the function interface corresponding to the function plug-in to be added; and when the functional interface corresponding to the functional plug-in to be added is in an occupied state, removing the prior functional plug-in currently occupying the functional interface corresponding to the functional plug-in to be added.
10. The function management device according to any one of claims 6 to 8, characterized in that the function management device further comprises: an unloading unit to:
receiving a function pruning request for the application;
determining a function plug-in to be deleted according to the function deletion request;
and unloading the functional plug-in to be deleted.
11. An intelligent terminal, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
12. A non-transitory computer-readable storage medium having stored thereon computer-executable instructions for causing a smart terminal to perform the method of any one of claims 1-5.
CN201710980066.5A 2017-10-19 2017-10-19 Function management method and device of application program and intelligent terminal Active CN107885543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710980066.5A CN107885543B (en) 2017-10-19 2017-10-19 Function management method and device of application program and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710980066.5A CN107885543B (en) 2017-10-19 2017-10-19 Function management method and device of application program and intelligent terminal

Publications (2)

Publication Number Publication Date
CN107885543A true CN107885543A (en) 2018-04-06
CN107885543B CN107885543B (en) 2020-10-02

Family

ID=61781707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710980066.5A Active CN107885543B (en) 2017-10-19 2017-10-19 Function management method and device of application program and intelligent terminal

Country Status (1)

Country Link
CN (1) CN107885543B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110559645A (en) * 2019-07-18 2019-12-13 华为技术有限公司 Application operation method and electronic equipment
CN112231014A (en) * 2020-10-15 2021-01-15 北京明略昭辉科技有限公司 Plug-in processing method, device, equipment and computer readable medium
CN115328375A (en) * 2022-06-30 2022-11-11 深圳市国电科技通信有限公司 Function expansion method and device for intelligent measurement terminal and intelligent terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7836438B1 (en) * 2003-12-30 2010-11-16 Sap Ag Modified classfile registration with a dispatch unit that is responsible for dispatching invocations during runtime execution of modified bytecode
KR20120073106A (en) * 2010-12-24 2012-07-04 한양대학교 산학협력단 Software-defined raido terminal for modem hardware independent radio applications
CN102646056A (en) * 2012-03-01 2012-08-22 宁波电业局 Function expansion method and device for grid GIS (geographic information system) platform based applications
CN103645919A (en) * 2013-12-18 2014-03-19 用友软件股份有限公司 Method for extending functions of management information system through plugins
CN103914287A (en) * 2012-12-31 2014-07-09 北京讯鸟软件有限公司 Plug-in mechanism based software system and implementation method thereof
CN104216738A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Operation method and operation device of application program
CN106230977A (en) * 2016-08-31 2016-12-14 广州品唯软件有限公司 A kind of client functionality loading method, system, client and service end
US9749423B2 (en) * 2014-04-10 2017-08-29 Fujitsu Limited Function extension method and terminal device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7836438B1 (en) * 2003-12-30 2010-11-16 Sap Ag Modified classfile registration with a dispatch unit that is responsible for dispatching invocations during runtime execution of modified bytecode
KR20120073106A (en) * 2010-12-24 2012-07-04 한양대학교 산학협력단 Software-defined raido terminal for modem hardware independent radio applications
CN102646056A (en) * 2012-03-01 2012-08-22 宁波电业局 Function expansion method and device for grid GIS (geographic information system) platform based applications
CN103914287A (en) * 2012-12-31 2014-07-09 北京讯鸟软件有限公司 Plug-in mechanism based software system and implementation method thereof
CN103645919A (en) * 2013-12-18 2014-03-19 用友软件股份有限公司 Method for extending functions of management information system through plugins
US9749423B2 (en) * 2014-04-10 2017-08-29 Fujitsu Limited Function extension method and terminal device
CN104216738A (en) * 2014-08-20 2014-12-17 北京奇艺世纪科技有限公司 Operation method and operation device of application program
CN106230977A (en) * 2016-08-31 2016-12-14 广州品唯软件有限公司 A kind of client functionality loading method, system, client and service end

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110559645A (en) * 2019-07-18 2019-12-13 华为技术有限公司 Application operation method and electronic equipment
CN110559645B (en) * 2019-07-18 2021-08-17 荣耀终端有限公司 Application operation method and electronic equipment
US11986726B2 (en) 2019-07-18 2024-05-21 Honor Device Co., Ltd. Application running method and electronic device
CN112231014A (en) * 2020-10-15 2021-01-15 北京明略昭辉科技有限公司 Plug-in processing method, device, equipment and computer readable medium
CN115328375A (en) * 2022-06-30 2022-11-11 深圳市国电科技通信有限公司 Function expansion method and device for intelligent measurement terminal and intelligent terminal

Also Published As

Publication number Publication date
CN107885543B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
KR102323333B1 (en) Application data processing method and apparatus, and storage medium
CN110086877B (en) Application program sharing and information sharing display method, device, equipment and medium
CN107861784B (en) Desktop icon sorting method and device and mobile terminal
US20160232374A1 (en) Permission control method and apparatus
CN104182255A (en) Method and terminal for upgrading library files of system application
CN107885543B (en) Function management method and device of application program and intelligent terminal
WO2015117426A1 (en) File management method and device
RU2679380C1 (en) Method of providing possibility of sharing desktop and mobile terminal
US11232066B2 (en) Method for data migration and terminal
CN110908734A (en) Application combination method and device based on plug-in, terminal equipment and storage medium
CN105893087A (en) Application program starting method and device
CN111104178A (en) Dynamic library loading method, terminal device and storage medium
CN110046100B (en) Packet testing method, electronic device and medium
CN109358927B (en) Application program display method and device and terminal equipment
US10503430B2 (en) Method and device for clearing data and electronic device
CN112631682B (en) Applet processing method, device, equipment and storage medium
CN110609710A (en) Android system starting speed control method, intelligent device and storage medium
US20140325535A1 (en) Method of switching desktop subjects of mobile terminal and its switching apparatus
CN112286554A (en) Application program updating method and device, electronic equipment and readable storage medium
CN105279164A (en) File processing method and device based on IOS system
CN108446144B (en) Application program starting method and device, terminal and storage medium
CN115129789A (en) Bucket index storage method, device and medium of distributed object storage system
US20140137092A1 (en) Information processing apparatus, information processing system, non-transitory computer-readable storage medium having stored therein information processing program, and information processing method
CN109150993B (en) Method for obtaining network request tangent plane, terminal device and storage medium
CN108369526B (en) Virtual machine starting method and device and intelligent terminal

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