CN102819471B - A kind of software backup system and method for device end - Google Patents

A kind of software backup system and method for device end Download PDF

Info

Publication number
CN102819471B
CN102819471B CN201210288538.8A CN201210288538A CN102819471B CN 102819471 B CN102819471 B CN 102819471B CN 201210288538 A CN201210288538 A CN 201210288538A CN 102819471 B CN102819471 B CN 102819471B
Authority
CN
China
Prior art keywords
device end
external memory
memory storage
storage
software
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210288538.8A
Other languages
Chinese (zh)
Other versions
CN102819471A (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.)
Shenzhen GIEC Electronics Co Ltd
Original Assignee
Shenzhen GIEC Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen GIEC Electronics Co Ltd filed Critical Shenzhen GIEC Electronics Co Ltd
Priority to CN201210288538.8A priority Critical patent/CN102819471B/en
Publication of CN102819471A publication Critical patent/CN102819471A/en
Application granted granted Critical
Publication of CN102819471B publication Critical patent/CN102819471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of software backup system and method for terminal device, the external memory storage that the software backup system of this device end comprises device end and is connected with device end, this device end comprises: microprocessor, and the input block, interface unit, the storage unit that are connected with this microprocessor; This microprocessor receives the input information that input block transmits, and judge that whether whether this input information consistent with the back-up validation stored in storage unit, if consistent, then device end and external memory storage connect, and are stored in external memory storage by needing the software backed up in storage unit by interface unit; Interface unit: be connected with described external memory storage, for data transmission in device end and external memory storage; Therefore, can conveniently will the software of backup be needed to be kept in external memory storage on the one hand; On the other hand, device for disassembling terminal can also be saved, deduct unnecessary trouble.

Description

