CN109254728A - Storage optimization method and system for multi-master chip fusion product - Google Patents

Storage optimization method and system for multi-master chip fusion product Download PDF

Info

Publication number
CN109254728A
CN109254728A CN201810951251.6A CN201810951251A CN109254728A CN 109254728 A CN109254728 A CN 109254728A CN 201810951251 A CN201810951251 A CN 201810951251A CN 109254728 A CN109254728 A CN 109254728A
Authority
CN
China
Prior art keywords
product
equipment
storage
bootloader
main equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810951251.6A
Other languages
Chinese (zh)
Other versions
CN109254728B (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.)
Guangdong Jiulian Kaihong Technology Development Co ltd
Huizhou Jiulian Zhicheng Technology Co ltd
Guangdong Unionman Technology Co Ltd
Original Assignee
Guangdong Unionman Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Unionman Technology Co Ltd filed Critical Guangdong Unionman Technology Co Ltd
Priority to CN201810951251.6A priority Critical patent/CN109254728B/en
Publication of CN109254728A publication Critical patent/CN109254728A/en
Application granted granted Critical
Publication of CN109254728B publication Critical patent/CN109254728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0647Migration mechanisms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of storage optimization, and particularly discloses a storage optimization method and a system for a multi-master chip fusion product, wherein the method comprises the following steps: dividing a storage sharing area in a storage chip of the product main equipment; and migrating the product from the programs except the bootloader in the memory chip of the equipment to the memory sharing area. Changing the bootloader booting process of the product slave equipment into a program shared by a storage chip of the product master equipment acquired through a network technology; directing the product to start from the device. The invention has the beneficial effects that: all files except bootloaders in the slave devices of the product are migrated to nand flash of the master device for storage, the master device shares the files required by the slave devices to the corresponding slave devices through a network, the bootloaders of the devices acquire the required files through the network in the boot starting process instead of reading own nor flash, so that the nor flash with smaller capacity can be used, and the hardware cost of the product is greatly reduced.

Description

