CN101986269A - Method for implementing machine refreshing through network under Android platform - Google Patents

Method for implementing machine refreshing through network under Android platform Download PDF

Info

Publication number
CN101986269A
CN101986269A CN2010105158973A CN201010515897A CN101986269A CN 101986269 A CN101986269 A CN 101986269A CN 2010105158973 A CN2010105158973 A CN 2010105158973A CN 201010515897 A CN201010515897 A CN 201010515897A CN 101986269 A CN101986269 A CN 101986269A
Authority
CN
China
Prior art keywords
android
mtd
upgrade
flashcp
eraseall
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
Application number
CN2010105158973A
Other languages
Chinese (zh)
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.)
FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd
Original Assignee
FUJIAN XINNUO COMMUNICATION TECHNOLOGY 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 FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd filed Critical FUJIAN XINNUO COMMUNICATION TECHNOLOGY Co Ltd
Priority to CN2010105158973A priority Critical patent/CN101986269A/en
Publication of CN101986269A publication Critical patent/CN101986269A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method for implementing machine refreshing through a network under an Android platform. The method comprises the following steps of: 001, transplanting and adding mtd-uitls on an Android framework, and obtaining flash-eraseall and flashcp two commands; 002, manufacturing an upgrade mirror image packet required for updating; and 003, performing mirror image update on an MTD subarea of the Android according to the upgrade mirror image packet of the step 002 through the flash-eraseall and flashcp two update commands of the mtd-uitls. The method can realize convenient and quick remote network upgrade and solve the problems of difficulty in maintenance, high cost, high workload, low efficiency and high manpower and traffic cost because the maintenance personnel need to drop in maintenance and upgrade or a user goes to a supplier and the professional carries out machine refreshing upgrade at present.

Description

