CN103176822B - A kind of control method downloading data and control device - Google Patents

A kind of control method downloading data and control device Download PDF

Info

Publication number
CN103176822B
CN103176822B CN201310068658.1A CN201310068658A CN103176822B CN 103176822 B CN103176822 B CN 103176822B CN 201310068658 A CN201310068658 A CN 201310068658A CN 103176822 B CN103176822 B CN 103176822B
Authority
CN
China
Prior art keywords
firmware version
module
download
data
version number
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.)
Expired - Fee Related
Application number
CN201310068658.1A
Other languages
Chinese (zh)
Other versions
CN103176822A (en
Inventor
黄绍东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310068658.1A priority Critical patent/CN103176822B/en
Publication of CN103176822A publication Critical patent/CN103176822A/en
Application granted granted Critical
Publication of CN103176822B publication Critical patent/CN103176822B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of control method downloading data and control device.Control method comprises the following steps: 1) receive the target firmware version number of user's input;Target firmware version number is the version number of the firmware version that the operating system currently used with mobile terminal is compatible;2) the actual firmware version number of the storage card of mobile terminal to be downloaded is detected;3) judge that actual firmware version number is the most consistent with target firmware version number, if it is, enter step 61);If it is not, then entrance step 4);4) send the prompting of version error, and etc. the operational order of user to be received input;5) judge whether user operation instruction is to start to download: if it is, enter step 61);If it is not, then enter step 62);61) download of turn-on data;62) control to terminate, do not carry out the download of data.The control method of the present invention and control device, can be prevented effectively from the software incompatibility problem occurred after having downloaded data, improve the efficiency downloading operation.

Description

