Claims
- 1. A range-conditional character string retrieving system, comprising range condition collating means for retrieving a numerical value within a specific range from a character string subjected to retrieval which is composed of symbols expressed in codes,
- wherein when an upper limit value and a lower limit value defining said specific range for the numerical value to be retrieved differ from each other by at least two in the number of digits, means constituting a part of said range condition collating means partitions said specific range for said numerical value to be retrieved into
- (a) a range extending from said lower limit value to a maximum numerical value of a same digit number as that of said lower limit value,
- (b) a range extending from a minimum numerical value of a digit number greater than that of said lower limit value by one digit to a maximum value of a digit number smaller than that of said upper limit value by one digit, and
- (c) a range extending from a minimum numerical value of a same digit number as that of said upper limit value to said upper limit value,
- while when said lower limit value and said upper limit values differ by one in the digit number, said specific range for the numerical value to be retrieved is partitioned into the aforementioned ranges (a) and (c), and
- when said lower limit value and said upper limit value are of a same digit number, said specific range is held intact,
- whereon said means performs retrieval of said numerical value in each of said ranges resulted from said partition or in said specific range held intact.
- 2. A range-conditional cahracter string retrieving system according to claim 1, wherein said range condition collating means includes:
- upper limit value storage means for storing said upper limit value of said specific range and a maximum numerical value of a same digit number as that of said upper limit value;
- lower limit value storage means for storing said lower limit value of said specific range and a minimum value of a same digit number as that of said lower limit value;
- value coincidence decision means for comparing said character string subjected to retrieval with output of said upper limit value storage means and output of said lower limit value storage means; and
- range condition decision means having a finite automaton function for designating the output of said upper limit value storage means and the output of said lower limit value storage means, controlling input of said character string subjected to retrieval and making state transitions on the basis of results of decisions made by said value coincidence decision means.
- 3. A range-conditional character string retrieving system according to claim 2, wherein said range condition collating means further includes:
- retrieval-designated symbol storage means for storing a symbol designated for retrieval and affixed at least in precedence to or in succession to said numerical value; and
- symbol coincidence decision means for comparing said character string subjected to retrieval with the output of said retrieval-designated symbol storage means; and
- wherein said range condition decision means makes state transition on the basis of the results outputted from said value coincidence decision means and said symbol coincidence decision means, respectively.
- 4. A range-conditional character string retrieving system according to claim 1, wherein at least two said range condition collating means are integrated on one and same chip.
- 5. A range-conditional character string retrieving system according to claim 1, wherein said range-conditional character string retrieving system is externally supplied with retrieval control information prepared in accordance with difference in the number of digits between the lower limit value and the upper limit value of said specific range of the numerical value to be retrieved and retrieves from the character string subjected to retrieval stored in character string storage means the numerical value within said specific range on the basis of said retrieval control information.
- 6. A range-conditional character string retrieving system, comprising range condition collating means for retrieving from a character string subjected to retrieval and composed of symbols expressed in a code a numerical value lying within a specific range,
- wherein said range condition collating means includes:
- means for partitioning range condition for the specific range of the numerical value to be retrieved into sub-ranges in accordance with difference in the number of digits between an upper limit value and a lower limit value of said specific range, wherein retrieval of the numerical value is performed in each of said sub-ranges.
- 7. A range-conditional character string retrieving method for retrieving from a character string composed of symbols expressed in a code and subjected to retrieval a numerical value lying within a specific range,
- wherein when an upper limit value and a lower limit value defining said specific range for the numerical value to be retrieved differ from each other by at least two in the number of digits, said specific range for said numerical value to be retrieved is partitioned into
- (a) a range extending from said lower limit value to a maximum numerical value of a same digit number as that of said lower limit value,
- (b) a range extending from a minimum numerical value of a digit number greater than that of said lower limit value by one digit to a maximum value of a digit number smaller than that of said upper limit value by one digit, and
- (c) a range extending from a minimum numerical value of a same digit number as that of said upper limit value to said upper limit value,
- while when said lower limit value and said upper limit values differ by one in the digit number, said specific range for the numerical value to be retrieved is partitioned into the aforementioned ranges (a) and (c), and
- when said lower limit value and said upper limit value are of a same digit number, said specific range is held intact,
- whereon retrieval of said numerical value is performed in each of said ranges resulted from said partition in parallel or in said specific range held intact.
- 8. A range-conditional character string retrieving system, comprising range condition collating means for retrieving from a character string composed of symbols expressed in codes and subjected to retrieval a numerical value falling within a specific range by resorting to use of a finite automaton,
- wherein said range condition collating means includes:
- range information storage means for storing state transition conditions for allowing said finite automaton to make state transition to at least one state from each state in terms of upper limit value and lower limit value of coded symbols;
- value coincidence decision means for making decision as to coincidence between said character string subjected to retrieval and said state transition conditions; and
- range condition decision means supplied as input thereto with said character string subjected to retrieval and incorporating a finite automaton function of performing state transitions on the basis of result of decision made by said value coincidence decision means to thereby output result of retrieval.
- 9. A range-conditional character string retrieving system according to claim 8, wherein said range condition collating means further includes:
- retrieval-designated symbol storage means for storing a symbol designated for retrieval and affixed at least in precedence to or in succesion to said numerical value, and
- symbol coincidence decision means for comparing said character string subjected to retrieval with the output of said retrieval-designated symbol storage means; and
- wherein said range condition decision means makes state transition on the basis of the results outputted from said value coincidence decision means and said symbol coincidence decision means, respectively.
- 10. A range-conditional character string retrieving system according to claim 9, wherein at least two of said range information storage means, said value coincidence decision means, said range condition decision means, said retrieval-designated symbol storage means and said coincidence decision means are integrated on one and same chip.
- 11. A range-conditional character string retrieving system according to claim 9, wherein said range condition collating means includes:
- re-decision bit storage means for commanding whether or not collation be again performed on the same character string subjected to retrieval by changing the state transition condition in each of said states; and
- wherein said range condition decision means performs control of the input of said character string subjected to retrieval and the state transition on the basis of the results of decision made by said value coincidence decision means and said coincidence decision means and the output of said re-decision bit storage means.
- 12. A range-conditional character string retrieving system according to claim 11, wherein at least two of said range information storage means, said value coincidence decision means, said range condition decision means, said retrieval-designated symbol storage means, said coincidence decision means and said re-decision bit storage means are integrated on one and same chip.
- 13. A range-conditional character string retrieving system according to claim 8, wherein said value coincidence decision means incorporated in said range condition collating means includes:
- a plurality of value coincidence detecting comparators for comparing said character string subjected to retrieval with a plurality of range data read out from said range information storage means, respectively; and
- a plurality of range deciding circuits for deciding on the basis of the results of given two of said value coincidence detecting comparators that the code of said character string subjected to retrieval has a greater value than that of the range data inputted to one of said two value coincidence comparators and smaller than that of the range data inputted to the other of said two value coincidence comparators.
- 14. A range-conditional character string retrieving system according to claim 8, wherein said range-conditional character string retrieving system is externally supplied as input thereto with retrieval control information conforming to said range condition and performs retrieval of the numerical values within the specific range from character string storage means storing said character string subjected to retrieval.
- 15. A range-conditional character string retrieving system, comprising range condition collating means for retrieving from a character string composed of symbols expressed in codes and subjected to retrieval a numerical value falling within a specific range by resorting to use of a finite automaton,
- wherein when said finite automaton makes state transition from a predetermined state to at least two states in accordance with the result of collation of said character string subjected to retrieval, said range condition collating means including means for designating conditions for said state transitions in terms of ranges of the codes of said symbols.
- 16. A range-conditional character string retrieving system, comprising range condition collating means for retrieving from a character string composed of symbols expressed in codes and subjected to retrieval a character falling within a specific range by resorting to use of a finite automaton,
- wherein when said finite automaton makes state transition from a predetermined state to at least two states in accordance with the result of collation of said character string subjected to retrieval, said range condition collating means including means for designating conditions for said state transitions in terms of ranges of the codes of said symbols.
- 17. A method of retrieving from a character string composed of symbols expressed in codes and subjected to retrieval a numerical value or a character falling within a specific range by using a finite automaton, comprising:
- a step in which when said finite automaton makes state transition from a predetermined state to at least more than one state in accordance with result of collation of said character string, conditions for said state transitions are stored in terms of ranges of respective codes of the symbols;
- a step of reading out the conditions for state transition corresponding to the state of said finite automaton;
- a step of comparing said conditions for state transitions with the character to be retrieved; and
- a step of determining destination state for transition on the basis of result of said comparison.
- 18. A range-conditional character string retrieving system according to claim 17, wherein said range decision means of said range condition collating means is constituted by a microcomputer.
- 19. A range-conditional character string retrieving system according to claim 17, wherein said range decision means of said range condition collating means is composed of a finite automaton.
- 20. A range-conditional character string retrieving system according to claim 17, wherein said range-conditional character string retrieving system is externally supplied with retrieval control information related to a part of a numeric character string representing said numerical value and performs retrieval of said numerical value from character string storage means storing said character string subjected to retrieval.
- 21. A range-conditional character string retrieving system, comprising range condition collating means for retrieving from a character string subjected to retrieval and composed of symbols expressed in a code a numerical value lying within a specific range,
- wherein said range condition collating means includes:
- numerical value detecting means for detecting a numerical value from said character string subjected to retrieval; and
- range decision means for deciding whether or not the numerical value detected by said numerical value detecting means lies within said specific range.
- 22. A range-conditional character string retrieving system according to claim 21, wherein said range condition collating means includes numerical value storage means for buffering the numerical value detected by said numerical value detecting means.
- 23. A range-conditional character string retrieving system according to claim 21, wherein said range condition collating means includes binary conversion means for converting character code of the numerical value detected by said numerical value detecting means into binary code.
- 24. A range-conditional character string retrieving system, comprising:
- character string collating means for searching a specific character string from a character string composed of symbols expressed in codes and subjected to retrieval; and
- range condition collating means for detecting a numerical value falling within a specific range from said specific character string;
- wherein said character string collating means includes:
- first communication means for transmitting a signal indicating detection of said specific character to said range condition collating means; and
- wherein said range condition collating means includes:
- second communication means for transmitting a signal indicating detection of a numerical value falling within said specific range to said character string collating means.
- 25. A range-conditional character string retrieving system, comprising:
- character string collating means for searching a specific character string from a character string composed of symbols expressed in codes and subjected to retrieval;
- range condition collating means for detecting a numerical value falling within a specific range from said specific character string; and
- synchronizing means for establishing synchronism between said character string collating means and said range condition collating means.
- 26. A range-conditional character string retrieving system comprising:
- character string collating means for searching a specific character string from a character string composed of symbols expressed in codes and subjected to retrieval; and
- range condition collating means for detecting a numerical value falling within a specific range from said specific character string
- wherein said character string collating means is externally supplied with retrieval control information for a character string part, while said range condition collating means is supplied with retrieval control information for a numerical value part, wherein the value within said specific range is retrieved from character string storage means storing said character string subjected to retrieval.
- 27. A method of retrieving from a character string composed of symbols expressed in codes and subjected to retrieval a numerical value falling within a specific range, comprising the steps of:
- judging an end of a numerical value upon detection of an interruption in a continuous numeric value, and detecting a numerical value upon detection of a punctuation for discriminating the numerical value from a succeeding one;
- buffering said numerical value and said punctuation; and
- reading out said buffered numerical value to said punctuation to judge whether said numerical value falls within the range.
- 28. A numerical value retrieving system according to claim 27; further comprising:
- synchronizing means for establishing a synchronism between timing of said range condition collating means for receiving a signal of retrieval of the specific character string outputted from said character string collating means through said first communication means and timing for starting collation of a numerical value following said specific character string so that both said character string collating means and range condition collating means collate said character string in synchronism with each other by each character of said character string.
- 29. A numerical value retrieving system, comprising:
- character string collating means for retrieving a specific character string from character stings composed of symbols expressed in codes and subjected to retrieval;
- range condition collating means for retrieving a numerical value falling within a specific range from said specific character string;
- first communication means for transmitting a signal indicating retrieval of said specific character string to said range condition collating means; and
- wherein said character string collating means activates said range condition collating means by said first communication means on retrieval of a specific character string while retrieving a numerical value following a specific character string, and said range condition collating means retrieves information indicating whether said retrieved numerical value following said specific character string falls within said specific range.
- 30. A numerical value retrieving system, comprising:
- character string collating means for retrieving a specific character string from character stings composed of symbols expressed in codes and subjected to retrieval;
- range condition collating means for retrieving a numerical value falling within a specific range said character stings;
- first communication means for transmitting a signal indicating retrieval of said numerical value falling within said specific range to said character string collating means; and
- wherein said range condition collating means activates said character string collating means on retrieval of said numerical value falling within said specific range by said first communication means while retrieving a character string including said specific character string following a numerical value, and said character string collating means retrieves information indicating whether said retrieved character string following said specific numerical value falling within said specific range is said specific numerical value.
- 31. A numerical value retrieving system according to claim 30, further comprising:
- synchronizing means for establishing a synchronism between timing of said character string collating means for receiving a signal of retrieval of a numerical value falling within a specific range outputted from said range condition collating means through said second communication means and timing for starting collation of a character string following a numerical value falling within a specific range so that both said character string collating means and said range condition collating means collate said character string in synchronism with each other by each character of said character string.
- 32. A numerical value retrieving system, comprising:
- character string collating means for retrieving a specific character string from character stings composed of symbols expressed in codes and subjected to retrieval;
- range condition collating means for retrieving a numerical value falling within a specific range from said character stings subjected to retrieval;
- first communication means for transmitting a signal of retrieval of said specific character string to said range condition collating means;
- second communication means for transmitting a signal of retrieval of said numerical value falling within said specific range to said character string collating means; and
- wherein said character string collating means activates said range condition collating means by said first communication means on retrieval of a first character string while retrieving a numerical value following said first character string and a character string including a second character string following said numerical value, said range condition collating means retrieves information indicating whether said retrieved numerical value following said first character string falls within said range and activates said character string collating means by said second communication means when said numerical value falls within said range, and said character string collating means retrieves information indicating whether said retrieved character string following said numerical value falling within said specific range is said second character string.
- 33. A numerical value retrieving system according to claim 32, further comprising:
- synchronizing means for establishing a synchronism between timing of said range condition collating means for receiving a signal of retrieval of said first character string outputted from said character string collating means through said first communication means and a retrieval start timing of a numerical value following said first character string, and between timing of said character string collating means for receiving a signal of retrieval of a numerical value falling within said specific range outputted from said range condition collating means through said second communication means and a start timing for retrieving a character string following a numerical value falling within a specific range so that both said character string collating means and said range condition collating means collate said character string in synchronism with each other by each character of said character string.
- 34. A method of retrieving from a character string composed of symbols expressed in codes and subjected to retrieval a numerical value falling within a specific range, comprising at least any one of the following steps:
- retrieving a specific character string and retrieving information indicating whether a numerical value following said retrieved specific character string is said numerical value falling within said specific range while retrieving a numerical value following said specific character string;
- retrieving said numerical value falling within a specific range while retrieving a character string including a character string following a numerical value, and retrieving information indicating whether a character string following a numerical value falling within a retrieved specific range is said specific character string; and
- retrieving said first character string while retrieving a character string including a numerical value following said first character string and a characters string including a second character string following said numerical value, and retrieving information indicating whether said numerical value following said first characters string is said numerical value falling within said specific range, and retrieving information indicating whether said character string following said numerical value falling within said specific range is said second character string.
Priority Claims (3)
Number |
Date |
Country |
Kind |
2-169747 |
Jun 1990 |
JPX |
|
2-175208 |
Jul 1990 |
JPX |
|
2-175213 |
Jul 1990 |
JPX |
|
CROSS-REFERENCE TO RELATED APPLICATION
This application is a continuation-in-part application of U.S. patent application Ser. No. 555,483 filed Aug. 9, 1990, entitled "HIERARCHICAL RESEARCH TYPE TEXT SEARCH METHOD AND APPARATUS AND MAGNETIC DISK UNIT USED IN THE APPARATUS" and assigned to the same assignee as this application, the disclosure of which is hereby incorporated by reference.
US Referenced Citations (1)
Number |
Name |
Date |
Kind |
4241402 |
Mayper, Jr. et al. |
Dec 1980 |
|
Non-Patent Literature Citations (1)
Entry |
R. A. Haskin & L. A. Hollaar, "Operational Characteristics of a Hardware-Based Pattern Matcher" ACM Trans. on Database Systems, vol. 8, #1 (1983). |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
555483 |
Aug 1990 |
|