CN101556583B - Method for efficiently controlling embedded linux file system version - Google Patents

Method for efficiently controlling embedded linux file system version Download PDF

Info

Publication number
CN101556583B
CN101556583B CN200810035907A CN200810035907A CN101556583B CN 101556583 B CN101556583 B CN 101556583B CN 200810035907 A CN200810035907 A CN 200810035907A CN 200810035907 A CN200810035907 A CN 200810035907A CN 101556583 B CN101556583 B CN 101556583B
Authority
CN
China
Prior art keywords
version
minilinux
information
text
file
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
CN200810035907A
Other languages
Chinese (zh)
Other versions
CN101556583A (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.)
Shanghai Baokang Electronic Control Engineering Co Ltd
Original Assignee
Shanghai Baokang Electronic Control Engineering 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 Shanghai Baokang Electronic Control Engineering Co Ltd filed Critical Shanghai Baokang Electronic Control Engineering Co Ltd
Priority to CN200810035907A priority Critical patent/CN101556583B/en
Publication of CN101556583A publication Critical patent/CN101556583A/en
Application granted granted Critical
Publication of CN101556583B publication Critical patent/CN101556583B/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 provides a method for efficiently controlling an embedded linux file system version, comprising the following steps: producing a text file which contains a Minilinux version number and abrief introduction with a changed version; manufacturing a script file which can read Minilinux version information; modifying the version information in a local user loading a welcome interface and the version information in a remote user loading the welcome interface in time; and determining whether the prior Minilinux version number is matched with the prior hardware and software environment. The invention provides an efficient means to inquire the version number, and finally ensures the matching relation of the Minilinux version number and the hardware and software environment thereof, thereby a worker can fast search the reason of operating troubles of equipment caused by mismatching of the version, and the workload is reduced.

Description

Effectively control the method for embedded linux file system version
Technical field
The present invention relates to the method for the existing embedded linux file system version of a kind of effective control, be applied to 3G electronic police product, be under the jurisdiction of field of traffic control.
Background technology
At present, 3G electronic police product basically all is based on the embedded Linux operating system of coming from standard linux process cutting and the next control product of developing of electronic police.Product adopts in the dos operating system and uses loadin (login) program designation; Use Ramdisk (ram disk) technology with kernel, file system (hereinafter to be referred as Minilinux; Mainly comprise and to let the various configuration files that comprise of the normal operation of system; Various drivings, the root directory structure of various library files etc.) is loaded into the method that kernel moves embedded Linux.
Since Minilinux be through cutting and non-standard; The function and content that includes can not be when beginning to design just very comprehensively; Along with improving constantly of user's request, the improving constantly and change of mentality of designing, one deck is constant forever for existing Minilinux; Can constantly add the corresponding module of deletion along with the variation of demand etc. too.For example, the transformation of network interface card type certainly will will use new network interface card to drive the change of deacclimatizing type, and network interface card can normally be used.Constantly not timing ground will certainly cause the Minilinux version mixed and disorderly to the change of Minilinux.
Matching relationship between version that effective means verify Minilinux and hardware, the Control Software is not provided at present temporarily; In the process of using, the operation of equipment is undesired will certainly to increase some unnecessary workloads because the unmatched reason of version causes.Become the problem that must urgently solve at present so how effectively to control the version of Minilinux.
Summary of the invention
The object of the present invention is to provide the method for the existing embedded linux file system version of a kind of effective control; Effective means version query this shop is provided; The final matching relationship of confirming Minilinux version number and its based hardware and software environments; Make the staff can search rapidly, reduce workload because of the do not match reason of the equipment operation fault that caused of version.
In order to achieve the above object, the invention provides the method for the existing embedded linux file system version of a kind of effective control, specifically comprise following steps:
Step 1, with existing Minilinux version number and there be briefly introducing of version change to write newly-generated fixed text file;
Step 2, making can be read the script file of Minilinux version information, to the user a directly interface of visit are provided, and inquire about associated release number information at any time;
Step 3, from the described text of step 1, read relevant release note; Time update this locality and long-distance user login and welcome the interface; With the latest edition this shop information of present this Minilinux that uses of prompting user, and concrete the briefly introducing of changing of this version;
Step 4, through the text described in the read step 1, obtain the up-to-date version information of Minilinux, confirm in time whether present Minilinux version number is complementary with existing based hardware and software environments.
In the described step 1; Leave text in the Minilinux file system of ramdisk with version information; Because be that kernel is written in the internal memory and moves, the general user can not revise the information of text file, has guaranteed the read-only property of text fileinfo like this.
Described step 3 specifically comprises following steps:
Step 3.1, in the automatic operating file of the startup that linux configures, according to the version information content in the text in the step 1, the content of subscriber's local login welcome message configuration file is upgraded in time update, shows up-to-date version and other information;
Step 3.2, according to the version information content in the text in the step 1; Revise and upgrade the content that the long-distance user logins the welcome message configuration file; Make the user in telnet, can be directly through welcoming the interface to understand the latest version information of Minilinux.
In the described step 4; The concrete method of confirming whether version number and based hardware and software environments mate is: through the text described in the read step 1; Obtain the up-to-date version information of Minilinux; Through socket communication modes notice remote center server, confirm whether present Minilinux version number is complementary with existing based hardware and software environments again.
In the described step 4; The concrete method of confirming whether version number and based hardware and software environments mate is: the network-driven in system does not match; And when causing network obstructed, can login in this locality, utilize this direct access interface of the script file described in the step 2; Inquiry system version number is to confirm whether present Minilinux version number is complementary with existing based hardware and software environments.
The method of the existing embedded linux file system version of effective control provided by the invention; Effective means version query this shop is provided; The final matching relationship of confirming Minilinux version number and its based hardware and software environments; Make the staff can search rapidly, reduce workload because of the do not match reason of the equipment operation fault that caused of version.
Embodiment
Following specific embodiments of the invention is done further to specify.
The invention provides the method for the existing embedded linux file system version of a kind of effective control, specifically comprise following steps:
Step 1, with existing Minilinux version number and there be briefly introducing of version change (for example: Version) to write newly-generated fixed text file;
Step 2, making can be read the script file of Minilinux version information, to the user a directly interface of visit are provided, and inquire about associated release number information at any time;
Step 3, from the described Version text of step 1, read relevant release note; Time update this locality and long-distance user login and welcome the interface; With the latest edition this shop information of present this Minilinux that uses of prompting user, and concrete the briefly introducing of changing of this version;
Step 4, through the Version text described in the read step 1, obtain the up-to-date version information of Minilinux, confirm in time whether present Minilinux version number is complementary with existing based hardware and software environments.
In the described step 1; Leave Version text in the Minilinux file system of ramdisk with version information; Because be that kernel is written in the internal memory and moves, the general user can not revise the information of text file, has guaranteed the read-only property of text fileinfo like this.
Described step 3 specifically comprises following steps:
Step 3.1, the automatic operating file of startup that configures at linux are (for example: rc.sysinit); According to the version information content in the Version text in the step 1; Subscriber's local login welcome message configuration file is upgraded in time update, and (as:/etc/issue) content shows up-to-date version and other information;
Step 3.2, according to the version information content in the Version text in the step 1; Revise to upgrade the long-distance user and login welcome message configuration file (as:/etc/issue.net) content; Make the user (for example: telnet), can directly understand the latest version information of Minilinux through the welcome interface at telnet.
In the described step 4; The concrete method of confirming whether version number and based hardware and software environments mate is: through the text described in the read step 1; Obtain the up-to-date version information of Minilinux; Through socket communication modes notice remote center server, confirm whether present Minilinux version number is complementary with existing based hardware and software environments again.
In the described step 4; The concrete method of confirming whether version number and based hardware and software environments mate is: the network-driven in system does not match; And when causing network obstructed, can login in this locality, utilize this direct access interface of the script file described in the step 2; Inquiry system version number is to confirm whether present Minilinux version number is complementary with existing based hardware and software environments.
The method of the existing embedded linux file system version of effective control provided by the invention; Effective means version query this shop is provided; The final matching relationship of confirming Minilinux version number and its based hardware and software environments; Make the staff can search rapidly, reduce workload because of the do not match reason of the equipment operation fault that caused of version.

Claims (3)

1. a method of effectively controlling existing embedded linux file system version is characterized in that, specifically comprises following steps:
Step 1, with existing Minilinux version number and there be briefly introducing of version change to write newly-generated fixed text file;
The script file of Minilinux version information is read in step 2, making, and the user is provided an interface of directly visiting, and inquires about associated release number information at any time;
Step 3, from the described text of step 1, read relevant release note; Time update this locality and long-distance user login and welcome the interface; With the latest edition this shop information of present this Minilinux that uses of prompting user, and concrete the briefly introducing of changing of this version;
Step 4, through the text described in the read step 1, obtain the up-to-date version information of Minilinux, confirm in time whether present Minilinux version number is complementary with existing based hardware and software environments;
Wherein, in the described step 1, leave text in the Minilinux file system of ramdisk, guarantee the read-only property of text file information with version information;
Described step 3 specifically comprises following steps:
Step 3.1, in the automatic operating file of the startup that linux configures, according to the version information content in the text in the step 1, the content of subscriber's local login welcome message configuration file is upgraded in time update, shows up-to-date version and other information;
Step 3.2, according to the version information content in the text in the step 1; Revise and upgrade the content that the long-distance user logins the welcome message configuration file; Make the user in Telnet, can be directly through welcoming the interface to understand the latest version information of Minilinux.
2. the method for the existing embedded linux file system version of effective control as claimed in claim 1; It is characterized in that; In the described step 4, confirm that specifically the method whether version number and based hardware and software environments mate is:, obtain the up-to-date version information of Minilinux through the text described in the read step 1; Through socket communication modes notice remote center server, confirm whether present Minilinux version number is complementary with existing based hardware and software environments again.
3. the method for the existing embedded linux file system version of effective control as claimed in claim 1 is characterized in that, in the described step 4; The concrete method of confirming whether version number and based hardware and software environments mate is: the network-driven in system does not match; And when causing network obstructed, can login in this locality, utilize the interface that can directly visit in the step 2; Inquiry system version number is to confirm whether present Minilinux version number is complementary with existing based hardware and software environments.
CN200810035907A 2008-04-10 2008-04-10 Method for efficiently controlling embedded linux file system version Expired - Fee Related CN101556583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810035907A CN101556583B (en) 2008-04-10 2008-04-10 Method for efficiently controlling embedded linux file system version

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810035907A CN101556583B (en) 2008-04-10 2008-04-10 Method for efficiently controlling embedded linux file system version