A kind of software backup system and method for device end
Technical field
The present invention relates to software backup, more particularly, relate to a kind of software backup system and method for device end.
Background technology
Along with the progress of science and technology, the various electronic product also vigorous growth being applied to daily life, such as present Set Top Box, makes the life of people more colorful colourful.If there is a device end to occur problem at present, and there is not similar problem with the device end of the same type that producer produces in another one, the software of two device ends has some part different, such as software version is different, in order to the problem of the problem or software aspect of verifying machine firmware, the software of no problem device end is then needed to be burnt to inside problematic device end, but there is no burn recording software again, so just need the software inside by machine to read out.The existing software by device end (E-consumer class) reads out two kinds of methods from FLASH: one, removed by the FLASH of device end and read in cd-rom recorder; Two, the application program reading software provided by developer out.First method Problems existing needs device end to dismantle exactly, is welded by FLASH, be put in cd-rom recorder and read with soldering appliance, does not namely save time and is not that professional is also difficult to accomplish; Second method Problems existing is exactly the instrument support that must obtain developer, has the function read out by the software in FLASH, and connects computer and device end after will disassembling machine, likely must oneself welding data interface.
Summary of the invention
The technical problem to be solved in the present invention is, for prior art by the software application of device end normally run to out of order device end time, need detaching equipment terminal to copy the defect of the inconveniences such as software, a kind of software backup system and method solving the device end of above defect is provided.
The technical solution adopted for the present invention to solve the technical problems is: the software backup system constructing a kind of device end, the external memory storage comprising device end and be connected with described device end, and described device end comprises:
Input block: for receiving the input information of user;
Microprocessor: be connected with input block, for receiving the input information that input block transmits, and judge that whether whether this input information consistent with the back-up validation stored in storage unit, if consistent, then device end and external memory storage connect, and are stored in external memory storage by needing the software backed up in storage unit by interface module;
Interface unit: be electrically connected with described microprocessor and be connected with described external memory storage, for data transmission in device end and external memory storage;
Storage unit: be connected with described microprocessor, for storing in described device end the software and back-up validation that need to back up.
In the software backup system of device end of the present invention, described device end also comprises the detecting unit be connected with described microprocessor, whether is connected with external memory storage for detecting described device end; When described detecting unit detects external memory storage, device end loads described external memory storage, is stored into needing the software backed up in storage unit in external memory storage by interface unit.
In the software backup system of device end of the present invention, described device end also comprises the creating unit be connected with described microprocessor, for after device end and external memory storage connect, in described external memory storage, creates file.
In the software backup system of device end of the present invention, described back-up validation is numeral.
In the software backup system of device end of the present invention, described external memory storage is portable hard drive or USB.
The present invention also constructs a kind of software backup method of device end, uses the software backup system of above-mentioned device end, comprises the following steps:
S1, device end carry out initialization:
S2, device end receive the input information of user by input block;
The microprocessor of S3, device end receives the input information of input block transmission, and judges that whether whether this input information consistent with the back-up validation stored in the storage unit of device end, if unanimously, then performs step S4, otherwise terminates;
S4, device end and external memory storage connect, and are stored in external memory storage by needing the software backed up in storage unit by interface unit;
S5, end.
In the software backup method of device end of the present invention, described step S4 is further comprising the steps:
S41, device end detect described device end by detecting unit and whether are connected with external memory storage, if had, then perform step S42, otherwise perform step S5;
S42, device end load described external memory storage;
The creating unit of S43, device end creates file in described external memory storage, and needs the internal memory of the fixed size used to device end application;
S44, follow the bad data that read be put in internal memory from 0 address of the storage unit of device end, each size read is the same with the memory size of application, is then written in the file of external memory storage by data in EMS memory; Often write once, the reading address of storage unit all to increase with writing address in file and also address identical, until read address exceeded the size of storage unit.
In the software backup method of device end of the present invention, described storage unit is FLASH.
In the software backup method of device end of the present invention, described back-up validation is numeral.
In the software backup method of device end of the present invention, described external memory storage is portable hard drive or USB.
Implement the software backup system and method for device end of the present invention, there is following beneficial effect: device end, when receiving input information (i.e. backup request) by user input unit, is stored in external memory storage to needing the software of backup in storage unit by interface unit; Therefore, can conveniently will the software of backup be needed to be kept in external memory storage on the one hand; On the other hand, device for disassembling terminal can also be saved, deduct unnecessary trouble.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the structured flowchart of the software backup system of present device terminal;
Fig. 2 is the software backup method flow diagram of present device terminal.
Embodiment
In order to make object of the present invention clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
As shown in Figure 1, in the structured flowchart of the software backup system of device end of the present invention, the external memory storage 20 comprising device end 10 and be connected with device end 10.This device end 10 comprises: microprocessor 11, and the input block 12, storage unit 13, interface unit 14, detecting unit 15, the creating unit 16 that are connected respectively with this microprocessor 11; This input block 12 is for receiving the input information of user; The input information that microprocessor 11 transmits for receiving input block 12, and judge that whether whether this input information consistent with the back-up validation stored in storage unit 13, if consistent, then device end 10 and external memory storage 20 connect, and are stored in external memory storage 20 by needing the software backed up in storage unit 13 by interface unit 14; Interface unit 14: be electrically connected with microprocessor 11 and be connected with external memory storage 20, for data transmission in device end 10 with external memory storage 20; Storage unit 13 is for needing software and the back-up validation of backup in memory device terminal; Whether detecting unit 15 is connected with external memory storage 20 for checkout equipment terminal 10, when detecting unit 15 detects external memory storage 20, device end 10 loads external memory storage 20, is stored in external memory storage 20 by needing the software backed up in storage unit 13 by interface unit 14; Creating unit 16 is for after device end 10 and external memory storage 20 connect, and in external memory storage, 20 create file.
In specific implementation process, the back-up validation stored in storage unit 13 can be numeral, letter, word etc., user inputs information by input block, microprocessor 11 judges that whether this input information is consistent with back-up validation, if consistent, then illustrate that user wishes the software backup in storage unit in external memory storage, if inconsistent, then do not perform backup, if do not receive the input information of user, then illustrate that user does not wish the software backup in storage unit in external memory storage.When this input information of microprocessor judges is consistent with back-up validation, external memory storage 20 whether is connected with again by detecting unit 15 checkout equipment terminal 10, if had, then device end 10 loads this external memory storage 20, the creating unit 16 of device end 10 externally creates file in storer 20, and the internal memory of the fixed size used is needed to device end 10 application, from 0 address of the storage unit of device end 10, follow the bad data that read is put in internal memory, the size of each reading is the same with the memory size of application, then data in EMS memory is written in the file of external memory storage 20, often write once, the reading address of storage unit 13 all to increase with writing address in file and also address identical, until read address exceeded the size of storage unit, then backed up.Because the size of the data in each reading cells can only be the same with the size of internal memory of applying in internal memory, so the data in the file of write external memory storage can not disposablely run through, need to read in batches, just can one-time write with the equirotal space of storage unit if can apply in internal memory.
In the present embodiment, external memory storage 20 can be portable hard drive or USB.
As shown in Figure 2, in the software backup method flow diagram of device end of the present invention, use the software backup system of device end as shown in Figure 1, comprise the following steps:
S1, device end 10 carry out initialization:
S2, device end 10 receive the input information of user by input block 12;
The microprocessor 11 of S3, device end 10 receives the input information of input block 12 transmission, and judges that whether whether this input information consistent with the back-up validation stored in the storage unit 13 of device end 10, if unanimously, then performs step S4, otherwise terminates;
S4, device end 10 connect with external memory storage 20, are stored in external memory storage by needing the software backed up in storage unit 13 by interface unit 14;
S5, end.
Further, above-mentioned steps S4 comprises the following steps:
Whether S41, device end 10 are connected with external memory storage 20 by detecting unit 15 checkout equipment terminal 10, if had, then perform step S42, otherwise perform step S5;
S42, device end 10 load external memory storage 20;
The creating unit 16 of S43, device end 10 externally creates file in storer 20, and needs the internal memory of the fixed size used to device end 10 application;
S44, follow the bad data that read be put in internal memory from 0 address of the storage unit 13 of device end 10, each size read is the same with the memory size of application, then data in EMS memory is written in the file of external memory storage 20; Often write once, the reading address of storage unit 13 all to increase with writing address in file and also address identical, until read address exceeded the size of storage unit, then backed up.Because the size of the data in each reading cells 13 can only be the same with the size of internal memory of applying in internal memory, so the data in the file of write external memory storage can not disposablely run through, need to read in batches, just can one-time write with the equirotal space of storage unit if can apply in internal memory.
In specific implementation process, storage unit is FLASH, and the back-up validation stored in storage unit can be numeral, letter, word etc., and this external memory storage 20 is portable hard drive or USB.
In this scenario, device end, when receiving input information (i.e. the backup request) of user by input block, is stored in external memory storage by needing the software backed up in storage unit by interface unit; Therefore, can conveniently will the software of backup be needed to be kept in external memory storage on the one hand; On the other hand, device for disassembling terminal can also be saved, deduct unnecessary trouble.Using this software backup method that user or developer can be avoided to obtain software to tear cost and the time of machine and welding open, the cost required for a cd-rom recorder can also be saved.If developer or manufacturer lose software or software does not back up, when terminal client not too specialty do not have terminal client can be allowed according to said method production software to be returned to developer or manufacturer when technical support.
Set Top Box for device end, one Set Top Box manufacturer finds that the set-top box software that oneself is produced to client has gone wrong, but the software appearing goods to client is no problem before, do not back up owing to producing software, or due to oneself have changed too many thing can not to reduce etc. a variety of causes have no idea to obtain before the software produced, terminal sale over there again for electronics aspect not too specialty can not provide software with cd-rom recorder etc., in order to can better save time and enhance productivity, client can be allowed to use said method by software backup out, the software being stored in external memory storage (as USB) is being supplied to manufacturer to guarantee timely production.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (5)

