CN103268239B - The management method of application program, device and mobile terminal in mobile terminal - Google Patents

The management method of application program, device and mobile terminal in mobile terminal Download PDF

Info

Publication number
CN103268239B
CN103268239B CN201310180055.0A CN201310180055A CN103268239B CN 103268239 B CN103268239 B CN 103268239B CN 201310180055 A CN201310180055 A CN 201310180055A CN 103268239 B CN103268239 B CN 103268239B
Authority
CN
China
Prior art keywords
application program
mobile terminal
digital signature
operation log
record
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310180055.0A
Other languages
Chinese (zh)
Other versions
CN103268239A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201310180055.0A priority Critical patent/CN103268239B/en
Publication of CN103268239A publication Critical patent/CN103268239A/en
Application granted granted Critical
Publication of CN103268239B publication Critical patent/CN103268239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention proposes the management method of application program in a kind of mobile terminal, device and mobile terminal, wherein the method comprises the following steps: user uses the Operation Log of mobile terminal to upload onto the server by mobile terminal, wherein, Operation Log comprises the record that user uses application program in mobile terminal; Mobile terminal sends factory reset request to server, and according to the Operation Log in factory reset acquisition request server; And the recovery that mobile terminal carries out application program according to the Operation Log obtained is installed.According to embodiment of the present invention method, the storage space of mobile terminal can be saved on the one hand, mobile terminal can be deleted when carrying out Default Value and recovering according to the Operation Log of user or replace the uninterested application program of user on the other hand, thus make the hobby that in the ROM issued, integrated application program is more close to the users, improve Consumer's Experience.

Description

