CN110413292B - Light application installation method of application program, mobile terminal and storage medium - Google Patents

Light application installation method of application program, mobile terminal and storage medium Download PDF

Info

Publication number
CN110413292B
CN110413292B CN201910665472.1A CN201910665472A CN110413292B CN 110413292 B CN110413292 B CN 110413292B CN 201910665472 A CN201910665472 A CN 201910665472A CN 110413292 B CN110413292 B CN 110413292B
Authority
CN
China
Prior art keywords
light application
application
light
child
sub
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.)
Active
Application number
CN201910665472.1A
Other languages
Chinese (zh)
Other versions
CN110413292A (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.)
SHENZHEN STOCK EXCHANGE
Original Assignee
SHENZHEN STOCK EXCHANGE
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 SHENZHEN STOCK EXCHANGE filed Critical SHENZHEN STOCK EXCHANGE
Priority to CN201910665472.1A priority Critical patent/CN110413292B/en
Publication of CN110413292A publication Critical patent/CN110413292A/en
Application granted granted Critical
Publication of CN110413292B publication Critical patent/CN110413292B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Abstract

The invention discloses a light application installation method of an application program, which comprises the following steps: when a light application installation instruction is received, acquiring authority information of a user triggering the light application installation instruction based on a target application, and a light application identifier of a light application corresponding to the light application installation instruction; acquiring a light application installation package from a server according to the authority information and the light application identifier, wherein the light application installation package comprises a light application group formed by sub-light applications contained in the light application, and the sub-light applications correspond to operation authorities associated with the authority information; installing a light application group in the light application installation package on the target application to install the light application on the target application. The invention also discloses a mobile terminal and a computer readable storage medium. The invention makes the light application installation more convenient.

Description

Light application installation method of application program, mobile terminal and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a light application installation method for an application program, a mobile terminal, and a computer readable storage medium.
Background
A Light application (Light App) is a functional program application embedded in an application (App) without additional installation. Currently, when a complex system including multiple subsystems needs to be migrated to a mobile terminal in the form of a light application, it is common to integrate all the subsystems inside the complex system into one light application, and all the operations of installing, updating and uninstalling are performed in the form of a single light application. This can result in long installation times and large storage overhead due to the oversized light application packages.
Disclosure of Invention
The invention mainly aims to provide a light application installation method of an application program, a mobile terminal and a computer readable storage medium, so that the light application on the application program is more convenient to install.
In order to achieve the above object, the present invention provides a light application installation method of an application program, the light application installation method of the application program including the steps of:
when a light application installation instruction is received, acquiring authority information of a user triggering the light application installation instruction based on a target application, and a light application identifier of a light application corresponding to the light application installation instruction;
acquiring a light application installation package from a server according to the authority information and the light application identifier, wherein the light application installation package comprises a light application group formed by sub-light applications contained in the light application, and the sub-light applications correspond to operation authorities associated with the authority information;
installing a light application group in the light application installation package on the target application to install the light application on the target application.
Optionally, the light application installation method of the application program further includes:
unloading the child light application corresponding to the deleted authority operation in the authority information from the target application when the authority information change is detected, so as to remove the child light application corresponding to the deleted authority operation in the light application group;
and/or acquiring a first sub-light application installation package of a sub-light application corresponding to the newly-increased operation authority in the authority information from the server, and installing the first sub-light application installation package on the target application so as to add the sub-light application corresponding to the newly-increased operation authority into the light application group.
Optionally, after the step of installing the light application group in the light application installation package on the target application to install the light application on the target application, the method further includes:
and when receiving a child light application uninstalling instruction, uninstalling the child light application aimed by the child light application uninstalling instruction from the target application so as to remove the child light application aimed by the child light application uninstalling instruction from the light application group.
Optionally, after the step of installing the light application group in the light application installation package on the target application to install the light application on the target application, the method further includes:
and unloading the light application group from the target application when receiving an unloading instruction of the light application group.
Optionally, after the step of installing the light application group in the light application installation package on the target application to install the light application on the target application, the method further includes:
when detecting that the renewable sub-light application exists in the light application group, acquiring a second sub-light application installation package of the renewable sub-light application from the server;
installing the second child light application installation package on the target application to update the updateable child light applications in the light application group.
Optionally, the step of obtaining the light application installation package from the server according to the authority information and the light application identifier includes:
according to the authority information, associating operation authorities with the light application identifiers, and displaying sub-light applications contained in the light applications in a selection interface so that a user can select sub-light applications to be installed based on the selection interface;
generating an application acquisition request according to the child light application selected in the selection interface;
and sending the application acquisition request to a server, and sending a light application installation package formed according to the selected sub-light application to a local end by the server when the application acquisition request is received.
In order to achieve the above object, the present invention also provides a mobile terminal including:
the mobile terminal comprises a memory, a processor and a light application installation program of an application program stored on the memory and capable of running on the processor, wherein the light application installation program of the application program realizes the steps of the light application installation method of the application program when being executed by the processor.
In order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a light application installation program of an application program, which when executed by a processor, implements the steps of the light application installation method of the application program as described above.
The invention provides a light application installation method of an application program, a mobile terminal and a computer readable storage medium, wherein when a light application installation instruction is received, authority information of a user triggering the light application installation instruction based on a target application and a light application identifier of the light application corresponding to the light application installation instruction are acquired; acquiring a light application installation package from a server according to the authority information and the light application identifier, wherein the light application installation package comprises a light application group formed by sub-light applications contained in the light application, and the sub-light applications correspond to operation authorities associated with the authority information; installing a light application group in the light application installation package on the target application to install the light application on the target application. Thus, the light application on the application program is more convenient to install.
Drawings
FIG. 1 is a schematic diagram of a hardware operating environment of an embodiment terminal according to an embodiment of the present invention;
FIG. 2 is a flowchart of a light application installation method of an application program according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a light application installation method of an application program according to a second embodiment of the present invention;
FIG. 4 is a flowchart of a third embodiment of a light application installation method of an application program according to the present invention;
FIG. 5 is a flowchart of a light application installation method of an application program according to a fourth embodiment of the present invention;
FIG. 6 is a flowchart of a light application installation method of an application program according to a fifth embodiment of the present invention;
fig. 7 is a flowchart of a light application installation method of an application program according to a sixth embodiment of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a light application installation method of an application program, which enables light application installation on the application program to be more convenient.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware running environment of an embodiment terminal according to an embodiment of the present invention;
the terminal of the embodiment of the invention can be a mobile terminal or a control terminal for controlling the mobile terminal.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU central processing unit (central processing unit), a memory 1002, and a communication bus 1003. The communication bus 1003 is used to implement connection communication between the constituent elements in the terminal. The memory 1002 may be a high-speed RAM Random Access Memory (RAM) or a stable memory (non-volatile memory), such as a disk memory. The memory 1002 may alternatively be a storage device separate from the processor 1001 described above.
It will be appreciated by those skilled in the art that the configuration of the terminal shown in fig. 1 is not limiting of the terminal of the embodiments of the present invention, and may include more or less components than those illustrated, or may combine certain components, or may be arranged in different components.
As shown in fig. 1, a light application installer of an application program may be included in a memory 1002 as one type of computer storage medium.
In the terminal shown in fig. 1, the processor 1001 may be used to call a light application installer of an application program stored in the memory 1002, and perform the following operations:
when a light application installation instruction is received, acquiring authority information of a user triggering the light application installation instruction based on a target application, and a light application identifier of a light application corresponding to the light application installation instruction;
acquiring a light application installation package from a server according to the authority information and the light application identifier, wherein the light application installation package comprises a light application group formed by sub-light applications contained in the light application, and the sub-light applications correspond to operation authorities associated with the authority information;
installing a light application group in the light application installation package on the target application to install the light application on the target application.
Further, the processor 1001 may call a light application installer of the application program stored in the memory 1002, and further perform the following operations:
unloading the child light application corresponding to the deleted authority operation in the authority information from the target application when the authority information change is detected, so as to remove the child light application corresponding to the deleted authority operation in the light application group;
and/or acquiring a first sub-light application installation package of a sub-light application corresponding to the newly-increased operation authority in the authority information from the server, and installing the first sub-light application installation package on the target application so as to add the sub-light application corresponding to the newly-increased operation authority into the light application group.
Further, the processor 1001 may call a light application installer of the application program stored in the memory 1002, and further perform the following operations:
and when receiving a child light application uninstalling instruction, uninstalling the child light application aimed by the child light application uninstalling instruction from the target application so as to remove the child light application aimed by the child light application uninstalling instruction from the light application group.
Further, the processor 1001 may call a light application installer of the application program stored in the memory 1002, and further perform the following operations:
and unloading the light application group from the target application when receiving an unloading instruction of the light application group.
Further, the processor 1001 may call a light application installer of the application program stored in the memory 1002, and further perform the following operations:
when detecting that the renewable sub-light application exists in the light application group, acquiring a second sub-light application installation package of the renewable sub-light application from the server;
installing the second child light application installation package on the target application to update the updateable child light applications in the light application group.
Further, the processor 1001 may call a light application installer of the application program stored in the memory 1002, and further perform the following operations:
according to the authority information, associating operation authorities with the light application identifiers, and displaying sub-light applications contained in the light applications in a selection interface so that a user can select sub-light applications to be installed based on the selection interface;
generating an application acquisition request according to the child light application selected in the selection interface;
and sending the application acquisition request to a server, and sending a light application installation package formed according to the selected sub-light application to a local end by the server when the application acquisition request is received.
Referring to fig. 2, in an embodiment, the light application installation method of the application program includes:
and step S10, when a light application installation instruction is received, acquiring authority information of a user triggering the light application installation instruction based on a target application, and a light application identifier of a light application corresponding to the light application installation instruction.
In this embodiment, the terminal may be a mobile terminal (such as a smart phone, a tablet, etc.), or may be a control terminal for controlling the mobile terminal, or may be an electronic device such as a computer. The following description will take an example of an embodiment terminal as a mobile terminal.
It should be noted that, at present, the hybrid mode is a development mode between the Native mode and the web mode, and the application developed by the hybrid mode has not only a good interaction experience of Native application (Native App is a third party application program based on a local operating system of the smart phone, such as iOS, android, WP, and written and operated by using a Native program, also called a local application), but also the advantage of cross-platform development of the web application. At present, most mobile applications adopt a mixed mode more or less, light applications developed by HTML5 can be embedded in the application, and the operations of installing, updating and uninstalling the light applications can be conveniently carried out. The installation logic of the light application is that the application downloads the light application package to be decompressed to the specified directory. The update logic of the light application is that the application obtains the latest version number of the light application package, if the latest version number is inconsistent with the local version number, the light application package is downloaded, and the directory before the coverage is decompressed.
Optionally, when a relatively complex system needs to be migrated to the mobile terminal in the form of a light application (the system internally comprises a plurality of subsystems, only a part of each subsystem can be accessed by authorized personnel), after the system is migrated to the mobile terminal, only one entrance light application is displayed for a user, and after the entrance light application is clicked, the parts which are respectively authorized to be accessed are accessed according to the authority. It is common today to integrate all subsystems inside this complex system into one light application, and all install, update, uninstall operations are performed in a single light application. This, while simple, has two major drawbacks: firstly, a single light application packet is oversized, and the updating time is long; and secondly, the change of any subsystem can lead to the update of the light application package, and the update frequency is high.
A light application is understood to be an applet or applet in an application that is only installed into a target application and can be used as it is in the target application.
Alternatively, when the user wants to install the light application on which application, the application can be opened, and a light application installation instruction is triggered on the application, and the application is the target application. Alternatively, the user may set, when the light application installation instruction is triggered on the remaining applications, an application to which the light application for which the light application installation instruction is directed is to be installed as the target application. Thus, the user can trigger the light application installation instruction based on the target application.
Optionally, the authority information of the user includes authority information of at least one light application, the authority information includes at least one operation authority, and the operation authority corresponds to a sub-light application under the light application. Optionally, the operation rights associated in the rights information are in one-to-one correspondence with the sub-light applications under the light application. Optionally, the sub-systems under the system corresponding to the light applications are in one-to-one correspondence with the sub-light applications under the light applications, that is, when developing the light application corresponding to a certain system, a developer can independently make each sub-system under the system into one sub-light application, and the collection of all sub-light applications under the light application can include all functions of the system.
Optionally, when the terminal receives the light application installation instruction, user information of the user can be obtained in a user account where the user logs in the target application. Optionally, the user information includes authority information of the user, and the terminal can search the authority information corresponding to the light application aimed at by the light application installation instruction in the user information according to the light application identifier corresponding to the light application installation instruction; optionally, after the terminal obtains the user information of the user, the light application identifier corresponding to the user information and the light application installation instruction may be sent to a server (the server may be the source of the light application that is currently requested to be downloaded and installed), and when the server receives the user information and the light application identifier, the server searches the database for the light application corresponding to the light application identifier, stores the authority information corresponding to the user information in the server, queries the authority information corresponding to the light application, and then feeds the authority information obtained by the query back to the local end (i.e., the mobile terminal).
And step S20, acquiring a light application installation package from a server according to the authority information and the light application identifier, wherein the light application installation package comprises a light application group formed by sub-light applications contained in the light application, and the sub-light applications correspond to the operation authorities associated with the authority information.
Optionally, after obtaining the permission information and the light application identifier, the terminal may generate an application obtaining request according to the light application identifier in the permission information, and send the application obtaining request to the server, so that the server returns a light application installation package to the mobile terminal based on the application obtaining request.
Optionally, when the server receives the application acquisition request, the sub-light application corresponding to the operation authority associated with the authority information is searched under the light application corresponding to the light application identifier.
Optionally, after searching for the sub-light applications corresponding to the operation rights associated with the rights information, the server may acquire the sub-light applications to form a light application group, generate an installation package of the light application group as a light application installation package, and then send the light application installation package to the mobile terminal.
Alternatively, the server may obtain all the sub-light applications under one light application in advance, then query all possible combinations of the sub-light applications, where each combination includes at least one sub-light application, the sub-light applications included in different combinations are not identical, then each combination corresponds to form a light application group, and generate a corresponding light application installation package for each light application group. After searching for the sub-light applications corresponding to the operation authorities associated with the authority information, the server searches for light application groups matched with the sub-light applications in the system, acquires light application installation packages corresponding to the light application groups obtained by matching, and sends the light application installation packages to the mobile terminal. If, for example, one light application includes A, B and C three child light applications, then all possible light application groups are combined [ A ], [ B ], [ C ], [ A, B ], [ A, C ], [ B, C ] and [ A, B, C ]; when the operation authority contained in the authority information of the user has the operation authority corresponding to the light application A and the operation authority corresponding to the light application B, the obtained light application group is the combination of [ A, B ]. Thus, the feedback efficiency of the server to the application acquisition request can be improved.
Step S30, installing the light application group in the light application installation package on the target application so as to install the light application on the target application.
Optionally, after receiving the light application installation package fed back by the server, the mobile terminal runs the light application installation package, and installs the light application group in the light application installation package on the target application, so as to install the light application aimed at by the light application installation instruction on the target application.
Optionally, after the light application group is successfully installed, the terminal may generate a light application group list on the target application, where the light application group list includes all sub-light applications in the light application group, so as to facilitate the user to find the sub-light applications.
Optionally, if only one of the authority information belongs to the operation authority of the light application, the installation package of the sub-light application corresponding to the operation authority can be directly obtained from the server, and the sub-light application can be directly installed on the target application.
In an embodiment, when a light application installation instruction is received, acquiring authority information of a user triggering the light application installation instruction based on a target application, and a light application identifier of a light application corresponding to the light application installation instruction; acquiring a light application installation package from a server according to the authority information and the light application identifier, wherein the light application installation package comprises a light application group formed by sub-light applications contained in the light application, and the sub-light applications correspond to operation authorities associated with the authority information; installing a light application group in the light application installation package on the target application to install the light application on the target application. Therefore, the user has more operation rights, namely, the more sub-light applications under the light application can be installed without installing the sub-light application without the operation rights of the user, the efficiency of installing the light application is improved, and the light application on the application program is more convenient to install.
In a second embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, the light application installation method of the application program further includes:
and step S40, unloading the child light application corresponding to the deleted authority operation in the authority information from the target application when the change of the authority information is detected, so as to remove the child light application corresponding to the deleted authority operation in the light application group.
Step S41 and/or obtain, from the server, a first child light application installation package of a child light application corresponding to the newly-added operation right in the right information, and install the first child light application installation package on the target application, so as to add the child light application corresponding to the newly-added operation right to the light application group.
In this embodiment, the authority information of the user may be changed, for example, the operator of the light application changes the authority information of the user. The permission information may be changed in such a manner that the permission information has a newly deleted operation permission or in such a manner that the permission information has a newly added operation permission.
Optionally, the mobile terminal detects the type of the change of the rights information when detecting the change of the rights information. When detecting that the newly deleted operation right exists in the right information, inquiring whether a sub-light application corresponding to the currently deleted operation right is installed in a light application group corresponding to the target application, if so, unloading the sub-light application to remove the sub-light application from the light application group, and deleting the sub-light application from a light application group list of the light application group. Of course, if the terminal detects that there is no operation right corresponding to any one of the child light applications in the light application group after the permission information is changed, the light application group may be directly uninstalled from the target application.
Optionally, the mobile terminal detects the type of the change of the rights information when detecting the change of the rights information. When detecting that the permission information has the new operation permission, generating a child application acquisition request according to the new operation permission, sending the child application acquisition request to a server, inquiring a child application corresponding to the new operation permission in a database after the server receives the child application acquisition request, sending a first child application installation package of the child application to a mobile terminal, receiving and running the first child application installation package by the mobile terminal, installing a first child application installation on a target application, adding the child application corresponding to the new operation permission into the light application group, and updating a light application group list corresponding to the light application group.
Optionally, the mobile terminal detects the type of the change of the rights information when detecting the change of the rights information. Unloading the sub-light application corresponding to the deleted authority operation from the target application when the newly deleted operation authority in the authority information is detected and the newly added operation authority in the authority information is detected, so as to remove the sub-light application corresponding to the deleted authority operation in the light application group, and simultaneously, acquiring a first sub-light application installation package of the sub-light application corresponding to the newly added operation authority in the authority information from the server, and installing the first sub-light application installation package on the target application so as to add the sub-light application corresponding to the newly added operation authority into the light application group.
Therefore, the addition, deletion and modification of the sub-light applications in the light application group are automatically realized according to the modification of the authority information, and the light application on the application program is more convenient to install.
In a third embodiment, as shown in fig. 4, on the basis of the embodiments of fig. 2 to 3, the step of installing the light application group in the light application installation package on the target application to install the light application on the target application further includes:
and step S50, when receiving a child light application uninstalling instruction, uninstalling the child light application aimed by the child light application uninstalling instruction from the target application so as to remove the child light application aimed by the child light application uninstalling instruction from the light application group.
In this embodiment, the user may trigger a child light application uninstall instruction on the target application (for example, the user presses a display column of a certain child light application in the light application group list for a long time), and after receiving the child light application uninstall instruction, the terminal obtains a child light application targeted by the child light application uninstall instruction from the light application group list, and uninstalls the obtained child light application from the target application, so as to remove the child light application from the light application group.
Optionally, if the light application group only has one sub-light application, if the sub-light application uninstalling instruction for the sub-light application is received, the light application group is directly uninstalled.
Therefore, the user can flexibly unload the sub-light application according to the self requirement, and the experience of using the light application by the user is improved.
In a fourth embodiment, as shown in fig. 5, based on the embodiments of fig. 2 to 4, the step of installing the light application group in the light application installation package on the target application to install the light application on the target application further includes:
and step S60, unloading the light application group from the target application when receiving an unloading instruction of the light application group.
In this embodiment, each light application group may set a light application group ID, and the child light applications in the same light application group have the same light application group ID.
Optionally, when receiving an unloading instruction of the light application group, the terminal acquires a light application group ID of the light application group aimed at by the unloading instruction, queries a sub-light application with the light application group ID, and unloads the queried sub-light application from the target application, so as to complete the unloading of the light application group from the target application.
In this way, the user is facilitated to uninstall the light application group.
In a fifth embodiment, as shown in fig. 6, on the basis of the embodiments of fig. 2 to 5, the step of installing the light application group in the light application installation package on the target application to install the light application on the target application further includes:
and step S70, when detecting that the renewable sub-light application exists in the light application group, acquiring a second sub-light application installation package of the renewable sub-light application from the server.
Step S71 of installing the second child light application installation package on the target application to update the updateable child light applications in the light application group.
In this embodiment, each version of the child applications has a version number corresponding thereto.
Alternatively, the terminal may detect, in time or in real time, whether there is an updateable child light application in the light application group on the target application. The terminal can compare the version number of the sub-light application in the light application group with the version number of the sub-light application on the server, and when the version number on the current server is updated with the local version number, the sub-light application is indicated to be the updatable sub-light application.
Optionally, when detecting that the updatable child application exists, the terminal may generate a child application acquisition request according to an operation authority corresponding to the updatable child application, and send the child application acquisition request to the server, after receiving the child application acquisition request, the server queries a child application corresponding to the operation authority in the database, and obtains a second child application installation package corresponding to the latest version number of the child application, and sends the second child application installation package to the mobile terminal, and the mobile terminal receives and runs the second child application installation package, and installs a second child application installation on the target application, so as to update the updatable child applications in the light application group.
In this way, each subsystem under the system presented in the form of the light application is miniaturized into the sub-light application, when a certain subsystem update exists, the whole light application is not required to be downloaded and updated, and only the sub-light application corresponding to the subsystem is required to be downloaded and updated, so that the light application update on the application program is more convenient.
In a sixth embodiment, as shown in fig. 7, on the basis of the embodiments of fig. 2 to 6, the step of obtaining the light application installation package from the server according to the authority information and the light application identifier includes:
and step S21, according to the authority information, associating operation authorities with the light application identifiers, and displaying the sub-light applications contained in the light application in a selection interface so that a user can select the sub-light application to be installed based on the selection interface.
And S22, generating an application acquisition request according to the child light application selected in the selection interface.
Step S23, the application acquisition request is sent to a server, and when the server receives the application acquisition request, the server sends a light application installation package formed according to the selected sub-light application to a local end.
In this embodiment, when the terminal obtains the permission information, the terminal may associate the operation permission with the light application identifier according to the permission information, and display a selection interface, where the selection interface includes all sub-light applications corresponding to the operation permission associated with the permission information under the light application corresponding to the light application identifier.
Optionally, the user may select the sub-light application to be installed based on the selection interface, and determine the sub-light application to be selected by triggering a confirmation operation of the selection interface. When receiving a confirmation response corresponding to the confirmation operation of the selection interface, the terminal acquires the child light application selected in the selection interface to generate an application acquisition request, and sends the application acquisition request to the server. After receiving the voice acquisition request, the server searches a light application group matched with the sub light application corresponding to the application acquisition request in the system, acquires a light application installation package corresponding to the matched light application group and sends the light application installation package to the mobile terminal; or after receiving the voice acquisition request, the server forms a light application group according to the sub-light application corresponding to the application acquisition request, generates a light application installation package corresponding to the light application group, and then sends the light application installation package to the mobile terminal.
Therefore, the user can select the sub-light application to be installed based on actual situation requirements, and the light application on the application program can be installed more conveniently.
In addition, the invention also provides a mobile terminal, which comprises a memory, a processor and a light application installation program of the application program stored on the memory and capable of running on the processor, wherein the light application installation program of the application program is executed by the processor to realize the steps of the light application installation method of the application program.
Furthermore, the present invention also proposes a computer-readable storage medium comprising a light application installation program of an application program, which when executed by a processor implements the steps of the light application installation method of an application program as described in the above embodiments.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a television, a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (5)

1. A light application installation method of an application program, characterized in that the light application installation method of the application program comprises the following steps:
when a light application installation instruction is received, acquiring authority information of a user triggering the light application installation instruction based on a target application, and a light application identifier of the light application corresponding to the light application installation instruction, wherein the target application is an application to which the light application aimed by the light application installation instruction is to be installed when the user triggers the light application installation instruction on other applications;
acquiring a light application installation package from a server according to the authority information and the light application identifier, wherein the light application installation package comprises a light application group formed by sub-light applications contained in the light application, and the sub-light applications correspond to operation authorities associated with the authority information;
installing a light application group in the light application installation package on the target application to install the light application on the target application;
the step of installing the light application group in the light application installation package on the target application to install the light application on the target application further includes, after:
comparing the version number of the sub-light application in the light application group with the version number of the sub-light application on the server;
when the version number on the server is newer than the local version number, the child light application on the server is an updatable child light application;
generating a child light application acquisition request according to the operation authority corresponding to the updatable child light application, and sending the child light application acquisition request to a server;
receiving and running a second child light application installation package, and installing a second child light application installation on a target application to update the updatable child light applications in the light application group;
the light application installation method of the application program further comprises the following steps:
unloading the child light application corresponding to the deleted authority operation in the authority information from the target application when the authority information change is detected, so as to remove the child light application corresponding to the deleted authority operation in the light application group;
and/or, acquiring a first sub-light application installation package of a sub-light application corresponding to the newly-increased operation authority in the authority information from the server, and installing the first sub-light application installation package on the target application so as to add the sub-light application corresponding to the newly-increased operation authority into the light application group;
the step of installing the light application group in the light application installation package on the target application to install the light application on the target application further includes, after the step of installing the light application group on the target application:
and when receiving a child light application uninstalling instruction, uninstalling the child light application aimed by the child light application uninstalling instruction from the target application so as to remove the child light application aimed by the child light application uninstalling instruction from the light application group.
2. The light application installation method of an application program according to claim 1, wherein after the step of installing a light application group in the light application installation package on the target application to install the light application on the target application, further comprising:
and unloading the light application group from the target application when receiving an unloading instruction of the light application group.
3. The light application installation method of an application program according to claim 1, wherein the step of acquiring a light application installation package from a server according to the authority information and the light application identification comprises:
displaying the sub-light application contained in the light application in a selection interface according to the operation authority and the light application identifier associated with the authority information, so that a user can select the sub-light application to be installed based on the selection interface;
generating an application acquisition request according to the child light application selected in the selection interface;
and sending the application acquisition request to a server, and sending a light application installation package formed according to the selected sub-light application to a local end by the server when the application acquisition request is received.
4. A mobile terminal comprising a memory, a processor and a light application installer of an application stored on the memory and executable on the processor, the light application installer of the application, when executed by the processor, implementing the steps of the light application installation method of an application according to any of claims 1 to 3.
5. A computer-readable storage medium, on which a light application installation program of an application program is stored, which when executed by a processor implements the steps of the light application installation method of an application program according to any one of claims 1 to 3.
CN201910665472.1A 2019-07-22 2019-07-22 Light application installation method of application program, mobile terminal and storage medium Active CN110413292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910665472.1A CN110413292B (en) 2019-07-22 2019-07-22 Light application installation method of application program, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910665472.1A CN110413292B (en) 2019-07-22 2019-07-22 Light application installation method of application program, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110413292A CN110413292A (en) 2019-11-05
CN110413292B true CN110413292B (en) 2023-11-14

