CN106485153A - Version upgrading method and terminal unit - Google Patents

Version upgrading method and terminal unit Download PDF

Info

Publication number
CN106485153A
CN106485153A CN201610882888.5A CN201610882888A CN106485153A CN 106485153 A CN106485153 A CN 106485153A CN 201610882888 A CN201610882888 A CN 201610882888A CN 106485153 A CN106485153 A CN 106485153A
Authority
CN
China
Prior art keywords
aku
application program
version
information
upgraded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610882888.5A
Other languages
Chinese (zh)
Inventor
李小明
张晓东
张晓红
吴成义
程伟明
赵彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Poly Polytron Technologies Inc
Juhaokan Technology Co Ltd
Original Assignee
Poly Polytron Technologies Inc
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 Poly Polytron Technologies Inc filed Critical Poly Polytron Technologies Inc
Priority to CN201610882888.5A priority Critical patent/CN106485153A/en
Publication of CN106485153A publication Critical patent/CN106485153A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/572Secure firmware programming, e.g. of basic input output system [BIOS]

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of version upgrading method and terminal unit, and the method includes:The corresponding AKU of application program to be upgraded is downloaded in version server;Obtain mark and the described AKU corresponding first version information of the corresponding application program of described AKU in described AKU, described version server obtains described AKU corresponding second edition information;According to the mark of described application program to be upgraded, the mark of the corresponding application program of described AKU, described first version information and described second edition information, determine the safety of described AKU;When determining that described AKU is safety upgrade bag, according to described AKU, described application program to be upgraded is upgraded.For improving the safety of application program updating.

Description

