CN105739919B - Data accessing system and method - Google Patents

Data accessing system and method Download PDF

Info

Publication number
CN105739919B
CN105739919B CN201610039676.0A CN201610039676A CN105739919B CN 105739919 B CN105739919 B CN 105739919B CN 201610039676 A CN201610039676 A CN 201610039676A CN 105739919 B CN105739919 B CN 105739919B
Authority
CN
China
Prior art keywords
data
instruction
request
access
transmission interface
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
CN201610039676.0A
Other languages
Chinese (zh)
Other versions
CN105739919A (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.)
Shanghai Chuanyuan Information Technology Co., Ltd
Original Assignee
Czecho Innovation Ltd By Share 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 Czecho Innovation Ltd By Share Ltd filed Critical Czecho Innovation Ltd By Share Ltd
Priority to CN201610039676.0A priority Critical patent/CN105739919B/en
Publication of CN105739919A publication Critical patent/CN105739919A/en
Application granted granted Critical
Publication of CN105739919B publication Critical patent/CN105739919B/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
    • G06F3/0611Improving I/O performance in relation to response time
    • 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/0629Configuration or reconfiguration of storage systems
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A kind of data accessing system of present invention offer and method, including data access unit, data memory unit, data transmission interface, memory, first encapsulation module, first deblocking module, data memory unit includes a plurality of storage address, to provide the write-in or reading of data, wherein stored per document has a storage address in data memory unit respectively, when data access unit is intended to access the continuous or discontinuous data of more storage address, issue more request instructions, more request instructions are encapsulated using the first encapsulation module to instruct for single particular request, and via the transmission particular request instruction of data transmission interface;When data memory unit reception particular request instruction, more request instructions can be once obtained using the first deblocking module deblocking particular request instruction, via more request instructions of execution to access more documents, to improve the efficiency of data access.

Description

Data accessing system and method
Technical field
The present invention is espespecially a kind of to connect to access more storage address about a kind of data accessing system and access method The data accessing system and method for continuous or discontinuous data.
Background technology
Information System is made of a data access unit and a data memory unit at present.Data access unit can be with For a processor or a peripheral device, and data memory unit can be a storage device, as HDD, SSD or one other can store The device of data.
When the data that data access unit data memory unit to be accessed is stored, one or more requests can be sent out and referred to It enables to data memory unit.Data memory unit executes request instruction after receiving request instruction, to carry out the access of data, Such as:Data is written to data memory unit or data from memory and is read from data memory unit to memory.Data storage Unit transmits one or more reaction instructions to data access unit, to inform data access after having carried out data access It is disposed.
Using the access mode of previous data, when data access unit will access more documents for data memory unit When, if the storage address of more documents is successional, then, more request instructions can be merged into list by data access unit One request instruction.Then, data memory unit merges after data access unit receives this single request instruction and accesses more rewards for writing or painting Material.Opposite, if the storage address of more documents is discontinuity, then, data access unit can not refer to more requests Single request instruction is merged into order, after document access is can be only done between data access unit and data memory unit, ability Continue the access of next document.
By taking Fig. 1 as an example, when data access unit will access data memory unit 15 three rewards for writing or painting (as read or being written) When expecting D1, D2, D3, since the storage address of three document D1, D2, D3 is continuous, data access unit can be three by this Three document D1, D2, D3 request instructions read together, and are merged into single ask by the storage address connection of data D1, D2, D3 Instruction is asked, and using the storage address (Address 1) of the first document D1 as the starting of the data access of single request instruction Address.Then, data memory unit 15 is after receiving this single request instruction, according to continuous in storage address (Address 1) Access data D1, D2, D3 of property.Conversely, when data access unit will for data memory unit 15 read three document D4, When D5, D6, due to three document D4, D5, D6 storage address (Address 4~6) be it is discontinuous, three document D4, D5, The storage address of D6 can not link together, and the request instruction that data access unit can only first transmit the first document D4 is deposited to data Storage unit 15, after data memory unit 15 completes the access of the first document D4 and transmission reaction instruction, data access unit It could continue lower two document D5, D6 accesses processing.Then, when accessing the discontinuous data of more storage address in the past, data must It must be handled stroke by stroke, this will cause the low of information acces efficiency.
Invention content
The purpose of the present invention is to propose that a kind of data accessing system and method, data accessing system include a money Access unit and a data memory unit are expected, when data access unit is intended to access the more continuous or discontinuous data of storage address When, more request instructions are issued, encapsulate more request instructions using an encapsulation module instructs for single particular request, and via one Data transmission interface transmits particular request instruction, later, when data memory unit receives particular request instruction, utilizes a deblocking Module deblocking particular request instruction can once obtain more request instructions, be carried quickly to execute the access of more documents The efficiency of high data access.
A further object of the present invention is to propose that a kind of data accessing system and method, wherein data memory unit are being held It has gone after every request instruction, a reaction will be generated respectively and instructed, after data memory unit has executed all request instructions, It is the instruction of single special reaction to encapsulate all reaction instructions using an encapsulation module, and special via data transmission interface transmission Reaction instruction is to data access unit, when data access unit receives special reaction instruction, is unsealed using a deblocking module special Different reaction instruction can once obtain more reaction instructions, and learn multiple data access request executeds and finish.
To reach above-mentioned purpose, the present invention uses following technical scheme:
A kind of data accessing system, including:One data memory unit includes a plurality of storage address, to provide money The write-in or reading of material, wherein stored per document has a storage address in data memory unit respectively;One data access list Member issues multiple requests to data access when data access unit is intended to access more documents for data memory unit Instruction;One data transmission interface is arranged between data memory unit and data access unit;One memory connects data transmission Interface;One first encapsulation module is arranged between data access unit and data transmission interface, multiple request instructions is encapsulated as list One particular request instructs, via the transmission particular request instruction of data transmission interface;And one first deblocking module, the data of being set to deposits Between storage unit and data transmission interface, particular request instruction is received via data transmission interface, is by particular request instruction deblocking Multiple request instructions, wherein data memory unit obtain multiple request instructions via the first deblocking module, execute each request and refer to It enables to access every document, and generates reaction instruction respectively after each request instruction has executed, and be situated between via data transmission Each reaction instruction is transmitted to data access unit in face.
In one embodiment of the invention, it is discontinuous that data access unit accesses more storage address for data memory unit Data or the more continuous data of storage address.
In one embodiment of the invention, when data memory unit executes request instruction, data is written from memory to money Among expecting storage unit, or data read from data memory unit to memory.
In one embodiment of the invention, each request instruction includes there are many data access parameter, and data access parameter includes There is write-in/reading index of the data address of the storage address of a data, the length of a data and a direction memory.
In one embodiment of the invention, data transmission interface be accord with a SATA standard specification, a PCI-E standard specification, One SAS standard specification, an iSCSI standard specifications, an iSER standard specifications, a SRP standard specifications or other types standard specification Transmission interface.
In one embodiment of the invention, the instruction format of particular request instruction accords with the rule of standardized transmission layer agreement Model, particular request instruction are reached an agreement on according to standardized transmission layer to formulate there are many standardized transmission field, each request instruction it is each Kind data access parameter is respectively filled according to the specification reached an agreement in standardized transmission layer in the mark of corresponding particular request instruction Standardization is transmitted among field.
In one embodiment of the invention, particular request instruction further includes having a particular request position, particular request position to insert to it In a standardized transmission field unused storage space in.
In one embodiment of the invention, memory includes an information data area and a reserved area, and information data area is configured to temporarily store data, data The formulation of access system has an encapsulation number parameter and one retains dimensional parameters, and reserved area is configured to temporarily store each request instruction, encapsulation number It measures parameter and retains dimensional parameters, retain dimensional parameters to the memory space of planned reserve, when the first encapsulation module executes When encapsulation, multiple request instructions are obtained from reserved area, and according to encapsulation number parameter how much to determine particular request instruction encapsulation The request instruction of quantity.
In one embodiment of the invention, the format of the transmission field of particular request instruction is voluntarily determined by data transmission interface Justice, wherein data transmission interface are to be instructed with the transmission control protocol of a self-defining to transmit particular request.
In one embodiment of the invention, it includes request data write-in that the transmission field of particular request instruction, which has been defined one, Or read instruction information nonstandardized technique transmission field, one include an encapsulation number parameter nonstandardized technique transmit field and Multiple nonstandardized technique transmission fields for recording the data access parameter for having each request instruction.
The present invention provides a kind of data accessing system again, including:One data memory unit includes a plurality of storages Location, to provide the write-in or reading of data, wherein stored per document has a storage address in data memory unit respectively; One data access unit, when data access unit be intended to for data memory unit access more documents when, publication it is multiple with as a means of Expect the request instruction of access;One data transmission interface is arranged between data memory unit and data access unit;One memory, Connect data transmission interface;One first encapsulation module is arranged between data access unit and data transmission interface, by multiple requests Instruction is encapsulated as single particular request instruction, via the transmission particular request instruction of data transmission interface;One first deblocking module, if It is placed between data memory unit and data transmission interface, particular request instruction is received via data transmission interface, by particular request Instruction deblocking is multiple request instructions, and wherein data memory unit obtains multiple request instructions via the first deblocking module, executes Each request instruction generates reaction instruction respectively to access every document after each request instruction has executed, and via Data transmission interface transmits each reaction instruction to memory, and the wherein each reaction of memory received in sequence is instructed and kept in multiple Reaction instruction;One second encapsulation module is arranged between data memory unit and data transmission interface, and multiple reactions are instructed and are encapsulated It is instructed for single special reaction, via the transmission special reaction instruction of data transmission interface;And one second deblocking module, setting providing Expect between access unit and data transmission interface, receives special reaction instruction via data transmission interface, special reaction is instructed and is solved Envelope is that multiple reactions instruct, and multiple reactions instruction is sent to data access unit.
In one embodiment of the invention, the instruction format of special reaction instruction accords with the rule of standardized transmission layer agreement Model, special reaction instruction are reached an agreement on according to standardized transmission layer to have formulated an at least standardized transmission field, each reaction instruction packet An at least access results parameter is included, each access results parameter of each reaction instruction is according to the specification reached an agreement in standardized transmission layer It is respectively filled in the standardized transmission field of corresponding special reaction instruction.
In one embodiment of the invention, special reaction instruction further includes having a special reaction position, and special reaction position will be inserted extremely In the unused storage space of standardized transmission field.
In one embodiment of the invention, memory includes an information data area and a reserved area, and information data area is configured to temporarily store data, data The formulation of access system has an encapsulation number parameter and one retains dimensional parameters, and reserved area is configured to temporarily store each reaction instruction, encapsulation number It measures parameter and retains dimensional parameters, retain dimensional parameters to the memory space of planned reserve, when the second encapsulation module executes When encapsulation, multiple reaction instructions are obtained from reserved area, and according to encapsulation number parameter how much to determine special reaction instruction encapsulation The reaction of quantity instructs.
In one embodiment of the invention, the format of the transmission field of special reaction instruction is voluntarily determined by data transmission interface Justice, wherein data transmission interface are to be instructed with the transmission control protocol of a self-defining to transmit special reaction.
In one embodiment of the invention, it includes an encapsulation number parameter that the transmission field of special reaction instruction, which has been defined one, Nonstandardized technique transmission field and it is multiple record have it is each reaction instruction access results parameter nonstandardized technique transmission field.
The present invention provides a kind of data access method again, and method is applied on a data accessing system, data access system System includes a data access unit and a data memory unit, and data access unit carries out more documents for data memory unit The step of access includes:Data access unit is enabled to issue multiple request instructions to data access;Utilize one first encapsulation The multiple request instructions of module packaging are encapsulated as single particular request instruction;Refer to via data transmission interface transmission particular request It enables;Enabling data memory unit be received via the first deblocking module, particular request instructs and deblocking particular request instruction is multiple to obtain Request instruction;Data memory unit is enabled to execute each request instruction to access every document;And data access unit is enabled to have executed Reaction instruction is generated after each request instruction respectively and transmits each reaction instruction to data access via data transmission interface Unit.
In one embodiment of the invention, data transmission interface is with the transmission of a standardized transmission control protocol or a self-defining Layer agreement transmission particular request instruction.
The present invention provides a kind of data access method again, and method is applied on a data accessing system, data access system System includes a data access unit and a data memory unit, and data access unit carries out more documents for data memory unit The step of access includes:Data access unit is enabled to issue multiple request instructions to data access;Utilize one first encapsulation Multiple request instructions are encapsulated as single particular request and instructed by module;Via data transmission interface transmission particular request instruction; Data memory unit is enabled to receive particular request instruction and deblocking particular request instruction via the first deblocking module to obtain multiple ask Ask instruction;Data memory unit is enabled to execute each request instruction to access every document;Data memory unit is enabled to have executed each Reaction instruction is generated after request instruction respectively;It is single special to be encapsulated as using the multiple reactions instructions of one second encapsulation module encapsulation Reaction instruction;Via the transmission special reaction instruction of data transmission interface;And enable data access unit via one second deblocking module It receives special reaction instruction and deblocking special reaction instruction is instructed with obtaining multiple reactions.
In one embodiment of the invention, data transmission interface is with the transmission of a standardized transmission control protocol or a self-defining Layer agreement transmission special reaction instruction.
Description of the drawings
Fig. 1 is the data structure schematic diagram of common data memory unit.
Fig. 2 is the structural schematic diagram of an embodiment of data accessing system of the present invention.
Fig. 3 is the structural schematic diagram of an embodiment of the transmission field of particular request instruction of the present invention.
Fig. 4 is the data structure schematic diagram of memory of the present invention.
Fig. 5 is the data structure schematic diagram of an embodiment of data memory unit of the present invention.
Fig. 6 is the data structure schematic diagram of the another embodiment of data memory unit of the present invention.
Fig. 7 is the structural schematic diagram of the another embodiment of data accessing system of the present invention.
Fig. 8 is the structural schematic diagram of the another embodiment of data accessing system of the present invention.
Fig. 9 is the structural schematic diagram of the another embodiment of the transmission field of particular request instruction of the present invention.
Figure 10 is the data structure schematic diagram of the another embodiment of data memory unit of the present invention
Figure 11 is the structural schematic diagram of the another embodiment of the transmission field of particular request instruction of the present invention.
Figure 12 is the structural schematic diagram of the another embodiment of data accessing system of the present invention.
Figure 13 is the structural schematic diagram of an embodiment of the transmission field of special reaction instruction of the present invention.
Primary clustering symbol description:
15 data memory unit, 200 data accessing system
201 data accessing system, 21 data access unit
210 the first request instructions of request instruction 210 (A)
210 (B) second request instruction 210 (C) third request instruction
2101 data access parameter, 2102 data access parameter
2103 data access parameter, 22 first encapsulation module
220 particular requests instruct 2200 standardized transmission fields
2201 standardized transmission field, 2202 standardized transmission field
2203 standardized transmission field, 221 particular request instructs
2210 nonstandardized techniques transmit 2211 nonstandardized technique of field and transmit field
2212 nonstandardized techniques transmit 2215 nonstandardized technique of field and transmit field
23 data transmission interfaces 24 first unseal module
The reaction instruction of 25 data memory units 250
2501 access results parameter, 26 second encapsulation module
260 special reactions instruct the instruction of 261 special reactions
2610 nonstandardized techniques transmit 2611 nonstandardized technique of field and transmit field
27 memory, 271 reserved area
273 information data areas 28 second unseal module
281 encapsulation number parameters 282 retain dimensional parameters
CN encapsulates number parameter
P1 particular requests position
P2 special reactions position
Specific implementation mode
Referring to Fig. 2, the structural schematic diagram of the embodiment for data accessing system of the present invention.As shown, of the invention Data accessing system 200 includes a data access unit 21, one first encapsulation module 22, a data transmission interface 23, one first Unseal module 24, a data memory unit 25 and a memory 27.Data transmission interface 23 setting data access unit 21 with Between data memory unit 25, to data transmission and instruction.Data memory unit 25 includes a plurality of storage address, to carry For the write-in or reading of data, stored per document has a storage address in data memory unit 25 respectively.Memory 27 connects Data transmission interface 23 is connect, data or instruction are configured to temporarily store.First encapsulation module 22 is arranged in data access unit 21 and data Between transmission interface 23, and the first deblocking module 24 is arranged between data memory unit 25 and data transmission interface 23.The present invention one In embodiment, the first encapsulation module 22 can be a component being arranged inside data access unit 21, and the first deblocking module 24 can be a component being arranged inside data memory unit 25.
When data access unit 21 is intended to access more documents for data memory unit 25, issues more and access data Request instruction 210.Request instruction 210 can be the request of data write-in or the request that a data is read.Data access unit The 21 more documents to be accessed, the storage address in data memory unit 25 can be continuous or discontinuous.
Then, multiple request instructions 210 that data access unit 21 is issued are encapsulated as single by the first encapsulation module 22 Particular request instruction 220, and transmit particular request instruction 220 via data transmission interface 23.Data memory unit 25 is via One deblocking module 24 unseals particular request instruction 220 to obtain multiple request instructions 210, executes each request instruction 210 to deposit Every document is taken, such as:Data is written from memory 27 among data memory unit 25, or by data from data storage Unit 25 is read to memory 27.Later, data memory unit 25 produces respectively after having executed each request instruction 210 Raw reaction instruction 250 transmits each reaction instruction 250 to data access unit 21, with return via data transmission interface 23 Request executed finishes.
Then, multiple request instructions 210 that data access unit 21 is issued are encapsulated as using the first encapsulation module 22 Single particular request instruction 220 is transmitted.Later, when data memory unit 25 receives particular request instruction 220, one is utilized First deblocking module 24, which unseals particular request instruction 220, can once obtain more request instructions 210, so as to quickly hold The access of the more documents of row and the efficiency for improving data access.
Furthermore the data access parameter 2101~2103 including there are many of each request instruction 210, such as:Data access parameter 2101 be storage address, the data access parameter 2102 that data to be accessed be the length of data, data access parameter 2103 is one It is directed toward the write-in index of the data address of memory 27 or the reading index of the data address of a direction memory 27. When data memory unit 25 executes request instruction 210, will be deposited according to the instruction in each data access parameter 2101~2103 Take data.
Data transmission interface 23 accords with SATA standard specification, PCI-E standard specification, SAS standard specification, iSCSI for one The transmission interface of standard specification, iSER standard specifications, SRP standard specifications or other types standard specification.Implement in the present invention one In example, data or instruction (such as particular request instruction 220) that data transmission interface 23 is transmitted will accord with a standardized transmission The specification of layer agreement, such as:The transmission control protocol of SATA standard specification or the transmission control protocol of other standards specification.
As shown in figure 3, the specification reached an agreement on according to standardized transmission layer is formulated in the particular request instruction 220 of the present embodiment There are multiple standardized transmission fields 2200~2203, such as:The standardized transmission that one request data is written or request data is read The standardized transmission field 2202, one of field 2200, the standardized transmission field 2201 of a data storage address, a data length Index is written or reads the standardized transmission field 2203 of index.It is each to ask when 22 execute encapsulation program of the first encapsulation module Seek the data access parameter 2101~2103 of instruction 210 and will one by one be filled according to the specification reached an agreement in standardized transmission layer pair Among the standardized transmission field 2201~2203 answered, so that particular request instruction 220 is packaged with the money of multiple request instructions 210 Expect access parameter 2101~2103.Furthermore in one embodiment of the invention, particular request instruction 220 still includes a particular request Position (P1).Particular request position (P1) will insert being not used to a wherein standardized transmission field 2200/2201/2202/2203 In space.Such as:Particular request position (P1) is inserted to the unused storage space of the standardized transmission field 2201 of data storage address In.When data memory unit 25 receives particular request instruction 220, particular request can be picked out via particular request position (P1) Instruction 220 is the instruction that one includes multiple requests, is obtained with unsealing particular request instruction 220 using the first deblocking module 24 The data access parameter 2101~2103 of multiple request instructions 210.
It connects, as shown in figure 4, the present embodiment memory 27 includes reserved area 271 and an information data area 273.Information data area 273 By the temporary data generally accessed, and each request instruction 210 that data access unit 21 is issued can be temporarily stored into reserved area 271 Among.When 22 execute encapsulation program of the first encapsulation module, each request instruction will be obtained from the reserved area of memory 27 271 210 each data access parameter 2101~2103, by each data access parameter 2101~2,103 1 of each request instruction 210 Among one filling to standardized transmission field 2201~2203.In addition, the formulation of data accessing system 200 of the present invention has an encapsulation number It measures parameter 281 and one and retains dimensional parameters 282, reserved area can be also temporarily stored by encapsulating number parameter 281 and retaining dimensional parameters 282 Among 271.Encapsulation number parameter 281 to indicate the quantity of request instruction 210 for package in single particular request instruction 220, And retain dimensional parameters 282 to the memory space of planned reserve 271.In one embodiment of the invention, the first encapsulation module 22 By according in encapsulation number parameter 281 come determine particular request instruction 220 encapsulation how much quantity request instructions 210.
By taking Fig. 5 as an example, when data access unit 21 be intended to for data memory unit 25 be written three storage address it is discontinuous Data D1, D2, D3 when, issue three request instructions, such as:First request instruction 210 (A), the second request instruction 210 (B) And third request instruction 210 (C).When 22 execute encapsulation program of the first encapsulation module, will reach an agreement on according in standardized transmission layer Specification the data access parameter 2101~2103 of three request instructions 210 (A)~210 (C) is filled in one by one respectively it is single Among the standardized transmission field 2201~2203 of particular request instruction 220, asked so that particular request instruction 220 is packaged with three Seek the data access parameter 2101~2103 of instruction 210 (A)~(C).In addition, particular request position (P1) also can together be inserted to it In a standardized transmission field 2200/2201/2202/2203 unused storage space in.
It connects, when data memory unit 25 receives particular request instruction 220 via data transmission interface 23, the will be utilized One deblocking module 24 unseals particular request instruction 220, to obtain the data access parameter of three request instruction 210 (A)~(C) 2101~2103.Data memory unit 25 is write in order or synchronously according in the request of three request instruction 210 (A)~(C) Among entering three documents to storage address (Address 1~3), and the reaction instruction 250 of data access completion is generated respectively. Then, illustrate via above-mentioned example, data memory unit 25 can once obtain more by deblocking particular request instruction 220 and not connect Continuous data storage address, the access to be carried out at the same time more documents according to more discontinuous data storage addresses are handled, are caused Efficiency bad problem when making to access the discontinuous data of more storage address in the past to improve.
Furthermore the data access process of data accessing system 200 of the present invention, which is removed, is used in more storages of write-in or reading In the discontinuous data in location, as shown in figure 5, can also be useful in write-in or read in the more continuous data of storage address, such as Fig. 6 It is shown, in this, it is not repeated to illustrate.
Referring to Fig. 7, the structural schematic diagram of the another embodiment for data accessing system of the present invention.As shown in fig. 7, this hair Bright data accessing system 200 can also instruct multiple reactions in addition to being packaged program for multiple request instructions 210 250 are packaged program.
The data accessing system 200 of the present embodiment still includes one second encapsulation module 26 and one second deblocking module 28. Second encapsulation module 26 is arranged between data memory unit 25 and data transmission interface 23, and the second deblocking setting of module 28 exists Between data access unit 21 and data transmission interface 23.In one embodiment of the invention, the second encapsulation module 26 can be a data Component inside storage unit 25, and the second deblocking module 28 can be the component inside a data access unit 21.
As described above, data memory unit 25 of the present invention is after having executed each request instruction 210, it is anti-by generating one respectively 250 should be instructed.Each reaction instruction 250 includes an at least access results parameter 2501.In the present embodiment, data storage list Respectively reaction instruction 250 will be temporarily stored in the reserved area 271 of memory 27 caused by member 25, as shown in Figure 4.When data storage list After member 25 has executed all request instructions 210, the second encapsulation module 26 will obtain multiple anti-from the reserved area of memory 27 271 250 should be instructed, and this multiple reaction instruction 250 is encapsulated as single special reaction instruction 260.
The format of the transmission field of the present embodiment single special reaction instruction 260 is also complied with reaches an agreement in standardized transmission layer Specification.When 26 execute encapsulation program of the second encapsulation module, the access results parameter 2501 of each reaction instruction 250 will be according in mark The specification of standardization transmission control protocol is filled in one by one among the standardized transmission field that special reaction instruction 260 is formulated, with Just special reaction instruction 260 can be packaged with the access results parameter 2501 of multiple reactions.In addition, in one embodiment of the invention, Second encapsulation module 26 260 encapsulation how much quantity of single special reaction instruction will be determined according in encapsulation number parameter 281 Reaction instruction 250.In addition, a special reaction position (P2) can also be encapsulated in the standardized transmission column of special reaction instruction 260 Among the unused storage space of position.It, can be via special reaction position when data access unit 21 receives special reaction instruction 260 (P2) it picks out special reaction and instructs 260 for the instruction that one includes multiple reactions, to unseal spy using the second deblocking module 28 Different reaction instructs 260 and once obtains more reactions and instruct 250 access results parameter 2501, and learns multiple data access and ask Executed is asked to finish.
Referring to Fig. 8, the structural schematic diagram of the another embodiment for data accessing system of the present invention.The money of above-described embodiment Expect in access system 200, the format system of the transmission field of particular request instruction 220 follows to reach an agreement in current standardized transmission layer Specification.In the present embodiment data accessing system 201, data transmission interface 23 can instruct 221 biography with self-defining particular request The format of defeated field instructs 221 with the transmission control protocol of a self-defining to transmit particular request.
As shown in figure 9, the format of the transmission field of particular request instruction 221 is defined by data transmission interface 23, The nonstandardized technique transmission field 2210, one that definition has a request data to be written or read encapsulates the nonstandardized technique of number parameter (CN) Field 2215 is transmitted in the nonstandardized technique for transmitting field 2211 and multiple requests.Nonstandardized technique transmits field 2210 to indicate to ask Instruction 210 is a data write request or a data read requests, and nonstandardized technique transmits field 2211 to indicate particular request The request instruction 210 of 221 encapsulation how much quantity of instruction, and each nonstandardized technique transmission field 2215 refers to record each request Enable 210 data access parameter 2101~2103.When 22 execute encapsulation program of the first encapsulation module, it will be situated between according in data transmission The transmission control protocol of 23 self-defining of face is single the data access parameter 2101~2103 of multiple request instructions 210 to be encapsulated in Among particular request instruction 221.Later, data transmission interface 23 will be referred to the transmission control protocol of self-defining transmission particular request It enables 221 to data memory unit 25.
When data memory unit 25 receives particular request instruction 221 via data transmission interface 23, the first deblocking is utilized Module 24 unseals particular request instruction 221 to obtain the instruction information of request data write-in, the parameter (CN) of an encapsulation quantity And the data access parameter 2101~2103 of multiple request instructions 210.Data memory unit 25 is according in encapsulation number parameter (CN) among to learn that the request instruction 210 of how much quantity is encapsulated in particular request instruction 221, and according to multiple request instructions 210 data access parameter 2101~2103 is handled to execute the access of more documents, and is produced after more documents access Raw multiple reaction instructions 250 are to return data access unit 21.
So implement according to this, data memory unit 25 also can once obtain more by unsealing particular request instruction 221 Discontinuous or continuous data storage address, to be carried out at the same time more rewards for writing or painting according to more discontinuous or continuous data storage addresses The access of material is handled, to improve the speed of data access.
In addition, in further embodiment of this invention, when more documents are written to data memory unit data access unit 21 When 25 multiple continuous storage address, multiple storage address can be merged connection together by data access unit 21, and with the The initial address that one storage address (Address 1) is written as data, as shown in Figure 10.Then, as shown in figure 11, data passes Defeated interface 23 can add the nonstandardized technique of a write-in index in the format of transmission field for defining particular request instruction 220 Transmit field 2212.This nonstandardized technique transmission field 2212 will be recording first storage address (Address 1) of a direction Write-in index.Furthermore since multiple storage address have merged connection, transmit field in the nonstandardized technique of request It can be omitted the related data access parameter 2101 of record write-in index in 2215, only need to record other data access parameters 2101 ~2102.Later, when data memory unit 25 unseals particular request instruction 221, the starting of data access can will be obtained Address, and more documents are accessed according to the initial address continuity of data access.
2 are please referred to Fig.1, is the structural schematic diagram of the another embodiment of data accessing system of the present invention.In the present embodiment, Multiple reaction instructions 250 can also be encapsulated as single special reaction instruction 261, the format of the transmission field of special reaction instruction 261 System is by 23 self-definings of data transmission interface.Data transmission interface 23 will transmit spy with the transmission control protocol of a self-defining Different reaction instruction 261.
As shown in figure 13, the format of the transmission field of special reaction instruction 261 is defined by data transmission interface, is determined Justice has the nonstandardized technique transmission field 2610 of an encapsulation number parameter (CN) and the nonstandardized technique transmission field 2611 of multiple reactions. Nonstandardized technique transmits field 2610 to indicate the reaction instruction 250 of 261 encapsulation how much quantity of special reaction instruction, and each non- Standardized transmission field 2611 to record it is each reaction instruction 250 access results parameter 2501.
When data access unit 21 receives special reaction instruction 261 via data transmission interface 23, the second deblocking is utilized Module 28 unseals special reaction instruction 261 to obtain the parameter (CN) of an encapsulation quantity and the access results parameter of multiple reactions 2501.Data access unit 21 according in encapsulation number parameter (CN) to learn that the reaction instruction of how much quantity 250 is encapsulated in Among special reaction instruction 261, and according in access results parameter 2501, to learn, all request executed finishes.
Via above-mentioned, the request instruction 250 that more documents access is encapsulated as single spy by data access unit 21 of the present invention Different request instruction 220/221, and referred to transmit particular request with the transmission control protocol of the agreement of standardized transmission layer or self-defining Enable 220/221.Later, when data memory unit 25 receives particular request instruction 220/221, particular request instruction can be unsealed 220/221 and once obtain more continuous or discontinuous data storage addresses, and according to more continuous or discontinuous data Storage address sequentially or concurrently carries out the access processing of more documents, uses raising information acces efficiency.
As described above, an only preferred embodiment of the invention is not used for limiting the scope of implementation of the present invention, Equivalent changes and modifications carried out by i.e. all shape, construction, feature and spirit according to described in scope of the present invention patent, should all wrap It includes within the scope of the patent protection of the present invention.

Claims (21)

1. data accessing system, which is characterized in that including:
One data memory unit includes a plurality of storage address, to provide the write-in or reading of data, wherein per document Store has a storage address in data memory unit respectively;
One data access unit issues multiple use when data access unit is intended to access more documents for data memory unit With the request instruction of data access;
One data transmission interface is arranged between data memory unit and data access unit;
One memory connects data transmission interface;
One first encapsulation module is arranged between data access unit and data transmission interface, multiple request instructions is encapsulated as list One particular request instructs, via the transmission particular request instruction of data transmission interface;And
One first deblocking module, is set between data memory unit and data transmission interface, is received via data transmission interface special Particular request instruction deblocking is multiple request instructions by different request instruction, and wherein data memory unit is via the first deblocking module Multiple request instructions are obtained, execute each request instruction to access every document, and after each request instruction has executed respectively A reaction instruction is generated, and each reaction instruction is transmitted to data access unit via data transmission interface;
The memory includes an information data area and a reserved area, which is configured to temporarily store data, which formulates There are an encapsulation number parameter and a reservation dimensional parameters, the reserved area to be configured to temporarily store each request instruction, encapsulation quantity ginseng Number and the reservation dimensional parameters, the reservation dimensional parameters are to the memory space of planning the reserved area, when first Encapsulation Moulds When group execute encapsulation, multiple request instructions are obtained from the reserved area, and according to the encapsulation number parameter to determine the spy Different request instruction encapsulates the request instruction of how much quantity.
2. data accessing system according to claim 1, which is characterized in that the data access unit is for the data The discontinuous data of more storage address of memory cell access or the more continuous data of storage address.
3. data accessing system according to claim 1, which is characterized in that asked described in being executed when the data memory unit When asking instruction, data is written from the memory to the data memory unit, or data is deposited from the data Storage unit is read to the memory.
4. data accessing system according to claim 1, which is characterized in that each request instruction includes that there are many moneys Expect that access parameter, the data access parameter include the storage address of a data, the length of a data and a direction storage The write-in of the data address of device/reading index.
5. data accessing system according to claim 4, which is characterized in that the data transmission interface is to accord with one SATA standard specification, a PCI-E standard specification, a SAS standard specification, an iSCSI standard specifications, an iSER standard specifications, one The transmission interface of SRP standard specifications or other types standard specification.
6. data accessing system according to claim 5, which is characterized in that the instruction format symbol of the particular request instruction Together in the specification of standardized transmission layer agreement, the particular request instruction is reached an agreement on more to have formulated according to the standardized transmission layer The various data access parameters of kind standardized transmission field, each request instruction are reached an agreement on according in the standardized transmission layer Specification be respectively filled among the standardized transmission field of corresponding particular request instruction.
7. data accessing system according to claim 6, which is characterized in that the particular request instruction further includes having a spy Different request position, which inserts into the unused storage space of the wherein one standardized transmission field.
8. data accessing system according to claim 1, which is characterized in that the transmission field of the particular request instruction Format is by data transmission interface institute self-defining, wherein the data transmission interface is with the transport layer of a self-defining Agreement instructs to transmit the particular request.
9. data accessing system according to claim 8, which is characterized in that the transmission field quilt of the particular request instruction It includes that request data write-in or the nonstandardized technique of the instruction information read transmit field, one include an encapsulation that definition, which has one, The nonstandardized technique transmission field and multiple records of number parameter have the nonstandard of the data access parameter of each request instruction Standardization transmits field.
10. data accessing system, which is characterized in that including:
One data memory unit includes a plurality of storage address, to provide the write-in or reading of data, wherein per document Store has a storage address in data memory unit respectively;
One data access unit issues multiple use when data access unit is intended to access more documents for data memory unit With the request instruction of data access;
One data transmission interface is arranged between data memory unit and data access unit;
One memory connects data transmission interface;
One first encapsulation module is arranged between data access unit and data transmission interface, multiple request instructions is encapsulated as list One particular request instructs, via the transmission particular request instruction of data transmission interface;
One first deblocking module, is set between data memory unit and data transmission interface, is received via data transmission interface special Particular request instruction deblocking is multiple request instructions by different request instruction, and wherein data memory unit is via the first deblocking module Multiple request instructions are obtained, execute each request instruction to access every document, and after each request instruction has executed respectively A reaction instruction is generated, and each reaction instruction is transmitted to memory, wherein memory received in sequence via data transmission interface Each reaction instructs and temporary multiple reaction instructions;
One second encapsulation module is arranged between data memory unit and data transmission interface, and multiple reactions instruction is encapsulated as list One special reaction instructs, via the transmission special reaction instruction of data transmission interface;And
One second deblocking module, is arranged between data access unit and data transmission interface, is received via data transmission interface special Special reaction instruction deblocking is that multiple reactions instruct, and multiple reactions instruction is sent to data access list by different reaction instruction Member;
The memory includes an information data area and a reserved area, which is configured to temporarily store data, which formulates There are an encapsulation number parameter and a reservation dimensional parameters, the reserved area to be configured to temporarily store each reaction instruction, encapsulation quantity ginseng Number and the reservation dimensional parameters, the reservation dimensional parameters are to the memory space of planning the reserved area, when second Encapsulation Moulds When group execute encapsulation, multiple reaction instructions are obtained from the reserved area, and according to the encapsulation number parameter to determine the spy The reaction instruction of different reaction instruction encapsulation how much quantity.
11. data accessing system according to claim 10, which is characterized in that the data transmission interface is to accord with one SATA standard specification, a PCI-E standard specification, a SAS standard specification, an iSCSI standard specifications, an iSER standard specifications, one The transmission interface of SRP standard specifications or other types standard specification.
12. data accessing system according to claim 11, which is characterized in that the instruction format of the special reaction instruction Accord with the specification of standardized transmission layer agreement, the special reaction instruction is reached an agreement on according to the standardized transmission layer to have formulated An at least standardized transmission field, each reaction instruction includes an at least access results parameter, and each reaction instruction is respectively deposited Result parameter is taken to be respectively filled in corresponding special reaction instruction according to the specification reached an agreement in the standardized transmission layer In the standardized transmission field.
13. data accessing system according to claim 12, which is characterized in that the special reaction instruction further includes having one Special reaction position, the special reaction position will be inserted into the unused storage space of the standardized transmission field.
14. according to data accessing system according to any one of claims 10, which is characterized in that the transmission field of the special reaction instruction Format is by data transmission interface institute self-defining, wherein data transmission interface system is with the transport layer of a self-defining Agreement instructs to transmit the special reaction.
15. data accessing system according to claim 14, which is characterized in that the transmission field of the special reaction instruction Be defined one include an encapsulation number parameter nonstandardized technique transmission field and it is multiple record have it is each it is described reaction instruction Field is transmitted in the nonstandardized technique of one access results parameter.
16. a kind of data access method, method is applied on a data accessing system, which is characterized in that data accessing system Including a data access unit and a data memory unit, data access unit carries out more documents for data memory unit and deposits The step of taking include:
Data access unit is enabled to issue multiple request instructions to data access;
Multiple request instructions, which are encapsulated, using one first encapsulation module is encapsulated as single particular request instruction;
Via data transmission interface transmission particular request instruction;
Enabling data memory unit be received via the first deblocking module, particular request instructs and deblocking particular request instruction is more to obtain A request instruction;
Data memory unit is enabled to execute each request instruction to access every document;And
Reaction instruction is generated after enabling data access unit execute each request instruction respectively and is passed via data transmission interface Send each reaction instruction to data access unit.
17. data access method according to claim 16, which is characterized in that the data access unit is for the money Expect the discontinuous data of more storage address of memory cell access or the more continuous data of storage address.
18. data access method according to claim 16, which is characterized in that the data transmission interface is with a standardization Transmission control protocol or the transmission control protocol of a self-defining transmit particular request instruction.
19. a kind of data access method, method is applied on a data accessing system, which is characterized in that data accessing system Including a data access unit and a data memory unit, data access unit carries out more documents for data memory unit and deposits The step of taking include:
Data access unit is enabled to issue multiple request instructions to data access;
Multiple request instructions single particular request is encapsulated as using one first encapsulation module to instruct;
Via data transmission interface transmission particular request instruction;
Enabling data memory unit be received via the first deblocking module, particular request instructs and deblocking particular request instruction is more to obtain A request instruction;
Data memory unit is enabled to execute each request instruction to access every document;
Reaction instruction is generated after enabling data memory unit execute each request instruction respectively;
Multiple reaction instructions, which are encapsulated, using one second encapsulation module is encapsulated as single special reaction instruction;
Via the transmission special reaction instruction of data transmission interface;And
Data access unit is enabled to receive special reaction instruction and deblocking special reaction instruction via one second deblocking module to obtain Multiple reaction instructions.
20. data access method according to claim 19, which is characterized in that the data access unit is for the money Expect the discontinuous data of more storage address of memory cell access or the more continuous data of storage address.
21. data access method according to claim 19, which is characterized in that the data transmission interface is with a standardization Transmission control protocol or the transmission control protocol of a self-defining transmit special reaction instruction.
CN201610039676.0A 2016-01-21 2016-01-21 Data accessing system and method Active CN105739919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610039676.0A CN105739919B (en) 2016-01-21 2016-01-21 Data accessing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610039676.0A CN105739919B (en) 2016-01-21 2016-01-21 Data accessing system and method

Publications (2)

Publication Number Publication Date
CN105739919A CN105739919A (en) 2016-07-06
CN105739919B true CN105739919B (en) 2018-10-12

Family

ID=56246427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610039676.0A Active CN105739919B (en) 2016-01-21 2016-01-21 Data accessing system and method

Country Status (1)

Country Link
CN (1) CN105739919B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527184A (en) * 2019-09-17 2021-03-19 群联电子股份有限公司 Data management method, memory control circuit unit and memory storage device
CN114153384A (en) * 2021-11-09 2022-03-08 尧云科技(西安)有限公司 Storage method and device of hybrid cache

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281494A (en) * 2002-09-11 2008-10-08 株式会社日立制作所 System and method for using dynamic random access memory and flash memory
CN102326154A (en) * 2008-12-23 2012-01-18 苹果公司 Architecture for address mapping of managed non-volatile memory
CN103136116A (en) * 2011-12-05 2013-06-05 财团法人工业技术研究院 Memory storage system and central control device, management method and blackout recovery method thereof
CN104049943A (en) * 2013-03-15 2014-09-17 英特尔公司 Limited Range Vector Memory Access Instructions, Processors, Methods, And Systems
CN104978280A (en) * 2015-06-04 2015-10-14 捷鼎国际股份有限公司 Data storage system and specific instruction execution method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130318285A1 (en) * 2012-05-23 2013-11-28 Violin Memory Inc Flash memory controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281494A (en) * 2002-09-11 2008-10-08 株式会社日立制作所 System and method for using dynamic random access memory and flash memory
CN102326154A (en) * 2008-12-23 2012-01-18 苹果公司 Architecture for address mapping of managed non-volatile memory
CN103136116A (en) * 2011-12-05 2013-06-05 财团法人工业技术研究院 Memory storage system and central control device, management method and blackout recovery method thereof
CN104049943A (en) * 2013-03-15 2014-09-17 英特尔公司 Limited Range Vector Memory Access Instructions, Processors, Methods, And Systems
CN104978280A (en) * 2015-06-04 2015-10-14 捷鼎国际股份有限公司 Data storage system and specific instruction execution method thereof