Family

ID=68362502

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910665472.1A Active CN110413292B (en) 2019-07-22 2019-07-22 Light application installation method of application program, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110413292B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI740393B (en) * 2020-02-25 2021-09-21 宏碁股份有限公司 Application maintaining method
CN111399860B (en) * 2020-03-06 2023-07-07 金蝶蝶金云计算有限公司 Light application deployment method, light application deployment device, computer equipment and storage medium
CN113238785B (en) * 2021-06-18 2023-10-20 腾讯科技(深圳)有限公司 Application program updating method, related device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621518A (en) * 2009-07-20 2010-01-06 厦门敏讯信息技术股份有限公司 Method for managing permission
CN101625649A (en) * 2009-08-17 2010-01-13 中兴通讯股份有限公司 Loading method and loading device of software
CN103037063A (en) * 2011-09-29 2013-04-10 中国移动通信集团陕西有限公司 Method, system and assembly manager for mobile phone business dynamic loading
CN104820602A (en) * 2015-05-18 2015-08-05 北京瑞星信息技术有限公司 Method, device and system for publishing software package
CN105786567A (en) * 2016-02-25 2016-07-20 四川长虹电器股份有限公司 Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method
CN106547578A (en) * 2015-09-21 2017-03-29 阿里巴巴集团控股有限公司 The loading method and device of terminal applies APP

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101850817B1 (en) * 2011-11-17 2018-04-23 삼성전자주식회사 The method and apparatus for auto installing applications into different terminal
CN107741844B (en) * 2016-08-22 2020-12-01 腾讯科技(深圳)有限公司 Method and device for generating application installation package

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621518A (en) * 2009-07-20 2010-01-06 厦门敏讯信息技术股份有限公司 Method for managing permission
CN101625649A (en) * 2009-08-17 2010-01-13 中兴通讯股份有限公司 Loading method and loading device of software
CN103037063A (en) * 2011-09-29 2013-04-10 中国移动通信集团陕西有限公司 Method, system and assembly manager for mobile phone business dynamic loading
CN104820602A (en) * 2015-05-18 2015-08-05 北京瑞星信息技术有限公司 Method, device and system for publishing software package
CN106547578A (en) * 2015-09-21 2017-03-29 阿里巴巴集团控股有限公司 The loading method and device of terminal applies APP
CN105786567A (en) * 2016-02-25 2016-07-20 四川长虹电器股份有限公司 Middleware for information interaction of light application and main application and iOS application sub-module dynamic updating method

Also Published As

Publication number Publication date
CN110413292A (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN108074177B (en) Data reconciliation method, system and computer-readable storage medium
CN110413292B (en) Light application installation method of application program, mobile terminal and storage medium
EP3382534A1 (en) Page jumping method and apparatus
EP3301565A1 (en) Computer system, method of updating software with computer system, and program therefor
CN108829477B (en) Interface jump method, device, computer equipment and storage medium
US8667480B1 (en) Automatically updating browser extensions, and applications thereof
CN110727454A (en) Updating method and device of intelligent equipment, electronic equipment and storage medium
CN111068328B (en) Game advertisement configuration form generation method, terminal equipment and medium
US11775288B2 (en) Method and apparatus for generating difference between old and new versions of data for updating software
CN109558320B (en) System testing method, device, system, equipment and computer readable storage medium
CN108540509B (en) Processing method and device of terminal browser, server and intelligent terminal
CN105956485B (en) Internationalized language management method and system
CN111090452A (en) Service environment switching method and computer-readable storage medium
CN110851151B (en) Method, device, terminal, server and storage medium for pre-installing application
CN110765394A (en) So file loading method and device, storage medium and terminal equipment
CN104699511A (en) Plug-in upgrading method and plug-in upgrading device
CN111399860A (en) Light application deployment method and device, computer equipment and storage medium
CN109032617B (en) Control method and control device for automatically deleting installation package
US9854429B2 (en) Mobile terminal configuration method and system
CN110610080B (en) Application isolation implementation method, mobile terminal, computer equipment and storage medium
CN115129348A (en) Resource updating method, device and equipment of application program and readable storage medium
CN103458121A (en) System and method capable of realizing Android version compatibility and third-party function compatibility
CN111522560A (en) Software installation method and device, storage medium and electronic equipment
CN110309000B (en) Application update prompting method and terminal equipment
CN105468379A (en) Script file execution 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
GR01 Patent grant