CN114237512B - Communication data multichannel microchip collaborative reading method - Google Patents

Communication data multichannel microchip collaborative reading method Download PDF

Info

Publication number
CN114237512B
CN114237512B CN202111557923.3A CN202111557923A CN114237512B CN 114237512 B CN114237512 B CN 114237512B CN 202111557923 A CN202111557923 A CN 202111557923A CN 114237512 B CN114237512 B CN 114237512B
Authority
CN
China
Prior art keywords
block
flit
data
microchip
nonvolatile memory
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.)
Active
Application number
CN202111557923.3A
Other languages
Chinese (zh)
Other versions
CN114237512A (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.)
Huanggang Normal University
Original Assignee
Huanggang Normal University
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 Huanggang Normal University filed Critical Huanggang Normal University
Priority to CN202111557923.3A priority Critical patent/CN114237512B/en
Publication of CN114237512A publication Critical patent/CN114237512A/en
Application granted granted Critical
Publication of CN114237512B publication Critical patent/CN114237512B/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/061Improving I/O performance
    • 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/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • 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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0688Non-volatile semiconductor memory arrays

Abstract

The invention provides a communication data multichannel microchip collaborative reading method, which relates to the technical field of data transmission and comprises the following steps: s1: a configuration body and a nonvolatile memory are arranged; s2: obtaining a microchip by a structural body; s3: storing and outputting the data to a nonvolatile memory according to a microchip source in a structure; s4: the nonvolatile memory stores a bad block marked between two source flits; s5: judging whether the block in front of the block marked as the bad block is full, if yes, moving the content in the following block backwards; the inverse is not executed; s6: judging whether the structure stops outputting; if yes, all bad block marks are erased, and all data are moved forward; returning to S5 if the reverse is not performed; s7: flit data within all blocks is output. The invention effectively combines the reading and writing of the microchip message with the nonvolatile memory, so that various microchip sent by a plurality of channels are arranged and stored, the reading of the integrity is convenient, the cooperativity is good during the reading, and the reading of microchip data of other channels is not interfered.

Description

Communication data multichannel microchip collaborative reading method
Technical Field
The invention relates to the technical field of data transmission, in particular to a communication data multichannel microchip collaborative reading method.
Background
At present, network-on-chip technology, noC (Networkson Chip), is widely used in microprocessors. Compared with buses and cross switches, the bandwidth of the network on chip is greatly improved, and the realizability is greatly enhanced. The network on chip introduces a message exchange mode in the chip, even adopts a wormhole routing and other flow control modes, so that the continuity of on-chip information transmission is greatly weakened, and a high requirement is put on the data arrangement capability of the target node. However, on-chip resources are limited, and cannot implement multi-layer transmission protocols like those in the internet, and only a small amount of logic and storage resources can be used to implement the data sort function.
With the improvement of the acquisition precision of microchip data and the increase of recording parameters, the data volume to be recorded is rapidly increased, and the data transmission rate is also higher and higher. The research of the recording equipment in real time, super-large capacity, reliability and the like becomes a hot spot, so that a Nand Flash nonvolatile memory with large capacity is needed, nand Flash is nonvolatile memory, a physical memory structure is divided into a plurality of pages (pages) by taking blocks (blocks) as a unit, and extra out-of-band data (OOB data) is additionally added in each page (page), but the read-write of a microchip message is difficult to combine with the Nand Flash nonvolatile memory at present.
Therefore, in order to solve the above-mentioned problems, it is necessary to design a reasonable method for collaborative reading of the communication data multichannel microchip.
Disclosure of Invention
The invention aims to provide the communication data multichannel microchip collaborative reading method which effectively combines the reading and writing of microchip messages with the NandFlash nonvolatile memory, so that various microchip sent by a plurality of channels are sorted and stored, the reading of the integrity is convenient, the cooperativity is good during the reading, and the reading of microchip data of other channels is not interfered.
In order to achieve the above purpose, the invention is realized by adopting the following technical scheme:
a communication data multichannel microchip collaborative reading method comprises the following steps:
s1: a structure body for storage is arranged at each virtual channel receiving position, and a nonvolatile memory is arranged at the output end of the structure body;
s2: when the structural body acquires the microchip, acquiring the source and the label of the microchip and the serial number of the microchip;
s3: a plurality of arrangement items are established in the structure body, and each arrangement item stores flits from the same source and sequentially outputs the flits to the nonvolatile memory according to flit serial numbers;
s4: after the nonvolatile memory stores the flit data output by one sort entry, marking the block at the tail end of the flit data as a bad block; storing flit data output by another sort entry in a block behind the bad block;
s5: judging whether the block in front of the block marked as the bad block is full, if yes, marking the next block marked as the bad block, moving the content in the block behind the next block marked as the bad block backwards by one block, and erasing the mark of the marked bad block; otherwise, not executing the operation;
s6: judging whether no structure body outputs flit data to a nonvolatile memory within a preset time; if yes, all bad block marks are erased, and data in blocks behind the erased bad blocks are moved forward by one block; otherwise, returning to the step S5;
s7: and outputting flit data in all blocks in a whole.
As a preferred aspect of the present invention, when step S2 is performed, the flit source label is determined according to the flit sequence; the flit sequence number includes the message length and the sequence number of the current flit in the message.
In a preferred embodiment of the present invention, when step S3 is executed, a flit source number and a flit number are attached to the flit when the flit is output from the structure to the nonvolatile memory.
Preferably, in the step S3, one sort entry of the structure stores flits of one source and outputs the flits to the nonvolatile memory, and after a predetermined deletion time, the structure erases the stored flit data in the sort entry.
Preferably, in step S4, the flit data output by the two sort entries are stored with a block labeled as a bad block therebetween.
Preferably, when step S5 is executed, the contents in the blocks behind the next block of the marked bad block are moved backward one block at a time, starting from the last block storing data, and the block is moved backward one block at a time when the bad block is moved backward.
Preferably, in the present invention, when the data in the block following the erasure flag bad block is advanced by one block in executing step S6, the data is advanced from the forefront block which needs to be advanced.
Preferably, in step S6, when all the bad block marks are erased, the mark erasure is performed one by one from the front to the back, and each mark erasure is performed once to advance the data in the block behind the erase mark bad block by one block.
The invention discloses a communication data multichannel microchip collaborative reading method, which has the beneficial effects that: the read-write of the microchip message is effectively combined with the Nand Flash nonvolatile memory, so that various microchip sent by a plurality of channels are arranged and stored, the reading of the integrity is convenient, and the cooperativity is good during the reading, and the reading of microchip data of other channels is not interfered.
Drawings
Fig. 1 is a flow chart of a method for collaborative reading of a communication data multichannel microchip according to the present invention.
Detailed Description
The following are specific examples of the present invention, and the technical solutions of the present invention are further described, but the present invention is not limited to these examples.
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the modules and structures set forth in these embodiments does not limit the scope of the invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and systems known to those of ordinary skill in the relevant art may not be discussed in detail, but should be considered part of the authorization specification where appropriate.
Examples: as shown in fig. 1, which is only one embodiment of the present invention, a method for collaborative reading of a communication data multi-channel microchip includes the following steps:
s1: a structure body for storage is arranged at each virtual channel receiving position, and a nonvolatile memory is arranged at the output end of the structure body;
the virtual channels can send out a plurality of flits, and even the flits sent out by each virtual channel can be sent out by different sources, so that the flits can be obtained in disorder, a memory is difficult to set in a queue in data transmission, a storage structure body is arranged in the queue, the storage structure body has certain data receiving and outputting capacity, the structure body can be arranged in the data transmission queue to obtain the flits transmitted, and then the flits are simply arranged and then output to a nonvolatile memory, and the nonvolatile memory is used for storing the next step.
In general, there are many structures, and a plurality of structures are connected to the same nonvolatile memory
S2: when the structural body acquires the microchip, acquiring the source and the label of the microchip and the serial number of the microchip;
when executing the step S2, the flit source label is determined according to the flit sequence; for example, a first flit from a first source (A) is received by a structure and recorded as A1; a second flit from the first source (a) records the flit as A2; if a different source flit is received, it is recorded as B2.
Also, the flit sequence number includes the message length and the sequence number of the current flit located in the message. Typically, a message from a source (a) is 7 in length, i.e., 7 flits are sent consecutively, and the flit is the third in the message, then the flit is recorded as A3 (7).
It will be appreciated that the flits from one virtual channel may be from different sources, and that flits from different virtual channels must not be from the same source, so that the labels of the sources of flits obtained by different structures must be different, and that in order to prevent marking flits of different sources with the same label, i.e., the presence of A3 (7) in each structure, the structures may also be labeled, e.g., the A3 (7) flits received by structure number 1, i.e., 1A3 (7).
It should be noted that 1A3 (7) above, where "1" represents a flit received by the first fabric (or a flit received from the first virtual channel), a "represents a flit received by the first fabric and sent by the first source," 3 "represents a third flit in the message sent by the first source, and" 7 "represents a total of 7 flits in the message sent by the first source.
S3: a plurality of arrangement items are established in the structure body, and each arrangement item stores flits from the same source and sequentially outputs the flits to the nonvolatile memory according to flit serial numbers;
when step S3 is executed, the flit source number and the flit sequence number are attached to the flit output from the structure to the nonvolatile memory, that is, the data similar to 1A3 (7) is attached to the end of each sort entry when the structure is output to the nonvolatile memory.
Of course, when step S3 is performed, one sort entry of the structure stores a flit of one source and outputs the flit to the nonvolatile memory, and after a predetermined deletion time, the structure erases the stored flit data in the sort entry, so that the storage pressure of the structure is much smaller and the structure is not damaged.
S4: after the nonvolatile memory stores the flit data output by one sort entry, marking the block at the tail end of the flit data as a bad block; storing flit data output by another sort entry in a block behind the bad block;
when step S4 is executed, the flit data outputted from the two sort entries are stored with a block marked as a bad block therebetween.
S5: judging whether the block in front of the block marked as the bad block is full, if yes, marking the next block marked as the bad block, moving the content in the block behind the next block marked as the bad block backwards by one block, and erasing the mark of the marked bad block; otherwise, not executing the operation;
when executing step S5, when moving the content in the block behind the next block of the marked bad block backward by one block, moving backward by one block at a time from the last block stored with data, and continuously moving backward by one block when moving backward by the bad block.
S6: judging whether no structure body outputs flit data to a nonvolatile memory within a preset time; if yes, all bad block marks are erased, and data in blocks behind the erased bad blocks are moved forward by one block; otherwise, returning to the step S5;
here, when the data in the block after the erasure flag bad block is advanced by one block at the time of executing step S6, the forward advance is started from the forefront one block that needs to be advanced.
And when executing the step S6, when erasing all bad block marks, performing mark erasing one by one from front to back, and executing one forward movement of data in the block behind the erased bad block by one block once for each mark erasing.
S7: and outputting flit data in all blocks in a whole.
The method for collaborative reading of the micro-slices of the communication data effectively combines the reading and writing of the micro-slice messages with the Nand Flash nonvolatile memory, so that various micro-slices sent by a plurality of channels are sorted and stored, the reading of the integrity is convenient, and the cooperativity is good during the reading, and the reading of the micro-slice data of other channels is not interfered.
The present invention is not limited to the above-described specific embodiments, and various modifications and variations are possible. Any modification, equivalent replacement, improvement, etc. of the above embodiments according to the technical substance of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. A communication data multichannel microchip collaborative reading method is characterized by comprising the following steps:
s1: a structure body for storage is arranged at each virtual channel receiving position, and a nonvolatile memory is arranged at the output end of the structure body;
s2: when the structural body acquires the microchip, acquiring the source and the label of the microchip and the serial number of the microchip;
s3: a plurality of arrangement items are established in the structure body, and each arrangement item stores flits from the same source and sequentially outputs the flits to the nonvolatile memory according to flit serial numbers;
s4: after the nonvolatile memory stores the flit data output by one sort entry, marking the block at the tail end of the flit data as a bad block; storing flit data output by another sort entry in a block behind the bad block;
s5: judging whether the block in front of the block marked as the bad block is full, if yes, marking the next block marked as the bad block, moving the content in the block behind the next block marked as the bad block backwards by one block, and erasing the mark of the marked bad block; otherwise, not executing the operation;
s6: judging whether no structure body outputs flit data to a nonvolatile memory within a preset time; if yes, all bad block marks are erased, and data in blocks behind the erased bad blocks are moved forward by one block; otherwise, returning to the step S5;
s7: and outputting flit data in all blocks in a whole.
2. The method for collaborative reading of a communication data multichannel microchip according to claim 1, wherein the method comprises the steps of:
when executing the step S2, the flit source label is determined according to the flit sequence; the flit sequence number includes the message length and the sequence number of the current flit in the message.
3. The method for collaborative reading of a communication data multichannel microchip according to claim 1, wherein the method comprises the steps of:
when step S3 is executed, the flit source number and the flit number are attached to the flit when the flit is output from the structure to the nonvolatile memory.
4. The method for collaborative reading of a communication data multichannel microchip according to claim 1, wherein the method comprises the steps of:
when executing step S3, one sort entry of the structure stores and outputs a flit of one source to the nonvolatile memory, and after a predetermined deletion time, the structure erases the stored flit data in the sort entry.
5. The method for collaborative reading of a communication data multichannel microchip according to claim 1, wherein the method comprises the steps of:
when step S4 is executed, the flit data outputted from the two sort entries are stored with a block marked as a bad block therebetween.
6. The method for collaborative reading of a communication data multichannel microchip according to claim 1, wherein the method comprises the steps of:
when executing step S5, when moving the content in the block behind the next block of the marked bad block backward by one block, moving backward by one block at a time from the last block stored with data, and continuously moving backward by one block when moving backward by the bad block.
7. The method for collaborative reading of a communication data multi-channel flit according to claim 6, wherein the method comprises the steps of:
when the step S6 is executed, the data in the block following the erasure flag bad block is advanced by one block, and the forward is started from the forefront block which needs to be advanced.
8. The method for collaborative reading of a communication data multichannel microchip according to claim 1, wherein the method comprises the steps of:
when executing step S6, when erasing all bad block marks, the mark erasing is carried out one by one from front to back, and each mark erasing is executed once to move the data in the block behind the erased mark bad block forward by one block.
CN202111557923.3A 2021-12-20 2021-12-20 Communication data multichannel microchip collaborative reading method Active CN114237512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111557923.3A CN114237512B (en) 2021-12-20 2021-12-20 Communication data multichannel microchip collaborative reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111557923.3A CN114237512B (en) 2021-12-20 2021-12-20 Communication data multichannel microchip collaborative reading method