A kind of method that under the Android platform, realizes by network brush machine
[technical field]
The present invention relates to a kind of technology of upgrading of terminal software part, especially relate to a kind of based on the telecommunication network technology of upgrading.
[background technology]
The maintenance of end product always is the problem of the unusual headache of manufacturer terminal, especially the upgrading of terminal software part, because the distribution of end product is wide and inhomogeneous, traditional way is: 1. manually upgrading, by maintainer's on-site maintenance, workload is big and efficient is low, and human cost and transportation cost are higher; 2. network upgrade is upgraded by network, and is by programmed control upgrading flow process, time saving and energy saving.Android is a intelligent mobile phone platform of realizing based on linux, and its official version comprises the framework of a complete smart mobile phone.But it does not provide the scheme of a clear and definite remote upgrade, and this can only pass through to the supplier place and carry out the upgrading of brush machine by the professional for general consumer product, and difficulty of Wei Huing and cost are bigger like this.Because product is a sector terminal, often face the upgrade requirement of kernel software layer, and the end product on the client can not unify to reclaim the process that upgrading is distributed again, so remote upgrade is the process an of necessity.
[summary of the invention]
The technical problem to be solved in the present invention, be to provide a kind of method that under the Android platform, realizes by network brush machine, it can upgrade local MTD (memory techniques equipment) partition data by mtd-utils (third party's source code bag of increasing income), thereby realizes that Remote Switched Port Analyzer upgrades.
The present invention is achieved in that
A kind of realization under the Android platform of the present invention specifically comprises the steps: by the method for network brush machine
Add mtd-uitls 001. on the Android framework, transplant, and obtain flash-eraseall and two orders of flashcp;
Upgrade required upgrade image bag 002. make;
003. flash-eraseall and two update command of flashcp by mtd-uitls are carried out mirror image according to the upgrade image bag of step 002 to the MTD subregion of Android and are upgraded.
Further, described step 001 specifically comprises: the source code bag of mtd-uitls is placed under the external catalogue of Android framework, and write the Android.mk file according to the compile mode of Android, obtain two orders of flash-eraseall/flashcp at least;
Further, described step 002 is to make according to the form of correspondence when making the upgrade image bag, guarantees the byte-aligned on the NandFlash on the Android framework simultaneously;
Further, described step 003 specifically comprises: wipe mirror image place subregion by the flash-eraseall update command earlier, the upgrade image bag of step 002 being made by the flashcp update command is written to corresponding subregion again.
The present invention has following advantage:
The present invention is transplanted to mtd-utils in the Android framework, and realize the upgrade image bag is updated on the MTD subregion by mtd-utils, the application software layer can obtain the AKU of company by network like this, and realize that by the mtd-utils function of expansion the MTD on the local terminal goes up the upgrading of each kernel image, solved in the past and upgraded by maintainer's on-site maintenance, or the user carries out the upgrading of brush machine to the supplier place by the professional, difficulty of Wei Huing and cost are bigger like this, workload is big and efficient is low, human cost and transportation cost problem of higher.
[description of drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method schematic flow sheet.
Fig. 2 is the use synoptic diagram of one embodiment of the invention.
[embodiment]
The present invention will be described in detail to consult Fig. 1, Fig. 2.
As shown in Figure 1, the present invention specifically may further comprise the steps:
Add mtd-uitls 001. on the Android framework, transplant, and obtain flash-eraseall and two orders of flashcp, specifically be that source code bag with mtd-uitls is placed under the external catalogue of Android framework, and write the Android.mk file according to the compile mode of Android, obtain two orders of flash-eraseall/flashcp at least;
Upgrading required upgrade image bag 002. make, is to make according to the form of correspondence when making the upgrade image bag, guarantees the byte-aligned on the NandFlash simultaneously;
003. flash-eraseall and two update command of flashcp by mtd-uitls, according to the upgrade image bag of step 002 the MTD subregion of Android being carried out mirror image upgrades, order by flash-eraseall earlier, be that flash-eraseall/dev/mtd/mtdx wipes mirror image place subregion, by the flashcp order, promptly flashcp image file/dev/mtd/mtdx is written to corresponding subregion to the upgrade image bag of step 002 making again.
Described mtd-utils can provide the storehouse and the tool using of one group of operation store equipment, comprising instruments and instruments such as flash-eraseall that operates the MTD subregion and flashcp such as making file system mkfs.jffs2.Android has favorable expansibility, transplant and add third party's function storehouse and use very convenient, the source code bag of mtd-uitls is placed under the external catalogue of Android framework, write the Android.mk file according to Makefile and get final product (compiling file that Android.mk is the Android system-specific), when compiling, the Android framework will scan the Android.mk file like this, thereby carry out the compiling of mtd-uitls, obtain being fit to order flash-eraseall and the flashcp that Android uses.Realizing the mirror image on the MTD subregion is upgraded only need reservation flash-eraseall and two update command of flashcp.In Android, enable program, carry out flash-eraseall and flashcp and realize the renewal of MTD is operated.Write (flashcp) after should clashing (flash-eraseall) earlier when the MTD subregion is upgraded operation, be also noted that the authority problem simultaneously, this can realize by adopting process authority that promotes APP (application program) or the access right dual mode of opening the mtdx subregion.
As Fig. 2, enumerate an embodiment now, at first, call center's 1 calling terminal 2 is passed on the information that needs upgrading; In second step, terminal 2 is the calling of refusal call center 1 earlier; In the 3rd step, terminal 2 is carried out mutual local version information with upgrade server 3, and fetches AKU; The 4th step, the availability of terminal 2 investigation AKU; In the 5th step, terminal 2 is by mtd-uitls upgrading MTD subregion, and described MTD subregion can be as shown in the figure; In the 6th step, upgrade successfully.
The above, only for preferred embodiment of the present invention, so can not limit scope of the invention process according to this, i.e. the equivalence of doing according to claim of the present invention and description changes and modification, all should still belong in the scope that the present invention contains.

Claims (4)

1. realize that under the Android platform it is characterized in that: it specifically comprises the steps: by the method for network brush machine for one kind
Add mtd-uitls 001. on the Android framework, transplant, and obtain flash-eraseall and two orders of flashcp;
Upgrade required upgrade image bag 002. make;
003. flash-eraseall and two update command of flashcp by mtd-uitls are carried out mirror image according to the upgrade image bag of step 002 to the MTD subregion of Android and are upgraded.
2. a kind of method that under the Android platform, realizes by network brush machine according to claim 1, it is characterized in that: described step 001 specifically comprises: the source code bag of mtd-uitls is placed under the external catalogue of Android framework, and write the Android.mk file according to the compile mode of Android, obtain two orders of flash-eraseall and flashcp.
3. a kind of method that under the Android platform, realizes by network brush machine according to claim 1, it is characterized in that: described step 002 is to make according to the form of correspondence when making the upgrade image bag, guarantees the byte-aligned of the NandFlash on the Android framework simultaneously.
4. a kind of method that under the Android platform, realizes by network brush machine according to claim 1, it is characterized in that: described step 003 specifically comprises: wipe mirror image place subregion by the flash-eraseall update command earlier, the upgrade image bag of step 002 being made by the flashcp update command is written to corresponding subregion again.
CN2010105158973A 2010-10-22 2010-10-22 Method for implementing machine refreshing through network under Android platform Pending CN101986269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105158973A CN101986269A (en) 2010-10-22 2010-10-22 Method for implementing machine refreshing through network under Android platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105158973A CN101986269A (en) 2010-10-22 2010-10-22 Method for implementing machine refreshing through network under Android platform

Publications (1)

Publication Number Publication Date
CN101986269A true CN101986269A (en) 2011-03-16

Family

ID=43710618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105158973A Pending CN101986269A (en) 2010-10-22 2010-10-22 Method for implementing machine refreshing through network under Android platform

Country Status (1)

Country Link
CN (1) CN101986269A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830999A (en) * 2012-09-05 2012-12-19 深圳市网卓信息科技有限公司 Method and device for updating of Android system
CN103577211A (en) * 2012-08-08 2014-02-12 上海赤炫信息科技有限公司 Novel packaging and burning as well as updating methods for Android ROM (read only memory) system
CN105224368A (en) * 2015-10-08 2016-01-06 广东欧珀移动通信有限公司 The method of the long-range brush machine of a kind of Android device
CN105446835A (en) * 2015-12-24 2016-03-30 小米科技有限责任公司 Method and device for repairing system file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101344854A (en) * 2008-08-22 2009-01-14 四川长虹电器股份有限公司 Method for upgrading embedded type Linux equipment through SD card
CN101620542A (en) * 2009-07-30 2010-01-06 深圳市蓝韵实业有限公司 Compatible updating method of ultrasonic imaging equipment software data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101344854A (en) * 2008-08-22 2009-01-14 四川长虹电器股份有限公司 Method for upgrading embedded type Linux equipment through SD card
CN101620542A (en) * 2009-07-30 2010-01-06 深圳市蓝韵实业有限公司 Compatible updating method of ultrasonic imaging equipment software data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103577211A (en) * 2012-08-08 2014-02-12 上海赤炫信息科技有限公司 Novel packaging and burning as well as updating methods for Android ROM (read only memory) system
CN102830999A (en) * 2012-09-05 2012-12-19 深圳市网卓信息科技有限公司 Method and device for updating of Android system
CN102830999B (en) * 2012-09-05 2016-04-06 深圳市网卓信息科技有限公司 Android system brush machine method and apparatus
CN105224368A (en) * 2015-10-08 2016-01-06 广东欧珀移动通信有限公司 The method of the long-range brush machine of a kind of Android device
CN105224368B (en) * 2015-10-08 2018-09-11 广东欧珀移动通信有限公司 A kind of method of the long-range brush machine of Android device
CN105446835A (en) * 2015-12-24 2016-03-30 小米科技有限责任公司 Method and device for repairing system file

Similar Documents

Publication Publication Date Title
CN107948006B (en) Method and device for arranging functions of virtual network
KR101882426B1 (en) Software updating method, system, and device
CN101950253B (en) Method for upgrading optical module firmware in optical network unit by utilizing WEB webpage interface
WO2017193650A1 (en) Intelligent management terminal, intelligent optical distribution network device, and system and method for managing same
EP1717699A1 (en) Software update system and software update management apparatus
CN105893070A (en) Application SDK upgrading method and system
CN111507441B (en) Optical fiber network management system based on RFID electronic tag
CN102932062A (en) Intelligent optical fiber connecting and distributing system and adapter port state information identification method
CN101986269A (en) Method for implementing machine refreshing through network under Android platform
CN104776560A (en) Program updating method, program updating system and air conditioner
CN103970573A (en) Light application program system for mobile device and program loading system and method thereof
CN110417871A (en) A kind of smart machine upgrade method
CN101426032A (en) Terminal and method for Java application installation
CN102567061A (en) Method and system for bidirectionally updating television and remote controller
CN112068845A (en) Multi-architecture-adaptive containerized CICD service deployment method and device
CN104850449A (en) Method and apparatus for implementing system architecture
CN104793998A (en) Terminal system resource management method and device
CN108733399A (en) The method and apparatus that dynamic updates configuration data
CN105812180A (en) Network device configuration system and method
CN109246454A (en) Set-top box management method, device, terminal and storage medium based on cloud platform
CN104639317A (en) System and method for key update of smart card based on app (Application) module
CN111142882A (en) Service additional dependency management method for large-scale micro-service deployment
CN102843417B (en) The remote operation method of electronic equipment
CN101572881B (en) Equipment management method in TD-SCDMA
CN102143222A (en) Application resource downloading adaptation method and downloading adaptation device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110316