CN101216811A - Method for memory apparatus designating access sequence - Google Patents
Method for memory apparatus designating access sequence Download PDFInfo
- Publication number
- CN101216811A CN101216811A CNA2007100015469A CN200710001546A CN101216811A CN 101216811 A CN101216811 A CN 101216811A CN A2007100015469 A CNA2007100015469 A CN A2007100015469A CN 200710001546 A CN200710001546 A CN 200710001546A CN 101216811 A CN101216811 A CN 101216811A
- Authority
- CN
- China
- Prior art keywords
- work queue
- access
- priority
- requirement information
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method for designating an access sequence by a memory device. The method is applied to a server system, a PRI comparison table and a plurality of work queues are arranged in the memory device in the server system, the PRI comparison table has a plurality of records, and each record at least records the word queue corresponding to a front-end server of the memory device and the PRI processed by each work queue; when the server system receives access requirement information, a source front-end server of the access requirement information is judged, and then the work queue corresponding to the source server is obtained according to the PRI comparison table; the access requirement information is listed in the work queue corresponding to the source server to wait for being processed; the access requirement information of the work queue which has the prior PRI is completely processed in a shorter time; the access requirement information of the work queue which has the latter PRI waits for a longer time in the work queue, therefore, the purpose of designating the access sequence is achieved.
Description
Technical field
The present invention specifies connected front-end server that it is carried out the method for the order of access about memory device especially in regard to a kind of memory device, is a kind of method of memory apparatus designating access sequence concretely.
Background technology
The science and technology of our times is maked rapid progress, various electronic products are constantly weeded out the old and bring forth the new, such as personal computer, PDA(Personal Digital Assistant), server, disk array memory device, printer, notebook and intelligent mobile phone electronic products such as (Smart Phone).Transmit voice, image, Email, database by various electronic products ... etc. electronic information, make that the contact between enterprise and enterprise is more quick and convenient, and then overturned the traditional commerce business model fully, develop the commercial business model that globalization, also make the required data storage device of enterprise constantly be multiple and increase.
In order to satisfy the demand of enterprise for data storage device, the manufacturer of memory device develops the disk array memory device, the disk array memory device can be for storage lot of data and the mechanism with high security, and can connect a plurality of servers simultaneously, with the network service that makes each server be provided, can distinguish accessing disk array stores equipment.Thereby the quality of disk array memory device and usefulness relation the crucial part that can server normal operation.
And the disk array memory device provides server that it is carried out the method for access, it is the sequencing that access that the disk array memory device receives each server requirement access data requires information (Request), each access requirement information is handled one by one, in other words, the disk array memory device just can be handled next access requirement information again behind current processed the finishing of access requirement information.Promptly, the disk array memory device is not according to the priority ranking of specified conditions (as the importance of data access) given server to its access, so, the network service quality that causes server to provide is not good, and the state labile of server process data ... etc. problem.
Summary of the invention
In view of aforesaid problems, the object of the present invention is to provide a kind of method of memory apparatus designating access sequence.
For realizing foregoing invention purpose of the present invention, the invention provides a kind of method of memory apparatus designating access sequence, be applied in a server system, memory device in the server system establishes the work queue of different disposal priority, can supply the access requirement information of at least one server of recording storage front equipment end to come the managing access operation.The method of this memory apparatus designating access sequence, the main priority table of comparisons that sees through writes down pairing work queue of each front-end server and priority thereof, make each front-end server correspond to one of them work queue respectively according to the priority table of comparisons, when the front end server has access operation and sends access requirement information, it can be according to the source that these accesses require information for which front-end server, and list corresponding work queue in, and each work queue successively handles according to its priority.Simultaneously, the maximum functional number of each processing access requirement information is stipulated in each work queue respectively, and can set best maximum functional number to the work queue of different priorities, for example the once accessible maximum functional number of the work queue that priority is high more is many more, so, the access in the work queue that priority level is high requires information, processed in the short period of time the finishing of meeting, and the access in the low work queue of priority level requires information, just must wait for the time more of a specified duration.
Description of drawings
Fig. 1 is the configuration diagram of each server of the present invention and memory device;
Fig. 2 is the synoptic diagram of the priority table of comparisons of the present invention;
The action flow chart that Fig. 3 requires information to handle for memory device of the present invention to the access that receives; And
The action flow chart that Fig. 4 handles according to processing sequence for memory device of the present invention.
The primary clustering symbol description:
The 4th server 5 the 5th server 6
The priority table of comparisons 7 precedence fields 70
Work queue name field 72 given server fields 74
Maximum functional digital section 76 processing sequence fields 78
First work queue, 81 second work queues 82
The 3rd work queue 83 the 4th work queue 84
Embodiment
Below by preferred embodiment and the very thin explanation the object, the technical characteristics and the effect of the present invention of accompanying drawing.
The present invention is a kind of method of memory apparatus designating access sequence, see also shown in Figure 1, be applied in a server system, has memory device 1 in the server system, and memory device 1 carries out access operation for each front-end server 2~6, this method is provided with the work queue 81~84 of a plurality of different disposal priority in server system, can come the managing access operation for the access requirement information of record front-end server 2~6 access operations, in addition, also be provided with the priority table of comparisons 7 in the server system, the record that has corresponding work queue 81~84 quantity in the priority table of comparisons 7, each record is provided with priority, the work queue title, given server, fields 70 such as maximum functional number, 72,74,76, each front-end server 2~6 corresponds to one of them work queue 81~84, each is recorded in precedence field 70 and has a different priority, makes each work queue 81~84 have different priority; Be that each front-end server 2~6 can specify the access of writing down its access operation by a work queue 81~84 to require information, that is to say that a work queue 81~84 can be write down from the not only access operation access of a front-end server 2~6 to require information; Among Fig. 2, though have processing sequence field 78 in the priority table of comparisons 7, the processing sequence of individual work formation 81~84 also can directly be done the operation of increasing or decreasing order by program according to the value of precedence field 70.Maximum functional digital section 76, then require the value of the maximum functional number of information in order to work queue 81~84 each processing accesses of writing down each different priorities, and can set best maximum functional number to the work queue of different priorities, for example, the once accessible maximum functional number of work queue of priority high more (value of precedence field 70 is more little) is many more.See also shown in Figure 3ly, and the access that memory device 1 is proposed any front-end server 2~6 requires the information processing step, comprising:
In one embodiment of this invention, see also shown in Figure 4ly, memory device 1 comprises in the step of the access operation requirement information in the work queue 81~84 being handled according to the method for instruction accessing of the present invention order:
By as can be known above-mentioned, the accessible work number of the work queue that priority is high is many, thus the access of the high work queue of priority require information can be in the time faster processed finishing.The work queue that priority is low, work number that once can be processed is less, so the access in the low work queue of priority requires information just must need to wait for the time more of a specified duration in work queue, reaches the purpose of designating access sequence.
From the above, by distributing the request signals of sending that each server 2~6 sent, be placed into the work queue 81~84 of corresponding priorities respectively, and then reach the purpose of the access sequence of given server 2~6.
For also understanding feature of the present invention, below describe especially exemplified by an embodiment, see also Figure 1 and Figure 2 again, suppose that five front-end servers 2~6 of memory device 1 designated permission carry out access to it, memory device 1 is provided with the work queue 81~84 of four different priorities, that is the priority table of comparisons 7 has four notes records, write down four priority of four work queues 81~84 respectively, these four priority are priority 1~4 from high to low in regular turn, and the processing sequence field 78 of the priority table of comparisons 7 record by earlier to after be first work queue~four work queues 81~84 of priority 1~4 in regular turn, and record first server 2 and second server 3 are assigned to first work queue 81 of priority 1 in the given server field 74 of the priority table of comparisons 7, the 4th server 5 is assigned to second work queue 82 of priority 2, the 3rd server 4 and the 5th server 6 are assigned to the 4th work queue 84 of priority 4, and there is not the 3rd work queue 83 that arbitrary server is assigned to priority 3, the ordered maximum functional number of record first work queue~four work queue 81~84 in the maximum functional digital section 76 of the priority table of comparisons 7, be respectively 200,100,50 and 25, and the pairing work queue of each priority of record in the work queue field 72 of the priority table of comparisons 7.
According to the above, memory device 1 is according to the priority table of comparisons 7, the access requirement information of first server 2 and second server 3 is put into first work queue 81, the access requirement information of the 4th server 5 is placed to second work queue 82, the access requirement information of the 3rd server 4 and the 5th server 6 is placed to the 4th work queue 84, and memory device arrives 200 in the access requirement information of handling first work queue 81, or arrive 200 and do not had access requirement information in the past, then handle second work queue 82; Arrive 100 in the access requirement information of handling second work queue 82, or arrive 100 and do not had access requirement information in the past, then handle the 3rd work queue 83, but because no any server is assigned to priority 3, therefore the 3rd work queue 83 does not have any access requirement information, directly handle the 4th work queue 84 this moment, arrive 25 in the access requirement information of handling the 4th work queue 84, or arrive 25 and do not had access requirement information in the past, then return and handle first work queue 81, so, memory device 1 is by the content of the priority table of comparisons 7, access requirement information with each server 2~6 is put in the work queue 81~84 of different priorities respectively, make the access be placed in the high work queue of priority 81 require the information can be processed in the short period of time, the access of the work queue 84 that priority is low requires information then to be processed in the long time, promptly reaches memory device 1 given server 2~6 it is carried out the purpose of access sequence.
The above only is a specific embodiment of the present invention, but feature of the present invention is not limited thereto, any ability in the technician in field of the present invention, can think easily and variation or modification, all should be encompassed in following protection scope of the present invention.
Claims (8)
1. the method for a memory apparatus designating access sequence, be applied in a server system, it is characterized in that, server system has a plurality of front-end servers and a memory device, and is provided with a priority table of comparisons and a plurality of work queue, and the priority table of comparisons has many notes records, each record comprises a given server field and a work queue field at least, and corresponding different work queues, the method for memory apparatus designating access sequence comprises:
Judge the source front-end server of an access requirement information, access requirement information is that the source front-end server carries out the request of access operation to memory device;
According to the priority table of comparisons, obtain the work queue of source server correspondence; And
List in the work queue of source server correspondence medium pending access requirement information.
2. the method for claim 1 is characterized in that, also comprises a maximum functional digital section in the priority table of comparisons, the maximum functional number of writing task formation.
3. method as claimed in claim 2 is characterized in that, also comprises a precedence field in the priority table of comparisons, and each record has different priority levels.
4. method as claimed in claim 3 is characterized in that, has the record of higher priority level, and the value of the maximum functional number that it is corresponding is many more.
5. as claim 3 or 4 described methods, it is characterized in that, also comprise:
Judge current work queue, whether not processed access requirement information is arranged;
When judging current work queue, also have not processed access to require information, then the access requirement information of current work queue is handled, and the completed access of accumulative total requires the quantity of information as working quantity;
Judge current work queue, its access requires the processed working quantity of information whether to reach its maximum functional number;
When judging current work queue, its access requires the processed working quantity of information to reach its maximum functional number, judges then whether current work queue is the work queue of lowest priority; And
When judging that current work queue is not the work queue of lowest priority, the work queue of next priority is handled, and, whether had the step of not processed access requirement information to carry out subsequent treatment again according to judging current work queue.
6. method as claimed in claim 5 is characterized in that, when judging current work queue, has not had not processed access requirement information, then according to judging that whether current work queue is that the step of the work queue of lowest priority is carried out subsequent treatment.
7. method as claimed in claim 5, it is characterized in that, when judging current work queue, its access requires the processed working quantity of information also not reach its maximum functional number, then according to the access requirement information of current work queue is handled, and the step that adds meter one action quantity is carried out subsequent treatment.
8. method as claimed in claim 5, it is characterized in that, when judging the work queue that current work queue is a lowest priority, then the work queue of limit priority is handled, according to judging current work queue, whether there is the step of not processed access requirement information to carry out subsequent treatment again.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100015469A CN101216811A (en) | 2007-01-05 | 2007-01-05 | Method for memory apparatus designating access sequence |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100015469A CN101216811A (en) | 2007-01-05 | 2007-01-05 | Method for memory apparatus designating access sequence |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101216811A true CN101216811A (en) | 2008-07-09 |
Family
ID=39623244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007100015469A Pending CN101216811A (en) | 2007-01-05 | 2007-01-05 | Method for memory apparatus designating access sequence |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101216811A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022143774A1 (en) * | 2020-12-31 | 2022-07-07 | 华为技术有限公司 | Data access method and related device |
-
2007
- 2007-01-05 CN CNA2007100015469A patent/CN101216811A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022143774A1 (en) * | 2020-12-31 | 2022-07-07 | 华为技术有限公司 | Data access method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7519744B2 (en) | Method and apparatus for managing I/O paths on a storage network using priority | |
JP4910398B2 (en) | Tag information management program, tag information management method, and tag information management apparatus | |
US20100070514A1 (en) | System and method of using a bloom filter in a web analytics application | |
CN100514302C (en) | Multi-source, multi-destination data transfer | |
CN102402401A (en) | Method for scheduling input output (IO) request queue of disk | |
US20220358464A1 (en) | Method of managing strategy-map executable by computer, server performing the same and storage media storing the same | |
CN101616174A (en) | A kind of storage system IO handles the method that the path dynamic tracking realizes the optimization system performance | |
CN102981773B (en) | storage device access method, access system and storage device access manager | |
CN109766056A (en) | A kind of storage array controllers IO array dispatching method and device | |
US7818520B2 (en) | Method of specifying access sequence of a storage device | |
CN101216811A (en) | Method for memory apparatus designating access sequence | |
US20100030865A1 (en) | Method for Prioritizing E-mail Messages Based on the Status of Existing E-mail Messages | |
US20140040385A1 (en) | Apparatus, system, and method for expert identification to answer users queries | |
TWI629638B (en) | Storage device and task execution method thereof, corresponding host and task execution method thereof, and control unit applied therein | |
US6732196B2 (en) | Allowing slots belonging to a second slot category to receive I/O access requests belonging to a first and a second access request categories in a round robin fashion | |
US20020032618A1 (en) | Information disclosing control method and its system, and computer program | |
JP2010152435A (en) | Information processing apparatus and method, and program | |
CN114245982A (en) | Processing of message streams | |
CN101796493B (en) | information search system, information search method, and program | |
US6889295B2 (en) | Re-ordering requests for shared resources | |
CN103034667A (en) | System and method for establishing database according to webpage index labels | |
CN108959517A (en) | File management method, device and electronic equipment | |
TWI841260B (en) | Method for transferring order information between fulfillment centers and electronic device using the same | |
US20240177083A1 (en) | Matching tasks and service providers without polling | |
JP7215111B2 (en) | Information processing device and information processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |