CN103914479A - Resource request matching method and device - Google Patents

Resource request matching method and device Download PDF

Info

Publication number
CN103914479A
CN103914479A CN201310004211.8A CN201310004211A CN103914479A CN 103914479 A CN103914479 A CN 103914479A CN 201310004211 A CN201310004211 A CN 201310004211A CN 103914479 A CN103914479 A CN 103914479A
Authority
CN
China
Prior art keywords
matched rule
rule
resource request
keyword
website
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.)
Granted
Application number
CN201310004211.8A
Other languages
Chinese (zh)
Other versions
CN103914479B (en
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Beijing Cheetah Mobile Technology Co Ltd
Beijing Cheetah Network Technology Co Ltd
Zhuhai Baohaowan Technology Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Conew Network Technology Beijing Co Ltd
Shell Internet Beijing Security Technology Co Ltd
Beijing Kingsoft Internet Science and 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 Beijing Kingsoft Internet Security Software Co Ltd, Conew Network Technology Beijing Co Ltd, Shell Internet Beijing Security Technology Co Ltd, Beijing Kingsoft Internet Science and Technology Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201310004211.8A priority Critical patent/CN103914479B/en
Publication of CN103914479A publication Critical patent/CN103914479A/en
Application granted granted Critical
Publication of CN103914479B publication Critical patent/CN103914479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/951Indexing; Web crawling techniques

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 Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a device of a resource request matching method. The matching method of the resource request comprises the following steps: acquiring the characteristics of a resource request; loading matching rules corresponding to the characteristics of the resource request in a rule database, wherein the rule database is a database for classified storage of the matching rules in a browser; and matching the resource request by using the loaded matching rule. According to the invention, the problem of low processing efficiency when the resource requests are matched in the prior art is solved, and the effect of improving the matching efficiency of the resource requests is further achieved.

Description

The matching process of resource request and device
Technical field
The present invention relates to data processing field, in particular to a kind of matching process and device of resource request.
Background technology
Browser is analyzing web page code, and the instrument displaying it.Along with the development in epoch, user has abandoned the browser of single Trident kernel gradually, then selection speed is faster, the Webkit kernel browser that security is higher, so-called Trident kernel is exactly the kernel that IE browser uses, also be the kernel that a lot of browsers use, be commonly called IE kernel.The common browser of Trident kernel has: IE6, IE7, IE8(Trident4.0), IE9(Trident5.0), IE10(Trident6.0); Window on the World, 360 secure browsers, proud trip; Search dog browser; The TT of Tengxun; A Yun browser (earlier version), Baidu's browser (earlier version), Rising's secure browser etc.; So-called WebKit kernel is a browser engine of increasing income, it is burning the hotest current browser kernel, the browser of common WebKit kernel has: Apple Safari (Win/Mac/iPhone/iPad), Symbian mobile phone browser, Android default browser, Chrome browsers etc., cheetah browser is a double-core browser that simultaneously possesses Trident kernel and WebKit kernel.Then,, due to the problem of webpage compatibility, present browser needs two kernels jointly to exist often.In addition, current user has also had more functional requirement to browser, and these functions are closely associated to the processing of web page resources with browser, any function of browser is all optionally for the processing of web page resources, only processes the resource request matching with this function pre-defined rule.Therefore, the matching treatment of browser resource request has also just been become to common requisite part again in browser program.Prior art is in the time processing the resource request of requested webpage resource, generally, by certain pre-defined rule, resource request is carried out to matching treatment, concrete matching way is mainly character string matching method, , the master routine of browser can carry out complete coupling with the each rule character string in pre-defined rule by the resource address character string of resource request, the flow process of in prior art, the resource request of request Internet resources being carried out rule match has been shown in Fig. 1, as shown in Figure 1, this matching process need to be compared the resource request of browser and matched rule one by one, in the time comprising a large amount of asterisk wildcards or regular expression in rule, treatment effeciency is extremely low, during simultaneously due to processing, need to load all matched rules, therefore resource occupation is higher.
The low problem for the treatment of effeciency, not yet proposes effective solution at present when resource request being mated in prior art.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of matching process and device of resource request, the low problem for the treatment of effeciency when resource request coupling in prior art to solve.
To achieve these goals, according to an aspect of the present invention, provide a kind of matching process of resource request, having comprised: the feature of Gains resources request; The matched rule corresponding with the feature of resource request in loading rule database, wherein, rule database is to the classify database of storage of matched rule in browser; And utilize the matched rule loading to mate resource request.
Further, to matched rule classify storage comprise: receive matched rule; Obtain type, action scope and the keyword of matched rule, wherein, action scope is the domain name of the applicable loading of matched rule website, and loading website is the website of Web page loading resource; According to the type getting, matched rule is classified, and the corresponding relation of storage class and matched rule and type; According to the action scope getting, matched rule is classified, and the corresponding relation of memory action territory and matched rule and action scope; And according to the keyword getting, matched rule is classified, and store the corresponding relation of keyword and matched rule and keyword.
Further, obtain in the following manner the keyword of matched rule: read the character string that represents matched rule; In process, often read first character reading, the character string that represents matched rule is once cut apart, obtain multiple separating character strings, wherein, the first character is neither alphabetic character neither numerical character; Add up the number of the character amount of each separating character string; And the maximum separating character string of the definite character amount keyword that is matched rule.
Further, the feature of resource request comprises the territory of the website of initiating resource request, the type of web page resources that resource request is corresponding and the address information of the website of initiation resource request, wherein, in loading rule database, the matched rule corresponding with the feature of resource request comprises that at least one that adopt in following load mode loads: using the type of web page resources corresponding to resource request as index terms, and according to the corresponding matched rule of type of web page resources corresponding with resource request in types index mode loading rule database, wherein, types index loads matched rule according to the type of matched rule, using the territory of website of initiating resource request as index terms, and according to matched rule corresponding with the territory of website of initiating resource request in action scope indexed mode loading rule database, wherein, action scope index loads matched rule according to the action scope of matched rule, and using the address information of website of initiating resource request as index terms, and according to matched rule corresponding with the address information of website of initiating resource request in keyword index mode loading rule database, wherein, keyword index loads matched rule according to the keyword of matched rule.
Further, using the type of web page resources corresponding to resource request as index terms, and comprise according to the corresponding matched rule of type of web page resources corresponding with resource request in types index mode loading rule database: whether search rule database is to store the first kind in judgment rule database, wherein, the type of the first kind web page resources corresponding with resource request is identical; And if judge and store the first kind in rule database, obtain the action scope of the matched rule under the first kind in rule database, obtain the first action scope, using the territory of website of initiating resource request as index terms, and comprise according to matched rule corresponding with the territory of website of initiating resource request in action scope indexed mode loading rule database: judge in the first action scope, whether to comprise the first territory, wherein, the first territory is the territory of initiating the website of resource request; And if judge the first action scope and comprise the first territory, obtain the keyword that is applied to the matched rule in the first territory in rule database, obtain the first keyword, using the address information of website of initiating resource request as index terms, and comprise according to matched rule corresponding with the address information of website of initiating resource request in keyword index mode loading rule database: judge whether the first character string comprises the first keyword, wherein, the first character string is the character string that represents address information; And if judge the first character string and comprise the first keyword, the matched rule that comprises the first keyword in loading rule database.
Further, before obtaining the type of matched rule, action scope and keyword, matching process also comprises: the time attribute of obtaining the matched rule receiving; Obtain the time attribute of rule database; And whether moment corresponding to the time attribute of the matched rule that receives of judgement be after moment corresponding to the time attribute of rule database, wherein, the time attribute of the matched rule receiving if judge corresponding time be engraved in moment corresponding to the time attribute of rule database after, obtain type, action scope and the keyword of matched rule.
To achieve these goals, according to a further aspect in the invention, provide a kind of coalignment of resource request, this coalignment is for carrying out any matching process that foregoing of the present invention provides.
To achieve these goals, according to a further aspect in the invention, provide a kind of coalignment of resource request, having comprised: the first acquiring unit, for the feature of Gains resources request; Loading unit, for the loading rule database matched rule corresponding with the feature of resource request, wherein, rule database be in browser to matched rule classify storage database; And matching unit, for the matched rule that utilizes loading, resource request is mated.
Further, coalignment also comprises: receiving element, for receiving matched rule; Second acquisition unit, for obtaining type, action scope and the keyword of matched rule, wherein, action scope is the domain name of the applicable loading of matched rule website, loading website is the website of Web page loading resource; The first processing unit, for according to the type getting, matched rule being classified, and the corresponding relation of storage class and matched rule and type; The second processing unit, for according to the action scope getting, matched rule being classified, and the corresponding relation of memory action territory and matched rule and action scope; And the 3rd processing unit, for according to the keyword getting, matched rule being classified, and store the corresponding relation of keyword and matched rule and keyword.
Further, second acquisition unit comprises: read subelement, for reading the character string that represents matched rule; Cut apart subelement, for often reading first character in the process that reads, to representing that the character string of matched rule once cuts apart, obtain multiple separating character strings, wherein, the first character is neither alphabetic character neither numerical character; Statistics subelement, for add up each separating character string character amount number; And definite subelement, for the keyword of determining that the maximum separating character string of character amount is matched rule.
Further, the feature of resource request comprises the type of web page resources corresponding to territory, the resource request of the website of initiating resource request and initiates the address information of the website of resource request, wherein, loading unit comprises: first loads subelement, for using the type of web page resources corresponding to resource request as index terms, and according to the corresponding matched rule of type of web page resources corresponding with resource request in types index mode loading rule database, wherein, types index loads matched rule according to the type of matched rule; Second loads subelement, be used for the territory of the website to initiate resource request as index terms, and according to matched rule corresponding with the territory of website of initiating resource request in action scope indexed mode loading rule database, wherein, action scope index loads matched rule according to the action scope of matched rule; And the 3rd load subelement, be used for the address information of the website to initiate resource request as index terms, and according to matched rule corresponding with the address information of website of initiating resource request in keyword index mode loading rule database, wherein, keyword index loads matched rule according to the keyword of matched rule.
Further, the first loading unit comprises: the first judge module, whether store the first kind for search rule database with judgment rule database, and wherein, the type of the first kind web page resources corresponding with resource request is identical; And first acquisition module, for in the time judging rule database and store the first kind, obtain the action scope of the matched rule under the first kind in rule database, obtain the first action scope, the second loading unit comprises: the second judge module, be used for judging whether the first action scope comprises the first territory, wherein, the first territory is the territory of initiating the website of resource request; And second acquisition module, for in the time judging the first action scope and comprise the first territory, obtain the keyword that is applied to the matched rule in the first territory in rule database, obtain the first keyword, the 3rd loading unit comprises: the 3rd judge module, be used for judging whether the first character string comprises the first keyword, wherein, the first character string is the character string that represents address information; And load-on module, in the time judging the first character string and comprise the first keyword, the matched rule that comprises the first keyword in loading rule database.
By the present invention, adopt the feature of Gains resources request; The matched rule corresponding with the feature of resource request in loading rule database, wherein, rule database is to the classify database of storage of matched rule in browser; And utilize the matched rule loading to mate resource request.By in the time that resource request is carried out to rule match, obtain rule corresponding with the feature of resource request in rule base, realize and reduced the matching times of resource request being carried out to rule match, avoid successively resource request and strictly all rules in rule base being mated to caused treatment effeciency low, solve the low problem for the treatment of effeciency when resource request coupling in prior art, and then reached the effect that improves resource request matching efficiency.
Accompanying drawing explanation
The accompanying drawing that forms the application's a part is used to provide a further understanding of the present invention, and schematic description and description of the present invention is used for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the process flow diagram that according to correlation technique, resource request is carried out rule match;
Fig. 2 is according to the process flow diagram of the matching process of the embodiment of the present invention;
Fig. 3 is the process flow diagram that carries out matched rule classification storage according to the embodiment of the present invention;
Fig. 4 adopts the matching process of the embodiment of the present invention resource request to be carried out to the process flow diagram of rule match;
Fig. 5 is according to the schematic diagram of the coalignment of the embodiment of the present invention;
Fig. 6 is the schematic diagram of rule treatments unit in the coalignment of the embodiment of the present invention; And
Fig. 7 is the schematic diagram of requesting processing in the coalignment of the embodiment of the present invention.
Embodiment
It should be noted that, in the situation that not conflicting, the feature in embodiment and embodiment in the application can combine mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
The embodiment of the present invention provides a kind of matching process of resource request, below the matching process of resource request that the embodiment of the present invention is provided be specifically introduced:
Fig. 2 is according to the process flow diagram of the matching process of the embodiment of the present invention, and as shown in Figure 2, the method comprises that following step S201 is to step S203:
S201: the feature of Gains resources request, particularly, in the time that user opens webpage by browser, first browser can produce resource request, afterwards again by resource request being responded to obtain the web page resources corresponding with resource request, wherein, the feature of Gains resources request is mainly to obtain initiate the type of web page resources corresponding to territory, the resource request of website of resource request and initiate the address information of the website of resource request.
S202: the matched rule corresponding with the feature of resource request in loading rule database, wherein, rule database be in browser to matched rule classify storage database, that is, in loading rule database, there is the matched rule of corresponding relation with the feature of resource request.
S203: utilize the matched rule loading to mate resource request.Particularly, can adopt prior art any one carries out the method for matching treatment to resource request.
The matching process of the embodiment of the present invention is in the time carrying out rule match to resource request, by in the time that resource request is carried out to rule match, obtain rule corresponding with the feature of resource request in rule base, realize and reduced the matching times of resource request being carried out to rule match, avoid successively resource request and strictly all rules in rule base being mated to caused treatment effeciency low, solve the low problem for the treatment of effeciency when resource request coupling in prior art, and then reached the effect that improves resource request matching efficiency.
To adopt the complete matching process of character string in step S203, to utilize the matched rule loading that resource request is mated and illustrated:
First, obtain respectively the character string of the address information that represents resource request and the character string of the matched rule that expression loads, wherein, the character string that represents the address information of resource request is to initiate the corresponding character string in URL address of the website of resource request, and the character string that represents the matched rule loading is the coded string of the matched rule of loading.Wherein, if when the matched rule loading in step S202 comprises many matched rules, the character string that represents each matched rule is all obtained, obtained many character strings, matched rule of a string representation.
Then, whether the character string that judges the address information that represents resource request is identical with the character string that represents the matched rule loading,, whether the URL address character string that judges resource request is identical with the character string that represents the matched rule loading, wherein, if the matched rule loading in step S202 is many rules, the character string of the address information that represents resource request is contrasted to judge whether identical with each character string getting.
Finally, in the time that the character string of judging the address information that represents resource request is identical with the character string that represents the matched rule loading, determine that the matched rule of resource request and browser matches.If the matched rule loading in step S202 comprises many matched rules, the character string of the address information that represents resource request is being contrasted after judgement with each character string getting, if it is identical with the arbitrary character string in many character strings to judge the character string of the address information that represents resource request, determine that the matched rule of resource request and browser matches.
In the embodiment of the present invention to matched rule classify storage concrete disposal route shown in Figure 3, as shown in Figure 3:
First, receive the matched rule in browser, type, action scope and keyword to the matched rule receiving obtain, wherein, so-called type refers to the enumeration type of the predetermined coded string of program when matched rule is encoded, so-called action scope refers to matched rule need to come into force under what domain name,, the domain name of the adaptable loading of matched rule website is the action scope of this matched rule, the so-called website that loads refers to the website that web page resources is loaded, and the website of initiating in embodiments of the present invention resource request is one and loads website;
Then, storage after matched rule is classified, mainly according to following three kinds of modes, matched rule is classified, mode one: matched rule is classified according to the enumeration type getting, and the type that gets of storage and the corresponding relation of matched rule and type,, by the each rule corresponding stored in matched rule under the enumeration type of its ownership; Mode two: according to getting action scope, matched rule is classified, and the action scope that gets of storage and the corresponding relation of matched rule and action scope, that is, and by the each rule corresponding stored in matched rule under its applied action scope; Mode three: according to the keyword getting, matched rule is classified, and stores the corresponding relation of keyword and matched rule and keyword, that is, and by the each rule corresponding stored in matched rule under corresponding keyword.
Wherein, in embodiments of the present invention, action scope is divided into two kinds, one is specified domain, one is universe, wherein, and in the time that loading website is the arbitrary website in preassigned a part of website, matched rule A comes into force, and this part set of the domain name of appointed website is in advance the specified domain of matched rule A; When loading website whencesoever when website, matched rule B all comes into force, and the set of domains of all websites is the universe of matched rule B, and wherein, the matched rule coming into force under universe is across the board rule, and the matched rule coming into force under specified domain is specified domain rule.The enumeration type of the embodiment of the present invention comprises enumHTML(html document resources), enumCSS(CSS (cascading style sheet) resource), enumPicture(image resource), enumJS(script resource), enumObject(embedded object resource), enumXML(xml document resources), other undefined types of enumUndef(); The keyword of matched rule can be the short character strings in matched rule coded string,, by the character string that represents matched rule being cut apart to obtain the keyword of matched rule, concrete dividing method is: the character string that represents matched rule is read, in process, often read first character reading, the character string that represents matched rule is once cut apart, obtain multiple separating character strings, wherein, so-called the first character refers to the character except alphabetic character and numerical character; The number of then adding up character in each separating character string is how many; Finally determine the keyword that the maximum separating character string of character number is matched rule, wherein, if have the character number of two or more separating character strings to be N in multiple separating character strings, and the character number of other separating character string is all less than N,, the separating character string that in separating character string, character number is maximum is multiple, the keyword that the character string that definite any one character number is N is matched rule.Illustrate, the character string that represents certain matched rule is " abcde-fghij.klmnop.com/qrstuvw.html ", determines the keyword that " qrstuvw " is this matched rule.
Further, in the embodiment of the present invention, from rule database, loading at least one or the two kind modes with two or more combinations of the matched rule corresponding with the feature of resource request in comprising in such a way loads:
Mode one: using the type of web page resources corresponding to resource request as index terms, and according to the corresponding matched rule of type of web page resources corresponding with resource request in types index mode loading rule database, wherein, types index loads matched rule according to the type of matched rule, , from rule database, load the matched rule under the type identical with the type according to the type of web page resources corresponding to resource request, reach the not identical matched rule of type of avoiding loading the web page resources corresponding with resource request, reduce the heap(ed) capacity of matched rule.
Mode two: using the territory of website of initiating resource request as index terms, and according to matched rule corresponding with the territory of website of initiating resource request in action scope indexed mode loading rule database, wherein, action scope index loads matched rule according to the action scope of matched rule,, according to the territory of website of initiating resource request from rule database load application to the matched rule under this territory, reach and avoided loading the matched rule under the territory that cannot be applied to the website of initiating resource request, reduced the heap(ed) capacity of matched rule.
Mode three: using the address information of website of initiating resource request as index terms, and according to matched rule corresponding with the address information of website of initiating resource request in keyword index mode loading rule database, wherein, keyword index loads matched rule according to the keyword of matched rule, , load according to address information, the matched rule corresponding with the address information of website of initiating resource request meets: the keyword that represents to have in the character string of address information the matched rule of loading, this load mode has reached the heap(ed) capacity that reduces matched rule equally.
Preferably, above-mentioned three kinds of load modes can be combined with in embodiments of the present invention, particularly, carry out according to following load step:
First, rule database is searched in judgment rule database, whether store the first kind, wherein, the type of the first kind web page resources corresponding with resource request is identical, if can find the first kind from rule database, explanation is judged in rule database and is stored the matched rule that belongs to the first kind, in this case, action scope to the matched rule under the first kind in rule database is obtained, and obtains the first action scope;
Then, judge in the first action scope whether comprise the first territory, wherein, the first territory is the territory of initiating the website of resource request, comprise the first territory if judge the first action scope, the keyword of the matched rule that is applied to the first territory in rule database is obtained, obtain the first keyword;
Finally, judge whether the first character string comprises the first keyword, wherein, the first character string is the character string that represents address information, comprise the first keyword if judge the first character string, the matched rule that comprises the first keyword in rule database is loaded, that is, extract all complete rules that the first keyword is corresponding and load.Further, if the matched rule that is applied to the first territory has the words of many, the keyword getting can be multiple, , the first keyword comprises multiple keywords, judge in the first character string, whether to comprise the arbitrary keyword in multiple keywords for this kind of situation, comprise the arbitrary keyword in multiple keywords if judge the first character string, determine that the first character string comprises the first keyword, suppose that keyword that the first character string comprises is keyword K, from rule database, extracting all complete rules that keyword K is corresponding loads.
By adopting successively the type of web page resources corresponding to resource request, the territory of website of initiating described resource request and the address information of website of initiating resource request as index terms, matched rule in rule database is screened successively, finally load the matched rule that simultaneously meets above condition, realize the heap(ed) capacity of further minimizing matched rule, with follow-up when matched rule is mated with resource request, adopt the matched rule of less amount to mate, improve further matching efficiency.
It should be noted that, in embodiments of the present invention, adopt " first kind " such descriptive language, just for the type of web page resources corresponding resource request and other type are distinguished, is not that the order of the type to web page resources limits.Adopt reason and the above-mentioned explanation of the such descriptive language of " the first action scope ", " the first keyword " similar.
Can find out by above description, the matching process of the resource request of the embodiment of the present invention is mainly divided into two parts, a part is that the matched rule that the each function in browser is used is processed, another part is to utilize matched rule after treatment to carry out matching treatment to resource request, this two parts flow process is independently carried out in different phase respectively, be independent of each other, wherein, the classification of matched rule processed and carried out before the matching treatment of resource request.The embodiment of the present invention, by matched rule having been carried out to specific classification processing (dividing according to the characteristic such as type, action scope), in the time that a certain resource request is mated, only needs the specific matched rule of loading section at every turn; According to the treatment scheme of the embodiment of the present invention (shown in Figure 4), the no matter number of matched rule total quantity, every resource request only need be carried out 2-4 comparison in the situation that there is no repeated matching rule, can complete complete matching process, has reduced matching times; Traditional single regularly the resource request of browser is compared one by one with character string rule mate flow process, every needed comparison number of times of resource request is equal to regular total quantity substantially; The two is compared, and the matching process of the embodiment of the present invention has obviously improved matching efficiency.
Further, after receiving matched rule, and before obtaining the type of matched rule, action scope and keyword, the matching process of the embodiment of the present invention also comprises whether matched rule the judgement of revising is occurred to, illustrate herein a kind of judge matched rule whether occur revise method: first, time attribute to the matched rule receiving is obtained, and the time attribute of rule database is obtained; Then, whether moment corresponding to the time attribute of the matched rule that contrast judgement receives be after moment corresponding to the time attribute of rule database, if the former is after the latter, illustrate front and once matched rule is classified and stored into after rule database, having there is modification in matched rule, needs in this case the matched rule storage of again classifying; Once matched rule is classified and stored into after rule database if the former not after the latter, illustrates front, matched rule is not revised, in this case without storage that matched rule is classified again.
Wherein, in the matching process of the embodiment of the present invention, the type of web page resources corresponding to resource request is being determined and can adopted following methods to carry out: first obtaining and judge that the kernel type of generation resource request is Webkit kernel or Trident kernel producing the kernel type of resource request.It is the situation of Webkit kernel for browser kernel, when browser produces resource request by Webkit kernel, can make modification at encapsulated layer, it is adjusted back to processing function by the function such as ResourceDispatcherHostImpl::OnRequestResource, ResourceDispatcherHostImpl::BeginRequest in the time of request resource, due to Webkit kernel in inner predefine ResourceType, so resource type corresponding to the resource request producing for Webkit kernel browser can directly acquire; And be the situation of Trident kernel for browser kernel, determining of web page resources corresponding to resource request that this browser kernel is produced, can be by program registration " the asynchronous agreement of inserting " (Asynchronous Pluggable Protocol), all resources of this kernel requests are adjusted back to program via the function such as COInetProt::StartEx, CInternetProtocolFilter::Start, obtain the address information of all resource request with this, and classify and obtain the type of the web page resources of asking by the extension name information to this address information.
The embodiment of the present invention also provides a kind of coalignment of resource request, below this being specifically introduced of coupling of resource request that the embodiment of the present invention is provided:
Fig. 5 is according to the schematic diagram of the coalignment of the embodiment of the present invention, and as shown in Figure 5, the coalignment of this embodiment comprises the first acquiring unit 10, loading unit 20 and matching unit 30.
Particularly, the first acquiring unit 10 is for the feature of Gains resources request, particularly, in the time that user opens webpage by browser, first browser can produce resource request, afterwards again by resource request being responded to obtain the web page resources corresponding with resource request, wherein, the feature of Gains resources request is mainly obtain the type of web page resources corresponding to territory, the resource request of the website of initiating resource request and initiate the address information of the website of resource request.
Loading unit 20 is for the loading rule database matched rule corresponding with the feature of resource request, wherein, rule database be in browser to matched rule classify storage database, that is, in loading rule database, there is the matched rule of corresponding relation with the feature of resource request.
Matching unit 30 mates resource request for the matched rule that utilizes loading.Particularly, can adopt prior art any one carries out the method for matching treatment to resource request.
The coalignment of the embodiment of the present invention is in the time carrying out rule match to resource request, by in the time that resource request is carried out to rule match, obtain rule corresponding with the feature of resource request in rule base, realize and reduced the matching times of resource request being carried out to rule match, avoid successively resource request and strictly all rules in rule base being mated to caused treatment effeciency low, solve the low problem for the treatment of effeciency when resource request coupling in prior art, and then reached the effect that improves resource request matching efficiency.
Matching unit 30 utilizes the matching process that the matched rule loading mates resource request to be:
First, obtain respectively the character string of the address information that represents resource request and the character string of the matched rule that expression loads, wherein, the character string that represents the address information of resource request is to initiate the corresponding character string in URL address of the website of resource request, and the character string that represents the matched rule loading is the coded string of the matched rule of loading.Wherein, if when the matched rule loading in loading unit 20 comprises many matched rules, the character string that represents each matched rule is all obtained, obtain many character strings, matched rule of a string representation.
Then, whether the character string that judges the address information that represents resource request is identical with the character string that represents the matched rule loading,, whether the URL address character string that judges resource request is identical with the character string that represents the matched rule loading, wherein, if the matched rule loading in loading unit 20 is many rules, the character string of the address information that represents resource request is contrasted to judge whether identical with each character string getting.
Finally, if it is identical with the character string that represents the matched rule loading to judge the character string of the address information that represents resource request, determine that the matched rule of resource request and browser matches.If the matched rule loading in loading unit 20 comprises many matched rules, the character string of the address information that represents resource request is being contrasted after judgement with each character string getting, if it is identical with the arbitrary character string in many character strings to judge the character string of the address information that represents resource request, determine that the matched rule of resource request and browser matches.
In the embodiment of the present invention matched rule being classified to when storage, can adopt the rule treatments unit in coalignment to process, wherein, the schematic diagram of rule treatments unit is shown in Figure 6, as shown in Figure 6, rule treatments unit comprises original regular reading unit, indexing units and fast table output unit, wherein, original regular reading unit (, receiving element) read for the matched rule with browser, indexing units is for processing matched rule, fast table output unit is the unit that the Output rusults of indexing units is stored, that is to say rule database.Wherein, indexing units is mainly processed matched rule by second acquisition unit and the first to the 3rd processing unit:
Particularly, second acquisition unit is for obtaining type, action scope and the keyword of matched rule, wherein, so-called type refers to the enumeration type of the predetermined coded string of program when matched rule is encoded, so-called action scope refers to matched rule need to come into force under what domain name,, the domain name of the adaptable loading of matched rule website is the action scope of this matched rule, the so-called website that loads refers to the website that web page resources is loaded, and the website of initiating in embodiments of the present invention resource request is one and loads website; The first processing unit is for classifying to matched rule according to the enumeration type getting, and the type that gets of storage and the corresponding relation of matched rule and type, that is, by the each rule corresponding stored in matched rule under the enumeration type of its ownership; The second processing unit is for classifying to matched rule according to getting action scope, and the action scope that gets of storage and the corresponding relation of matched rule and action scope, that is, by the each rule corresponding stored in matched rule under its applied action scope; The 3rd processing unit is for classifying to matched rule according to the keyword getting, and stores the corresponding relation of keyword and matched rule and keyword, that is, by the each rule corresponding stored in matched rule under corresponding keyword.Wherein, second acquisition unit reads the character string that represents matched rule by reading subelement, in process, often read first character reading, by cutting apart subelement, the character string that represents matched rule is once cut apart, obtain multiple separating character strings, wherein, so-called the first character refers to the character except alphabetic character and numerical character; Then add up the number of character in each separating character string by statistics subelement how many; Finally by the keyword of determining that separating character string that subelement determines that character number is maximum is matched rule.
In the embodiment of the present invention in the time that matched rule is loaded, can adopt the requesting processing in coalignment to process, wherein, the schematic diagram of requesting processing is shown in Figure 7, as shown in Figure 7, requesting processing comprises type matching unit, action scope matching unit and keyword matching unit.
Wherein, type matching unit is also referred to as the first loading subelement, be mainly used in the type of the web page resources corresponding using resource request as index terms, and according to matched rule corresponding with the type of the web page resources of resource request request in types index mode loading rule database, wherein, types index loads matched rule according to the type of matched rule, , from rule database, load the matched rule under the type identical with the type according to the type of web page resources corresponding to resource request, reach the not identical matched rule of type of avoiding loading the web page resources corresponding with resource request, reduce the heap(ed) capacity of matched rule.
Action scope matching unit is also referred to as the second loading subelement, be mainly used in the territory of the website of initiating resource request as index terms, and according to matched rule corresponding with the territory of website of initiating resource request in action scope indexed mode loading rule database, wherein, action scope index loads matched rule according to the action scope of matched rule, , according to the territory of website of initiating resource request from rule database load application to the matched rule under this territory, reach and avoided loading the matched rule under the territory that cannot be applied to the website of initiating resource request, reduce the heap(ed) capacity of matched rule.
Keyword matching unit loads subelement also referred to as the 3rd, be mainly used in the address information of the website of initiating resource request as index terms, and according to matched rule corresponding with the address information of website of initiating resource request in keyword index mode loading rule database, wherein, keyword index loads matched rule according to the keyword of matched rule, , load according to address information, the matched rule corresponding with the address information of website of initiating resource request meets: the keyword that represents to have in the character string of address information the matched rule of loading, this load mode has reached the heap(ed) capacity that reduces matched rule equally.
Further, type matching unit in the embodiment of the present invention, action scope matching unit and keyword matching unit can combine the loading of carrying out matched rule, particularly, be used for searching and whether storing and the first kind from rule database according to the type of web page resources corresponding to resource request (hereinafter referred to as the first kind) by the first judge module in the first loading subelement, judge if search and in rule database, store the first kind, explanation is judged and in rule database, is stored the matched rule that belongs to the first kind, now, by the first acquisition module in the first loading subelement, the action scope of the matched rule under the first kind in rule database is obtained, obtain the first action scope, then search to judge in the first action scope, whether to comprise the first territory by the second judge module in the second loading subelement, wherein, the first territory is the territory of initiating the website of resource request, comprise the first territory if judge the first action scope, by the second acquisition module in the second loading subelement, the keyword of the matched rule that is applied to the first territory in rule database is obtained, obtain the first keyword, finally, judge by the 3rd the 3rd judge module loading in subelement whether the first character string comprises the first keyword, wherein, the first character string is the character string that represents address information, comprise the first keyword if judge the first character string, by the 3rd load-on module loading in subelement, the matched rule that comprises the first keyword in rule database is loaded, that is, extract all complete rules that the first keyword is corresponding and load.
By adopting successively type matching unit, action scope matching unit and keyword matching unit to screen successively the matched rule in rule database, finally load the matched rule that simultaneously meets above condition, realize the heap(ed) capacity of further minimizing matched rule, with follow-up when matched rule is mated with resource request, adopt the matched rule of less amount to mate, improve further matching efficiency.
As can be seen from the above description, the present invention has realized the matching times of every resource request of great minimizing, promotes matching speed; While is because original match rule treatments is separated independently and carried out with resource matched processing procedure, and each matched rule loading that needs greatly reduces in resource matched process, and therefore, in matching process, the resource occupation of program also significantly reduces.Use method of the present invention, especially, in the time that browser is processed ample resources matching request, can greatly improve routine processes speed, reduce program CPU(Central Processing Unit, central processing unit) and memory source take.
It should be noted that, can in the computer system such as one group of computer executable instructions, carry out in the step shown in the process flow diagram of accompanying drawing, and, although there is shown logical order in flow process, but in some cases, can carry out shown or described step with the order being different from herein.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on the network that multiple calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in memory storage and be carried out by calculation element, or they are made into respectively to each integrated circuit modules, or the multiple modules in them or step are made into single integrated circuit module to be realized.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (11)

1. a matching process for resource request, is characterized in that, comprising:
The feature of Gains resources request;
The matched rule corresponding with the feature of described resource request in loading rule database, wherein, described rule database is to the classify database of storage of matched rule in browser; And
Utilize the matched rule loading to mate described resource request.
2. matching process according to claim 1, is characterized in that, matched rule is classified to store to be comprised:
Receive described matched rule;
Obtain type, action scope and the keyword of described matched rule, wherein, described action scope is the domain name of the applicable loading of described matched rule website, and described loading website is the website of Web page loading resource;
According to the type getting, described matched rule is classified, and store the corresponding relation of described type and described matched rule and described type;
According to the action scope getting, described matched rule is classified, and store the corresponding relation of described action scope and described matched rule and described action scope; And
According to the keyword getting, described matched rule is classified, and store the corresponding relation of described keyword and described matched rule and described keyword.
3. matching process according to claim 2, is characterized in that, obtains in the following manner the keyword of described matched rule:
Read the character string that represents described matched rule;
Often read first character reading in process, the character string that represents described matched rule is once cut apart, obtain multiple separating character strings, wherein, described the first character is neither alphabetic character neither numerical character;
Add up the number of the character amount of each separating character string; And
Determine the keyword that separating character string that character amount is maximum is described matched rule.
4. matching process according to claim 2, it is characterized in that, the feature of described resource request comprises the type of web page resources corresponding to the territory of the website of initiating described resource request, described resource request and initiates the address information of the website of described resource request, wherein, in loading rule database, the matched rule corresponding with the feature of described resource request comprises that at least one that adopt in following load mode loads:
Using the type of web page resources corresponding to described resource request as index terms, and load the corresponding matched rule of type of web page resources corresponding with described resource request in described rule database according to types index mode, wherein, described types index loads described matched rule according to the type of described matched rule;
Using the territory of website of initiating described resource request as index terms, and load in described rule database the matched rule corresponding with the territory of website of initiating described resource request according to action scope indexed mode, wherein, described action scope index loads described matched rule according to the action scope of described matched rule; And
Using the address information of website of initiating described resource request as index terms, and load in described rule database the matched rule corresponding with the address information of website of initiating described resource request according to keyword index mode, wherein, described keyword index loads described matched rule according to the keyword of described matched rule.
5. matching process according to claim 4, is characterized in that,
Using the type of web page resources corresponding to described resource request as index terms, and comprise according to the corresponding matched rule of type that types index mode loads web page resources corresponding with described resource request in described rule database:
Search described rule database to judge in described rule database whether store the first kind, wherein, the type of the described first kind web page resources corresponding with described resource request is identical; And
If judge in described rule database and store the described first kind, obtain the action scope of the matched rule under the first kind described in described rule database, obtain the first action scope,
Using the territory of website of initiating described resource request as index terms, and load in described rule database the matched rule corresponding with the territory of website of initiating described resource request according to action scope indexed mode and comprise:
Judge in described the first action scope whether comprise the first territory, wherein, described the first territory is the territory of initiating the website of described resource request; And
Comprise described the first territory if judge described the first action scope, obtain the keyword that is applied to the matched rule in described the first territory in described rule database, obtain the first keyword,
Using the address information of website of initiating described resource request as index terms, and load in described rule database the matched rule corresponding with the address information of website of initiating described resource request according to keyword index mode and comprise:
Judge whether the first character string comprises described the first keyword, wherein, described the first character string is the character string that represents described address information; And
Comprise described the first keyword if judge described the first character string, load the matched rule that comprises described the first keyword in described rule database.
6. matching process according to claim 2, is characterized in that, before obtaining the type of described matched rule, action scope and keyword, described matching process also comprises:
Obtain the time attribute of the described matched rule receiving;
Obtain the time attribute of described rule database; And
Moment corresponding to the time attribute of the described matched rule that receives of judgement whether after moment corresponding to the time attribute of described rule database,
Wherein, the time attribute of the described matched rule receiving if judge corresponding time be engraved in moment corresponding to the time attribute of described rule database after, obtain type, action scope and the keyword of described matched rule.
7. a coalignment for resource request, is characterized in that, comprising:
The first acquiring unit, for the feature of Gains resources request;
Loading unit, for the loading rule database matched rule corresponding with the feature of described resource request, wherein, described rule database be in browser to matched rule classify storage database; And
Matching unit, mates described resource request for the matched rule that utilizes loading.
8. coalignment according to claim 7, is characterized in that, described coalignment also comprises:
Receiving element, for receiving described matched rule;
Second acquisition unit, for obtaining type, action scope and the keyword of described matched rule, wherein, described action scope is the domain name of the applicable loading of described matched rule website, described loading website is the website of Web page loading resource;
The first processing unit, classifies to described matched rule for the type according to getting, and stores the corresponding relation of described type and described matched rule and described type;
The second processing unit, classifies to described matched rule for the action scope according to getting, and stores the corresponding relation of described action scope and described matched rule and described action scope; And
The 3rd processing unit, classifies to described matched rule for the keyword according to getting, and stores the corresponding relation of described keyword and described matched rule and described keyword.
9. coalignment according to claim 8, is characterized in that, described second acquisition unit comprises:
Read subelement, for reading the character string that represents described matched rule;
Cut apart subelement, for often reading first character in the process that reads, the character string that represents described matched rule is once cut apart, obtain multiple separating character strings, wherein, described the first character is neither alphabetic character neither numerical character;
Statistics subelement, for add up each separating character string character amount number; And
Determine subelement, for the keyword of determining that the maximum separating character string of character amount is described matched rule.
10. coalignment according to claim 8, it is characterized in that, the feature of described resource request comprises the type of web page resources corresponding to the territory of the website of initiating described resource request, described resource request and initiates the address information of the website of described resource request, wherein, described loading unit comprises:
First loads subelement, for using the type of web page resources corresponding to described resource request as index terms, and load the corresponding matched rule of type of web page resources corresponding with described resource request in described rule database according to types index mode, wherein, described types index loads described matched rule according to the type of described matched rule;
Second loads subelement, be used for the territory of the website to initiate described resource request as index terms, and load in described rule database the matched rule corresponding with the territory of website of initiating described resource request according to action scope indexed mode, wherein, described action scope index loads described matched rule according to the action scope of described matched rule; And
The 3rd loads subelement, be used for the address information of the website to initiate described resource request as index terms, and load in described rule database the matched rule corresponding with the address information of website of initiating described resource request according to keyword index mode, wherein, described keyword index loads described matched rule according to the keyword of described matched rule.
11. coalignments according to claim 10, is characterized in that,
Described the first loading unit comprises:
The first judge module, for searching described rule database to judge whether described rule database stores the first kind, wherein, the type of the described first kind web page resources corresponding with described resource request is identical; And
The first acquisition module, in the time judging described rule database and store the described first kind, obtains the action scope of the matched rule under the first kind described in described rule database, obtains the first action scope,
Described the second loading unit comprises:
The second judge module, for judging whether described the first action scope comprises the first territory, wherein, described the first territory is the territory of initiating the website of described resource request; And
The second acquisition module, in the time judging described the first action scope and comprise described the first territory, obtains the keyword that is applied to the matched rule in described the first territory in described rule database, obtains the first keyword,
Described the 3rd loading unit comprises:
The 3rd judge module, for judging whether the first character string comprises described the first keyword, wherein, described the first character string is the character string that represents described address information; And
Load-on module, in the time judging described the first character string and comprise described the first keyword, loads the matched rule that comprises described the first keyword in described rule database.
CN201310004211.8A 2013-01-06 2013-01-06 Resource request matching method and device Active CN103914479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310004211.8A CN103914479B (en) 2013-01-06 2013-01-06 Resource request matching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310004211.8A CN103914479B (en) 2013-01-06 2013-01-06 Resource request matching method and device

Publications (2)

Publication Number Publication Date
CN103914479A true CN103914479A (en) 2014-07-09
CN103914479B CN103914479B (en) 2017-12-01

Family

ID=51040171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310004211.8A Active CN103914479B (en) 2013-01-06 2013-01-06 Resource request matching method and device

Country Status (1)

Country Link
CN (1) CN103914479B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426474A (en) * 2015-11-18 2016-03-23 福建星网锐捷网络有限公司 URL (Uniform Resource Locator) matching method and device
CN106528895A (en) * 2016-12-29 2017-03-22 重庆南华中天信息技术有限公司 CSS resource front-end display device
CN107423037A (en) * 2016-03-09 2017-12-01 阿里巴巴集团控股有限公司 Application programming interfaces localization method and equipment
CN107786529A (en) * 2016-08-31 2018-03-09 阿里巴巴集团控股有限公司 The detection method of website, apparatus and system
CN108256044A (en) * 2018-01-12 2018-07-06 武汉斗鱼网络科技有限公司 Direct broadcasting room recommends method, apparatus and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020099813A1 (en) * 2000-12-04 2002-07-25 Jason Winshell Method for collecting statistics about Web site usage
CN1953455A (en) * 2006-11-15 2007-04-25 北京北大方正电子有限公司 A method, module and server to control access to network resource
CN101030228A (en) * 2007-03-28 2007-09-05 华为技术有限公司 Page navigation method and device, and applied server
CN101132404A (en) * 2007-09-14 2008-02-27 腾讯科技(深圳)有限公司 Web page contents step presentation system and method thereof
CN101179472A (en) * 2007-05-31 2008-05-14 腾讯科技(深圳)有限公司 Network resource searching method and searching system
CN101309214A (en) * 2008-06-24 2008-11-19 华为技术有限公司 Method and device for controlling network resource access
CN101655868A (en) * 2009-09-03 2010-02-24 中国人民解放军信息工程大学 Network data mining method, network data transmitting method and equipment
CN101727447A (en) * 2008-10-10 2010-06-09 浙江搜富网络技术有限公司 Generation method and device of regular expression based on URL
CN101763357A (en) * 2008-11-13 2010-06-30 北京搜狗科技发展有限公司 Method and system for browser to load internet resources
CN102004789A (en) * 2010-12-07 2011-04-06 苏州迈科网络安全技术股份有限公司 Application method of uniform/universal resource locator (URL) filter system
CN102722563A (en) * 2012-05-31 2012-10-10 优视科技有限公司 Method and device for displaying page
CN102739679A (en) * 2012-06-29 2012-10-17 东南大学 URL(Uniform Resource Locator) classification-based phishing website detection method
CN102789502A (en) * 2012-07-17 2012-11-21 北京奇虎科技有限公司 Method and device for scanning website

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020099813A1 (en) * 2000-12-04 2002-07-25 Jason Winshell Method for collecting statistics about Web site usage
CN1953455A (en) * 2006-11-15 2007-04-25 北京北大方正电子有限公司 A method, module and server to control access to network resource
CN101030228A (en) * 2007-03-28 2007-09-05 华为技术有限公司 Page navigation method and device, and applied server
CN101179472A (en) * 2007-05-31 2008-05-14 腾讯科技(深圳)有限公司 Network resource searching method and searching system
CN101132404A (en) * 2007-09-14 2008-02-27 腾讯科技(深圳)有限公司 Web page contents step presentation system and method thereof
CN101309214A (en) * 2008-06-24 2008-11-19 华为技术有限公司 Method and device for controlling network resource access
CN101727447A (en) * 2008-10-10 2010-06-09 浙江搜富网络技术有限公司 Generation method and device of regular expression based on URL
CN101763357A (en) * 2008-11-13 2010-06-30 北京搜狗科技发展有限公司 Method and system for browser to load internet resources
CN101655868A (en) * 2009-09-03 2010-02-24 中国人民解放军信息工程大学 Network data mining method, network data transmitting method and equipment
CN102004789A (en) * 2010-12-07 2011-04-06 苏州迈科网络安全技术股份有限公司 Application method of uniform/universal resource locator (URL) filter system
CN102722563A (en) * 2012-05-31 2012-10-10 优视科技有限公司 Method and device for displaying page
CN102739679A (en) * 2012-06-29 2012-10-17 东南大学 URL(Uniform Resource Locator) classification-based phishing website detection method
CN102789502A (en) * 2012-07-17 2012-11-21 北京奇虎科技有限公司 Method and device for scanning website

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426474A (en) * 2015-11-18 2016-03-23 福建星网锐捷网络有限公司 URL (Uniform Resource Locator) matching method and device
CN105426474B (en) * 2015-11-18 2019-03-01 福建星网锐捷网络有限公司 The matched method and device of uniform resource position mark URL
CN107423037A (en) * 2016-03-09 2017-12-01 阿里巴巴集团控股有限公司 Application programming interfaces localization method and equipment
CN107786529A (en) * 2016-08-31 2018-03-09 阿里巴巴集团控股有限公司 The detection method of website, apparatus and system
CN106528895A (en) * 2016-12-29 2017-03-22 重庆南华中天信息技术有限公司 CSS resource front-end display device
CN108256044A (en) * 2018-01-12 2018-07-06 武汉斗鱼网络科技有限公司 Direct broadcasting room recommends method, apparatus and electronic equipment

Also Published As

Publication number Publication date
CN103914479B (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN107145496B (en) Method for matching image with content item based on keyword
US10452691B2 (en) Method and apparatus for generating search results using inverted index
CN109614569B (en) Page rendering method and device and intelligent terminal
US8903800B2 (en) System and method for indexing food providers and use of the index in search engines
JP6203374B2 (en) Web page style address integration
US8131753B2 (en) Apparatus and method for accessing and indexing dynamic web pages
WO2017071189A1 (en) Webpage access method, apparatus, device and non-volatile computer storage medium
JP6720626B2 (en) Removal of outdated items in curated content
US20130073536A1 (en) Indexing of urls with fragments
JP6165955B1 (en) Method and system for matching images and content using whitelist and blacklist in response to search query
CN105205080B (en) Redundant file method for cleaning, device and system
JP6363682B2 (en) Method for selecting an image that matches content based on the metadata of the image and content
CN107491465B (en) Method and apparatus for searching for content and data processing system
CN105550206B (en) The edition control method and device of structured query sentence
US9454535B2 (en) Topical mapping
US20200142674A1 (en) Extracting web api endpoint data from source code
CN103914479A (en) Resource request matching method and device
EP2457185A2 (en) Method and system for document indexing and data querying
US20160306893A1 (en) Url purification method and url purification apparatus
WO2017063596A1 (en) Method, apparatus and device for processing sitemap
CA3149710A1 (en) Data collecting method, device, computer equipment and storage medium
EP2638484B1 (en) Dynamic image result stitching
CN110990701B (en) Book searching method, computing device and computer storage medium
CN107784054B (en) Page publishing method and device
JP2019144823A (en) Information acquisition program, information acquisition method, and information acquisition device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100022 the 12 level of Fuxing International Center, 237 Chaoyang North Road, Chaoyang District, Beijing.

Co-patentee after: Beijing Cheetah Network Technology Co.,Ltd.

Patentee after: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Co-patentee after: Beijing Cheetah Mobile Technology Co.,Ltd.

Co-patentee after: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 100022 the 12 level of Fuxing International Center, 237 Chaoyang North Road, Chaoyang District, Beijing.

Co-patentee before: BEIJING KINGSOFT NETWORK TECHNOLOGY Co.,Ltd.

Patentee before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Co-patentee before: SHELL INTERNET (BEIJING) SECURITY TECHNOLOGY Co.,Ltd.

Co-patentee before: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181214

Address after: Room 105-53967, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Leopard Fun Technology Co.,Ltd.

Address before: 100022 the 12 level of Fuxing International Center, 237 Chaoyang North Road, Chaoyang District, Beijing.

Co-patentee before: Beijing Cheetah Network Technology Co.,Ltd.

Patentee before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Co-patentee before: Beijing Cheetah Mobile Technology Co.,Ltd.

Co-patentee before: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.