A kind of storage optimization method and system of more master chip amalgamation products
Technical field
The present invention relates to storage optimization technical field more particularly to a kind of storage optimization sides of more master chip amalgamation products Method and system.
Background technique
In current more master chip amalgamation products, the storage mode of mainstream are as follows: each EM equipment module respectively has its storage Chip, memory space is mutually indepedent, and more specific memory dividing condition is referring to Figure of description 1.For set-top box, generally In the case of the storage chip type of decoder be nand flash, memory capacity is more than 4G, and as the storage of the equipment such as routing Chip is mostly nor flash, and capacity is in 16M or more, and capacity is bigger, and price is higher.It is well known that relative to nand For flash, nor flash price is really expensive.
Summary of the invention
The technical issues of present invention provides the storage optimization method and system of a kind of more master chip amalgamation products, solution, In the existing more master chip amalgamation products for mostly using nor flash, memory space is mutually indepedent, has generally used capacity Biggish nor flash, higher cost.
In order to solve the above technical problems, the present invention provides a kind of storage optimization method of more master chip amalgamation products, packet Include following steps:
S1. storage shared region is marked off in the storage chip of product main equipment;
S2. it is shared all to move to the storage for the program by product from the storage chip of equipment in addition to bootloader Area.
S3. the product is changed to obtain by network technology in the product from the bootloader bootup process of equipment The shared program of the storage chip of main equipment;
S4. the product is guided to start from equipment.
Further, in the step S1, the storage shared region is located at the nand flash of the product main equipment In, the nand flash further includes user's space area in addition to storing shared region;The product main equipment removes the nand Outside flash, it is additionally provided with the nor flash that can be directly accessed by products C PU.
Further, the step S4 includes:
S4-1. the product main equipment is powered, hardware initialization;
S4-2. products C PU accesses the nor flash of the product main equipment, runs bootloader therein;
S4-3.bootloader guides operating system nucleus starting, and sequentially activate necessary service;
S4-4. start Network File System service, by nfs and samba by the product from file needed for equipment into Row is shared;
S4-5. the product is powered from equipment, hardware initialization;
S4-6. the product accesses respective nor flash from equipment, runs respective bootloader;
S4-7. the product obtains itself needs from the nand flash of the product main equipment by network from equipment Kernel and guidance file, with the guidance file guide its kernel starting.
Further, the product from equipment during operation needed for all files in addition to bootloader it is all logical Network is crossed to obtain from the nand flash of the product main equipment.
Corresponding to a kind of storage optimization method with more master chip amalgamation products, the present invention also provides more than one main cores The storage optimization system of piece amalgamation product, including product main equipment and product are from equipment;The storage core of the product main equipment Dividing in piece has storage shared region;Program of the product from the storage chip of equipment in addition to bootloader all migrates The storage shared region;The product is changed to obtain by network technology described from the bootloader bootup process of equipment The shared program of the storage chip of product main equipment.
Specifically, the storage shared region is located in the nand flash of the product main equipment, the nand flash It further include user's space area in addition to storing shared region;For the product main equipment in addition to the nand flash, being additionally provided with can be straight Meet the nor flash accessed by products C PU.
Specifically, when the product main equipment is powered, after hardware initialization, products C PU accesses the product main equipment Nor flash, runs bootloader therein, and bootloader guides operating system nucleus starting, sequentially activates necessary Service;The product is total to by subsequent start-up Network File System service by nfs and samba from file needed for equipment It enjoys.
Specifically, when the product is powered from equipment, after hardware initialization, the product accesses respective nor from equipment Flash runs respective bootloader, then obtains itself from the nand flash of the product main equipment by network The kernel and guidance file needed, guides its kernel to start with the guidance file.
Specifically, the product from equipment during operation needed for all files in addition to bootloader all pass through Network is obtained from the nand flash of the product main equipment.
The storage optimization method and system of a kind of more master chip amalgamation products provided by the invention, each from setting of product All files in standby in addition to bootloader move to be stored in the nand flash of main equipment, and main equipment passes through network general Respectively from file-sharing needed for equipment to corresponding from equipment, the bootloader of each equipment passes through during being booted up File needed for network obtains, rather than by the nor flash of reading itself, it can so use the lesser nor of capacity The hardware cost of flash, product are greatly lowered.
Detailed description of the invention
Fig. 1 is the storage and distribution figure of existing more master chip amalgamation products;
Fig. 2 is a kind of step process of the storage optimization method of more master chip amalgamation products provided in an embodiment of the present invention Figure;
Fig. 3 is a kind of storage and distribution of the storage optimization system of more master chip amalgamation products provided in an embodiment of the present invention Figure;
Fig. 4 is a kind of storage optimization method of more master chip amalgamation products provided in an embodiment of the present invention and the work of system Make flow chart.
Specific embodiment
Embodiments of the present invention are specifically illustrated with reference to the accompanying drawing, embodiment is only given for illustrative purposes, It can not be interpreted as limitation of the invention, including attached drawing is only for reference and illustrates use, not constitute and the invention patent is protected The limitation of range, because on the basis of not departing from spirit and scope of the invention many changes can be carried out to the present invention.
A kind of storage optimization method of more master chip amalgamation products provided in an embodiment of the present invention, steps flow chart is as schemed Shown in 2, specifically includes the following steps:
S1. storage shared region is marked off in the storage chip of product main equipment;
S2. it is shared all to move to the storage for the program by product from the storage chip of equipment in addition to bootloader Area.
S3. the product is changed to obtain by network technology in the product from the bootloader bootup process of equipment The shared program of the storage chip of main equipment;
S4. the product is guided to start from equipment.
Further, in the step S1, the storage shared region is located at the nand flash of the product main equipment In, the nand flash further includes user's space area in addition to storing shared region;The product main equipment removes the nand Outside flash, it is additionally provided with the nor flash that can be directly accessed by products C PU.
Further, the step S4 includes:
S4-1. the product main equipment is powered, hardware initialization;
S4-2. products C PU accesses the nor flash of the product main equipment, runs bootloader therein;
S4-3.bootloader guides operating system nucleus starting, and sequentially activate necessary service;
S4-4. start Network File System service, by nfs and samba by the product from file needed for equipment into Row is shared;
S4-5. the product is powered from equipment, hardware initialization;
S4-6. the product accesses respective nor flash from equipment, runs respective bootloader;
S4-7. the product obtains itself needs from the nand flash of the product main equipment by network from equipment Kernel and guidance file, with the guidance file guide its kernel starting.
Need directly to illustrate, the product from equipment during operation needed for the whole in addition to bootloader File all passes through network and obtains from the nand flash of the product main equipment.
Corresponding to a kind of storage optimization method with more master chip amalgamation products, the embodiment of the present invention also provides one The storage optimization system of more master chip amalgamation products, storage and distribution is as schematically shown in Figure 3, which specifically includes product master and set Standby and product is from equipment (having collectively constituted more master chip amalgamation products);Dividing in the storage chip of the product main equipment has Store shared region;Program of the product from the storage chip of equipment in addition to bootloader all migrates total in the storage Enjoy area;The product is changed to obtain by network technology in the product main equipment from the bootloader bootup process of equipment The shared program of storage chip.
Specifically, the storage shared region is located in the nand flash of the product main equipment, the nand flash It further include user's space area in addition to storing shared region;For the product main equipment in addition to the nand flash, being additionally provided with can be straight Meet the nor flash accessed by products C PU.
Specifically, when the product main equipment is powered, after hardware initialization, products C PU accesses the product main equipment Nor flash, runs bootloader therein, and bootloader guides operating system nucleus starting, sequentially activates necessary Service;The product is total to by subsequent start-up Network File System service by nfs and samba from file needed for equipment It enjoys.
Specifically, when the product is powered from equipment, after hardware initialization, the product accesses respective nor from equipment Flash runs respective bootloader, then obtains itself from the nand flash of the product main equipment by network The kernel and guidance file needed, guides its kernel to start with the guidance file.
Specifically, the product from equipment during operation needed for all files in addition to bootloader all pass through Network is obtained from the nand flash of the product main equipment.
In the present embodiment, the product main equipment can be encoder, and storage chip has the nand of larger space Flash can satisfy required.
The storage optimization method and system of one kind provided in an embodiment of the present invention are powered in more master chip amalgamation products and are opened When dynamic, the work flow diagram of internal product main equipment and product from equipment is as shown in Figure 4.
The storage optimization method and system of a kind of more master chip amalgamation products provided in an embodiment of the present invention, product Respectively all files from the device in addition to bootloader move to stores in the nand flash of main equipment, and main equipment passes through Network is by respectively from file-sharing needed for equipment to corresponding from equipment, and the bootloader of each equipment is in the process being booted up In obtained by network needed for file can so use capacity lesser rather than by reading itself nor flash The hardware cost of nor flash, product are greatly lowered.
The above embodiment is a preferred embodiment of the present invention, but embodiments of the present invention are not by above-described embodiment Limitation, other any changes, modifications, substitutions, combinations, simplifications made without departing from the spirit and principles of the present invention, It should be equivalent substitute mode, be included within the scope of the present invention.

