CN108228230A - Upgrade method, terminal and the computer readable storage medium of UFS firmwares - Google Patents
Upgrade method, terminal and the computer readable storage medium of UFS firmwares Download PDFInfo
- Publication number
- CN108228230A CN108228230A CN201711472783.3A CN201711472783A CN108228230A CN 108228230 A CN108228230 A CN 108228230A CN 201711472783 A CN201711472783 A CN 201711472783A CN 108228230 A CN108228230 A CN 108228230A
- Authority
- CN
- China
- Prior art keywords
- ufs
- firmwares
- firmware
- current
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- 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
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of upgrade method of UFS firmwares, terminal and computer readable storage medium, the upgrade method of the UFS firmwares include:Obtain the UFS firmware informations that terminal presets current UFS firmwares used in profile information and terminal in subregion;The profile information and UFS firmware informations are compared, judge whether current UFS firmwares are UFS firmwares to be upgraded;If current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, to upgrade to current UFS firmwares.Profile information and upgrade file are arranged in default subregion by this programme, when judging that current UFS firmwares need upgrading by profile information, it can be upgraded by upgrade file, it avoids solely in order to UFS, firmware or terminal software are upgraded, cost of human and material resources are saved, improve upgrading efficiency.
Description
Technical field
The present invention relates to intelligent terminal technical field more particularly to a kind of upgrade method, terminal and the computers of UFS firmwares
Readable storage medium storing program for executing.
Background technology
With the continuous development of memory technology, UFS (Universal Flash Storage, Common Flash Memory storage) conduct
A kind of relatively new type storage medium, frequency of use are higher and higher in the terminals such as mobile phone, tablet computer.Wherein storage have firmware (
That is Firmware), when firmware starts a leak (bug), it is necessary to upgrade the firmware to new version, to be repaired to bug.
If solely in order to UFS, and upgrading the firmware, need to put into a large amount of manpower and download the tool of firmware.And in order to save
Manpower and materials can be incorporated into UFS firmware new versions in cell phone software, by way of changing terminal software come to bug into
Row is repaired.The complete terminal software of terminal downloads can do the firmware upgrade of UFS in booting, but when there is new bug, need upgrading solid
During part, then need to remodify software again, compile new terminal software and test, need the human cost put into big.
Invention content
It is a primary object of the present invention to provide a kind of upgrade method, terminal and the computer-readable storage medium of UFS firmwares
Matter, it is intended to solve the problems, such as that the required manpower and materials of UFS firmware upgrades are of high cost in the prior art.
To achieve the above object, the upgrade method of a kind of UFS firmwares provided by the invention, the upgrading side of the UFS firmwares
Method includes the following steps:
Obtain the UFS firmwares that terminal presets current UFS firmwares used in profile information and terminal in subregion
Information;
The profile information and UFS firmware informations are compared, judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part;
If current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, to consolidate to current UFS
Part is upgraded.
Optionally, it is described obtain terminal and preset current UFS used in profile information and terminal in subregion consolidate
The step of UFS firmware informations of part, includes:
Detection terminal is preset in subregion with the presence or absence of configuration file, when terminal is preset in subregion there are during configuration file, is obtained
Take the current of current UFS firmwares used in firmware configuration model and firmware configuration version number and the terminal in configuration file
Firmware model and current version of firmware number.
Optionally, it is described to compare the profile information and UFS firmware informations, judge current UFS firmwares whether be
The step of UFS firmwares to be upgraded, includes:
Firmware configuration model and current firmware model are compared, when firmware configuration model is consistent with current firmware model,
Firmware configuration version number and current version of firmware number are compared, to judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part.
Optionally, it is described to compare firmware configuration version number and current version of firmware number, to judge current UFS firmwares
The step of whether being UFS firmwares to be upgraded, includes:
Firmware configuration version number and current version of firmware number are compared, when firmware configuration version number and current version of firmware number
When inconsistent, the version number to be upgraded being configured in configuration file is determined;
Judge whether current version of firmware number is version number to be upgraded, if current version of firmware number is version number to be upgraded
When, it is UFS firmwares to be upgraded to judge current UFS firmwares.
Optionally, if the current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, with
The step of upgrading to current UFS firmwares includes:
If current UFS firmwares are UFS firmwares to be upgraded, judge to whether there is upgrade file in default subregion;
When there are during upgrade file, obtain the upgrade file, and according to the upgrade file to current in default subregion
UFS firmwares are upgraded.
Optionally, include before the step of acquisition terminal presets the profile information in subregion:
More new command is received, and configuration file and upgrade file are downloaded to by default subregion according to more new command.
Optionally, the step of profile information and upgrade file are downloaded to default subregion by the basis more new command
Include later:
When detecting that terminal system receives enabled instruction, execution acquisition terminal presets the profile information in subregion
The step of.
Optionally, include after described the step of upgrading to current UFS firmwares:
Judge whether current UFS firmware upgrades succeed, it is current used in terminal if current UFS firmware upgrades success
UFS firmware version upgrades are new version;
If current UFS firmware upgrades failure, terminal are continuing with current UFS firmware versions.
In addition, to achieve the above object, the present invention also proposes a kind of upgrading terminals of UFS firmwares, the liter of the UFS firmwares
Grade terminal includes:Memory, processor, communication bus and the upgrade procedure of UFS firmwares being stored on the memory:
The communication bus is used to implement the connection communication between processor and memory;
The processor is used to perform the upgrade procedure of the UFS firmwares, to realize following steps:
Obtain the UFS firmwares that terminal presets current UFS firmwares used in profile information and terminal in subregion
Information;
The profile information and UFS firmware informations are compared, judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part;
If current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, to consolidate to current UFS
Part is upgraded.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Storage medium storage there are one either more than one program the one or more programs can by one or one with
On processor perform for:
Obtain the UFS firmwares that terminal presets current UFS firmwares used in profile information and terminal in subregion
Information;
The profile information and UFS firmware informations are compared, judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part;
If current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, to consolidate to current UFS
Part is upgraded.
The upgrade method of the UFS firmwares of technical solution of the present invention, by the way that the terminal of acquisition to be preset to the text of the configuration in subregion
The UFS firmware informations of current UFS firmwares are compared used in part information and terminal, judge whether current UFS firmwares are to need
The UFS firmwares to be upgraded upgraded;If current UFS firmwares are the UFS firmwares to be upgraded for needing to upgrade, obtain default
Upgrade file in subregion upgrades current UFS firmwares by this upgrade file.This programme is by profile information and liter
Grade file is arranged in default subregion, when judging that current UFS firmwares need upgrading by profile information, passes through upgrading
File can be upgraded, and be avoided solely in order to UFS, upgrades firmware or terminal software, save man power and material into
This, improves upgrading efficiency.
Description of the drawings
The hardware architecture diagram of Fig. 1 each optional mobile terminals of embodiment one to realize the present invention;
Fig. 2 is the wireless telecommunication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the flow diagram of the upgrade method first embodiment of UFS firmwares of the present invention;
Fig. 4 is the flow diagram of the upgrade method second embodiment of UFS firmwares of the present invention;
Fig. 5 is the flow diagram of the upgrade method 3rd embodiment of UFS firmwares of the present invention;
Fig. 6 is the flow diagram of the upgrade method specific embodiment of UFS firmwares of the present invention;
Fig. 7 is the upgrade method schematic diagram of a scenario of UFS firmwares of the present 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.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only
Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention can include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer
The dynamic fixed terminals such as terminal and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
For moving except the element of purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the components such as memory 109, processor 110 (such as CPU), communication bus 1002 and power supply 111.Those skilled in the art
It is appreciated that the mobile terminal structure shown in Fig. 1 does not form the restriction to mobile terminal, mobile terminal can be included than figure
Show that more or fewer components either combine certain components or different components arrangement.Such as increase user interface, network connects
Mouth, camera etc..Wherein user interface can include display screen (Display), input unit such as keyboard (Keyboard), can
Select user interface that can also include standard wireline interface and wireless interface.Network interface can optionally include the wired of standard
Interface, wireless interface (such as WI-FI interfaces).
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receive and send messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, it penetrates
Frequency unit 101 can also communicate with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and must be configured into for mobile terminal is not belonging to, it completely can be according to need
It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
Formula, speech recognition mode, broadcast reception mode when under isotypes, it is that radio frequency unit 101 or WiFi module 102 are received or
The audio data stored in memory 109 is converted into audio signal and exports as sound.Moreover, audio output unit 103
The relevant audio output of specific function performed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 can include loud speaker, buzzer etc..
A/V input units 104 are used to receive audio or video signal.A/V input units 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the image data of video obtained in image capture mode by image capture apparatus (such as camera) carry out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, details are not described herein.
Display unit 106 is used to show by information input by user or be supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Display panel 1061 is configured in forms such as (Organic Light-Emitting Diode, OLED).
User input unit 107 can be used for receiving the number inputted or character information and generation and the use of mobile terminal
The key signals input that family is set and function control is related.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects such as finger, stylus or attachment on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order that processor 110 is sent can be received and performed.It in addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the component independent as two to realize the function that outputs and inputs of mobile terminal, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) can include wired or wireless head-band earphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for device of the connection with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part is stored in storage by running or performing the software program being stored in memory 109 and/or module and call
Data in device 109 perform the various functions of mobile terminal and processing data, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Communication bus 1002 is used to implement the connection communication between processor 110 and memory 109.Memory 109 can be with
It is high-speed RAM memory or the memory (non-volatile memory) of stabilization, such as magnetic disk storage.Storage
Device 109 optionally can also be the storage device independently of aforementioned processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
As shown in Figure 1, it can lead to as in a kind of memory 109 of computer storage media including operating system, network
Believe module and the upgrade procedure of UFS firmwares.Operating system is management and controls the upgrading terminals hardware and software money of UFS firmwares
The program in source supports the operation of the upgrade procedure and other softwares and/or program of UFS firmwares.Network communication module is for real
Communication between the 109 each component in inside of existing reservoir and lead between other hardware and softwares in the upgrading terminals of UFS firmwares
Letter.
In the upgrading terminals of UFS firmwares shown in Fig. 1, processor 110 is used to perform the UFS stored in memory 109
The upgrade procedure of firmware realizes following steps:
Obtain the UFS firmwares that terminal presets current UFS firmwares used in profile information and terminal in subregion
Information;
The profile information and UFS firmware informations are compared, judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part;
If current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, to consolidate to current UFS
Part is upgraded.
Further, the acquisition terminal presets current UFS used in profile information and the terminal in subregion
The step of UFS firmware informations of firmware, includes:
Detection terminal is preset in subregion with the presence or absence of configuration file, when terminal is preset in subregion there are during configuration file, is obtained
Take the current of current UFS firmwares used in firmware configuration model and firmware configuration version number and the terminal in configuration file
Firmware model and current version of firmware number.
Further, it is described to compare the profile information and UFS firmware informations, whether judge current UFS firmwares
Include for the step of UFS firmwares to be upgraded:
Firmware configuration model and current firmware model are compared, when firmware configuration model is consistent with current firmware model,
Firmware configuration version number and current version of firmware number are compared, to judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part.
Further, it is described to compare firmware configuration version number and current version of firmware number, to judge that current UFS consolidates
The step of whether part is UFS firmwares to be upgraded includes:
Firmware configuration version number and current version of firmware number are compared, when firmware configuration version number and current version of firmware number
When inconsistent, the version number to be upgraded being configured in configuration file is determined;
Judge whether current version of firmware number is version number to be upgraded, if current version of firmware number is version number to be upgraded
When, it is UFS firmwares to be upgraded to judge current UFS firmwares.
Further, if the current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained,
To include the step of upgrading to current UFS firmwares:
If current UFS firmwares are UFS firmwares to be upgraded, judge to whether there is upgrade file in default subregion;
When there are during upgrade file, obtain the upgrade file, and according to the upgrade file to current in default subregion
UFS firmwares are upgraded.
Further, before the step of acquisition terminal presets the profile information in subregion, processor 110 is used for
The upgrade procedure of UFS firmwares stored in memory 109 is performed, realizes following steps:
More new command is received, and configuration file and upgrade file are downloaded to by default subregion according to more new command.
Further, profile information and upgrade file are downloaded to the step of default subregion by the basis more new command
After rapid, processor 110 is used to perform the upgrade procedure of UFS firmwares stored in memory 109, realizes following steps:
When detecting that terminal system receives enabled instruction, execution acquisition terminal presets the profile information in subregion
The step of.
Further, after described the step of upgrading to current UFS firmwares, processor 110 is used to perform memory
The upgrade procedure of UFS firmwares stored in 109 realizes following steps:
Judge whether current UFS firmware upgrades succeed, it is current used in terminal if current UFS firmware upgrades success
UFS firmware version upgrades are new version;
If current UFS firmware upgrades failure, terminal are continuing with current UFS firmware versions.
The upgrading terminals specific embodiment of UFS firmwares of the present invention and each embodiment base of upgrade method of above-mentioned UFS firmwares
This is identical, and details are not described herein.
For the ease of understanding the embodiment of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
The LTE system united as universal mobile communications technology, the LTE system include the UE (User Equipment, the use that communicate connection successively
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is business data flow and the strategy of IP bearing resources and charging control strategic decision-making
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration, communication apparatus structure, each reality of upgrade method of UFS firmwares of the present invention is proposed
Apply example.
With reference to Fig. 3, the present invention provides a kind of upgrade method of UFS firmwares, in the upgrade method first embodiment of UFS firmwares
In, the upgrade method of the UFS firmwares includes:
Step S10 obtains terminal and presets current UFS firmwares used in profile information and terminal in subregion
UFS firmware informations;
The upgrading of the UFS firmwares of the present embodiment is suitable for carrying out UFS firmware upgrades, UFS to the terminal for using UFS
(Universal Flash Storage) is Common Flash Memory storage, and terminal can be smart mobile phone, tablet computer, digital camera
Consumption electronic products are waited, Various types of data is stored using UFS.Terminal by the way that the data of each subregion is called to realize its system function,
Such as the data in the subregions such as bootloader subregions, boot subregions, system subregions.This programme pre-set one for store match
The default subregion of file is put, as subregion UFS_FW_Partition, configuration file UFS_FW_upgrade_config_file match
It puts and is configured in file and the relevant profile information of UFS firmwares, such as UFS models, the latest edition number of UFS firmwares.Its
Configuration format is as follows:Manufacture=vendor names, PartNumber=models, StartVersion=start version
Number, EndVersion=terminates version number, version number new UpGradeVersion=, FirmwareFile=new edition files
Name.It is used for the UFS for which model for illustrating which supplier, which firmware in which version scope needs to be upgraded to newly
What version and the filename of new version be.Because UFS firmwares are smaller, so as to which this default subregion is also smaller, will not occupy compared with
More memory spaces.When terminal system starts, obtain that this terminal presets profile information in subregion and terminal is used
Current UFS firmwares UFS firmware informations, UFS firmware informations be the currently used UFS firmwares of terminal parameter information, such as UFS
Manufacturer, model and UFS firmwares version number etc.;To judge whether to need by profile information and UFS firmware informations
To terminal, currently used UFS firmwares upgrade.In addition, it is contemplated that UFS models are likely to occur failure used in terminal,
Need to be substituted for the UFS of other models, so that usual terminal can be configured to support a plurality of types of UFS, in case when it is used
When UFS models need to replace, the UFS that other models may be selected is replaced.This terminal is supported a plurality of types of
UFS, this variety of UFS firmware-related information are configured in configuration file.When terminal system starts, obtain terminal and preset subregion
In current UFS firmwares used in profile information relevant with a variety of UFS and terminal UFS firmware informations, pass through by
UFS firmware informations and the profile information of multiple UFS compare, and judge whether the currently used UFS firmwares of terminal need to rise
Grade.
The profile information and UFS firmware informations are compared, judge whether current UFS firmwares are to wait to rise by step S20
Grade UFS firmwares;
Further, after the profile information in obtaining default subregion and the UFS firmware informations of current UFS firmwares,
This profile information and UFS firmware informations are compared, to judge whether current UFS firmwares are the UFS to be upgraded that needs to upgrade
Firmware.When carrying out profile information and UFS firmware informations compare, need the supplier in the two UFS consistent with model
On the basis of carry out, i.e., the supply of currently practical the used UFS of supplier, model and terminal of UFS is configured in configuration file
Quotient, model are consistent, if inconsistent, only UFS firmware versions are compared will be nonsensical.So as to first carry out between the two
The comparison of the hardware informations such as supplier, the model of UFS, then the comparison of UFS firmware versions is carried out, it is with determining current UFS firmwares
It is no to be upgraded.It is as a plurality of types of UFS of terminal support, a plurality of types of UFS firmware-related informations supported are equal
Be configured in configuration file, by the UFS firmware informations of the currently used UFS firmwares of terminal respectively with it is multiple in configuration file
Profile information compares.Two kinds of USF firmwares as terminal is supported are respectively A and B, wherein by A in configuration file
Profile information be configured to P1, the profile information of B is configured to P2;The currently used UFS of terminal got
The firmware information of firmware A is Q1, so as to when carrying out profile information and UFS firmware informations and comparing, by Q1 respectively with P1, P2
Comparison.In order to be distinguished to profile information P1, P2, the identifier for characterizing its uniqueness can be set to A, B, such as a, b, with
The relevant all information of A carry identifier a, and identifier b is carried with the relevant all information of B.That is the configuration file of A
In the profile information P2 and its UFS firmware information Q2 that identifier a, B are carried in information P1 and its UFS firmware information Q1
Carry identifier b.After P1, P2 and Q1 is obtained, according to identifier a, b, Q1 is compared respectively with P1, P2, really
Whether profile information P1 corresponding to fixed and UFS firmware informations Q1, further by the version number of Q1 and P1, judge A, B
For UFS firmwares to be upgraded.
Step S30 if current UFS firmwares are UFS firmwares to be upgraded, obtains the upgrade file in default subregion, with right
Current UFS firmwares are upgraded.
Understandably, before being sold, in order to ensure the normal use of terminal, developer is used terminal according to terminal
UFS write configuration file, will the information configurations such as supplier corresponding with UFS, model, version number into profile information,
The corresponding firmware version of version number is downloaded in UFS simultaneously, is made in the UFS firmware informations and default subregion that terminal actually uses
Profile information it is consistent.Subsequently with the upgrading of UFS firmware versions, upgrade file is published to the network platform, terminal from
The network platform obtains this upgrade file, stores in default subregion.When terminal is restarted, reading file therein and terminal is made
UFS firmware informations are compared.Find that UFS firmwares used in terminal have been upgraded to latest edition when comparing, i.e. institute
It is consistent using the latest edition number that UFS firmwares are configured in the version number of UFS firmwares and profile information, then illustrate that UFS consolidates
Part does not need to update.Otherwise it when not being upgraded to latest edition, then needs to rise UFS firmwares current used in terminal
Grade, i.e., current UFS firmwares are UFS firmwares to be upgraded.
When it is the UFS firmwares to be upgraded for needing to upgrade to judge current UFS firmwares, then the upgrading in default subregion is obtained
File, by this upgrade file, to terminal, currently used UFS firmwares upgrade.Multiple types UFS is supported to consolidate in terminal
In the case of part, if judging, its currently used UFS firmware needs to upgrade, and obtains the UFS firmwares upgraded with this needs
Corresponding upgrade file, upgrades it;The wherein correspondence of upgrade file and UFS firmwares, again by UFS identifiers
It determines.This upgrade file can the quantity of updated contents as needed determine that it is completely new file still to original UFS firmwares version
Originally the file being modified.When the loophole of UFS firmware versions is more and dangerous high, need the content upgraded very much, original
Modified heavy workload is carried out on UFS firmware versions, then upgrade file can be set as to completely new UFS firmware versions.And work as UFS
Firmware version only exists some simple loopholes, then upgrade file is the file being modified to original UFS firmware versions.When default
Upgrade file in subregion is completely new file, then, directly will be former with this completely new upgrade file when to current UFS firmware upgrades
Some UFS firmware versions are replaced;And when the upgrade file in default subregion is corrects file, then to current UFS firmwares liter
During grade, original UFS firmware versions are modified with this modified upgrade file.It can refer in for modified upgrade file
Modified location information is needed in bright original UFS firmware versions, during amendment, according to this location information to original UFS firmware versions
It is detected, determines that it needs modified position.It is replaced, this modified position of needs to be repaiied with upgrade file
Just.
The upgrade method of the UFS firmwares of technical solution of the present invention, by the way that the terminal of acquisition to be preset to the text of the configuration in subregion
The UFS firmware informations of current UFS firmwares are compared used in part information and terminal, judge whether current UFS firmwares are to need
The UFS firmwares to be upgraded upgraded;If current UFS firmwares are the UFS firmwares to be upgraded for needing to upgrade, obtain default
Upgrade file in subregion upgrades current UFS firmwares by this upgrade file.This programme is by profile information and liter
Grade file is arranged in default subregion, when judging that current UFS firmwares need upgrading by profile information, passes through upgrading
File can be upgraded, and be avoided solely in order to UFS, upgrades firmware or terminal software, save man power and material into
This, improves upgrading efficiency.
Further, in another embodiment of the upgrade method of UFS firmwares of the present invention, the acquisition terminal presets subregion
In profile information and terminal used in current UFS firmwares UFS firmware informations the step of include:
Detection terminal is preset in subregion with the presence or absence of configuration file, when terminal is preset in subregion there are during configuration file, is obtained
Take the current of current UFS firmwares used in firmware configuration model and firmware configuration version number and the terminal in configuration file
Firmware model and current version of firmware number.
Further, in terminal start-up course, default subregion is detected, is judged wherein with the presence or absence of configuration text
Part when presetting in subregion there are during configuration file, is then read out configuration file, obtains the firmware configuration type in configuration file
Number and firmware configuration version number, this obtain firmware configuration model and firmware configuration version number be profile information.Wherein
Firmware configuration model is for representing the UFS hardware parameters of configuration, including UFS suppliers and UFS models;Firmware configuration version number is then
For representing the UFS software parameters of configuration, i.e. UFS firmware version numbers.Simultaneously because there are configuration files in default subregion, then illustrate
The version number of current UFS firmwares used in terminal may be inconsistent with the UFS firmware version numbers that are configured in configuration file, i.e.,
There may be the situations that the UFS firmware version number currently used to terminal is upgraded.It detects to deposit in default subregion so as to work as
In configuration file, also the current firmware model and current version of firmware number of UFS firmwares current used in terminal are obtained
It takes.Wherein current firmware model is used to represent the practical UFS hardware parameters of the currently used UFS of terminal, including UFS suppliers and
UFS models;Current version of firmware number is then used to represent the UFS firmwares of practical UFS software parameters, the i.e. actual use of UFS firmwares
Version number.With currently practical by the firmware configuration model being configured in this configuration file, firmware configuration version number and terminal
Using the current firmware model of UFS firmwares, current version of firmware number, determine whether current UFS firmwares need to upgrade.
Further, it is described to believe the configuration file in another embodiment of the upgrade method of UFS firmwares of the present invention
Breath and the comparison of UFS firmware informations, judge that the step of whether current UFS firmwares are UFS firmwares to be upgraded includes:
Firmware configuration model and current firmware model are compared, when firmware configuration model is consistent with current firmware model,
Firmware configuration version number and current version of firmware number are compared, to judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part.
Further, when determining whether current UFS firmwares need upgrading, by the firmware configuration model of acquisition and currently
Firmware model compares, i.e., supplies UFS used in the UFS suppliers being configured in configuration file, UFS models and terminal reality
Quotient, UFS models are compared, to determine whether firmware configuration model is consistent with current firmware model.When firmware configuration model and
Current firmware model is consistent, i.e., UFS suppliers used in the UFS suppliers being configured in configuration file and terminal reality, with
And the UFS models being configured in configuration file with when UFS models are consistent used in terminal reality, then by firmware configuration version number
It is compared with current version of firmware number.Content such as configuration file is:Manufacture=S, PartNumber=A,
StartVersion=00, EndVersion=05, UpGradeVersion=06, FirmwareFile=S_A_UFS_FW_
P06.bin;Then illustrate that UFS suppliers and UFS models in firmware configuration model are respectively S and A, i.e., institute in profile information
The UFS of configuration is the UFS of the A models from S suppliers.And the region that its hardware information is stored in terminal is read out, this
Storage region is true by read operation dedicated for information such as model, the suppliers of used various hardware in storage terminal
Determine the UFS that UFS used in terminal is the A models from S suppliers.This firmware configuration signal and current firmware model are carried out
Comparison, you can the UFS suppliers of the two and UFS model all sames are determined, so as to can determine that firmware configuration model and current firmware
Model is consistent, further carries out the comparison between firmware configuration version number and current version of firmware number, to determine current UFS firmwares
Whether it is UFS firmwares to be upgraded.And if it is determined that UFS used in terminal is the UFS of the Type B number from S suppliers, then because solid
The UFS models that part is configured in model and current firmware model have differences, and firmware configuration model and current firmware model are inconsistent.
Firmware version cannot be general used in the UFS of two kinds of models, without to by firmware configuration version number and current firmware
Version number is compared, and it is the UFS firmwares for not needing to upgrading to judge current UFS firmwares.
Further, it is described by firmware configuration version number in another embodiment of the upgrade method of UFS firmwares of the present invention
It is compared with current version of firmware number, to judge that the step of whether current UFS firmwares are UFS firmwares to be upgraded includes:
Step q1 compares firmware configuration version number and current version of firmware number, when firmware configuration version number and currently solid
When part version number is inconsistent, the version number to be upgraded being configured in configuration file is determined;
Step q2 judges whether current version of firmware number is version number to be upgraded, if current version of firmware number is to be upgraded
During version number, it is UFS firmwares to be upgraded to judge current UFS firmwares.
In the comparison for carrying out firmware configuration version number and current version of firmware number, that is, the UFS firmware version numbers and reality being configured
During the comparison of the UFS firmware version numbers on border, judge whether the version number of the two is consistent, if inconsistent, it is determined that in configuration file
The version number to be upgraded being configured.Version number to be upgraded version number StartVersion and knot by profile information
Parameter between beam version number EndVersion determines.As above-mentioned middle because of StartVersion=00, EndVersion=05, from
And version number to be upgraded is the version between 00~05.After the version number to be upgraded being configured in configuration file is determined, judge
Whether current version of firmware number used in terminal is version number to be upgraded, that is, determines whether current version of firmware number falls into and wait to rise
In the range of grade version number, if current version of firmware number is fallen into the range of version number to be upgraded, when being version number to be upgraded,
It is UFS firmwares to be upgraded then to judge current UFS firmwares.If the UFS as used in above-mentioned terminal is the A models from S suppliers
UFS, and its current version of firmware number be 03 when, because version number 03 is between version number 00~05, then can determine that current firmware
Version number is version number to be upgraded, and current UFS firmwares are UFS firmwares to be upgraded.
Further, in another embodiment of the upgrade method of UFS firmwares of the present invention, if the current UFS firmwares are
During UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, to include the step of upgrading to current UFS firmwares:
Step S31 if current UFS firmwares are UFS firmwares to be upgraded, judges to whether there is upgrade file in default subregion;
Step S32, when there are during upgrade file, obtain the upgrade file, and according to the upgrading text in default subregion
Part upgrades current UFS firmwares.
When firmware configuration version number and current version of firmware number are inconsistent, current UFS firmwares are UFS firmwares to be upgraded, are needed
When upgrading to it, interpretation, which is preset, whether there is upgrade file in subregion.Upgrade file is configured in the form of bin file
In configuration file, bin file is binary file;And version number and the file of upgrade file are written in profile information
Name, such as the UpGradeVersion=06, FirmwareFile=S_A_UFS_FW_P06.bin in above-mentioned;Illustrate upgrading text
The version number of part is 06, the entitled S_A_UFS_FW_P06.bin of file.When it is firmware to be upgraded to determine current UFS firmwares, lead to
The filename of the upgrade file in profile information is crossed, judges to whether there is upgrading corresponding with this filename in default subregion
File.When there is upgrade file corresponding with this filename in default subregion, then this upgrade file is obtained, and according to upgrading text
Part upgrades current UFS firmwares.
Supplemented by assistant solution, be illustrated with a specific embodiment, for supplier for H, model B UFS, firmware version
This is 00, needs to be upgraded to 01 version, the entitled H_B_UFS_FW_P01.bin of file of 01 version firmware.Then needing will be literary with this
The corresponding upgrade file of part name is placed into default subregion UFS_FW_Partition, and this is preset to the configuration file in subregion
UFS_FW_upgrade_config_file is configured to:Manufacture=H, PartNumber=B, StartVersion=
00, EndVersion=00, UpGradeVersion=01, FirmwareFile=H_B_UFS_FW_P01.bin.User M is held
Some mobile phones, the vendor name of used current UFS are H, model B, firmware version number 00.Please refer to Fig. 6, mobile phone
System on startup, detects in default subregion UFS_FW_Partition and whether there is configuration file UFS_FW_upgrade_
Config_file, when there are this configuration file, then obtaining the current firmware model of current UFS firmwares used in mobile phone and work as
Preceding firmware version number, i.e. vendor name be H, model B, firmware version number 00.It is more because being configured in possible configuration file
Each profile information of the UFS firmwares of type, using the profile information of a type of UFS firmwares as a line, i-th
Profile information of the row as the i-th type UFS firmwares.The information being configured in configuration file is read line by line, to judge to match
It is whether consistent with UFS firmware informations to put fileinfo, it is contemplated that the limited types of UFS firmwares that terminal is supported are judging one
Before cause property, first determine that the i-th row whether there is, i.e., with the presence or absence of the profile information of i-th of UFS firmware in configuration file.
In the presence of the i-th row, then the i-th row information in configuration file is read, i.e., the profile information of i-th UFS firmware matches this
UFS suppliers H, model B and the current firmware model put in fileinfo compare, and judge whether the two is identical, because of the UFS of the two
Supplier H and model B all sames then judge current version of firmware number whether in the range of version number to be upgraded, because of current version
In the range of version number 00~00 to be upgraded, then the upgrade file H_B_UFS_FW_ of the i-th row configuration is further judged for this number 00
If whether P01.bin in default subregion, reads upgrade file and is upgraded, by current version number 00 in default subregion
01 is upgraded to, completes the upgrading of currently used UFS firmwares in terminal.And in deterministic process, if there is any one
Condition is invalid, then terminates the judgement of this i-th row information, and reads next line configuration information and carried out as the i-th new row information
Judge.
Further, Fig. 4 is please referred to, on the basis of the first embodiment of the upgrade method of UFS firmwares of the present invention, proposes this
The second embodiment of the upgrade method of UFS firmwares is invented, in a second embodiment, the acquisition terminal presets the configuration in subregion
Include before the step of fileinfo:
Step S40 receives more new command, and configuration file and upgrade file is downloaded to default point according to more new command
Area.
Further, when UFS firmwares need update, developer develops the update file to UFS firmwares, updates file
Including configuration file and upgrade file, the network platform is published to using this as the configuration file and upgrade file of update file,
And issue the newer prompt message of prompting to terminal.Fig. 7 is please referred to, prompt message is shown in the aobvious of terminal in the form of dialog box
Show on interface.Terminal user sends more new command according to the prompt message that display interface is shown, when receiving this more new command,
Configuration file and upgrade file are downloaded to by default subregion according to this more new command.To open detecting that terminal system receives
Dynamic instruction when needing to start, obtains configuration file and upgrade file in this default subregion, the currently used UFS to terminal
Firmware is upgraded.
Further, Fig. 5 is please referred to, on the basis of the second embodiment of the upgrade method of UFS firmwares of the present invention, proposes this
The 3rd embodiment of the upgrade method of UFS firmwares is invented, it is in the third embodiment, described that current UFS firmwares are upgraded
Include after step:
Step S50, judges whether current UFS firmware upgrades succeed, if current UFS firmware upgrades success, terminal are made
Current UFS firmware version upgrades are new version;
Step S60, if current UFS firmware upgrades failure, terminal are continuing with current UFS firmware versions.
Further, after upgrading to current UFS firmwares, judge be to the updating operation of this current UFS firmware
No success, if upgraded successfully, current UFS firmware version upgrades used in terminal are new version.It is new after this is upgraded
Version is as current UFS firmware versions, subsequently in this, as being upgraded based on the new version of current UFS firmware versions.And
If current UFS firmware upgrades failure, for the normal use of terminal, is then continuing with this current UFS firmware version, to ensure
The normal use of terminal function, and in subsequently received system enabled instruction, updating operation is carried out again, so that current UFS
Firmware upgrade is to latest edition.
The present invention provides a kind of computer readable storage medium, the computer-readable recording medium storage there are one or
More than one program of person, the one or more programs can also be performed by one or more than one processor with
In:
Obtain the UFS firmwares that terminal presets current UFS firmwares used in profile information and terminal in subregion
Information;
The profile information and UFS firmware informations are compared, judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part;
If current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, to consolidate to current UFS
Part is upgraded.
Further, the acquisition terminal presets current UFS used in profile information and the terminal in subregion
The step of UFS firmware informations of firmware, includes:
Detection terminal is preset in subregion with the presence or absence of configuration file, when terminal is preset in subregion there are during configuration file, is obtained
Take the current of current UFS firmwares used in firmware configuration model and firmware configuration version number and the terminal in configuration file
Firmware model and current version of firmware number.
Further, it is described to compare the profile information and UFS firmware informations, whether judge current UFS firmwares
Include for the step of UFS firmwares to be upgraded:
Firmware configuration model and current firmware model are compared, when firmware configuration model is consistent with current firmware model,
Firmware configuration version number and current version of firmware number are compared, to judge whether current UFS firmwares are that UFS to be upgraded consolidates
Part.
Further, it is described to compare firmware configuration version number and current version of firmware number, to judge that current UFS consolidates
The step of whether part is UFS firmwares to be upgraded includes:
Firmware configuration version number and current version of firmware number are compared, when firmware configuration version number and current version of firmware number
When inconsistent, the version number to be upgraded being configured in configuration file is determined;
Judge whether current version of firmware number is version number to be upgraded, if current version of firmware number is version number to be upgraded
When, it is UFS firmwares to be upgraded to judge current UFS firmwares.
Further, if the current UFS firmwares are UFS firmwares to be upgraded, the upgrade file in default subregion is obtained,
To include the step of upgrading to current UFS firmwares:
If current UFS firmwares are UFS firmwares to be upgraded, judge to whether there is upgrade file in default subregion;
When there are during upgrade file, obtain the upgrade file, and according to the upgrade file to current in default subregion
UFS firmwares are upgraded.
Further, before described acquisition terminal the step of presetting the profile information in subregion, it is one or
More than one program can also be performed by one or more than one processor for:
More new command is received, and configuration file and upgrade file are downloaded to by default subregion according to more new command.
Further, profile information and upgrade file are downloaded to the step of default subregion by the basis more new command
After rapid, the one or more programs can also be performed by one or more than one processor for:
When detecting that terminal system receives enabled instruction, execution acquisition terminal presets the profile information in subregion
The step of.
Further, after described the step of upgrading to current UFS firmwares, the one or more programs
Can also be performed by one or more than one processor for:
Judge whether current UFS firmware upgrades succeed, it is current used in terminal if current UFS firmware upgrades success
UFS firmware version upgrades are new version;
If current UFS firmware upgrades failure, terminal are continuing with current UFS firmware versions.
Computer readable storage medium specific embodiment of the present invention and each embodiment base of upgrade method of above-mentioned UFS firmwares
This is identical, and details are not described herein.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those elements, and
And it further includes other elements that are not explicitly listed or further includes intrinsic for this process, method, article or device institute
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
Also there are other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal (can be mobile phone, computer services
Device, air conditioner or network equipment etc.) perform method described in each embodiment of the present invention.
The embodiment of the present invention is described above in conjunction with attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned specific embodiment is only schematical rather than restricted, those of ordinary skill in the art
Under the enlightenment of the present invention, present inventive concept and scope of the claimed protection are not being departed from, can also made very much
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of upgrade method of UFS firmwares, which is characterized in that the upgrade method of the UFS firmwares includes the following steps:
Obtain the UFS firmwares letter that terminal presets current UFS firmwares used in profile information and terminal in subregion
Breath;
The profile information and UFS firmware informations are compared, judge whether current UFS firmwares are UFS firmwares to be upgraded;
If current UFS firmwares are UFS firmwares to be upgraded, obtain the upgrade file in default subregion, with to current UFS firmwares into
Row upgrading.
2. the upgrade method of UFS firmwares as described in claim 1, which is characterized in that the acquisition terminal is preset in subregion
Include the step of the UFS firmware informations of current UFS firmwares used in profile information and terminal:
Detection terminal is preset with the presence or absence of configuration file in subregion, and when terminal is preset there are during configuration file in subregion, acquisition is matched
Put the current firmware of current UFS firmwares used in firmware configuration model and firmware configuration version number and the terminal in file
Model and current version of firmware number.
3. the upgrade method of UFS firmwares as claimed in claim 2, which is characterized in that it is described by the profile information and
UFS firmware informations compare, and judge that the step of whether current UFS firmwares are UFS firmwares to be upgraded includes:
Firmware configuration model and current firmware model are compared, it, will be solid when firmware configuration model is consistent with current firmware model
Part configuration version number and current version of firmware number are compared, to judge whether current UFS firmwares are UFS firmwares to be upgraded.
4. the upgrade method of UFS firmwares as claimed in claim 3, which is characterized in that it is described by firmware configuration version number and work as
Preceding firmware version number is compared, to judge that the step of whether current UFS firmwares are UFS firmwares to be upgraded includes:
Firmware configuration version number and current version of firmware number are compared, when firmware configuration version number and current version of firmware number differ
During cause, the version number to be upgraded being configured in configuration file is determined;
Judge whether current version of firmware number is version number to be upgraded, if current version of firmware number is version number to be upgraded, sentence
Settled preceding UFS firmwares are UFS firmwares to be upgraded.
5. such as the upgrade method of claim 1-4 any one of them UFS firmwares, which is characterized in that if the current UFS firmwares
During for UFS firmwares to be upgraded, the upgrade file in default subregion is obtained, to include the step of upgrading to current UFS firmwares:
If current UFS firmwares are UFS firmwares to be upgraded, judge to whether there is upgrade file in default subregion;
When there are during upgrade file, obtain the upgrade file, and current UFS is consolidated according to the upgrade file in default subregion
Part is upgraded.
6. such as the upgrade method of claim 1-4 any one of them UFS firmwares, which is characterized in that the acquisition terminal is preset
Include before the step of profile information in subregion:
More new command is received, and configuration file and upgrade file are downloaded to by default subregion according to more new command.
7. the upgrade method of UFS firmwares as claimed in claim 6, which is characterized in that text will be configured in the basis more new command
Include after the step of part information and upgrade file download to default subregion:
When detecting that terminal system receives enabled instruction, the step for obtaining the profile information that terminal is preset in subregion is performed
Suddenly.
8. such as the upgrade method of claim 1-4 any one of them UFS firmwares, which is characterized in that described to current UFS firmwares
Include after the step of being upgraded:
Judge whether current UFS firmware upgrades succeed, if current UFS firmware upgrades success, current UFS used in terminal consolidates
Part edition upgrading is new version;
If current UFS firmware upgrades failure, terminal are continuing with current UFS firmware versions.
9. a kind of upgrading terminals of UFS firmwares, which is characterized in that the upgrading terminals of the UFS firmwares include:Memory, processing
Device, communication bus and the upgrade procedure of UFS firmwares being stored on the memory:
The communication bus is used to implement the connection communication between processor and memory;
The processor is used to perform the upgrade procedure of the UFS firmwares, to realize as described in any one of claim 1-8
The step of upgrade method of UFS firmwares.
10. a kind of computer readable storage medium, which is characterized in that be stored with UFS on the computer readable storage medium and consolidate
The upgrade procedure of part is realized when the upgrade procedure of the UFS firmwares is executed by processor as described in any one of claim 1-8
UFS firmwares upgrade method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711472783.3A CN108228230A (en) | 2017-12-28 | 2017-12-28 | Upgrade method, terminal and the computer readable storage medium of UFS firmwares |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711472783.3A CN108228230A (en) | 2017-12-28 | 2017-12-28 | Upgrade method, terminal and the computer readable storage medium of UFS firmwares |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108228230A true CN108228230A (en) | 2018-06-29 |
Family
ID=62646814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711472783.3A Pending CN108228230A (en) | 2017-12-28 | 2017-12-28 | Upgrade method, terminal and the computer readable storage medium of UFS firmwares |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108228230A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669714A (en) * | 2018-12-19 | 2019-04-23 | 广东美的暖通设备有限公司 | Firmware upgrade method, device and computer readable storage medium |
CN110764811A (en) * | 2019-09-05 | 2020-02-07 | 深圳优地科技有限公司 | Firmware upgrading method and device |
CN111258613A (en) * | 2020-03-11 | 2020-06-09 | Oppo广东移动通信有限公司 | Firmware upgrading method and device, electronic equipment and storage medium |
CN111694580A (en) * | 2019-03-13 | 2020-09-22 | 杭州宏杉科技股份有限公司 | Method and device for upgrading and initializing storage device and electronic device |
CN112181467A (en) * | 2020-10-10 | 2021-01-05 | 北京字节跳动网络技术有限公司 | Method and device for upgrading memory firmware of terminal, terminal and storage medium |
CN112306506A (en) * | 2020-06-28 | 2021-02-02 | 神州融安科技(北京)有限公司 | Burning method and device of computer program, electronic equipment and storage medium |
CN112882734A (en) * | 2021-03-11 | 2021-06-01 | 北京百度网讯科技有限公司 | Upgrading method and device, computer equipment and medium |
CN116543828A (en) * | 2023-07-06 | 2023-08-04 | 成都佰维存储科技有限公司 | UFS protocol testing method and device, readable storage medium and electronic equipment |
CN116880868A (en) * | 2023-06-07 | 2023-10-13 | 珠海妙存科技有限公司 | UFS-based card opening method, system, device and medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383847A (en) * | 2008-08-25 | 2009-03-11 | 中兴通讯股份有限公司 | Firmware upgrading method and device for wireless data terminal |
CN101520734A (en) * | 2008-12-17 | 2009-09-02 | 康佳集团股份有限公司 | Method for upgrading data in flash memory, network TV and interactive set-top box thereof |
CN202135329U (en) * | 2011-07-13 | 2012-02-01 | 深圳市奥软网络科技有限公司 | Client upgrading and updating system based on FOTA server |
CN102693139A (en) * | 2011-03-25 | 2012-09-26 | 比亚迪股份有限公司 | Method and system for wirelessly upgrading mobile phone software |
WO2013070295A1 (en) * | 2011-11-11 | 2013-05-16 | Wyse Technology Inc. | Robust firmware update with recovery logic |
US20140130028A1 (en) * | 2012-11-07 | 2014-05-08 | Hiroshi Maeda | Information processing apparatus and network system |
CN105117241A (en) * | 2015-07-28 | 2015-12-02 | 努比亚技术有限公司 | Firmware upgrade method and apparatus |
CN105553730A (en) * | 2015-12-22 | 2016-05-04 | 新余未来宽带技术有限公司 | Implementing method and implementing device for upgrade of gateway type EoC terminal firmware |
CN106850311A (en) * | 2017-03-03 | 2017-06-13 | 上海蔚来汽车有限公司 | For the data safe transmission system and method for firmware upgrade |
-
2017
- 2017-12-28 CN CN201711472783.3A patent/CN108228230A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383847A (en) * | 2008-08-25 | 2009-03-11 | 中兴通讯股份有限公司 | Firmware upgrading method and device for wireless data terminal |
CN101520734A (en) * | 2008-12-17 | 2009-09-02 | 康佳集团股份有限公司 | Method for upgrading data in flash memory, network TV and interactive set-top box thereof |
CN102693139A (en) * | 2011-03-25 | 2012-09-26 | 比亚迪股份有限公司 | Method and system for wirelessly upgrading mobile phone software |
CN202135329U (en) * | 2011-07-13 | 2012-02-01 | 深圳市奥软网络科技有限公司 | Client upgrading and updating system based on FOTA server |
WO2013070295A1 (en) * | 2011-11-11 | 2013-05-16 | Wyse Technology Inc. | Robust firmware update with recovery logic |
US20140130028A1 (en) * | 2012-11-07 | 2014-05-08 | Hiroshi Maeda | Information processing apparatus and network system |
CN105117241A (en) * | 2015-07-28 | 2015-12-02 | 努比亚技术有限公司 | Firmware upgrade method and apparatus |
CN105553730A (en) * | 2015-12-22 | 2016-05-04 | 新余未来宽带技术有限公司 | Implementing method and implementing device for upgrade of gateway type EoC terminal firmware |
CN106850311A (en) * | 2017-03-03 | 2017-06-13 | 上海蔚来汽车有限公司 | For the data safe transmission system and method for firmware upgrade |
Non-Patent Citations (1)
Title |
---|
MILO: "让游戏手机更加完美 教你升级N-Gage", 《数字通信》 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669714A (en) * | 2018-12-19 | 2019-04-23 | 广东美的暖通设备有限公司 | Firmware upgrade method, device and computer readable storage medium |
CN111694580A (en) * | 2019-03-13 | 2020-09-22 | 杭州宏杉科技股份有限公司 | Method and device for upgrading and initializing storage device and electronic device |
CN110764811A (en) * | 2019-09-05 | 2020-02-07 | 深圳优地科技有限公司 | Firmware upgrading method and device |
CN111258613B (en) * | 2020-03-11 | 2023-07-25 | Oppo广东移动通信有限公司 | Firmware upgrading method, device, electronic equipment and storage medium |
CN111258613A (en) * | 2020-03-11 | 2020-06-09 | Oppo广东移动通信有限公司 | Firmware upgrading method and device, electronic equipment and storage medium |
CN112306506B (en) * | 2020-06-28 | 2023-08-22 | 神州融安科技(北京)有限公司 | Method and device for burning computer program, electronic equipment and storage medium |
CN112306506A (en) * | 2020-06-28 | 2021-02-02 | 神州融安科技(北京)有限公司 | Burning method and device of computer program, electronic equipment and storage medium |
CN112181467A (en) * | 2020-10-10 | 2021-01-05 | 北京字节跳动网络技术有限公司 | Method and device for upgrading memory firmware of terminal, terminal and storage medium |
CN112181467B (en) * | 2020-10-10 | 2023-11-14 | 北京字节跳动网络技术有限公司 | Method and device for upgrading memory firmware of terminal, terminal and storage medium |
CN112882734A (en) * | 2021-03-11 | 2021-06-01 | 北京百度网讯科技有限公司 | Upgrading method and device, computer equipment and medium |
CN112882734B (en) * | 2021-03-11 | 2024-04-16 | 北京百度网讯科技有限公司 | Upgrading method and device, computer equipment and medium |
CN116880868A (en) * | 2023-06-07 | 2023-10-13 | 珠海妙存科技有限公司 | UFS-based card opening method, system, device and medium |
CN116880868B (en) * | 2023-06-07 | 2024-06-04 | 珠海妙存科技有限公司 | UFS-based card opening method, system, device and medium |
CN116543828A (en) * | 2023-07-06 | 2023-08-04 | 成都佰维存储科技有限公司 | UFS protocol testing method and device, readable storage medium and electronic equipment |
CN116543828B (en) * | 2023-07-06 | 2023-09-19 | 成都佰维存储科技有限公司 | UFS protocol testing method and device, readable storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108228230A (en) | Upgrade method, terminal and the computer readable storage medium of UFS firmwares | |
CN107276789B (en) | Log uploading method and device and computer readable storage medium | |
CN107273160A (en) | A kind of method and device of edition upgrading | |
CN103473163B (en) | application program detection method and device | |
CN103455348B (en) | Subarea adjustment, device, terminal, server and system | |
CN107506647A (en) | Leak self-repairing method and mobile terminal | |
CN106919458B (en) | Method and device for Hook target kernel function | |
CN104965722B (en) | A kind of method and device of display information | |
CN106775827A (en) | A kind of application program update method and device, computer equipment | |
US11063962B2 (en) | Malicious URL detection method and apparatus, terminal, and computer storage medium | |
CN103455343A (en) | Method and device for updating application programs | |
CN107329781A (en) | The hot restorative procedure of software, terminal, system and computer-readable recording medium | |
CN107273139A (en) | A kind of method for updating system, equipment and computer-readable recording medium | |
CN108153778A (en) | Webpage store method, webpage read method and device | |
CN109922078A (en) | Upgrade control method, mobile terminal and computer readable storage medium | |
US20220255639A1 (en) | Radio frequency parameter processing method and device, and mobile terminal and storage medium | |
CN108549826A (en) | Method of calibration, terminal, server and the readable storage medium storing program for executing of application program | |
CN109561209A (en) | A kind of font switching method, terminal and computer readable storage medium | |
CN108090345A (en) | Linux system external command performs method and device | |
CN106713608A (en) | Application function state modifying method and apparatus, and terminal | |
CN109687974A (en) | APK verification method, device, mobile terminal and readable storage medium storing program for executing | |
CN109885325A (en) | Terminal system upgrade method, terminal and computer readable storage medium | |
CN109766119A (en) | Restore subregion upgrade method, terminal and computer readable storage medium | |
CN109002547A (en) | Journal file storage method, mobile terminal and computer readable storage medium | |
CN110489679A (en) | A kind of processing method of browser kernel, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180629 |