Also Published As

Publication number Publication date
CN105739919A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
US20190018618A1 (en) Methods and apparatuses for executing a plurality of queued tasks in a memory
CN110073322A (en) System and method for being ordered in quick execution packaging body
CN104007935B (en) Memory devices
US20130067143A1 (en) Memory device and method of controlling the same
CN102460405B (en) For being carried out the method and system of main control system memory access by storage arrangement
CN110088724A (en) The system and method for adaptively fulfiling publication ahead of schedule are carried out using controller storage buffer area
CN106030521A (en) Command queuing
CN103366794B (en) For reducing the device and method of pin count rambus interface
CN105408875B (en) Distributed process on memory interface executes and file system
CN106598480A (en) Electronic system with interface control mechanism and method of operation thereof
CN106980581A (en) Memory device and the method for operating it
CN103198001B (en) Storage system capable of self-testing peripheral component interface express (PCIE) interface and test method
CN105808163A (en) Method for accessing to shingled magnetic recording SMR hard disk and server
CN105739919B (en) Data accessing system and method
CN109697017A (en) Data memory device and non-volatile formula memory operating method
CN103150273A (en) Bit-level memory controller and method thereof
CN102880467A (en) Method for verifying Cache coherence protocol and multi-core processor system
CN109213423A (en) Concurrent I/O command is handled without lock based on address barrier
CN109388333A (en) Reduce the method and apparatus of read command processing delay
CN108139993A (en) Memory device, Memory Controller Hub, data buffer storage device and computer system
CN106293491A (en) The processing method of write request and Memory Controller Hub
US9152348B2 (en) Data transmitting method, memory controller and data transmitting system
US20140068120A1 (en) Host system, storage device and communication method
CN109144742A (en) The method of information and the system of processing queue are exchanged by queue
CN102243617B (en) Read/write processing method, read/write processing equipment and read/write processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20180827

Address after: Commercial centre, Furong Road 802, 802 West Bay Road, Grand Cayman Islands, British Cayman Islands

Applicant after: Czecho innovation Limited by Share Ltd

Address before: Chinese Taiwan New Taipei City

Applicant before: Jie Ding Internaional, Inc

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200213

Address after: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China

Patentee after: INNODISK Corp.

Address before: Commercial centre, Furong Road 802, 802 West Bay Road, Grand Cayman Islands, British Cayman Islands

Patentee before: AccelStor, Inc.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200611

Address after: 04-95, Fanglin building, 531a, upper section of Klaus street, Singapore

Patentee after: Jieding Singapore Pte Ltd

Address before: No. 5, 237, 1 Datong Road, Taiwan, Xinbei City, Xinbei City, China

Patentee before: INNODISK Corp.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200810

Address after: Building C, No. 888, Huanhu West 2nd Road, Lingang New Area, Pudong New Area (Shanghai) pilot Free Trade Zone

Patentee after: Shanghai Chuanyuan Information Technology Co., Ltd

Address before: Fong Lam building, 531a upper cross street, Singapore 051531

Patentee before: Jieding Singapore Pte Ltd