1. a software backup system for device end, the external memory storage (20) comprising device end (10) and be connected with described device end, is characterized in that, described device end (10) comprising:
Input block (12): for receiving the input information of user;
Microprocessor (11): be connected with input block (12), for receiving the input information that input block transmits, and judge that whether whether this input information consistent with the back-up validation stored in storage unit, if consistent, then device end and external memory storage connect, and are stored in external memory storage by needing the software backed up in storage unit by interface unit;
Interface unit (14): be electrically connected with described microprocessor and be connected with described external memory storage, for data transmission in device end and external memory storage;
Storage unit (13): be connected with described microprocessor, for storing in described device end the software and back-up validation that need to back up;
Creating unit (16): be connected with described microprocessor (11), for after device end and external memory storage connect, file is created in described external memory storage (20), and to the internal memory used by device end (10) application, from 0 address of the storage unit of device end (10), follow the bad data that read is put in described internal memory, the size of each reading is the same with the memory size of application, then data in EMS memory is written in the file of external memory storage (20); Often write once, the reading address of storage unit (13) increases with writing address in file and address is identical, until the address of reading has exceeded the size of storage unit (13), has then backed up; If the size of the data in each reading cells (13) is the same with the size of applied for internal memory, then read in batches, if the internal memory applied in internal memory is the same with the size of storage unit (13), then one-time write;
Whether the detecting unit (15) be connected with described microprocessor, be connected with external memory storage for detecting described device end; When described detecting unit detects external memory storage, device end loads described external memory storage, is stored into needing the software backed up in storage unit in external memory storage by interface unit.
2. the software backup system of device end according to claim 1, is characterized in that, described back-up validation is numeral.
3. the software backup system of device end according to claim 2, is characterized in that, described external memory storage (20) is portable hard drive or USB.
4. a software backup method for device end, uses the software backup system of the device end as described in any one of claim 1-3, it is characterized in that, comprise the following steps:
S1, device end (10) carry out initialization:
S2, device end (10) receive the input information of user by input block (12);
The microprocessor (11) of S3, device end (10) receives the input information that input block (12) transmits, and judge that whether whether this input information consistent with the back-up validation stored in the storage unit (13) of device end, if consistent, then perform step S4, otherwise terminate;
S4, device end (10) and external memory storage (20) connect, and are stored in external memory storage by needing the software backed up in storage unit by interface unit (14); Wherein step S4 is further comprising the steps:
S41, device end (10) detect described device end (10) by detecting unit (15) and whether are connected with external memory storage (20), if had, then perform step S42, otherwise perform step S5;
S42, device end (10) load described external memory storage (20);
The creating unit (16) of S43, device end (10) creates file in described external memory storage, and needs the internal memory of the fixed size used to device end application;
S44, from 0 address of the storage unit (13) of device end (10), follow the bad data that read be put in internal memory, the size of each reading is the same with the memory size of application, then data in EMS memory is written in the file of external memory storage (20); Often write once, the reading address of storage unit (13) all to increase with writing address in file and also address identical, until the address of reading has exceeded the size of storage unit (13); If the size of the data in each reading cells (13) is the same with the size of applied for internal memory, then read in batches, if the internal memory applied in internal memory is the same with the size of storage unit (13), then one-time write;
S5, end.
5. the software backup method of device end according to claim 4, is characterized in that, described storage unit (13) is FLASH.
CN201210288538.8A 2012-08-14 2012-08-14 A kind of software backup system and method for device end Active CN102819471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210288538.8A CN102819471B (en) 2012-08-14 2012-08-14 A kind of software backup system and method for device end

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210288538.8A CN102819471B (en) 2012-08-14 2012-08-14 A kind of software backup system and method for device end