A kind of control method downloading data and control device
Technical field
The present invention relates to field of mobile terminals, particularly relate to a kind of method and device for the process downloading data in the storage card of mobile terminal is controlled.
Background technology
In existing mobile terminal, such as smart mobile phone, panel computer etc., it is required to arrange the system data that storage card storage is necessary, such as program code etc..For storage card, it is as product, when dispatching from the factory, is written with corresponding firmware by producer in the IC chip of storage card.Along with the change in market, producer can continue to optimize firmware according to Market Feedback, thus obtain the storage card after updating firmware version.
For mobile terminal manufacturer, when purchasing storage card, it it is the storage card purchasing corresponding firmware version number for the operating system in the mobile terminal self produced, as produced the mobile terminal of A operating system, it is compatible with the storage card that firmware version number is A ', and buying firmware version number the most accordingly is the storage card of A ';Producing the mobile terminal of B operating system, it is compatible with the storage card that firmware version number is B ', and buying firmware version number the most accordingly is the storage card of B '.After purchasing storage card, installing storage card in the terminal is the data such as program code for memory mobile terminal, it is therefore desirable to related data downloaded in the respective storage areas of storage card.In prior art, when downloading data, it is usually and is directly downloaded.And before downloading data, purchase storage card link, internal handing-over link after purchasing is all that simple dependence is artificial links up the firmware version confirming storage card.Owing to both sides link up the carelessness of information transmission between not in place or personnel, occasional occurs: after having downloaded data in the storage card of mobile terminal, just finds the problem that the firmware version of storage card is incompatible with the systems soft ware of mobile terminal during commissioning test mobile terminal.So, owing to linking up carelessness, consume that man power and material's cost but carries out is insignificant download work, causes the inefficiency downloading this link of operation in mobile terminal production process.
Summary of the invention
The technical problem to be solved is: make up above-mentioned the deficiencies in the prior art, proposes a kind of control method downloading data and controls device, can be prevented effectively from the software incompatibility problem occurred after having downloaded data, improve the efficiency downloading operation.
The technical problem of the present invention is solved by following technical scheme:
A kind of control method downloading data, for being controlled the process downloading data in the storage card of mobile terminal, comprises the following steps: 1) receive the target firmware version number that user inputs;Described target firmware version number is the version number of the firmware version that the operating system currently used with described mobile terminal is compatible;2) the actual firmware version number of the storage card of mobile terminal to be downloaded is detected;3) judge described step 2) in actual firmware version number the most consistent with the target firmware version number in described step 1), if it is, enter step 61);If it is not, then entrance step 4);4) send the prompting of version error, and etc. the operational order of user to be received input;5) whether the operational order judging user is to start to download: if it is, enter step 61);If it is not, then enter step 62);61) download of turn-on data;62) control to terminate, do not carry out the download of data.
The technical problem of the present invention is solved by technical scheme further below:
A kind of control device downloading data, for being controlled the process downloading data in the storage card of mobile terminal, including the first receiver module, detection module, first judge module, prompting and command reception module, the second judge module, opening module and end module;Described first receiver module is for receiving the target firmware version number of user's input, and described target firmware version number is the version number of the firmware version that the operating system currently used with described mobile terminal is compatible;Described detection module is for detecting the actual firmware version number of the storage card of mobile terminal to be downloaded;Two inputs of described first judge module connect described first receiver module and the output of described detection module respectively, receive target firmware version number and the border firmware version number of described detection module output of described first receiver module output respectively, the most consistent with described target firmware version number for judging described actual firmware version number, when judged result is for being, control opening module work;When judged result is no, control prompting and the work of command reception module;The input of described prompting and command reception module connects the second output of described first judge module, for sending the prompting of version error, and etc. the operational order of user to be received input;The input of described second judge module connects described prompting and the output of command reception module, receive described prompting and the operational order of command reception module output, whether it is to start to download for judging the operational order of user: if it is, control opening module work;If it is not, then control to terminate module work;Two inputs of described opening module connect the first output and first output of described second judge module of described first judge module respectively, for the download of turn-on data;The input of described end module connects the second output of described second judge module, terminates for control, does not carries out the download of data.
The present invention is compared with the prior art and provides the benefit that:
The control method of the download data of the present invention and control device, arrange target firmware version number, detects the actual firmware version number of storage card to be downloaded, then judges that both are the most consistent, if unanimously, just starts the download of data;If it is inconsistent, according to the operational order action of user's input, when user judges can continue to download, just start the download of data, when can not continue to download, terminate in time to download.So, the control method of the download data of the present invention, only after version judges unanimously or when judging inconsistent, user judges just can finally download data during compatibility, can be prevented effectively under the inconsistent situation of version the software incompatibility problem occurred.Namely as long as the present invention has finally downloaded data, can be all compatible, not have incompatible problem, can improve download operation efficiency.
Accompanying drawing explanation
Fig. 1 is the flow chart of the control method of the download data in the specific embodiment of the invention;
Fig. 2 is the structural representation controlling device of the download data in the specific embodiment of the invention.
Detailed description of the invention
Below in conjunction with detailed description of the invention and compare accompanying drawing the present invention is described in further details.
This detailed description of the invention provides a kind of control method downloading data, is controlled for the process downloading data in the storage card of mobile terminal.In this detailed description of the invention, to be stored as explanation as a example by built-in multimedia storage card (Embedded Multi Media Card, be called for short EMMC).As it is shown in figure 1, the flow chart of the control method for downloading data, control method comprises the following steps:
P1) the target firmware version number of user's input is received.Described target firmware version number is the version number of the firmware version that the operating system currently used with described mobile terminal is compatible.
Generally, user, according to the version information of operating system, i.e. would know that the firmware version information of the EMMC of correspondence, thus inputs target version number.Operating system as currently used in mobile terminal is A operating system, the EMMC compatibility that this A operating system is with firmware version number is A ', then this step i.e. receives the A ' of user's input as target firmware version number.Operating system as currently used in mobile mobile terminal is B operating system, the EMMC compatibility that this B operating system is with firmware version number is B ', then this step i.e. receives the B ' of user's input as target firmware version number.The operating system arranged in the mobile terminal of each mobile terminal manufacturer production is different, the most same producer also can the different multiple mobile terminal of production operation system, therefore, time for the mobile terminal of a type operating system, this step is i.e. to receive the target firmware version number that the mobile terminal of this type operating system is corresponding;During for the mobile terminal of other operating system, then it is to receive the target firmware version number that the mobile terminal of other operating system is corresponding.
P2) the actual firmware version number of the storage card of mobile terminal to be downloaded is detected.
When dispatching from the factory due to storage card, in the IC chip of storage card, it is written with corresponding firmware, and firmware version number mark by producer.Therefore, in this step, the firmware version number of storage in the storage card of mobile terminal to be downloaded can be directly read thus detect and obtain actual firmware version number.
P3) judge described step P2) in actual firmware version number whether with described step P1) in target firmware version number consistent, if it is, enter step P61);If it is not, then enter step P4).
Due to step P1) in input has and mobile terminal operating system is compatible target firmware version number, therefore in this step, be i.e. that storage card is judged, it is judged that whether it is to be suitable for the storage card of a compatible class firmware version with mobile terminal.If consistent, after i.e. showing to have downloaded data, both are compatible, do not have incompatibility problem, then can control to enter step P61) the downloading process of turn-on data.If it is inconsistent, both are it is possible that incompatible after showing to have downloaded data, then control enters step P4), it is made whether, according to the operational order of user, the process that turn-on data is downloaded.
P4) send the prompting of version error, and etc. the operational order of user to be received input.
Whether the operational order P5) judging user is to start to download: if it is, enter step P61);If it is not, then enter step P62).
Above-mentioned two step, is i.e. in abovementioned steps P3) in judge when the firmware version number of storage card and target version number are inconsistent, receive user operation instruction, according to operational order or the download that starts data, or directly terminate to download.It addition, when knowing storage card version error, for operating system to the firmware in this storage card Yu mobile terminal the test of compatibility can be carried out in professional test equipment, thus obtain the most properly continuing that data download accurately judges.Namely step P4) in user input operational order be after the compatibility of the operating system of the firmware version Yu mobile terminal that test storage card produce about whether turn-on data download operational order, as test is found that while that the actual firmware version of storage card is inconsistent with the target version of the operating system of mobile terminal compatibility, but when debugging uses, the most also can use with the operating system compatibility of mobile terminal, do not have compatibility issue to occur, then operational order is startup download, correspondingly, step P5) judge after i.e. enter step P61), thus the download of turn-on data.As test discovery debugging use time, it is incompatible that the actual firmware version of storage card can cause with mobile terminal operating system, then operational order is and does not starts download, correspondingly, step P5) judge after i.e. enter step P62), thus directly terminate, do not carry out the download of data.
P61) download of turn-on data.P62) control to terminate, do not carry out the download of data.
According to aforementioned five steps, this step P61) execution only in the following two kinds situation: the first situation, step P3) in judge, when the actual firmware version number of storage card is consistent with target firmware version number, to that is to say that storage card itself is i.e. the situation of the storage card of required firmware version;Second case, step P5) in judge user enter the operating instructions into start download time, that is to say that storage card itself is not the storage card of required firmware version, but in it, firmware version of write still can be with the situation of the operating system compatibility of mobile terminal.In both circumstances, just start the download of data, i.e. can ensure that the follow-up complete data of final download, do not have incompatible problem, the software incompatibility problem occurred can be prevented effectively under the inconsistent situation of version, the efficiency downloading operation can be improved.
Preferably, step P62) in control terminate after also include failed download point out step P7): prompting user because of firmware version mistake failed download.So, user can be facilitated to know download progress.
The control method of the download data in this detailed description of the invention, directly download relative to when prior art is downloaded, before downloading, the artificial monitoring of simple dependence ensures storage card to be compatible storage card, this detailed description of the invention arranges target firmware version number, detection storage card actual firmware version number, first determine whether that the actual firmware version number of storage card is the most consistent with target firmware version number before downloading data, only or just start the download of data when consistent under inconsistent rear two kinds of situations by the control instruction that input turn-on data is downloaded in every family, can avoid having downloaded the problem that software after data is incompatible completely, improve the efficiency downloading operation.
In this detailed description of the invention, also provide for a kind of control device downloading data, its structural representation is as shown in Figure 2, control device 1 and include the first receiver module 100, detection module 200, the first judge module 300, prompting and command reception module 400, second judge module 500, opening module 610 and end module 620.
First receiver module 100 is for receiving the target firmware version number of user's input, and target firmware version number is the version number of the firmware version that the operating system currently used with mobile terminal is compatible.
Detection module 200 is for detecting the actual firmware version number of the storage card of mobile terminal to be downloaded.Specifically, detection module 200 can be read module, and read module is the firmware version number of storage in the storage card directly reading mobile terminal to be downloaded.
Two inputs of the first judge module 300 connect the first receiver module 100 and the output of detection module 200 respectively, receive target firmware version number and the actual firmware version number of detection module 200 output of the first receiver module 100 output respectively, the most consistent with target firmware version number for judging actual firmware version number, when judged result is for being, controls opening module 610 and work;When judged result is no, controls prompting and command reception module 400 works.
Prompting and the input of command reception module 400 connect the second output of the first judge module 300, for sending the prompting of version error, and etc. the operational order of user 2 to be received input.As before, operational order herein be produce after the firmware version of storage card and the compatibility of the operating system of mobile terminal in user test about whether the operational order downloaded of turn-on data.
The input of the second judge module 500 connects prompting and the output of command reception module 400, receive prompting and the operational order of command reception module 400 output, whether it is to start to download for judging the operational order of user: work if it is, control opening module 610;If it is not, then control to terminate, do not carry out the download of data.
Two inputs of opening module 610 connect the first output and first output of the second judge module 500 of the first judge module 300 respectively, for the download of turn-on data.According to the first judge module 300 and work of the second judge module 500, opening module 610 is only when the first judge module 300 judges that target firmware version number is consistent with actual firmware version number, or when the second judge module 500 judges that user have input the control instruction that turn-on data is downloaded, just work, the download of turn-on data.
The input terminating module 620 connects the second output of the second judge module 500, terminates for control, does not carries out the download of data.
Preferably, controlling device and also include failed download reminding module 700, the input of failed download reminding module 700 connects the output terminating module 620, for terminate to point out after module 620 controls to terminate user 2 because of firmware version mistake failed download.So, after setting up failed download reminding module 700, user 2 can be facilitated to understand downloading process.
The control device of the download data in this detailed description of the invention, first pass through the first judge module before downloading data and judge that the actual firmware version number of storage card is the most consistent with target firmware version number, only when consistent or inconsistent rear user input turn-on data download control instruction two kinds of situations under just startup data download, so can avoid having downloaded the problem that software after data is incompatible completely, improve the efficiency downloading operation.
Above content is to combine concrete preferred embodiment further description made for the present invention, it is impossible to assert the present invention be embodied as be confined to these explanations.For general technical staff of the technical field of the invention, make some replacements or obvious modification without departing from the inventive concept of the premise, and performance or purposes are identical, all should be considered as belonging to protection scope of the present invention.

