Summary of the invention
Because the defective that exists in the prior art, technical scheme to be solved by this invention is to provide a kind of convenience and searching system and method fast.
According to searching system of the present invention, comprise at least one user side and the server that is connected with user side by network, wherein, this user side comprises an input media, the user is by this input media input search condition, and this search condition comprises search condition and search condition for the first time for the second time; With a display device, be used to show result for retrieval, this server comprises a source database, is used to store raw data; One indexing unit, be used for according to the first time search condition retrieve at source database, and result for retrieval is sent to user side; With a quadratic search database, be used for the result for retrieval that the memory scan device retrieves for the first time, wherein, when the user carries out retrieving the second time, indexing unit according to the second time search condition in the quadratic search database, retrieve, and result for retrieval is sent to user side.
The data of the source database storage of aforesaid searching system are and user-dependent information, this information comprises user name, user's phone number, user's address, the native place, age, sex and hobby, the user can retrieve other user's phone number from this source database by the input search condition.
The server of aforesaid searching system further comprises a notifying device, be used to notify with result for retrieval is relevant for the first time and/or for the second time user its by other user search, whether user side further comprises a selecting arrangement, be used for selecting to agree by other user search.
Aforesaid searching system further comprises a webserver, is used for search result storage, and the form of this result for retrieval by webpage offered the user.
The server of aforesaid searching system further comprises a backup database, is used for the data of backup source database.
According to search method of the present invention, comprising: step a, the user is in the user side input search condition first time; Step b, server by utilizing is search condition for the first time, retrieves in source database, result for retrieval is offered user side, and this result for retrieval is stored in the quadratic search database; Step c, the user is according to the result for retrieval input search condition second time; And steps d, server by utilizing search condition is for the second time retrieved in the quadratic search database, and result for retrieval is offered user side.
In the aforesaid search method, the data of source database storage are and user-dependent information, this information comprises user name, user's phone number, user's address, native place, age, sex and hobby, the user can retrieve other user's phone number from this source database by the input search condition.
In the aforesaid search method, among step c and/or d, further comprise a step: notify user its information relevant by other user search, inquire whether it accepts retrieval with result for retrieval.
In the aforesaid search method, among step c and/or d, further comprise a step: result for retrieval is sent to a webserver, and this webserver offers the user with this result for retrieval with the form of webpage.
According to searching system of the present invention and method, the user does not need to import once more the search condition when retrieving for the first time when deterministic retrieval second time condition, reduced the required workload of user.In addition, when carrying out second retrieval, this retrieval is carried out in the quadratic search database, has reduced the operand of system, has improved recall precision, has also guaranteed the safety of source database and the integrality of data simultaneously.
Embodiment
The structure of<searching system 〉
As shown in Figure 1, comprise a plurality of user sides 10 and a server 20 that is connected with user side 10 by wired or wireless network according to the searching system 1 of first embodiment of the invention.Each user side 10 all has an input media 101, one display device 102 and a transmission/receiving trap 103.Input media 101 is for user's input search condition relevant with retrieval.Display device 102 is used to show result for retrieval and other information that retrieves.Transmission/receiving trap 103 is used for information is sent to server 20 and from server 20 reception information from user side 10.Server 20 comprises source database 202, one indexing units, 201, one quadratic search databases 203 and a transmission/receiving trap 204.Source database 202 is used to store various raw data, and for example user's various information comprise user name, user's phone number, user's address, native place, age, sex and hobby or the like.The search condition that indexing unit 201 is used for importing according to the user is retrieved.Quadratic search database 203 is used to store the result for retrieval that retrieval for the first time obtains.Transmission/receiving trap 204 is used for information is sent to user side 10 and from user side 10 reception information from server 20.When retrieving for the first time, that is to say that when the user imported search condition for the first time, indexing unit 201 was retrieved relevant information according to the search condition that the user imported in source database 202.When retrieving for the second time, that is to say that indexing unit 201 was retrieved relevant information according to the search condition that the user imported when the user imported for the second time search condition once more according to the result of retrieval for the first time in quadratic search database 203.
When the user imports search conditions by the input media 101 of user side 10, the search condition of this input sends to the indexing unit 201 of server 20 by transmission/receiving trap 103, and indexing unit 201 retrieves the result for retrieval that is consistent with search condition according to this search condition from source database 202.For example, when search condition was user name " Zhang San ", result for retrieval was all users " Zhang San's " by name data.This result for retrieval is transmitted through the network to user side 10, and is presented on the display device 102, and this result for retrieval is stored in the quadratic search database 203 of server 20 simultaneously.Because usually for the first time many and user of the result of retrieval is difficult to obtain the result for retrieval that it is wanted, thus the user according to the result for retrieval that shows, further deterministic retrieval condition, promptly the second time search condition.This, search condition sent to server 20 from user side 10 second time.The indexing unit 201 of server 20 utilizes for the second time search conditions to retrieve in quadratic search database 203, and the result that will retrieve sends to user side 10, thereby the user can obtain more accurate result for retrieval.For example, the search condition of retrieval can be a user location information for the second time, age information of user or the like.
Certainly, the present invention also can further be provided with three times searching database in server 20, and its storage is the result for retrieval of retrieval for the second time, use when retrieving for the third time.More N secondary data storehouse also can be set, be used for storing the result of the N time retrieval respectively, use during for the N+1 time retrieval, its quantity can be provided with according to needs.
By such structure, the user does not need to import once more the search condition when retrieving for the first time when deterministic retrieval second time condition, and therefore, the required workload of user is littler than prior art.In addition, the indexing unit 201 of server 20 is retrieved in quadratic search database 203 when retrieving for the second time, so improved recall precision, has also guaranteed the safety of source database 202 and the integrality of data.
As shown in Figure 2, according to the one-piece construction of the searching system 1 ' of second embodiment of the present invention with basic identical according to the searching system 1 of first embodiment.Both differences are: user terminal 10 ' further comprises a selecting arrangement 104, and server 20 ' further comprises a notifying device 205.Identical in the function of other devices in user terminal 10 ' and the server 20 ' and structure and first embodiment is not described in detail at this.
The result for retrieval that this notifying device 205 obtains when being used for according to for the first time retrieval and/or quadratic search, notice and the result for retrieval user that is retrieved accordingly, certain retrieval user is retrieved it by network, inquires whether it accepts this user's retrieval.This is retrieved the user when receiving this inquiry, utilizes selecting arrangement 104 to select whether to accept this user's retrieval, and selection result is sent to server by transmission/receiving trap 103.The user does not accept the retrieval of this retrieval user if certain is retrieved, and then server 20 will be deleted from result for retrieval with this user-dependent information automatically, not offer the user side of retrieving.
According to second embodiment of the present invention, the user can select whether its information to be offered other user, thereby the interests that can guarantee the user are not invaded by others.
In addition, can provide a Website server (figure do not show), be used to store the result of each retrieval, result for retrieval be offered the user, inquire about at that time or later on for the user with the form of webpage according to searching system of the present invention.
In addition, can also in server, provide a backup database (figure does not show), be used for the data of backup source database 202 according to searching system of the present invention.
The flow process of<search method 〉
Below, with reference to the flow process of Fig. 3 description according to search method of the present invention.
At step S101, the user is by the input media 101 input search conditions first time of user side, and this search condition is transferred to server.
At step S102, the indexing unit 201 of server is retrieved in source database 202 according to this search condition, promptly carries out the retrieval first time.
At step S103, judge whether the result for retrieval that search condition is complementary with the first time.If there is not result for retrieval, then return step S101, search condition is imported in prompting once more.If result for retrieval is arranged, then proceed to step S104.
At step S104, the result for retrieval that retrieves is transferred to user side, and this result for retrieval is stored in the quadratic search database of server.
At step S105, whether the inquiry user carries out quadratic search.If do not carry out quadratic search, then retrieval finishes.If the user wishes to carry out quadratic search, then proceed to step S106
At step S106, the result for retrieval that the user obtains according to retrieval for the first time, in user side input quadratic search condition, and this quadratic search condition is transferred to server.
At step S107, server carries out quadratic search according to this quadratic search condition in the quadratic search database.
At step S108, server is given user side with the quadratic search result transmission that quadratic search obtains.
In addition, if this search method is to be used for retrieval and user-dependent information, then a step can be set further before step S104 and/or S108: notify the user a certain user relevant its information to be retrieved, inquire whether it accepts its retrieval by network with result for retrieval.If do not accept retrieval, then in step S104 and/or S108, send to the information that does not comprise this user in user's the result for retrieval.
In addition, can comprise further in step S104 and/or S108 result for retrieval is sent to a webserver that this webserver offers the user with this result for retrieval with the form of webpage.
Can utilize the customer data information bank (source database) of mobile operator to finish searching according to searching system of the present invention and method to relevant specific people, and utilize the design that is provided with of secondary or N searching database, will be repeatedly querying flow transfer to secondary by former database even N searching database finished, improve search efficiency greatly, also ensured the complete of source database safety and data.
In the customer data information bank of mobile operator, store and all user-dependent information, comprise user name, user's phone number, user's address, native place, age, sex and hobby or the like.The user can by repeatedly importing search condition, retrieve other user's of its expectation user profile by using this customer data information bank according to this searching system of the present invention.For example, when a user wants to converse with a people who is called " Zhang San " but does not know this people's telephone number, the such search condition of its input search condition " user is called Zhang San ", searching system is retrieved in mobile operator's customer data information bank according to this search condition, all users' " Zhang San " by name user profile is sent to this user, and the user profile that these retrieve is stored in the quadratic search database.When this retrieval user thought that the information that retrieves is not easy to select too much, it can import search condition once more, and the information that retrieves for the first time is further qualified so that retrieve.For example, the search condition of input can be user's address for the second time, sex of user or the like.Server by utilizing quadratic search condition is retrieved in the quadratic search database, thereby can retrieve the result for retrieval of meeting consumers' demand soon.According to the present invention, the user can utilize certain client's Given information, by the customer data information bank of retrieval mobile operator, obtains this client's phone number.Can utilize this phone number that retrieves to communicate then.Certainly, the application of aspect that the present invention is not limited to this also can be applied in the retrieve application in other field.
For the person of ordinary skill of the art, other advantage and modification all are conspicuous.So, the embodiment that the present invention not merely is defined in the instructions to be put down in writing.Therefore, any disengaging by claim and its various changes that are equal to the spirit and scope of the present invention that partly limit all can realize.