CN106919341A - A kind of method and device for issuing I/O - Google Patents

A kind of method and device for issuing I/O Download PDF

Info

Publication number
CN106919341A
CN106919341A CN201511000512.9A CN201511000512A CN106919341A CN 106919341 A CN106919341 A CN 106919341A CN 201511000512 A CN201511000512 A CN 201511000512A CN 106919341 A CN106919341 A CN 106919341A
Authority
CN
China
Prior art keywords
service sub
mode setting
issuing
informations
setting informations
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201511000512.9A
Other languages
Chinese (zh)
Other versions
CN106919341B (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.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Chengdu Huawei Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Huawei Technology Co Ltd filed Critical Chengdu Huawei Technology Co Ltd
Priority to CN201511000512.9A priority Critical patent/CN106919341B/en
Publication of CN106919341A publication Critical patent/CN106919341A/en
Application granted granted Critical
Publication of CN106919341B publication Critical patent/CN106919341B/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/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/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Abstract

The embodiment of the present invention provides a kind of method and device for issuing I/O, when issuing I/O at least to solve existing array control unit side, can only develop specific instrument for a small number of particular subsystems, not general enough using limited, and maintenance cost problem higher.Method includes:Obtain and parse the I/O mode setting informations of the first service sub-system;I/O mode setting informations according to first service sub-system, the I/O input interfaces to the first service sub-system registered in advance carry out I/O instantiations, obtain the corresponding I/O streams of I/O input interfaces of the first service sub-system;The I/O is flowed down and issues the first service sub-system.The present invention is applied to technical field of memory.

Description

A kind of method and device for issuing I/O
Technical field
Input and output (English full name is issued the present invention relates to technical field of memory, more particularly to one kind: (input/output, english abbreviation:I/O method and device).
Background technology
When existing complicated storage system or other block devices are from main frame I/O to device drives lower wall, very Multiple subsystem design is required for processing I/O, such as I/O scheduling, I/O are split, I/O sorts, I/O is closed And, I/O stream control etc..Therefore, number of times (the English full name for being written and read (I/O) operation per second: Input/output operations per second, english abbreviation:IOPS) turn into and weigh storage system The key index of performance of uniting, verifying the I/O path validations of IOPS GLs also becomes very crucial.
The I/O path validations of current whole system block, its I/O inputs are all based on client (such as Main frame) issue I/O or the array control unit based on storage server side in storage system issues I/O. However, in the prior art, when I/O is issued based on array control unit, typically in array control unit Lateral LUN (English full name:Logical unit number, english abbreviation:LUN under) Send out I/O or for certain layer, such as cache buffer memory (English name:Cache) layer Issue I/O.That is, the program can only develop specific instrument for a small number of particular subsystems, It is not general enough using limited, and maintenance cost is higher.
How a kind of general I/O delivery method is provided, as current problem demanding prompt solution.
The content of the invention
The embodiment of the present invention provides a kind of method and device for issuing I/O, at least to solve existing battle array When row controller side issues I/O, specific instrument, application can only be developed for a small number of particular subsystems It is limited, it is not general enough, and maintenance cost problem higher.
To reach above-mentioned purpose, the embodiment of the present invention provides following technical scheme:
First aspect, there is provided a kind of method for issuing input/output I/O, the method includes:
Obtain and parse the I/O mode setting informations of the first service sub-system;
I/O mode setting informations according to first service sub-system, to the first business registered in advance The I/O input interfaces of subsystem carry out I/O instantiations, obtain the I/O inputs of the first service sub-system The corresponding I/O streams of interface;
The I/O is flowed down and issues the first service sub-system.
Because first service sub-system can be any subsystem, therefore the method for issuing I/O is A kind of general method for issuing I/O, when solving existing array control unit side and issuing I/O, only Specific instrument can be developed for a small number of particular subsystems, it is not general enough using limited, and safeguard into This problem higher, can provide I/O inputs, or multiple subsystems for any single subsystem System provides I/O inputs simultaneously.Further, because the I/O inputs of subsystems at different levels are separate, Higher level's subsystem is needed not rely on, therefore also accelerates the convergence of subsystem checking.
Second aspect, there is provided a kind of device for issuing input/output I/O, the device includes:Treatment is single Unit and transmitting element;
Processing unit, for obtaining and parses the I/O mode setting informations of the first service sub-system;
Processing unit, is additionally operable to the I/O mode setting informations according to first service sub-system, to pre- The I/O input interfaces of the first service sub-system first registered carry out I/O instantiations, obtain the first business The corresponding I/O streams of I/O input interfaces of subsystem;
Transmitting element, the first service sub-system is issued for the I/O to be flowed down.
Because first service sub-system can be any subsystem, therefore the device for issuing I/O can To provide a kind of general method for issuing I/O, solve existing array control unit side and issue I/O When, specific instrument can only be developed for a small number of particular subsystems, it is not general enough using limited, and Maintenance cost problem higher, can provide I/O inputs, or many for any single subsystem Individual subsystem provides I/O inputs simultaneously.Further, because the I/O inputs of subsystems at different levels are mutual It is independent, it is not necessary to rely on higher level's subsystem, therefore also accelerate the convergence of subsystem checking.
Optionally, with reference to above-mentioned in a first aspect, obtaining and parsing the I/O moulds of the first service sub-system Before formula configuration information, can also include:
I/O input interfaces are registered to first service sub-system.
Optionally, with reference to above-mentioned second aspect, processing unit is additionally operable to obtaining and parsing the first industry It is engaged in before the I/O mode setting informations of subsystem, to first service sub-system registration I/O inputs Interface.
Optionally, with reference to above-mentioned first aspect or second aspect or first aspect or second aspect times Anticipate a kind of optional implementation, in a kind of possible implementation, the I/O of the first service sub-system After mode setting information can set I/O patterns for the first service sub-system by way of configuration file The information of acquisition.
Optionally, with reference to above-mentioned first aspect or second aspect or first aspect or second aspect times Anticipate a kind of optional implementation, in alternatively possible implementation, the I/O of the first service sub-system Mode setting information is obtained after I/O patterns being set by way of order line for the first service sub-system The information for obtaining.
Optionally, with reference to above-mentioned first aspect or second aspect or first aspect or second aspect times Anticipate a kind of optional implementation, I/O mode setting informations can include that I/O pattern informations and I/O are grasped Make information.
The third aspect, there is provided a kind of device for issuing input/output I/O, the device includes:Processor, Memory, bus and communication interface;
Memory is used to store computer executed instructions, and processor is connected with memory by bus, when During the plant running, the computer executed instructions of computing device memory storage, so that the device is held Row issues I/O as described in above-mentioned first aspect or first aspect any one optional implementation Method.
Because the device for issuing I/O provided in an embodiment of the present invention can be used for performing above-mentioned first aspect Or the method for issuing I/O described in first aspect any one optional implementation, therefore its institute Obtainable technique effect also refers to above method embodiment, and the embodiment of the present invention is no longer gone to live in the household of one's in-laws on getting married herein State.
Fourth aspect, there is provided a kind of computer-readable recording medium, including computer executed instructions, when issuing I/O's During the computing device of the device computer executed instructions, the device for issuing I/O performs as described above the On the one hand the method for issuing I/O or described in any one optional mode of first aspect.
Wherein, the aspects of the invention or other aspects can be simpler in the following description It is bright understandable.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be right The accompanying drawing to be used needed for embodiment or description of the prior art is briefly described, it should be apparent that, Drawings in the following description are only some embodiments of the present invention, for those of ordinary skill in the art For, on the premise of not paying creative work, can also obtain other attached according to these accompanying drawings Figure.
Fig. 1 is the configuration diagram of existing network store system;
Fig. 2 is existing I/O processing paths schematic diagram;
Fig. 3 is the schematic flow sheet one of the method for issuing I/O provided in an embodiment of the present invention;
Fig. 4 is the schematic diagram of a scenario for issuing I/O provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet two of the method for issuing I/O provided in an embodiment of the present invention;
Fig. 6 is the structural representation one of the device for issuing I/O provided in an embodiment of the present invention;
Fig. 7 is the structural representation two of the device for issuing I/O provided in an embodiment of the present invention.
Specific embodiment
In order to the description of following each embodiments is clearly succinct, the brief introduction of related notion is given first:
The existing network storage (English full name:Storage area network, english abbreviation:SAE) System as shown in figure 1, including multiple client and multiple storage servers, wherein, storage server In include array control unit, client communicated by switching network with storage server.
Specifically, in storage server, I/O processing paths are as shown in Figure 2.In fig. 2, I/O Treatment level it is as follows, including:
S1, small computer system interface (English full name:small computer system Interface, english abbreviation:SCSI) target framework (English full name:SCSI target framework, English abbreviation:TGT scsi command) is received from main frame, and is converted into internal I/O requests.
The working controller of the LUN that S2, LUN are accessed according to I/O, forwarding I/O to corresponding control Device.
S3, volume (English name:Volume the I/O come from LUN forwardings) is received, and processes it The logics such as Thin, increment, by Address space mappinD to block (English name:extent).
The dirty data that S4, volume cache cachings come from volume, and reading data pre-fetching life is provided Neutralize image feature.Wherein, dirty data specifically refers to the data of modification.
S5, extent are by Address space mappinD to by from same disk group (English full name:disk Group, english abbreviation:DG multiple chunk of different hard disks are superfluous according to certain independent disk in) Remaining array (English full name:Redundant array of independent disks, english abbreviation: RAID) combination (the English full name that attribute is constituted:Chunk group, english abbreviation:CKG in). Wherein, chunk refers to the physics sky of some fixed sizes that the hard drive space in storage pool is cut into Between.
The control of S6, CKG according to belonging to extent forwards I/O to corresponding controllers, and processes Local I/O, for it provides RAID functions, and by Address space mappinD to logic hard disk.
S7, slitting (English name:Stripe) the dirty data that cache cachings come from CKG, and Metadata cache, mirror image and write hole (English name are provided:Writehole) defencive function.
S8, block device management (English full name:Block device management, english abbreviation: BDM logic hard disk input/output space) is mapped to physical hard disk input/output space, and provide I/O sequences, The functions such as multipath.
S9, INI driver (English full name:Driver, english abbreviation:DRV) I/O is sent out It is sent to hard disk.
Wherein, as described in the background art, in the prior art, I/O is being issued based on array control unit When, typically issue I/O or for certain layer, such as cache in the lateral LUN of array control unit Layer issues I/O.That is, the program can only develop specific instrument for a small number of particular subsystems, It is not general enough using limited, and maintenance cost is higher.
Based on this problem, the embodiment of the present invention provides a kind of method and device for issuing I/O, with least Solve the above problems.Core concept is:From whole I/O handling processes above can be seen that LUN, The subsystems such as volume, cache, CKG, BDM input all some common informations, such as I/O behaviour Make type, initial sector, number of sectors etc..Consider these public features, realize a kind of general The method for issuing I/O, can be based on access I/O action type (read operation or write operation), Object identity, initial sector, number of sectors, list I/O or sequential I/O or random I/O, I/O Size, I/O load etc. feature to array control unit side subsystems provide I/O input.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is entered Row is clearly and completely described.
As used in this application, term " component ", " module ", " system " etc. are intended to refer to For computer related entity, the computer related entity can be hardware, firmware, hardware and software With reference to, software or operating software.For example, component may be, but not limited to, being:In treatment On device run treatment, processor, object, executable file, executory thread, program and/ Or computer.As an example, the application for running on the computing device and the computing device can be groups Part.One or more assemblies may reside in executory process and/or thread, and component can be with In a computer and/or it is distributed between two or more computers.Additionally, these Component can be performed from having the various computer-readable mediums of various data structures thereon.These Component can have one or more packets (for example, from a number for component by such as basis According to the component is interacted and/or with signal with another component in local system, distributed system Mode interacted by the network of such as internet etc and other systems) signal, with local and / or the mode of remote process communicated.
The application will be around may include the system of multiple equipment, component, module etc. present various aspects, Embodiment or feature.It is to be understood and appreciated that, each system can include other equipment, group Part, module etc., and/or all devices, component, the mould that are discussed with reference to accompanying drawing can not included Block etc..Further, it is also possible to use the combination of these schemes.
In addition, in embodiments of the present invention, the word such as " example ", " such as " for expression make example, Illustration or explanation.Described herein as " example ", any embodiment of " such as " or design Scheme is not necessarily to be construed as than other embodiments or design more preferably or more advantage.It is definite and Speech, uses the words such as " example ", " such as " to be intended to that concept is presented in a concrete fashion.
The scene of embodiment of the present invention description is to more clearly illustrate the skill of the embodiment of the present invention Art scheme, does not constitute the restriction for technical scheme provided in an embodiment of the present invention, and this area is common Technical staff understands that, with the appearance of new scene, technical scheme provided in an embodiment of the present invention is for class As technical problem, it is equally applicable.
As shown in figure 3, for a kind of flow of method for issuing I/O provided in an embodiment of the present invention is illustrated Figure, including step S301-S303:
S301, issue I/O device obtain and parse the first service sub-system I/O patterns set letter Breath.
S302, I/O mode setting information of the device according to the first service sub-system for issuing I/O, it is right The I/O input interfaces of the first service sub-system registered in advance carry out I/O instantiations, obtain the first industry The corresponding I/O streams of I/O input interfaces of business subsystem.
The I/O is flowed down and is issued the first service sub-system by S303, the device for issuing I/O.
Specifically, in embodiment of the present invention step S301:
First service sub-system can be specifically TGT in Fig. 2, LUN, volume, cache, Extent, CKG, BDM or INI DRV, the embodiment of the present invention are not especially limited to this.
I/O mode setting informations can specifically include I/O pattern informations and I/O operation information.
Wherein, I/O pattern informations specifically can include initial sector, number of sectors, list I/O or Sequential I/O or random I/O, I/O overall bandwidth, startup time or termination time etc., the present invention Embodiment is not especially limited to this.
I/O operation information can specifically include startup or stopping etc..
It should be noted that why carry I/O operation information because:Each layering subsystem I/O operation is independent, for convenience of independent control subsystem at all levels, therefore can carry I/O Operation information.
Optionally, in the embodiment of the present invention, the I/O mode setting informations of the first service sub-system can be with For the first service sub-system sets the information obtained after I/O patterns by way of configuration file.
Such as, the configuration file can be extensible markup language (English full name:extensible Markup language, english abbreviation:) or other configurations template XML.
Or, the I/O mode setting informations of the first service sub-system can be logical for the first service sub-system The mode for crossing order line sets the information obtained after I/O patterns.
Such as, the order line can be diagnosis (English name:diagnose).
It should be noted that any mode in for above two mode, firstly the need of by I/O Pattern sets and arranges outputting standard, facilitates configuration file or order line to present.
It should be noted that above-mentioned is only exemplary to enumerate two kind of first I/O mould of service sub-system The acquisition modes of formula configuration information.Certainly, the I/O mode setting informations of the first service sub-system also may be used To obtain otherwise, the embodiment of the present invention is not especially limited to this.
Specifically, in embodiment of the present invention step S302:
I/O mode setting informations according to the first service sub-system, to first industry registered in advance The I/O input interfaces of business subsystem carry out I/O instantiations, refer to actually, according to the first business subsystem The I/O mode setting informations of system, instantiation output is carried out by certain algorithm to input pattern I/O, I/O streams needed for producing.
Exemplary, if I/O pattern informations are sequential I/O, can be according to I/O address migration algorithm In add algorithm carry out instantiation output to input pattern I/O, the I/O streams needed for producing.
Specifically, in embodiment of the present invention step S303:
After the corresponding I/O streams of I/O input interfaces are obtained, the I/O can be flowed down and issue I/O Corresponding first service sub-system of input interface.
Exemplary, it is assumed that the first service sub-system is LUN, then can be by I/O Flow down and issue LUN, for LUN provides I/O inputs;Assuming that the first service sub-system is volume, I/O can then be flowed down and issue volume, for volume provides I/O inputs;Assuming that the first business Subsystem is volume cache, then can flow down I/O and issue volume cache, is volume Cache provides I/O inputs.
As can be seen that in the embodiment of the present invention, the device for issuing I/O can be provided for single subsystem I/O be input into, or multiple subsystems simultaneously provide I/O input, the embodiment of the present invention to this not Make specific restriction.
It should be noted that in the embodiment of the present invention, because the device producing ratio for issuing I/O is purer Pure I/O streams, therefore, context and the I/O circulation relied on for subsystem I/O are changed to subsystem , it is necessary to subsystem is safeguarded, the embodiment of the present invention is not made to have to this for actually used I/O structures Body is limited.
Optionally, as shown in figure 5, in the embodiment of the present invention, obtaining and solving in the device for issuing I/O Before analysing I/O mode setting informations (step S301) of the first service sub-system, can also include Step S304:
S304, issue the device of I/O I/O input interfaces are registered to the first service sub-system.
That is, in the embodiment of the present invention, the first service sub-system can ask note to the device for issuing I/O Volume I/O input interfaces, and then issue the device of I/O the registration I/O inputs of the first service sub-system are connect Mouthful.
It is of course also possible to be that the device for issuing I/O registers I/O inputs to service sub-systems at different levels respectively Interface, includes the first service sub-system in the service sub-systems at different levels, the embodiment of the present invention is not made to this It is specific to limit.
It should be noted that the device for issuing I/O in the embodiment of the present invention can be specifically array control Device processed, it is also possible to be integrated in a device in array control unit, it is also possible to be independently of array control One device of device processed, the embodiment of the present invention is not especially limited to this.
Based on the method for issuing I/O provided in an embodiment of the present invention, in the embodiment of the present invention, I/O is issued Device obtain and parse the I/O mode setting informations of the first service sub-system;And according to the first business The I/O mode setting informations of subsystem, the I/O inputs to the first service sub-system registered in advance connect Mouth carries out I/O instantiations, and the corresponding I/O of I/O input interfaces for obtaining the first service sub-system flows it Afterwards, the I/O is flowed down and issues the first service sub-system.Because first service sub-system can be appointed Meaning subsystem, therefore the method for issuing I/O is a kind of general method for issuing I/O, is solved When existing array control unit side issues I/O, specific work can only be developed for a small number of particular subsystems Tool, it is not general enough using limited, and maintenance cost problem higher, can be any single subsystem System provides I/O inputs, or multiple subsystems provide I/O inputs simultaneously.Further, by It is separate in the I/O inputs of subsystems at different levels, it is not necessary to rely on higher level's subsystem, therefore also accelerate The convergence of subsystem checking.
As shown in fig. 6, the embodiment of the invention provides a kind of device 60 for issuing I/O, the device 60 can be used for performing the device that I/O is issued in figure 3 above or the method for issuing I/O shown in Fig. 5 Performed step.The device 60 for issuing I/O can include the unit corresponding to corresponding steps, Example, can include:Processing unit 601 and transmitting element 602.
Processing unit 601, for obtaining and parses the I/O mode setting informations of the first service sub-system.
Processing unit 601, is additionally operable to the I/O mode setting informations according to the first service sub-system, right The I/O input interfaces of the first service sub-system registered in advance carry out I/O instantiations, obtain the first industry The corresponding I/O streams of I/O input interfaces of business subsystem.
Transmitting element 602, the first service sub-system is issued for the I/O to be flowed down.
Optionally, in the embodiment of the present invention, processing unit 601 is additionally operable to obtaining and parsing first Before the I/O mode setting informations of service sub-system, the registration I/O inputs of the first service sub-system are connect Mouthful.
Optionally, in the embodiment of the present invention, in a kind of possible implementation, the first service sub-system I/O mode setting informations be that the first service sub-system sets I/O patterns by way of configuration file The information for obtaining afterwards.
Optionally, in the embodiment of the present invention, in alternatively possible implementation, the first business subsystem The I/O mode setting informations of system are that the first service sub-system sets I/O patterns by way of order line The information for obtaining afterwards.
Optionally, in the embodiment of the present invention, I/O mode setting informations can include I/O pattern informations With I/O operation information.
It is appreciated that the device 60 for issuing I/O of the embodiment of the present invention may correspond to above-mentioned Fig. 3 or The device for issuing I/O in the method for issuing I/O shown in Fig. 5, and under the embodiment of the present invention Division and/or function of the unit in the device 60 of I/O etc. is sent out to be for realizing above-mentioned Fig. 3 Or the method flow of I/O is issued shown in Fig. 5, for sake of simplicity, will not be repeated here.
The device 60 for issuing I/O in due to the embodiment of the present invention can be used for performing above method stream Journey, therefore, it can be obtained technique effect and also refers to above method embodiment, and the present invention is implemented Example will not be repeated here.
As shown in fig. 7, the embodiment of the present invention provides a kind of device 70 for issuing I/O, the device 70 Can include:Processor 701, memory 702, bus 703 and communication interface 704.
Memory 702 is used to store computer executed instructions, and processor 701 leads to memory 702 Bus connection is crossed, when the device 70 runs, processor 701 performs the meter of the storage of memory 703 Calculation machine execute instruction, so that the device 70 performs the method for issuing I/O as shown in Fig. 3 or Fig. 5. Specifically the method for I/O is issued reference can be made to the correlation in the above-mentioned embodiment as shown in Fig. 3 or Fig. 5 is retouched State, here is omitted.
Wherein, the processor 701 in the embodiment of the present invention can (English be complete for a central processing unit Claim:Central processing unit, english abbreviation:CPU), can also be other general procedures Device, digital signal processor (English full name:Digital signal processing, english abbreviation: DSP), application specific integrated circuit (English full name:Application specific integrated circuit, English abbreviation:ASIC), field programmable gate array (English full name:field-programmable Gate array, english abbreviation:) or other PLDs, discrete gate or crystalline substance FPGA Body pipe logical device, discrete hardware components etc..General processor can be microprocessor or the treatment Device can also be any conventional processor etc..In addition, the processor can also be application specific processor, The application specific processor can be including at least one of baseband processing chip, radio frequency processing chip etc..Enter One step ground, the application specific processor can also include issuing other special places of the device 70 of I/O with this Manage the chip of function.
Memory 702 can include volatile memory (English:Volatile memory), for example Random access memory (English full name:Random-access memory, english abbreviation:RAM); Memory 702 can also include nonvolatile memory (English:Non-volatile memory), Such as read-only storage (English full name:Read-only memory, english abbreviation:ROM), Flash memory (English:Flash memory), hard disk (English full name:Hard disk drive, English abbreviation:) or solid state hard disc (English full name HDD:Solid-state drive, english abbreviation: SSD);In addition, memory 702 can also include the combination of the memory of mentioned kind.
Bus 703 can be including data/address bus, power bus, controlling bus and signal condition bus etc.. For clear explanation in the present embodiment, various buses are all illustrated as bus 703 in the figure 7.
Communication interface 704 can be specifically the transceiver that this is issued on the device 70 of I/O.Processor Such as 701 by communication interface 704 and other equipment or module, data are carried out between subsystems at different levels Transmitting-receiving.
During implementing, each step in the above-mentioned method flow as shown in Fig. 3 or Fig. 5 is equal The calculating of the software form stored in memory 702 can be performed by the processor 701 of example, in hardware Machine execute instruction is realized.To avoid repeating, here is omitted.
Because the device 70 for issuing I/O provided in an embodiment of the present invention can be used to perform above method stream Journey, therefore it can be obtained technique effect and refers to above method embodiment, here is omitted.
Optionally, the present embodiment also provides a kind of computer-readable recording medium, including computer executed instructions, instantly When sending out the computing device of device computer executed instructions of I/O, the device for issuing I/O can be with Perform the method for issuing I/O as shown in Fig. 3 or Fig. 5.The specific method for issuing I/O can be found in Associated description in the above-mentioned embodiment as shown in Fig. 3 or Fig. 5, here is omitted.
It is apparent to those skilled in the art that, it is for convenience and simplicity of description, above-mentioned The device of description, is only carried out for example, in practical application with the division of above-mentioned each functional module, can To be completed by different functional module as needed and by above-mentioned functions distribution, will device internal junction Structure is divided into different functional modules, to complete all or part of function described above.It is above-mentioned to retouch The specific work process of system, device and the unit stated, it is right in preceding method embodiment to may be referred to Process is answered, be will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, device And method, can realize by another way.For example, device embodiment described above is only It is schematical, for example, the division of the module or unit, only a kind of division of logic function, There can be other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown Or the coupling each other that discusses or direct-coupling or communication connection can be by some interfaces, dress Put or unit INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
It is described as separating component illustrate unit can be or may not be it is physically separate, The part shown as unit can be or may not be physical location, you can with positioned at a ground Side, or can also be distributed on multiple NEs.Can according to the actual needs select therein Some or all of unit realizes the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit In, or unit be individually physically present, it is also possible to two or more units are integrated in In one unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ soft The form of part functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent product When selling or using, can store in a computer read/write memory medium.Based on such reason Solution, part or the skill that technical scheme substantially contributes to prior art in other words The all or part of art scheme can be embodied in the form of software product, the computer software product Storage is in a storage medium, including some instructions are used to so that a computer equipment (can be Personal computer, server, or network equipment etc.) or processor (processor) perform sheet Invent all or part of step of each embodiment methods described.And foregoing storage medium includes:U Disk, mobile hard disk, ROM, RAM), magnetic disc or CD etc. are various can be with store program codes Medium.
The above, specific embodiment only of the invention, but protection scope of the present invention not office Be limited to this, any one skilled in the art the invention discloses technical scope in, can Change or replacement are readily occurred in, should be all included within the scope of the present invention.Therefore, the present invention Protection domain should be based on the protection scope of the described claims.

Claims (11)

1. a kind of method for issuing input/output I/O, it is characterised in that methods described includes:
Obtain and parse the I/O mode setting informations of the first service sub-system;
According to the I/O mode setting informations of first service sub-system, to registered in advance described first The I/O input interfaces of service sub-system carry out I/O instantiations, obtain the I/O of first service sub-system The corresponding I/O streams of input interface;
The I/O is flowed down and issues first service sub-system.
2. method according to claim 1, it is characterised in that in the acquisition and parse first Before the I/O mode setting informations of service sub-system, also include:
I/O input interfaces are registered to first service sub-system.
3. method according to claim 1 and 2, it is characterised in that the first business subsystem The I/O mode setting informations of system are that first service sub-system sets I/O by way of configuration file The information obtained after pattern.
4. method according to claim 1 and 2, it is characterised in that the first business subsystem The I/O mode setting informations of system are that first service sub-system sets I/O moulds by way of order line The information obtained after formula.
5. the method according to claim any one of 1-4, it is characterised in that the I/O patterns Configuration information includes I/O pattern informations and I/O operation information.
6. a kind of device for issuing input/output I/O, it is characterised in that described device includes:Treatment Unit and transmitting element;
The processing unit, for obtaining and parses the I/O mode setting informations of the first service sub-system;
The processing unit, is additionally operable to the I/O mode setting informations according to first service sub-system, I/O input interfaces to first service sub-system registered in advance carry out I/O instantiations, obtain institute State the corresponding I/O streams of I/O input interfaces of the first service sub-system;
The transmitting element, first service sub-system is issued for the I/O to be flowed down.
7. device according to claim 6, it is characterised in that
The processing unit, be additionally operable to obtain and parse the first service sub-system I/O patterns set letter Before breath, I/O input interfaces are registered to first service sub-system.
8. the device according to claim 6 or 7, it is characterised in that the first business subsystem The I/O mode setting informations of system are that first service sub-system sets I/O by way of configuration file The information obtained after pattern.
9. the device according to claim 6 or 7, it is characterised in that the first business subsystem The I/O mode setting informations of system are that first service sub-system sets I/O moulds by way of order line The information obtained after formula.
10. the device according to claim any one of 6-9, it is characterised in that the I/O patterns Configuration information includes I/O pattern informations and I/O operation information.
11. a kind of devices for issuing input/output I/O, it is characterised in that described device includes:Place Reason device, memory, bus and communication interface;
The memory is used to store computer executed instructions, and the processor passes through institute with the memory State bus connection, when described device is run, the meter of memory storage described in the computing device Calculation machine execute instruction, so that described device is performed issues I/O's as described in claim any one of 1-5 Method.
CN201511000512.9A 2015-12-28 2015-12-28 Method and device for issuing I/O (input/output) Active CN106919341B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511000512.9A CN106919341B (en) 2015-12-28 2015-12-28 Method and device for issuing I/O (input/output)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511000512.9A CN106919341B (en) 2015-12-28 2015-12-28 Method and device for issuing I/O (input/output)

Publications (2)

Publication Number Publication Date
CN106919341A true CN106919341A (en) 2017-07-04
CN106919341B CN106919341B (en) 2020-04-21

Family

ID=59455667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511000512.9A Active CN106919341B (en) 2015-12-28 2015-12-28 Method and device for issuing I/O (input/output)

Country Status (1)

Country Link
CN (1) CN106919341B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614035A (en) * 2018-11-01 2019-04-12 郑州云海信息技术有限公司 A kind of method and system for supporting settlement server storage medium sequence flexible configuration
CN115543937A (en) * 2022-03-22 2022-12-30 荣耀终端有限公司 File defragmentation method and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169436A (en) * 2011-05-10 2011-08-31 清华大学 General control kernel system used for integrated circuit manufacturing equipment
CN102177509A (en) * 2008-10-09 2011-09-07 微软公司 Virtualized storage assignment method
US8544027B2 (en) * 2010-07-30 2013-09-24 Sap Ag Logical data model abstraction in a physically distributed environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177509A (en) * 2008-10-09 2011-09-07 微软公司 Virtualized storage assignment method
US8544027B2 (en) * 2010-07-30 2013-09-24 Sap Ag Logical data model abstraction in a physically distributed environment
CN102169436A (en) * 2011-05-10 2011-08-31 清华大学 General control kernel system used for integrated circuit manufacturing equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614035A (en) * 2018-11-01 2019-04-12 郑州云海信息技术有限公司 A kind of method and system for supporting settlement server storage medium sequence flexible configuration
CN115543937A (en) * 2022-03-22 2022-12-30 荣耀终端有限公司 File defragmentation method and electronic device
CN115543937B (en) * 2022-03-22 2023-07-11 荣耀终端有限公司 File defragmentation method and electronic device

Also Published As

Publication number Publication date
CN106919341B (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US8762309B2 (en) Storage policy evaluation in a computing environment
CN106385329B (en) Processing method, device and the equipment of resource pool
US8661182B2 (en) Capacity and load analysis using storage attributes
US10956148B2 (en) Concurrent I/O enclosure firmware/field-programmable gate array (FPGA) update in a multi-node environment
CN109117260A (en) A kind of method for scheduling task, device, equipment and medium
US20190121890A1 (en) Partitioned bloom filter merge for massively parallel processing clustered data management
US20170187796A1 (en) Deploying operators of a streaming application based on physical location attributes of a virtual machine
WO2022105440A1 (en) Hybrid quantum-classical cloud platform and task execution method
US11087826B2 (en) Storing method and apparatus of data
US9329653B2 (en) Server systems having segregated power circuits for high availability applications
US11307900B2 (en) Adjustment of the number of central processing units to meet performance requirements of an I/O resource
US10725494B2 (en) Optimizing neurosynaptic networks
CN103562895B (en) It is easy to route by selective polymerisation adjacent data cell
US11914894B2 (en) Using scheduling tags in host compute commands to manage host compute task execution by a storage device in a storage system
EP2808778A1 (en) Capacity expansion method and device
US11831706B1 (en) System and method for distributed management of storage systems based on intent
CN104991874B (en) A kind of multi-controller storage device ALUA collocation methods based on SCST
JP2017204281A (en) Storage system, apparatus and method for storage system
CN103294556A (en) Method and system for host system admission control
CN110275760A (en) Process based on fictitious host computer processor hangs up method and its relevant device
CN106919341A (en) A kind of method and device for issuing I/O
US20190317670A1 (en) Distributing data across a mixed data storage center
EP2620876A1 (en) Method and apparatus for data processing, pci-e bus system and server
US11770456B1 (en) System and method for distributed management of storage systems based on subscription changes
CN107506369A (en) A kind of data access method and equipment

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