Claims (7)

1. download a control method for data, for the process downloading data in the storage card of mobile terminal is carried out Control, it is characterised in that: comprise the following steps:
1) the target firmware version number of user's input is received;Described target firmware version number is current with described mobile terminal The version number of the firmware version that the operating system used is compatible;
2) the actual firmware version number of the storage card of mobile terminal to be downloaded is detected;
3) judge described step 2) in actual firmware version number whether with described step 1) in target firmware version Number consistent, if it is, described storage card and mobile terminal are compatible after showing to have downloaded data, then enter step 61); If it does not, described storage card and mobile terminal are it is possible that incompatible after showing to have downloaded data, then enter step 4);
4) send the prompting of version error, and etc. the operational order of user to be received input;
5) whether the operational order judging user is to start to download: if it is, enter step 61);If it is not, then Enter step 62);
61) data that the program code of described mobile terminal is relevant are downloaded to described storage card by the download of turn-on data Respective storage areas in;62) control to terminate, do not carry out the download of data.
The control method of download data the most according to claim 1, it is characterised in that: described step 2) in logical Cross and directly read the firmware version number stored in the storage card of described mobile terminal to be downloaded, thus detection obtains reality Firmware version number.
The control method of download data the most according to claim 1, it is characterised in that: described step 62) middle control System also includes after terminating that failed download points out step 7): prompting user is failed download because of firmware version mistake.
The control method of download data the most according to claim 1, it is characterised in that: depositing of described mobile terminal Card storage is built-in multimedia storage card.
5. download a control device for data, for the process downloading data in the storage card of mobile terminal is carried out Control, it is characterised in that: include the first receiver module, detection module, the first judge module, prompting and command reception Module, the second judge module, opening module and end module;
Described first receiver module is for receiving the target firmware version number of user's input, and described target firmware version number is The version number of the firmware version that the operating system currently used with described mobile terminal is compatible;
Described detection module is for detecting the actual firmware version number of the storage card of mobile terminal to be downloaded;
Two inputs of described first judge module connect the defeated of described first receiver module and described detection module respectively Go out end, receive target firmware version number and the reality of described detection module output of described first receiver module output respectively Firmware version number, is used for judging that described actual firmware version number is the most consistent with described target firmware version number, is judging When result is for being, after showing to have downloaded data, both are compatible, control opening module work;It is no in judged result Time, after showing to have downloaded data, both are it is possible that incompatible, and control prompting and command reception module work;
The input of described prompting and command reception module connects the second output of described first judge module, for sending out Go out the prompting of version error, and etc. the operational order of user to be received input;
The input of described second judge module connects described prompting and the output of command reception module, carries described in reception Show and the operational order of command reception module output, whether be to start to download for judging the operational order of user: if It is then to control opening module work;If it is not, then control to terminate module work;
Two inputs of described opening module connect first output and described second of described first judge module respectively First output of judge module, for the download of turn-on data, the number relevant by the program code of described mobile terminal According in the respective storage areas downloading to described storage card;
The input of described end module connects the second output of described second judge module, terminates for control, no Carry out the download of data.
The control device of download data the most according to claim 5, it is characterised in that: described detection module is for reading Delivery block, described read module is the firmware version of storage in the storage card directly reading described mobile terminal to be downloaded This number.
The control device of download data the most according to claim 5, it is characterised in that: also include that failed download carries Showing module, the input of described failed download reminding module connects the output of described end module, at described knot Bundle module control terminate after point out user because of firmware version mistake failed download.
CN201310068658.1A 2013-03-04 2013-03-04 A kind of control method downloading data and control device Expired - Fee Related CN103176822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310068658.1A CN103176822B (en) 2013-03-04 2013-03-04 A kind of control method downloading data and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310068658.1A CN103176822B (en) 2013-03-04 2013-03-04 A kind of control method downloading data and control device

