CN102591683A - Updating method and updating system for embedded operation system - Google Patents

Updating method and updating system for embedded operation system Download PDF

Info

Publication number
CN102591683A
CN102591683A CN2011104499142A CN201110449914A CN102591683A CN 102591683 A CN102591683 A CN 102591683A CN 2011104499142 A CN2011104499142 A CN 2011104499142A CN 201110449914 A CN201110449914 A CN 201110449914A CN 102591683 A CN102591683 A CN 102591683A
Authority
CN
China
Prior art keywords
file
update
configuration file
terminal
embedded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104499142A
Other languages
Chinese (zh)
Other versions
CN102591683B (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.)
Xiamen Rigo Communication Equipment Co., Ltd.
Original Assignee
RUICHENG HUISHANG 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 RUICHENG HUISHANG TECHNOLOGY Co Ltd filed Critical RUICHENG HUISHANG TECHNOLOGY Co Ltd
Priority to CN201110449914.2A priority Critical patent/CN102591683B/en
Publication of CN102591683A publication Critical patent/CN102591683A/en
Application granted granted Critical
Publication of CN102591683B publication Critical patent/CN102591683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an updating method and an updating system for embedded operation system. The method comprises the following steps: a host manufactures a data file and a configuration file updated by a system, and the configuration file has specific updating rules containing four attributes of filenames, storage catalogues, operation types and file types; a terminal sends data file requests of an updating system to the host; the host sends the data file and the configuration file updated by the system to the terminal; an analyzing module of the terminal can analyze the configuration file updated by the system and update data files in an original system according to updating rules in the configuration file. By means of the technical scheme, files in the original system are updated according to the specific updating rules, data amount of updating data is reduced, efficiency is greatly improved, and especially to terminals with low hardware configuration, efficiency is improved obviously.

Description

A kind of update method of embedded OS and system
Technical field
The present invention relates to a kind of update method and system thereof of system, particularly a kind of update method of embedded OS and system.
Background technology
Chinese patent publication number CN1517899A discloses a kind of name and has been called: upgrade the method for the operating system of embedded device, it adopts the transmission mode of Network Transmission or external storage, carries out system update to the equipment that embedded OS is installed.
Chinese patent publication number CN101907998A discloses a kind of name and has been called; The update system of embedded system and method, it is to adopt the remote background device to send to treating apparatus to Update Information, Updating Information that treating apparatus then will receive upgraded to the embedded system that needs upgrade through the mode of its serial communication.
Adopt the mode of Network Transmission or external storage that embedded system is upgraded to the renewal of embedded system in above-mentioned two parts of files.Yet,, can on original system, increase catalogue like this, increase file the modes of upgrading that directly cover that adopt in the renewal process of original system more.This update mode, not only data quantity transmitted is bigger, and the action type of its renewal is limited, can not upgrade selectively according to the file type in the original system.
Summary of the invention
Be to solve the technical matters that exists in the prior art, the invention provides a kind ofly in the system update process, its volume of transmitted data is less and upgrade the update method and the system of the various embedded OS of action type.
The present invention solves the problems of the technologies described above; The technical scheme that is provided comprises: a kind of update method of embedded OS is provided, utilizes main frame manufacturing system data updated file and configuration file, and after obtaining above-mentioned data file and configuration file by the terminal that embedded system is installed; Parsing module solves configuration file and carries out system update; It may further comprise the steps, step 100, main frame manufacturing system data updated file and configuration file; This configuration file has specific update rule, and this update rule comprises filename, storing directory, action type and four attributes of file type; Step 200, terminal are sent the data file request of update system to main frame; Step 300, main frame is to terminal transmitting system data updated file and configuration file; Step 400, the embedded system at terminal is resolved the configuration file of system update, and according to the update rule in the configuration file data file of original system is upgraded.
Act on preferred version of the present invention, said action type attribute is meant increases operation, deletion action, updating operation, the shut-down operation of executable file or the start-up operation of executable file.
Act on preferred version of the present invention, said file type is meant catalogue file, executable file, configuration file or driver.
The present invention solves the problems of the technologies described above, and a kind of technical scheme is provided again, promptly provides a kind of update system of embedded OS, comprises main frame, the terminal of embedded OS is installed, and main frame communicates with the terminal and is connected; Said main frame manufacturing system data updated file and configuration file, this configuration file has specific update rule, and this update rule comprises filename, storing directory, action type and four attributes of file type; Said terminal is equipped with the parsing module of the update rule that is used for resolving said configuration file, and according to the update rule that parses the data file in the original system is upgraded.
Act on preferred version of the present invention, said action type attribute is meant increases operation, deletion action, updating operation, the shut-down operation of executable file or the start-up operation of executable file.
Act on preferred version of the present invention, said file type is meant catalogue file, executable file, configuration file or driver.
Technical scheme of the present invention is with respect to prior art; The beneficial effect of obtaining is: the update method of embedded OS provided by the invention and system; Main frame is produced the configuration file of system update earlier; In the process that operating system is upgraded, the terminal is resolved the renewal in this configuration file by parsing module after receiving configuration file, and for example update rule has the operation of increasing, deletion action, updating operation etc.According to above-mentioned specific update rule the file in the original system is upgraded; Reduced the data volume of Data Update; Improve more high-level efficiency greatly, for the not high terminal of some Hardware configuration, its efficient improves more obvious; And avoid the method for the direct cover up rule of available technology adopting, its Data Update amount is big.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes a part of the present invention, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, does not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the update method process flow diagram of embedded OS of the present invention;
Fig. 2 is the update system block diagram of embedded OS of the present invention.
Embodiment
In order to make technical matters to be solved by this invention, technical scheme and beneficial effect clearer, clear,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Like Fig. 1, shown in Figure 2; The update method of embedded OS of the present invention; Utilize main frame 10 manufacturing system data updated file and configuration files; And carry out system update after obtaining above-mentioned data file and configuration file by the terminal that embedded system is installed 20, its step that specifically comprises is following
Step 100, main frame 10 manufacturing system data updated file and configuration files, this configuration file has specific update rule, and this update rule comprises filename, storing directory, action type and four attributes of file type;
Above-mentioned filename can be program name or directory name.Storing directory is meant filename stored path in operating system, that is to say the required path of depositing of this document behind this system update.The action type attribute is meant increases operation, deletion action, updating operation, the shut-down operation of executable file or the start-up operation of executable file; Above-mentioned file type can be catalogue file, executable file, configuration file or driver, and wherein catalogue file, executable file, driver belong to data file.
Step 200, terminal 20 are sent the data file request of update system to main frame 10.
The communication module 22 at terminal 20 is carried out Wireless/wired communication through communication network with the communication module 12 of main frame 10, and the data file request of update system is sent at terminal 20 to main frame 10.Certainly, also can be through external storage with setting up the relation that communication is connected between terminal 20 and the main frame 10.
Step 300, main frame 10 is to terminal 20 transmitting system data updated file and configuration files.
Terminal 20 receives the request that main frame 10 sends, and to new data file and the configuration file of terminal 20 transmitting systems row.
Step 400, the configuration file of 24 pairs of system updates of parsing module at terminal 20 is resolved, and according to the update rule in the configuration file data file of original system is upgraded.
For example,
1, there are four attributes in configuration file delegation, cuts apart with the TAB key between each attribute, finishes with carriage return, line feed between every row;
2, four attribute specifications of configuration file delegation are following:
Filename storing directory action type file type
Wherein, for action type, 00001 expression increases operation; 00010 represents deletion action; 00100 represents updating operation; 01000 represents the executable file shut-down operation; On behalf of executable file, 10000 stop to start;
For file type: 0001 represents catalogue file; 0010 represents executable file; 0100 represents configuration file; 1000 represent driver;
Tentation data file ABC is the executable file under the 20 operating system catalogue/mnt/yaffs/ of terminal, and it needs to upgrade, and the file in the configuration file is called update.ini, and then the update.ini content is:
ABC /mnt/yaffs 00100 0010。
The meaning of this update.ini representative is that executable file ABC is carried out updating operation, and be kept at/catalogue of mnt/yaffs under.
The update system of embedded OS provided by the present invention comprises main frame 10, the terminal 20 of embedded OS is installed, and main frame 10 communicates with terminal 20 and is connected; Main frame 10 manufacturing system data updated file and configuration files, this configuration file has specific update rule, and this update rule comprises filename, storing directory, action type and four attributes of file type; Terminal 20 is equipped with the parsing module 24 of the update rule that is used for resolving said configuration file, and according to the update rule that parses the data file in the original system is upgraded.
In like manner, the action type attribute is meant increases operation, deletion action, updating operation, the shut-down operation of executable file or the start-up operation of executable file.File type is meant catalogue file, executable file, configuration file or driver.
Should be appreciated that embedded OS of the present invention includes but not limited to linux system, Unix system, Android system.
Above-mentioned explanation illustrates and has described the preferred embodiments of the present invention; As previously mentioned; Be to be understood that the present invention is not limited to the form that this paper discloses, should do not regard eliminating as, and can be used for various other combinations, modification and environment other embodiment; And can in invention contemplated scope described herein, change through the technology or the knowledge of above-mentioned instruction or association area.And change that those skilled in the art carried out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection domain of accompanying claims of the present invention.

