CN110442357A - A kind of application installation management method, smart machine and system - Google Patents

A kind of application installation management method, smart machine and system Download PDF

Info

Publication number
CN110442357A
CN110442357A CN201910735538.XA CN201910735538A CN110442357A CN 110442357 A CN110442357 A CN 110442357A CN 201910735538 A CN201910735538 A CN 201910735538A CN 110442357 A CN110442357 A CN 110442357A
Authority
CN
China
Prior art keywords
parsed
value
access right
signature
install
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
CN201910735538.XA
Other languages
Chinese (zh)
Other versions
CN110442357B (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.)
Sichuan Hongmei Intelligent Technology Co Ltd
Original Assignee
Sichuan Hongmei Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Hongmei Intelligent Technology Co Ltd filed Critical Sichuan Hongmei Intelligent Technology Co Ltd
Priority to CN201910735538.XA priority Critical patent/CN110442357B/en
Publication of CN110442357A publication Critical patent/CN110442357A/en
Application granted granted Critical
Publication of CN110442357B publication Critical patent/CN110442357B/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

Landscapes

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

Abstract

The present invention provides a kind of application installation management method, smart machine and system, application installation management method includes: to obtain installation enabled condition;When receiving the trigger signal for an application installation package, the application installation package is parsed;Judge whether the result of parsing meets using installation enabled condition, if it is, execution is operated for the installation of application installation package;Otherwise, application installation package is forbidden to install.Scheme provided by the invention realizes the restriction to application installation, to guarantee that the smart machine operation of installation application will not be influenced by applying.

Description

A kind of application installation management method, smart machine and system
Technical field
The present invention relates to application management technical field, in particular to a kind of application installation management method, smart machine and System.
Background technique
Currently, many smart machine such as intelligent air condition, intelligent refrigerator, intelligent fume exhausters etc. are all the Android systems used Carry out secondary development.Since Android system is a general-purpose system, can will many applications such as about voice communication using, The installations such as the application about short message are on intelligent devices.Once the application of installation is incompatible with the hardware configuration of smart machine, past It is past to lead to smart machine run-time error.
Summary of the invention
The embodiment of the invention provides a kind of application installation management method, smart machine and systems, realize to application The restriction of installation, to guarantee that the smart machine operation of installation application will not be influenced by applying.
In a first aspect, the embodiment of the invention provides applications to install management method, application installation management method includes:
Obtain installation enabled condition;
When receiving the trigger signal for an application installation package, the application installation package is parsed;
Judge whether the result of parsing meets the application installation enabled condition, is directed to the application if it is, executing The installation of installation kit operates;Otherwise, the application installation package is forbidden to install.
Preferably, the installation enabled condition, comprising:
Allow that the compressed package title applied, signature, access right are installed, and does not allow that the compressed package name applied is installed Claim, signature, access right.
Preferably, judge whether the result of parsing meets the application installation enabled condition, comprising:
By the compressed package title parsed, the signature parsed and the access right parsed in the result of parsing point With described do not allow that the compressed package title applied, signature, access right are installed, and does not allow that the compressed package name applied is installed Claim, signature, access right are matched;
When it is described parse compressed package title, the signature parsed and the access right parsed completely with It is described allow install apply compressed package title, signature, access right matching and with do not allow install apply compressed package title, Signature, access right mismatch, it is determined that the result of parsing meets the application installation enabled condition.
Preferably, judge whether the result of parsing meets the application installation enabled condition, comprising:
Using following calculation formula, the matching value between the result of parsing and application installation enabled condition is calculated,
P=My×Qy×Sy+Mb+Qb+Sb
Wherein, the matching value between the result of P characterization parsing and application installation enabled condition;MyCharacterize compressed package name Claim the first matching assignment, include the compressed package title parsed when allowing to install the compressed package title applied, is MyIt is assigned a value of 1, it is M when allowing to install the compressed package title applied not comprising there is the compressed package title parsedyIt is assigned a value of 0;QyCharacterization signature First matching assignment contains the signature parsed when allowing to install the signature packets applied, is QyIt is assigned a value of 1, is answered when allowing to install Signature, which does not include, the signature parsed, is QyIt is assigned a value of 0;SyIt characterizes access right first and matches assignment, when allowing to install The access right of application includes the access right parsed, is SyIt is assigned a value of 1, is not wrapped when allowing to install the access right applied It is S containing the access right parsedyIt is assigned a value of 0;MbIt characterizes compressed package title second and matches assignment, applied when not allowing to install Compressed package title include the compressed package title parsed, be MbIt is assigned a value of the arbitrary value not less than 1, is answered when not allowing to install Compressed package title, which does not include, the compressed package title parsed, is MbIt is assigned a value of 0;QbCharacterization signature the second matching assignment, when Do not allow to install the signature packets applied and contain the signature parsed, is QbIt is assigned a value of the arbitrary value not less than 1, when not allowing to install The signature of application, which does not include, the signature parsed, is QbIt is assigned a value of 0;SbIt characterizes access right second and matches assignment, when not allowing The access right of installation application includes the access right parsed, is SbIt is assigned a value of the arbitrary value not less than 1, when not allowing to pacify The access right of dress application, which does not include, the access right parsed, is SbIt is assigned a value of 0;
In calculated matching value P=1, determine that the result of parsing meets application installation enabled condition, at calculated With value P ≠ 1, determine that the result of parsing is unsatisfactory for using installation enabled condition.
Preferably,
The installation enabled condition further comprises: do not allow to install at least one special library file that application includes, Do not allow that the API value applied is installed.
Preferably, application installation management method can further comprise:
Receive modification of the server to the installation enabled condition.
Second aspect, a kind of smart machine, comprising: memory and controller, wherein
The memory, for storing installation enabled condition;
The controller, for obtaining the installation enabled condition of the memory storage;It is receiving for an application When the trigger signal of installation kit, the application installation package is parsed;Judge whether the result of parsing meets the application installation and allow Condition, if it is, executing the installation operation for the application installation package;Otherwise, the application installation package is forbidden to install.
Preferably,
The installation enabled condition of the memory storage includes: to allow to install the compressed package title applied, signature, the right to use Limit, and do not allow that the compressed package title applied, signature, access right are installed.
Preferably,
The controller, for the compressed package title parsed, the signature parsed and the solution in the result by parsing The access right of precipitation allows to install the compressed package title applied, signature, access right with described respectively, and does not allow to install Compressed package title, signature, the access right of application are matched;Compressed package title, the label parsed are parsed when described Name and the access right parsed allow to install the compressed package title applied, signature, access right with described completely Match and mismatched with not allowing to install the compressed package title applied, signature, access right, it is determined that described in the result of parsing meets Using installation enabled condition.
Preferably,
The controller, for utilizing following calculation formula, the result and the application for calculating parsing install enabled condition Between matching value,
P=My×Qy×Sy+Mb+Qb+Sb
Wherein, the matching value between the result of P characterization parsing and application installation enabled condition;MyCharacterize compressed package name Claim the first matching assignment, include the compressed package title parsed when allowing to install the compressed package title applied, is MyIt is assigned a value of 1, it is M when allowing to install the compressed package title applied not comprising there is the compressed package title parsedyIt is assigned a value of 0;QyCharacterization signature First matching assignment contains the signature parsed when allowing to install the signature packets applied, is QyIt is assigned a value of 1, is answered when allowing to install Signature, which does not include, the signature parsed, is QyIt is assigned a value of 0;SyIt characterizes access right first and matches assignment, when allowing to install The access right of application includes the access right parsed, is SyIt is assigned a value of 1, is not wrapped when allowing to install the access right applied It is S containing the access right parsedyIt is assigned a value of 0;MbIt characterizes compressed package title second and matches assignment, applied when not allowing to install Compressed package title include the compressed package title parsed, be MbIt is assigned a value of the arbitrary value not less than 1, is answered when not allowing to install Compressed package title, which does not include, the compressed package title parsed, is MbIt is assigned a value of 0;QbCharacterization signature the second matching assignment, when Do not allow to install the signature packets applied and contain the signature parsed, is QbIt is assigned a value of the arbitrary value not less than 1, when not allowing to install The signature of application, which does not include, the signature parsed, is QbIt is assigned a value of 0;SbIt characterizes access right second and matches assignment, when not allowing The access right of installation application includes the access right parsed, is SbIt is assigned a value of the arbitrary value not less than 1, when not allowing to pacify The access right of dress application, which does not include, the access right parsed, is SbIt is assigned a value of 0;
In calculated matching value P=1, determine that the result of parsing meets application installation enabled condition, at calculated With value P ≠ 1, determine that the result of parsing is unsatisfactory for using installation enabled condition.
Management system is installed in the third aspect, a kind of application, comprising: at least one any of the above-described described smart machine and Server, wherein
At least one described smart machine is connect with the server,
The smart machine, the installation enabled condition sent for receiving the server;
The server, for the modification to the installation enabled condition.
The embodiment of the invention provides a kind of application installation management method, smart machine and systems, by being installed Enabled condition;When receiving the trigger signal for an application installation package, application installation package is parsed;Judge the result of parsing Whether enabled condition is installed in satisfaction application, if it is, executing the installation operation for application installation package;Otherwise, forbid applying Installation kit installation.Scheme provided by the invention realizes the restriction to application installation, to guarantee the smart machine of installation application Operation will not be influenced by applying.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart for application installation management method that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides another application installation management method flow chart;
Fig. 3 is a kind of structural schematic diagram for smart machine that one embodiment of the invention provides;
Fig. 4 is a kind of structural schematic diagram for application installation management system that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment of the invention provides a kind of applications to install management method, which can Include the following steps:
Step 101: obtaining installation enabled condition;
Step 102: when receiving the trigger signal for an application installation package, parsing application installation package;
Step 103: judging whether the result of parsing meets using installation enabled condition, if so, thening follow the steps 104; Otherwise, step 105 is executed;
Step 104: the installation executed for application installation package operates, and terminates current process;
Step 105: application installation package being forbidden to install.
In the embodiment shown in fig. 1, enabled condition is installed by obtaining;An application installation package is directed to receiving When trigger signal, application installation package is parsed;Judge whether the result of parsing meets using installation enabled condition, if it is, holding The hand-manipulating of needle operates the installation of application installation package;Otherwise, application installation package is forbidden to install.Scheme provided by the invention realizes correspondence With the restriction of installation, to guarantee that the smart machine operation of installation application will not be influenced by applying.
In an alternative embodiment of the invention, in order to guarantee the integrity managed using installation, above-mentioned installation enabled condition can It include: to allow that the compressed package title applied, signature, access right are installed, and do not allow to install the compressed package title applied, label Name, access right.
In an alternative embodiment of the invention, whether the above-mentioned result for judging parsing meets the application installation enabled condition tool Body real-time mode can include: by the result of parsing the compressed package title parsed, the signature that parses and parse Access right allows to install the compressed package title applied, signature, access right with described respectively, and does not allow to install application Compressed package title, signature, access right are matched;When parsing compressed package title, the signature parsed and the parsing Access right out is matched with compressed package title, signature, the access right for allowing installation to apply completely and is answered with not allowing to install Compressed package title, signature, access right mismatch, it is determined that the result of parsing meets application installation enabled condition.
In an alternative embodiment of the invention, whether the above-mentioned result for judging parsing it is another meet the application installation enabled condition A kind of specific real-time mode can include: utilize following calculation formula, the result and the application for calculating parsing install enabled condition Between matching value,
P=My×Qy×Sy+Mb+Qb+Sb
Wherein, the matching value between the result of P characterization parsing and application installation enabled condition;MyCharacterize compressed package name Claim the first matching assignment, include the compressed package title parsed when allowing to install the compressed package title applied, is MyIt is assigned a value of 1, it is M when allowing to install the compressed package title applied not comprising there is the compressed package title parsedyIt is assigned a value of 0;QyCharacterization signature First matching assignment contains the signature parsed when allowing to install the signature packets applied, is QyIt is assigned a value of 1, is answered when allowing to install Signature, which does not include, the signature parsed, is QyIt is assigned a value of 0;SyIt characterizes access right first and matches assignment, when allowing to install The access right of application includes the access right parsed, is SyIt is assigned a value of 1, is not wrapped when allowing to install the access right applied It is S containing the access right parsedyIt is assigned a value of 0;MbIt characterizes compressed package title second and matches assignment, applied when not allowing to install Compressed package title include the compressed package title parsed, be MbIt is assigned a value of the arbitrary value not less than 1, is answered when not allowing to install Compressed package title, which does not include, the compressed package title parsed, is MbIt is assigned a value of 0;QbCharacterization signature the second matching assignment, when Do not allow to install the signature packets applied and contain the signature parsed, is QbIt is assigned a value of the arbitrary value not less than 1, when not allowing to install The signature of application, which does not include, the signature parsed, is QbIt is assigned a value of 0;SbIt characterizes access right second and matches assignment, when not allowing The access right of installation application includes the access right parsed, is SbIt is assigned a value of the arbitrary value not less than 1, when not allowing to pacify The access right of dress application, which does not include, the access right parsed, is SbIt is assigned a value of 0;
In calculated matching value P=1, determine that the result of parsing meets application installation enabled condition, at calculated With value P ≠ 1, determine that the result of parsing is unsatisfactory for using installation enabled condition.
In an alternative embodiment of the invention, the above method can further comprise: receive server to installation enabled condition Modification.
As shown in Fig. 2, one embodiment of the invention provides a kind of application installation management method, the application installation management method It may particularly include following steps:
Step 200: receiving setting and modification of the server to installation enabled condition;
Can mountable, the specified packet name of signature application that Server remote dynamic configuration is specified using it is mountable, refer to Surely the not mountable using not mountable, the specified application comprising certain special library files of certain permissions is requested, is pacified lower than some The application of tall and erect API is not mountable.Can prevent so some compatibility it is bad, with security risk or without by authorization answering With installing inside this system.
Step 201: obtaining installation enabled condition;
Allow that the compressed package title applied, signature, access right are installed, and does not allow that the compressed package name applied is installed Claim, signature, access right.
Step 202: when receiving the trigger signal for an application installation package, parsing application installation package;
Step 203: judging whether the result of parsing meets using installation enabled condition, if so, thening follow the steps 204; Otherwise, step 205 is executed;
The step specific implementation can be any one in following two kinds.
The first:
By the compressed package title parsed, the signature parsed and the access right parsed in the result of parsing point With described do not allow that the compressed package title applied, signature, access right are installed, and does not allow that the compressed package name applied is installed Claim, signature, access right are matched;
When it is described parse compressed package title, the signature parsed and the access right parsed completely with It is described allow install apply compressed package title, signature, access right matching and with do not allow install apply compressed package title, Signature, access right mismatch, it is determined that the result of parsing meets the application installation enabled condition.
Second:
Using following calculation formula, the matching value between the result of parsing and application installation enabled condition is calculated,
P=My×Qy×Sy+Mb+Qb+Sb
Wherein, the matching value between the result of P characterization parsing and application installation enabled condition;MyCharacterize compressed package name Claim the first matching assignment, include the compressed package title parsed when allowing to install the compressed package title applied, is MyIt is assigned a value of 1, it is M when allowing to install the compressed package title applied not comprising there is the compressed package title parsedyIt is assigned a value of 0;QyCharacterization signature First matching assignment contains the signature parsed when allowing to install the signature packets applied, is QyIt is assigned a value of 1, is answered when allowing to install Signature, which does not include, the signature parsed, is QyIt is assigned a value of 0;SyIt characterizes access right first and matches assignment, when allowing to install The access right of application includes the access right parsed, is SyIt is assigned a value of 1, is not wrapped when allowing to install the access right applied It is S containing the access right parsedyIt is assigned a value of 0;MbIt characterizes compressed package title second and matches assignment, applied when not allowing to install Compressed package title include the compressed package title parsed, be MbIt is assigned a value of the arbitrary value not less than 1, is answered when not allowing to install Compressed package title, which does not include, the compressed package title parsed, is MbIt is assigned a value of 0;QbCharacterization signature the second matching assignment, when Do not allow to install the signature packets applied and contain the signature parsed, is QbIt is assigned a value of the arbitrary value not less than 1, when not allowing to install The signature of application, which does not include, the signature parsed, is QbIt is assigned a value of 0;SbIt characterizes access right second and matches assignment, when not allowing The access right of installation application includes the access right parsed, is SbIt is assigned a value of the arbitrary value not less than 1, when not allowing to pacify The access right of dress application, which does not include, the access right parsed, is SbIt is assigned a value of 0;
In calculated matching value P=1, determine that the result of parsing meets application installation enabled condition, at calculated With value P ≠ 1, determine that the result of parsing is unsatisfactory for using installation enabled condition.
Step 204: the installation executed for application installation package operates, and terminates current process;
Step 205: application installation package being forbidden to install.
As shown in figure 3, the embodiment of the invention provides a kind of smart machine, the smart machine include: memory 301 and Controller 302, wherein
Memory 301, for storing installation enabled condition;
Controller 302, for obtaining the installation enabled condition of the storage of memory 301;It is receiving for an application peace When filling the trigger signal of packet, application installation package is parsed;Judge whether the result of parsing meets using installation enabled condition, if It is that the installation then executed for application installation package operates;Otherwise, application installation package is forbidden to install.
In an alternative embodiment of the invention, the installation enabled condition of above-mentioned memory storage includes: and allows to install to apply Compressed package title, signature, access right, and do not allow that the compressed package title applied, signature, access right are installed.
In an alternative embodiment of the invention, controller 302, for the compressed package name parsed in the result by parsing The signature claim, parsed and the access right parsed allow to install the compressed package title applied, sign, make with described respectively It is matched with permission, and the compressed package title, signature, the access right that do not allow installation to apply;Compression is parsed when described Packet title, the signature parsed and the access right parsed allow to install the compressed package applied with described completely Title, signature, access right are matched and are mismatched with not allowing to install the compressed package title applied, signature, access right, then really Surely the result parsed meets the application installation enabled condition.
In an alternative embodiment of the invention, controller 302, for utilizing following calculation formula, calculate the result of parsing with Matching value between the application installation enabled condition,
P=My×Qy×Sy+Mb+Qb+Sb
Wherein, the matching value between the result of P characterization parsing and application installation enabled condition;MyCharacterize compressed package name Claim the first matching assignment, include the compressed package title parsed when allowing to install the compressed package title applied, is MyIt is assigned a value of 1, it is M when allowing to install the compressed package title applied not comprising there is the compressed package title parsedyIt is assigned a value of 0;QyCharacterization signature First matching assignment contains the signature parsed when allowing to install the signature packets applied, is QyIt is assigned a value of 1, is answered when allowing to install Signature, which does not include, the signature parsed, is QyIt is assigned a value of 0;SyIt characterizes access right first and matches assignment, when allowing to install The access right of application includes the access right parsed, is SyIt is assigned a value of 1, is not wrapped when allowing to install the access right applied It is S containing the access right parsedyIt is assigned a value of 0;MbIt characterizes compressed package title second and matches assignment, applied when not allowing to install Compressed package title include the compressed package title parsed, be MbIt is assigned a value of the arbitrary value not less than 1, is answered when not allowing to install Compressed package title, which does not include, the compressed package title parsed, is MbIt is assigned a value of 0;QbCharacterization signature the second matching assignment, when Do not allow to install the signature packets applied and contain the signature parsed, is QbIt is assigned a value of the arbitrary value not less than 1, when not allowing to install The signature of application, which does not include, the signature parsed, is QbIt is assigned a value of 0;SbIt characterizes access right second and matches assignment, when not allowing The access right of installation application includes the access right parsed, is SbIt is assigned a value of the arbitrary value not less than 1, when not allowing to pacify The access right of dress application, which does not include, the access right parsed, is SbIt is assigned a value of 0;
In calculated matching value P=1, determine that the result of parsing meets application installation enabled condition, at calculated With value P ≠ 1, determine that the result of parsing is unsatisfactory for using installation enabled condition.
As shown in figure 4, the embodiment of the invention provides a kind of applications to install management system, the application installation management system packet It includes: at least one any of the above-described smart machine 401 and server 402, wherein
At least one smart machine 401 is connect with server 402,
Smart machine 401, for receiving the installation enabled condition of the transmission of server 402;
Server 402, for the modification to installation enabled condition.
The contents such as information exchange, implementation procedure in above-mentioned apparatus between each unit, due to implementing with present system Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
The each embodiment of the present invention at least has the following beneficial effects:
1, enabled condition in embodiments of the present invention, is installed by obtaining;An application installation package is directed to receiving When trigger signal, application installation package is parsed;Judge whether the result of parsing meets using installation enabled condition, if it is, holding The hand-manipulating of needle operates the installation of application installation package;Otherwise, application installation package is forbidden to install.Scheme provided by the invention realizes correspondence With the restriction of installation, to guarantee that the smart machine operation of installation application will not be influenced by applying.
2, in embodiments of the present invention, enabled condition is installed, including allowing to install the compressed package title applied, signing, make With permission, and do not allow that the compressed package title applied, signature, access right are installed, guarantees that application installation management is fairly perfect With it is accurate.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (10)

1. management method is installed in a kind of application characterized by comprising
Obtain installation enabled condition;
When receiving the trigger signal for an application installation package, the application installation package is parsed;
Judge whether the result of parsing meets the application installation enabled condition, is installed if it is, executing for the application The installation of packet operates;Otherwise, the application installation package is forbidden to install.
2. management method is installed in application according to claim 1, which is characterized in that the installation enabled condition, comprising:
Allow that the compressed package title applied, signature, access right are installed, and does not allow to install the compressed package title applied, label Name, access right.
3. management method is installed in application according to claim 2, which is characterized in that judge whether the result of parsing meets institute It states using installation enabled condition, comprising:
By the compressed package title parsed, the signature parsed and the access right parsed in the result of parsing respectively with It is described to allow that the compressed package title applied, signature, access right are installed, and do not allow to install the compressed package title applied, label Name, access right are matched;
When it is described parse compressed package title, the signature parsed and the access right parsed completely with it is described Allow install apply compressed package title, signature, access right matching and with do not allow install apply compressed package title, label Name, access right mismatch, it is determined that the result of parsing meets the application installation enabled condition.
4. management method is installed in application according to claim 2, which is characterized in that judge whether the result of parsing meets institute It states using installation enabled condition, comprising:
Using following calculation formula, the matching value between the result of parsing and application installation enabled condition is calculated,
P=My×Qy×Sy+Mb+Qb+Sb
Wherein, the matching value between the result of P characterization parsing and application installation enabled condition;MyCharacterize compressed package title the One matching assignment, includes the compressed package title parsed when allowing to install the compressed package title applied, and is MyIt is assigned a value of 1, when Allow to install the compressed package title applied not comprising there is the compressed package title parsed, is MyIt is assigned a value of 0;QyCharacterization signature first Assignment is matched, contains the signature parsed when allowing to install the signature packets applied, is QyBe assigned a value of 1, when allow install apply Signature, which does not include, the signature parsed, is QyIt is assigned a value of 0;SyIt characterizes access right first and matches assignment, applied when allowing to install Access right include the access right parsed, be SyIt is assigned a value of 1, is had when allowing the access right for installing application not include The access right parsed is SyIt is assigned a value of 0;MbIt characterizes compressed package title second and matches assignment, when the pressure for not allowing to install application Contracting packet title includes the compressed package title parsed, is MbIt is assigned a value of the arbitrary value not less than 1, is applied when not allowing to install Compressed package title, which does not include, the compressed package title parsed, is MbIt is assigned a value of 0;QbCharacterization signature the second matching assignment, when not permitting Perhaps the signature packets for installing application contain the signature parsed, are QbIt is assigned a value of the arbitrary value not less than 1, is applied when not allowing to install Signature do not include have the signature parsed, be QbIt is assigned a value of 0;SbIt characterizes access right second and matches assignment, when not allowing to install The access right of application includes the access right parsed, is SbIt is assigned a value of the arbitrary value not less than 1, is answered when not allowing to install Access right, which does not include, the access right parsed, is SbIt is assigned a value of 0;
In calculated matching value P=1, determine that the result of parsing meets application installation enabled condition, in calculated matching value P ≠ 1, determine that the result of parsing is unsatisfactory for using installation enabled condition.
5. management method is installed in application according to any one of claims 1 to 4, which is characterized in that
The installation enabled condition further comprises: not allowing to install at least one special library file that application includes, does not permit The API value of application is installed perhaps.
6. management method is installed in application according to any one of claims 1 to 4, which is characterized in that further comprise:
Receive modification of the server to the installation enabled condition.
7. a kind of smart machine characterized by comprising memory and controller, wherein
The memory, for storing installation enabled condition;
The controller, for obtaining the installation enabled condition of the memory storage;It is receiving for an application installation When the trigger signal of packet, the application installation package is parsed;Judge whether the result of parsing meets the application installation enabled condition, If it is, executing the installation operation for the application installation package;Otherwise, the application installation package is forbidden to install.
8. smart machine according to claim 7, which is characterized in that
The installation enabled condition of the memory storage includes: to allow to install the compressed package title applied, signature, access right, And do not allow that the compressed package title applied, signature, access right are installed.
9. smart machine according to claim 8, which is characterized in that
The controller, in the result by parsing the compressed package title parsed, the signature parsed and parse Access right respectively with it is described allow install apply compressed package title, signature, access right, and do not allow install apply Compressed package title, signature, access right matched;When it is described parse compressed package title, the signature parsed with And the access right parsed completely with it is described allow that the compressed package title applied is installed, signature, access right match and It is mismatched with not allowing to install the compressed package title applied, signature, access right, it is determined that the result of parsing meets the application Enabled condition is installed;
And/or
The controller calculates between the result of parsing and application installation enabled condition for utilizing following calculation formula Matching value,
P=My×Qy×Sy+Mb+Qb+Sb
Wherein, the matching value between the result of P characterization parsing and application installation enabled condition;MyCharacterize compressed package title the One matching assignment, includes the compressed package title parsed when allowing to install the compressed package title applied, and is MyIt is assigned a value of 1, when Allow to install the compressed package title applied not comprising there is the compressed package title parsed, is MyIt is assigned a value of 0;QyCharacterization signature first Assignment is matched, contains the signature parsed when allowing to install the signature packets applied, is QyBe assigned a value of 1, when allow install apply Signature, which does not include, the signature parsed, is QyIt is assigned a value of 0;SyIt characterizes access right first and matches assignment, applied when allowing to install Access right include the access right parsed, be SyIt is assigned a value of 1, is had when allowing the access right for installing application not include The access right parsed is SyIt is assigned a value of 0;MbIt characterizes compressed package title second and matches assignment, when the pressure for not allowing to install application Contracting packet title includes the compressed package title parsed, is MbIt is assigned a value of the arbitrary value not less than 1, is applied when not allowing to install Compressed package title, which does not include, the compressed package title parsed, is MbIt is assigned a value of 0;QbCharacterization signature the second matching assignment, when not permitting Perhaps the signature packets for installing application contain the signature parsed, are QbIt is assigned a value of the arbitrary value not less than 1, is applied when not allowing to install Signature do not include have the signature parsed, be QbIt is assigned a value of 0;SbIt characterizes access right second and matches assignment, when not allowing to install The access right of application includes the access right parsed, is SbIt is assigned a value of the arbitrary value not less than 1, is answered when not allowing to install Access right, which does not include, the access right parsed, is SbIt is assigned a value of 0;
In calculated matching value P=1, determine that the result of parsing meets application installation enabled condition, in calculated matching value P ≠ 1, determine that the result of parsing is unsatisfactory for using installation enabled condition.
10. management system is installed in a kind of application characterized by comprising any intelligence of at least one claim 7 to 9 Energy equipment and server, wherein
At least one described smart machine is connect with the server,
The smart machine, the installation enabled condition sent for receiving the server;
The server, for the modification to the installation enabled condition.
CN201910735538.XA 2019-08-09 2019-08-09 Application installation management method, intelligent device and system Active CN110442357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910735538.XA CN110442357B (en) 2019-08-09 2019-08-09 Application installation management method, intelligent device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910735538.XA CN110442357B (en) 2019-08-09 2019-08-09 Application installation management method, intelligent device and system