Claims (9)

1. a kind of storage optimization method of more master chip amalgamation products, which comprises the following steps:
S1. storage shared region is marked off in the storage chip of product main equipment;
S2. the program by product from the storage chip of equipment in addition to bootloader all moves to the storage shared region.
S3. the product is changed to obtain by network technology from the bootloader bootup process of equipment and is set in the product master The shared program of standby storage chip;
S4. the product is guided to start from equipment.
2. a kind of storage optimization method of more master chip amalgamation products as described in claim 1, it is characterised in that: described In step S1, the storage shared region is located in the nand flash of the product main equipment, and the nand flash is except storage It further include user's space area outside shared region;In addition to the nand flash, be additionally provided with directly to be produced the product main equipment The nor flash of product CPU access.
3. a kind of storage optimization method of more master chip amalgamation products as claimed in claim 2, which is characterized in that the step Suddenly S4 includes:
S4-1. the product main equipment is powered, hardware initialization;
S4-2. products C PU accesses the nor flash of the product main equipment, runs bootloader therein;
S4-3. the bootloader guidance operating system nucleus starting of the product main equipment, sequentially activate necessary service;
S4-4. start Network File System service, be total to the product from file needed for equipment by nfs and samba It enjoys;
S4-5. the product is powered from equipment, hardware initialization;
S4-6. the product accesses respective nor flash from equipment, runs respective bootloader;
S4-7. the product from equipment by network from obtained in the nand flash of the product main equipment itself need in Core and guidance file, guide its kernel to start with the guidance file.
4. a kind of storage optimization method of more master chip amalgamation products as claimed in claim 3, it is characterised in that: the production Product from equipment during operation needed for all files in addition to bootloader all pass through network from the product main equipment Nand flash in obtain.
5. a kind of storage optimization system of more master chip amalgamation products, it is characterised in that: including product main equipment and product from Equipment;Dividing in the storage chip of the product main equipment has storage shared region;The product is removed from the storage chip of equipment Program other than bootloader is all migrated in the storage shared region;Bootloader bootup process of the product from equipment It is changed to obtain the program shared in the storage chip of the product main equipment by network technology.
6. a kind of storage optimization system of more master chip amalgamation products as claimed in claim 5, it is characterised in that: described to deposit Storage shared region is located in the nand flash of the product main equipment, and the nand flash further includes using in addition to storing shared region Family space region;The product main equipment is additionally provided with the nor that can be directly accessed by products C PU in addition to the nand flash flash。
7. a kind of storage optimization system of more master chip amalgamation products as claimed in claim 5, it is characterised in that: when described Product main equipment is powered, and after hardware initialization, products C PU accesses the nor flash of the product main equipment, runs therein Bootloader, bootloader guide operating system nucleus starting, and sequentially activate necessary service;Subsequent start-up network file System service is shared the product from file needed for equipment by nfs and samba.
8. a kind of storage optimization system of more master chip amalgamation products as claimed in claim 6, it is characterised in that: when described Product is powered from equipment, and after hardware initialization, the product accesses respective nor flash from equipment, runs respective Then bootloader obtains kernel and the guidance of itself needs by network from the nand flash of the product main equipment File guides its kernel to start with the guidance file.
9. a kind of storage optimization system of more master chip amalgamation products as claimed in claim 8, it is characterised in that: the production Product from equipment during operation needed for all files in addition to bootloader all pass through network from the product main equipment Nand flash in obtain.
CN201810951251.6A 2018-08-21 2018-08-21 Storage optimization method and system for multi-master chip fusion product Active CN109254728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810951251.6A CN109254728B (en) 2018-08-21 2018-08-21 Storage optimization method and system for multi-master chip fusion product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810951251.6A CN109254728B (en) 2018-08-21 2018-08-21 Storage optimization method and system for multi-master chip fusion product