Claims (6)

1. the update method of an embedded OS; It is characterized in that; Utilize main frame manufacturing system data updated file and configuration file, and after obtaining above-mentioned data file and configuration file by the terminal that embedded system is installed, parsing module solves configuration file and carries out system update; It may further comprise the steps
Step 100, main frame manufacturing system data updated file and configuration file, this configuration file has specific update rule, and this update rule comprises filename, storing directory, action type and four attributes of file type;
Step 200, terminal are sent the data file request of update system to main frame;
Step 300, main frame is to terminal transmitting system data updated file and configuration file;
Step 400, the parsing module at terminal is resolved the configuration file of system update, and according to the update rule in the configuration file data file of original system is upgraded.
2. the update method of embedded OS according to claim 1 is characterized in that, said action type attribute is meant increases operation, deletion action, updating operation, the shut-down operation of executable file or the start-up operation of executable file.
3. the update method of embedded OS according to claim 1 is characterized in that, said file type is meant catalogue file, executable file, configuration file or driver.
4. the update system of an embedded OS is characterized in that, comprises main frame, the terminal of embedded OS is installed, and main frame communicates with the terminal and is connected;
Said main frame manufacturing system data updated file and configuration file, this configuration file has specific update rule, and this update rule comprises filename, storing directory, action type and four attributes of file type;
Said terminal is equipped with the parsing module of the update rule that is used for resolving said configuration file, and according to the update rule that parses the data file in the original system is upgraded.
5. the update system of embedded OS according to claim 4 is characterized in that, said action type attribute is meant increases operation, deletion action, updating operation, the shut-down operation of executable file or the start-up operation of executable file.
6. the update system of embedded OS according to claim 4 is characterized in that, said file type is meant catalogue file, executable file, configuration file or driver.
CN201110449914.2A 2011-12-28 2011-12-28 The update method of a kind of embedded OS and system Active CN102591683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110449914.2A CN102591683B (en) 2011-12-28 2011-12-28 The update method of a kind of embedded OS and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110449914.2A CN102591683B (en) 2011-12-28 2011-12-28 The update method of a kind of embedded OS and system

Publications (2)

Publication Number Publication Date
CN102591683A true CN102591683A (en) 2012-07-18
CN102591683B CN102591683B (en) 2016-08-17

Family

ID=46480395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110449914.2A Active CN102591683B (en) 2011-12-28 2011-12-28 The update method of a kind of embedded OS and system

Country Status (1)

Country Link
CN (1) CN102591683B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019794A (en) * 2012-12-27 2013-04-03 安徽中兴继远信息技术股份有限公司 Off-line batching programming method of multiple embedded program files
CN103473097A (en) * 2013-09-09 2013-12-25 福州瑞芯微电子有限公司 System, device and method for upgrading Android system firmware
CN104156221A (en) * 2014-08-29 2014-11-19 上海艾为电子技术有限公司 Chip and method and device for modifying chip configuration
CN104461621A (en) * 2014-11-28 2015-03-25 青岛海信宽带多媒体技术有限公司 Attribute information updating method and device
CN105278993A (en) * 2015-10-27 2016-01-27 深圳市创维软件有限公司 Linux system based drive module upgrading method and apparatus
CN105354058A (en) * 2015-10-29 2016-02-24 无锡天脉聚源传媒科技有限公司 File updating method and apparatus
CN105468573A (en) * 2015-11-16 2016-04-06 中国电子科技集团公司第十研究所 Configurable diagram application system
CN106648725A (en) * 2016-09-07 2017-05-10 努比亚技术有限公司 Terminal, server and configuration file upgrading method
CN109088761A (en) * 2018-08-10 2018-12-25 武汉虹信通信技术有限责任公司 A kind of update method of network element device configuration data
CN109408078A (en) * 2018-11-01 2019-03-01 西北工业大学 A kind of update method and device of machine
CN110032542A (en) * 2019-04-19 2019-07-19 宁波三星医疗电气股份有限公司 A kind of cramfs file system management method, device and electronic equipment
CN111638897A (en) * 2020-06-02 2020-09-08 Tcl通讯(宁波)有限公司 System updating method and device, terminal equipment and storage medium
CN112099831A (en) * 2020-09-28 2020-12-18 中国银行股份有限公司 Batch updating method and device for configuration files

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1581101A (en) * 2003-08-12 2005-02-16 联想(北京)有限公司 Embedded system upgrading method
JP2007042125A (en) * 2001-03-23 2007-02-15 Tatsuya Fujii System for updating apparatus setting
CN101000550A (en) * 2006-12-13 2007-07-18 青岛大学 Remote on-line reconfiguration method of embedded system
CN102129378A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Software menu updating method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007042125A (en) * 2001-03-23 2007-02-15 Tatsuya Fujii System for updating apparatus setting
CN1581101A (en) * 2003-08-12 2005-02-16 联想(北京)有限公司 Embedded system upgrading method
CN101000550A (en) * 2006-12-13 2007-07-18 青岛大学 Remote on-line reconfiguration method of embedded system
CN102129378A (en) * 2010-01-20 2011-07-20 腾讯科技(深圳)有限公司 Software menu updating method and device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019794B (en) * 2012-12-27 2016-07-13 安徽中兴继远信息技术股份有限公司 A kind of embedded multiprogram file off-line batch programming method
CN103019794A (en) * 2012-12-27 2013-04-03 安徽中兴继远信息技术股份有限公司 Off-line batching programming method of multiple embedded program files
CN103473097A (en) * 2013-09-09 2013-12-25 福州瑞芯微电子有限公司 System, device and method for upgrading Android system firmware
CN104156221A (en) * 2014-08-29 2014-11-19 上海艾为电子技术有限公司 Chip and method and device for modifying chip configuration
CN104461621B (en) * 2014-11-28 2018-01-02 青岛海信宽带多媒体技术有限公司 A kind of method and device of Update attribute information
CN104461621A (en) * 2014-11-28 2015-03-25 青岛海信宽带多媒体技术有限公司 Attribute information updating method and device
CN105278993A (en) * 2015-10-27 2016-01-27 深圳市创维软件有限公司 Linux system based drive module upgrading method and apparatus
CN105278993B (en) * 2015-10-27 2018-10-19 深圳市创维软件有限公司 A kind of drive module upgrade method and device based on linux system
CN105354058A (en) * 2015-10-29 2016-02-24 无锡天脉聚源传媒科技有限公司 File updating method and apparatus
CN105468573B (en) * 2015-11-16 2018-06-26 中国电子科技集团公司第十研究所 Configurable type chart application system
CN105468573A (en) * 2015-11-16 2016-04-06 中国电子科技集团公司第十研究所 Configurable diagram application system
CN106648725A (en) * 2016-09-07 2017-05-10 努比亚技术有限公司 Terminal, server and configuration file upgrading method
CN106648725B (en) * 2016-09-07 2020-04-21 努比亚技术有限公司 Terminal, server and configuration file upgrading method
CN109088761A (en) * 2018-08-10 2018-12-25 武汉虹信通信技术有限责任公司 A kind of update method of network element device configuration data
CN109088761B (en) * 2018-08-10 2021-07-16 武汉虹信科技发展有限责任公司 Updating method of network element equipment configuration data
CN109408078A (en) * 2018-11-01 2019-03-01 西北工业大学 A kind of update method and device of machine
CN109408078B (en) * 2018-11-01 2022-03-08 西北工业大学 Machine updating method and device
CN110032542A (en) * 2019-04-19 2019-07-19 宁波三星医疗电气股份有限公司 A kind of cramfs file system management method, device and electronic equipment
CN111638897A (en) * 2020-06-02 2020-09-08 Tcl通讯(宁波)有限公司 System updating method and device, terminal equipment and storage medium
CN111638897B (en) * 2020-06-02 2023-09-26 驭新智行科技(宁波)有限公司 System updating method, device, terminal equipment and storage medium
CN112099831A (en) * 2020-09-28 2020-12-18 中国银行股份有限公司 Batch updating method and device for configuration files

Also Published As

Publication number Publication date
CN102591683B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN102591683A (en) Updating method and updating system for embedded operation system
CN103942058B (en) A kind of EMBEDDED AVIONICS method for upgrading software and system
CN102622241B (en) A kind of method for upgrading software and device
CN102262544B (en) The method and apparatus of software upgrading
US10282191B2 (en) Updating web resources
CN101170675B (en) Method and system for managing J2ME application in network TV system
CN103577235A (en) Software deploying method, deploying server, computer to be deployed and system
WO2016192197A1 (en) Software upgrade method, apparatus and system of terminal, and computer storage medium
EP2696532A2 (en) Method, server and system for starting application
KR20180137554A (en) PATCH UPGRADE BASED FILE PROCESSING METHOD AND DEVICE, TERMINAL,
CN102724308A (en) Software update method and software update system
CN103699408A (en) Software updating method and equipment
CN102833350A (en) Processing method and processing device of WebApp updating
CN102065118A (en) Method for updating network equipment and device for implementing method
CN106557347B (en) Software updating method and device
CN102129378A (en) Software menu updating method and device
CN102223410A (en) Searching method of intelligent information terminal and terminal
CN103297275A (en) Dynamic discovery and loading system and method for Web network management client module
CN102243594A (en) Method for safely and remotely upgrading embedded Linux system software
CN105808273A (en) Software upgrading method and software upgrading device
CN104636159B (en) The method and apparatus that software in virtual machine is upgraded
CN103544030A (en) Software upgrading method, software upgrading system and intelligent terminal
CN101472050A (en) Method and system for updating software, digital television receive terminal and server
CN102223380A (en) Client terminal automatic updating frame based on Webservice and application thereof
CN105468422A (en) Method and system for optimizing operation system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: ZHANG WEIHAI

Free format text: FORMER OWNER: RUICHENG HUISHANG TECHNOLOGY CO., LTD.

Effective date: 20130516

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130516

Address after: Jimei Wenda road Xiamen District 361000 21 25404 units in Fujian Province

Applicant after: Zhang Weihai

Address before: 361000 S108 room, South first floor, Torch Hotel, Huli hi tech Zone, Huli District, Fujian, Xiamen, Xiamen

Applicant before: Ruicheng Huishang Technology Co., Ltd.

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160104

Address after: Siming District of Xiamen City, Fujian province 361000 Xianyue Road No. 584, room 902

Applicant after: Xiamen Rigo Communication Equipment Co., Ltd.

Address before: Jimei Wenda road Xiamen District 361000 21 25404 units in Fujian Province

Applicant before: Zhang Weihai

C14 Grant of patent or utility model
GR01 Patent grant