Publications (2)

Publication Number Publication Date
CN102819471A CN102819471A (en) 2012-12-12
CN102819471B true CN102819471B (en) 2016-02-17

Family

ID=47303595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210288538.8A Active CN102819471B (en) 2012-08-14 2012-08-14 A kind of software backup system and method for device end

Country Status (1)

Country Link
CN (1) CN102819471B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440178B (en) * 2013-07-30 2017-11-07 广东欧珀移动通信有限公司 The method and its mobile terminal of backup application operational factor
CN104035892B (en) * 2014-06-17 2017-05-03 英业达科技有限公司 Server system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771804A (en) * 2008-12-29 2010-07-07 深圳市同洲电子股份有限公司 Backup and restore method for DTV receiving terminal software system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728855A (en) * 2005-07-22 2006-02-01 上海贝豪通讯电子有限公司 Mobile terminal devices and method capable of recovering user's data automatically
JP5150980B2 (en) * 2009-09-07 2013-02-27 Necアクセステクニカ株式会社 Storage device, data backup method, and data backup program
CN101887374B (en) * 2010-06-12 2015-08-12 中兴通讯股份有限公司 The method and system of installing terminal equipment
CN102622283A (en) * 2011-01-30 2012-08-01 上海三旗通信科技股份有限公司 Backup recovery method and device for radio frequency calibration parameters of terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771804A (en) * 2008-12-29 2010-07-07 深圳市同洲电子股份有限公司 Backup and restore method for DTV receiving terminal software system

Also Published As

Publication number Publication date
CN102819471A (en) 2012-12-12

Similar Documents

Publication Publication Date Title
TWI386852B (en) System for switching bios and method thereof
US20150277897A1 (en) Software upgrade method and system for mobile terminal
TWI599877B (en) Method for reading complete kernel log when kernel panic takes place in operating system
CN102141921A (en) Method for upgrading system of terminal equipment and terminal equipment
CN104216796A (en) Data backup and recovery method and electronic device
CN107463341A (en) Method for deleting, device and the mobile terminal of FLASH chip
CN109683970A (en) A kind of amending method of server FRU information, modification system and relevant apparatus
CN102819471B (en) A kind of software backup system and method for device end
TW201243613A (en) Data synchronization system and method
CN103477291A (en) Parameter-setting device and parameter-setting system
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
CN103853638A (en) Method for refreshing firmware and electronic equipment
CN103713858A (en) Local log preservation method and device for electronic products
CN110187872A (en) A kind of BIOS development approach, system and electronic equipment and storage medium
CN101582015B (en) Control device, external storage device and their control methods
CN111130856A (en) Server configuration method, system, equipment and computer readable storage medium
CN107168650B (en) Method and device for processing data in memory of BIOS
JP2004030315A (en) Interface expanding device, pos terminal provided with the same and pos system
CN102184102B (en) Web page data range selecting system
CN100489799C (en) Method and computer-readable medium for loading the contents of a data file
CN106945406A (en) The operating method of consumable chip, consumable chip, consumable container, consumptive material equipment
JP2009064118A (en) Backup device for usb device, backup method for usb device used therefor, and its program
CN106921524B (en) Method and device for configuring command line tag
CN111158733A (en) BMC upgrading method, device, equipment and computer readable storage medium
CN105117266A (en) Reinstallation method and system for mobile terminal

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