CN101630261A - Network attached storage system and method for starting same - Google Patents

Network attached storage system and method for starting same Download PDF

Info

Publication number
CN101630261A
CN101630261A CN200810302765A CN200810302765A CN101630261A CN 101630261 A CN101630261 A CN 101630261A CN 200810302765 A CN200810302765 A CN 200810302765A CN 200810302765 A CN200810302765 A CN 200810302765A CN 101630261 A CN101630261 A CN 101630261A
Authority
CN
China
Prior art keywords
boot
network attached
operating system
attached storage
hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200810302765A
Other languages
Chinese (zh)
Inventor
易琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN200810302765A priority Critical patent/CN101630261A/en
Publication of CN101630261A publication Critical patent/CN101630261A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a network attached storage (NAS) system, which comprises a first non-volatile memory, a volatile memory and a second non-volatile memory; the second non-volatile memory comprises a second operating system providing the network attached storage extending function; and the first non-volatile memory comprises a bootstrap program, a first operating system used for providing the network attached storage basic function, and a starting sequence management module used for controlling the starting sequence of the NAS system according to the software and hardware information of the system, and loading the bootstrap program, the first operating system or the second operating system to the volatile memory for running. The invention also provides a method for starting the NAS system. NAS software systems with different functions are stored to different storage media, so the same set of Mini-OS and different versions of Full-OS are adopted to meet the requirements of different users, and simultaneously the factory cost of the NAS system is reduced.

Description

