CN106445700A - Method and device for uniform resource locator (URL) matching - Google Patents
Method and device for uniform resource locator (URL) matching Download PDFInfo
- Publication number
- CN106445700A CN106445700A CN201610834335.2A CN201610834335A CN106445700A CN 106445700 A CN106445700 A CN 106445700A CN 201610834335 A CN201610834335 A CN 201610834335A CN 106445700 A CN106445700 A CN 106445700A
- Authority
- CN
- China
- Prior art keywords
- url
- force
- main
- middleware
- sub
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000006870 function Effects 0.000 claims description 53
- 230000008569 process Effects 0.000 claims description 23
- 238000002372 labelling Methods 0.000 claims description 17
- 238000010200 validation analysis Methods 0.000 claims description 13
- 230000008878 coupling Effects 0.000 claims description 11
- 238000010168 coupling process Methods 0.000 claims description 11
- 238000005859 coupling reaction Methods 0.000 claims description 11
- 230000004075 alteration Effects 0.000 claims description 9
- 239000000203 mixture Substances 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 3
- 238000012546 transfer Methods 0.000 abstract description 2
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000007792 addition Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/547—Messaging middleware
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a method and device for uniform resource locator (URL) matching. The method and device for URL matching are applied to a web server. The method comprises the step of performing inverted sequence matching on a first URL carried in a hyper text transfer protocol (HTTP) request and a main URL of added first middleware according to a mode of first adding and then matching middleware, wherein the added first middleware comprises first middleware corresponding to a code file after URL update. Through the method and device for URL matching, the updated URL can take effect under the conditions that the web server is not restarted.
Description
Technical field
The present invention relates to network communication technology field, more particularly, to a kind of URL matching process and device.
Background technology
Using based on NodeJS platform Express framework realize Web server in, additions and deletions or modification one
URL (Uniform Resoure Locator, uniform resource locator) and its function, need to restart Web server and could give birth to
Effect.
But, Web server restart the normal use that can affect login user, for example, go offline, re-authentication etc..
When user's execution important operation, for example, during payment, restart and may result in payment error, after user profile loss etc. is serious
Really.
Content of the invention
It is an object of the invention to provide a kind of URL matching process and device, in order in the situation not restarting Web server
Lower dynamic renewal URL.
For achieving the above object, the invention provides technical scheme:
The present invention provides a kind of URL matching process, is applied to Web server, methods described includes:
Update URL code file according to predetermined URL alteration ruler;
According to default come into force strategy come into force update after URL code file, and add and described update after URL code
Corresponding first middleware of file;
Receive HTTP request, described HTTP request carries a URL;
First add the mode first mated according to middleware by the main URL of a described URL and the second middleware of interpolation
Order is mated;When matching the main URL of the first labelling, according to add after middleware the mode first mated by a described URL with
The main URL backward of the first middleware of interpolation is mated, and wherein, described first middleware is route middleware, in described second
Between part be except route middleware in addition to other middlewares.
The present invention also provides a kind of URL coalignment, is applied to Web server, and described device includes:
Updating block, for updating URL code file according to predetermined URL alteration ruler;
Validation unit, for according to default come into force strategy come into force update after URL code file, and add with described more
Corresponding first middleware of URL code file after new;
Receiving unit, for receiving HTTP request, described HTTP request carries a URL;
Matching unit, for first adding the mode first mated by a described URL and the second of interpolation according to middleware
The main URL order of middleware is mated;When matching the main URL of the first labelling, will according to adding the mode first mated after middleware
A described URL is mated with the main URL backward of the first middleware of interpolation, and wherein, described first middleware is in the middle of route
Part, described second middleware is the other middlewares in addition to route middleware.
By above description as can be seen that the present invention made by backward matching way after add the first middleware main URL
Priority match, so that the URL after updating can come into force in the case of not restarting Web server.
Brief description
Fig. 1 is the URL matching process flow chart shown in the embodiment of the present invention;
Fig. 2 is that the URL code file shown in the embodiment of the present invention comes into force flow chart;
Fig. 3 is the URL coupling flow process specific example shown in the embodiment of the present invention;
Fig. 4 is the structural representation of the Web server shown in the embodiment of the present invention;
Fig. 5 is the structural representation of the URL coalignment shown in the embodiment of the present invention.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, the present invention.
It is the purpose only merely for description specific embodiment in terminology used in the present invention, and be not intended to be limiting the present invention.
" a kind of ", " described " and " being somebody's turn to do " of singulative used in the present invention and appended claims is also intended to including most
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps
Containing one or more associated any or all possible combination listing project.
It will be appreciated that though various information may be described using term first, second, third, etc. in the present invention, but this
A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from
In the case of the scope of the invention, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
The present invention proposes a kind of URL matching process, the first middleware that the method is added after being made by backward matching way
Main URL priority match so that update after URL can come into force in the case of not restarting Web server.
Referring to Fig. 1, it is an embodiment flow chart of URL matching process of the present invention, this flow process comprises the steps:
Step 101, updates URL code file according to URL alteration ruler.
The URL alteration ruler of the present invention is to be changed based on main URL, specially:
1) increase URL newly
When increasing main URL newly, realized using existing mode;When increasing sub- URL newly, increase identical main URL newly, this newly-increased master
Comprise in URL to increase newly in sub- URL, and the power function of the sub- URL of acquiescence of newly-increased main URL and never call next function.
2) delete URL
When deleting main URL, increase identical main URL newly, this increases newly in main URL and only comprises to give tacit consent to sub- URL, the sub- URL of this acquiescence
Power function in never call next function;When deleting sub- URL, increase the main URL of main URL identical with sub- URL to be deleted newly,
This increases newly and comprises URL with sub- URL identical to be deleted in main URL, and the power function of this sub- URL is sky, and increases main URL's newly
Next function is never called in the power function giving tacit consent to sub- URL.
3) change URL
When changing URL, increase identical main URL newly, change the power function of sub- URL to be modified, this increases the acquiescence of main URL newly
Next function is never called in the power function of sub- URL.
So far, complete URL code file to update.
After completing the renewal of URL code file, by the corresponding labelling of URL code file after URL information write and renewal
File, this URL information includes URL code directory, come into force labelling and URL path, in case making when follow-up URL code file comes into force
With.
Step 102, according to default come into force strategy come into force update after URL code file, and add with described update after
Corresponding first middleware of URL code file.
The strategy that comes into force of the present invention can be:
1) locally regularly come into force
According to specified time or time interval, the URL code file coming into force after updating.
2) validation instructions receiving browser transmission come into force
Receive the HTTP message (carrying validation instructions) that browser sends, triggering Web server is to the URL code after updating
File comes into force.
3) signal that comes into force that receiving terminal apparatus send comes into force
Terminal device logs, to Web server, send the signal that comes into force, and triggering comes into force to the URL code file after updating.
Web server can select arbitrary strategy that comes into force according to the actual requirements, controls coming into force opportunity of URL code file.Tool
The body process that comes into force is as follows:
Obtain the default strategy that comes into force.When satisfaction is preset and come into force strategy, the URL code file reading after updating is corresponding
Tab file.
When coming into force in tab file is labeled as coming into force, illustrates that URL code file updates and complete, executable file adds
Carry, at this time, it may be necessary to the URL code file after whether having loaded and updated under the URL code directory of record in judge mark file
There is the URL code file of same file name, when loading the URL code file of same file name, delete URL code file
Corresponding caching, loads the URL code file after updating.
After completing the loading of URL code file, obtain the URL path of record in tab file, add under this URL path
With corresponding first middleware of URL code file after renewal, that is, load URL and its corresponding function function after updating.
Step 103, receives HTTP (Hyper Text Transfer Protocol, HTML (Hypertext Markup Language)) request.
The URL of user's request, the referred to as the first URL is carried in this HTTP request.
Step 104, first adds the mode first mated by second middleware of a described URL and interpolation according to middleware
Main URL order mate;When matching the main URL of the first labelling, according to adding the mode first mated after middleware by described
One URL is mated with the main URL backward of the first middleware of interpolation.
The present invention is based on Express framework and realizes, and this Express framework mainly calls process HTTP to ask by middleware
Ask.Middleware in Express framework is divided in the middle of the first middleware and second by the present invention, and wherein, the first middleware refers to
Route middleware, the second middleware refers to the other middlewares in addition to route middleware.
Default priority of the present invention adds the second middleware, for example, certification middleware etc., then, adds the first middleware.
After HTTP request is received by step 103, obtain the URL that HTTP request carries, according to middleware first
Add the mode first mated to mate a URL with the main URL order of the second middleware of interpolation.
When matching the main URL of the first labelling (for the original position of labelling first middleware), add according to after middleware
Plus first a URL is mated by the mode mated with the main URL backward of the first middleware of interpolation, that is, from last add first
The main URL of middleware starts to mate.When the match is successful for the main URL of the first middleware of rear interpolation, to previous interpolation
The main URL coupling of the first middleware, by that analogy, until matching the second labelling main URL (knot for labelling first middleware
Beam position), or, as the main URL of a certain first middleware of successful match, in the power function of the sub- URL of acquiescence of this main URL
Do not call next function, now, terminate coupling flow process.
It can be seen from the above description that because the present invention updates URL code file by the way of increasing identical main URL newly,
Therefore, the order of addition of this newly-increased corresponding first middleware of main URL is after corresponding first middleware of former main URL.When this
When the main URL of the first middleware is mated in invention using backward mode, priority match to newly-increased main URL, this increases the acquiescence of main URL newly
Sub- URL (give tacit consent to sub- URL usual based on the sub- URL of last in URL, sub- URL follows order matching way) power function
In do not call next function, therefore, former main URL will not be matched, be equivalent to deletion former main URL so that Web server is no
Need to restart, you can realize URL and update.Simultaneously as the present invention does not really delete former main URL, therefore, both made to increase main URL newly
Come into force, the HTTP request having mated former main URL before coming into force may proceed to process, and will not interrupt.
URL matching process will be illustrated with a specific embodiment below.
It is assumed that original main URL ("/urln ") is designated as main URLn, the sub- URL ("/child1 ") in main URLn to be changed
Power function, then increase newly identical main URL ("/urln "), be designated as main URLn+1, the sub- URL's ("/child1 ") of main URLn+1
Power function is to never call next letter in amended power function, and the power function of the sub- URL of acquiescence ("/") of main URLn+1
Number.New URL code file is generated based on above-mentioned modification.
Referring to Fig. 2, it is that URL code file comes into force flow process.Come into force as a example strategy by timing, when timing then, read
The corresponding tab file of URL code file after renewal, this tab file record URL path, URL code directory and the mark that comes into force
Note.When being labeled as coming into force when coming into force, judge whether to have loaded under URL code directory with update after URL code file there is phase
With the URL code file of filename, if loaded, after deleting caching, load the URL code file after updating.Then, exist
Add the URL code file corresponding route middleware after updating under URL path.Referring to Fig. 3, it is URL coupling flow process.Wherein,
Route middleware 2 is the new middleware adding of modification for aforementioned sub- URL ("/child1 "), and this middleware is currently last
The middleware of one interpolation.
As user input "/urln/child1 ", the Web server other middlewares 1 of order coupling, other first is middle
The main URL of part m, then, sequentially matches the main URL1 of labelling, shows the coupling starting to route middleware, now, using backward
Formula formula, starts to mate from the main URLn+1 of the last route middleware 2 adding, the match is successful, sequentially for main URL ("/urln ")
Mate sub- URL, when matching acquiescence sub- URL ("/"), never call next letter due in the power function of the sub- URL of acquiescence ("/")
Number, therefore, will not mate the main URLn ("/urln ") of route middleware 1 again, terminate coupling flow process.
It is assumed that user input "/urlx/child1 ", then, when executing coupling flow process shown in Fig. 3, cannot mate into all the time
Work(, therefore, when backward matches the main URL2 of labelling, terminates coupling flow process.
So far, complete the description of specific embodiment.
Corresponding with the embodiment of aforementioned URL matching process, present invention also offers the embodiment of URL coalignment.
The embodiment of URL coalignment of the present invention can be applied on Web server.Device embodiment can pass through software
Realize it is also possible to be realized by way of hardware or software and hardware combining.As a example implemented in software, as on a logical meaning
Device, be to be formed by corresponding computer program instructions in the processor run memory of its place equipment.From hardware
For aspect, as shown in figure 4, being a kind of hardware structure diagram of URL coalignment place of the present invention equipment, except shown in Fig. 4
Outside processor and nonvolatile memory, in embodiment device be located equipment generally according to this equipment actual functional capability,
Other hardware can also be included, this is repeated no more.
Refer to Fig. 5, be the structural representation of the URL coalignment in one embodiment of the invention.This URL coalignment
Including updating block 501, validation unit 502, receiving unit 503 and matching unit 504, wherein:
Updating block 501, for updating URL code file according to predetermined URL alteration ruler;
Validation unit 502, for being come into force the URL code file after updating according to the default strategy that comes into force, and adds and institute
State corresponding first middleware of the URL code file after renewal;
Receiving unit 503, for receiving HTTP request, described HTTP request carries a URL;
Matching unit 504, for first adding the mode first mated by the of a described URL and interpolation according to middleware
The main URL order of two middlewares is mated;When matching the main URL of the first labelling, according to adding the mode first mated after middleware
A described URL is mated with the main URL backward of the first middleware of interpolation, wherein, described first middleware is in route
Between part, described second middleware be except route middleware in addition to other middlewares.
Further, described device also includes:
Writing unit, for the URL code literary composition after described validation unit 502 comes into force renewal according to the default strategy that comes into force
Before part, by URL information write and the corresponding tab file of URL code file after renewal, described URL information includes URL generation
Code catalogue and the labelling that comes into force;
Described validation unit 502, specifically for obtaining the default strategy that comes into force;When meet described in come into force strategy when, read
The corresponding tab file of URL code file after renewal;When described come into force be labeled as coming into force when, judge described URL code directory
Under whether loaded with update after URL code file there is the URL code file of same file name;When described URL code mesh
Loaded under record same file name URL code file when, delete the corresponding caching of URL code file, after loading described renewal
URL code file;URL information in described tab file also includes URL path, after adding under described URL path and updating
Corresponding first middleware of URL code file.
Further, the described strategy that comes into force, including:
Locally regularly come into force;Or,
The validation instructions receiving browser transmission come into force;Or,
The signal that comes into force that receiving terminal apparatus send comes into force.
Further,
Described updating block 501, specifically for when deleting main URL, increasing identical main URL newly, this increases newly in main URL and only wraps
Containing giving tacit consent to sub- URL, in the power function of the sub- URL of this acquiescence, never call next function;When deleting sub- URL, newly-increased and to be deleted
The main URL of main URL identical of sub- URL, this increases newly and comprises URL with sub- URL identical to be deleted, the work(of this sub- URL in main URL
Can function be sky, and never call next function in the power function of the sub- URL of acquiescence of newly-increased main URL.
Further,
Described updating block 501, specifically for when changing URL, increasing identical main URL newly, changes the work(of sub- URL to be modified
Energy function, never calls next function in the power function of the sub- URL of acquiescence of this newly-increased main URL;When increasing sub- URL newly, newly-increased phase
With main URL, this increases newly to comprise in main URL to increase newly in sub- URL, and the power function of the sub- URL of acquiescence of newly-increased main URL and never calls
Next function.
In said apparatus, the process of realizing of the function of unit and effect specifically refers to corresponding step in said method
Realize process, will not be described here.
For device embodiment, because it corresponds essentially to embodiment of the method, thus real referring to method in place of correlation
The part applying example illustrates.Device embodiment described above is only schematically, wherein said as separating component
The unit illustrating can be or may not be physically separate, as the part that unit shows can be or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to actual
Need to select the purpose to realize the present invention program for some or all of module therein.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and to implement.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Within god and principle, any modification, equivalent substitution and improvement done etc., should be included within the scope of protection of the invention.
Claims (10)
1. a kind of uniform resource locator URL matching process, is applied to Web server it is characterised in that methods described includes:
Update URL code file according to predetermined URL alteration ruler;
According to default come into force strategy come into force update after URL code file, and add and described update after URL code file
Corresponding first middleware;
Receive HTTP request, described HTTP request carries a URL;
First add the mode first mated according to middleware by the main URL order of a described URL and the second middleware of interpolation
Coupling;When matching the main URL of the first labelling, according to add after middleware the mode first mated by a described URL with add
Plus the first middleware main URL backward coupling, wherein, described first middleware is route middleware, described second middleware
It is the other middlewares in addition to route middleware.
2. the method for claim 1 it is characterised in that described according to default come into force strategy come into force update after URL
Before code file, also include:
By URL information write and the corresponding tab file of URL code file after renewal, described URL information includes URL code mesh
Record and the labelling that comes into force;
Described according to default come into force strategy come into force update after URL code file, including:
Obtain the default strategy that comes into force;
When meet described in come into force strategy when, read update after the corresponding tab file of URL code file;
When described come into force be labeled as coming into force when, judge whether to have loaded under described URL code directory with update after URL code literary composition
Part has the URL code file of same file name;
When having loaded the URL code file of same file name under described URL code directory, delete URL code file corresponding slow
Deposit, load the URL code file after described renewal;
URL information in described tab file also includes URL path, the URL code file pair after described interpolation and described renewal
The first middleware answered, including:
Add under described URL path and corresponding first middleware of URL code file after renewal.
3. method as claimed in claim 2 is it is characterised in that the described strategy that comes into force, including:
Locally regularly come into force;Or,
The validation instructions receiving browser transmission come into force;Or,
The signal that comes into force that receiving terminal apparatus send comes into force.
4. the method for claim 1 is it is characterised in that described update URL code literary composition according to predetermined URL alteration ruler
Part, including:
When deleting main URL, increase identical main URL newly, this increases newly in main URL and only comprises to give tacit consent to sub- URL, the work(of the sub- URL of this acquiescence
Next function can be never called in function;
When deleting sub- URL, increase the main URL of main URL identical with sub- URL to be deleted newly, this increases newly and comprises in main URL and wait to delete
Except the sub- URL of sub- URL identical, the power function of this sub- URL is sky, and increases newly in the power function of the sub- URL of acquiescence of main URL not
Call next function.
5. the method for claim 1 is it is characterised in that described update URL code literary composition according to predetermined URL alteration ruler
Part, including:
When changing URL, increase identical main URL newly, change the power function of sub- URL to be modified, this increases acquiescence of main URL newly
Next function is never called in the power function of URL;
When increasing sub- URL newly, increase identical main URL newly, this increases newly and comprises to increase newly sub- URL in main URL, and increases the acquiescence of main URL newly
Next function is never called in the power function of sub- URL.
6. a kind of uniform resource locator URL coalignment, is applied to Web server it is characterised in that described device includes:
Updating block, for updating URL code file according to predetermined URL alteration ruler;
Validation unit, for according to default come into force strategy come into force update after URL code file, and add with described update after
Corresponding first middleware of URL code file;
Receiving unit, for receiving HTTP request, described HTTP request carries a URL;
Matching unit, for according to middleware first add the mode first mated by a described URL with interpolation second in the middle of
The main URL order of part is mated;When matching the main URL of the first labelling, will be described according to adding the mode first mated after middleware
First URL is mated with the main URL backward of the first middleware of interpolation, and wherein, described first middleware is route middleware, institute
State other middlewares that the second middleware is in addition to route middleware.
7. device as claimed in claim 6 is it is characterised in that described device also includes:
Writing unit, before coming into force the URL code file after updating according to the default strategy that comes into force in described validation unit,
By URL information write with update after the corresponding tab file of URL code file, described URL information include URL code directory with
Come into force labelling;
Described validation unit, specifically for obtaining the default strategy that comes into force;When meet described in come into force strategy when, read update after
The corresponding tab file of URL code file;When described come into force be labeled as coming into force when, whether judge under described URL code directory
Load the URL code file with the URL code file after renewal with same file name;When under described URL code directory plus
During the URL code file of load same file name, delete the corresponding caching of URL code file, load the URL code literary composition after described renewal
Part;URL information in described tab file also includes URL path, adds and the URL code after renewal under described URL path
Corresponding first middleware of file.
8. device as claimed in claim 7 is it is characterised in that the described strategy that comes into force, including:
Locally regularly come into force;Or,
The validation instructions receiving browser transmission come into force;Or,
The signal that comes into force that receiving terminal apparatus send comes into force.
9. device as claimed in claim 6 it is characterised in that:
Described updating block, specifically for when deleting main URL, increasing identical main URL newly, this increases newly and only comprises in main URL to give tacit consent to
Sub- URL, never calls next function in the power function of the sub- URL of this acquiescence;When deleting sub- URL, increase newly with sub- URL's to be deleted
The main URL of main URL identical, this increases newly and comprises URL with sub- URL identical to be deleted, the power function of this sub- URL in main URL
Never call next function in sky, and the power function of the sub- URL of acquiescence of newly-increased main URL.
10. device as claimed in claim 6 it is characterised in that:
Described updating block, specifically for when changing URL, increasing identical main URL newly, changes the power function of sub- URL to be modified,
Next function is never called in the power function of the sub- URL of acquiescence of this newly-increased main URL;When increasing sub- URL newly, increase identical main URL newly,
This increases newly to comprise in main URL to increase newly in sub- URL, and the power function of the sub- URL of acquiescence of newly-increased main URL never calls next function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610834335.2A CN106445700B (en) | 2016-09-20 | 2016-09-20 | A kind of URL matching process and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610834335.2A CN106445700B (en) | 2016-09-20 | 2016-09-20 | A kind of URL matching process and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106445700A true CN106445700A (en) | 2017-02-22 |
CN106445700B CN106445700B (en) | 2019-11-12 |
Family
ID=58166214
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610834335.2A Active CN106445700B (en) | 2016-09-20 | 2016-09-20 | A kind of URL matching process and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445700B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112000568A (en) * | 2020-07-10 | 2020-11-27 | 西安广和通无线软件有限公司 | Technical code testing method and device, computer equipment and storage medium |
CN117118905A (en) * | 2023-10-24 | 2023-11-24 | 北京搜狐新动力信息技术有限公司 | Route registration and route calling method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1518273A (en) * | 2003-01-20 | 2004-08-04 | �ձ�������ʽ���� | Information processing system, protable terminal and information proecessing server |
US20110137986A1 (en) * | 2009-12-08 | 2011-06-09 | Wolf Edward O'brien | Accessing content hosted on a peer device in a peer-to-peer network using a uniform resource locator (URL) |
CN103077208A (en) * | 2012-12-28 | 2013-05-01 | 华为技术有限公司 | Uniform resource locator matching processing method and device |
CN105005600B (en) * | 2015-07-02 | 2017-05-24 | 焦点科技股份有限公司 | Preprocessing method of URL (Uniform Resource Locator) in access log |
-
2016
- 2016-09-20 CN CN201610834335.2A patent/CN106445700B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1518273A (en) * | 2003-01-20 | 2004-08-04 | �ձ�������ʽ���� | Information processing system, protable terminal and information proecessing server |
US20110137986A1 (en) * | 2009-12-08 | 2011-06-09 | Wolf Edward O'brien | Accessing content hosted on a peer device in a peer-to-peer network using a uniform resource locator (URL) |
CN103077208A (en) * | 2012-12-28 | 2013-05-01 | 华为技术有限公司 | Uniform resource locator matching processing method and device |
CN105005600B (en) * | 2015-07-02 | 2017-05-24 | 焦点科技股份有限公司 | Preprocessing method of URL (Uniform Resource Locator) in access log |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112000568A (en) * | 2020-07-10 | 2020-11-27 | 西安广和通无线软件有限公司 | Technical code testing method and device, computer equipment and storage medium |
CN112000568B (en) * | 2020-07-10 | 2024-05-10 | 西安广和通无线软件有限公司 | Technical code testing method, device, computer equipment and storage medium |
CN117118905A (en) * | 2023-10-24 | 2023-11-24 | 北京搜狐新动力信息技术有限公司 | Route registration and route calling method and device |
CN117118905B (en) * | 2023-10-24 | 2024-01-09 | 北京搜狐新动力信息技术有限公司 | A method and device for route registration and route invocation |
Also Published As
Publication number | Publication date |
---|---|
CN106445700B (en) | 2019-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2737402B1 (en) | Web application architecture | |
US8056125B2 (en) | Recording medium storing control program and communication system | |
CN110221872A (en) | Method for page jump, device, electronic equipment and storage medium | |
US7779409B2 (en) | Device-to-device software distribution | |
US10289743B2 (en) | Client-side minimal download and simulated page navigation features | |
US8275856B2 (en) | Mobile bookmarks | |
US10015226B2 (en) | Methods for making AJAX web applications bookmarkable and crawlable and devices thereof | |
JP5682996B2 (en) | Client program, terminal, server device, server program, system and method | |
JP4353487B2 (en) | How to share communication information with local proxy | |
CN108228282A (en) | For the method and device of Website page loading | |
CN110858172A (en) | A kind of automatic test code generation method and device | |
CN109522500B (en) | Webpage display method, device, terminal and storage medium | |
US20100036892A1 (en) | Determination of an updated data source from disparate data sources | |
CN112368682A (en) | Using cache for content verification and error remediation | |
WO2016100853A1 (en) | Streamlined hosted applications | |
CN106445700A (en) | Method and device for uniform resource locator (URL) matching | |
JP2007528064A (en) | Running unverified programs in a wireless device operating environment | |
CN110119388A (en) | File read/write method, device, system, equipment and computer readable storage medium | |
US11789597B2 (en) | Systems and methods for storing references to original uniform resource identifiers | |
CN114385570A (en) | Method, apparatus, electronic device and readable medium for data synchronization | |
CN111047444B (en) | A data transaction method and device based on blockchain network | |
JP5541160B2 (en) | Program acquisition / execution client, program acquisition / execution method and program | |
KR102703825B1 (en) | Method and Apparatus for the Solidity Smart Contract Execution Environment and Network Configuration using Shared Log | |
CN112612531A (en) | Application program starting method and device, electronic equipment and storage medium | |
US20090280842A1 (en) | Computer-based method and system for processing a file request in response to a message received from a user mobile device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information |
Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant after: Xinhua three Technology Co., Ltd. Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No. Applicant before: Huasan Communication Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |