Background technology
Along with the development of cloud computing industry, the downloading data data is shared, backs up, is retrieved in the storage of more users choice for use cloud.The cloud stores service need to depend on two kinds of resources, and a kind of is Internet resources, and another kind is resources of storage media.Resources of storage media is bought by the user is unified, and the cost that Internet resources spend can increase according to the frequency that the user uses.And one fast, the design of index accurately, directly determined user's experience, effectively saved the energy, time cost and the money cost that spend in retrieval.
Yet according to objective factors such as user's interest, occupations, the design of index is also the same not to the utmost.Referring to Fig. 1, at present the way taked of major part is to set up corresponding index according to user's retrieval habit, and this way is to take independent individual to be the retrieval of condition, depends on user itself.Although can meet most of demand, but the change of environment is because may directly causing its inconvenience, the residing environment of user for example, comprise time environment, geographical environment, they are relevant with social factors such as politics, culture, news, amusements, their changeability, directly affect the satisfaction of result for retrieval.In addition, in some specific geographical environment and time factor, the retrieval habit between the user may be highly similar, sets up index database for each user, makes the index redundancy that becomes.And with respect to the individual, the retrieval of enterprise-level, more focused on business, with the personal accomplishment least unit, be not easy to management, increase system burden, increase the index complexity.
Comprehensive above consideration, the foundation of the index of good a, intelligence, not only can be for users' use habit, also can consider for the residing environment of user, even can under some specific factor, share a kind of index with common environmental quality, make the colleges and universities reasonable in design of index, to greatest extent intelligent index.
Summary of the invention
The purpose of this invention is to provide a kind of method of setting up the cloud memory scan index of access point feature Network Based, solve defect and deficiency that prior art exists.
The invention provides a kind of method of setting up the cloud memory scan index of access point feature Network Based, comprise the following steps:
1.1 set up a database, need the data of storing in order to store in described method;
1.2 the Network Access Point to the user positions, and sets up the Network Access Point aspect indexing and be stored in described database;
1.3 the search key to the user is set up index database, or mates this keyword in corresponding indexed set, and the information to being retrieved, and carries out the keyword processing with reference to described Network Access Point aspect indexing corresponding to described user.
In described step 1.2, obtain described user's IP information by Cloud Server or the GPS locating information of mobile device is located described Network Access Point.
In described step 1.2, set up Network Access Point aspect indexing division kind and comprise LAN (Local Area Network), wide area network, education network, unit, mechanism.
Key word, natural time, social time with reference to described Network Access Point aspect indexing corresponding to described user in described step 1.3 carry out the keyword processing.
The processing of described keyword comprises seizure, participle and the merger of keyword.
In described step 1.3, keyword is processed and is also comprised the postsearch screening step: to accessing all requests of described Network Access Point, in conjunction with the retrieves historical record, keyword in index database is corrected, and the project of correction comprises one or more in keyword word frequency, key word participle, keyword weight.
After described method also comprises that described user accepts result for retrieval, again correct the weight of keyword word frequency, key word participle, key word, the result of correction is open to other users.
The present invention has introduced the analysis of Network Access Point aspect indexing, the right customer group of the indexed facet based on environmental characteristic of setting up is the user with highly similar retrieval habit, index database with each least unit foundation, be enough to meet and share to the user who is in similar time, environment, thereby suitably reduce server performance consumption, increased the influence surface that index is set up, improved efficiency, have higher reliability and accuracy, can obtain better user and experience.
Embodiment
Below in conjunction with drawings and embodiments, further illustrate technical scheme of the present invention.
Referring to Fig. 2, the invention provides a kind of method of setting up the cloud memory scan index of access point feature Network Based, comprise the following steps:
1.1 set up a database, need the data of storing in order to store in described method;
1.2 the Network Access Point to the user positions, and sets up the Network Access Point aspect indexing and be stored in described database;
1.3 the search key to the user is set up index database, or mates this keyword in corresponding indexed set, and the information to being retrieved, and carries out the keyword processing with reference to described Network Access Point aspect indexing corresponding to described user.
As an embodiment, in described step 1.2, obtain described user's IP information by Cloud Server or the GPS locating information of mobile device is located described Network Access Point.
As an embodiment, in described step 1.2, set up Network Access Point aspect indexing division kind and comprise LAN (Local Area Network), wide area network, education network, unit, mechanism.
As an embodiment, key word, natural time, social time with reference to described Network Access Point aspect indexing corresponding to described user in described step 1.3 carry out the keyword processing.
As an embodiment, the processing of described keyword comprises the seizure of keyword, participle and merger.
As an embodiment, in described step 1.3, keyword is processed and is also comprised the postsearch screening step: to accessing all requests of described Network Access Point, in conjunction with the retrieves historical record, keyword in index database is corrected, and the project of correction comprises one or more in keyword word frequency, key word participle, keyword weight.
As an embodiment, after described method also comprises that described user accepts result for retrieval, again correct the weight of keyword word frequency, key word participle, key word, the result of correction is open to other users.
The present invention, by the environmental characteristic in conjunction with user search custom and Network Access Point, namely, on the basis of user search custom feature, strengthens the parsing to the access point environment.The content of this parsing comprises: the network domains at access point place, network type (certain specific NAT private network, education network, LAN (Local Area Network), wide area network, enterprise private, the type of business etc.); The time of access point access, comprise natural time (Hour Minute Second, time in season) and social time (social red-letter day, section during event).In conjunction with specific algorithm and the screening of 2, obtain for matching result most possible in this environment.
Referring to Fig. 3, the present invention mainly contains following steps when implementing:
1, first client software is installed on equipment, using client as access entry.During client terminal start-up, program sends the information that can identify user's Location, comprise but do not limit to the IP information of user network, the GPS locating information of mobile device, Cloud Server carries out information matches by the information banks such as a large amount of IP, GPS of standby, and the Network Access Point of consumer positioning.If it fails to match, client guiding user is the access point classification, and server is set up " Network Access Point aspect indexing " again, and the IP/GPS coupling is to features such as " LAN (Local Area Network), wide area network, education network, unit, mechanisms ".
The client here, can move on arbitrary equipment, such as notebook/mobile device etc.With
Family is by the UI interface input key word of client, and server returns the result to client.In order effectively to distinguish access point, IP information also needs to catch together, to facilitate consumer positioning ground of living in.On some mobile device, locate to replace ip with cellphone GPS.
2,, when accepting searching request, according to the key word provided, set up index database, or mate this key word in corresponding indexed set.And the information to being retrieved, with reference to environmental characteristic key word, natural time, the social time of access point, carry out Keyword Spotting, participle and merger.
Such as, certain user is the place login of certain .edu in domain name September, inquiry " history " key word.Server, according to key word, matches indexed set A.According to environmental characteristic key word (university, education), natural time (evening), social time's (100 years, September 16), inquire some results such as " 918 historical incident ", " school one-hundred-year history ", " university's education on history ".Note, in these results, " primary school ", " so-and-so company's history " etc. are omitted with the keyword that login place feature is not inconsistent.
3,, in alternative Search Results, carry out postsearch screening.Access all requests of this access point, in conjunction with the historical search records of search library, need correct the key word in index database, such as weight of key word word frequency, key word participle, key word etc.
Such as in above-mentioned matching result, discovery is interval at same access point same amount of time, " anniversary of the founding of a school " inquiry times is more, improves weight, and " university's education on history " recent unmanned inquiry reduced weight.First result is fed back to client in the list mode.
4, after the user accepts result for retrieval, again correct the weight of keyword word frequency, key word participle, key word etc., therefore other retrieval persons also can see and retrieve and accept several files that frequency is the highest.
Such as the user has selected " celebration one-hundred-year history ", this file is carried out again to weight and upgrade, along with the variation of weight, therefore other retrieval persons also can see and retrieve and accept several retrieval of content that frequency is the highest.
Those of ordinary skill in the art will be appreciated that, above embodiment is only that the present invention is described, and not be used as limitation of the invention, as long as in connotation scope of the present invention, all will drop in claims scope of the present invention variation, the modification of above embodiment.