CN107506222A - A kind of application upgrade method, terminal and computer-readable recording medium - Google Patents

A kind of application upgrade method, terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107506222A
CN107506222A CN201710897173.1A CN201710897173A CN107506222A CN 107506222 A CN107506222 A CN 107506222A CN 201710897173 A CN201710897173 A CN 201710897173A CN 107506222 A CN107506222 A CN 107506222A
Authority
CN
China
Prior art keywords
application
upgrade
file
anything
installation package
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.)
Withdrawn
Application number
CN201710897173.1A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710897173.1A priority Critical patent/CN107506222A/en
Publication of CN107506222A publication Critical patent/CN107506222A/en
Withdrawn legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of application upgrade method, terminal and computer-readable recording medium, in the first application upgrade, detect whether the corresponding with the described first application second application be present, wherein, second application is the described first application of attending to anything else applied;If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, the described second application is upgraded according to the upgrade installation package of the described first application.Application upgrade method, terminal and computer-readable recording medium disclosed in the embodiment of the present invention, it is possible to achieve the automatic upgrading to application of attending to anything else, improve Consumer's Experience.

Description

A kind of application upgrade method, terminal and computer-readable recording medium
Technical field
The present invention relates to the application upgrade technology of electronic technology field, more particularly to a kind of application upgrade method, terminal and Computer-readable recording medium.
Background technology
With the continuous development of internet and electronic technology, application of the various mobile terminals in people live is got over Come more extensive.User can carry out related business by the application (APP, Application) of mobile terminal, such as entertain, Office etc..
In the prior art, an application is typically only capable to log in an account, when user needs to log in another account, it is necessary to Previous account is exited, i.e. an application can not log in multiple accounts simultaneously, by attending to anything else to application, it is possible to achieve simultaneously Log in multiple accounts.It is to use what the method for changing the installation of bag name to application was realized using attending to anything else, after application upgrade, can not realizes Synchronously to application upgrade of attending to anything else, therefore, attend to anything else using that cannot upgrade for a long time, so as to influence the use of user.
The content of the invention
In order to solve the above technical problems, the embodiment of the present invention provides a kind of application upgrade method, terminal and computer-readable Storage medium, it is possible to achieve the automatic upgrading to application of attending to anything else, improve Consumer's Experience.
The technical proposal of the invention is realized in this way:
On the one hand, the embodiment of the present invention provides a kind of application upgrade method, and methods described includes:
In the first application upgrade, detect whether that having corresponding with the described first application second applies, wherein, described the Two applications are the described first application of attending to anything else applied;
If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, according to described The upgrade installation package of first application upgrades to the described second application.
Further, the upgrade installation package according to the described first application upgrades to the described second application, including:
Obtain the first upgrade installation package of first application;
First upgrade installation package is handled, the second upgrade installation package is obtained, according to second update Bag upgrades to the described second application.
Further, it is described that first upgrade installation package is handled, the second upgrade installation package is obtained, including:
Decompression is carried out to first upgrade installation package, obtains the first file, wherein, the text of first file Entitled first filename of part;
Entitled second filename of the first file of first file is changed, obtains the second file, wherein, second text Entitled second filename of file of part;
Second file is compressed processing, obtains the second upgrade installation package.
Further, it is described in the first application upgrade when, detect whether exist and the described first application corresponding second Using before, including:
By described first application attend to anything else for described second application when, record it is described second application be and described first application Corresponding application of attending to anything else.
Further, by described first application attend to anything else for described second application when, record it is described second application for institute Before stating application of attending to anything else corresponding to the first application, including:
The operational order to the first application is received, the described first application is attended to anything else for described second according to the operational order Using.
On the one hand, the embodiment of the present invention also provides a kind of terminal simultaneously, and the terminal includes:Processor, memory and logical Believe bus;
The communication bus is used to realize the connection communication between processor and memory;
The processor is used to perform the application upgrade program stored in memory, to realize following steps:
In the first application upgrade, detect whether that having corresponding with the described first application second applies, wherein, described the Two applications are the described first application of attending to anything else applied;
If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, according to described The upgrade installation package of first application upgrades to the described second application.
Further, the processor is specifically used for performing the application upgrade program stored in memory, following to realize Step:
Obtain the first upgrade installation package of first application;
First upgrade installation package is handled, the second upgrade installation package is obtained, according to second update Bag upgrades to the described second application.
Further, the processor is specifically used for performing the application upgrade program stored in memory, following to realize Step:
Decompression is carried out to first upgrade installation package, obtains the first file, wherein, the text of first file Entitled first filename of part;
Entitled second filename of the first file of first file is changed, obtains the second file, wherein, second text Entitled second filename of file of part;
Second file is compressed processing, obtains the second upgrade installation package.
Further, it is described in the first application upgrade when, detect whether exist and the described first application corresponding second Using before, the processor is additionally operable to perform the application upgrade program stored in memory, to realize following steps:
The operational order to the first application is received, the described first application is attended to anything else for described second according to the operational order Using it is application of attending to anything else corresponding with the described first application to record second application.
On the one hand, the embodiment of the present invention also provides a kind of computer-readable recording medium simultaneously, described computer-readable to deposit Storage media is stored with one or more program, one or more of programs can by one or more computing device, To realize following steps:
In the first application upgrade, detect whether that having corresponding with the described first application second applies, wherein, described the Two applications are the described first application of attending to anything else applied;
If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, according to described The upgrade installation package of first application upgrades to the described second application.
Further, one or more of programs can be walked as follows by one or more computing device with realizing Suddenly:
Obtain the first upgrade installation package of first application;
First upgrade installation package is handled, the second upgrade installation package is obtained, according to second update Bag upgrades to the described second application.
Further, one or more of programs can be walked as follows by one or more computing device with realizing Suddenly:
Decompression is carried out to first upgrade installation package, obtains the first file, wherein, the text of first file Entitled first filename of part;
Entitled second filename of the first file of first file is changed, obtains the second file, wherein, second text Entitled second filename of file of part;
Second file is compressed processing, obtains the second upgrade installation package.
Further, it is described in the first application upgrade when, detect whether exist and the described first application corresponding second Using before, one or more of programs can be by one or more computing device, to realize following steps:
By described first application attend to anything else for described second application when, record it is described second application be and described first application Corresponding application of attending to anything else.
Further, by described first application attend to anything else for described second application when, record it is described second application for institute Before stating application of attending to anything else corresponding to the first application, one or more of programs can by one or more computing device, To realize following steps:
The operational order to the first application is received, the described first application is attended to anything else for described second according to the operational order Using.
, should first the embodiments of the invention provide a kind of application upgrade method, terminal and computer-readable recording medium During with upgrading, detect whether the corresponding with the described first application second application be present, wherein, second application is described first The application of attending to anything else of application;If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, root The described second application is upgraded according to the upgrade installation package of the described first application.Application upgrade side provided in an embodiment of the present invention Method, terminal and computer-readable recording medium, by handling the upgrade installation package of upgrade application, pass through the liter after processing Level installation kit can realize the automatic upgrading to application of attending to anything else, and improve Consumer's Experience.
Brief description of the drawings
Fig. 1 is the hardware architecture diagram for an optional mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is application upgrade method flow schematic diagram one provided in an embodiment of the present invention;
Fig. 4 attends to anything else using display example figure to be provided in an embodiment of the present invention;
Fig. 5 is application upgrade method flow schematic diagram two provided in an embodiment of the present invention;
Fig. 6 is that application provided in an embodiment of the present invention is attended to anything else exemplary plot one;
Fig. 7 is that application provided in an embodiment of the present invention is attended to anything else exemplary plot two;
Fig. 8 is terminal structure schematic diagram provided in an embodiment of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts, Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving GateWay, Gateway) 2034, PGW (PDN GateWay, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and EPC203 between The control node of signaling, there is provided carrying and connection management.HSS2032 is used to provide some registers to manage such as homing position The function of register (not shown) etc, and some are preserved about the special letter of the users such as service features, data rate Breath.All customer data can be transmitted by SGW2034, PGW2035 can provide UE 201 IP address distribute with And other functions, PCRF2036 are the strategy and charging control policy decision point of business data flow and IP bearing resources, it is plan Available strategy and charging control decision-making are slightly selected and provided with charge execution function unit (not shown).
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
It should be noted that term " first ", " second " in description and claims of this specification and accompanying drawing etc. It is for distinguishing similar object, without for describing specific order or precedence.
The embodiment of the present invention provides a kind of application upgrade method, as shown in figure 3, this method can include:
Step 301, in the first application upgrade, detect whether exist corresponding with the described first application second apply, its In, second application is the described first application of attending to anything else applied.
Specifically, in the embodiment of the present invention, in the first application upgrade, detect whether to exist with described first using corresponding The second application can be realized by terminal, i.e., terminal detect whether exist corresponding with the described first application second apply. Terminal in the present invention can be mobile terminal, can be preferably the mobile intelligent terminal that can install application.
Mobile terminal refers to the equipment that can be used on the move, broad sense say including mobile phone, notebook, tablet personal computer, Even include vehicle-mounted computer.But refer in most cases mobile phone or with a variety of application functions smart mobile phone and Tablet personal computer.As network and technology are towards the development in more and more broadband direction, Mobile Communication Industry will move towards real The mobile message epoch.On the other hand, as the rapid development of integrated circuit technique, the disposal ability of mobile terminal have had Powerful disposal ability, mobile terminal are changed into an integrated information processing platform from simple call instrument.This is also to shifting Dynamic terminal adds broader development space.Mobile terminal is existing several with Mobile Communication Development as simple communication equipment The history of 10 years.Mobile intelligent terminal is almost changed into the crucial entrance of Internet service between a flash and main innovation is put down Platform, new media, ecommerce and information service platform, Internet resources, mobile network resource and environmental interaction resource are most The strategy system of important pivot, its operating system and processor chips even as current whole information and communication technology (ICT) industry is high Point.Mobile intelligent terminal can be referred to as intelligent terminal, and mobile intelligent terminal possesses access the Internet capability, generally carries various Operating system, various functions can be customized according to user's request.Common intelligent terminal includes mobile intelligent terminal, vehicle-mounted in life Intelligent terminal, intelligent television, wearable device etc..
Using referring generally to the application of mobile phone and tablet personal computer.Personal user is generally divided on object-oriented to apply and enterprise Industry level application, mobile end system classification on mainly include iOS (such as:Synchronously push away), Android (such as:AirDroid、 Baidu application etc.) and windows phone xap and appx.
It should be noted that in application after mounting, it usually needs upgrading, can just better meet the demand of user.Should Refer to software developer when software is write with upgrading, because designer considers not comprehensive or program function imperfection, After application software distribution, after the modification to program or adding new function, in a manner of being issued in the form of patch, user These patches are updated, i.e. upgrading is completed.
Specifically, user can set applications automatic upgrade, can also set using upgrading manually.If application rises to be automatic Level, in applications automatic upgrade, terminal detects the application of the upgrading with the presence or absence of corresponding application of attending to anything else.If application is liter manually Level, the operational order that user indicates upgrading is received, start to upgrade application according to the operational order, while terminal detection should The application of upgrading is with the presence or absence of corresponding application of attending to anything else.
Here, the second application can be realized applies identical function with first, that is, application of attending to anything else can be realized with being attended to anything else Using identical function, i.e., there may be two or more identical applications in terminal, such as shown in Fig. 4, using wechat, Wechat is attended to anything else.
Here, terminal can identify application of attending to anything else, or answering by application of attending to anything else by detecting the installation kit of application Application of attending to anything else is identified with icon, or application of attending to anything else can be identified by identification information, is identified to attend to anything else by mark and answers Used time, it is necessary to when application is attended to anything else, to attending to anything else using being identified, in this manner it is possible to be attended to anything else application by identifying identification. The identification for application of attending to anything else can also be realized by other means, and the embodiment of the present invention is not limited this.
Further, it is described in the first application upgrade when, detect whether exist and the described first application corresponding second Using before, including:
By described first application attend to anything else for described second application when, record it is described second application be and described first application Corresponding application of attending to anything else.
Further, by described first application attend to anything else for described second application when, record it is described second application for institute Before stating application of attending to anything else corresponding to the first application, including:
The operational order to the first application is received, the described first application is attended to anything else for described second according to the operational order Using.
If step 302, in the presence of corresponding with the described first application second application, after the completion of first application upgrade, The described second application is upgraded according to the upgrade installation package of the described first application.
Specifically, after terminal in the first application upgrade, detects the application of attending to anything else of first application, in the first application After the completion of upgrading, the first upgrade installation package of first application is obtained;Then, to first upgrade installation package Reason, the second upgrade installation package is obtained, the described second application is upgraded according to second upgrade installation package, that is, passes through second Upgrade installation package upgrades to attending to anything else to apply.
It is described that first upgrade installation package is handled in a kind of possible implementation, obtain the second upgrading peace Dress bag, including:
Decompression is carried out to first upgrade installation package, obtains the first file, wherein, the text of first file Entitled first filename of part;
Entitled second filename of the first file of first file is changed, obtains the second file, wherein, second text Entitled second filename of file of part;
Second file is compressed processing, obtains the second upgrade installation package.
Specifically, the mode that the upgrade installation package of terminal-pair first is handled can be, the first upgrade installation package is carried out Decompression, the installation kit of decompression, i.e. the first file are obtained, then changes the filename of the installation kit of decompression, will The filename of first file is modified, and obtains the installation kit after modification filename, i.e. the second file, after modification filename Installation kit is compressed processing, obtains the second upgrade installation package.
Application upgrade method provided in an embodiment of the present invention, in the first application upgrade, detect whether exist and described the Second application corresponding to one application, wherein, second application is the described first application of attending to anything else applied;If in the presence of with described Second application corresponding to one application, after the completion of first application upgrade, according to the upgrade installation package pair of the described first application Second application is upgraded, i.e., by handling the upgrade installation package of upgrade application, is pacified by the upgrading after processing Dress bag can realize the automatic upgrading to application of attending to anything else, and improve Consumer's Experience.
The embodiment of the present invention provides a kind of application upgrade method, as shown in figure 5, this method can include:
Step 401, in the first application upgrade, detect whether exist corresponding with the described first application second apply, its In, second application is the described first application of attending to anything else applied.
The executive agent of application upgrade method provided in an embodiment of the present invention can be terminal, and the terminal can be to pacify Dress application, and the terminal using function of attending to anything else is realized, the terminal can be mobile phone, PAD (tablet personal computer) etc..
Here, the second application can be realized applies identical function with first, that is, application of attending to anything else can be realized with being attended to anything else Using identical function, i.e., there may be two or more identical applications in terminal.
Specifically, terminal can identify application of attending to anything else by detecting the installation kit of application, or pass through application of attending to anything else Application icon identifies application of attending to anything else, or can identify application of attending to anything else by identification information, is attended to anything else by identifying to be identified Using when, it is necessary to when application is attended to anything else, to attending to anything else using being identified, in this manner it is possible to should by identifying that identification attends to anything else With.The identification for application of attending to anything else can also be realized by other means, and the embodiment of the present invention is not limited this.
Further, it is described in the first application upgrade when, detect whether exist and the described first application corresponding second Using before, this method can also include:
By described first application attend to anything else for described second application when, record it is described second application be and described first application Corresponding application of attending to anything else.
Further, by described first application attend to anything else for described second application when, record it is described second application for institute Before stating application of attending to anything else corresponding to the first application, including:
The operational order to the first application is received, the described first application is attended to anything else for described second according to the operational order Using.
Specifically, user can carry out application upgrade by carrying out operation in the setting in terminal, can also be direct Operation is carried out on application icon and realizes attending to anything else for application, when carrying out attending to anything else another application to application, terminal backstage is System, that is, to attending to anything else using being identified, application of attending to anything else can be identified by mark automatically to attending to anything else using recording.
Exemplary, as shown in fig. 6, realizing attending to anything else for application by carrying out operation in setting, user beats in terminal Setting options are opened, application is searched in setting and is attended to anything else, are opened using option of attending to anything else, it can be seen that the application that can be attended to anything else, Switch option corresponding to opening application can realize attending to anything else for application.
Exemplary, as shown in fig. 7, user can directly carry out operation realization on the icon for the application to be attended to anything else Application is attended to anything else, for example, user carries out long-press operation on wechat application icon, this is, " dividing occurs in the upper right corner of application icon Body " frame, at this moment, user carry out touch control operation to " attending to anything else " frame, and terminal is then attended to anything else to wechat, as shown in fig. 4, it can be seen that The application icon that wechat is attended to anything else.
If step 402, in the presence of corresponding with the described first application second application, obtain it is described first application first upgrading Installation kit.
Step 403, decompression is carried out to first upgrade installation package, obtain the first file.
Wherein, entitled first filename of the file of first file.
Entitled second filename of the first file of step 404, modification first file, obtains the second file.
Wherein, entitled second filename of the file of second file.
Step 405, second file is compressed to processing, the second upgrade installation package is obtained, according to described second liter Level installation kit upgrades to the described second application.
Specifically, the mode that the upgrade installation package of terminal-pair first is handled can be, the first upgrade installation package is carried out Decompression, the installation kit of decompression, i.e. the first file are obtained, then changes the filename of the installation kit of decompression, will The filename of first file is modified, and obtains the installation kit after modification filename, i.e. the second file, after modification filename Installation kit is compressed processing, obtains the second upgrade installation package.
Application upgrade method provided in an embodiment of the present invention, in the first application upgrade, detect whether exist and described the Second application corresponding to one application, wherein, second application is the described first application of attending to anything else applied;If in the presence of with described Second application corresponding to one application, after the completion of first application upgrade, according to the upgrade installation package pair of the described first application Second application is upgraded, i.e., by handling the upgrade installation package of upgrade application, is pacified by the upgrading after processing Dress bag can realize the automatic upgrading to application of attending to anything else, and improve Consumer's Experience.
The embodiment of the present invention also provides a kind of terminal 50 simultaneously, as shown in figure 8, the terminal 50 includes:Processor 501, Memory 502 and communication bus 503;
The communication bus 503 is used to realize the connection communication between processor 501 and memory 502;
The processor 501 is used to perform the application upgrade program stored in memory 502, to realize following steps:
In the first application upgrade, detect whether that having corresponding with the described first application second applies, wherein, described the Two applications are the described first application of attending to anything else applied;
If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, according to described The upgrade installation package of first application upgrades to the described second application.
Further, the processor 501 is specifically used for performing the application upgrade program stored in memory 502, with reality Existing following steps:
Obtain the first upgrade installation package of first application;
First upgrade installation package is handled, the second upgrade installation package is obtained, according to second update Bag upgrades to the described second application.
Further, the processor 501 is specifically used for performing the application upgrade program stored in memory 502, with reality Existing following steps:
Decompression is carried out to first upgrade installation package, obtains the first file, wherein, the text of first file Entitled first filename of part;
Entitled second filename of the first file of first file is changed, obtains the second file, wherein, second text Entitled second filename of file of part;
Second file is compressed processing, obtains the second upgrade installation package.
Further, it is described in the first application upgrade when, detect whether exist and the described first application corresponding second Using before, the processor 501 is additionally operable to perform the application upgrade program stored in memory 502, to realize following steps:
The operational order to the first application is received, the described first application is attended to anything else for described second according to the operational order Using it is application of attending to anything else corresponding with the described first application to record second application.
Here, memory 502 can be volatile memory or nonvolatile memory, may also comprise volatibility and Fei Yi Both the property lost memories.Wherein, nonvolatile memory can be read-only storage (ROM, Read Only Memory), can compile Journey read-only storage (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), Electrically Erasable Read Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access store Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited Reservoir, CD or read-only optical disc (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as Static RAM (SRAM, Static Random Access Memory), synchronous static RAM (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited Reservoir 502 is intended to the memory of including but not limited to these and any other suitable type.
Memory 502 in the embodiment of the present invention is used to store various types of data to support the operation of terminal 60.This The example of a little data includes:For any computer program operated in terminal 50, such as operating system and application program;Contact Personal data;Telephone book data;Message;Picture;Video etc..Wherein, operating system includes various system programs, such as ccf layer, Core library layer, driving layer etc., for realizing various basic businesses and the hardware based task of processing.Application program can include Various application programs, such as media player (Media Player), browser (Browser) etc., for realizing various applications Business.Realize that the program of present invention method may be embodied in application program.
The method that the embodiments of the present invention disclose can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (DSP, Digital Signal Processor), or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 501 can be realized or held Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, it can be embodied directly at hardware decoding Reason device performs completion, or performs completion with the hardware in decoding processor and software module combination.Software module can be located at In storage medium, the storage medium is located at memory 502, and processor 501 reads the information in memory 502, with reference to its hardware The step of completing preceding method.
Specifically, the understanding of terminal provided in an embodiment of the present invention may be referred to saying for above-mentioned application upgrade embodiment of the method Bright, the embodiment of the present invention will not be repeated here.
Terminal provided in an embodiment of the present invention, in the first application upgrade, detect whether exist and the described first application pair The second application answered, wherein, second application is the described first application of attending to anything else applied;If in the presence of with described first application pair The second application answered, after the completion of first application upgrade, according to the upgrade installation package of the described first application to described second , i.e., can be with by the upgrade installation package after processing by handling the upgrade installation package of upgrade application using being upgraded The automatic upgrading to application of attending to anything else is realized, improves Consumer's Experience.
If the above-mentioned terminal of the embodiment of the present invention is realized in the form of software function module and is used as independent production marketing Or in use, it can also be stored in a computer read/write memory medium.Based on such understanding, the embodiment of the present invention is also A kind of computer-readable recording medium, such as the memory including computer program are provided, above computer program can be by taking The computing device being engaged in device, to complete step described in preceding method.Computer-readable recording medium can be FRAM, ROM, The memory such as PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, CD or CD-ROM;It can also be bag Include the various equipment of one of above-mentioned memory or any combination, such as mobile phone tablet device.
The embodiment of the present invention provides a kind of computer-readable recording medium, and the computer-readable recording medium storage has one Individual or multiple programs, one or more of programs can be by one or more computing devices, to realize following steps:
In the first application upgrade, detect whether that having corresponding with the described first application second applies, wherein, described the Two applications are the described first application of attending to anything else applied;
If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, according to described The upgrade installation package of first application upgrades to the described second application.
Further, one or more of programs can be walked as follows by one or more computing device with realizing Suddenly:
Obtain the first upgrade installation package of first application;
First upgrade installation package is handled, the second upgrade installation package is obtained, according to second update Bag upgrades to the described second application.
Further, one or more of programs can be walked as follows by one or more computing device with realizing Suddenly:
Decompression is carried out to first upgrade installation package, obtains the first file, wherein, the text of first file Entitled first filename of part;
Entitled second filename of the first file of first file is changed, obtains the second file, wherein, second text Entitled second filename of file of part;
Second file is compressed processing, obtains the second upgrade installation package.
Further, it is described in the first application upgrade when, detect whether exist and the described first application corresponding second Using before, one or more of programs can be by one or more computing device, to realize following steps:
By described first application attend to anything else for described second application when, record it is described second application be and described first application Corresponding application of attending to anything else.
Further, by described first application attend to anything else for described second application when, record it is described second application for institute Before stating application of attending to anything else corresponding to the first application, one or more of programs can by one or more computing device, To realize following steps:
The operational order to the first application is received, the described first application is attended to anything else for described second according to the operational order Using.
Computer-readable recording medium provided in an embodiment of the present invention, at the upgrade installation package to upgrade application Reason, can realize the automatic upgrading to application of attending to anything else by the upgrade installation package after processing, improve Consumer's Experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

  1. A kind of 1. application upgrade method, it is characterised in that methods described includes:
    In the first application upgrade, detect whether the corresponding with the described first application second application be present, wherein, described second should With the application of attending to anything else for the described first application;
    If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, according to described first The upgrade installation package of application upgrades to the described second application.
  2. 2. according to the method for claim 1, it is characterised in that the upgrade installation package according to the described first application is to institute The second application is stated to be upgraded, including:
    Obtain the first upgrade installation package of first application;
    First upgrade installation package is handled, the second upgrade installation package is obtained, according to second upgrade installation package pair Second application is upgraded.
  3. 3. according to the method for claim 2, it is characterised in that it is described that first upgrade installation package is handled, obtain The second upgrade installation package is obtained, including:
    Decompression is carried out to first upgrade installation package, obtains the first file, wherein, the filename of first file For the first filename;
    Entitled second filename of the first file of first file is changed, obtains the second file, wherein, second file Entitled second filename of file;
    Second file is compressed processing, obtains the second upgrade installation package.
  4. 4. according to the method described in any one of claims 1 to 3, it is characterised in that it is described in the first application upgrade when, detection Before the corresponding with the described first application second application, including:
    By described first application attend to anything else for described second application when, record it is described second application be with described first application it is corresponding Application of attending to anything else.
  5. 5. according to the method for claim 4, it is characterised in that attend to anything else by the described first application for the described second application When, record it is described second application be application of attending to anything else corresponding with the described first application before, including:
    The operational order to the first application is received, the described first application is attended to anything else according to the operational order should for described second With.
  6. 6. a kind of terminal, it is characterised in that the terminal includes:Processor, memory and communication bus;
    The communication bus is used to realize the connection communication between processor and memory;
    The processor is used to perform the application upgrade program stored in memory, to realize following steps:
    In the first application upgrade, detect whether the corresponding with the described first application second application be present, wherein, described second should With the application of attending to anything else for the described first application;
    If in the presence of the corresponding with the described first application second application, after the completion of first application upgrade, according to described first The upgrade installation package of application upgrades to the described second application.
  7. 7. terminal according to claim 6, it is characterised in that the processor is specifically used for performing what is stored in memory Application upgrade program, to realize following steps:
    Obtain the first upgrade installation package of first application;
    First upgrade installation package is handled, the second upgrade installation package is obtained, according to second upgrade installation package pair Second application is upgraded.
  8. 8. terminal according to claim 7, it is characterised in that the processor is specifically used for performing what is stored in memory Application upgrade program, to realize following steps:
    Decompression is carried out to first upgrade installation package, obtains the first file, wherein, the filename of first file For the first filename;
    Entitled second filename of the first file of first file is changed, obtains the second file, wherein, second file Entitled second filename of file;
    Second file is compressed processing, obtains the second upgrade installation package.
  9. 9. according to the terminal described in any one of claim 6 to 8, it is characterised in that it is described in the first application upgrade when, detection Before the corresponding with the described first application second application, what the processor was additionally operable to store in execution memory answers With ROMPaq, to realize following steps:
    The operational order to the first application is received, the described first application is attended to anything else according to the operational order should for described second With it is application of attending to anything else corresponding with the described first application to record second application.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing devices, to realize such as claim 1 to 5 The step of method described in any one.
CN201710897173.1A 2017-09-28 2017-09-28 A kind of application upgrade method, terminal and computer-readable recording medium Withdrawn CN107506222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710897173.1A CN107506222A (en) 2017-09-28 2017-09-28 A kind of application upgrade method, terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710897173.1A CN107506222A (en) 2017-09-28 2017-09-28 A kind of application upgrade method, terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107506222A true CN107506222A (en) 2017-12-22

Family

ID=60699799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710897173.1A Withdrawn CN107506222A (en) 2017-09-28 2017-09-28 A kind of application upgrade method, terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107506222A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885325A (en) * 2019-02-26 2019-06-14 努比亚技术有限公司 Terminal system upgrade method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056001A (en) * 2016-07-21 2016-10-26 北京奇虎科技有限公司 Private data protection method and apparatus based on mobile terminal and mobile terminal
CN106445599A (en) * 2016-09-29 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Application program upgrading method and upgrading device and terminal
CN106445612A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Method and device for starting application and mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056001A (en) * 2016-07-21 2016-10-26 北京奇虎科技有限公司 Private data protection method and apparatus based on mobile terminal and mobile terminal
CN106445599A (en) * 2016-09-29 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Application program upgrading method and upgrading device and terminal
CN106445612A (en) * 2016-10-10 2017-02-22 广东欧珀移动通信有限公司 Method and device for starting application and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885325A (en) * 2019-02-26 2019-06-14 努比亚技术有限公司 Terminal system upgrade method, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107508892A (en) A kind of page access method, server and computer-readable recording medium
CN107493497A (en) A kind of video broadcasting method, terminal and computer-readable recording medium
CN107729115A (en) A kind of display methods, equipment and computer-readable storage medium
CN107786749A (en) A kind of information processing method, terminal and computer-readable recording medium
CN107888768A (en) One kind solution lock control method, terminal and computer-readable recording medium
CN108134869A (en) Breath screen display methods, mobile terminal and computer readable storage medium
CN108255368A (en) Using methods of exhibiting, device and computer readable storage medium
CN107844230A (en) A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium
CN108241752A (en) Photo display methods, mobile terminal and computer readable storage medium
CN108536291A (en) A kind of application operating method, wearable device and storage medium
CN108062669A (en) A kind of method of payment, terminal and computer readable storage medium
CN107678671A (en) One kind applies startup method, terminal and computer-readable recording medium
CN107817934A (en) A kind of method for information display, terminal and computer-readable recording medium
CN107567013A (en) A kind of signal switching method, terminal and computer-readable recording medium
CN107426441A (en) A kind of displaying method of terminal, terminal and computer-readable recording medium
CN107247560A (en) Date storage method and mobile terminal
CN107347117A (en) A kind of message management method, mobile terminal and computer-readable recording medium
CN107566608A (en) A kind of system air navigation aid, equipment and computer-readable recording medium
CN109656649A (en) A kind of desktop application control method, terminal and computer readable storage medium
CN107748680A (en) A kind of kernel setup method, terminal and computer-readable recording medium
CN107391593A (en) A kind of document handling method, mobile terminal and computer-readable recording medium
CN107943397A (en) A kind of note generation method, mobile terminal and computer-readable recording medium
CN107453984A (en) Method, equipment and the computer replied message can storage medium
CN107168747A (en) Differentiating method, device and the computer-readable recording medium of mobile terminal configuration
CN107526954A (en) A kind of right management method, mobile terminal and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171222