Network attached storage system and startup method thereof
Technical field
The present invention relates to a kind of network attached storage system and startup method thereof.
Background technology
Network attached storage (Network Attached Storage, NAS) be a kind ofly will distribute, independently data integration is a data center large-scale, centralized management, so that the technology that different main frames and application server are conducted interviews.Literally simply say to be exactly to be connected on the network, possess the device of data storage function, therefore be also referred to as " network memory ".In network storage field, based on the pressure that reduces cost, dwindling expensive Flash Memory capacity and no hard disk (Zero-disk) shipment is that increasing manufacturer adopts, so traditional NAS solution generally has following two kinds:
One, adopts PC framework hardware platform such as X86.This NAS Flash Memory of system is generally less, small routines such as bootloader can only be placed on the Flash Memory, and the OS program can only be placed on the hard disk;
Two, (System on a Chip SoC) waits the embedded architecture hardware platform to adopt system level chip.This NAS Flash Memory of system is generally bigger, and bootloader and OS program all are placed on the Flash Memory.
In scheme one, when adopting no hard disk shipment or user to change OS program crashing on system disk or disk format or the hard disk, because the NAS system does not generally have interfaces such as display screen, mouse, keyboard, CD-ROM drive, floppy drive, causes the installation inconvenience of OS program on the NAS system disk.In scheme two, when considering expensive Flash Memory cost, manufacturer can try every possible means software systems are reduced, so that dwindle Flash Memory capacity, thereby causes this class NAS product software function generally all powerful inadequately.
Summary of the invention
In view of above content, be necessary to provide a kind of network attached storage system, to have the NAS software systems (Mini-OS) of basic function and the NAS software systems (Full-OS) of perfect in shape and function is separated, be stored on the different storage mediums, thereby realize adopting same set of Mini-OS, the Full-OS of different editions can reduce the shipment cost of manufacturer simultaneously again to satisfy requirements of different users.
The invention provides a kind of network attached storage system, this system comprises first non-volatility memorizer and volatile storage.This first non-volatility memorizer comprises: factory's master data module is used to store that this network attached storage system when dispatching from the factory is soft, the essential information of hardware; Hardware diagnostic, the function that is used to test this network attached storage system hardware; Boot is used for this network attached storage system hardware device of initialization, the mapping of setting up described volatile storage memory headroom; First operating system is used to provide the basic function of network attached storage; And boot sequence administration module, be used for surveying the information of factory's master data module, according to the information Control hardware diagnostic that detects and the boot sequence of boot, and load described boot and the extremely described volatile storage operation of first operating system.
The present invention also provides a kind of startup method of network attached storage system.This network attached storage system comprises first non-volatility memorizer, second non-volatility memorizer and volatile storage.Described first non-volatility memorizer is used to store boot, first operating system of the basic functions of network attached storage is provided, is used to store factory's master data module and hardware diagnostic soft, the hardware essential information.This method may further comprise the steps: (a) obtain the information that stores in factory's master data module, comprise entry address, the entry address of first operating system, the hardware diagnostic zone bit of boot; (b) check whether described hardware diagnostic zone bit has preset value, if described hardware diagnostic zone bit has preset value, then execution in step (c) does not have preset value as if described hardware diagnostic zone bit, then execution in step (d); (c) carry out hardware diagnostic testing hardware function; (d) check in first non-volatility memorizer whether the upgrade version boot is arranged, if there is not the upgrade version boot, execution in step (e) then is if having upgrade version boot, then execution in step (g); (e) change the entry address of giving tacit consent to boot over to; (f) load this acquiescence boot to described volatile storage, change step (i) over to; (g) check the verification of this upgrade version boot and whether correct,, then return step (e) if incorrect, if correct, execution in step (h) then; (h) change the entry address of this upgrade version boot and load this upgrade version boot to described volatile storage over to; (i) boot in the described volatile storage of operation; (j) check whether this second non-volatility memorizer has second operating system, if there is second operating system then to load this second operating system to described volatile storage, if there is not second operating system, the entry address that then changes first operating system over to loads this first operating system to described volatile storage; Reach the operating system of (k) moving in the described volatile storage.
Compared to prior art, the NAS software systems that the present invention will have difference in functionality are stored on the different storage mediums, realize adopting same set of Mini-OS, and the Full-OS of different editions reduces the cost that dispatches from the factory of NAS system simultaneously to satisfy requirements of different users.
Description of drawings
Fig. 1 is the module map of network attached storage system preferred embodiment of the present invention.
Fig. 2 is the process flow diagram of network attached storage system startup method of the present invention preferred embodiment.
Embodiment
As shown in Figure 1, be the module map of network attached storage system preferred embodiment of the present invention.In present embodiment, this network attached storage system (Network Attached Storage, NAS) 10 (hereinafter to be referred as NAS 10) are an embedded system, it comprises regular software and hardware that existing embedded system possesses, (not shown)s such as electric supply system, clock system, embedded controller, resetting system for example, because of present embodiment does not make improvements these softwares and hardware, so do not do too much introduction here.
As shown in Figure 1, NAS 10 comprises first non-volatility memorizer 20, volatile storage 30 and second non-volatility memorizer 40.
In present embodiment, first non-volatility memorizer 20 is flash memory disk (Flash memory), for example with non-flash memory disk (NANDFlash memory) or XOR flash memory disk (NOR Flash memory).
This first non-volatility memorizer 20 comprises modules such as factory's master data module 210, boot sequence administration module 220, hardware diagnostic 230, acquiescence boot (Bootloader) 240, pocket operating system (Mini-OS) 250 and upgrade version Bootloader 260.
Factory's master data module 210 has stored the essential information of soft, the hardware of NAS 10 when dispatching from the factory, comprise: MAC (Media Access Control, the medium access control) address of mainboard type, firmware (as BIOS) version number, network interface card, the entry address of acquiescence Bootloader 240, the entry address of Mini-OS 250, entry address and the hardware diagnostic zone bit of upgrade version Bootloader 260.When described hardware diagnostic zone bit is provided with a preset value (as 0 or 1), NAS 10 will enter the hardware diagnostic pattern when starting, otherwise NAS 10 will skip the hardware diagnostic pattern when starting.
Boot sequence administration module 220 is used for surveying the information of second non-volatility memorizer 40 and first non-volatility memorizer, 20 other modules, according to the startup boot sequence of the information Control NAS 10 that detects between hardware diagnostic 230, acquiescence Bootloader 240, Mini-OS 250, upgrade version Bootloader 260 and second non-volatility memorizer 40.
Hardware diagnostic 230 is used to test the function of NAS 10 built in hardware, for example Flash Memory, network interface card, USB (universal serial bus) (Universal Serial Bus, USB) interface, Serial Advanced Technology Attachment (Serial AdvancedTechnology Attachment, SATA) interface, general I/O (General Purpose Input/Output, GPIO) hardware such as interface and volatile storage 30.
Bootloader is one section small routine of operation before operating system (OS) operation.By this section small routine initiating hardware equipment, the mapping of setting up volatile storage 30 memory headrooms, thereby take soft, the hardware environment of NAS 10 to a proper state, so that be ready to correct environment for final call operation system.Acquiescence Bootloader 240 is that NAS 10 is built-in when dispatching from the factory, development along with IT industry, manufacturer is difficult to just design for the first time the product that can comprehensively meet consumers' demand, in follow-up phase, the meeting release upgrade version Bootloader of manufacturer 260 offers the user with the function that more renewals are provided as added value.Present embodiment adopts Bootloader double copies mechanism, just when customer upgrade acquiescence Bootloader 240 when obtaining upgrade version Bootloader 260, system does not cover acquiescence Bootloader 240 original contents, but open up a Flash Memory space again, like this, even the upgrading failure, system also can be from acquiescence Bootloader 240 guiding NAS10.
Mini-OS 250 is the operating system after the cutting of a process, for example LInux OS.Mini-OS 250 mainly is divided into three layers: kernel and Drive Layer, agreement and service layer and web administration layer.Kernel and Drive Layer comprise the kernel portion of NAS 10 custom operation systems and the driver part of hardware management.The kernel portion of operating system is used to realize the management to hardware, and the coordination of software is carried out, and provides API for external call.Agreement and service layer have comprised file system, file sharing protocol and communication protocol, and Windows, Linux, Mac customer can both be conducted interviews to NAS equipment.The web administration layer provides user interface, supplies the mutual of user and NAS 10, realizes configuration and management to NAS 10, for example formulates user management strategy, stored configuration, network configuration and security set etc.
Second non-volatility memorizer 40 can be hard disk, CD or other memory device that any cost is low, memory capacity is big, be used to store the operating system (Full-OS) 400 of another kind of more perfect functions, framework and the Mini-OS on the FlashMemory 250 of Full-OS 400 are similar, only size and the restricted operating system of function almost.At different users, manufacturer can be according to same set of Mini-OS 250, and the Full-OS 400 of exploitation different editions makes NAS 10 possess difference in functionality, for example have multimedia server function, web page server function or picture servers function, to satisfy requirements of different users.
Volatile storage 30 is used for temporarily depositing described boot (acquiescence Bootloader 240 or upgrade version Bootloader 260) and operating system (Mini-OS 250 or Full-OS 400) when NAS 10 powers on.This volatile storage 30 can for static RAM (Static Random Access Memory, SRAM) or dynamic RAM (DynamicRandom Access Memory, DRAM).
The NAS 10 that present embodiment provides, under the environment that second non-volatility memorizer 40 such as hard disk is not installed, the user can start NAS 10 by the Mini-OS in first non-volatility memorizer 20 250, check and be provided with the essential information of NAS 10.In case second non-volatility memorizer 40 is installed, the user can use Mini-OS 250 start-up systems, mode by webpage is created global function NAS software systems from the Full-OS installation kit that Internet or Intranet download various version on this second non-volatility memorizer 40.Thereby by adopting same set of Mini-OS 250, the Full-OS400 of installation or upgrading different editions is to satisfy dissimilar users' demand.
As shown in Figure 2, be the process flow diagram of network attached storage system startup method of the present invention preferred embodiment.
At first, step S101, power on for NAS 10, start NAS 10, boot sequence administration module 220 obtains in factory's master data module 210 information that stores, and comprises information such as the entry address of entry address, upgrade version Bootloader 260 of the entry address of giving tacit consent to Bootloader 240, Mini-OS 250 and hardware diagnostic zone bit.
Step S102, boot sequence administration module 220 checks whether the hardware diagnostic zone bit has preset value.If preset value is arranged, then enter step S103, otherwise enter step S104.
Step S103, boot sequence administration module 220 start the function of hardware diagnostic 230 test NAS 10 built in hardware.
Step S104, boot sequence administration module 220 checks whether there is upgrade version Bootloader 260.If there is not upgrade version Bootloader 260, then enters step S105, otherwise enter step S106.
Step S105, boot sequence administration module 220 forward the entry address of acquiescence Bootloader 240 to.Afterwards, change step S108 over to.
At step S104, if checking, boot sequence administration module 220 has upgrade version Bootloader 260, then at step S106, boot sequence administration module 220 forwards the entry address of upgrade version Bootloader 260 to.
Step S107, boot sequence administration module 220 check whether the verification of upgrade version Bootloader 260 is with (checksum) correct.If if the verification of upgrade version Bootloader 260 and correctly then enter step S108 is the incorrect step S105 that then returns.
Step S108, boot sequence administration module 220 load described Bootloader (acquiescence Bootloader 240 or upgrade version Bootloader 260) to volatile storage 30.
Step S109, the Bootloader in the boot sequence administration module 220 operation volatile storages 30.
Step S110, boot sequence administration module 220 checks whether NAS 10 has other storage medium except that Flash Memory and volatile storage 30, for example hard disk, CD etc.If there is not other storage medium, then enters step S111, otherwise enter step S112.
Step S111, the Mini-OS 250 on the boot sequence administration module 220 loading Flash Memory is to the memory headroom of volatile storage 30.Afterwards, enter step S114.
At step S110, if boot sequence administration module 220 is checked through other storage medium 40, then at step S112, boot sequence administration module 220 checks on this storage medium whether Full-OS 400 is arranged, if there is not Full-OS 400, then changes step S111 over to, if Full-OS 400 is arranged, then at step S113, boot sequence administration module 220 loads this Full-OS 400 to volatile storage 30, enters step S114 afterwards.
Step S114, the OS (Mini-OS 250 or Full-OS400) in the boot sequence administration module 220 operation volatile storages 30.

Claims (10)

1. network attached storage system, this system comprises first non-volatility memorizer and volatile storage, it is characterized in that, this first non-volatility memorizer comprises with lower module:
Factory's master data module is used to store that this network attached storage system when dispatching from the factory is soft, the essential information of hardware;
Hardware diagnostic, the function that is used to test this network attached storage system hardware;
Boot is used for this network attached storage system hardware device of initialization, the mapping of setting up described volatile storage memory headroom;
First operating system is used to provide the basic function of network attached storage; And
The boot sequence administration module is used for surveying the information of factory's master data module, according to the information Control hardware diagnostic that detects and the boot sequence of boot, and loads described boot and first operating system to described volatile storage operation.
2. network attached storage system as claimed in claim 1, it is characterized in that, this first non-volatility memorizer also comprises the upgrade version boot, described boot sequence administration module also is used for the boot sequence of control hardware diagnostic routine, boot and upgrade version boot, when the verification of upgrade version boot with when correct, load this upgrade version boot and to described volatile storage, move.
3. network attached storage system as claimed in claim 1, it is characterized in that, this system also comprises second non-volatility memorizer, be used to store second operating system, this second operating system provides the network attached storage expanded function at different user, and described boot sequence administration module also is used for loading this second operating system to described volatile storage and moves.
4. network attached storage system as claimed in claim 3 is characterized in that, described first operating system and second operating system comprise:
Kernel and Drive Layer comprise that the coordination that is used to realize hardware management, software carries out, provides for external call the kernel portion and the hardware drive program part of application interface;
Agreement and service layer comprise file system, file sharing protocol and communication protocol, supply the user by this network attached storage system of access to netwoks; And
The management of webpage layer provides user interface, for the user this network attached storage system is configured and manages.
5. network attached storage system as claimed in claim 2 is characterized in that, described first non-volatility memorizer is a flash memory disk.
6. network attached storage system as claimed in claim 3 is characterized in that, described second non-volatility memorizer is hard disk or CD.
7. the startup method of a network attached storage system, it is characterized in that, this network attached storage system comprises first non-volatility memorizer, second non-volatility memorizer and volatile storage, described first non-volatility memorizer is used to store boot, first operating system of network attached storage basic function is provided, is used to store factory's master data module and hardware diagnostic soft, the hardware essential information, described second non-volatility memorizer comprises second operating system, and this method may further comprise the steps:
(a) obtain the information that stores in factory's master data module, comprise entry address, the entry address of first operating system, the hardware diagnostic zone bit of boot;
(b) check whether described hardware diagnostic zone bit has preset value, if described hardware diagnostic zone bit has preset value, then execution in step (c) does not have preset value as if described hardware diagnostic zone bit, then execution in step (d);
(c) carry out hardware diagnostic testing hardware function;
(d) check in first non-volatility memorizer whether the upgrade version boot is arranged, if there is not the upgrade version boot, execution in step (e) then is if having upgrade version boot, then execution in step (g);
(e) change the entry address of giving tacit consent to boot over to;
(f) load this acquiescence boot to described volatile storage, change step (i) over to;
(g) check the verification of this upgrade version boot and whether correct,, then return step (e) if incorrect, if correct, execution in step (h) then;
(h) change the entry address of this upgrade version boot and load this upgrade version boot to described volatile storage over to;
(i) boot in the described volatile storage of operation;
(j) check whether this second non-volatility memorizer has second operating system, if there is second operating system then to load this second operating system to described volatile storage, if there is not second operating system, the entry address that then changes first operating system over to loads this first operating system to described volatile storage; And
(k) operating system in the described volatile storage of operation.
8. the startup method of network attached storage system as claimed in claim 7 is characterized in that, described second operating system provides the network attached storage expanded function at different user.
9. as the startup method of claim 7 or 8 described network attached storage systems, it is characterized in that described first non-volatility memorizer is a flash memory disk.
10. as the startup method of claim 7 or 8 described network attached storage systems, it is characterized in that described second non-volatility memorizer is hard disk or CD.
CN200810302765A 2008-07-16 2008-07-16 Network attached storage system and method for starting same Pending CN101630261A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810302765A CN101630261A (en) 2008-07-16 2008-07-16 Network attached storage system and method for starting same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810302765A CN101630261A (en) 2008-07-16 2008-07-16 Network attached storage system and method for starting same