Version upgrading method and terminal unit
Technical field
The present embodiments relate to field of computer technology, more particularly, to a kind of version upgrading method and terminal unit.
Background technology
At present, in terminal unit (such as mobile phone, computer, TV etc.), multiple application programs can be installed, and when application When program has redaction, application program can be upgraded.
In prior art, when the developer of application program develops the application program of highest version, by operation maintenance personnel by height The corresponding AKU of version application program uploads onto the server, and configures the corresponding version information of this highest version.Terminal unit can Detected with the version information to configuration in server, when terminal unit is according to the version information of configuration in server, determine Exist in server more highest version application program when, terminal unit can download the more corresponding upgrading of highest version application program Bag, and according to AKU, the application program in terminal unit is upgraded.
However, operation maintenance personnel may upload the AKU of mistake in the server, or, the AKU in server may Maliciously replaced so that the application program in terminal unit cannot be carried out normally upgrading or escalate into other application programs, Lead to the safety of application program updating poor.
Content of the invention
The embodiment of the present invention provides a kind of version upgrading method and terminal unit, for improving the safety of application program updating Property.
In a first aspect, the embodiment of the present invention provides a kind of version upgrading method, including:
The corresponding AKU of application program to be upgraded is downloaded in version server;
Mark and the described AKU corresponding of the corresponding application program of described AKU is obtained in described AKU One version information, obtains described AKU corresponding second edition information in described version server;
According to the mark of described application program to be upgraded, the mark of the corresponding application program of described AKU, described first Version information and described second edition information, determine the safety of described AKU;
When determining that described AKU is safety upgrade bag, according to described AKU, described application program to be upgraded is carried out Upgrading.
In a kind of possible embodiment, described obtain the corresponding application program of described AKU in described AKU Mark, including:
Obtain the bag name of described AKU;
According to the bag name of described AKU, determine the mark of the corresponding application program of described AKU.
In alternatively possible embodiment, the described bag name obtaining described AKU, including:
Described AKU is parsed, obtains the signing messages that described AKU includes;
The bag name of described AKU is obtained in described signing messages.
In alternatively possible embodiment, corresponded to according to the mark of described application program to be upgraded, described AKU The mark of application program, described first version information and described second edition information, determine the safety of described AKU, Including:
Judge the mark of described application program to be upgraded and the corresponding application program of described AKU identify whether identical;
If not it is determined that described AKU is hidden danger AKU;
If so, then judge whether described first version information is identical with described second edition information;If it is determined that described AKU is safety upgrade bag.
In alternatively possible embodiment, if judging described first version information and described second edition information not phase With methods described also includes:
Obtain this information of the third edition of described application program to be upgraded;
According to described first version information and described this information of the third edition, judge whether the corresponding version of described AKU is high In the corresponding version of described application program to be upgraded;
If it is determined that described AKU is safety upgrade bag;
If not it is determined that described AKU is hidden danger AKU.
However, it is determined that described AKU is risk AKU in alternatively possible embodiment, methods described also includes:
Send version information abnormal prompt information to described version server, described in pointing out in described version server There is potential safety hazard in AKU.
Second aspect, the embodiment of the present invention provides a kind of terminal unit, including:
Download module, for downloading the corresponding AKU of application program to be upgraded in version server;
Acquisition module, for obtaining the mark of the corresponding application program of described AKU and described liter in described AKU Level wraps corresponding first version information, obtains described AKU corresponding second edition information in described version server;
Determining module, for according to the mark of described application program to be upgraded, the corresponding application program of described AKU Mark, described first version information and described second edition information, determine the safety of described AKU;
Upgraded module, for when determining that described AKU is safety upgrade bag, waiting to rise to described according to described AKU Level application is upgraded.
In a kind of possible embodiment, described acquisition module includes acquiring unit and determining unit, wherein,
Described acquiring unit is used for, and obtains the bag name of described AKU;
Described determining unit is used for, and according to the bag name of described AKU, determines the corresponding application program of described AKU Mark.
In alternatively possible embodiment, described acquiring unit specifically for:
Described AKU is parsed, obtains the signing messages that described AKU includes;
The bag name of described AKU is obtained in described signing messages.
In alternatively possible embodiment, described determining module specifically for:
Judge the mark of described application program to be upgraded and the corresponding application program of described AKU identify whether identical;
If not it is determined that described AKU is hidden danger AKU;
If so, then judge whether described first version information is identical with described second edition information;If it is determined that described AKU is safety upgrade bag.
In alternatively possible embodiment, described determining module is additionally operable to:
When described determining module judges described first version information and described second edition information differs, obtain described This information of the third edition of application program to be upgraded;
According to described first version information and described this information of the third edition, judge whether the corresponding version of described AKU is high In the corresponding version of described application program to be upgraded;
If it is determined that described AKU is safety upgrade bag;
If not it is determined that described AKU is hidden danger AKU.
In alternatively possible embodiment, described terminal unit also includes sending module, wherein,
Described sending module is used for, when described determining module determines that described AKU is risk AKU, to described version Book server sends version information abnormal prompt information, hidden to point out the described AKU in described version server to there is safety Suffer from.
Version upgrading method provided in an embodiment of the present invention and terminal unit, download in terminal unit and obtain application to be upgraded After the corresponding AKU of program, terminal unit parses to AKU, and to obtain in AKU, AKU is corresponding to answer With mark and the AKU corresponding first version information of program, and the mark according to application program to be upgraded, AKU correspond to The mark of application program, the AKU corresponding second edition information of configuration and first version information in version server, really Determine the safety of AKU;When determining that AKU is safety upgrade bag, upgrade applications are treated according to AKU and is risen Level.In above process, the mark of the corresponding application program of AKU acquiring in AKU and first version information It is the actual information of AKU, by the actual information of AKU verifying accurately whether can determine AKU For safety, and when determining that AKU is safety upgrade bag, treat upgrade applications further according to AKU and upgraded, enter And improve the safety that application program is upgraded.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
The application scenarios schematic diagram of the version upgrading method that Fig. 1 provides for the present invention;
The schematic flow sheet of the version upgrading method that Fig. 2 provides for the present invention;
The schematic flow sheet one of the determination AKU security method menu that Fig. 3 provides for the present invention;
The schematic flow sheet two of the determination AKU security method menu that Fig. 4 provides for the present invention;
The structural representation one of the terminal unit that Fig. 5 provides for the present invention;
The structural representation two of the terminal unit that Fig. 6 provides for the present invention.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
The application scenarios schematic diagram of the version upgrading method that Fig. 1 provides for the present invention, refers to Fig. 1, including terminal unit 101 and version server 102.Optionally, this terminal unit 101 can be the equipment such as mobile phone, computer, TV, in terminal unit Multiple application programs can be installed in 101.Version server 102 is used for storing multiple application programs, and terminal unit 101 can be Download application program in version server, and installed;When the developer of application program develops the application program of highest version When, corresponding for highest version application program AKU can be uploaded to version server 102 by operation maintenance personnel, and in version server The corresponding version information of this AKU is configured, terminal unit 101 can download highest version application journey in version server in 102 The corresponding AKU of sequence, and according to AKU, the application program in terminal unit 101 is upgraded.In this application, at end After end equipment 101 downloads to AKU, terminal unit 101 detects to the AKU downloaded, and is determining the liter downloaded When level is wrapped as safety upgrade bag, further according to this AKU, the application program in terminal unit is upgraded, and then improve version The safety of upgrading.
Below, by specific embodiment, the technical scheme shown in the application is described in detail.It should be noted that under These specific embodiments of face can be combined with each other, may be in certain embodiments for same or analogous concept or process Repeat no more.
The schematic flow sheet of the version upgrading method that Fig. 2 provides for the present invention, the executive agent of the method can be terminal Equipment, refers to Fig. 2, and the method can include:
S201, download the corresponding AKU of application program to be upgraded in version server;
S202, the mark obtaining the corresponding application program of AKU in AKU and AKU corresponding first version letter Breath, obtains AKU corresponding second edition information in version server;
S203, the mark according to application program to be upgraded, the mark of the corresponding application program of AKU, first version letter Breath and second edition information, determine the safety of AKU;
S204, determine AKU be safety upgrade bag when, upgrade applications are treated according to AKU and are upgraded.
In actual application, when the application development in version server goes out highest version, operation maintenance personnel is by height The AKU of version is uploaded to version server, and configures the corresponding version information of this AKU;If being provided with terminal unit Application program in version server, terminal unit can be according to the AKU corresponding version letter of configuration in version server The version information of the application program installed in breath and terminal unit, in detection version server, whether the version of AKU is than end In end equipment, the version of application program is high, and if so, then terminal unit is automatically downloaded AKU or reminds user to download upgrading Bag;Certainly, when there is highest version in version server, server can also send information to terminal unit, so that eventually End equipment is automatically downloaded AKU or reminds user to download AKU.
After terminal unit downloads the corresponding AKU of application program to be upgraded in version server, terminal unit pair AKU is parsed, to obtain mark and the corresponding first edition of AKU of the corresponding application program of AKU in AKU This information.
Optionally, terminal unit can be with the bag name of this AKU of direct access, and the bag name according to AKU, determines upgrading Wrap the mark of corresponding application program.Optionally, due to all version bag names of same application and the upgrading of all versions The bag name all same of bag, therefore, the bag name of AKU directly can be defined as the corresponding application program of AKU by terminal unit Mark.In actual application, partly bad businessman, in order to improve the download of the application program of its exploitation, is developed Application program bag name malicious modification be correct AKU bag name, and the AKU in version server is carried out malice replace Change, the harmful effect upgrading of application program being caused in order to avoid this kind of situation, terminal unit can solve to AKU Analysis, to obtain the signing messages that AKU includes, and obtains the bag name of AKU in signing messages.Due in AKU Signing messages is difficult maliciously to be imitated and change, and can obtain the bag of accurate AKU therefore in the signing messages of AKU Name.
Optionally, carry this AKU corresponding first version information in AKU, terminal unit can be to upgrading Bag is parsed includes first version information to obtain AKU.Optionally, the corresponding first version of AKU can store In the default file in AKU, accordingly, terminal unit can parse to AKU, obtains for storing AKU Version information default file, and in default file obtain AKU corresponding first version information.
Terminal unit obtains AKU corresponding second edition information, wherein, this second edition also in version server When information uploads AKU for operation personnel in version server, configuration in version server.It should be noted that by Configure for operation personnel in this second edition information, therefore, this second edition information there is a possibility that to be configured mistake, That is, this second edition information of operation personnel's configuration and the actual version information of AKU differ.
Acquire mark and the AKU corresponding first version letter of the corresponding application program of AKU in terminal unit After breath and second edition information, terminal unit is according to the mark of application program to be upgraded, the corresponding application program of AKU In mark, version server, the AKU corresponding second edition information of configuration and first version information, determine the peace of AKU Quan Xing.Optionally, if the mark of application program to be upgraded is identical with the mark of the corresponding application program of AKU, and first version Information is identical with second edition information, then can determine that AKU is safety upgrade bag;If or the mark of application program to be upgraded Differ with the mark of the corresponding application program of AKU, or first version information and second edition information differ, then may be used To determine AKU for hidden danger AKU, hidden danger AKU represents that this AKU has potential safety hazard.Certainly, in practical application mistake According to alternate manner, Cheng Zhong, can also determine whether AKU is safety upgrade bag, the present invention is not especially limited to this.
When terminal unit determines that AKU is safety upgrade bag, then upgrade applications are treated according to AKU and risen Level, when terminal unit determines that AKU is hidden danger AKU, terminal unit can send version letter to described version server Breath abnormal prompt information, to point out the described AKU in described version server to there is potential safety hazard.Optionally, this exception carries Show and the mark of application program to be upgraded and the mark of AKU in information, can be included.
Version upgrading method provided in an embodiment of the present invention, obtains application program to be upgraded in terminal unit download corresponding After AKU, terminal unit parses to AKU, to obtain the mark of the corresponding application program of AKU in AKU Know and AKU corresponding first version information, and the corresponding application program of the mark according to application program to be upgraded, AKU Mark, the AKU corresponding second edition information of configuration and first version information in version server, determine AKU Safety;When determining that AKU is safety upgrade bag, upgrade applications are treated according to AKU and is upgraded.In above-mentioned mistake Cheng Zhong, the mark of the corresponding application program of the AKU acquiring in AKU and first version information are AKU Actual information, by verifying to the actual information of AKU, can accurately determine whether AKU is safe, and When to determine AKU be safety upgrade bag, treat upgrade applications further according to AKU and upgraded, and then improve to application The safety that program is upgraded.
On the basis of embodiment illustrated in fig. 2, optionally, AKU can be determined by implementation feasible as follows Safety (S203 in embodiment illustrated in fig. 2), specifically, embodiment shown in Figure 3.
The schematic flow sheet one of the determination AKU security method menu that Fig. 3 provides for the present invention, refers to Fig. 3, the method Can include:
S301, judge the mark of application program to be upgraded and the corresponding application program of AKU identify whether identical;
If it is not, then executing S302;
If so, then execute S303;
S302, determine that AKU is hidden danger AKU;
S303, judge whether first version information is identical with second edition information;
If so, then execute S304;
If it is not, then executing S302;
S304, determine that AKU is safety upgrade bag.
In the embodiment shown in fig. 3, mark, the AKU correspondence of application program to be upgraded is acquired in terminal unit The mark of application program, after first version information and second edition information, terminal unit first judges application program to be upgraded Mark and the corresponding application program of AKU identify whether identical.
If the mark of the mark of application program to be upgraded and the corresponding application program of AKU differs, this upgrading is described Bag is not the corresponding AKU of application program to be upgraded, if upgrade applications are treated according to this AKU being upgraded, can Can lead to upgrade unsuccessful, or application program updating to be upgraded is become other types of application program;In that case, Then determine that AKU is hidden danger AKU, and no longer judge whether first version information is identical with second edition information.
If the mark of application program to be upgraded is identical with the mark of the corresponding application program of AKU, this AKU is described It is the corresponding AKU of application program to be upgraded.In actual application, because user joins generally according in version server The second edition information put, judges whether to need the application program in terminal unit to be upgraded, in order to determine AKU The version information (second edition information) of true version information (first version information) and user's needs is consistent, then sentence further Whether disconnected first version information is identical with second edition information;True version information (the first edition of AKU, if identical, is described This information) with user need version information (second edition information) identical it is determined that AKU be safety upgrade bag, if not phase With it is determined that AKU is hidden danger AKU, optionally, this corresponding version of hidden danger AKU may be than treating in terminal unit The version of upgrade applications is low.
In above process, the mark of the corresponding application program of mark and AKU by judging application program to be upgraded Whether identical, can accurately determine whether AKU is the corresponding AKU of application program to be upgraded;By judging the first edition Whether this information is identical with second edition information, can accurately determine whether AKU is the AKU that user needs;This Sample, can accurately determine the safety obtaining AKU.
On the basis of embodiment illustrated in fig. 3, the second edition information due to configuration in version server may be wrong, is Avoid the wrong error in judgement leading to the safety to AKU of second edition information, judge first version information and second When version information differs, by the embodiment shown in Fig. 4, the safety of AKU can be confirmed, specifically, please join Embodiment as shown in Figure 4.
The schematic flow sheet two of the determination AKU security method menu that Fig. 4 provides for the present invention, in embodiment illustrated in fig. 3 On the basis of, refer to Fig. 4, the method can include:
S401, judge the mark of application program to be upgraded and the corresponding application program of AKU identify whether identical;
If it is not, then executing S402;
If so, then execute S403;
S402, determine that AKU is hidden danger AKU;
S403, judge whether first version information is identical with second edition information;
If so, then execute S404;
If it is not, then executing S405;
S404, determine that AKU is safety upgrade bag;
S405, this information of the third edition of acquisition application program to be upgraded;
S406, according to first version information and this information of the third edition, judge the corresponding version of AKU whether higher than waiting to rise The corresponding version of level application;
If so, then execute S404;
If it is not, then executing S402.
It should be noted that the implementation procedure of S401-S402 may refer to the S301-S302 shown in Fig. 3 embodiment, No longer repeated herein.
In S403, when judging that first version information is identical with second edition information it is determined that AKU rises for safety Level bag;When judging first version information and second edition information differs, then obtain the third edition of application program to be upgraded originally Information, and according to first version information and this information of the third edition, judge whether the corresponding version of AKU is higher than application to be upgraded The corresponding version of program.
If the corresponding version of AKU is higher than the corresponding version of application program to be upgraded, illustrate that operation maintenance personnel may be by version Second edition information configuration mistake in book server, accordingly it may be determined that AKU is safety upgrade bag;If AKU pair The version answered is less than or equal to the corresponding version of application program to be upgraded, then explanation operation maintenance personnel may be by wrong AKU Reach version server it is determined that AKU is hidden danger AKU.
In above process, when determining that first version information is different with second edition information, further according to be upgraded This information of the third edition of application program and first version information, the further safety determining AKU, and then limited avoid Because the second edition information of configuration in version server is wrong, and the error in judgement of the safety to AKU leading to Problem, further increases the safety that application program is upgraded.
Below, by specific example, the version upgrading method shown in said method embodiment is described in detail.
Exemplary it is assumed that being provided with application program 1 in terminal unit, and the application program 1 installed in terminal unit Version is V2.0 version, the entitled abc of bag of application program 1.
Assume again that research staff have developed highest version V3.0 of application program 1, operation maintenance personnel is by corresponding for highest version liter Level is wrapped and is reached version server, and is configuring the corresponding version information of this AKU in version server it is assumed that O&M people During member's configuration version information in version server, version information is mismatched and is set to V3.1.
In actual application, there is the corresponding high version of application program 1 in version server when terminal unit detects During this AKU (V3.1), terminal unit generates information, to point out user that application program 1 is upgraded.Assume user According to information, determine and application program 1 upgrading is become highest version (V3.1), the terminal unit then correlation according to user input Operation, downloads AKU in version server.
After terminal unit downloads AKU, terminal unit parses to AKU, is risen with obtaining in AKU The bag name (abc) of level bag and the corresponding version information of AKU (V3.0).
Terminal unit judges that the bag name of AKU is identical with the bag name of application program in terminal unit 1, then this upgrading is described Wrap as the corresponding AKU of application program 1.Terminal unit also judges the corresponding version information of AKU (V3.0) and versioning service In device, whether the version information (V3.1) of the AKU of configuration is identical, due to the corresponding version information of AKU (V3.0) and version In server, the version information (V3.1) of the AKU of configuration is different, and terminal unit obtains the application journey in terminal unit further The version information (V2.0) of sequence 1, and judge the version higher than application program 1 in terminal unit for the version (V3.0) of AKU (V2.0) it is determined that AKU is safety upgrade bag, and according to this AKU, the application program in terminal unit is upgraded, To realize the edition upgrading of application program in terminal unit 1 as version V3.0.
The structural representation one of the terminal unit that Fig. 5 provides for the present invention, refers to Fig. 5, and this terminal unit can include:
Download module 501, for downloading the corresponding AKU of application program to be upgraded in version server;
Acquisition module 502, for obtaining mark and the institute of the corresponding application program of described AKU in described AKU State AKU corresponding first version information, described version server obtains described AKU corresponding second edition letter Breath;
Determining module 503, for according to the mark of described application program to be upgraded, the corresponding application program of described AKU Mark, described first version information and described second edition information, determine the safety of described AKU;
Upgraded module 504, for when determining that described AKU is safety upgrade bag, treating to described according to described AKU Upgrade applications are upgraded.
Terminal unit provided in an embodiment of the present invention can execute the technical scheme shown in said method embodiment, its realization Principle and beneficial effect are similar to, and are no longer repeated herein.
The structural representation two of the terminal unit that Fig. 6 provides for the present invention, on the basis of embodiment illustrated in fig. 5, please join See Fig. 6, described acquisition module 502 includes acquiring unit 5021 and determining unit 5022, wherein,
Described acquiring unit 5021 is used for, and obtains the bag name of described AKU;
Described determining unit 5022 is used for, and according to the bag name of described AKU, determines described AKU corresponding application journey The mark of sequence.
In a kind of possible embodiment, described acquiring unit 5021 specifically for:
Described AKU is parsed, obtains the signing messages that described AKU includes;
The bag name of described AKU is obtained in described signing messages.
In alternatively possible embodiment, described determining module 503 specifically for:
Judge the mark of described application program to be upgraded and the corresponding application program of described AKU identify whether identical;
If not it is determined that described AKU is hidden danger AKU;
If so, then judge whether described first version information is identical with described second edition information;If it is determined that described AKU is safety upgrade bag.
In alternatively possible embodiment, described determining module 503 is additionally operable to:
When described determining module judges described first version information and described second edition information differs, obtain described This information of the third edition of application program to be upgraded;
According to described first version information and described this information of the third edition, judge whether the corresponding version of described AKU is high In the corresponding version of described application program to be upgraded;
If it is determined that described AKU is safety upgrade bag;
If not it is determined that described AKU is hidden danger AKU.
In alternatively possible embodiment, described terminal unit also includes sending module 505, wherein,
Described sending module 505 is used for, when described determining module 503 determines that described AKU is risk AKU, to Described version server sends version information abnormal prompt information, to point out the described AKU in described version server to exist Potential safety hazard.
Terminal unit provided in an embodiment of the present invention can execute the technical scheme shown in said method embodiment, its realization Principle and beneficial effect are similar to, and are no longer repeated herein.
One of ordinary skill in the art will appreciate that:The all or part of step realizing above-mentioned each method embodiment can be led to Cross the related hardware of programmed instruction to complete.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, executes the step including above-mentioned each method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above only in order to technical scheme to be described, is not intended to limit;To the greatest extent Pipe has been described in detail to the present invention with reference to foregoing embodiments, it will be understood by those within the art that:Its according to So the technical scheme described in foregoing embodiments can be modified, or wherein some or all of technical characteristic is entered Row equivalent;And these modifications or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a kind of version upgrading method is it is characterised in that include:
The corresponding AKU of application program to be upgraded is downloaded in version server;
Mark and the corresponding first edition of described AKU of the corresponding application program of described AKU is obtained in described AKU This information, obtains described AKU corresponding second edition information in described version server;
According to the mark of described application program to be upgraded, the mark of the corresponding application program of described AKU, described first version Information and described second edition information, determine the safety of described AKU;
When determining that described AKU is safety upgrade bag, according to described AKU, described application program to be upgraded is risen Level.
2. method according to claim 1 is it is characterised in that described obtain described AKU correspondence in described AKU Application program mark, including:
Obtain the bag name of described AKU;
According to the bag name of described AKU, determine the mark of the corresponding application program of described AKU.
3. method according to claim 2 is it is characterised in that the bag name of the described AKU of described acquisition, including:
Described AKU is parsed, obtains the signing messages that described AKU includes;
The bag name of described AKU is obtained in described signing messages.
4. the method according to any one of claim 1-3 is it is characterised in that mark according to described application program to be upgraded Knowledge, the mark of the corresponding application program of described AKU, described first version information and described second edition information, determine institute State the safety of AKU, including:
Judge the mark of described application program to be upgraded and the corresponding application program of described AKU identify whether identical;
If not it is determined that described AKU is hidden danger AKU;
If so, then judge whether described first version information is identical with described second edition information;If it is determined that described upgrading Wrap as safety upgrade bag.
If 5. method according to claim 4 is it is characterised in that judge described first version information and the described second edition Information differs, and methods described also includes:
Obtain this information of the third edition of described application program to be upgraded;
According to described first version information and described this information of the third edition, judge whether the corresponding version of described AKU is higher than institute State the corresponding version of application program to be upgraded;
If it is determined that described AKU is safety upgrade bag;
If not it is determined that described AKU is hidden danger AKU.
6. the method according to any one of claim 1-3 is it is characterised in that if it is determined that described AKU is upgraded for risk Bag, methods described also includes:
Send version information abnormal prompt information to described version server, to point out the described upgrading in described version server There is potential safety hazard in bag.
7. a kind of terminal unit is it is characterised in that include:
Download module, for downloading the corresponding AKU of application program to be upgraded in version server;
Acquisition module, for obtaining the mark of the corresponding application program of described AKU and described AKU in described AKU Corresponding first version information, obtains described AKU corresponding second edition information in described version server;
Determining module, for according to the mark of described application program to be upgraded, the mark of the corresponding application program of described AKU, Described first version information and described second edition information, determine the safety of described AKU;
Upgraded module, for determine described AKU be safety upgrade bag when, according to described AKU to described to be upgraded should Upgraded with program.
8. terminal unit according to claim 7 is it is characterised in that described acquisition module includes acquiring unit and determines single Unit, wherein,
Described acquiring unit is used for, and obtains the bag name of described AKU;
Described determining unit is used for, and according to the bag name of described AKU, determines the mark of the corresponding application program of described AKU.
9. terminal unit according to claim 8 it is characterised in that described acquiring unit specifically for:
Described AKU is parsed, obtains the signing messages that described AKU includes;
The bag name of described AKU is obtained in described signing messages.
10. the terminal unit according to any one of claim 7-9 it is characterised in that described determining module specifically for:
Judge the mark of described application program to be upgraded and the corresponding application program of described AKU identify whether identical;
If not it is determined that described AKU is hidden danger AKU;
If so, then judge whether described first version information is identical with described second edition information;If it is determined that described upgrading Wrap as safety upgrade bag.
CN201610882888.5A 2016-10-10 2016-10-10 Version upgrading method and terminal unit Pending CN106485153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610882888.5A CN106485153A (en) 2016-10-10 2016-10-10 Version upgrading method and terminal unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610882888.5A CN106485153A (en) 2016-10-10 2016-10-10 Version upgrading method and terminal unit

Publications (1)

Publication Number Publication Date
CN106485153A true CN106485153A (en) 2017-03-08

Family

ID=58270656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610882888.5A Pending CN106485153A (en) 2016-10-10 2016-10-10 Version upgrading method and terminal unit

Country Status (1)

Country Link
CN (1) CN106485153A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315602A (en) * 2017-05-12 2017-11-03 广东网金控股股份有限公司 The upgrade method and terminal of a kind of application program
CN110134419A (en) * 2019-05-20 2019-08-16 深圳市丰巢科技有限公司 A kind of method for upgrading system, device, equipment and the storage medium of two-sided cabinet
CN110287087A (en) * 2018-03-19 2019-09-27 百度在线网络技术(北京)有限公司 Method and apparatus for detecting application
CN110597536A (en) * 2019-08-28 2019-12-20 深圳市优必选科技股份有限公司 Software upgrading method, system and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1085454A2 (en) * 1999-09-14 2001-03-21 Fujitsu Limited Personal authentication system using biometrics information
CN102314355A (en) * 2010-07-08 2012-01-11 上海易狄欧电子科技有限公司 E-book reader and upgrade method thereof
CN103679029A (en) * 2013-12-11 2014-03-26 北京奇虎科技有限公司 Method and device for repairing cheap-copy application programs
CN104702631A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Method and system for upgrading client software
CN105468393A (en) * 2014-09-10 2016-04-06 启碁科技股份有限公司 Module version upgrading method and terminal apparatus
CN105590061A (en) * 2014-12-17 2016-05-18 中国银联股份有限公司 Updating method of safety operation system for credible execution environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1085454A2 (en) * 1999-09-14 2001-03-21 Fujitsu Limited Personal authentication system using biometrics information
CN102314355A (en) * 2010-07-08 2012-01-11 上海易狄欧电子科技有限公司 E-book reader and upgrade method thereof
CN104702631A (en) * 2013-12-04 2015-06-10 航天信息股份有限公司 Method and system for upgrading client software
CN103679029A (en) * 2013-12-11 2014-03-26 北京奇虎科技有限公司 Method and device for repairing cheap-copy application programs
CN105468393A (en) * 2014-09-10 2016-04-06 启碁科技股份有限公司 Module version upgrading method and terminal apparatus
CN105590061A (en) * 2014-12-17 2016-05-18 中国银联股份有限公司 Updating method of safety operation system for credible execution environment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315602A (en) * 2017-05-12 2017-11-03 广东网金控股股份有限公司 The upgrade method and terminal of a kind of application program
CN107315602B (en) * 2017-05-12 2021-02-12 广东网金控股股份有限公司 Application program upgrading method and terminal
CN110287087A (en) * 2018-03-19 2019-09-27 百度在线网络技术(北京)有限公司 Method and apparatus for detecting application
CN110134419A (en) * 2019-05-20 2019-08-16 深圳市丰巢科技有限公司 A kind of method for upgrading system, device, equipment and the storage medium of two-sided cabinet
CN110134419B (en) * 2019-05-20 2023-03-21 深圳市丰巢科技有限公司 System upgrading method, device, equipment and storage medium for double-sided cabinet
CN110597536A (en) * 2019-08-28 2019-12-20 深圳市优必选科技股份有限公司 Software upgrading method, system and terminal equipment

