CN108959116A - The management method of device customizing information - Google Patents
The management method of device customizing information Download PDFInfo
- Publication number
- CN108959116A CN108959116A CN201810621601.2A CN201810621601A CN108959116A CN 108959116 A CN108959116 A CN 108959116A CN 201810621601 A CN201810621601 A CN 201810621601A CN 108959116 A CN108959116 A CN 108959116A
- Authority
- CN
- China
- Prior art keywords
- information
- device customizing
- customizing information
- subregion
- data packet
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 31
- 238000005192 partition Methods 0.000 claims abstract description 5
- 238000000034 method Methods 0.000 claims description 5
- 238000012423 maintenance Methods 0.000 abstract description 9
- 230000009286 beneficial effect Effects 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
Abstract
The invention discloses a kind of management methods of device customizing information, include the following steps: S1, decouple the subregion for having remaining space in equipment partition table, and an erasing block is truncated as device customizing information subregion at the subregion end;S2 obtains corresponding device customizing information based on encoder client, by device customizing information package in data packet and write device customized information subregion;S3, when device power starts, check that device customizing information subregion whether there is device customizing information, then directly device customizing information is parsed if it exists, corresponding device customizing information is then loaded according to encoder client if it does not exist, and by device customizing information package at parsing again in data packet write device customized information subregion.The beneficial effects of the present invention are improve the maintenance efficiency to customized information, reduce maintenance cost.
Description
Technical field
The present invention relates to the technical field of customized information management, in particular to a kind of management method of device customizing information.
Background technique
Usually needing to customize some client-related informations for ODM manufacturer client includes LOGO, default information and special
Function, there are two kinds of mainstream solutions: scheme one, the same Software Mirroring of all customer cares are distinguished by encoder client
Customer subscription information, the information of all customizations is stored on the medium that device looses power is not lost (FLASH, EEPROM and
SD card etc.), each client distributes a unique identification code abbreviation encoder client, and Jie is not lost in coding write-in power down when factory
Matter is searched Customer subscription information according to encoder client when device power and is loaded;Scheme two, using conditional compilation technology, each
Client separately maintains a Software Mirroring, and mirror image only includes the customer information.
There are the following problems for scheme one:
1, it increases customization newly, needs to recompilate mirror image, unknown exception may be introduced
2, customized number is more, and FLASH space hold is increasing
3, same client's different schemes safeguard alone customized information, are difficult to guarantee consistency
There are the following problems for scheme two:
1, it increases customization newly, needs to recompilate mirror image, unknown exception may be introduced
2, it needs the mirror image safeguarded to increase with client and increase, increases maintenance cost
Summary of the invention
In view of the problems of the existing technology, the main object of the present invention is to provide a kind of manager of device customizing information
Method, it is intended to improve the maintenance efficiency to customized information, reduce maintenance cost.
To achieve the above object, the management method of device customizing information proposed by the present invention comprising following steps:
S1 decouples the subregion for having remaining space in the power down medium partition table not easy to lose of equipment, cuts at the subregion end
An erasing block break as device customizing information subregion;
S2 obtains the device customizing information being stored in customized information management system based on encoder client, by device customizing
Information is packaged into data packet according to the data format of setting, and will be in the device customizing information subregion of the data packet write device;
S3 when device power starts, checks that the device customizing information subregion of equipment whether there is device customizing information,
If it does not exist, then corresponding device customizing information is loaded from database according to encoder client, and according to setting
Data format by device customizing information package at data packet, and by the device customizing information subregion of the data packet write device
It is interior, data packet is parsed according to the data format of setting;
If it exists, then directly the device customizing information in device customizing information subregion is carried out according to the data format of setting
Parsing.
Preferably, the data format of the device customizing information is TLV format.
Preferably, the device customizing information includes: WEB information, CLI information and system information;
The WEB information includes: LOGO, contact method, address, Business Name, Corporation web site, default language, logs in and use
Name in an account book and password;
The CLI information includes: CLI signal language and OLT alias;
The system information include: device model, vendor name, software version number, hardware version numbers, default management IP,
And default username and password;
Preferably, the power down medium not easy to lose in the step S1 is any one in FLASH, EEPROM or SD card.
Preferably, in the step S2, the device customizing information subregion for writing the data packet equipment includes the following steps:
S21 is obtained from the Tftp server or Ftp server of customized information management system by Tftp or Ftp tool
The data packet of device customizing information;
S22 enters the Command Line Interface of equipment by telnet serve port or serial ports;
S23 writes the data packet the device customizing information subregion of equipment according to the order of the offer of equipment.
Technical solution of the present invention passes through separation equipment customized information and mirror image (the device customizing information i.e. in database)
Coupling, extract known device customized information and be stored in power down and do not lose on medium, loading equipemtn customized information arrives when powering on
The module of each needs does not influence the letter of the device customizing in equipment to the recompility of mirror image in newly added equipment customized information
The normal load of breath, and can realize that unification safeguards that maintenance cost is low to device customizing information.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
The structure shown according to these attached drawings obtains other attached drawings.
Fig. 1 is the flow diagram of one embodiment of management method of present device customized information;
The object of the invention is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
The present invention proposes a kind of management method of device customizing information.
Referring to Fig.1, Fig. 1 is the structural schematic diagram of one embodiment of management method of present device customized information.
As shown in Figure 1, in embodiments of the present invention, the management method of the device customizing information includes the following steps:
S1 decouples the subregion for having remaining space in the power down medium partition table not easy to lose of equipment, cuts at the subregion end
An erasing block break as device customizing information subregion.
In the present embodiment, power down medium not easy to lose can be any one in FLASH, EEPROM or SD card.
S2 obtains the device customizing information being stored in customized information management system based on encoder client, by device customizing
Information is packaged into data packet according to the data format of setting, and will be in the device customizing information subregion of the data packet write device.
In step s 2, the device customizing information subregion for writing the data packet equipment includes the following steps:
S21 is obtained from the Tftp server or Ftp server of customized information management system by Tftp or Ftp tool
The data packet of device customizing information;
S22 enters the Command Line Interface of equipment by telnet serve port or serial ports;
S23 writes the data packet the device customizing information subregion of equipment according to the order of the offer of equipment.
In the present embodiment, device customizing information is roughly divided into three classes: WEB information, CLI information and system information.Wherein,
The WEB information include: LOGO, contact method, address, Business Name, Corporation web site, default language, login username and
Password etc..The CLI information includes: CLI signal language and OLT alias etc..The system information includes: device model, producer's name
Title, software version number, hardware version numbers, default management IP and default username and password etc..
In the present embodiment, the data format of device customizing information uses TLV structure, it is ensured that the scalability of data and deposits
Spatial scalable is stored up, the following extension customized information is facilitated, the data format definition of specific device customizing information is shown in Table 1, data
The definition of type is shown in Table 2:
Field | Length (byte) | Explanation |
Magic | 4 | Node opening flag CDTC 0x |
Crc32 | 4 | Node head verification and |
TotalLen | 4 | Node total length (head length++ 4 byte CRC of data length) |
Logo | 4 | Type |
LogoLen | 4 | Length |
LogoData | Len | Data |
…… | ||
CRC32 | The verification of data and |
Table 1
Table 2
S3 when device power starts, checks that the device customizing information subregion of equipment whether there is device customizing information,
If it does not exist, then corresponding device customizing information is loaded from database according to encoder client, and according to setting
Data format by device customizing information package at data packet, and by the device customizing information subregion of the data packet write device
It is interior, data packet is parsed according to the data format that table 1 defines;
If it exists, then the data format directly defined according to table 1 is to the device customizing information in device customizing information subregion
It is parsed.
If necessary to modify to device customizing information, then corresponding in database set is obtained according to encoder client
Standby customized information, and the device customizing information is updated;Restarting equipment after update device customizing information, sets updated
The device customizing information subregion of standby customized information write device, and wipe original device customizing information.Wherein, the equipment of update
Retain included all devices customized information in customized information.
Technical solution of the present invention passes through the coupling of separation equipment customized information and mirror image, extracts known device customization letter
Breath is stored in power down and does not lose on medium, and loading equipemtn customized information is determined to the module of each needs in newly added equipment when powering on
When information processed, the normal load of the device customizing information in equipment is not influenced on the recompility of mirror image, and can realize unified pair
Device customizing information is safeguarded that maintenance cost is low.
Device customizing approaches to IM provided by the invention is mainly by customized information management system and equipment come real
Existing, it is of the invention for ease of understanding, the information exchange between customized information management system and equipment is described further:
In the present embodiment, customized information management system is graphically managing system comprising customized information maintenance module,
Customized information packetization module and customized information writing module.
Customized information maintenance module is used for typing, modification and query facility customized information.If there is new customization needs
It asks, engineering staff can be based on customer order typing encoder client and device customizing information, and encoder client and device customizing are believed
Breath is saved in database.If client needs to modify customized information, engineering staff can be found accordingly based on encoder client
Device customizing information modifies device customizing information, and the device customizing information in more new database according to customer demand.
Customized information packetization module is used to obtain corresponding device customizing information according to encoder client, and defines according to table 1
The device customizing information that will acquire of data format be packaged, generate a data packet.Wherein, the data APMB package of generation is deposited
It is placed in Tftp server or Ftp server.
Customized information writing module is for writing the data packet in the power down medium not easy to lose of equipment.Specifically, it customizes
Information management system first passes through Tftp or Ftp tool and obtains from the Tftp server or Ftp server of customized information management system
The data packet of device customizing information is taken, then enters the Command Line Interface of equipment, last root by telnet serve port or serial ports
It is write the data packet in the power down medium not easy to lose of equipment according to the order of the offer of equipment.
In the present embodiment, equipment is by taking OUN equipment as an example.It should be noted that the equipment can be also communication, consumption electricity
Son, medical electronics and internet of things equipment etc..
ONU equipment includes: customized information loading module, customized information acquisition module and customized information memory module.
Customized information loading module is used for analyzing device customized information.When OUN device power starts, the customization of equipment is checked
It whether there is device customizing information in information storage module.If it does not, customized information loading module according to encoder client from
The data packet that corresponding device customizing information is loaded in database parses data packet according to the data format that table 1 defines.
If it does, the data format that customized information loading module is directly defined according to table 1 is to the equipment in device customizing information subregion
Customized information is parsed.
Customized information obtains module and is used to obtain the device customizing information in customized information memory module.When needs use is set
The application of standby customized information or module are passed to customized information by way of interprocess communication or file access and obtain module one
A customized information coding, customized information obtain module and have been loaded according to the customized information coding lookup customized information loading module
Device customizing information.After finding the specified device customizing information of customized information coding, the corresponding device customizing information of return is given and is needed
Device customizing Information application or module are used, error message is returned if not finding to needing to answer using device customizing information
With or module.
Customized information memory module is for saving device customizing information, and the FLASH partition table of customized information memory module
In be equipped with device customizing information subregion, device customizing information is stored in device customizing information subregion by the data format that table 1 defines
It is interior.When customized information management system updates device customizing information, it is fixed that the equipment being stored in OUN equipment will not be lost
Information processed.
In the present embodiment, by that can safeguard that customization is believed in the graphic interface that customized information management system provides
Breath is packaged Customer subscription information and ONU equipment FLASH subregion is written, makes device customizing of the developer in more new database
When information, without the moment concern equipment in device customizing information, and OUN equipment need the application module of customized information without
Moment pays close attention to the storage format of device customizing information and client provides the mode of customized information, and device customizing information dimension is effectively reduced
Protect difficulty and cost.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all at this
Under the inventive concept of invention, using equivalent structure transformation made by description of the invention and accompanying drawing content, or directly/use indirectly
It is included in other related technical areas in scope of patent protection of the invention.
Claims (5)
1. a kind of management method of device customizing information, which comprises the steps of:
S1 decouples the subregion for having remaining space in the power down medium partition table not easy to lose of equipment, is truncated one at the subregion end
A erasing block is as device customizing information subregion;
S2 obtains the device customizing information being stored in customized information management system based on encoder client, by device customizing information
It is packaged into data packet according to the data format of setting, and will be in the device customizing information subregion of the data packet write device;
S3 when device power starts, checks that the device customizing information subregion of equipment whether there is device customizing information,
If it does not exist, then corresponding device customizing information is loaded from database according to encoder client, and according to the number of setting
According to format by device customizing information package at data packet, and by the device customizing information subregion of the data packet write device, press
Data packet is parsed according to the data format of setting;
If it exists, then directly the device customizing information in device customizing information subregion is solved according to the data format of setting
Analysis.
2. the management method of device customizing information as described in claim 1, which is characterized in that the number of the device customizing information
It is TLV format according to format.
3. the management method of device customizing information as described in claim 1, which is characterized in that the device customizing packet
It includes: WEB information, CLI information and system information;
The WEB information includes: LOGO, contact method, address, Business Name, Corporation web site, default language, login username
And password;
The CLI information includes: CLI signal language and OLT alias;
The system information include: device model, vendor name, software version number, hardware version numbers, default management IP and
Default username and password.
4. the management method of device customizing information as described in claim 1, which is characterized in that the power down in the step S1 is not
Medium easy to be lost is any one in FLASH, EEPROM or SD card.
5. the management method of the device customizing information as described in claim 1-4 any one, which is characterized in that in the step
In S2, the device customizing information subregion for writing the data packet equipment includes the following steps:
S21 obtains equipment from the Tftp server or Ftp server of customized information management system by Tftp or Ftp tool
The data packet of customized information;
S22 enters the Command Line Interface of equipment by telnet serve port or serial ports;
S23 writes the data packet the device customizing information subregion of equipment according to the order of the offer of equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621601.2A CN108959116A (en) | 2018-06-15 | 2018-06-15 | The management method of device customizing information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810621601.2A CN108959116A (en) | 2018-06-15 | 2018-06-15 | The management method of device customizing information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108959116A true CN108959116A (en) | 2018-12-07 |
Family
ID=64489094
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810621601.2A Pending CN108959116A (en) | 2018-06-15 | 2018-06-15 | The management method of device customizing information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108959116A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102520983A (en) * | 2011-11-25 | 2012-06-27 | 中兴通讯股份有限公司 | Method, device and terminal for customizing multiple default settings for software version |
CN105094768A (en) * | 2014-05-06 | 2015-11-25 | 北大方正集团有限公司 | Application interface generation method and application interface generation device |
US20160147546A1 (en) * | 2014-11-20 | 2016-05-26 | International Business Machines Corporation | Managing the Customizing of Appliances |
CN107341003A (en) * | 2017-06-15 | 2017-11-10 | 百富计算机技术(深圳)有限公司 | Custom-built system implementation method, computer equipment and storage medium |
-
2018
- 2018-06-15 CN CN201810621601.2A patent/CN108959116A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102520983A (en) * | 2011-11-25 | 2012-06-27 | 中兴通讯股份有限公司 | Method, device and terminal for customizing multiple default settings for software version |
CN105094768A (en) * | 2014-05-06 | 2015-11-25 | 北大方正集团有限公司 | Application interface generation method and application interface generation device |
US20160147546A1 (en) * | 2014-11-20 | 2016-05-26 | International Business Machines Corporation | Managing the Customizing of Appliances |
CN107341003A (en) * | 2017-06-15 | 2017-11-10 | 百富计算机技术(深圳)有限公司 | Custom-built system implementation method, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111625452B (en) | Flow playback method and system | |
US10142180B2 (en) | Method and system for providing unified configuration information to disparate system software components | |
CN1910854B (en) | Automatic update system and method for using a meta mib | |
WO2020000725A1 (en) | Electronic apparatus, data migration method, and storage medium | |
CN111683066B (en) | Heterogeneous system integration method, heterogeneous system integration device, computer equipment and storage medium | |
US20070143330A1 (en) | Processing an XML schema | |
CN105335168A (en) | System, method and apparatus for remotely configuring operating system | |
CN100461701C (en) | Calibration method and system for network resource uniformity of gating and members of network | |
CN106878199A (en) | The collocation method and device of a kind of access information | |
CN105589699A (en) | Serial number information update method, device and terminal | |
CN114528029B (en) | Method, system, equipment and storage medium for realizing BIOS option setting | |
CN108205482A (en) | File mount restoration methods | |
CN107291486A (en) | The installation method and device of a kind of operating system | |
US20210056101A1 (en) | Domain-specific labeled question generation for training syntactic parsers | |
CN112291081B (en) | Method, system and storage medium for auditing controller cluster data by cloud management platform | |
CN101127000B (en) | Device and method for promoting disaster resumption | |
US20170131980A1 (en) | Model driven architecture for network management and configuration | |
CN112134707B (en) | Concurrent access method and device for multiple KERBEROS clusters | |
CN108959116A (en) | The management method of device customizing information | |
CN108737541A (en) | A kind of WEB conversation management systems and management method | |
CN104158795A (en) | Registration system and registration method for full hardware terminal in cloud desktop system | |
US5913057A (en) | Hidden headers for protecting computer system data | |
CN113595762B (en) | Network card configuration storage method and device | |
US7487227B2 (en) | Scripting engine having a sequencer table and a plurality of secondary tables for network communication software | |
CN106951225B (en) | Data processing method and device based on service configuration template |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190620 Address after: No. 16 Lexing Road, New District, Wuxi City, Jiangsu Province, 214028 Applicant after: WUXI NEIHUA NETWORK TECHNOLOGY Co.,Ltd. Address before: 518000 West Building, 4 Blocks and 6 Floors, Zongguan Honghualing Industrial South District, 1213 Liuxian Avenue, Taoyuan Street, Nanshan District, Shenzhen City, Guangdong Province Applicant before: SHENZHEN C-DATA TECHNOLOGY CO.,LTD. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181207 |