Publications (2)

Publication Number Publication Date
CN103176822A CN103176822A (en) 2013-06-26
CN103176822B true CN103176822B (en) 2016-08-31

Family

ID=48636725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310068658.1A Expired - Fee Related CN103176822B (en) 2013-03-04 2013-03-04 A kind of control method downloading data and control device

Country Status (1)

Country Link
CN (1) CN103176822B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106027294A (en) * 2016-05-13 2016-10-12 广东欧珀移动通信有限公司 Firmware loading method and system for terminal network access

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825282A (en) * 2005-02-01 2006-08-30 微软公司 Publishing the status of and updating firmware components
CN1892597A (en) * 2005-07-08 2007-01-10 集嘉通讯股份有限公司 Method for renewing hand-held device operation function through insert-and-use storage device
CN1908901A (en) * 2005-04-29 2007-02-07 阿尔卡特公司 Electronic device configuration management systems and methods
CN101303684A (en) * 2007-05-08 2008-11-12 中兴通讯股份有限公司 Method for upgrading software edition of a plurality of mobile terminal
CN101930372A (en) * 2009-06-24 2010-12-29 英业达股份有限公司 System and method for updating programs
CN102232304A (en) * 2011-05-04 2011-11-02 华为终端有限公司 Method, system and terminal for system update between mobile communication terminals

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996818B2 (en) * 2002-11-22 2006-02-07 Bitfone Corporation Update system for facilitating software update and data conversion in an electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825282A (en) * 2005-02-01 2006-08-30 微软公司 Publishing the status of and updating firmware components
CN1908901A (en) * 2005-04-29 2007-02-07 阿尔卡特公司 Electronic device configuration management systems and methods
CN1892597A (en) * 2005-07-08 2007-01-10 集嘉通讯股份有限公司 Method for renewing hand-held device operation function through insert-and-use storage device
CN101303684A (en) * 2007-05-08 2008-11-12 中兴通讯股份有限公司 Method for upgrading software edition of a plurality of mobile terminal
CN101930372A (en) * 2009-06-24 2010-12-29 英业达股份有限公司 System and method for updating programs
CN102232304A (en) * 2011-05-04 2011-11-02 华为终端有限公司 Method, system and terminal for system update between mobile communication terminals