Publications (2)

Publication Number Publication Date
CN110442357A true CN110442357A (en) 2019-11-12
CN110442357B CN110442357B (en) 2022-11-01

Family

ID=68434312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910735538.XA Active CN110442357B (en) 2019-08-09 2019-08-09 Application installation management method, intelligent device and system

Country Status (1)

Country Link
CN (1) CN110442357B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617387A (en) * 2013-11-25 2014-03-05 北京奇虎科技有限公司 Method and device for preventing application program from being installed automatically
CN104346566A (en) * 2013-07-31 2015-02-11 腾讯科技(深圳)有限公司 Method, device, terminal, server and system for detecting privacy authority risks
CN104951675A (en) * 2014-03-31 2015-09-30 北京金山网络科技有限公司 Pirate application recognition method and system
CN105553961A (en) * 2015-12-11 2016-05-04 北京元心科技有限公司 Mandatory access control method and system for application program and management server
CN106503541A (en) * 2016-10-11 2017-03-15 天脉聚源(北京)传媒科技有限公司 A kind of installation method of installation kit and system
US20170076099A1 (en) * 2014-02-21 2017-03-16 Beijing Qihoo Technology Company Limited An access method and apparatus for an application program based on an intelligent terminal device
CN107608697A (en) * 2017-09-29 2018-01-19 武汉斗鱼网络科技有限公司 Application program discharging method, device and readable storage medium storing program for executing
CN107943490A (en) * 2017-11-16 2018-04-20 珠海市魅族科技有限公司 Using installation method, equipment, computer-readable recording medium and computer installation
US20180248702A1 (en) * 2015-11-06 2018-08-30 Huawei International Pte. Ltd. System and method for managing installation of an application package requiring high-risk permission access
CN109660353A (en) * 2018-12-12 2019-04-19 新华三技术有限公司 A kind of application program installation method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346566A (en) * 2013-07-31 2015-02-11 腾讯科技(深圳)有限公司 Method, device, terminal, server and system for detecting privacy authority risks
CN103617387A (en) * 2013-11-25 2014-03-05 北京奇虎科技有限公司 Method and device for preventing application program from being installed automatically
US20170076099A1 (en) * 2014-02-21 2017-03-16 Beijing Qihoo Technology Company Limited An access method and apparatus for an application program based on an intelligent terminal device
CN104951675A (en) * 2014-03-31 2015-09-30 北京金山网络科技有限公司 Pirate application recognition method and system
US20180248702A1 (en) * 2015-11-06 2018-08-30 Huawei International Pte. Ltd. System and method for managing installation of an application package requiring high-risk permission access
CN105553961A (en) * 2015-12-11 2016-05-04 北京元心科技有限公司 Mandatory access control method and system for application program and management server
CN106503541A (en) * 2016-10-11 2017-03-15 天脉聚源(北京)传媒科技有限公司 A kind of installation method of installation kit and system
CN107608697A (en) * 2017-09-29 2018-01-19 武汉斗鱼网络科技有限公司 Application program discharging method, device and readable storage medium storing program for executing
CN107943490A (en) * 2017-11-16 2018-04-20 珠海市魅族科技有限公司 Using installation method, equipment, computer-readable recording medium and computer installation
CN109660353A (en) * 2018-12-12 2019-04-19 新华三技术有限公司 A kind of application program installation method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
XIANGYU-JU 等: "Android malware detection through permission and package", 《2014 INTERNATIONAL CONFERENCE ON WAVELET ANALYSIS AND PATTERN RECOGNITION》 *
我已不是少年郎: "android安装管控——禁止安装非允许应用", 《HTTPS://WWW.JIANSHU.COM/P/12EE038E0F7E》 *
曾云科: "Android中窃取隐私应用的检测方法研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
朱珠 等: "基于Android应用程序安装包隐蔽下载劫持漏洞", 《计算机应用》 *