Publications (2)

Publication Number Publication Date
CN101556583A CN101556583A (en) 2009-10-14
CN101556583B true CN101556583B (en) 2012-09-19

Family

ID=41174701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810035907A Expired - Fee Related CN101556583B (en) 2008-04-10 2008-04-10 Method for efficiently controlling embedded linux file system version

Country Status (1)

Country Link
CN (1) CN101556583B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895729B (en) * 2010-07-06 2011-12-28 南京南自信息技术有限公司 Streaming media server of embedded Linux shearing system
CN102541941A (en) * 2010-12-31 2012-07-04 上海可鲁***软件有限公司 Version management control method for multiple parties to co-operate file
CN103544151B (en) * 2012-07-09 2018-01-02 上海斐讯数据通信技术有限公司 The method and system of data processing in Linux system
CN104200181B (en) * 2014-08-13 2017-04-05 上海无线电设备研究所 A kind of difunctional intelligent programming module and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804813B1 (en) * 2000-11-03 2004-10-12 Hewlett-Packard Development Company, L.P. System and method for remote and local diagnosis using automatically identified symbol libraries to create record based requests with tag lists of data to be collected from an operating system
CN1667572A (en) * 2004-03-10 2005-09-14 上海环达计算机科技有限公司 Linux installation detection system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804813B1 (en) * 2000-11-03 2004-10-12 Hewlett-Packard Development Company, L.P. System and method for remote and local diagnosis using automatically identified symbol libraries to create record based requests with tag lists of data to be collected from an operating system
CN1667572A (en) * 2004-03-10 2005-09-14 上海环达计算机科技有限公司 Linux installation detection system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李德录等.Linux的主要发行版本.《甘肃科技纵横》.2006,第35卷(第4期),39-40. *

Also Published As

Publication number Publication date
CN101556583A (en) 2009-10-14

Similar Documents

Publication Publication Date Title
US7558867B2 (en) Automatic firmware upgrade for a thin client using one or more FTP servers
EP2021937B1 (en) Techniques to perform gradual upgrades
US6408434B1 (en) System and method for using a substitute directory to automatically install an update program
US6976062B1 (en) Automated software upgrade utility
CN101719073B (en) Intelligent client-based on-demand downloading realization method
CN101425017B (en) Installation method and system of updated software for server components
CN110515673B (en) Plug-in system and method thereof
US20030070162A1 (en) Information processor having multi OS and its OS update method
US20110072421A1 (en) Method, apparatus and system for updating a software bundle installed on a mobile electronic device
CN101924775B (en) Android application component transparent loading method and system
US20140053149A1 (en) Fast and automatic deployment method for cluster system
CN101241364B (en) Local controller, remote management controller and method for automatically updating the local controller of an air conditioner system
US20110173599A1 (en) Home network system, gateway device, and firmware update method
CN101673207A (en) Program updating method of handheld learning terminal
US8782636B2 (en) Information processing apparatus, control method thereof, and program
CN111857777B (en) System updating method and device based on double-core intelligent ammeter and computer equipment
CN101556583B (en) Method for efficiently controlling embedded linux file system version
CN110737506A (en) virtual machine image version management method
US8769521B2 (en) Calendar aware adaptive patching of a computer program
US20120096453A1 (en) Software Package Management Mechanism
US20050216909A1 (en) Systems and methods for controlling program installation on a computing device
JP2000322310A (en) Computer system, computer network system, computer and recording medium
CN107193563B (en) Method for managing server stateless firmware version
CN104991805A (en) Intelligent device and system disaster recovery backup control method thereof
KR101461319B1 (en) Methods and device for upgrading firmware of set-top box

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120919

Termination date: 20210410