Publications (1)

Publication Number Publication Date
CN101630261A true CN101630261A (en) 2010-01-20

Family

ID=41575379

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810302765A Pending CN101630261A (en) 2008-07-16 2008-07-16 Network attached storage system and method for starting same

Country Status (1)

Country Link
CN (1) CN101630261A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915246A (en) * 2011-08-05 2013-02-06 联想(北京)有限公司 Terminal device and method of supporting multi-firmware loading
CN106210132A (en) * 2016-08-19 2016-12-07 浙江宇视科技有限公司 A kind of web camera collocation method, Apparatus and system
CN106664317A (en) * 2014-06-18 2017-05-10 西部数据技术公司 Managing and accessing data storage systems
CN111124522A (en) * 2020-04-01 2020-05-08 广东戴维利科技有限公司 Method and system for mixing microkernel and macrokernel
CN114327659A (en) * 2021-12-29 2022-04-12 飞依诺科技(苏州)有限公司 Equipment starting method and wireless ultrasonic equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915246A (en) * 2011-08-05 2013-02-06 联想(北京)有限公司 Terminal device and method of supporting multi-firmware loading
CN106664317A (en) * 2014-06-18 2017-05-10 西部数据技术公司 Managing and accessing data storage systems
CN106210132A (en) * 2016-08-19 2016-12-07 浙江宇视科技有限公司 A kind of web camera collocation method, Apparatus and system
CN106210132B (en) * 2016-08-19 2019-06-11 浙江宇视科技有限公司 A kind of web camera configuration method, apparatus and system
CN111124522A (en) * 2020-04-01 2020-05-08 广东戴维利科技有限公司 Method and system for mixing microkernel and macrokernel
CN111124522B (en) * 2020-04-01 2020-08-04 广东戴维利科技有限公司 Method and system for mixing microkernel and macrokernel
CN114327659A (en) * 2021-12-29 2022-04-12 飞依诺科技(苏州)有限公司 Equipment starting method and wireless ultrasonic equipment
CN114327659B (en) * 2021-12-29 2024-02-20 飞依诺科技股份有限公司 Equipment starting method and wireless ultrasonic equipment

