CN106294025A - The method for down loading of a kind of terminal software and device - Google Patents
The method for down loading of a kind of terminal software and device Download PDFInfo
- Publication number
- CN106294025A CN106294025A CN201610670541.4A CN201610670541A CN106294025A CN 106294025 A CN106294025 A CN 106294025A CN 201610670541 A CN201610670541 A CN 201610670541A CN 106294025 A CN106294025 A CN 106294025A
- Authority
- CN
- China
- Prior art keywords
- terminal
- software
- partition table
- backup
- setting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses method for down loading and the device of a kind of terminal software.Described method includes: when detecting that terminal software download event is triggered, it is judged that whether the current software of terminal meets sets backup condition;If meeting, then generate the backup file of described current software, and determine the title of described backup file according to the identification information of terminal;When to terminal downloads software, according to backing up file described in the name acquiring of described backup file and downloading in terminal.The technical scheme that the embodiment of the present invention provides, by before terminal downloads software, the title of backup file is determined according to the identification information that can uniquely identify this terminal, so that when to terminal downloads software, and can download in terminal according to backing up file described in the name acquiring of described backup file, it is thus possible to realize multiport parallel backup and download, optimize the download technology of existing terminal software, improve download efficiency and the accuracy of terminal software.
Description
Technical field
The present embodiments relate to communication technical field, particularly relate to method for down loading and the device of a kind of terminal software.
Background technology
In the exploitation and production process of the terminal as a example by mobile phone, need the storage of the software download of mobile phone to mobile phone
In device.The software of described mobile phone can be regarded as the system file of mobile phone, and described software generally comprises partition table and each subregion
Mirror image, described partition table is the data structure containing the information such as the size of multiple subregion, address.Start process at mobile phone
In, first pass through reading partition table, obtain each subregion according to size and the address data memory of each subregion in partition table
Data.
But, when mobile phone development or production, often encounter the situation of change partition table, the quantity of such as subregion occurs
The size of change or subregion occurs change that partition table all can be caused to change.Partition table is changed, and be bound to the number in subregion to be affected
According to, then typically first the data in this subregion are backed up when to mobile phone-downloaded software.General one is produced on line at mobile phone
Individual terminal software download equipment has multiple port, and each port can connect a mobile phone, and terminal software download equipment can be every
Secondary passing through a port to separate unit mobile phone-downloaded software or Backup Data, the download efficiency that the backup of this separate unit is downloaded is relatively low;Or
Person can also use multiple port simultaneously to multiple stage mobile phone-downloaded and Backup Data by port numbers association mobile phone, but so can
When port numbers is changed, cause the Backup Data backuping in mobile phone to be probably in other mobile phones, reduce Backup Data and obtain
The accuracy taken.
Summary of the invention
The embodiment of the present invention provides method for down loading and the device of a kind of terminal software, to optimize under existing terminal software
Carrier technology, promotes download efficiency and the accuracy of terminal software.
In first aspect, embodiments provide the method for down loading of a kind of terminal software, including:
When detecting that terminal software download event is triggered, it is judged that whether the current software of terminal meets sets backup bar
Part;
If meeting, then generate the backup file of described current software, and determine described backup according to the identification information of terminal
The title of file;
When to terminal downloads software, according to backing up file described in the name acquiring of described backup file and downloading to terminal
On.
In second aspect, embodiments provide the download apparatus of a kind of terminal software, including:
Set backup conditional judgment module, for when detecting that terminal software download event is triggered, it is judged that terminal
Whether current software meets sets backup condition;
Backup file generating module, if for meeting, then generating the backup file of described current software, and according to terminal
Identification information determines the title of described backup file;
Backup file download module, for when to terminal downloads software, according to the name acquiring institute of described backup file
State backup file and download in terminal.
The embodiment of the present invention is by before terminal downloads software, according to the identification information that can uniquely identify this terminal
Determine the title of backup file, so that when to terminal downloads software, can be according to described in the name acquiring of described backup file
Backup file also downloads in terminal such that it is able to realizes multiport parallel backup and downloads, optimizing existing terminal software
Download technology, improve download efficiency and the accuracy of terminal software.
Accompanying drawing explanation
Fig. 1 is the flow chart of the method for down loading of the terminal software that the embodiment of the present invention one provides;
Fig. 2 is the flow chart of the method for down loading of the terminal software that the embodiment of the present invention two provides;
Fig. 3 is the flow chart of the method for down loading of the terminal software that the embodiment of the present invention three provides;
Fig. 4 is the structural representation of the download apparatus of the terminal software that the embodiment of the present invention four provides;
Fig. 5 is the structural representation of the terminal software download equipment that the embodiment of the present invention five provides.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, reality concrete to the present invention below in conjunction with the accompanying drawings
Execute example to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention,
Rather than limitation of the invention.It also should be noted that, for the ease of describing, accompanying drawing illustrate only related to the present invention
Part rather than full content.It should be mentioned that, some exemplary realities before being discussed in greater detail exemplary embodiment
Execute process or method that example is described as describing as flow chart.Although operations (or step) is described as order by flow chart
Process, but many of which operation can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of operations
Can be rearranged.The most described process can be terminated, and is not included in accompanying drawing it is also possible to have
Additional step.Described process can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 gives the flow chart of the method for down loading of the terminal software that the embodiment of the present invention one provides, the side of the present embodiment
Method can be performed by the download apparatus of terminal software, and this device can realize by the way of hardware and/or software, described device
Described terminal software download device interior can be arranged on as a part for terminal software download equipment.
As it is shown in figure 1, the method for down loading of terminal software that the present embodiment provides specifically includes following steps:
Step 101, when detecting that terminal software download event is triggered, it is judged that whether the current software of terminal meets and sets
Surely back up condition, the most then perform step 102, otherwise perform step 104.
Exemplary, after terminal is connected with terminal software download equipment, terminal software download equipment receive described
Triggering terminal software download event when the software download of terminal is asked, or terminal software download equipment actively triggering terminal software
Download event.Wherein, described terminal software download equipment including but not limited to desktop computer, notebook etc., described terminal bag
Include but be not limited to the equipment such as mobile phone, panel computer.
Wherein, the software of terminal described in this step can be to download for the first time, it is also possible to is under n-th (N is more than 1)
Carrying, this is not limited by the present embodiment.
Step 102, generate the backup file of described current software, and determine described backup literary composition according to the identification information of terminal
The title of part.
If the current software of terminal meets backup condition, then generate the backup file of described current software.
Wherein, the identification information of described terminal is the information that can uniquely identify this terminal.
The described identification information according to terminal determines that the title of described backup file specifically may include that according to described terminal
Hardware identifier information and the title of subregion to be backed up, determine the title of described backup file, described hardware identifier information bag
Include embedded memory (Embedded Multi Media Card, EMMC) serial number and/or central processing unit (Central
Processing Unit, CPU) serial number.
Exemplary, get in-line memory Serial No. 485dd30c of terminal, subregion to be backed up entitled
Dynamic_nvbk.bin, then may determine that the entitled 485dd30c_dynamic_nvbk.bin of backup file.Enter one
Step, for the safety of end message, this terminal hardware information can not be directly displayed, but the name to described backup file
It is referred to as and converts further, such as by 485dd30c_dynamic_nvbk.bin by Message Digest 5 (Message-
Digest Algorithm 5, MD5) algorithm, generate and uniquely back up file name
0ABD773064EAA17DC1383F345E78E9AD。
This step by determining the title of described backup file according to the identification information of terminal, so that this backup file
Only match with present terminal, owing to backup file and terminal are one to one, can be follow-up when to terminal downloads software,
Title according to described backup file finds the backup file mated with this terminal and downloads to, in terminal, solve prior art
In by port numbers association mobile phone use multiple port simultaneously to multiple stage mobile phone-downloaded and Backup Data time, port numbers change
Time, cause the Backup Data backuping in mobile phone to be probably the problem backing up file of other mobile phones, be truly realized terminal soft
The multiport parallel backup of body and download, improve accuracy and the effect of terminal software download that terminal software Backup Data obtains
Rate and accuracy.
Step 103, when to terminal downloads software, according to described in the name acquiring of described backup file back up file and under
It is downloaded in terminal.
Terminal software download equipment to terminal downloads software time, according to the title of described backup file from this terminal software
The backup file of at least one terminal that download equipment is backed up out obtains the backup file of this terminal software, and downloads to
In this terminal.
When to terminal downloads software, can be when downloading to the part backing up subregion, the backup file that will get
Download in terminal, it is also possible to for download software start time, first by described backup file download to terminal, it is also possible to for
When other parts of terminal software have been downloaded, by described backup file download to terminal, this is not limited by the present embodiment
System, accordingly, described obtain backup file opportunity can be terminal software download process before and after or during any time.
Step 104, directly by terminal software download to described terminal.
If the current software of terminal is unsatisfactory for setting backup condition, then without backing up the partition table in current software and subregion
Data, directly by terminal software download to be downloaded to described terminal.
The method for down loading of terminal software that the present embodiment provides, by before terminal downloads software, according to can be only
One identification information identifying this terminal determines the title of backup file, so that when to terminal downloads software, can be according to described
Back up file described in the name acquiring of backup file and also download in terminal such that it is able to realize multiport parallel backup and under
Carry, optimize the download technology of existing terminal software, improve download efficiency and the accuracy of terminal software.
Embodiment two
Fig. 2 gives the flow chart of the method for down loading of the terminal software that the embodiment of the present invention two provides.More than the present embodiment
It is optimized based on stating embodiment one.In the present embodiment, will " when detecting that terminal software download event is triggered, institute
State and judge whether the current software of terminal meets setting backup condition " specifically it is optimized for: when terminal software download event being detected
When being triggered, it is judged that whether the information setting crucial subregion set in crucial partition table in the current software of terminal becomes
Change;If changing, it is determined that current software meets setting backup condition.
Accordingly, as in figure 2 it is shown, the method that the present embodiment provides comprises the following steps:
Step 201, when detecting that terminal software download event is triggered, it is judged that setting in the current software of terminal is closed
Whether the information setting crucial subregion in key partition table changes, if changing, then performs step 202, otherwise performs
Step 204.
Wherein, the described key partition table that sets, as crucial partition table set in advance, is specifically as follows and comprises setting key
The partition table of the information of subregion, described setting key subregion includes the subregion for storing system calibration parameter, and described setting is closed
The information of key subregion includes setting the information such as address and the size of crucial subregion.Wherein, described system calibration parameter includes terminal
Some calibration parameters of middle hardware, such as, modem calibration parameter, bluetooth module calibration parameter, rotating camera calibration
Parameter, pick up calibration parameter etc..
Step 202, generate the backup file of described current software, and determine described backup literary composition according to the identification information of terminal
The title of part.
If the information setting crucial subregion set in crucial partition table in the current software of terminal changes, then described
Current software meets backup condition, generates the backup file of described current software.
Wherein, the backup file of the described current software of described generation specifically may include that the setting of described current software
The data genaration backup file of crucial partition table and the crucial subregion of setting.
Having system calibration parameter owing to setting storage in crucial subregion, these data are more special, are through production line school
Quasi-generation, changing if setting the crucial partition information (including address and size) of setting in crucial partition table, having at two kinds
Reason method: the first is constant by the mode of production before, will have changed the new software download of the described information setting crucial subregion
In terminal, calibrate the most again;Its two be the data backup by setting crucial subregion out, download terminal software time
Wait, will go on the address after the data recording setting crucial subregion of backup to change.This step preferred the second processing mode.
Step 203, when to terminal downloads software, according to described in the name acquiring of described backup file back up file and under
It is downloaded in terminal.
Step 204, directly by terminal software download to described terminal.
If the information setting crucial subregion set in crucial partition table in the current software of terminal does not change,
Then without backing up the partition table in current software and partition data, directly by terminal software download to be downloaded to described terminal
On.
The method that the present embodiment provides, by before terminal downloads software, if detecting in the current software of terminal
The information setting crucial subregion set in crucial partition table changes, then generate the backup file of described current software, and
The title of backup file is determined according to the identification information that can uniquely identify this terminal, so that when to terminal downloads software, can
To back up file described in the name acquiring according to described backup file and to download in terminal such that it is able to realize multiport parallel
Backup and download, optimize the download technology of existing terminal software, improve download efficiency and the accuracy of terminal software.
Embodiment three
Fig. 3 gives the flow chart of the method for down loading of the terminal software that the embodiment of the present invention three provides.More than the present embodiment
It is optimized based on stating embodiment one, will be " when detecting that terminal software download event is triggered, it is judged that terminal the softest
Whether body meets sets backup condition ", specifically it is optimized for: when detecting that terminal software download event is triggered, reading terminals
The partition table information of current software;If the partition table of described current software is empty, it is determined that current software is unsatisfactory for setting standby
Part condition;If the partition table of described current software is not empty, and the quantity of described partition table is less than setting value, it is determined that the softest
Body is unsatisfactory for setting backup condition;If the partition table of described current software is not empty, and the quantity of described partition table more than or
Equal to setting value, then the partition table quantity in described current software is with the partition table quantity in the software of terminal to be downloaded not
Partition table quantity simultaneously or in described current software is identical with the partition table quantity in the software of terminal to be downloaded but deposits
When partition table content difference, it is judged that the information setting crucial subregion set in crucial partition table in the current software of terminal
Whether change, if changing, it is determined that current software meets setting backup condition.
Accordingly, as it is shown on figure 3, the method that the present embodiment provides comprises the following steps:
Step 301, when detecting that terminal software download event is triggered, the partition table of the current software of reading terminals letter
Breath.
Whether step 302, the partition table judging described current software are empty, the most then perform step 303, otherwise perform
Step 304.
If the partition table of described current software is empty, then it is assumed that the terminal disk of carrying terminal software is original state, also
Do not downloaded software, then without backing up the partition table in current software, i.e. current software is unsatisfactory for setting backup condition.
Step 303, determine current software be unsatisfactory for set backup condition.
Step 304, judge that the quantity of described partition table whether less than setting value, the most then performs step 303, otherwise holds
Row step 305.
Wherein, the span of described setting value can be 5-10, if the quantity of described partition table is less than setting value, then
Software may be downloaded before present terminal is described, but do not downloaded complete, still think that present terminal was in original state, i.e.
Current software is unsatisfactory for setting backup condition.
Step 305, partition table quantity in described current software and the partition table number in the software of terminal to be downloaded
Partition table quantity when amount is different or in described current software is identical with the partition table quantity in the software of terminal to be downloaded
But when there is partition table content difference, it is judged that the crucial subregion of the setting set in crucial partition table in the current software of terminal
Whether information changes, if changing, then performs step 306, otherwise performs step 303.
Step 306, determine current software meet set backup condition.
Step 307, generate the backup file of described current software, and determine described backup literary composition according to the identification information of terminal
The title of part.
Step 308, when to terminal downloads software, according to described in the name acquiring of described backup file back up file and under
It is downloaded in terminal.
Embodiment four
The structured flowchart of the download apparatus of the terminal software that Fig. 4 provides for the embodiment of the present invention four, this device can be by software
And/or hardware realizes, it is typically integrated in terminal software download equipment, can download by performing the method for down loading of terminal software
With back-up terminals software.As shown in Figure 4, this device includes setting backup conditional judgment module 41, backup file generating module 42
With backup file download module 43.
Described setting backs up conditional judgment module 41, for when detecting that terminal software download event is triggered, it is judged that
Whether the current software of terminal meets sets backup condition;
Backup file generating module 42, if for meeting, then generating the backup file of described current software, and according to terminal
Identification information determine the title of described backup file;
Backup file download module 43, for when to terminal downloads software, according to the name acquiring of described backup file
Described backup file also downloads in terminal.
The technical scheme that the present embodiment provides, by before terminal downloads software, according to can uniquely identify this end
The identification information of end determines the title of backup file, so that when to terminal downloads software, can be according to described backup file
Back up file described in name acquiring and download in terminal such that it is able to realize multiport parallel backup and download, optimizing existing
The download technology of some terminal softwares, improves download efficiency and the accuracy of terminal software.
On the basis of the various embodiments described above, described set backup conditional judgment module specifically for:
When detecting that terminal software download event is triggered, it is judged that the setting key partition table in the current software of terminal
In the information setting crucial subregion whether change;
If changing, it is determined that current software meets setting backup condition.
On the basis of the various embodiments described above, described backup file generating module generates the backup file of described current software
Particularly as follows:
Setting described current software crucial partition table and setting the data genaration backup file of crucial subregion.
On the basis of the various embodiments described above, described backup file generating module determines described according to the identification information of terminal
Backup file title particularly as follows:
Hardware identifier information according to described terminal and the title of subregion to be backed up, determine the name of described backup file
Claiming, described hardware identifier information includes embedded memory serial number and/or central processing unit serial number.
On the basis of the various embodiments described above, the described key subregion that sets includes for storing dividing of system calibration parameter
District.
On the basis of the various embodiments described above, described set backup conditional judgment module specifically for:
When detecting that terminal software download event is triggered, the partition table information of the current software of reading terminals;
If the partition table of described current software is empty, it is determined that current software is unsatisfactory for setting backup condition;
If the partition table of described current software is not empty, and the quantity of described partition table is less than setting value, it is determined that current
Software is unsatisfactory for setting backup condition;
If the partition table of described current software is not empty, and the quantity of described partition table is more than or equal to setting value, then
When partition table quantity in described current software is different from the partition table quantity in the software of terminal to be downloaded or described
Partition table quantity in current software is identical with the partition table quantity in the software of terminal to be downloaded but there is partition table content
Time different, it is judged that whether the information setting crucial subregion set in crucial partition table in the current software of terminal becomes
Change, if changing, it is determined that current software meets setting backup condition.
The download apparatus of the terminal software that the embodiment of the present invention provides can perform the terminal that any embodiment of the present invention provides
The method for down loading of software, possesses the corresponding functional module of execution method and beneficial effect.
Embodiment five
The structural representation of the terminal software download equipment that Fig. 5 provides for the embodiment of the present invention five, under described terminal software
Load equipment includes the structure of the download apparatus of the terminal software that embodiment four provided.In one implementation under terminal software
Load equipment can be desktop computer, notebook etc..Described terminal software download equipment 5 can include communication unit 51, include
The memorizer 52 of at least one computer-readable recording medium, input block 53, display unit 54, sensor 55, voicefrequency circuit
56, WIFI (Wireless Fidelity, Wireless Fidelity) module 57, include at least one process core processor 58, with
And the parts such as power supply 59.It will be understood by those skilled in the art that the terminal software download device structure shown in figure is not intended that
Restriction to terminal software download equipment, can include that ratio illustrates more or less of parts, or combine some parts, or
Different parts are arranged.Concrete:
Communication unit 51 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, and this communication unit 51 can
Think RF (Radio Frequency, radio frequency) circuit, router, modem, etc. network communication equipment.Especially, when logical
Letter unit 51 is when be RF circuit, after the downlink information reception of base station, transfers to one or more than one processor 58 processes;Separately
Outward, it is sent to base station by relating to up data.Antenna, at least is included but not limited to usually as the RF circuit of communication unit
One amplifier, tuner, one or more agitator, subscriber identity module (SIM) card, transceiver, bonder, LNA
(Low Noise Amplifier, low-noise amplifier), duplexer etc..Additionally, communication unit 51 can also pass through radio communication
Communicate with network and other equipment.Described radio communication can use arbitrary communication standard or agreement, includes but not limited to GSM
(Global System of Mobile communication, global system for mobile communications), GPRS (General Packet
Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA),
WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term
Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..Memorizer
52 can be used for storing software program and module, and processor 58 is stored in software program and the mould of memorizer 52 by operation
Block, thus perform the application of various function and data process.Memorizer 52 can mainly include storing program area and storage data field,
Wherein, storage program area can store application program (the such as sound-playing function, figure needed for operating system, at least one function
As playing function etc.) etc.;Storage data field can store data (the such as sound that the use according to terminal software download equipment is created
Frequency evidence) etc..Additionally, memorizer 52 can include high-speed random access memory, it is also possible to include nonvolatile memory, example
Such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer 52 also may be used
To include Memory Controller, to provide processor 58 and the input block 53 access to memorizer 52.
Input block 53 can be used for receiving numeral or the character information of input, and produces and user setup and function control
It is shaped with the keyboard of pass, mouse, action bars, optics or the input of trace ball signal.Preferably, input block 53 can include touch-sensitive table
Face 531 and other input equipments 532.Touch sensitive surface 531, also referred to as touches display screen or Trackpad, can collect user and exist
(such as user uses any applicable object such as finger, stylus or adnexa at Touch sensitive surface 531 in touch operation on or near it
Operation above or near Touch sensitive surface 531), and drive corresponding attachment means according to formula set in advance.Optionally, touch
Sensitive surfaces 531 can include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detection user's is tactile
Touch orientation, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller is from touching detection dress
Put reception touch information, and be converted into contact coordinate, then give processor 58, and the life that processor 58 is sent can be received
Order is also performed.Furthermore, it is possible to use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive
Surface 531.Except Touch sensitive surface 531, input block 53 can also include other input equipments 532.Preferably, other inputs set
Standby 532 can include but not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus
One or more in mark, action bars etc..
Display unit 54 can be used for showing under the information inputted by user or the information being supplied to user and terminal software
The various graphical user interface of load equipment, these graphical user interface can be by figure, text, icon, video and its any group
Incompatible composition.Display unit 54 can include display floater 541, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode)
Configure display floater 541.Further, Touch sensitive surface 531 can cover display floater 541, when Touch sensitive surface 531 detects
After touch operation on or near it, send processor 58 to determine the type of touch event, with preprocessor 58 according to touching
The type touching event provides corresponding visual output on display floater 541.Although in Figure 5, Touch sensitive surface 531 and display surface
Plate 541 is to realize input and input function as two independent parts, but in some embodiments it is possible to by touch-sensitive table
Face 531 is integrated with display floater 541 and realizes input and output function.
Described terminal software download equipment may also include at least one sensor 55, such as optical sensor, motion sensor
And other sensors.Optical sensor can include ambient light sensor and proximity transducer, and wherein, ambient light sensor can basis
The light and shade of ambient light regulates the brightness of display floater 541;Terminal software download equipment can also configure gyroscope, barometer,
Other sensors such as drimeter, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 56, speaker 561, microphone 562 can provide the audio frequency between user and terminal software download equipment
Interface.The signal of telecommunication after the voice data conversion that voicefrequency circuit 56 can will receive, is transferred to speaker 561, by speaker 561
Be converted to acoustical signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 562, by voicefrequency circuit
56 receive after be converted to voice data, then after being processed by voice data output processor 58, through RF circuit 51 to be sent to such as
Another terminal software download equipment, or voice data is exported to memorizer 52 to process further.Voicefrequency circuit 56 is also
Potentially include earphone jack, to provide the communication of peripheral hardware earphone and terminal software download equipment.
In order to realize radio communication, this first terminal software download equipment can be configured with wireless communication unit 57, should
Wireless communication unit 57 can be WIFI module.WIFI belongs to short range wireless transmission technology, and terminal software download equipment passes through
Wireless communication unit 57 can help user to send and receive e-mail, browse webpage and access streaming video etc., and it provides the user
Wireless broadband internet accesses.
Processor 58 may utilize various interface and the various piece of the whole mobile phone of connection, by running or performing storage
Software program in memorizer 52 and/or module, and call the data being stored in memorizer 52, perform under terminal software
The various functions of load equipment and process data, thus terminal software download equipment is carried out integral monitoring.Optionally, processor 58
One or more process core can be included;Preferably, processor 58 can integrated application processor and modem processor, its
In, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes wireless
Communication.It is understood that above-mentioned modem processor can not also be integrated in processor 58.
Terminal software download equipment also includes the power supply 59 (such as battery) powered to all parts, it is preferred that power supply can
With logically contiguous with processor 58 by power-supply management system, thus by power-supply management system realize management charging, electric discharge, with
And the function such as power managed.Power supply 59 can also include one or more direct current or alternating current power supply, recharging system, electricity
Source failure detector circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
It should be noted that terminal software download equipment can also include photographic head, bluetooth module etc., the most superfluous at this
State.
In the present embodiment, processor 58 has a following function:
When detecting that terminal software download event is triggered, it is judged that whether the current software of terminal meets sets backup bar
Part;
If meeting, then generate the backup file of described current software, and determine described backup according to the identification information of terminal
The title of file;
When to terminal downloads software, according to backing up file described in the name acquiring of described backup file and downloading to terminal
On.
Above-mentioned terminal software download equipment can perform the method that any embodiment of the present invention is provided, and possesses execution method phase
The functional module answered and beneficial effect.The ins and outs of the most detailed description, can be found in the present invention the most real
Execute the method for down loading of the terminal software that example is provided.
Above are only presently preferred embodiments of the present invention and the know-why used.The invention is not restricted to spy described here
Determine embodiment, the various significant changes that can carry out for a person skilled in the art, readjust and substitute all without departing from
Protection scope of the present invention.Therefore, although by above example, the present invention is described in further detail, but this
Bright it is not limited only to above example, without departing from the inventive concept, it is also possible to include that other equivalences more are implemented
Example, and the scope of the present invention is determined by the scope of claim.
Claims (12)
1. the method for down loading of a terminal software, it is characterised in that including:
When detecting that terminal software download event is triggered, it is judged that whether the current software of terminal meets sets backup condition;
If meeting, then generate the backup file of described current software, and determine described backup file according to the identification information of terminal
Title;
When to terminal downloads software, according to backing up file described in the name acquiring of described backup file and downloading in terminal.
Method the most according to claim 1, it is characterised in that when detecting that terminal software download event is triggered, sentence
Whether the current software of disconnected terminal meets setting backup condition includes:
When detecting that terminal software download event is triggered, it is judged that setting in crucial partition table in the current software of terminal
Whether the information setting crucial subregion changes;
If changing, it is determined that current software meets setting backup condition.
Method the most according to claim 2, it is characterised in that the backup file of the described current software of described generation includes:
Setting described current software crucial partition table and setting the data genaration backup file of crucial subregion.
Method the most according to claim 1, it is characterised in that the described identification information according to terminal determines described backup literary composition
The title of part includes:
Hardware identifier information according to described terminal and the title of subregion to be backed up, determine the title of described backup file, institute
State hardware identifier information and include embedded memory serial number and/or central processing unit serial number.
Method the most according to claim 3, it is characterised in that described setting key subregion includes for storing system calibration
The subregion of parameter.
Method the most according to claim 1, it is characterised in that described when detecting that terminal software download event is triggered
Time, it is judged that whether the current software of terminal meets setting backup condition includes:
When detecting that terminal software download event is triggered, the partition table information of the current software of reading terminals;
If the partition table of described current software is empty, it is determined that current software is unsatisfactory for setting backup condition;
If the partition table of described current software is not empty, and the quantity of described partition table is less than setting value, it is determined that current software
It is unsatisfactory for setting backup condition;
If the partition table of described current software is not empty, and the quantity of described partition table is more than or equal to setting value, then in institute
State the partition table quantity in current software different from the partition table quantity in the software of terminal to be downloaded time or described currently
Partition table quantity in software is identical from the partition table quantity in the software of terminal to be downloaded but to there is partition table content different
Time, it is judged that whether the information setting crucial subregion set in crucial partition table in the current software of terminal changes, if
Change, it is determined that current software meets setting backup condition.
7. the download apparatus of a terminal software, it is characterised in that including:
Set backup conditional judgment module, for when detecting that terminal software download event is triggered, it is judged that terminal current
Whether software meets sets backup condition;
Backup file generating module, if for meeting, then generating the backup file of described current software, and according to the mark of terminal
Information determines the title of described backup file;
Backup file download module, for when to terminal downloads software, according to standby described in the name acquiring of described backup file
Part file also downloads in terminal.
Device the most according to claim 7, it is characterised in that described setting backup conditional judgment module specifically for:
When detecting that terminal software download event is triggered, it is judged that setting in crucial partition table in the current software of terminal
Whether the information setting crucial subregion changes;
If changing, it is determined that current software meets setting backup condition.
Device the most according to claim 8, it is characterised in that described backup file generating module generates described current software
Backup file particularly as follows:
Setting described current software crucial partition table and setting the data genaration backup file of crucial subregion.
Device the most according to claim 7, it is characterised in that described backup file generating module is according to the mark of terminal
Information determine described backup file title particularly as follows:
Hardware identifier information according to described terminal and the title of subregion to be backed up, determine the title of described backup file, institute
State hardware identifier information and include embedded memory serial number and/or central processing unit serial number.
11. devices according to claim 9, it is characterised in that described setting key subregion includes for storing system school
The subregion of quasi-parameter.
12. devices according to claim 7, it is characterised in that described setting backup conditional judgment module specifically for:
When detecting that terminal software download event is triggered, the partition table information of the current software of reading terminals;
If the partition table of described current software is empty, it is determined that current software is unsatisfactory for setting backup condition;
If the partition table of described current software is not empty, and the quantity of described partition table is less than setting value, it is determined that current software
It is unsatisfactory for setting backup condition;
If the partition table of described current software is not empty, and the quantity of described partition table is more than or equal to setting value, then in institute
State the partition table quantity in current software different from the partition table quantity in the software of terminal to be downloaded time or described currently
Partition table quantity in software is identical from the partition table quantity in the software of terminal to be downloaded but to there is partition table content different
Time, it is judged that whether the information setting crucial subregion set in crucial partition table in the current software of terminal changes, if
Change, it is determined that current software meets setting backup condition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610670541.4A CN106294025B (en) | 2016-08-15 | 2016-08-15 | Method and device for downloading terminal software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610670541.4A CN106294025B (en) | 2016-08-15 | 2016-08-15 | Method and device for downloading terminal software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106294025A true CN106294025A (en) | 2017-01-04 |
CN106294025B CN106294025B (en) | 2020-01-14 |
Family
ID=57671346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610670541.4A Expired - Fee Related CN106294025B (en) | 2016-08-15 | 2016-08-15 | Method and device for downloading terminal software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106294025B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110737718A (en) * | 2018-07-18 | 2020-01-31 | 杭州海康威视***技术有限公司 | Data backup method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050022176A1 (en) * | 2003-07-24 | 2005-01-27 | International Business Machines Corporation | Method and apparatus for monitoring compatibility of software combinations |
CN1595366A (en) * | 2004-07-06 | 2005-03-16 | 天津百维软件科技有限公司 | A memory-space saving multi-computer system sharing backup method |
CN103176824A (en) * | 2013-03-15 | 2013-06-26 | 青岛海信移动通信技术股份有限公司 | System upgrade method and system upgrade device |
CN104714811A (en) * | 2013-12-13 | 2015-06-17 | 中兴通讯股份有限公司 | Method and device for manufacturing difference upgrade package and system difference upgrade method and device |
-
2016
- 2016-08-15 CN CN201610670541.4A patent/CN106294025B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050022176A1 (en) * | 2003-07-24 | 2005-01-27 | International Business Machines Corporation | Method and apparatus for monitoring compatibility of software combinations |
CN1595366A (en) * | 2004-07-06 | 2005-03-16 | 天津百维软件科技有限公司 | A memory-space saving multi-computer system sharing backup method |
CN103176824A (en) * | 2013-03-15 | 2013-06-26 | 青岛海信移动通信技术股份有限公司 | System upgrade method and system upgrade device |
CN104714811A (en) * | 2013-12-13 | 2015-06-17 | 中兴通讯股份有限公司 | Method and device for manufacturing difference upgrade package and system difference upgrade method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110737718A (en) * | 2018-07-18 | 2020-01-31 | 杭州海康威视***技术有限公司 | Data backup method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106294025B (en) | 2020-01-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103327102B (en) | A kind of method and apparatus recommending application program | |
CN104636047B (en) | The method, apparatus and touch screen terminal operated to the object in list | |
CN106502906B (en) | A kind of method and apparatus of test application program | |
CN105404585A (en) | Method and apparatus for acquiring code coverage rate | |
CN106502703B (en) | Function calling method and device | |
CN104298558B (en) | Information processing method and device | |
US11108955B2 (en) | Mobile terminal-based dual camera power supply control method, system and mobile terminal | |
CN104243671A (en) | Volume adjustment method and device and electronic device | |
CN104965722B (en) | A kind of method and device of display information | |
CN105278937A (en) | Method and device for displaying pop-up box messages | |
CN104142868A (en) | Connection establishment method and device | |
CN104717341A (en) | Message prompting method and terminal | |
CN107145386B (en) | Data migration method, terminal device and computer readable storage medium | |
CN103197944B (en) | Method for determining performance of process of application program and computer system | |
CN105278925B (en) | The method and device of rubbish removing is carried out to the software of unloading | |
CN110830127B (en) | Radio frequency parameter processing method and device, mobile terminal and storage medium | |
CN104363590A (en) | Access point connection method and device | |
CN106332023A (en) | Unread information display method and device, and mobile terminal | |
CN106708555B (en) | A kind of method and apparatus loading plug-in unit | |
CN105302589B (en) | A kind of method and device obtaining unloading information | |
CN103631592A (en) | Configuration method, calling method, device and equipment for displaying resources | |
US20160314036A1 (en) | Method and Apparatus for Repairing Dynamic Link Library File | |
CN106371896B (en) | Virutal machine memory configuration method and device, mobile terminal | |
CN104951324A (en) | Method and device for acquiring application calling relation table | |
CN106933626B (en) | Application association method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200114 |