The management method of application program, device and mobile terminal in mobile terminal
Technical field
The present invention relates to mobile device manufacturing technology field, particularly relate to the management method of application program in a kind of mobile terminal, device and mobile terminal.
Background technology
At present, supplier can in the read-only memory block ROM of mobile terminal (such as mobile phone, panel computer etc.) integrated a lot of application program, when user's first time use mobile terminal or factory reset, in mobile terminal, integration application in a lot of ROM can be loaded onto in advance.
Current Problems existing is, because these application programs have directly been preloaded onto system diagram as in systemimage by mobile terminal, therefore for the uninterested application program of user, user can not delete or manually upgrade the application program of prepackage.Although some ROM can allow user delete the application program of prepackage, but after mobile terminal downloads OTA upgrading in the air, these application programs have been loaded onto again in advance, these application programs pre-installed of deletion of repetition, active are all needed after each OTA upgrading of user, thus cause that user can only be passive, the unconditional application program selecting to accept prepackage, and these application programs occupy a large amount of mobile terminal internal memories, the non-constant of Consumer's Experience.
Summary of the invention
The present invention is intended at least one of solve the problems of the technologies described above.
For this reason, first object of the present invention is the management method proposing application program in a kind of mobile terminal.The method can be deleted when carrying out Default Value and recovering according to the Operation Log of user or replace the uninterested application program of user, thus makes the hobby that in the ROM issued, integrated application program is more close to the users, and improves Consumer's Experience.
Second object of the present invention is the management devices proposing application program in a kind of mobile terminal.
3rd object of the present invention is to propose a kind of mobile terminal.
To achieve these goals, in the mobile terminal of first aspect present invention embodiment, the management method of application program comprises the following steps: user uses the Operation Log of described mobile terminal to upload onto the server by mobile terminal, wherein, described Operation Log comprises the record that described user uses application program in described mobile terminal; Described mobile terminal sends factory reset request to described server, and the described Operation Log in server according to described factory reset acquisition request; And the recovery that described mobile terminal carries out described application program according to the described Operation Log obtained is installed.
According to the management method of application program in the mobile terminal of the embodiment of the present invention, mobile terminal sends factory reset request to server, and according to the Operation Log that factory reset acquisition request mobile terminal uploads onto the server, and the recovery installation of application program is carried out according to Operation Log, the storage space of mobile terminal can be saved on the one hand, mobile terminal can be deleted when carrying out Default Value and recovering according to the Operation Log of user or replace the uninterested application program of user on the other hand, thus make the hobby that in the ROM issued, integrated application program is more close to the users, improve Consumer's Experience.
To achieve these goals, the management devices of application program in the mobile terminal of second aspect present invention embodiment, comprise: upper transmission module, upload onto the server for user being used the Operation Log of described mobile terminal, wherein, described Operation Log comprises the record that described user uses application program in described mobile terminal; Sending module, for sending factory reset request to described server; First acquisition module, for the described Operation Log in server according to described factory reset acquisition request; And recovery module, install for the recovery carrying out described application program according to the described Operation Log obtained.
According to the management devices of application program in the mobile terminal of the embodiment of the present invention, mobile terminal sends factory reset request to server, and according to the Operation Log that factory reset acquisition request mobile terminal uploads onto the server, and the recovery installation of application program is carried out according to Operation Log, the storage space of mobile terminal can be saved on the one hand, mobile terminal can be deleted when carrying out Default Value and recovering according to the Operation Log of user or replace the uninterested application program of user on the other hand, thus make the hobby that in the ROM issued, integrated application program is more close to the users, improve Consumer's Experience.
To achieve these goals, the mobile terminal of third aspect present invention embodiment, comprises the management devices of application program in the mobile terminal described in second aspect present invention embodiment.
According to the mobile terminal of the embodiment of the present invention, send factory reset request to server, and according to the Operation Log that factory reset acquisition request mobile terminal uploads onto the server, and the recovery installation of application program is carried out according to Operation Log, the storage space of mobile terminal can be saved on the one hand, mobile terminal can be deleted when carrying out Default Value and recovering according to the Operation Log of user or replace the uninterested application program of user on the other hand, thus make the hobby that in the ROM issued, integrated application program is more close to the users, improve Consumer's Experience.
The aspect that the present invention adds and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein,
Fig. 1 is the process flow diagram of the management method of application program in mobile terminal according to an embodiment of the invention;
Fig. 2 is the process flow diagram of the management method of application program in the mobile terminal according to the present invention's specific embodiment;
Fig. 3 is the structural representation of the management devices of application program in mobile terminal according to an embodiment of the invention;
Fig. 4 is the structural representation of the management devices of application program in the mobile terminal according to the present invention's specific embodiment;
Fig. 5 is the structural representation of the management devices of application program in the mobile terminal according to another specific embodiment of the present invention; And
Fig. 6 is the structural representation of the management devices of application program in the mobile terminal according to another specific embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.On the contrary, embodiments of the invention comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
In describing the invention, it is to be appreciated that term " first ", " second " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.In describing the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, such as, can be fixedly connected with, also can be removably connect, or connect integratedly; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary.For the ordinary skill in the art, concrete condition above-mentioned term concrete meaning in the present invention can be understood.In addition, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in process flow diagram or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
Below with reference to the accompanying drawings the management method of application program in the mobile terminal according to the embodiment of the present invention, device and mobile terminal are described.
At present, supplier can in the read-only memory block ROM of mobile terminal integrated a lot of application program, if mobile terminal is manually deleted by operation log recording user and is upgraded the behavior of application program, make the supplier of official when issuing redaction or upgrade ROM next time, which application program integrated is determined according to Operation Log, make the use good opinion that the application program in ROM is close to the users more, promote Consumer's Experience.For this reason, the present invention proposes the management method of application program in a kind of mobile terminal, comprise the following steps: user uses the Operation Log of mobile terminal to upload onto the server by mobile terminal, wherein, Operation Log comprises the record that user uses application program in mobile terminal; Mobile terminal sends factory reset request to server, and according to the Operation Log in factory reset acquisition request server; And the recovery that mobile terminal carries out application program according to the Operation Log obtained is installed.
Fig. 1 is the process flow diagram of the management method of application program in mobile terminal according to an embodiment of the invention.
As shown in Figure 1, in mobile terminal, the management method of application program comprises:
S101, user uses the Operation Log of mobile terminal to upload onto the server by mobile terminal, and wherein, Operation Log comprises the record that user uses application program in mobile terminal.
Particularly, first, mobile terminal sets up " third_app " catalogue under "/system/ " catalogue of mobile terminal, and under user being wanted the application program of installing to be placed on " third_app " catalogue.If user's first time is by mobile terminal factory reset, or settings all before removing user after factory reset, namely user removes the content of " userdata " subregion in mobile terminal, all application programs under "/system/third_app " catalogue can be performed " pminstall – r-i " order by mobile terminal, to make mobile terminal by under all application programs are installed to "/data/app/ " catalogue under " third_app " catalogue.Thus, user can according to the hobby of oneself, selectively oneself uninterested application program under deletion "/data/app/ " catalogue.
Then, mobile terminal records user is for the behavioural information of the application program of installing.Wherein, behavioural information can comprise user delete " third_app " catalogue under certain application program, user delete certain application program under " third_app " catalogue, but the new opplication program etc. do not had under having installed certain " third_app " catalogue of the different application program of signature and user installation.Operation Log uploads onto the server by mobile terminal, and thus, server can by analyzing the Operation Log of a large number of users thus determining which application program of prepackage next time.
S102, mobile terminal sends factory reset request to server, and according to the Operation Log in factory reset acquisition request server.
Particularly, after the factory reset request that server mobile terminal receive sends, can according to the IMEI (InternationalMobileEquipmentIdentity of mobile terminal, International Mobile Equipment Identity code) find corresponding Operation Log, and this Operation Log is sent to mobile terminal.
S103, the recovery that mobile terminal carries out application program according to the Operation Log obtained is installed.
In one embodiment of the invention, mobile terminal obtains the installation record of application program according to Operation Log, and compare installing record with the application program in read-only memory block ROM, and carry out the recovery installation of application program according to compare of analysis result.
In one embodiment of the invention, if mobile terminal judges that the digital signature of installing application program corresponding to record is consistent with the digital signature of application program in ROM, then install according to the application program in ROM, if the digital signature that application program in the digital signature and ROM recording corresponding application program is installed in mobile terminal judgement is inconsistent, or judge that the application program of installing record corresponding does not exist in ROM, then mobile terminal again down load application program install.
Particularly, mobile terminal can obtain from the behavioural information of operation log recording installs record, such as, if there is the behavioural information of certain application program of user installation in Operation Log, then the title, set-up time, version number, digital signature etc. that record this application program in record are installed; If delete this application program after user, then the information of deleting the correspondence of this application program in record is installed; If user have updated the version of this application program, namely the redaction of this application program is installed, has then installed in record and record the information of redaction application program, with the information of version application program before replacing renewal.
More specifically, mobile terminal will install the digital signature of each application program in recording, and compare, namely contrast with the digital signature of application program under " third_app " catalogue with the digital signature of application program in ROM.If mobile terminal judges that the digital signature of installing application program in record is consistent with the digital signature of application program under " third_app " catalogue, then mobile terminal performs and installs this application program; If mobile terminal judges that the digital signature of installing application program in record is inconsistent with the digital signature of application program under " third_app " catalogue, namely digital signature there occurs change, then mobile terminal downloads corresponding application program according to new digital signature, then the application program before corresponding under this application program being replaced " third_app " catalogue, then installs newly downloaded application program; If under mobile terminal judges that the digital signature of application program in installation record does not exist " third_app " catalogue, then mobile terminal is downloaded this application program from such as application market and is installed.
According to the management method of application program in the mobile terminal of the embodiment of the present invention, mobile terminal sends factory reset request to server, and according to the Operation Log that factory reset acquisition request mobile terminal uploads onto the server, and the recovery installation of application program is carried out according to Operation Log, the storage space of mobile terminal can be saved on the one hand, mobile terminal can be deleted when carrying out Default Value and recovering according to the Operation Log of user or replace the uninterested application program of user on the other hand, thus make the hobby that in the ROM issued, integrated application program is more close to the users, improve Consumer's Experience.
Fig. 2 is the process flow diagram of the management method of application program in the mobile terminal according to the present invention's specific embodiment.
When mobile terminal carries out OTA upgrading, by judging whether user had deleted this application program, or manually whether user this application program updated, thus make no longer to install the application program that user deleted in previous rom version during mobile terminal OTA next time upgrading, or the application program of user's manually replacement in previous release.More specifically, as shown in Figure 2, in mobile terminal, the management method of application program comprises:
S201, user uses the Operation Log of mobile terminal to upload onto the server by mobile terminal, and wherein, Operation Log comprises the record that user uses application program in mobile terminal.
Particularly, first, mobile terminal sets up " third_app " catalogue under "/system/ " catalogue of mobile terminal, and under user being wanted the application program of installing to be placed on " third_app " catalogue.If user's first time is by mobile terminal factory reset, or settings all before removing user after factory reset, namely user removes the content of " userdata " subregion in mobile terminal, all application programs under "/system/third_app " catalogue can be performed " pminstall – r-i " order by mobile terminal, to make mobile terminal by under all application programs are installed to "/data/app/ " catalogue under " third_app " catalogue.Thus, user can according to the hobby of oneself, selectively oneself uninterested application program under deletion "/data/app/ " catalogue.
Then, mobile terminal creates an Operation Log in the terminal, and in Operation Log recording user to the behavioural information of application program under " third_app " catalogue.Wherein, behavioural information can comprise user delete " third_app " catalogue under certain application program, user delete certain application program under " third_app " catalogue, but the new opplication program etc. do not had under having installed certain " third_app " catalogue of the different application program of signature and user installation.Operation Log uploads onto the server by mobile terminal, and thus, server can by analyzing the Operation Log of a large number of users thus determining which application program of prepackage next time.
S202, mobile terminal sends factory reset request to server, and according to the Operation Log in factory reset acquisition request server.
Particularly, after the factory reset request that server mobile terminal receive sends, can according to the IMEI (InternationalMobileEquipmentIdentity of mobile terminal, International Mobile Equipment Identity code) find corresponding Operation Log, and this Operation Log is sent to mobile terminal.
S203, the recovery that mobile terminal carries out application program according to the Operation Log obtained is installed.
In one embodiment of the invention, mobile terminal obtains the installation record of application program according to Operation Log, and compare installing record with the application program in read-only memory block ROM, and carry out the recovery installation of application program according to compare of analysis result.
In one embodiment of the invention, if mobile terminal judges that the digital signature of installing application program corresponding to record is consistent with the digital signature of application program in ROM, then install according to the application program in ROM, if the digital signature that application program in the digital signature and ROM recording corresponding application program is installed in mobile terminal judgement is inconsistent, or judge that the application program of installing record corresponding does not exist in ROM, then mobile terminal again down load application program install.
Particularly, mobile terminal can obtain from the behavioural information of operation log recording installs record, such as, if there is the behavioural information of certain application program of user installation in Operation Log, then the title, set-up time, version number, digital signature etc. that record this application program in record are installed; If delete this application program after user, then the information of deleting the correspondence of this application program in record is installed; If user have updated the version of this application program, namely the redaction of this application program is installed, has then installed in record and record the information of redaction application program, with the information of version application program before replacing renewal.
More specifically, mobile terminal will install the digital signature of each application program in recording, and compare, namely contrast with the digital signature of application program under " third_app " catalogue with the digital signature of application program in ROM.If mobile terminal judges that the digital signature of installing application program in record is consistent with the digital signature of application program under " third_app " catalogue, then mobile terminal performs and installs this application program; If the digital signature that mobile terminal judges to install application program under the digital signature of application program and third_app catalogue in record is inconsistent, namely digital signature there occurs change, then mobile terminal downloads corresponding application program according to new digital signature, then the application program before corresponding under this application program being replaced " third_app " catalogue, then installs newly downloaded application program; If under mobile terminal judges that the digital signature of application program in installation record does not exist " third_app " catalogue, then mobile terminal is downloaded this application program from such as application market and is installed.
S204, mobile terminal receives the aerial download OTA upgrade request of application program.
S205, mobile terminal obtains the digital signature of application program in user data area and the digital signature in system data area according to OTA upgrade request.
Particularly, mobile terminal can obtain the digital signature of all application programs under "/system/third_app " catalogue, namely in the digital signature of system data area, the digital signature of all application programs that user had installed in the terminal can also be obtained, namely in the digital signature of user data area.
S206, mobile terminal judges that whether the digital signature of user data area is consistent with the digital signature of system data area.
S207, if judge consistent, then mobile terminal upgrades application program according to OTA request.
S208, if inconsistent, then mobile terminal refusal upgrades application program.
Particularly, if the digital signature of the application program that user has installed is inconsistent with the digital signature of this application program under "/system/third_app " catalogue, illustrate that user substituted for the installation source of original application program in mobile terminal, then mobile terminal does not upgrade this application program.
According to the management method of application program in the mobile terminal of the embodiment of the present invention, mobile terminal obtains the digital signature of application program in user data area and the digital signature in system data area according to the OTA upgrade request received, and judge that whether the digital signature of user data area is consistent with the digital signature of system data area, not installing the application program of having deleted in the ROM of user at previous release when making mobile terminal OTA upgrade on the one hand, improve Consumer's Experience further.
In order to realize above-described embodiment, the present invention also proposes the management devices of application program in a kind of mobile terminal.
A management devices for application program in mobile terminal, comprising: upper transmission module, and for user being used the Operation Log of mobile terminal to upload onto the server, wherein, Operation Log comprises the record that user uses application program in mobile terminal; Sending module, for sending factory reset request to server; First acquisition module, for according to the Operation Log in factory reset acquisition request server; And recovery module, install for the recovery carrying out application program according to the Operation Log obtained.
Fig. 3 is the structural representation of the management devices of application program in mobile terminal according to an embodiment of the invention.
As shown in Figure 3, in mobile terminal, the management devices of application program comprises: upper transmission module 100, sending module 200, first acquisition module 300 and recovery module 400.
Particularly, upper transmission module 100 uploads onto the server for user being used the Operation Log of mobile terminal, and wherein, Operation Log comprises the record that user uses application program in mobile terminal.More specifically, first, mobile terminal sets up " third_app " catalogue under "/system/ " catalogue of mobile terminal, and under user being wanted the application program of installing to be placed on " third_app " catalogue, if user's first time is by mobile terminal factory reset, or settings all before removing user after factory reset, namely user removes the content of " userdata " subregion in mobile terminal, all application programs under "/system/third_app " catalogue can be performed " pminstall – r-i " order by mobile terminal, to make mobile terminal by under all application programs are installed to "/data/app/ " catalogue under " third_app " catalogue.Thus, user can according to the hobby of oneself, selectively oneself uninterested application program under deletion "/data/app/ " catalogue.
Then, mobile terminal records user is for the behavioural information of the application program of installing.Wherein, behavioural information can comprise user delete " third_app " catalogue under certain application program, user delete certain application program under " third_app " catalogue, but the new opplication program etc. do not had under having installed certain " third_app " catalogue of the different application program of signature and user installation.Operation Log uploads onto the server by upper transmission module 100, and thus, server can by analyzing the Operation Log of a large number of users thus determining which application program of prepackage next time.
Sending module 200 is for sending factory reset request to server.Particularly, after server receives the factory reset request of sending module 200 transmission, corresponding Operation Log can be found according to the IMEI of mobile terminal, and this Operation Log is sent to mobile terminal.
First acquisition module 300 is for the Operation Log in the factory reset acquisition request server that sends according to sending module 200.
Recover module 400 carries out application program recovery installation for the Operation Log obtained according to the first acquisition module 300.
According to the management devices of application program in the mobile terminal of the embodiment of the present invention, mobile terminal sends factory reset request to server, and according to the Operation Log that factory reset acquisition request mobile terminal uploads onto the server, and the recovery installation of application program is carried out according to Operation Log, the storage space of mobile terminal can be saved on the one hand, mobile terminal supplier can delete when carrying out Default Value and recovering according to the Operation Log of user or replace the uninterested application program of user on the other hand, thus make the hobby that in the ROM issued, integrated application program is more close to the users, improve Consumer's Experience.
Fig. 4 is the structural representation of the management devices of application program in the mobile terminal according to the present invention's specific embodiment.
As shown in Figure 4, in mobile terminal, the management devices of application program comprises: upper transmission module 100, sending module 200, first acquisition module 300, recovery module 400, acquiring unit 410, compare of analysis unit 420 and recovery unit 430, wherein, recover module 400 and comprise acquiring unit 410, compare of analysis unit 420 and recovery unit 430.
Particularly, acquiring unit 410 obtains the installation record of application program for the Operation Log obtained according to the first acquisition module 300.More specifically, acquiring unit 410 can obtain from the behavioural information of operation log recording installs record, such as, if there is the behavioural information of certain application program of user installation in Operation Log, then acquiring unit 410 is installing the title, set-up time, version number, digital signature etc. that record this application program in record; If delete this application program after user, then acquiring unit 410 is installing the information of deleting the correspondence of this application program in record; If user have updated the version of this application program, namely installed the redaction of this application program, then acquiring unit 410 records the information of redaction application program installing in record, with the information of version application program before replacing renewal.
Compare of analysis unit 420 compares for the application program in the installation record that obtained by acquiring unit 410 and read-only memory block ROM.More specifically, compare of analysis unit 420 will install the digital signature of each application program in recording, and compare, namely contrast with the digital signature of application program under " third_app " catalogue with the digital signature of application program in ROM.
The recovery that recovery unit 430 carries out application program for the compare of analysis result generated according to compare of analysis unit 420 is installed.
According to the management devices of application program in the mobile terminal of the embodiment of the present invention, mobile terminal obtains the installation record of application program according to Operation Log, and compare installing record with the application program in read-only memory block ROM, the recovery installation of application program can be carried out according to compare of analysis result
Fig. 5 is the structural representation of the management devices of application program in the mobile terminal according to another specific embodiment of the present invention.
As shown in Figure 5, in mobile terminal, the management devices of application program comprises: upper transmission module 100, sending module 200, first acquisition module 300, recovery module 400, acquiring unit 410, compare of analysis unit 420, recovery unit 430, installation subelement 431 and download and installation subelement 432, wherein, recover module 400 and comprise acquiring unit 410, compare of analysis unit 420 and recovery unit 430, recovery unit 430 comprises to be installed subelement 431 and downloads and install subelement 432.
Particularly, subelement 431 is installed for judging that at compare of analysis unit 420 digital signature of installing application program corresponding to record is with when the digital signature of application program is consistent in ROM, installs according to the application program in ROM.More specifically, if compare of analysis unit 420 judges that the digital signature of installing application program in record is consistent with the digital signature of application program under " third_app " catalogue, then subelement 431 execution is installed this application program is installed
Download with installation subelement 432 for judge at compare of analysis unit 420 to install record corresponding application program digital signature and ROM in the digital signature of application program inconsistent, or when judging that installing application program corresponding to record does not exist in ROM, down load application program is installed again.More specifically, if compare of analysis unit 420 judges that the digital signature of installing application program in record is inconsistent with the digital signature of application program under " third_app " catalogue, namely digital signature there occurs change, then download and download corresponding application program with installation subelement 432 according to new digital signature, then the application program before corresponding under this application program being replaced " third_app " catalogue, then installs newly downloaded application program; If under the digital signature of application program does not exist " third_app " catalogue in compare of analysis unit 420 judgement installation record, then download and download this application program from such as application market with installation subelement 432 and install.
According to the management devices of application program in the mobile terminal of the embodiment of the present invention, mobile terminal, by judging that whether the digital signature of installing application program corresponding to record is consistent with the digital signature of application program in ROM, can be selected to install corresponding application program or download and and install corresponding application program.
Fig. 6 is the structural representation of the management devices of application program in the mobile terminal according to another specific embodiment of the present invention.
As shown in Figure 6, in mobile terminal, the management devices of application program comprises: upper transmission module 100, sending module 200, first acquisition module 300, recover module 400, receiver module 500, second acquisition module 600, judge module 700, update module 800, stop module 900, acquiring unit 410, compare of analysis unit 420, recovery unit 430, subelement 431 is installed and downloads and subelement 432 is installed, wherein, recover module 400 and comprise acquiring unit 410, compare of analysis unit 420 and recovery unit 430, recovery unit 430 comprises to be installed subelement 431 and downloads and install subelement 432.
Particularly, receiver module 500 is for receiving the aerial download OTA upgrade request of application program.
Second acquisition module 600 obtains the digital signature of application program in user data area and the digital signature in system data area for the OTA upgrade request received according to receiver module 500.More specifically, second acquisition module 600 can obtain the digital signature of all application programs under "/system/third_app " catalogue, namely in the digital signature of system data area, the digital signature of all application programs that user had installed in the terminal can also be obtained, namely in the digital signature of user data area.
Whether judge module 700 is consistent with the digital signature of system data area for judging the digital signature of the user data area that the second acquisition module 600 obtains.
Update module 800, for when judge module 700 judges consistent, upgrades application program according to OTA request.
Stop module 900 for when judge module 700 judges inconsistent, refusal upgrades application program.Particularly, if the digital signature of the application program that user has installed is inconsistent with the digital signature of this application program under "/system/third_app " catalogue, illustrate that user substituted for the installation source of original application program in mobile terminal, then stop module 900 and do not upgrade this application program.
According to the management devices of application program in the mobile terminal of the embodiment of the present invention, mobile terminal obtains the digital signature of application program in user data area and the digital signature in system data area according to the OTA upgrade request received, and judge that whether the digital signature of user data area is consistent with the digital signature of system data area, not installing the application program of having deleted in the ROM of user at previous release when making mobile terminal OTA upgrade on the one hand, improve Consumer's Experience further.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal.
A kind of mobile terminal comprises the management devices of application program in the mobile terminal described in any one embodiment of the present invention.
According to the mobile terminal of the embodiment of the present invention, send factory reset request to server, and according to the Operation Log that factory reset acquisition request mobile terminal uploads onto the server, and the recovery installation of application program is carried out according to Operation Log, the storage space of mobile terminal can be saved on the one hand, mobile terminal can be deleted when carrying out Default Value and recovering according to the Operation Log of user or replace the uninterested application program of user on the other hand, thus make the hobby that in the ROM issued, integrated application program is more close to the users, improve Consumer's Experience.
Should be appreciated that in an embodiment of the present invention, mobile terminal can be the hardware device that mobile phone, panel computer, personal digital assistant, e-book etc. have various operating system.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.

Claims (5)

1. the management method of application program in mobile terminal, is characterized in that, comprise the following steps:
User uses the Operation Log of described mobile terminal to upload onto the server by mobile terminal, and wherein, described Operation Log comprises the record that described user uses application program in described mobile terminal;
Described mobile terminal sends factory reset request to described server, and the described Operation Log in server according to described factory reset acquisition request;
The recovery that described mobile terminal carries out described application program according to the described Operation Log obtained is installed;
Described mobile terminal receives the aerial download OTA upgrade request of described application program;
Described mobile terminal obtains the digital signature of described application program in user data area and the digital signature in system data area according to described OTA upgrade request;
Described mobile terminal judges that whether the digital signature of described user data area is consistent with the digital signature of described system data area;
If judge consistent, then described mobile terminal upgrades described application program according to described OTA request; And
If inconsistent, then described mobile terminal refusal upgrades described application program.
2. method according to claim 1, is characterized in that, the recovery that described mobile terminal carries out described application program according to the described Operation Log obtained is installed, and comprises further:
Described mobile terminal obtains the installation record of application program according to described Operation Log;
Described record of installing compares with the described application program in read-only memory block ROM by described mobile terminal; And
The recovery that described mobile terminal carries out described application program according to compare of analysis result is installed, wherein,
If described mobile terminal judges that the described digital signature recording corresponding described application program of installing is consistent with the digital signature of application program described in described ROM, then install according to the described application program in described ROM;
If described mobile terminal judge described described application program corresponding to record be installed digital signature and described ROM described in the digital signature of application program inconsistent, or judge that described described application program of installing record corresponding does not exist in described ROM, then described mobile terminal is again downloaded described application program and is installed.
3. the management devices of application program in mobile terminal, is characterized in that, comprising:
Upper transmission module, for user being used the Operation Log of described mobile terminal to upload onto the server, wherein, described Operation Log comprises the record that described user uses application program in described mobile terminal;
Sending module, for sending factory reset request to described server;
First acquisition module, for the described Operation Log in server according to described factory reset acquisition request;
Recover module, install for the recovery carrying out described application program according to the described Operation Log obtained;
Receiver module, for receiving the aerial download OTA upgrade request of described application program;
Second acquisition module, for obtaining the digital signature of described application program in user data area and the digital signature in system data area according to described OTA upgrade request;
Judge module, for judging that whether the digital signature of described user data area is consistent with the digital signature of described system data area;
Update module, for when described judge module judges consistent, upgrades described application program according to described OTA request; And
Stop module, for when described judge module judges inconsistent, refusal upgrades described application program.
4. device according to claim 3, is characterized in that, described recovery module comprises:
Acquiring unit, for obtaining the installation record of application program according to described Operation Log;
Compare of analysis unit, for comparing described record of installing with the described application program in read-only memory block ROM; And
Recovery unit, install for the recovery carrying out described application program according to compare of analysis result, wherein, described recovery unit comprises:
Subelement being installed, for when judging that the digital signature of the described application program that described installation record is corresponding is consistent with the digital signature of application program described in described ROM, installing according to the described application program in described ROM;
Download and subelement is installed, for judge described described application program corresponding to record be installed digital signature and described ROM described in the digital signature of application program inconsistent, or when judging that described described application program of installing record correspondence does not exist in described ROM, again download described application program and install.
5. a mobile terminal, is characterized in that, comprises the management devices of application program in the mobile terminal described in any one of claim 3-4.
CN201310180055.0A 2013-05-15 2013-05-15 The management method of application program, device and mobile terminal in mobile terminal Active CN103268239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310180055.0A CN103268239B (en) 2013-05-15 2013-05-15 The management method of application program, device and mobile terminal in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310180055.0A CN103268239B (en) 2013-05-15 2013-05-15 The management method of application program, device and mobile terminal in mobile terminal

