CN106850976B - Using update method and terminal - Google Patents
Using update method and terminal Download PDFInfo
- Publication number
- CN106850976B CN106850976B CN201710026126.XA CN201710026126A CN106850976B CN 106850976 B CN106850976 B CN 106850976B CN 201710026126 A CN201710026126 A CN 201710026126A CN 106850976 B CN106850976 B CN 106850976B
- Authority
- CN
- China
- Prior art keywords
- application
- version information
- physical layer
- layer interface
- supported
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/48—Incremental compilation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Stored Programmes (AREA)
Abstract
A kind of application update method and terminal are announced herein, this method comprises: obtaining the first application version information that physical layer interface is supported;Judge whether the version information of first application matches with the first application version information that the physical layer interface is supported;When the version information of first application and the physical layer interface mismatch, the installation kit for calling version information and the physical layer interface to match executes the update of first application.The upper layer application that the application effectively can solve to be likely to occur reports an error, collapses and the problems such as dysfunction.
Description
Technical field
This application involves field of terminal technology, espespecially a kind of application update method and terminal.
Background technique
Increasingly developed with science and technology, mobile terminal has become user using the highest electronic equipment of temperature, uses
Family is also increasingly paid close attention to by the continuous renewal upgrading of mobile terminal software edition.Especially in software version update issuing process
In, when user carries out long-range fota update perhaps local SD card upgrading if there is the rollback of highest version to lowest version or
When the Android installation kit (apk) of latest edition is applied to lowest version mobile terminal system by user, it usually will appear new version
Apk can not be compatible with the problem of legacy version mobile terminal operating system, even result in application crashes and report an error, to seriously affect user
It uses.
For the operating system for leading to mobile terminal due to retracting operating system or user's operation in the related technology
It the problem of with apk incompatible version, does not put forward effective solutions also at present.
Summary of the invention
In order to solve the above-mentioned technical problem, the embodiment of the invention provides a kind of application update method and terminals.
In view of this, applying update method the embodiment of the invention provides a kind of, comprising:
Obtain the first application version information that physical layer interface is supported;
Judge it is described first application version information and the physical layer interface support the first application version information whether
Match;
When the version information of first application and the physical layer interface mismatch, version information and the bottom are called
The installation kit that interface matches executes the update of first application.
Optionally, first application version information for obtaining physical layer interface and supporting, comprising:
Whether the operating system of detection bottom changes;
When the operating system changes, first application version that the physical layer interface after obtaining change is supported is believed
Breath.
Optionally, judge the version information of first application and the first application version information that the physical layer interface is supported
After whether matching, further includes:
When the first application version information that the version information of first application and the physical layer interface are supported matches,
Any movement is not executed.
Optionally, first application version information for obtaining physical layer interface and supporting, comprising:
Detect the start-up operation of the installation kit of first application;
When the installation kit of first application is activated, the first application version information that physical layer interface is supported is obtained.
Optionally, judge the version information of first application and the first application version information that the physical layer interface is supported
Whether match, comprising: judge the corresponding version information of installation kit of first application and the physical layer interface are supported first
Whether application version information matches;
Judge it is described first application version information and the physical layer interface support the first application version information whether
With later, further includes: first answered what the corresponding version information of installation kit of first application was supported with the physical layer interface
When being matched with version information, the update of first application is executed using the installation kit.
The embodiment of the invention also provides a kind of terminals, comprising:
Module is obtained, for obtaining the first application version information of physical layer interface support;
Judgment module, for judging that the version information of first application applies version with the first of physical layer interface support
Whether this information matches;
Update module, for calling version when the version information of first application and the physical layer interface mismatch
The installation kit that information and the physical layer interface match executes the update of first application.
Optionally, further includes:
Whether first detection module, the operating system for detecting bottom change;Become in the operating system
When more, triggers the module that obtains and obtain first application version information that the physical layer interface after change is supported.
Optionally, the update module is also used to support in the version information of first application and the physical layer interface
The first application version information when matching, do not execute any movement.
Optionally, further includes:
Second detection module, the start-up operation of the installation kit for detecting first application;In first application
When installation kit is activated, the first application version information that physical layer interface is supported is obtained.
Optionally, the judgment module, specifically for judge it is described first application the corresponding version information of installation kit with
Whether the first application version information that the physical layer interface is supported matches;
The update module is also used to the corresponding version information of installation kit and the physical layer interface in first application
When the first application version information supported matches, the update of first application is executed using the installation kit.
The embodiment of the invention provides a kind of application update method and terminals, in mobile terminal generating system rollback or system
In the case that upgrading, user voluntarily select installation kit, by judge the application version information of physical layer interface and applying itself or its
Whether the version information of installation kit matches, to determine whether physical layer interface and application itself are compatible, call when the two is incompatible
The installation kit that version information and the physical layer interface match executes the update of respective application, in this way, on the one hand can effectively solve
The upper layer application being certainly likely to occur reports an error, collapses and the problems such as dysfunction, improve application program compatibility and fault-tolerant energy
Power, while can effectively promote the user experience of terminal.
Detailed description of the invention
Attached drawing is used to provide to further understand technical solution of the present invention, and constitutes part of specification, with this
The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
The hardware structural diagram of Fig. 1 optional mobile terminal of each embodiment one to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow diagram of application of embodiment of the present invention update method;
Fig. 4 is the composed structure schematic diagram of the terminal of that embodiment of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific 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.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself
There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving
Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated
Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving
Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the mobile terminal of each embodiment hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input
Unit 130, sensing unit 140, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190
Etc..
Fig. 1 shows the mobile terminal 100 with various assemblies, it should be understood that being not required for implementing all show
Component out.More or fewer components can alternatively be implemented.The element of mobile terminal 100 will be discussed in more detail below.
Wireless communication unit 110 usually may include one or more components, allow mobile terminal 100 and wireless communication
Radio communication between system or network.For example, wireless communication unit 110 may include broadcasting reception module 111, move and lead to
Believe at least one of module 112, wireless Internet module 113, short range communication module 114 and location information module 115.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel
Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent
The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information
And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting
Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase
Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould
Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB)
Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast
Receiving module 111 can receive signal broadcast by using various types of broadcast systems.Particularly, broadcasting reception module 111
It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video
It broadcasts-holds (DVB-H), the Radio Data System of forward link media (MediaFLO@), received terrestrial digital broadcasting integrated service
(ISDB-T) etc. digit broadcasting system receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively
Broadcast the various broadcast systems and above-mentioned digit broadcasting system of signal.Via the received broadcast singal of broadcasting reception module 111 and/
Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal
And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical
Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
The Wi-Fi (Wireless Internet Access) of the support mobile terminal of wireless Internet module 113.The module can be internally or externally
It is couple to terminal.Wi-Fi (Wireless Internet Access) technology involved in the module may include WLAN (Wireless LAN) (Wi-Fi), Wibro
(WiMAX), Wimax (worldwide interoperability for microwave accesses), HSDPA (high-speed downlink packet access) etc..
Short range communication module 114 is the module for supporting short range communication.Some examples of short-range communication technology include indigo plant
Tooth TM, radio frequency identification (RFID), Infrared Data Association (IrDA), ultra wide band (UWB), purple honeybee TM etc..
Location information module 115 is the module for checking or obtaining the location information of mobile terminal.Location information module
115 typical case is GPS (global positioning system).According to current technology, GPS calculate from three or more satellites away from
From information and correct time information and for the Information application triangulation of calculating, thus according to longitude, latitude and height
Degree accurately calculates three-dimensional current location information.Currently, three satellites are used simultaneously for the method for calculating position and temporal information
And the error of calculated position and temporal information is corrected by using an other satellite.In addition, GPS can be by real-time
Ground Continuous plus current location information carrys out calculating speed information.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera
Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus
Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121
Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110
It send, two or more cameras 121 can be provided according to the construction of mobile terminal 100.Microphone 122 can be in telephone relation mould
Sound (audio data) is received via microphone 122 in formula, logging mode, speech recognition mode etc. operational mode, and energy
It is enough audio data by such acoustic processing.Audio that treated (voice) data can be in the case where telephone calling model
Be converted to the format output that mobile communication base station can be sent to via mobile communication module 112.Microphone 122 can be implemented various
The noise of type is eliminated (or inhibition) algorithm and is made an uproar with eliminate that (or inhibition) generate during sending and receiving audio signal
Sound or interference.
The order that user input unit 130 can be inputted according to user generates key input data to control mobile terminal 100
Various operations.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome,
Touch tablet (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), shakes idler wheel
Bar etc..Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Sensing unit 140 detects the current state of mobile terminal 100, (for example, mobile terminal 100 opens or closes shape
State), the position of mobile terminal 100, user is for the presence or absence of contact (that is, touch input) of mobile terminal 100, mobile terminal
100 orientation, the acceleration or deceleration movement of mobile terminal 100 and direction etc., and generate for controlling mobile terminal 100
The order of operation or signal.For example, sensing unit 140 can sense when mobile terminal 100 is embodied as sliding-type mobile phone
The sliding-type phone is to open or close.In addition, sensing unit 140 be able to detect power supply unit 190 whether provide electric power or
Whether person's interface unit 170 couples with external device (ED).Sensing unit 140 may include proximity sensor 141.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, 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..Identification module can be storage and use each of mobile terminal 100 for verifying user
It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM)
Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know
Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from
The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100
One or more elements can be used for transmitting data between mobile terminal 100 and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it
Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it
It is transferred to the path of mobile terminal 100.The various command signals or electric power inputted from pedestal may be used as identification mobile terminal 100
The signal whether being accurately fitted on pedestal.Output unit 150 is configured to the offer of vision, audio and/or tactile manner
Output signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.).Output unit 150 may include showing
Show unit 151, audio output module 152, alarm unit 153 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity
When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file
Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode
Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure
Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit
151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT)
In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least
It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent
Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific
Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving
Dynamic terminal 100 may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting
Touch input pressure and touch input position and touch input area.
Audio output module 152 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
It is when under the isotypes such as formula, speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory
The audio data transducing audio signal and output stored in 160 is sound.Moreover, audio output module 152 can provide with
The relevant audio output of specific function that mobile terminal 100 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output module 152 may include loudspeaker, buzzer etc..
Alarm unit 153 can provide output notifying event to mobile terminal 100.Typical event can be with
Including calling reception, message sink, key signals input, touch input etc..Other than audio or video output, alarm unit
153 can provide output in different ways with the generation of notification event.For example, alarm unit 153 can be in the form of vibration
Output is provided, when receiving calling, message or some other entrance communications (incoming communication), alarm list
Member 153 can provide tactile output (that is, vibration) to notify to user.By providing such tactile output, even if
When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm unit 153
The output of the generation of notification event can be provided via display unit 151 or audio output module 152.
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke
Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And
And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen
Data.
Memory 160 may include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, more
Media card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access storage
Device (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory
(PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection
The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data
Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers
The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control
Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture
It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member
Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof
Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC
(ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can
Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor
At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180.
For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations
Software module is implemented.Software code can by the software application (or program) write with any programming language appropriate Lai
Implement, software code can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal 100 according to its function.In addition, the mobile terminal 100 in the embodiment of the present invention
It can be such as folded form, board-type, oscillating-type, sliding-type and other various types of mobile terminals, do not do herein specifically
It limits.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any
Line and wireless communication system and satellite-based communication system operate.
Referring now to Fig. 2 description communication system that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication system.For example, used by communication system
Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications system
System (UMTS) (particularly, long term evolution (LTE)), global system for mobile communications (GSM) etc..As non-limiting example, under
The description in face is related to cdma communication system, but such introduction is equally applicable to other types of system.
With reference to Fig. 2, cdma wireless communication system may include multiple intelligent terminals 100, multiple base stations (BS) 270, base station
Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC 280 is configured to and Public Switched Telephony Network (PSTN)
290 form interface.MSC 280 is also structured to be formed with the BSC 275 that can be couple to base station 270 via back haul link and connect
Mouthful.Back haul link can be constructed according to any in several known interfaces, and the interface may include such as Europe mark
Quasi- high capacity digital circuit/Unite States Standard high capacity digital circuit (E1/T1), asynchronous transfer mode (ATM), network protocol
(IP), point-to-point protocol (PPP), frame relay, high-bit-rate digital subscriber line road (HDSL), Asymmetrical Digital Subscriber Line (ADSL)
Or various types digital subscriber line (xDSL).It will be appreciated that system may include multiple BSC 275 as shown in Figure 2.
Each BS 270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction
Each subregion of line covering is radially far from BS 270.Alternatively, each subregion can by two for diversity reception or more
Multiple antennas covering.Each BS 270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency
It composes (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS 270 can also be referred to as base station transceiver
System (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single BSC
275 and at least one BS 270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS 270 can be claimed
For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in system by broadcsting transmitter (BT) 295
100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT 295
Signal.In fig. 2 it is shown that several global positioning system (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals
At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition
Location information.Location information module 115 as shown in Figure 1 (such as: GPS) is generally configured to cooperate with satellite 300 to obtain
The location information that must be wanted.It substitutes GPS tracking technique or except GPS tracking technique, can be used can track movement eventually
Other technologies of the position at end.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb pass
It is defeated.
As a typical operation of wireless communication system, BS 270 receives the reverse strand from various mobile terminals 100
Road signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station is received each anti-
It is handled in specific BS 270 to link signal.The data of acquisition are forwarded to relevant BSC 275.BSC provides logical
Talk about the mobile management function of resource allocation and the coordination including the soft switching process between BS 270.BSC 275 will also be received
Data be routed to MSC 280, the additional route service for forming interface with PSTN 290 is provided.Similarly, PSTN
290 form interface with MSC 280, and MSC 280 and BSC 275 form interface, and BSC 275 correspondingly control BS 270 with by
Forward link signals are sent to mobile terminal 100.
Embodiment one
As shown in figure 3, applying update method this application provides a kind of, it is applied to mobile terminal, comprising:
Step 301, the first application version information that physical layer interface is supported is obtained;
Step 302, judge that the version information of first application and the first application version that the physical layer interface is supported are believed
Whether breath matches;
Step 303, it is described first application version information and the physical layer interface mismatch when, call version information with
The installation kit that the physical layer interface matches executes the update of first application.
In the present embodiment, the case where mobile terminal generating system retracts or system upgrade, user voluntarily select installation kit
Under, by judging whether the application version information of physical layer interface matches with the version information of application itself or its installation kit, come true
Determine physical layer interface and whether application itself is compatible, calls version information and the physical layer interface to match when the two is incompatible
Installation kit executes the update of respective application, in this way, on the one hand the upper layer application that effectively can solve to be likely to occur report an error, collapse and
The problems such as dysfunction, improves the compatibility and fault-tolerant ability of application program, while can effectively promote the user's body of terminal
It tests.
In some implementations, first application version information for obtaining physical layer interface and supporting, may include: detection
Whether the operating system of bottom changes;When the operating system changes, the physical layer interface after obtaining change is supported
First application version information.In this way, can timely update when detecting that operating system occurs to retract or upgrade
The application program of mobile terminal, to avoid because mobile terminal operating system occur retract or upgrading cause physical layer interface with it is upper
Layer application is incompatible and leads to problems such as upper layer application report an error, collapse or dysfunction.
In some implementations, can also include: after step 302 first application version information with it is described
When the first application version information that physical layer interface is supported matches, any movement is not executed.
In practical application, the operating system of mobile terminal occurs after retracting or upgrading, installed on mobile terminal
Application program may be incompatible with current physical layer interface, to occur continuously to report an error, collapse or situations such as dysfunction.This
When, the application that mobile terminal can execute the present embodiment to mounted all application or certain applications updates, that is to say, that right
For mounted application, judges the version information of the application and whether application version information that current physical layer interface is supported
Matching does not update the application if matching, can call the application version supported with current physical layer interface if mismatching
The installation kit that this information matches executes the refitting of the application, in this way, applying for installed a part or all answering
After being updated, it can solve using reporting an error, collapse or the problem of dysfunction, promote user experience.
In some implementations, first application version information for obtaining physical layer interface and supporting, comprising: described in detection
The start-up operation of the installation kit of first application;When the installation kit of first application is activated, obtain what physical layer interface was supported
First application version information.
Wherein, the version information of first application and the first application that the physical layer interface is supported are judged in step 302
Whether version information matches, and may include: to judge that the corresponding version information of installation kit of first application connects with the bottom
Whether the first application version information that mouth is supported matches;It can also include: the installation kit in first application after step 302
When the first application version information that corresponding version information and the physical layer interface are supported matches, executed using the installation kit
The update of first application.
In practical application, when user voluntarily selects installation kit to update the application program on mobile terminal, often it is difficult to judge
Whether its selected installation kit is compatible with the physical layer interface of mobile terminal out, thus may connect after application updates
It is continuous to report an error, collapse or situations such as dysfunction.At this point, after the installation kit that user opens some application, mobile terminal can be with
First judge whether the corresponding version information of the installation kit matches with the application version information that physical layer interface is supported, is mismatched in the two
When then call version information and physical layer interface to match automatically installation kit execute the installation or refitting of the application, in the two
Timing directly can execute the installation or refitting of the application using the installation kit that user opens, to avoid on after installation
Layer application with it is incompatible between physical layer interface, solve due to incompatible and the upper layer application that generates is reported an error, collapsed or function is different
The problems such as normal, the user experience is improved.
In practical application, there is strong dependence in the upper layer application and physical layer interface of mobile terminal, but need to develop respectively, solely
Vertical publication.For example, camera, audio frequency parameter, mobile phone house keeper etc. apply in the terminal, upper layer application version and physical layer interface branch
The version held, which matches when corresponding relationship both i.e. meets pre-defined rule, just can ensure that function is normal.But in functions of modules evolution
Or platform os (32, the big baseline upgrading of 64 compatible android L, M, N) or hardware baseline version updating (e.g., high pass baseline
Upgrading) when, can high probability appearance new and old edition compatibility problem, can not accomplish completely backward compatible, especially apply
Relevant physical layer interface part.It is provided in this embodiment to apply update method, it can solve the problems, such as this.
In the present embodiment, the specific implementation flow using update method may include: set upper layer application version number and
The evolutional rule of physical layer interface version, establishes the dependence mapping ruler of upper layer application version and physical layer interface version, and generate according to
Bad mapping rule file is preset, and there are in corresponding file directory.In function of application evolution process, when appearance can not be new
When the function definition of old compatibility or characteristic, updates physical layer interface major version number and generate the service library of new version, it will be announced
Corresponding relationship between multiple version informations and physical layer interface is configured in mobile terminal.
In practical application, the installation kit of the latest edition of physical layer interface default activation.When there is upper layer application or bottom
When interface there are problems that not being compatible with, using corresponding fault-tolerant networks, ensure that the basic function of user can be normal as far as possible
It uses.In the case where meeting the silent precondition for forcing to update, force to update to the upper layer application version to match with physical layer interface.
In the present embodiment, version information may include the contents such as version number, and matching refers to the corresponding version letter of physical layer interface
Breath with apply or the corresponding version information of its installation kit is consistent, or both meets above-mentioned dependence mapping ruler.It is above-mentioned according to
Rely the information such as the application version number for defining that physical layer interface is supported in mapping ruler.
In some implementations, it may is that user opens the corresponding interface application apk using the detailed process of update,
The version information that physical layer interface can be compatible with is obtained in Apk initialization procedure, obtains the version number of current application apk;Judge bottom
Whether the compatible version information of layer interface matches with the version number of current application apk, if it does, then activating the bottom of corresponding version
After layer interface, current application apk normally starts the installation for executing application;If can not match, start the application of physical layer interface
Version forces update, i.e. the calling version information installation that application is executed using apk compatible with physical layer interface is avoided using appearance
Collapse or dysfunction.During this, current network conditions and/or electricity feelings can also be first detected before executing the installation of application
It is compatible with physical layer interface to recall version information when network condition and charge condition are all satisfied the installation requirements of the application for condition
Using apk execute application installation.In general, terminal power is greater than 20% or charged state, what WIFI network was opened
Under state, the version information installation that application is executed using apk compatible with physical layer interface is called.
In some implementations, it may is that mobile terminal operating system retracts using the detailed process of update, it is right
In mounted first application: obtaining the first application version information that physical layer interface is supported after retracting, judge that described first answers
Whether version information matches with the first application version information that the physical layer interface is supported, if it does, then not executing institute
State the update of the first application;If can not match, the application version for starting physical layer interface is forced to update, i.e. calling version information
First compatible with physical layer interface executes the refitting of first application using apk, to avoid connecing because of the first application with bottom
It is mouthful incompatible and occur reporting an error, collapse or the problems such as dysfunction.During this, can also first it be examined before executing the refitting of application
Current network conditions and/or charge condition are surveyed, again when network condition and charge condition are all satisfied the installation requirements of the application
It calls version information compatible with physical layer interface and executes the first refitting applied using apk.In general, terminal power is greater than
20% or charged state, in the state that WIFI network is opened, call version information it is compatible with physical layer interface apply apk execution
The refitting of first application.
Embodiment two
As shown in figure 4, the present embodiment provides a kind of terminals, comprising:
Module 41 is obtained, for obtaining the first application version information of physical layer interface support;
Judgment module 42, the first application that version information and the physical layer interface for judging first application are supported
Whether version information matches;
Update module 43, for calling version when the version information of first application and the physical layer interface mismatch
The installation kit that this information and the physical layer interface match executes the update of first application.
In some implementations, above-mentioned terminal can also include: first detection module 44, for detecting the operation of bottom
Whether system changes;When the operating system changes, triggers the module 41 that obtains and obtain the bottom after change
First application version information that interface is supported.
The update module, it may also be used for first supported in the version information of first application and the physical layer interface
When application version information matches, any movement is not executed.
In practical application, the operating system of mobile terminal occurs after retracting or upgrading, installed on mobile terminal
Application program may be incompatible with current physical layer interface, to occur continuously to report an error, collapse or situations such as dysfunction.This
When, mobile terminal can execute application to mounted all applications or certain applications and update, that is to say, that for mounted
For, whether the application version information that judgment module 42 judges the version information of the application and current physical layer interface is supported
Matching, update module 43 do not update the application in matching, and when mismatch then calls the application supported with current physical layer interface
The installation kit that version information matches executes the refitting of the application, in this way, for installed a part application or all
After being updated, it can solve using reporting an error, collapse or the problem of dysfunction, promote user experience.
In some implementations, above-mentioned terminal can also include: the second detection module 45, answer for detecting described first
The start-up operation of installation kit;When the installation kit of first application is activated, obtains physical layer interface is supported first and answer
Use version information.
The judgment module 42, be particularly used in judge it is described first application the corresponding version information of installation kit with it is described
Whether the first application version information that physical layer interface is supported matches;
The update module 43, it may also be used in the corresponding version information of installation kit and the bottom of first application
When the first application version information that interface is supported matches, the update of first application is executed using the installation kit.
In the present embodiment, version information may include the contents such as version number, and matching refers to the corresponding version letter of physical layer interface
Breath with apply or the corresponding version information of its installation kit is consistent, or both meets above-mentioned dependence mapping ruler.It is above-mentioned according to
Rely the information such as the application version number for defining that physical layer interface is supported in mapping ruler.
In practical application, when user voluntarily selects installation kit to update the application program on mobile terminal, often it is difficult to judge
Whether its selected installation kit is compatible with the physical layer interface of mobile terminal out, thus may connect after application updates
It is continuous to report an error, collapse or situations such as dysfunction.At this point, mobile terminal is sentenced after the installation kit that user opens some application
Disconnected module 42 can first judge whether the corresponding version information of the installation kit matches with the application version information that physical layer interface is supported,
It is answered described in the installation kit execution that update module 43 then calls version information to match with physical layer interface automatically when the two mismatches
Installation or refitting, update module 43 can be utilized directly described in the installation kit execution of user's opening when the two matches
The installation or refitting of application, thus it is incompatible between upper layer application and physical layer interface after avoiding installation, it solves due to incompatible
And the upper layer application generated is reported an error, is collapsed or the problems such as dysfunction, the user experience is improved.
Terminal can realize one the method for embodiment in the present embodiment, and specific implementation details is identical, repeat no more.
Above-mentioned terminal in the present embodiment retracts in mobile terminal generating system or system upgrade, user voluntarily selectes peace
In the case where dress packet, by judging the application version information of physical layer interface and whether applying the version information of itself or its installation kit
Matching, to determine whether physical layer interface and application itself are compatible, call version information to connect with the bottom when the two is incompatible
The installation kit that mouth matches executes the update of respective application, in this way, on the one hand can effectively solve the upper layer application being likely to occur
It reports an error, collapse and the problems such as dysfunction, improve the compatibility and fault-tolerant ability of application program, while can effectively promote end
The user experience at end.
Terminal can be mobile terminal in the present embodiment.In some implementations, the above-mentioned terminal of the present embodiment can be with
It is in mobile terminal shown in FIG. 1.It should be noted that acquisition module 41 in above-mentioned terminal provided by the present application, judging mould
Block 42, update module 43, first detection module 44, the second detection module 45 can be set in the controller 180 in Fig. 1.
Embodiment three
In the present embodiment, a kind of terminal is provided, comprising: processor and memory, the memory are stored with computer
Executable instruction, the computer executable instructions realize following method when being executed by the processor:
Obtain the first application version information that physical layer interface is supported;
Judge it is described first application version information and the physical layer interface support the first application version information whether
Match;
When the version information of first application and the physical layer interface mismatch, version information and the bottom are called
The installation kit that interface matches executes the update of first application.
In some implementations, when realizing the above method when computer executable instructions are executed by the processor
Executable following operation: whether the operating system for detecting bottom changes;When the operating system changes, obtains and become
First application version information that physical layer interface after more is supported.
In some implementations, when realizing the above method when computer executable instructions are executed by the processor
Executable following operation: judge the first application version information that the version information of first application and the physical layer interface are supported
After whether matching, in the first application version information phase that the version information of first application is supported with the physical layer interface
Timing does not execute any movement.
In some implementations, when realizing the above method when computer executable instructions are executed by the processor
Executable following operation: the start-up operation of the installation kit of detection first application;It is opened in the installation kit of first application
When dynamic, the first application version information that physical layer interface is supported is obtained.
In some implementations, when realizing the above method when computer executable instructions are executed by the processor
Executable following operation: judge the corresponding version information of installation kit of first application and the physical layer interface are supported first
Whether application version information matches;It is supported in the corresponding version information of installation kit of first application and the physical layer interface
When first application version information matches, the update of first application is executed using the installation kit.
Terminal can realize one the method for embodiment in the present embodiment, and specific implementation details is identical, repeat no more.
Above-mentioned terminal in the present embodiment retracts in mobile terminal generating system or system upgrade, user voluntarily selectes peace
In the case where dress packet, by judging the application version information of physical layer interface and whether applying the version information of itself or its installation kit
Matching, to determine whether physical layer interface and application itself are compatible, call version information to connect with the bottom when the two is incompatible
The installation kit that mouth matches executes the update of respective application, in this way, on the one hand can effectively solve the upper layer application being likely to occur
It reports an error, collapse and the problems such as dysfunction, improve the compatibility and fault-tolerant ability of application program, while can effectively promote end
The user experience at end.
In some implementations, terminal can be mobile terminal as shown in Figure 1 in the present embodiment.
Example IV
The present embodiment provides a kind of computer readable storage mediums, are stored with computer executable instructions, the computer
Executable instruction is performed realization following methods:
Obtain the first application version information that physical layer interface is supported;
Judge it is described first application version information and the physical layer interface support the first application version information whether
Match;
When the version information of first application and the physical layer interface mismatch, version information and the bottom are called
The installation kit that interface matches executes the update of first application.
Computer readable storage medium in the present embodiment can be applied in mobile terminal, return in mobile terminal generating system
Move back or system upgrade, user voluntarily select installation kit in the case where, by the application version information and application that judge physical layer interface
Whether the version information of itself or its installation kit matches, not simultaneous in the two to determine whether physical layer interface and application itself are compatible
The installation kit for calling version information and the physical layer interface to match when appearance executes the update of respective application, in this way, on the one hand can
It reports an error with effective upper layer application for being likely to occur of solving, collapse and the problems such as dysfunction, improve the compatibility of application program
And fault-tolerant ability, while can effectively promote the user experience of terminal.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or
The various media that can store program code such as CD.
Optionally, in the present embodiment, processor executes above-mentioned implementation according to program code stored in storage medium
The method and step of example.
Optionally, the specific example in the present embodiment can be with reference to the description in above-described embodiment, and the present embodiment is herein not
It repeats again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes
Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of apply update method characterized by comprising
Obtain the first application version information that physical layer interface is supported;
Judging the first application version information for supporting with the physical layer interface of version information of mounted first application is
No matching;
The first application version information that the version information of mounted first application and the physical layer interface are supported not
Timing, the installation kit for calling version information and the physical layer interface to match execute the update of first application.
2. according to claim 1 apply update method, which is characterized in that the first of the acquisition physical layer interface support answers
With version information, comprising:
Whether the operating system of detection bottom changes;
When the operating system changes, first application version information of the physical layer interface support after obtaining change.
3. according to claim 1 or 2 apply update method, which is characterized in that judge mounted first application
Version information whether matched with the first application version information that the physical layer interface is supported after, further includes:
In the first application version information phase that the version information of mounted first application is supported with the physical layer interface
Timing does not execute any movement.
4. according to claim 1 apply update method, which is characterized in that the first of the acquisition physical layer interface support answers
With version information, comprising:
Detect the start-up operation of the installation kit of first application;
When the installation kit of first application is activated, the first application version information that physical layer interface is supported is obtained.
5. according to claim 1 or 4 apply update method, which is characterized in that
Judging the first application version information for supporting with the physical layer interface of version information of mounted first application is
No matching, comprising: judge that the corresponding version information of installation kit of first application is supported with the physical layer interface first answers
Whether matched with version information;
Judging the first application version information for supporting with the physical layer interface of version information of mounted first application is
After no matching, further includes: the supported in the corresponding version information of installation kit of first application and the physical layer interface
When one application version information matches, the update of first application is executed using the installation kit.
6. a kind of terminal characterized by comprising
Module is obtained, for obtaining the first application version information of physical layer interface support;
Judgment module, for judging that the version information of mounted first application supported with the physical layer interface first answers
Whether matched with version information;
Update module, the first application for being supported in the version information of mounted first application and the physical layer interface
When version information mismatches, the installation kit for calling version information and the physical layer interface to match executes first application more
Newly.
7. terminal according to claim 6, which is characterized in that further include:
Whether first detection module, the operating system for detecting bottom change;When the operating system changes,
It triggers the acquisition module and obtains first application version information that the physical layer interface after change is supported.
8. terminal according to claim 6 or 7, which is characterized in that the update module is also used to mounted described
When the first application version information that the version information and the physical layer interface of first application are supported matches, do not execute any dynamic
Make.
9. terminal according to claim 6, which is characterized in that further include:
Second detection module, the start-up operation of the installation kit for detecting first application;In the installation of first application
When coating starting, the first application version information that physical layer interface is supported is obtained.
10. terminal according to claim 6 or 9, which is characterized in that
The judgment module, specifically for judging the corresponding version information of installation kit and the physical layer interface of first application
Whether the first application version information supported matches;
The update module is also used to support in the corresponding version information of installation kit of first application and the physical layer interface
The first application version information when matching, the update of first application is executed using the installation kit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710026126.XA CN106850976B (en) | 2017-01-13 | 2017-01-13 | Using update method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710026126.XA CN106850976B (en) | 2017-01-13 | 2017-01-13 | Using update method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106850976A CN106850976A (en) | 2017-06-13 |
CN106850976B true CN106850976B (en) | 2019-12-03 |
Family
ID=59123405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710026126.XA Active CN106850976B (en) | 2017-01-13 | 2017-01-13 | Using update method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106850976B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110333880B (en) * | 2018-03-29 | 2024-02-02 | 杭州海康威视数字技术股份有限公司 | Configuration updating method, device, equipment and storage medium |
CN108874418B (en) * | 2018-05-23 | 2022-04-05 | 北京五八信息技术有限公司 | UI component updating method and device, terminal and computer-readable storage medium |
CN109558121B (en) * | 2018-11-26 | 2022-03-11 | 上海达梦数据库有限公司 | Interface driver development method, device, equipment and storage medium |
CN109358899B (en) * | 2018-12-05 | 2021-07-30 | 江苏风云科技服务有限公司 | Method and device for updating resource versions in shared shelf |
CN109753412A (en) * | 2019-01-25 | 2019-05-14 | Oppo广东移动通信有限公司 | Abnormality eliminating method, device, mobile terminal and storage medium |
CN110058896A (en) * | 2019-03-12 | 2019-07-26 | 视联动力信息技术股份有限公司 | A kind of application program launching method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4697001B2 (en) * | 2006-03-28 | 2011-06-08 | Sky株式会社 | Program automatic update system |
CN103118290A (en) * | 2013-02-28 | 2013-05-22 | 北京奇虎科技有限公司 | Detection method, device and system of suitability of program installation |
CN106325891A (en) * | 2015-06-15 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for providing application recommendation during firmware upgrade, server and terminal |
-
2017
- 2017-01-13 CN CN201710026126.XA patent/CN106850976B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4697001B2 (en) * | 2006-03-28 | 2011-06-08 | Sky株式会社 | Program automatic update system |
CN103118290A (en) * | 2013-02-28 | 2013-05-22 | 北京奇虎科技有限公司 | Detection method, device and system of suitability of program installation |
CN106325891A (en) * | 2015-06-15 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for providing application recommendation during firmware upgrade, server and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106850976A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106850976B (en) | Using update method and terminal | |
CN104918208B (en) | Mobile terminal matching method and mobile terminal | |
CN104955023B (en) | A kind of mobile terminal and the method for updating network parameter | |
CN104793929B (en) | Application interface shows the customizing method and device of information | |
CN105306457B (en) | Data buffer storage device and method | |
CN104850443B (en) | A kind of method and mobile terminal for closing error starting application program | |
CN105897995B (en) | A kind of method and apparatus for adding contact information | |
CN105100477B (en) | Terminal notifying device and method | |
CN105764085A (en) | Abnormal electricity consumption detection method and terminal | |
CN104980549A (en) | Information processing method and mobile terminal | |
CN109033263A (en) | A kind of application recommended method and terminal | |
CN105867749B (en) | A kind of menu interface display methods and terminal | |
CN104735254B (en) | terminal screen locking method and system | |
CN106888317B (en) | A kind of interaction processing method, device and terminal | |
CN105827531B (en) | A kind of routing access method and terminal | |
CN105302457B (en) | Terminal control method and device | |
CN105187621B (en) | The method, apparatus and terminal of message notifying | |
CN105100408B (en) | A kind of method and apparatus controlling mobile terminal | |
CN106550133A (en) | Calling identification device and method | |
CN106713645B (en) | A kind of method and mobile terminal of the broadcasting of control loudspeaker | |
CN105704273B (en) | A kind of mask frame and terminal | |
CN105404443B (en) | Using starting method and device | |
CN106303080B (en) | A kind of method and apparatus prompting new information on a display screen | |
CN104915299B (en) | The date storage method and device of multi-memory card | |
CN109165487A (en) | A kind of method, mobile terminal and the computer readable storage medium of face unlock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |