[go: up one dir, main page]

CN107704628A - Data retrieval method, index relative method for building up and server - Google Patents

Data retrieval method, index relative method for building up and server Download PDF

Info

Publication number
CN107704628A
CN107704628A CN201711050366.XA CN201711050366A CN107704628A CN 107704628 A CN107704628 A CN 107704628A CN 201711050366 A CN201711050366 A CN 201711050366A CN 107704628 A CN107704628 A CN 107704628A
Authority
CN
China
Prior art keywords
keyword
server
data
index relative
network
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
Application number
CN201711050366.XA
Other languages
Chinese (zh)
Inventor
沈文策
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Cnfol Information Technology Co Ltd
Original Assignee
Fujian Cnfol Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Fujian Cnfol Information Technology Co Ltd filed Critical Fujian Cnfol Information Technology Co Ltd
Priority to CN201711050366.XA priority Critical patent/CN107704628A/en
Publication of CN107704628A publication Critical patent/CN107704628A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present application discloses a kind of data retrieval method, index relative method for building up and server, for the data in searching database, improves the efficiency for retrieving data.The embodiment of the present application method includes:Server obtains the first keyword, and first keyword is used for the data of searching database;The server matches target index relative corresponding with first keyword in index relative, the target index relative is corresponding relation of second keyword with corresponding data, the similarity of first keyword and second keyword is more than the first predetermined threshold value, and the web search frequency of second keyword is higher than the second predetermined threshold value;The server obtains data corresponding with first keyword from the target index relative.

Description