Publications (2)

Publication Number Publication Date
CN114237512A CN114237512A (en) 2022-03-25
CN114237512B true CN114237512B (en) 2024-01-26

Family

ID=80758900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111557923.3A Active CN114237512B (en) 2021-12-20 2021-12-20 Communication data multichannel microchip collaborative reading method

Country Status (1)

Country Link
CN (1) CN114237512B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357696A (en) * 2017-06-22 2017-11-17 上海斐讯数据通信技术有限公司 A kind of bad block method of testing of nonvolatile storage and system
CN110096454A (en) * 2019-05-15 2019-08-06 武昌理工学院 A kind of remotely-sensed data based on nonvolatile storage deposits method fastly
CN112542203A (en) * 2020-12-31 2021-03-23 深圳市芯天下技术有限公司 Bad block repairing method and device for nonvolatile memory, storage medium and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357696A (en) * 2017-06-22 2017-11-17 上海斐讯数据通信技术有限公司 A kind of bad block method of testing of nonvolatile storage and system
CN110096454A (en) * 2019-05-15 2019-08-06 武昌理工学院 A kind of remotely-sensed data based on nonvolatile storage deposits method fastly
CN112542203A (en) * 2020-12-31 2021-03-23 深圳市芯天下技术有限公司 Bad block repairing method and device for nonvolatile memory, storage medium and terminal