Similar Documents

Publication Publication Date Title
US9772838B2 (en) Firmware update discovery and distribution
US8966026B2 (en) Systems and methods for extension of server management functions
US9235404B2 (en) Firmware update system
US7664836B2 (en) Device and method for booting an operation system for a computer from a passive directly attached network device
US9110761B2 (en) Resource data structures for firmware updates
CN100399268C (en) Computer system not relying on operation system renewing software data and method
US9058257B2 (en) Persistent block storage attached to memory bus
US9239725B2 (en) System and method for installing an OS via a network card supporting PXE
JP5414814B2 (en) Customizing space in a network environment
US11334427B2 (en) System and method to reduce address range scrub execution time in non-volatile dual inline memory modules
US10853264B2 (en) Virtual memory system
CN101630261A (en) Network attached storage system and method for starting same
WO2006023274A2 (en) System and method for configuring computer for operation
CN109426527B (en) Computer system and method for sharing Bluetooth data between UEFI firmware and operating system
US20220276873A1 (en) Unavailable memory device initialization system
CN100580627C (en) Method and device for starting computer system
JP5070286B2 (en) Customizing space in a network environment
US20040243385A1 (en) Emulation of hardware devices in a pre-boot environment
US11010250B2 (en) Memory device failure recovery system
US11003778B2 (en) System and method for storing operating life history on a non-volatile dual inline memory module
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
US20230289446A1 (en) Secure multi-bios-image system
KR20110015455A (en) Electronic device for providing self-adapting services depending on the platform of the host equipment with which it is connected
CN111258658A (en) Network connection method of computer device
TW201005646A (en) Network attached storage system and it's booting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100120