Publications (2)

Publication Number Publication Date
CN103268239A CN103268239A (en) 2013-08-28
CN103268239B true CN103268239B (en) 2016-04-13

Family

ID=49011872

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310180055.0A Active CN103268239B (en) 2013-05-15 2013-05-15 The management method of application program, device and mobile terminal in mobile terminal

Country Status (1)

Country Link
CN (1) CN103268239B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634462B (en) * 2013-11-07 2017-04-12 小米科技有限责任公司 Method and device for recording and processing user activities and terminal
CN103699420B (en) * 2013-12-31 2017-01-04 海信集团有限公司 System recovery method and system recovery device
CN103823703B (en) * 2014-03-18 2017-06-20 福州瑞芯微电子股份有限公司 A kind of method and device of same firmware compatibility distinct device
CN104317608A (en) * 2014-09-30 2015-01-28 北京金山安全软件有限公司 Management method and device for pre-installed application program in mobile terminal and client
CN105404532A (en) * 2015-11-05 2016-03-16 广东欧珀移动通信有限公司 Rejuvenation method and apparatus for software in terminal device and terminal device
CN106303609B (en) * 2016-09-29 2019-09-17 聚好看科技股份有限公司 Television applications management method and management server
CN106569851B (en) * 2016-10-21 2020-10-02 海信视像科技股份有限公司 Application program processing method and device
CN108563553B (en) * 2018-04-20 2021-02-26 厦门市美亚柏科信息股份有限公司 Automatic excavation method and device for hidden communication tool

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131651A (en) * 2003-05-08 2008-02-27 富士通株式会社 Software composition recovery method and apparatus thereof and computer-readable storage medium
CN101753629A (en) * 2008-12-16 2010-06-23 深圳富泰宏精密工业有限公司 Mobile phone software synchronization system and method
CN103049287A (en) * 2012-12-10 2013-04-17 东莞宇龙通信科技有限公司 Mobile terminal and method for installing application programs of mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101131651A (en) * 2003-05-08 2008-02-27 富士通株式会社 Software composition recovery method and apparatus thereof and computer-readable storage medium
CN101753629A (en) * 2008-12-16 2010-06-23 深圳富泰宏精密工业有限公司 Mobile phone software synchronization system and method
CN103049287A (en) * 2012-12-10 2013-04-17 东莞宇龙通信科技有限公司 Mobile terminal and method for installing application programs of mobile terminal