Publications (2)

Publication Number Publication Date
CN109254728A true CN109254728A (en) 2019-01-22
CN109254728B CN109254728B (en) 2021-09-21

Family

ID=65049476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810951251.6A Active CN109254728B (en) 2018-08-21 2018-08-21 Storage optimization method and system for multi-master chip fusion product

Country Status (1)

Country Link
CN (1) CN109254728B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204090019U (en) * 2014-07-24 2015-01-07 程洪 A kind of multi-medium data shared system based on Internet of Things
CN104615555A (en) * 2015-01-26 2015-05-13 北京海尔集成电路设计有限公司 Communicator for master chip and subordinate chip sharing high-capacity off-chip storage unit
US20170315726A1 (en) * 2016-04-29 2017-11-02 Knuedge Incorporated Distributed Contiguous Reads in a Network on a Chip Architecture
US20170337295A1 (en) * 2016-05-18 2017-11-23 Knuedge, Inc. Content addressable memory (cam) implemented tuple spaces
CN107622466A (en) * 2017-07-31 2018-01-23 上海与德科技有限公司 Signal auditing system and method
CN107645518A (en) * 2016-07-20 2018-01-30 南京中兴软件有限责任公司 Equipment processing method and processing device, interchanger
CN107948717A (en) * 2017-12-01 2018-04-20 广东九联科技股份有限公司 A kind of set-top box broadband network shared system
CN108182036A (en) * 2018-01-19 2018-06-19 湖南国科微电子股份有限公司 A kind of multichip system storage realization device and method
CN108270877A (en) * 2018-04-27 2018-07-10 北京东远润兴科技有限公司 Distributed network node data-sharing systems

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204090019U (en) * 2014-07-24 2015-01-07 程洪 A kind of multi-medium data shared system based on Internet of Things
CN104615555A (en) * 2015-01-26 2015-05-13 北京海尔集成电路设计有限公司 Communicator for master chip and subordinate chip sharing high-capacity off-chip storage unit
US20170315726A1 (en) * 2016-04-29 2017-11-02 Knuedge Incorporated Distributed Contiguous Reads in a Network on a Chip Architecture
US20170337295A1 (en) * 2016-05-18 2017-11-23 Knuedge, Inc. Content addressable memory (cam) implemented tuple spaces
CN107645518A (en) * 2016-07-20 2018-01-30 南京中兴软件有限责任公司 Equipment processing method and processing device, interchanger
CN107622466A (en) * 2017-07-31 2018-01-23 上海与德科技有限公司 Signal auditing system and method
CN107948717A (en) * 2017-12-01 2018-04-20 广东九联科技股份有限公司 A kind of set-top box broadband network shared system
CN108182036A (en) * 2018-01-19 2018-06-19 湖南国科微电子股份有限公司 A kind of multichip system storage realization device and method
CN108270877A (en) * 2018-04-27 2018-07-10 北京东远润兴科技有限公司 Distributed network node data-sharing systems