Data retrieval method, index relative method for building up and server
Technical field
The invention relates to data processing field, more particularly to data retrieval method, index relative method for building up with And server.
Background technology
With the development of internet, increasing user obtains network data using internet, in order to meet to use The family data that quick obtaining needs to user in the database for store network data, keyword retrieval become quick obtaining The important channel of data.
In the prior art, the keyword sent by obtaining user terminal, further according in the keyword and whole database Data carry out global registration, when matching data corresponding with the keyword, to user terminal output with the keyword pair The data answered.
But when the data in the keyword and whole database carry out global registration, when the number in database According to, it is necessary to matched one by one with the data in database according to the keyword, so being needed when measuring very more during matching Longer time is expended, causes the efficiency of data retrieval low, have impact on the experience of user.
The content of the invention
The embodiment of the present application provides a kind of data retrieval method, index relative method for building up and server, for examining Data in rope database, improve the efficiency of retrieval data.
The embodiment of the present application first aspect provides a kind of data retrieval method, including:
Server obtains the first keyword, and first keyword is used for the data of searching database;
The server matches target index relative corresponding with first keyword, the target in index relative Index relative is the second keyword and the corresponding relation of corresponding data, the phase of first keyword and second keyword It is more than the first predetermined threshold value like degree, the web search frequency of second keyword is higher than the second predetermined threshold value;
The server obtains data corresponding with first keyword from the target index relative.
Alternatively, the server matched in index relative target index relative corresponding with first keyword it Before, methods described also includes:
The server obtains multiple keywords for establishing the index relative from the data of network, the multiple Keyword is respectively the word that web search frequency is higher than second predetermined threshold value, and the multiple keyword includes described second Keyword;
The server searches for number corresponding with each keyword difference in the multiple keyword from the database According to;
The server establishes the described of each keyword data corresponding with each keyword difference respectively Index relative.
Alternatively, the server obtains multiple keyword bags for establishing the index relative from the data of network Include:
The server is obtained for establishing the index by HyperText Preprocessor PHP language from the data of network Multiple keywords of relation.
Alternatively, the server establishes each keyword data corresponding with each keyword difference respectively The index relative after, methods described also includes:
The server periodically obtains the keyword increased newly in network;
The server establishes corresponding relation of the newly-increased keyword with corresponding data, to obtain comprising described new The index relative of the keyword of increasing.
As can be seen that the embodiment of the present application has advantages below from such scheme:Server can be in the present embodiment Store and target index relative corresponding to the first keyword of client acquisition is matched in the index text of index relative, then Server obtains data corresponding to the first keyword in target index relative;Server matches is the first pass in the present embodiment Target index relative corresponding to keyword, because target index relative can be default higher than second previously according to search rate on network The keyword generation of threshold value, so can be from target index relative directly during data corresponding to server the first keyword of acquisition Obtain, save the time of the first keyword corresponding data of retrieval, improve recall precision.
The embodiment of the present application second aspect provides a kind of index relative method for building up, including:
Server obtains multiple keywords for establishing index relative, the multiple keyword point from the data of network Not Wei web search frequency be higher than predetermined threshold value word;
The server searches for data corresponding with each keyword difference in the multiple keyword from database;
The server establishes the described of each keyword data corresponding with each keyword difference respectively Index relative.
Alternatively, the server obtains from the data of network includes for establishing multiple keywords of index relative:
The server is obtained for establishing index relative by HyperText Preprocessor PHP language from the data of network Multiple keywords.
Alternatively, the server establishes each keyword data corresponding with each keyword difference respectively The index relative after, methods described also includes:
The server periodically obtains the keyword increased newly in network;
The server establishes corresponding relation of the newly-increased keyword with corresponding data, to obtain comprising described new The index relative of the keyword of increasing.
As can be seen that the embodiment of the present application has advantages below from such scheme:Server can be obtained periodically The newly-increased keyword that heat is searched on network, server can establish newly-increased keyword corresponding data according to newly-increased keyword Corresponding relation, server upgrade in time index relative, so that including the pass of focus newest in current network in index relative Index relative corresponding to keyword, ensure that in index relative contain current hottest point data, when server get it is to be retrieved After keyword, server can directly match the target index relative of keyword to be retrieved so that user can be with most quick Mode retrieve current maximally effective data.
The embodiment of the present application third aspect provides a kind of server, and the server has the clothes for realizing above-mentioned first aspect The function of business device behavior.The function can be realized by hardware, and corresponding software can also be performed by hardware and is realized, the hardware Or software includes one or more modules corresponding with above-mentioned function phase.
The embodiment of the present application fourth aspect provides a kind of server, and the server, which has, to be realized and taken in above-mentioned second aspect The function of business device behavior.The function can be realized by hardware, and corresponding software can also be performed by hardware and is realized, the hardware Or software includes one or more modules corresponding with above-mentioned function phase.
The aspect of the embodiment of the present application the 5th provides a kind of computer-readable storage medium, and the computer-readable storage medium is used to store For the computer software instructions used in the server of above-mentioned first aspect, it includes being used to perform the server institute for first aspect The program of design.
The aspect of the embodiment of the present application the 6th provides a kind of computer-readable storage medium, and the computer-readable storage medium is used to store For the computer software instructions used in the server of above-mentioned second aspect, it includes being used to perform the server institute for second aspect The program of design.
The aspect of the embodiment of the present application the 7th provides a kind of computer program product, and the computer program product includes calculating Machine software instruction, the computer software instructions can be loaded by processor to realize the method stream in above-mentioned first aspect Journey.
The embodiment of the present application eighth aspect provides a kind of computer program product, and the computer program product includes calculating Machine software instruction, the computer software instructions can be loaded by processor to realize the method stream in above-mentioned second aspect Journey.
Brief description of the drawings
Fig. 1 is data retrieval system block schematic illustration in the embodiment of the present application;
Fig. 2 is one embodiment schematic diagram of data retrieval method in the embodiment of the present application;
Fig. 3 is another embodiment schematic diagram of data retrieval method in the embodiment of the present application;
Fig. 4 is one embodiment schematic diagram of index relative method for building up in the embodiment of the present application;
Fig. 5 is another embodiment schematic diagram of index relative method for building up in the embodiment of the present application;
Fig. 6 is one embodiment schematic diagram of server in the embodiment of the present application;
Fig. 7 is another embodiment schematic diagram of server in the embodiment of the present application;
Fig. 8 is another embodiment schematic diagram of server in the embodiment of the present application.
Embodiment
The embodiment of the present application provides a kind of data retrieval method, index relative method for building up and server, for examining Data in rope database, improve the efficiency of data retrieval.
The embodiment of the present application can be applied to data retrieval system block schematic illustration as shown in Figure 1, the data retrieval system In framework, mainly it is made up of client 101, server 102 and database 103 etc..
The major function of client 101 is that the keyword and server of the data for needing to retrieve are inputted for receiving user Output of 102 results etc..
The major function of server 102 is data base administration, including system configuration and management, data access are with updating pipe Reason, data integrity management and data security management;Then the number of the keyword query database inputted according to client 101 According to and operating function, the function include database retrieval and modification;Database maintenance function, including data importing/export management, Database structure maintenance, data recovery function and performance monitoring;Data base concurrency is run, due in same time, access data User's more than one in storehouse, so server 102 can support parallel operating mechanism, occur while handling multiple events.
The major function of database 103 is to come the warehouse of tissue, storage and management data according to data structure, in database Data by numerous users share its information and establish, different users can by respective usage use database in Data;Multiple users can simultaneously in shared data bank data resource, i.e., different users can access database simultaneously In same data;Data sharing not only meets requirement of each user to the information content, while also meets each user Between information communicate requirement.
Based on above-mentioned system framework, referring to Fig. 2, in the embodiment of the present application data retrieval method one embodiment bag Include:
201st, server obtains the first keyword;
When user needs to retrieve the data of its needs, client obtains the first keyword of user's input, client The first keyword is sent to server, now, server obtains the first keyword, and the first keyword is used to retrieve the number in number storehouse According to herein specifically, the database can be the database of search engine or the database of website, not limit.
202nd, server matches target index relative corresponding with first keyword in index relative;
After server gets the first keyword, index relative that server can be in index text be pre-established In match target index relative corresponding to the first keyword, the index text is to system data according to the keyword on network The data in storehouse carry out what matching treatment obtained, and the target index relative is the second keyword data corresponding with second keyword Corresponding relation, the similarity of the first keyword and the second keyword is more than the first predetermined threshold value, and the network of the second keyword is searched Rope frequency is higher than the second predetermined threshold value, and specifically the first keyword and the similarity of the second keyword can be similar on the meaning of a word The similarity of word or the word of the first keyword and the second keyword word itself, is not limited herein.
It should be noted that the search rate of the second keyword can be the search frequency of search engine in the embodiment of the present application The search rate of rate or the second keyword in website is searched for, is not limited herein.
203rd, server obtains data corresponding with the first keyword from target index relative;
After server confirms target index relative corresponding to the first keyword, server can be directly from target rope Draw and data corresponding to the first keyword are obtained in relation, it is necessary to illustrate, it is crucial that first is stored in the target index relative Data corresponding to information corresponding to word and the first keyword.
As can be seen that the present embodiment has advantages below from such scheme:Server can store in the present embodiment Target index relative corresponding to the first keyword obtained from client is matched in the index text of index relative, then takes Business device obtains data corresponding to the first keyword in target index relative;Server matches is first crucial in the present embodiment Target index relative corresponding to word, because target index relative can be previously according to search rate on network higher than the second default threshold The keyword generation of value, so can be from target index relative directly when data corresponding to server the first keyword of acquisition Obtain, save the time of the first keyword corresponding data of retrieval, improve recall precision.
A kind of data retrieval method is described from the angle of server above, below with the example in practical application to this Shen Please embodiment be described in detail, refer to Fig. 3, another embodiment of data retrieval method includes in the embodiment of the present application:
301st, server obtains multiple keywords for establishing index relative from the data of network;
The content in server based on data storehouse, writes script, is obtained by PHP language from internet in the data of network Multiple keywords for searching of heat on major ranking website, the second keyword is included in the plurality of keyword.
It should be noted that the search rate of the plurality of keyword is higher than the second predetermined threshold value in the present embodiment, such as can To be the multiple keywords of multiple keywords or search rate more than 100 times of 100 before each site search frequency, Do not limit herein.
302nd, server searches for data corresponding with each keyword difference in multiple keywords from database;
After server gets multiple keywords, server can be searched for from database with it is every in multiple keywords Data corresponding to individual keyword difference, specifically, server can be carried out the data in each keyword and system database Matching treatment, so as to obtain data corresponding to each keyword difference.
303rd, server establishes the index relative of each keyword data corresponding with each keyword difference respectively;
When server search go out each keyword respectively corresponding to data after, server establish respectively each keyword with The index relative of data corresponding to each keyword difference, specifically, server will can count corresponding to each keyword difference According to index relative storage be saved in index text.
It should be noted that index relative is corresponding with each keyword comprising each key word information in the embodiment of the present application Data.
304th, server periodically obtains the keyword increased newly in network;
Because the information in network is Protean, so the keyword that heat is searched on network is also according to current network Focus and change, in order to which user can get the data of actual effect, server can periodically be obtained by PHP language The keyword increased newly in network, the web search frequency of the newly-increased keyword are equally above the word of the second predetermined threshold value, Specifically, server can obtain the keyword increased newly in network according to the periodicity of time, for example, obtaining again in each week Take the keyword increased newly in primary network.
305th, server establishes the index relative of each keyword data corresponding with each keyword difference respectively;
In order to ensure that system data can generate accurate index relative according to newly-increased keyword, when server gets net After the keyword increased newly in network, server is according to newly-increased keyword to original data, newly-increased number in system database According to this and expired data are updated, and specifically, server can be by each newly-increased keyword and system database Data are matched, so as to obtain corresponding relation of each newly-increased keyword with corresponding data, so that in index relative Include the index relative of newly-increased keyword.
It should be noted that in the present embodiment, when in database data renewal (original data, newly-increased data with And expired data) after, server can carry out multiple keywords of foregoing acquisition the data in matching database again, Regenerate index relative.
306th, server obtains the first keyword;
307th, server matches target index relative corresponding with the first keyword in index relative;
308th, server obtains data corresponding with the first keyword from target index relative;
In the present embodiment, step 306 to step 308 and the step 201 in foregoing embodiment illustrated in fig. 2 to step 203 class Seemingly, here is omitted.
309th, server sends data corresponding to the first keyword to client;
After server gets data corresponding to the first keyword, server can send the by network to client Data corresponding to one keyword, to allow client to show data corresponding to the first keyword to user.
The present embodiment has advantages below:Server can periodically obtain the newly-increased keyword that heat is searched on network, Server can establish the corresponding relation of newly-increased keyword corresponding data according to newly-increased keyword, and server upgrades in time rope Draw relation, so that be ensure that in index relative comprising index relative corresponding to the newly-increased keyword that heat is searched in current network Data containing current hotspot in index relative, user can retrieve maximally effective information with most quick way.
The embodiment in actual applications of data retrieval method is described above is, index relative method for building up is entered below Row description, referring to Fig. 4, one embodiment of index relative method for building up includes in the embodiment of the present application:
401st, server obtains multiple keywords for establishing index relative from the data of network;
The content in server based on data storehouse, writes script, is obtained by PHP language from internet in the data of network For establishing multiple keywords of index relative, specifically, the plurality of keyword can be the word that the heat of major ranking website is searched Language.
It should be noted that the search rate of the plurality of keyword is higher than predetermined threshold value in the present embodiment, such as can be The word of word or search rate more than 100 times of 100, is not limited herein before each site search frequency.
402nd, server searches for data corresponding with each keyword difference in multiple keywords from database;
After server gets multiple keywords, server can be searched for from database with it is every in multiple keywords Data corresponding to individual keyword difference, specifically, server can be carried out the data in each keyword and system database Matching treatment, so as to obtain data corresponding to each keyword difference.
403rd, server establishes the index relative of each keyword data corresponding with each keyword difference respectively;
When server search go out each keyword respectively corresponding to data after, server establish respectively each keyword with The index relative of data corresponding to each keyword difference, specifically, server will can count corresponding to each keyword difference According to index relative storage be saved in index text.
It should be noted that index relative is corresponding with each keyword comprising each key word information in the embodiment of the present application Data.
The present embodiment has advantages below:Server can obtain current search frequency in advance in the data of network and be higher than Multiple keywords of predetermined threshold value, it is corresponding respectively with each keyword that server establishes each keyword in multiple keywords respectively Data index relative;After server gets keyword to be retrieved, server can directly match key to be retrieved The target index relative of word, data corresponding with keyword to be retrieved are then obtained from index relative, save user search The time of data, improve recall precision.
A kind of index relative method for building up is described from the angle of server above, below with example in practical application to this Application embodiment is described in detail, and refer to Fig. 5, another embodiment of index relative method for building up in the embodiment of the present application Including:
501st, server obtains multiple keywords for establishing index relative from the data of network;
502nd, server searches for data corresponding with each keyword difference in multiple keywords from database;
503rd, server establishes the index relative of each keyword data corresponding with each keyword difference respectively;
In the present embodiment, step 501 to step 503 and the step 401 in foregoing embodiment illustrated in fig. 4 to step 403 class Seemingly, here is omitted.
504th, server periodically obtains the keyword increased newly in network;
505th, server establishes corresponding relation of the newly-increased keyword with corresponding data, to obtain comprising newly-increased key The index relative of word;
In the present embodiment, step 504 to step 505 and the step 304 in foregoing embodiment illustrated in fig. 3 to step 305 class Seemingly, here is omitted.
The present embodiment has advantages below:Server can periodically obtain the newly-increased keyword that heat is searched on network, Server can establish the corresponding relation of newly-increased keyword corresponding data according to newly-increased keyword, and server upgrades in time rope Draw relation, so that index relative corresponding to the keyword comprising focus newest in current network in index relative, ensure that Contain the data of current hottest point in index relative, after server gets keyword to be retrieved, server can be direct Match the target index relative of keyword to be retrieved so that user can retrieve current maximally effective number with most quick way According to.
The data retrieval method in the embodiment of the present application and index relative method for building up are described above, below Server in the embodiment of the present application is described, referring to Fig. 6, in the embodiment of the present application server one embodiment bag Include:
First acquisition unit 601, for obtaining the first keyword, first keyword is used for the number of searching database According to;
Matching unit 602, for matching target index relative corresponding with first keyword, institute in index relative Corresponding relation of the target index relative for the second keyword with corresponding data is stated, first keyword is crucial with described second The similarity of word is more than the first predetermined threshold value, and the web search frequency of second keyword is higher than the second predetermined threshold value;
Second acquisition unit 603, for obtaining number corresponding with first keyword from the target index relative According to.
In the present embodiment, server also includes:
3rd acquiring unit 604, for obtaining multiple keys for establishing the index relative from the data of network Word, the multiple keyword be respectively web search frequency be higher than second predetermined threshold value word, the multiple keyword Include second keyword;
Search unit 605, it is right respectively with each keyword in the multiple keyword for being searched for from the database The data answered;
First establishes unit 606, corresponding respectively for establishing each keyword and each keyword respectively The index relative of data.
In the present embodiment, the 3rd acquiring unit 604 is specifically used for passing through number of the HyperText Preprocessor PHP language from network According to the middle multiple keywords obtained for establishing the index relative.
In the present embodiment, server also includes:
4th acquiring unit 607, for periodically obtaining the keyword increased newly in network;
Second establishes unit 608, for establishing corresponding relation of the newly-increased keyword with corresponding data, to obtain Include the index relative of the newly-increased keyword.
In the present embodiment, the 4th acquiring unit 607 can periodically obtain the newly-increased keyword that heat is searched on network, the Two establish unit 608 can establish the corresponding relation of newly-increased keyword corresponding data according to newly-increased keyword, server and Shi Gengxin index relatives, so that index relative corresponding to the newly-increased keyword that heat is searched in current network is included in index relative, The data for containing current hottest point in index relative are ensure that, user can retrieve maximally effective letter with most quick way Breath.
Server data retrieval side in the embodiment of the present application is described above, below in the embodiment of the present application Server index relative is established side and is described, referring to Fig. 7, in the embodiment of the present application server another embodiment bag Include:
First acquisition unit 701, for obtaining multiple keywords for establishing index relative, institute from the data of network It is respectively the word that web search frequency is higher than predetermined threshold value to state multiple keywords;
Search unit 702, it is corresponding respectively for the search from database and each keyword in the multiple keyword Data;
Unit 703 is established, for establishing each keyword data corresponding with each keyword difference respectively The index relative.
In the present embodiment, first acquisition unit 701 is specifically used for passing through number of the HyperText Preprocessor PHP language from network According to the middle multiple keywords obtained for establishing index relative.
In the present embodiment, server also includes:
Second acquisition unit 704, for periodically obtaining the keyword increased newly in network;
Second establishes unit 705, for establishing corresponding relation of the newly-increased keyword with corresponding data, to obtain Include the index relative of the newly-increased keyword.
The present embodiment has advantages below:Second acquisition unit 704 can periodically obtain on network heat search it is newly-increased Keyword, second, which establishes unit 705, can establish the corresponding of newly-increased keyword corresponding data according to newly-increased keyword and close System, server upgrade in time index relative, so that including the keyword pair of focus newest in current network in index relative The index relative answered, it ensure that the data containing current hotspot in index relative.
Referring to Fig. 8, another embodiment of server includes in the embodiment of the present application:
The server 800 can produce bigger difference because configuration or performance are different, can include one or one with Upper central processing unit (central processing units, CPU) 801 (for example, one or more processors) and deposit Reservoir 805, one or more application program or data are stored with the memory 805.
Wherein, memory 805 can be volatile storage or persistently storage.Being stored in the program of memory 805 can wrap One or more modules are included, each module can include operating the series of instructions in server.Further, in Central processor 801 be could be arranged to communicate with memory 805, and the series of instructions in memory 805 is performed on server 800 Operation.
Server 800 can also include one or more power supplys 802, one or more wired or wireless networks Interface 803, one or more input/output interfaces 804, and/or, one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
In the present embodiment, the flow performed by central processing unit 801 in server 800 is with earlier figures 2 to shown in Fig. 5 Method flow described in embodiment is similar, and here is omitted.
The embodiment of the present application also provides a kind of computer-readable storage medium, and the computer-readable storage medium is used to save as foregoing clothes The computer software instructions being engaged in used in device, it includes being used to perform the program designed by server.
The embodiment of the present application also provides a kind of computer program product, and the computer program product refers to including computer software Order, the computer software instructions can be loaded by processor to realize the method in earlier figures 2 to the embodiment shown in Fig. 5 Flow.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the technical scheme of the application is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the application Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
Described above, above example is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to before Embodiment is stated the application is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application.

Claims (16)

  1. A kind of 1. data retrieval method, it is characterised in that including:
    Server obtains the first keyword, and first keyword is used for the data of searching database;
    The server matches target index relative corresponding with first keyword, the target index in index relative Relation is the similarity of corresponding relation of second keyword with corresponding data, first keyword and second keyword More than the first predetermined threshold value, the web search frequency of second keyword is higher than the second predetermined threshold value;
    The server obtains data corresponding with first keyword from the target index relative.
  2. 2. according to the method for claim 1, its feature is being, the server match and described the in index relative Before target index relative corresponding to one keyword, methods described also includes:
    The server obtains multiple keywords for establishing the index relative, the multiple key from the data of network Word is respectively the word that web search frequency is higher than second predetermined threshold value, and it is crucial that the multiple keyword includes described second Word;
    The server searches for data corresponding with each keyword difference in the multiple keyword from the database;
    The server establishes the index of each keyword data corresponding with each keyword difference respectively Relation.
  3. 3. according to the method for claim 2, it is characterised in that the server is obtained from the data of network for establishing Multiple keywords of the index relative include:
    The server is obtained for establishing the index relative by HyperText Preprocessor PHP language from the data of network Multiple keywords.
  4. 4. according to the method in claim 2 or 3, it is characterised in that the server establishes each keyword respectively After each keyword respectively index relative of corresponding data, methods described also includes:
    The server periodically obtains the keyword increased newly in network;
    The server establishes corresponding relation of the newly-increased keyword with corresponding data, to obtain comprising described newly-increased The index relative of keyword.
  5. A kind of 5. index relative method for building up, it is characterised in that including:
    Server obtains multiple keywords for establishing index relative from the data of network, and the multiple keyword is respectively Web search frequency is higher than the word of predetermined threshold value;
    The server searches for data corresponding with each keyword difference in the multiple keyword from database;
    The server establishes the index of each keyword data corresponding with each keyword difference respectively Relation.
  6. 6. according to the method for claim 5, it is characterised in that the server is obtained from the data of network for establishing Multiple keywords of index relative include:
    The server is obtained for establishing the more of index relative by HyperText Preprocessor PHP language from the data of network Individual keyword.
  7. 7. the method according to claim 5 or 6, it is characterised in that the server establishes each keyword respectively After each keyword respectively index relative of corresponding data, methods described also includes:
    The server periodically obtains the keyword increased newly in network;
    The server establishes corresponding relation of the newly-increased keyword with corresponding data, to obtain comprising described newly-increased The index relative of keyword.
  8. A kind of 8. server, it is characterised in that including:
    First acquisition unit, for obtaining the first keyword, first keyword is used for the data of searching database;
    Matching unit, for matching target index relative corresponding with first keyword, the target in index relative Index relative is the second keyword and the corresponding relation of corresponding data, the phase of first keyword and second keyword It is more than the first predetermined threshold value like degree, the web search frequency of second keyword is higher than the second predetermined threshold value;
    Second acquisition unit, for obtaining data corresponding with first keyword from the target index relative.
  9. 9. server according to claim 8, its feature is being, the server also includes:
    3rd acquiring unit, it is described for obtaining multiple keywords for establishing the index relative from the data of network Multiple keywords are respectively the word that web search frequency is higher than second predetermined threshold value, and the multiple keyword includes described Second keyword;
    Search unit, for the search number corresponding with each keyword difference in the multiple keyword from the database According to;
    First establishes unit, for establishing the institute of each keyword data corresponding with each keyword difference respectively State index relative.
  10. 10. server according to claim 9, it is characterised in that the 3rd acquiring unit is specifically used for by super literary This preprocessor PHP language obtains multiple keywords for establishing the index relative from the data of network.
  11. 11. the server according to claim 9 or 10, it is characterised in that the server also includes:
    4th acquiring unit, for periodically obtaining the keyword increased newly in network;
    Second establishes unit, for establishing corresponding relation of the newly-increased keyword with corresponding data, to obtain including institute State the index relative of newly-increased keyword.
  12. A kind of 12. server, it is characterised in that including:
    First acquisition unit, it is the multiple for obtaining multiple keywords for establishing index relative from the data of network Keyword is respectively the word that web search frequency is higher than predetermined threshold value;
    Search unit, for the search data corresponding with each keyword difference in the multiple keyword from database;
    Unit is established, for establishing the rope of each keyword data corresponding with each keyword difference respectively Draw relation.
  13. 13. server according to claim 12, it is characterised in that the first acquisition unit is specifically used for by super literary This preprocessor PHP language obtains multiple keywords for establishing index relative from the data of network.
  14. 14. the server according to claim 12 or 13, it is characterised in that the server also includes:
    Second acquisition unit, for periodically obtaining the keyword increased newly in network;
    Second establishes unit, for establishing corresponding relation of the newly-increased keyword with corresponding data, to obtain including institute State the index relative of newly-increased keyword.
  15. A kind of 15. server, it is characterised in that including:Memory, transceiver and at least one processor, in the memory It is stored with instruction;The memory, the transceiver and at least one processor are interconnected by circuit;
    At least one processor calls the instruction, and perform claim is required in method described in 1 to 7 any one in the clothes The Message Processing or control operation that business device side is carried out.
  16. A kind of 16. computer-readable recording medium, it is characterised in that including instructing, when the instruction is run on computers, So that the method any one of computer perform claim requirement 1 to 7.
CN201711050366.XA 2017-10-31 2017-10-31 Data retrieval method, index relative method for building up and server Pending CN107704628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711050366.XA CN107704628A (en) 2017-10-31 2017-10-31 Data retrieval method, index relative method for building up and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711050366.XA CN107704628A (en) 2017-10-31 2017-10-31 Data retrieval method, index relative method for building up and server

Publications (1)

Publication Number Publication Date
CN107704628A true CN107704628A (en) 2018-02-16

Family

ID=61176509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711050366.XA Pending CN107704628A (en) 2017-10-31 2017-10-31 Data retrieval method, index relative method for building up and server

Country Status (1)

Country Link
CN (1) CN107704628A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446417A (en) * 2018-10-12 2019-03-08 武汉朴琢知识产权咨询服务有限公司 A kind of intellectualized retrieval method and apparatus
CN112905610A (en) * 2021-01-30 2021-06-04 铁道警察学院 Big data screening model and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102135974A (en) * 2010-08-06 2011-07-27 华为软件技术有限公司 Data source selecting method and system
CN103678694A (en) * 2013-12-26 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for establishing reverse index file of video resources
CN103699640A (en) * 2013-12-24 2014-04-02 乐视网信息技术(北京)股份有限公司 Method, device and system for searching multimedia resources
US20160110366A1 (en) * 2003-10-30 2016-04-21 Motedata Inc. Method and System for Storing, Retrieving, and Managing Data for Tags
CN106407362A (en) * 2016-09-08 2017-02-15 福建中金在线信息科技有限公司 Keyword information retrieval method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160110366A1 (en) * 2003-10-30 2016-04-21 Motedata Inc. Method and System for Storing, Retrieving, and Managing Data for Tags
CN102135974A (en) * 2010-08-06 2011-07-27 华为软件技术有限公司 Data source selecting method and system
CN103699640A (en) * 2013-12-24 2014-04-02 乐视网信息技术(北京)股份有限公司 Method, device and system for searching multimedia resources
CN103678694A (en) * 2013-12-26 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for establishing reverse index file of video resources
CN106407362A (en) * 2016-09-08 2017-02-15 福建中金在线信息科技有限公司 Keyword information retrieval method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109446417A (en) * 2018-10-12 2019-03-08 武汉朴琢知识产权咨询服务有限公司 A kind of intellectualized retrieval method and apparatus
CN112905610A (en) * 2021-01-30 2021-06-04 铁道警察学院 Big data screening model and method