Similar Documents

Publication Publication Date Title
CN106485153A (en) Version upgrading method and terminal unit
CN103729597B (en) System starts method of calibration, system starts calibration equipment and terminal
CN103188668A (en) Security protection method and security protection system for mobile terminal application
CN105303112B (en) The detection method and device of component call loophole
CN109165170B (en) Method and system for automatic request test
JP2015092374A5 (en)
CN106294102A (en) The method of testing of application program, client, server and system
CN106598835A (en) Application testing method, device and system
CN107832065A (en) Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing
CN109388535A (en) A kind of storing performance testing method, device and application server
CN103177210A (en) Method of implanting dynamic stain analysis module in Android
CN105224869A (en) Assembly test method and device
CN104036194B (en) Vulnerability detection method and device for revealing private data in application program
CN107632901A (en) A kind of self-repair method and device of application program operation exception
CN109284147A (en) A kind of plug-in unit adaptation method and device
CN105530130A (en) Method and device for upgrading Over-The-Air downloading technology
CN105786636B (en) A kind of system repair and device
CN108287789A (en) Batch-automated test method, device and electronic equipment
US20160014123A1 (en) Apparatus and method for verifying integrity of applications
CN104036193B (en) Local cross-domain vulnerability detection method and device for application program
CN109150852A (en) A kind of account number safe login method, apparatus and system
CN108958785A (en) A kind of application program updating method and device
CN109918287A (en) APP upgrading test method, apparatus, computer equipment and storage medium
KR101792864B1 (en) System and Method for verifying application
CN106357684A (en) Login method and device of game application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170308