Also Published As

Publication number Publication date
CN109254728B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
US9292359B2 (en) System and method for memory management
CN102231121B (en) Memory mapping-based rapid parallel extraction method for big data file
CN106385329B (en) Processing method, device and the equipment of resource pool
US20130117494A1 (en) Optimizing available computing resources within a virtual environment
CN108268299A (en) A kind of Docker based on OpenStack cloud platforms shares storage solution
CN104156234B (en) Start the method and device of multi-core processor, the big small end mode adaptives of bootloader
CN109213697A (en) The storage of intelligence memory data or loading method and device
CN106598692A (en) Method for creating mirror image file in logical volume and starting virtual machine, and server
CN109343956A (en) A kind of operating system configuration method and device
CN105739930B (en) A kind of storage architecture and its initial method and date storage method and managing device
CN106775501B (en) Elimination of Data Redundancy system based on nonvolatile memory equipment
CN105159617B (en) A kind of pond storage system framework
CN109450676A (en) A kind of switch upgrades method and device, electronic equipment, computer-readable medium
US20230185991A1 (en) Multi-processor simulation on a multi-core machine
US8966212B2 (en) Memory management method, computer system and computer readable medium
CN109388614A (en) A kind of method, system and the equipment of catalogue file number quota
CN108234299A (en) The information processing method of configurable protocol data gateway and gateway based on model
CN108845958A (en) A kind of mapping of interleaver and dynamic EMS memory management system and method
CN113434087B (en) Multi-core starting method based on shared space
CN116521608A (en) Data migration method and computing device
Ye et al. Chunkattention: Efficient self-attention with prefix-aware kv cache and two-phase partition
CN110008030A (en) A kind of method of metadata access, system and equipment
US10366124B2 (en) Dynamic grouping of in-memory data processing operations
CN109254728A (en) Storage optimization method and system for multi-master chip fusion product
CN111831451A (en) Cloud host memory allocation method, cloud host, cloud device and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220511

Address after: 516025 Hui'ao Avenue, Huizhou City, Guangdong Province, No. 5 Huitai Road, Huinan High-tech Industrial Park

Patentee after: Unionman Technology Co.,Ltd.

Patentee after: Huizhou Jiulian Zhicheng Technology Co.,Ltd.

Address before: 516025 1st and 2nd floor, No.4 workshop, South District, digital industrial park, Huicheng District, Huizhou City, Guangdong Province

Patentee before: Unionman Technology Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231219

Address after: 516025 Hui'ao Avenue, Huizhou City, Guangdong Province, No. 5 Huitai Road, Huinan High-tech Industrial Park

Patentee after: Unionman Technology Co.,Ltd.

Patentee after: Huizhou Jiulian Zhicheng Technology Co.,Ltd.

Patentee after: Guangdong Jiulian Kaihong Technology Development Co.,Ltd.

Address before: 516025 Hui'ao Avenue, Huizhou City, Guangdong Province, No. 5 Huitai Road, Huinan High-tech Industrial Park

Patentee before: Unionman Technology Co.,Ltd.

Patentee before: Huizhou Jiulian Zhicheng Technology Co.,Ltd.

TR01 Transfer of patent right