Also Published As

Publication number Publication date
CN110442357B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN108494771B (en) Electronic device, firewall opening verification method and storage medium
CN102043719B (en) Method for testing IEC61850 configuration description file
CN110474896A (en) Data communications method and relevant device based on Modbus consensus standard
CN102420902A (en) Method for classification management over right of using functions and mobile terminal
CN107040568A (en) Identification information generation method and device
CN104765629A (en) System application installation method and device
CN104602114A (en) Method for transmitting and receiving upgrade documents, system, intelligent television and remote controller
CN103259797A (en) Data file transmission method and platform
CN103106378A (en) Novel 15693 tag chip verification platform
WO2022142153A1 (en) Electricity meter upgrading method and system, smart meter, and storage medium
CN107943529A (en) Device pairing method, apparatus, readable storage medium storing program for executing and interactive intelligence equipment
CN109495434A (en) A kind of document transmission method and device
CN103944983A (en) Error correction method and system for voice control instruction
CN109582331A (en) Upgrade method, the device and system of vehicle-carrying communication module
CN104767655A (en) Analog result detection method and device
CN104503429A (en) Track traffic vehicle static-state test data automatic processing method and apparatus
CN108052094A (en) A kind of extension card identification method, device and frequency converter
CN109597716A (en) A kind of asynchronous remote copying method and system
CN110442357A (en) A kind of application installation management method, smart machine and system
CN101388792A (en) Single board plug-and-use processing method, device and telecommunication system
CN101026736A (en) Method and system for J2ME business authentication for IPTV system
CN109302376A (en) A kind of raw code method of account, account authorization method and account code taking method
CN110413467A (en) A kind of adjustment method, device, equipment and the medium of server B IOS
CN101938765B (en) The method and system of a kind of webmaster and network element automatic adaptation
US11606170B2 (en) Method and apparatus for HARQ-ACK and SR transmission

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