Also Published As

Publication number Publication date
CN114237512A (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN110806986B (en) Method, equipment and storage medium for improving message storage efficiency of network chip
US8499105B2 (en) Buffer manager and buffer management method based on address pointer linked list
CN101460936B (en) Integrated circuit with graduated on-die termination
CN101278352B (en) Daisy chain cascading devices and method
CN103955431B (en) Data management method and apparatus in flash memory storage device
CN104220991B (en) Framework for allowing effective storage of the data on nand flash memory
EP2122587B1 (en) Method for access to a portable memory data support with auxiliary module and portable memory data support
AU2003286967B2 (en) Dual journaling store method and storage medium thereof
US20070288688A1 (en) Flash memory system, host system for programming the flash memory system, and programming method thereor
CN101510445A (en) Method and apparatus for storing and reading bad block meter of memory
CN102253898B (en) Memory management method and memory management device of image data
CN104765576B (en) A kind of date storage method and data storage device
US7734863B2 (en) Method for guarantying data storing space using dual journaling
CN114237512B (en) Communication data multichannel microchip collaborative reading method
CN112463020A (en) Data access method, device and equipment based on Flash
US20040030823A1 (en) Non-volatile storage device and control method thereof
CN101667458B (en) Method for erasing solid state disk wholly and equipment thereof
CN104348571B (en) Deblocking method and device
CN105068760B (en) Date storage method, data storage device and storage device
CN108628759A (en) The method and apparatus of Out-of-order execution NVM command
CN102341778A (en) Multi-host concurrent writing to magnetic tape
CN206317552U (en) Regeneration chip
EP2341440A1 (en) Memory block reclaiming judging apparatus and memory block managing system
CN114296790A (en) Satellite on-orbit software reconstruction method, satellite system and ground operation and control system
CN106445840A (en) Data storage method and storage system

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