Also Published As

Publication number Publication date
CN103176822A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN102945173B (en) User program online upgrade system and upgrade method
CN102830984B (en) Method, chip and the communication terminal that firmware updates
CN104579719B (en) A kind of upgrade method and system, host computer and optical module of firmware
CN108519938B (en) Memory chip compatibility test method, system and test host
US8458524B2 (en) Firmware recovery system and method
CN103149526B (en) PCBA board test macro and method
CN104199706A (en) Firmware upgrade method and device for eMMC
CN103049405B (en) Android device file management method and system
CN101853173A (en) Software upgrading method and device of programmable logic device of distributed system
CN102662697A (en) Software upgrading method and device
CN105912340A (en) Primary device, remote control and overhead upgrading method of remote control
CN104657161A (en) Method and device for updating firmware of mobile terminal
CN102446141B (en) Device and method for realizing write protection control
CN102646044A (en) System and method for loading programs for multiple touch screens
CN106851625A (en) A kind of blue tooth productses OTA upgrade methods
CN103092648B (en) A kind of image upgrade method, system and subscriber equipment and personal computer
CN103676911A (en) Equipment control system and control method
CN107451024A (en) The credible measure of hardware realized based on BMC chip
CN110824336A (en) Test system and test method
CN104158709A (en) Optical module identification method and port extender
CN103176822B (en) A kind of control method downloading data and control device
CN113778739A (en) System repair method, system, equipment and storage medium of all-in-one machine
CN105159714B (en) A kind of PMIC initial method and electronic equipment
CN111857785A (en) MCU starting method and device and terminal equipment
CN103634398A (en) MOST network-based software upgrading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160831

CF01 Termination of patent right due to non-payment of annual fee