CN102043782A - Search system and method capable of establishing index according to codes - Google Patents
Search system and method capable of establishing index according to codes Download PDFInfo
- Publication number
- CN102043782A CN102043782A CN2009101781892A CN200910178189A CN102043782A CN 102043782 A CN102043782 A CN 102043782A CN 2009101781892 A CN2009101781892 A CN 2009101781892A CN 200910178189 A CN200910178189 A CN 200910178189A CN 102043782 A CN102043782 A CN 102043782A
- Authority
- CN
- China
- Prior art keywords
- data
- index
- code
- comparisons
- project
- 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
Abstract
The invention provides a search system and method capable of establishing an index according to codes. The technical means of the invention is as follows: after acquiring the coded data of the corresponding item data, acquiring the corresponding index data from a code index reference table; and storing the index data while storing the item data, so that the stored item data can be searched according to the acquired index data. The invention has the technical effects that screening conditions for data can be set intuitively, and t the speed for a user to search out the wanted item data from the displayed item data can be enhanced.
Description
Technical field
The present invention relates to a kind of data searching system and method thereof, the particularly a kind of system of searching and method thereof of setting up index according to coding.
Background technology
Database (database) is the data set that can inquire about automatically and revise.Database has a variety of patterns, and the simplest database comprises the form that can store various data, and complicated database can carry out the storage and the management of mass data.No matter the database of any form can provide functions such as the data that reduce to repeat and integral data, so database is used in the every field widely.
Integrality and security for the data in the maintenance data base; so use the software of database storage data can provide usually to allow the user interface of the data in user's management database; the user interface that software provided can allow user's browsing data, even can allow the user that data are increased newly, delete or revise.
Generally speaking; in user's interface display database that software provided during stored data; the data that also can provide the user to be shown usually with the certain conditions screening; but the screening conditions that the user interface is provided often are that one or more fields of the tables of data of storage data in the database are screened; because the characteristic of database; the meaning of the same field recorded data of the tables of data in the database is similar; it is the difference of classification; therefore such mode classification is not direct for the user; the user has very big may set the screening conditions that make mistake; so; after the user must browse all data that are shown; just can find screening conditions setting mistake, reset screening conditions then and seek the data that its desire is searched.
In sum, there has been the problem that the screening conditions of data can't allow the user directly set in prior art always since the midium or long term as can be known, therefore is necessary to propose improved technological means, solves this problem.
Summary of the invention
Because the problem that prior art exists the screening conditions of data can't intuition to set, the present invention provides a kind of then and sets up the system of searching and the method thereof of index according to coding, wherein:
Foundation coding provided by the present invention is set up the system of searching of index, comprises at least: storage module, in order to store the code index table of comparisons; Load module is in order to provide the cuit data; The coding acquisition module obtains corresponding coded data in order to the foundation project data; The index acquisition module obtains the index data of corresponding coded data in order to the foundation code index table of comparisons, makes storage module save project data and index data; Search module, provide the index data of input, search the project data of the index data that correspondence is transfused to the storage module in order to the foundation load module; Display module is in order to show the project data that is found out.
Foundation coding provided by the present invention is set up the lookup method of index, and its step comprises at least: store the code index table of comparisons; The cuit data are provided; Obtain corresponding coded data according to project data; Obtain the index data of corresponding coded data according to the code index table of comparisons; Save project data and index data; The input index data is provided; Search project data according to the index data that is transfused to; The project data that demonstration is found out.
System and method for provided by the present invention as above, after difference between the prior art is that the present invention is by the coded data of obtaining corresponding project data, obtain corresponding index data according to the code index table of comparisons of setting up in advance, and when the save project data, store index data in the lump, make and to search the project data that has stored according to the index data that obtains, so as to solution existing in prior technology problem, and can reach and improve the technology effect of user by the speed that finds its project data of desiring to search in the project data that is shown.
Description of drawings
Fig. 1 sets up the system architecture diagram of searching of index for the foundation coding that the present invention carried.
Fig. 2 A is the synoptic diagram of the code index table of comparisons carried of the embodiment of the invention.
Fig. 2 B is the synoptic diagram of the code index table of comparisons carried of the embodiment of the invention.
Fig. 3 A is the synoptic diagram of the tables of data of the save project data carried of the embodiment of the invention and index data.
Fig. 3 B is the synoptic diagram of the tables of data of the save project data carried of the embodiment of the invention and index data.
Fig. 3 C is the synoptic diagram of the tables of data of the save project data carried of the embodiment of the invention and index data.
Fig. 4 sets up the lookup method process flow diagram of index for the foundation coding that the present invention carried.
The synoptic diagram at the user interface of searching project data that Fig. 5 carries for the embodiment of the invention.
[primary clustering symbol description]
110 storage modules
120 load modules
150 coding acquisition modules
160 index acquisition modules
180 search module
190 display modules
The 200a code index table of comparisons
The 200b code index table of comparisons
210 stroke number fields
220a character code field
220b character code field
230 first phonetic alphabet fields
400 tables of data
500 user interfaces
520 stroke index
530 data display area
Embodiment
Below will cooperate graphic and embodiment describes feature of the present invention and embodiment in detail, content is enough to make any those skilled in the art can fully understand the applied technological means of technical solution problem of the present invention easily and implements according to this, realizes the attainable effect of the present invention whereby.
The coding of " big by five (Big-5) sign indicating number " that " coded data " that the present invention carried can be used for Chinese-traditional, the character set such as " GB 2312 " that simplified form of Chinese Character uses, but the present invention is not as limit.
Following elder generation illustrates System Operation of the present invention with the system architecture diagram of the system of searching that sets up index according to encoding that Fig. 1 the present invention is carried.As shown in Figure 1, system of the present invention contains storage module 110, load module 120, coding acquisition module 150, index acquisition module 160, searches module 180 and display module 190.
Wherein, code index table of comparisons 200a shown in Fig. 2 A comprises as the stroke number field 210 of index field and character code field 220a, the coding range of character code field 220a record individual character, that is to say, it is the character code scope of the individual character of i that code index table of comparisons 200a has write down stroke number, so just can be according to the character code of certain individual character, find out the stroke number of this individual character to the code index table of comparisons 200a.
Code index table of comparisons 200b shown in Fig. 2 B then comprises as the first phonetic alphabet field 230 of index field and character code field 220b, in the phonetic of character code field 220b record individual character, the individual character of character code minimum in the identical individual character of first phonetic alphabet, that is to say, it is the bebinning character coding of the individual character of l that code index table of comparisons 200b has write down first phonetic alphabet, making can be according to the character code of certain individual character, finds out first phonetic alphabet of this individual character to the code index table of comparisons 200b.
In fact, character code field 220b can write down character code minimum in the identical individual character of first phonetic alphabet/big individual character or the character code of individual character, also can write down with the character code scope of character code minimum in the individual character of phonetic/big individual character or the character code of individual character, individual character that first phonetic alphabet are identical or with the character code scope of the individual character of phonetic etc., but preceding two kinds of recording modes can only use usually character code at individual character for the condition of arranging according to first phonetic alphabet under.
And if the coded data that coding acquisition module 150 is obtained is the character code of all individual characters of project data, then index acquisition module 160 can find out the stroke number of each word in the project data or first phonetic alphabet of each word.
Search the index data that module 180 is responsible for providing according to load module 120 input, search the project data of the index data that correspondence is transfused to the storage module 110.Wherein, if storage module 110 stores project data and the corresponding index data that load module 120 provides input with tables of data 400, then search module 180 and can find out project data according to the index data in the tables of data 400.
Then explain orally operation system of the present invention and method with an embodiment, and please refer to that Fig. 4 the present invention carried set up the method flow diagram of the lookup method of index according to coding.
In the present embodiment, suppose to provide diet data management software to use the present invention to manage the diet data as the user interface 500 of Fig. 5.Wherein, in the storage module 110 of diet data management software, can store the code index table of comparisons 200a (step 301) shown in Fig. 2 A in advance, but the stored code index table of comparisons of storage module 110 is not as limit.
Use the diet data management software to set up the diet data (in the present embodiment the user, the diet data are the project data that the present invention carries) time, at first can use load module 120 that the function of cuit data is provided, with diet data (as " mini pumpkin meal " etc.) input (step 310), but the project data that the present invention carried does not exceed with " mini pumpkin meal ".
Then, coding acquisition module 150 can obtain corresponding coded data (step 320) according to the diet data (project data) that load module 120 provides the user to import.Suppose in the present embodiment, the coded data that coding acquisition module 150 is obtained is the character code of first word of project data, then encoding acquisition module 150 earlier can be by extracting first word " fan " in the diet data " mini pumpkin meal ", obtain the Big5 " B067 " of " fan " word, this coded data that acquisition module 150 is obtained of promptly encoding, but the coded data that coding acquisition module 150 is obtained is not as limit.
After coding acquisition module 150 obtained corresponding coded data (step 320) according to the diet data, index acquisition module 160 can obtain the corresponding index data (step 330) of coded data that is obtained with the acquisition module 150 of encoding according to storage module 110 stored code index table of comparisons 200a.Suppose that employed in the present embodiment code index table of comparisons 200a is shown in Fig. 2 A, index acquisition module 160 can be searched to the character code field 220a among the code index table of comparisons 200a according to the coded data " B067 " that coding acquisition module 150 is obtained, can judge coded data " B067 " after searching and drop on " ADBC-B0AD " character-coded, so index acquisition module 160 can read the data " 10 " of stroke number field 210 in the same notes record, so, index acquisition module 160 just gets access to the index data " 10 " corresponding with coded data " B067 ", and this index data is the stroke number of " fan ".
After index acquisition module 160 obtains the index data (step 330) of corresponding coded data according to code index table of comparisons 200a, the index data " 10 " (step 340) that diet data " mini pumpkin meal " that storage module 110 meeting storage users are imported by load module 120 and index acquisition module 160 are obtained, suppose in the present embodiment, storage module 110 stores diet data " mini pumpkin meal " and index data " 10 " with tables of data 400 as shown in Figure 3A, but storage module 110 does not exceed with tables of data 400 save project data and index data.
So far, the present invention has just finished the foundation of the diet data of user's input.Afterwards, when the user need use execution to have diet data management software of the present invention to search the diet data, just the diet data are searched at the user interface 500 as Fig. 5 that can use the diet data management software to be provided.
When the user uses the user interface 500 of Fig. 5 to search diet data (project data), at first need by load module 120 input index datas (step 370).In the present embodiment, the user can and click display module 190 numeral in the shown stroke index 520 in user interface 500 by the operation cursor, as " 10 " etc., so as to the input index data, but load module 120 provides the mode of input index data not as limit.
Then, search module 180 and can search project data (step 380) according to the index data that is transfused to.In the present embodiment, search the index data " 10 " that module 180 meetings are imported by load module 120 according to the user, to the stored tables of data 400 of storage module 110, search the project data that has stored, so, search the project data that module 180 found out and comprise diet data " mini pumpkin meal " to I haven't seen you for ages.
Searching after module 180 finds out diet data (step 380) according to the index data that is transfused to, display module 190 can will be searched in the data display area 530 of diet data presentation in user interface 500 that module 180 found out (step 390), so as to allowing the user watch the stroke number of lead-in all diet data for " 10 ", thus, the user just can be than the screening conditions of intuition, just the stroke number of first word of diet data is searched the diet data, make the user can not set the screening conditions that make mistake, accelerate the user by in a large amount of diet data, find out the speed of its diet data that will look for.
In sum, the present invention is with after difference between the prior art is to have the coded data of obtaining corresponding project data as can be known, obtain corresponding index data according to the code index table of comparisons of setting up in advance, and in the save project data, store index data in the lump, the feasible technological means that can search the project data that has stored according to the index data that obtains, can solve the problem that the screening conditions of existing in prior technology data can't intuition be set by this technological means, and then reach and improve the technology effect of user by the speed that finds its project data of desiring to search in the project data that is shown.
Moreover, the lookup method of setting up index according to coding of the present invention, can be implemented in the combination of hardware, software or hardware and software, also can in computer system, realize or intersperse among the dispersing mode of the computer system of several interconnected and realize with different assemblies with centralized system.
Though embodiment provided by the present invention as above, described content is not in order to direct qualification scope of patent protection of the present invention.Any those skilled in the art under the prerequisite that does not break away from spirit and scope disclosed in this invention, do a little change retouching to reaching of enforcement of the present invention in form on the details, all belong to scope of patent protection of the present invention.Scope of patent protection of the present invention, still must with appended claim the person of being defined be as the criterion.
Claims (10)
1. a foundation is encoded and is set up the lookup method of index, it is characterized in that this lookup method comprises the following step at least:
Store a code index table of comparisons;
Provide input one project data;
Obtain a corresponding coded data according to this project data;
Obtain a index data that should coded data according to this code index table of comparisons;
Store this project data and this index data;
Provide input this index data;
Search this project data according to this index data that is transfused to; And
Show the project data that this quilt finds out.
2. the lookup method of setting up index according to coding as claimed in claim 1, it is characterized in that this step that stores this code index table of comparisons comprises this code index table of comparisons of a character code field and a stroke number field or this code index table of comparisons that storage comprises a character code field and a first phonetic alphabet field for storing.
3. as claimed in claim 1ly set up the lookup method of index according to coding, it is characterized in that, this step of obtaining corresponding this coded data according to this project data is to obtain the character code of lead-in in this project data or all individual characters.
4. the lookup method of setting up index according to coding as claimed in claim 1, it is characterized in that, this obtains the step of this index data that should coded data to according to this coded data according to this code index table of comparisons, by reading in this code index table of comparisons a stroke number or first phonetic alphabet that should coded data.
5. foundation coding as claimed in claim 1 is set up the lookup method of index, it is characterized in that, this provides the step of this index data of input to choose this index data that is shown for providing.
6. a foundation is encoded and is set up the system of searching of index, it is characterized in that this is searched system and comprises at least:
One storage module is in order to store a code index table of comparisons;
One load module is in order to provide input one project data;
One coding acquisition module is in order to obtain a corresponding coded data according to this project data;
One index acquisition module in order to obtain according to this code index table of comparisons a index data that should coded data, makes this storage module store this project data and this index data;
One searches module, in order to this index data of input to be provided according to this load module, searches the project data to the index data that should be transfused to this storage module; And
One display module is in order to the project data that shows that this quilt finds out.
7. foundation coding as claimed in claim 6 is set up the system of searching of index, it is characterized in that this code index table of comparisons comprises a character code field and a stroke number field or a character code field and a first phonetic alphabet field.
8. as claimed in claim 6ly set up the system of searching of index according to coding, it is characterized in that, this coded data is the character code of lead-in or all individual characters in this project data.
9. as claimed in claim 6ly set up the system of searching of index according to coding, it is characterized in that, this index data is to a stroke number or first phonetic alphabet that should coded data.
10. foundation coding as claimed in claim 6 is set up the system of searching of index, it is characterized in that this display module is for to show the project data that this quilt finds out with a list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101781892A CN102043782A (en) | 2009-10-19 | 2009-10-19 | Search system and method capable of establishing index according to codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101781892A CN102043782A (en) | 2009-10-19 | 2009-10-19 | Search system and method capable of establishing index according to codes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102043782A true CN102043782A (en) | 2011-05-04 |
Family
ID=43909925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101781892A Pending CN102043782A (en) | 2009-10-19 | 2009-10-19 | Search system and method capable of establishing index according to codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102043782A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104217012A (en) * | 2014-09-22 | 2014-12-17 | 朱信 | Font library issuing method and font library protection system |
CN111143349A (en) * | 2019-11-26 | 2020-05-12 | 广东三扬网络科技有限公司 | Method for quickly searching information from set, electronic equipment and storage medium |
-
2009
- 2009-10-19 CN CN2009101781892A patent/CN102043782A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104217012A (en) * | 2014-09-22 | 2014-12-17 | 朱信 | Font library issuing method and font library protection system |
CN111143349A (en) * | 2019-11-26 | 2020-05-12 | 广东三扬网络科技有限公司 | Method for quickly searching information from set, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20020091700A1 (en) | Unique architecture for handheld computers | |
CN101876878A (en) | Word prediction input system and method | |
CN103853802B (en) | Device and method for indexing digital content | |
CN101236550B (en) | Method and system for processing tree -type structure data | |
US20200081940A1 (en) | Method and apparatus for browsing information | |
CN106940721B (en) | Data processing method and system for user-defined selection box | |
CN107256216A (en) | Mobile terminal, the method and storage device for managing picture | |
CN103257987A (en) | Rule-based distributed log service implementation method | |
CN113010484A (en) | Log file management method and device | |
US7921140B2 (en) | Apparatus and method for browsing contents | |
CN111352955A (en) | Index data query method and device, electronic equipment and storage medium | |
US8170613B2 (en) | Electronic apparatus with SIM card and phone directory management method thereof | |
CN103425732A (en) | Electronic invoice data processing method | |
CN102043782A (en) | Search system and method capable of establishing index according to codes | |
CN104573132A (en) | Method and device for finding songs | |
US20080033948A1 (en) | Storage apparatus and method therefor | |
US7882114B2 (en) | Data processing method and data processing program | |
CN104240107A (en) | Community data screening system and method thereof | |
US20080033949A1 (en) | Electronic apparatus and method therefor | |
CN102546961A (en) | Contact lookup method and mobile terminal | |
CN116414854A (en) | Data asset query method, device, computer equipment and storage medium | |
CN103455495A (en) | Enterprise business identifier data encoding method and device | |
CN102479242A (en) | System and method for displaying query result by relational graph | |
CN106126048B (en) | Method and device for inquiring contact information of mobile equipment | |
US20140317154A1 (en) | Heterogeneous data management methodology and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110504 |