CN103365747B - A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system - Google Patents

A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system Download PDF

Info

Publication number
CN103365747B
CN103365747B CN201310288226.1A CN201310288226A CN103365747B CN 103365747 B CN103365747 B CN 103365747B CN 201310288226 A CN201310288226 A CN 201310288226A CN 103365747 B CN103365747 B CN 103365747B
Authority
CN
China
Prior art keywords
configuration data
data
configuration
force
main storage
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
CN201310288226.1A
Other languages
Chinese (zh)
Other versions
CN103365747A (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 Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin 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 Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201310288226.1A priority Critical patent/CN103365747B/en
Publication of CN103365747A publication Critical patent/CN103365747A/en
Application granted granted Critical
Publication of CN103365747B publication Critical patent/CN103365747B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Small-Scale Networks (AREA)
  • Stored Programmes (AREA)

Abstract

The method and the configuration automatic reduction system that the invention provides a kind of EMBEDDED AVIONICS configuration automatic reduction, the method has solved the technical problem of management absence in EMBEDDED AVIONICS function management process. Whether the technical scheme adopting is, by external equipment, passive light network terminal is configured, can trigger the operation of different preset function for different configuration datas, and synchronously be written in nonvolatile storage and preserve. The present invention has strengthened integrality and the flexibility of EMBEDDED AVIONICS function management, and has strengthened practicality, can experience for passive light network terminal user provides more friendly user. Meanwhile, the present invention is also suitable for the coordinated management to passive optical network terminal between passive light network terminal user and Virtual network operator or network manager, has reduced Virtual network operator or network manager's management consumption.

Description

A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system
Technical field
The present invention relates to EMBEDDED AVIONICS configuration file field, particularly EMBEDDED AVIONICSThe method that configuration file can automatic reduction after power down and and automatic reduction system.
Background technology
Memory is the device of electronic equipment save data, as the various network device such as computer, gatewayCan be so that the current configuration data in main storage be stored in memory. At present, memory byA lot of in use occasion, on market, there is the memory of a lot of standards, these memories can be notOn same electronic equipment, use.
On electronic equipment, typical memory is mainly the mechanical hard disk that computer uses above at present, meterOn calculation machine, the long-term data of preserving of all needs are just kept in mechanical hard disk. At present, memory due toUse occasion is a lot, has occurred very eurypalynous memory on market, and these memories can be in differenceTerminal above use. But for the little electronic equipment of volume, generally all memory directly can be weldedOn pcb board, the volume to memory and power consumption have very strict demand like this, as passive networkTerminal, whole terminal volume is no more than a memo pad conventionally, suitable with common mechanical hard disk volume.Therefore, the embedded kind equipment overwhelming majority of this class of passive light network terminal is all used non-volatile flash storageDevice FlashMemory. Non-volatile flash memory is the device that equipment is preserved configuration data, particularlyEMBEDDED AVIONICS as switch, router etc. need that equipment can be by main storage currentConfiguration data is synchronized in non-volatile flash memory. If but equipment is in running sometimes,In content in main storage, some content synchronization stores into after non-volatile flash memory, have a power failure suddenly,If incoming call uses again, now, the configuration of preserving from configuration file starts configuration may be notEnergy startup system, even also can cause system failure, and the way of resolving safely is that use system adoptsThe configuration of dispatching from the factory is configured, restarts, but like this other configuration in system runningWill forever lose.
General EMBEDDED AVIONICS has a non-volatile flash memory, and NOR and NAND areTwo kinds of main non-volatile flash type of memory on market now.
Summary of the invention
The object of the invention is the configuration literary composition in order to ensure passive light network terminal or other embedded devicesPart can normally reduce in the time restarting, and the invention provides a kind of EMBEDDED AVIONICS configuration fileThe method of automatic reduction and automatic reduction system.
The keeper of terminal device operates terminal, provides a kind of for some particular configuration dataThe method of power down automatic reduction, in order to meet the demand of some special applications scene.
Technical scheme of the present invention is: a kind of method of EMBEDDED AVIONICS configuration automatic reduction, and shouldMethod is by using default configuration data to preserve position difference on non-volatile flash memory chip, logicalCross different data directory marks, carry out different functions, after configuration data changes, acquiescence is completePortion writes non-volatile flash memory, and only having need to currently come into force but be identified no longer continues life afterwardsThe specific configuration data of effect, can not be written to non-volatile flash memory; Comprise the following steps:
Steps A, after the system of EMBEDDED AVIONICS detects by external equipment Update Table,The data that system is imported external equipment into are converted to the internal data of system;
Step B, system, according to the index of configuration data, are searched and synchronously upgrade in main storage and preserveConfiguration data be internal data, simultaneously by the hook mapping table of storing in seeking system main storageTrigger the operation that comes into force of the relevant system configuration of a series of configuration datas therewith;
Step C, system judge whether the configuration data upgrading in main storage is to only have to work as previous existenceEffect but while being identified no longer survival afterwards specific configuration data, only needs running into only haveWant current when coming into force but being identified no longer survival afterwards specific configuration data, main storageUse default configuration data to reduce to this partial data coming into force after having operated, be written to non-easilyLose piece flash memory.
Further, in the method for above-mentioned EMBEDDED AVIONICS configuration automatic reduction: described embeddingEntering formula electronic equipment is passive light network terminal.
The present invention does not provide a kind of EMBEDDED AVIONICS configuration automatic reduction system, and this system will be repaiiedThe configuration data changing is written in non-volatile flash memory, comprises processor, main storage, outsideController, non-volatile flash memory; Described processor is by the configurable number of non-volatile flash memoryAccording to reading in main storage, described peripheral control unit is by starting break in service in main storageConfiguration data upgrade, described processor only has some to need currently come into force but be identifiedNo longer survival specific configuration data part is not upgraded later.
The present invention has strengthened integrality and the flexibility of EMBEDDED AVIONICS function management, and has strengthenedPracticality, can experience for user provides more friendly user. Meanwhile, the present invention is also suitable for passive lightAssociation to passive optical network terminal between network terminal user and Virtual network operator or network managerWith management, reduce Virtual network operator or network manager's management consumption.
Below in conjunction with specific embodiment, the present invention is described in more detail.
Brief description of the drawings
Fig. 1 is the flow chart that uses this method.
Fig. 2 is system block diagram of the present invention.
Detailed description of the invention
Embodiment 1, referring to Fig. 2, the present embodiment is that a kind of passive optical network terminal configuration is gone back automaticallyOriginal system, this system is written to the configuration data of amendment in non-volatile flash memory, comprises processingDevice, main storage, peripheral control unit, non-volatile flash memory; Processor is by non-volatile flash memoryThe configuration data of reservoir reads in main storage, and peripheral control unit is by starting break in service to main memoryConfiguration data in reservoir upgrades, processor by upgrade after main storage in those non-only have needWanting current comes into force but is identified no longer survival afterwards specific configuration data.
We know, for the EMBEDDED AVIONICS to passive optical network terminal one class, joinPut file and be kept in non-volatile flash memory, in the flashmemory that namely we say conventionally,Because the content of preserving in flashmemory can not change after power-off, therefore, in the time that system startsGenerally all need to read flashmemory system file and comprise configuration file, these files are read into masterIn memory, main storage also claims internal memory, is going will not preserve the data of the inside after electricity. UsingCheng Zhong, modifies to the configuration of passive optical network terminal by peripheral control unit, here, mainIn memory, need to upgrade, but not every to configuration amendment be all can use afterwards,Some even can exert an adverse impact as caused equipment not start, and need to turn back to the configuration of dispatching from the factory,Will lose have many configurations of upgrading in all previous use procedure like this, make troubles to use.The present embodiment, in order to overcome this deficiency, upgrades flashmemory at the configuration file with in main storageTime, some are only had and need to currently be come into force but be identified no longer survival afterwards specific configurationData division does not upgrade, and still reverts to original Data Update.
In the present embodiment, the method for employing is the method for EMBEDDED AVIONICS configuration automatic reduction, shouldMethod is by using default configuration data to preserve position difference on non-volatile flash memory chip, logicalCross different data directory marks, carry out different functions, after configuration data changes, acquiescence is completePortion writes non-volatile flash memory, and only having need to currently come into force but be identified no longer continues life afterwardsThe specific configuration data of effect, can not be written to non-volatile flash memory; Comprise the following steps:
Steps A, after the system of EMBEDDED AVIONICS detects by external equipment Update Table,The data that system is imported external equipment into are converted to the internal data of system;
Step B, system, according to the index of configuration data, are searched and synchronously upgrade in main storage and preserveConfiguration data be internal data, simultaneously by seeking system main storage, deposit hook mapping table triggerThe operation that comes into force of the relevant system configuration of a series of configuration datas therewith;
Step C, system judge whether the configuration data upgrading in main storage is to only have to work as previous existenceEffect but while being identified no longer survival afterwards specific configuration data, only needs running into only haveWant current when coming into force but being identified no longer survival afterwards specific configuration data, main storageUse default configuration data to reduce to this partial data coming into force after having operated, be written to non-easilyLose piece flash memory.
In the method for the present embodiment, by using configuration data on non-volatile flash memory chipPreservation position difference, by different data directory marks, carries out different functions, every section of configurationData leave on non-volatile flash memory chip, according to configuration data according to its unique index markIndex mark different configuration datas is judged to differentiation, and move accordingly; Comprise withLower step:
Step 1, by terminal system, each configuration data is set and can triggers alignment processing action;
Whether the data that step 2, monitoring arrange configure;
If step 3 configuration data action first triggers the correspondence mechanism that comes into force, make current configuration take-effective,
Step 4, judge whether be specify configuration data;
Step 5, if what specified configuration data are modified to regardless of node data, is all forcedBe arranged to default configuration, finally write non-volatile flash memory.
Now enumerating a preferred example elaborates and embodies invention effect of the present invention. This enforcement sideFormula is that after the configuration data of passive light network terminal changes, acquiescence all writes non-volatile flash memoryReservoir, some special applications scene need to arrange specific configuration data, and requires this configuration dataOnly come into force current, after power-down rebooting, recover default configuration, because each configuration data has uniqueData directory, whether be particular configuration data, therefore can if can distinguish according to configuration data indexEnsure the exploitativeness of configuration power down automatic reduction. As shown in Figure 1:
(1), after system power-up, passive optical network terminal reads configurable number from nonvolatile storageAccording to carrying out initialization procedure, after completing, initialization procedure reaches normal and stable running status.
(2), function 1 or the merit of passive light network terminal user wish amendment passive optical network terminalEnergy 2, thus terminal configuration data revised by external equipment, after external equipment Update Table, eventuallyThe data that end system imports external equipment into are converted to the internal data of passive light network terminal system.
(3), passive light network terminal system is according to the unique index of configuration data, search and more synchronouslyNew primary storage is the configuration data of preserving in device, reflects by depositing hook in seeking system main storage simultaneouslyThe a series of configuration datas therewith relevant system configuration of the triggering firing table operation that comes into force.
(4), passive light network terminal system judges whether the configuration data of revising in main storage meetsThe requirement of power down automatic reduction, does not meet and directly the main memory data after upgrading is synchronously written toNonvolatile storage, if met the demands, uses default configuration data to it coming into force after having operatedReduce, realize the function of this configuration power down automatic reduction.

Claims (3)

1. the method for an EMBEDDED AVIONICS configuration automatic reduction, the method is by using default configuration data to preserve position difference on non-volatile flash memory chip, by different data directory marks, carry out different functions, it is characterized in that: after configuration data changes, acquiescence all writes non-volatile flash memory, only have and need to currently come into force but be identified no longer survival afterwards specific configuration data, can not be written to non-volatile flash memory; Comprise the following steps:
Steps A, after the system of EMBEDDED AVIONICS detects by external equipment Update Table, the data that system is imported external equipment into are converted to the internal data of system;
Step B, system are according to the index of configuration data, searching and synchronously upgrading the configuration data of preserving in main storage is internal data, triggers the operation that comes into force of the relevant system configuration of a series of configuration datas therewith by the hook mapping table stored in seeking system main storage simultaneously;
Step C, system judge the configuration data that upgrades in main storage be whether only have need current when coming into force but being identified no longer survival afterwards specific configuration data, only run into only have need current when coming into force but being identified no longer survival afterwards specific configuration data, main storage uses default configuration data to reduce to this partial data coming into force after having operated, and is written to non-volatile flash memory.
2. the method for EMBEDDED AVIONICS configuration automatic reduction according to claim 1, is characterized in that: described EMBEDDED AVIONICS is passive light network terminal.
3. an EMBEDDED AVIONICS configuration automatic reduction system, this system is written to the configuration data of amendment in non-volatile flash memory, it is characterized in that: comprise processor, main storage, peripheral control unit, non-volatile flash memory;
Described processor reads the configuration data of non-volatile flash memory in main storage, described peripheral control unit upgrades the configuration data in main storage by starting break in service, and described processor only has some to need currently come into force but be identified that no longer survival afterwards specific configuration data part do not upgrade;
System judge the configuration data that upgrades in main storage be whether only have need current when coming into force but being identified no longer survival afterwards specific configuration data, only run into only have need current when coming into force but being identified no longer survival afterwards specific configuration data, main storage uses default configuration data to reduce to this partial data coming into force after having operated, and is written to non-volatile flash memory.
CN201310288226.1A 2013-07-10 2013-07-10 A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system Expired - Fee Related CN103365747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310288226.1A CN103365747B (en) 2013-07-10 2013-07-10 A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310288226.1A CN103365747B (en) 2013-07-10 2013-07-10 A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system

Publications (2)

Publication Number Publication Date
CN103365747A CN103365747A (en) 2013-10-23
CN103365747B true CN103365747B (en) 2016-05-04

Family

ID=49367163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310288226.1A Expired - Fee Related CN103365747B (en) 2013-07-10 2013-07-10 A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system

Country Status (1)

Country Link
CN (1) CN103365747B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503799A (en) * 2014-12-29 2015-04-08 长园深瑞继保自动化有限公司 Method for performing uninterrupted control over peripherals in system starting process
CN106792115A (en) * 2016-12-12 2017-05-31 Tcl集团股份有限公司 A kind of method and apparatus for configuring intelligent television external data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455549A (en) * 2002-04-30 2003-11-12 华为技术有限公司 Method of configuration and upgrade of network apparatus in communication system
CN1881891A (en) * 2005-06-17 2006-12-20 华为技术有限公司 Method for storing configuration data of communication equipment
CN101136825A (en) * 2007-10-10 2008-03-05 中兴通讯股份有限公司 Asynchronous configuration information management method and system for client terminal/server structure
CN102571455A (en) * 2012-02-24 2012-07-11 深圳市共进电子股份有限公司 Processing method for home gateway to configure worksheets of customer premises equipment (CPE) wide area network (WAN) management protocol (CWMP)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040255106A1 (en) * 2003-06-10 2004-12-16 Rothman Michael A. Recovery of operating system configuration data by firmware of computer system
CN101674676A (en) * 2009-08-14 2010-03-17 厦门敏讯信息技术股份有限公司 Method for changing configuration of wireless terminal starting logo, format converting algorithm of starting logo and display mode of starting logo
CN102404255A (en) * 2011-12-23 2012-04-04 山东大学 Embedded gateway for collecting electric energy based on Cortex-M3 and work method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455549A (en) * 2002-04-30 2003-11-12 华为技术有限公司 Method of configuration and upgrade of network apparatus in communication system
CN1881891A (en) * 2005-06-17 2006-12-20 华为技术有限公司 Method for storing configuration data of communication equipment
CN101136825A (en) * 2007-10-10 2008-03-05 中兴通讯股份有限公司 Asynchronous configuration information management method and system for client terminal/server structure
CN102571455A (en) * 2012-02-24 2012-07-11 深圳市共进电子股份有限公司 Processing method for home gateway to configure worksheets of customer premises equipment (CPE) wide area network (WAN) management protocol (CWMP)

Also Published As

Publication number Publication date
CN103365747A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
US20170228161A1 (en) Lifetime management device and lifetime management method
CA2955098C (en) Flushing in file system
CN102598141A (en) Suspension of memory operations for reduced read latency in memory arrays
CN106155915B (en) Data storage processing method and device
CN103995578A (en) Member driving device possessing green energy data persisting mode
CN111338561B (en) Memory controller and memory page management method
JP2012203583A (en) Information processing apparatus and program
CN103842968A (en) Migration method, computer and device of stored data
CN101287187A (en) Intelligent mobile phone and operating method of the operation system
CN104424044A (en) Server system
CN103577574A (en) High-reliability linear file system based on nand flash
CN103827834A (en) Migration method of in-memory data, computer and device
CN103425592A (en) Memory management method and device for multiprocess system
US11640244B2 (en) Intelligent block deallocation verification
CN103793256A (en) Method for management of memory cards, and electronic device
CN103049405A (en) Management method and system of android device files
CN103279203A (en) Key reuse method and multifunctional key
CN101169729A (en) Embedded type system and method for renewing application program
KR20190067921A (en) Memory behavior for data
TW201220047A (en) Method for performing automatic boundary alignment and related non-volatile memory device
CN109558335A (en) A kind of file memory format of the embedded system based on Nor flash storage
CN103365747B (en) A kind of method of EMBEDDED AVIONICS configuration automatic reduction and configuration automatic reduction system
JP5166211B2 (en) Device using non-volatile memory as main memory
CN105335166A (en) System of embedded device and remote upgrading method of embedded device
CN110727470A (en) Hybrid non-volatile storage 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
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: 20160504