Similar Documents

Publication Publication Date Title
Xie et al. Federatedscope: A flexible federated learning platform for heterogeneity
US11301452B2 (en) Storing and verification of derivative work data on blockchain with original work data
Awad et al. Prediction of user's web-browsing behavior: Application of markov model
Fan et al. Association rules with graph patterns
Baldominos et al. A scalable machine learning online service for big data real-time analysis
CN104158840B (en) A kind of method of Distributed Calculation node of graph similarity
US20190213485A1 (en) Systems and methods for generating and communicating application recommendations at uninstall time
CN105227352B (en) A kind of update method and device of user identifier collection
Gu et al. From server-based to client-based machine learning: A comprehensive survey
Munasinghe et al. Time score: A new feature for link prediction in social networks
US20200286146A1 (en) System and method for intelligent guided shopping
CN107291337A (en) A kind of method and device that Operational Visit is provided
CN103140850B (en) Data sharing in mobile device
CN107918658A (en) A kind of business opportunity generation method and system
Bei et al. Non-recursive cluster-scale graph interacted model for click-through rate prediction
CN107704628A (en) Data retrieval method, index relative method for building up and server
US10915557B2 (en) Product classification data transfer and management
CN102724290B (en) Method, device and system for getting target customer group
JP7221590B2 (en) Extraction device, extraction method, and extraction program
CN119782590A (en) Question and answer processing method, device, electronic device and storage medium based on large model
CN104268760B (en) A kind of user interest is obtained and transmission method and its system
CN108255888A (en) A kind of data processing method and system
CN106330559B (en) Complex network topologies calculation of characteristic parameters method and system based on MapReduce
KR101564616B1 (en) Method for analyzing big data based on association rule
US9536199B1 (en) Recommendations based on device usage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180216

WD01 Invention patent application deemed withdrawn after publication