US4780815A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Memory control method and apparatus
Assignee: Hitachi Ltd
•
Filing: 1987-02-17
•
Granted: 1988-10-25
•
Expires: 2007-02-17
Abstract
Abstract A memory control method and apparatus useful in an input/output buffer memory of a multistation system. The buffer memory storage locations are dynamically divided into a plurality of unit groups having varying storage capacities, and flags are provided which indicate whether or not units are in use. When buffer memory is requested, the size of the requested area is divided by the size of a unit to determine the number of units required and a bit pattern indicating this number is provided. The bit pattern is successively compared and shifted with respect to the flags until the required number of adjacent unused units is found.
Inventors
- 👤 Kenji Shiota
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-11-03 23:36
CPC Classifications
G; G06; G06F; G06F13/00; G06F13/14; G06F13/16; G06F3/00
Claims Analysis
Total Claims: 11
Claim 1
Independent Claim
160 words
A memory control method of selecting an area in a memory having a requested capacity, comprising: (a) dividing the memory into a plurality of unit storage areas each having a unit storage capacity; (b) setting a flag for each of the unit storage areas of the divided memory, said flags indicating whether or not the corresponding unit storage area is in use; (c) calculating the smallest number of unit storage areas having the requested storage capacity, in response to a request for selecting an area of certain capacity in the memory; (d) comparing a first pattern of digital signals uniquely obtained from the calculated smallest number and a second pattern of digital signals indicated by said flags while successively shifting the first pattern with respect to the second pattern by a predetermined unit amount, and (e) finding a group, consisting of contiguous unit storage areas, which is not in use, for satisfying the requested capacity in accordance with the comparison.
Claim 2
Dependent Claim
160 words
A memory control method of selecting an area in a memory having a requested capacity, comprising: (a) dividing the memory into a plurality of unit storage areas each having a unit storage capacity; (b) setting a flag for each of the unit storage areas of the divided memory, said flags indicating whether or not the corresponding unit storage area is in use; (c) calculating the smallest number of unit storage areas having the requested storage capacity, in response to a request for selecting an area of certain capacity in the memory; (d) comparing a first pattern of digital signals uniquely obtained from the calculated smallest number and a second pattern of digital signals indicated by said flags while successively shifting the first pattern with respect to the second pattern by a predetermined unit amount, and (e) finding a group, consisting of contiguous unit storage areas, which is not in use, for satisfying the requested capacity in accordance with the comparison.
Claim 3
Dependent Claim
52 words
A memory control method according to claim 1, further comprising: (f) taking a logical OR between the first pattern and the second pattern when the group of said contiguous unit storage areas which is not in use has been found, and rewriting the flags on the basis of the logical OR result.
Claim 4
Dependent Claim
69 words
A memory control method according to claim 1, wherein (d) the second pattern is constructed as a set of a plurality of divided third patterns, the first pattern is compared with the third pattern while the first pattern is being shifted by said predetermined unit amount, and when agreement is not found by the comparison with the certain third pattern, comparisons are successively made with the other third patterns.
Claim 5
Dependent Claim
38 words
A memory control method according to claim 1, further comprising: (f) registering information identifying the selected group and a head memory address thereof in a registration table for every device that requests a storage area in the memory.
Claim 6
Dependent Claim
100 words
A memory control method according to claim 4, further comprising: (g) preparing a fourth pattern uniquely determined from the information of the registration table indicating a particular group, when a request has been made for freeing an area of the certain group in the memory; (h) shifting the fourth pattern a certain amount from the position indicated by the head address in the registration table, and inverting the shifted pattern to prepare a fifth pattern; and (i) taking a logical AND between the fifth pattern and the second pattern, and updating the flags in accordance with the logical AND result.
Claim 7
Dependent Claim
174 words
A memory control apparatus for selecting an area of at least a requested capacity in a memory, comprising: (a) a memory which is divided into a plurality of unit storage areas each having an equal unit storage capacity; (b) storage means for storing flag information indicating whether or not each of the unit storage areas is in use; (c) a Boolean processing unit connected to said storage means and including means for calculating the smallest number of unit storage areas which will provide a requisite storage capacity in response to a request for selecting an area of a certain capacity in the memory and means for comparing a first digit pattern uniquely obtained from the calculated smallest number and a second digit pattern corresponding to the flag information while successively shifting the first digit pattern with respect to the second digit pattern by a predetermined contiguous unit amount, so as to select a group of unit storage areas having the requisite storage capacity and which is not in use in accordance with the comparison.
Claim 8
Dependent Claim
174 words
A memory control apparatus for selecting an area of at least a requested capacity in a memory, comprising: (a) a memory which is divided into a plurality of unit storage areas each having an equal unit storage capacity; (b) storage means for storing flag information indicating whether or not each of the unit storage areas is in use; (c) a Boolean processing unit connected to said storage means and including means for calculating the smallest number of unit storage areas which will provide a requisite storage capacity in response to a request for selecting an area of a certain capacity in the memory and means for comparing a first digit pattern uniquely obtained from the calculated smallest number and a second digit pattern corresponding to the flag information while successively shifting the first digit pattern with respect to the second digit pattern by a predetermined contiguous unit amount, so as to select a group of unit storage areas having the requisite storage capacity and which is not in use in accordance with the comparison.
Claim 9
Dependent Claim
49 words
A memory control apparatus according to claim 6, further comprising: (d) means for storing a table in which information identifying the selected group of contiguous unit storage areas and a head address thereof in the memory are registered for every device that requests a storage area in the memory.
Claim 10
Dependent Claim
212 words
A multistation system constructed of a master station and at least one slave station connected thereto, each of the stations having a plurality of input/output devices, comprising: (a) a memory which is disposed in said master station and which can be accessed from the input/output devices in said master and slave stations, said memory being divided into a plurality of unit storage areas each having an equal unit storage capacity; (b) storage means for storing flag information indicating whether or not each of said unit storage areas in said memory is in use; (c) a Boolean processing unit including means for calculating the smallest number of unit storage areas which will provide a requisite capacity, in response to a request for memory access from an input/output device and means for comparing a digit pattern obtained from the calculated smallest number and the flag information while shifting the digit pattern with respect to the flag information by a predetermined unit amount, so as to select a group of contiguous unit storage areas which are not in use in accordance with the comparison; and (d) means for storing as a table information identifying the selected group and a head address thereof referring to the input/output device that has requested the group in said memory.
Claim 11
Dependent Claim
212 words
A multistation system constructed of a master station and at least one slave station connected thereto, each of the stations having a plurality of input/output devices, comprising: (a) a memory which is disposed in said master station and which can be accessed from the input/output devices in said master and slave stations, said memory being divided into a plurality of unit storage areas each having an equal unit storage capacity; (b) storage means for storing flag information indicating whether or not each of said unit storage areas in said memory is in use; (c) a Boolean processing unit including means for calculating the smallest number of unit storage areas which will provide a requisite capacity, in response to a request for memory access from an input/output device and means for comparing a digit pattern obtained from the calculated smallest number and the flag information while shifting the digit pattern with respect to the flag information by a predetermined unit amount, so as to select a group of contiguous unit storage areas which are not in use in accordance with the comparison; and (d) means for storing as a table information identifying the selected group and a head address thereof referring to the input/output device that has requested the group in said memory.
References Cited (Backward Citations)
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 1991-10-25 | 1992-04-25 | 1992-10-25 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 1995-10-25 | 1996-04-25 | 1996-10-25 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 1999-10-25 | 2000-04-25 | 2000-10-25 | $7700.00 | Window Closed / Lapsed |