Also Published As

Publication number Publication date
CN103268239A (en) 2013-08-28

Similar Documents

Publication Publication Date Title
CN103268239B (en) The management method of application program, device and mobile terminal in mobile terminal
CN103309694A (en) Application program updating method and device
CN104066077A (en) OTA downloading and upgrading method and device thereof
CN103699408A (en) Software updating method and equipment
CN103685495A (en) Method and system for upgrading software
CN103092665A (en) Immediate updating device and immediate updating method
CN103324507A (en) Method and apparatus for updating terminal preset application program
US10582383B2 (en) Method of managing a profile stored in a secure element, and corresponding secure element
CN104216719A (en) Method and device for updating android system
CN103973745B (en) A kind of method and device of mobile terminal operating system upgrading
CN106951284B (en) User interface upgrading method and device based on android system application and intelligent terminal
CN103677864A (en) Method for upgrading software and terminal
CN105530130A (en) Method and device for upgrading Over-The-Air downloading technology
CN105468395A (en) Updating method, device and system
CN103136027A (en) Immediate updating device and immediate updating method
WO2016041499A1 (en) Application downloading method and mobile terminal
CN103885802A (en) Driver installation method and device and client
CN103916846A (en) Terminal application updating method, system and device
CN110597545A (en) Hot patch intelligent upgrading method and system based on OTA component
CN104809011A (en) Application program management method
CN104133703A (en) Method and device for determining software not used frequently
US20170013440A1 (en) Subscription Management
CN104182532A (en) Terminal file cleaning method and device and terminal
CN107124713B (en) Customized updating method and mobile terminal
CN108874410B (en) Patch management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant