CN108875086B - Matching method and system of URI path resources - Google Patents
Matching method and system of URI path resources Download PDFInfo
- Publication number
- CN108875086B CN108875086B CN201810790283.2A CN201810790283A CN108875086B CN 108875086 B CN108875086 B CN 108875086B CN 201810790283 A CN201810790283 A CN 201810790283A CN 108875086 B CN108875086 B CN 108875086B
- Authority
- CN
- China
- Prior art keywords
- path
- model
- tree
- restful
- uri
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 44
- 238000004590 computer program Methods 0.000 claims description 13
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000012360 testing method Methods 0.000 description 24
- 230000008569 process Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application provides a matching method of URI path resources, which is applied to an application framework and comprises the following steps: judging whether the URI path model is a RESTful path model or not; if the URI path model is the RESTful path model, judging whether the RESTful path model is a tree-shaped distribution model or not; if the RESTful path model is the tree-shaped distribution model, sequentially searching corresponding tree-shaped distribution models for all levels of paths forming the URI path resource according to the order of path progression until a target tree-shaped distribution model corresponding to a final level of paths is obtained; and acquiring target resources corresponding to the target tree distribution model. The method can improve the matching speed between the URI path resource and the URI path model, and further improve the system performance. The application also provides a matching system, equipment and a computer readable medium of the URI path resource, which have the beneficial effects.
Description
Technical Field
The present application relates to the technical field of path resource matching devices, and in particular, to a method, a system, a device, and a computer-readable storage medium for matching URI path resources.
Background
With the development of technology, a novel architecture design idea is as follows: the RESTful (REST is a representational state Transfer, a full suffix adjective) style, that is, different functions can be completed by using a simple path and then according to different HTTP (HyperText Transfer Protocol) submission modes. Moreover, many application frameworks also adopt the RESTful style and are referenced by many large business systems.
Since the URI (Uniform Resource Identifier) path Resource in the request is unique, the URI path model defined in the RESTful style interface is parameterized. Therefore, when a request comes, the application framework needs to determine which URI path model the request is submitted to for processing, and at this time, matching between the URI path resource and the URI path model needs to be performed.
In the matching process between the URI path resources and the URI path models in the existing application framework, a complete matching mode is adopted, namely, each path model is traversed for matching, so that when a plurality of URI path models exist, particularly a large number of RESTful style interface methods are defined, the searching speed is seriously influenced, and the performance of the system is reduced.
Therefore, how to improve the matching speed between the URI path resource and the URI path model and further improve the system performance is a technical problem that needs to be solved by those skilled in the art.
Summary of the invention
The application aims to provide a matching method, a matching system, a matching device and a computer readable storage medium for URI path resources, which can improve the matching speed between the URI path resources and a URI path model, and further improve the system performance.
In order to solve the above technical problem, the present application provides a matching method for URI path resources, which is applied to an application framework, and includes:
judging whether the URI path model is a RESTful path model or not; wherein the RESTful path model is a RESTful style URI path model;
if the URI path model is the RESTful path model, judging whether the RESTful path model is a tree-shaped distribution model or not; the tree-shaped distribution model is a RESTful path model which is tree-shaped according to the path progression sequence of each level of paths forming the RESTful path model;
if the RESTful path model is the tree-shaped distribution model, sequentially searching corresponding tree-shaped distribution models for all levels of paths forming the URI path resource according to the order of path progression until a target tree-shaped distribution model corresponding to a final level of paths is obtained;
and acquiring target resources corresponding to the target tree distribution model.
Preferably, after determining whether the RESTful path model is a tree-shaped distribution model, sequentially searching corresponding tree-shaped distribution models for paths at different levels constituting the URI path resource according to a sequence of path progression until a target tree-shaped distribution model corresponding to a final-level path is found, the method further includes:
caching the tree distribution model in a domain form; and each domain corresponds to each stage of path in the tree distribution model, and the arrangement relation among the domains is consistent with the membership relation among the paths of each stage.
Preferably, the matching method of URI path resource further includes:
and if the URI path model is not the RESTful path model, caching the URI path model to a global variable.
Preferably, before searching the corresponding tree-shaped distribution models of the paths of each level constituting the URI path resource in order of the path progression until the target tree-shaped distribution model corresponding to the path of the final level is obtained, the method further includes:
and searching a URI path model corresponding to the URI path resource from the global variable.
The present application further provides a matching system for URI path resources, comprising:
the RESTful style judging module is used for judging whether the URI path model is a RESTful path model; wherein the RESTful path model is a RESTful style URI path model;
a tree distribution judging module, configured to judge whether the RESTful path model is a tree distribution model if the URI path model is the RESTful path model; the tree-shaped distribution model is a RESTful path model which is in tree-shaped arrangement according to the path progression sequence of each level of path forming the RESTful path model;
a RESTful style searching module, configured to, if the RESTful path model is the tree-shaped distribution model, sequentially search, according to a sequence of path progression, corresponding tree-shaped distribution models for paths at different levels that form the URI path resource until a target tree-shaped distribution model corresponding to a final-level path is obtained;
and the acquisition module is used for acquiring the target resources corresponding to the target tree distribution model.
Preferably, the matching system of URI path resource further comprises:
the RESTful style caching module is used for caching the tree-shaped distribution model in a domain form; and each domain corresponds to each stage of path in the tree distribution model, and the arrangement relation among the domains is consistent with the membership relation among the paths of each stage.
Preferably, the matching system of URI path resource further comprises:
and the caching module is used for caching the URI path model to a global variable if the URI path model is not the RESTful path model.
Preferably, the matching system of URI path resource further comprises:
and the searching module is used for searching the URI path model corresponding to the URI path resource from the global variable.
The present application further provides a URI path resource matching apparatus, including:
a memory and a processor; the memory is used for storing a computer program, and the processor is used for implementing the steps of the URI path resource matching method when executing the computer program.
The present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the URI path resource matching method described above.
The application provides a matching method of URI path resources, which is applied to an application framework and comprises the following steps: judging whether the URI path model is a RESTful path model or not; wherein the RESTful path model is a RESTful style URI path model; if the URI path model is the RESTful path model, judging whether the RESTful path model is a tree-shaped distribution model or not; the tree-shaped distribution model is a RESTful path model which is tree-shaped according to the path progression sequence of each level of paths forming the RESTful path model; if the RESTful path model is the tree-shaped distribution model, sequentially searching corresponding tree-shaped distribution models for all levels of paths forming the URI path resource according to the order of path progression until a target tree-shaped distribution model corresponding to a final level of path is obtained; and acquiring target resources corresponding to the target tree distribution model.
Therefore, the method firstly judges the style of the URI path model, and if the URI path model is the RESTful path model, the format of the path of the URI path model is ensured to be the RESTful style. On the basis, the RESTful path model also needs to meet the requirement that tree arrangement is carried out according to the path progression sequence of each level of path forming the RESTful path model, so that a tree distribution model is obtained, and the tree distribution model is ensured that each level of path forming URI path resources can sequentially search for the corresponding tree distribution model according to the path progression sequence until a target tree distribution model corresponding to the final level of path is searched. In the process, because the membership between all levels of paths is consistent with the arrangement relationship between the tree-shaped distribution models, the search range is gradually reduced in a hierarchical manner, so that the condition that each path model is traversed for searching in the prior art is avoided, the matching speed between the URI path resources and the URI path models is improved, and the system performance is improved. The present application further provides a matching system, a device and a computer readable medium for URI path resource, all having the above beneficial effects, which are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a matching method for URI path resources according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a tree distribution model according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of an exemplary tree distribution model distribution provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a domain distribution provided by an embodiment of the present application;
FIG. 5 is a schematic overall flow chart provided by an embodiment of the present application;
fig. 6 is a block diagram of a structure of a matching system for URI path resources according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a matching method of the URI path resources, which can improve the matching speed between the URI path resources and the URI path model, and further improve the system performance. At the core of the present application, a matching system, a device and a computer readable medium for URI path resource are provided, which all have the above advantages.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart of a method for matching URI path resources according to an embodiment of the present application, where the method specifically includes:
s101, judging whether the URI path model is a RESTful path model or not.
The execution main body of the embodiment is an application framework, and in the application system loading process, the application framework judges the URI path model defined in the interface method according to the URI path style, and judges whether the URI path model is a RESTful path model, wherein the RESTful path model is a RESTful style URI path model. If the URI path model is a RESTful path model, it may be ensured that the format of the path of the URI path model is a RESTful style, that is, membership exists between each level of paths constituting the path, where the range of the number of the path levels is a positive integer greater than or equal to 1, and the number of specific numerical values is not limited herein.
S102, judging whether the RESTful path model is a tree-shaped distribution model.
If the URI path model is a RESTful path model, whether the RESTful path model is a tree-shaped distribution model is further judged, wherein the tree-shaped distribution model is the RESTful path model which is tree-shaped according to the path series sequence of each level of paths forming the RESTful path model, namely, as long as the RESTful path model is tree-shaped according to the sequence, the RESTful path model is the tree-shaped distribution model, and at the moment, the RESTful path model and the RESTful path model are not different and are only different in name. The range of the number of the path series is a positive integer greater than or equal to 1, the range of the number of the tree-shaped distribution models in each stage of path is an integer greater than or equal to 0, and the specific numerical value is not limited herein. As shown in fig. 2, fig. 2 is a schematic distribution diagram of a tree distribution model provided in the embodiment of the present application. The reference signs in fig. 2 may also represent the hierarchical relationship of tree-shaped distribution and the number relationship of tree-shaped distribution models of each hierarchy, for example, the number "2" in the reference sign "2pq" refers to fig. 2, the letter "p" refers to the number of stages of the path, the range of p is a positive integer greater than or equal to 1, the letter "q" refers to the number of tree-shaped distribution models in the p-stage path, and the range of q is an integer greater than or equal to 0. Similarly, the letter "n" in "22n" and the letter "m" in "23m" refer to the number of tree distribution models in the 2-level path and the 3-level path, respectively, and the ranges of n and m are integers greater than or equal to 0.
S103, sequentially searching corresponding tree-shaped distribution models of all levels of paths forming the URI path resources according to the order of the path progression until a target tree-shaped distribution model corresponding to the final level of paths is obtained.
And if the RESTful path model is a tree-shaped distribution model, sequentially searching corresponding tree-shaped distribution models for all levels of paths forming the URI path resource according to the order of path progression until a target tree-shaped distribution model corresponding to the final level of paths is obtained. The tree-shaped distribution model is the RESTful path model which is tree-shaped according to the path progression sequence of each level of paths forming the RESTful path model, namely, as long as the RESTful path model is tree-shaped according to the sequence, the RESTful path model is the tree-shaped distribution model, and the RESTful path model are not different and are only different in name. Therefore, the tree-shaped distribution model is also tree-arranged according to the path progression sequence of each level of paths forming the tree-shaped distribution model, so that the feasibility and the rationality of the process of sequentially searching the corresponding tree-shaped distribution model by each level of paths of the URI path resource according to the path progression sequence can be ensured, and the target tree-shaped distribution model corresponding to the final level of paths is finally searched.
To express the searching process more clearly, for example: and searching a tree distribution model/test/A/x corresponding to the URI path resource/test/A/x. As shown in fig. 3, fig. 3 is a schematic distribution diagram of an example tree distribution model provided in the embodiment of the present application. The specific search process is as follows: firstly, the tree-shaped distribution model/test is found, then the tree-shaped distribution model/test/A is found from the next-stage tree-shaped distribution model of the tree-shaped distribution model/test, and then the tree-shaped distribution model/test/A/x is found from the next-stage tree-shaped distribution model of the tree-shaped distribution model/test/A. In the prior art, the path model/test/A/x corresponding to the search URI path resource/test/A/x traverses each path model (/ test,/test/A,/test/B,/test/C,/test/A/x,/test/A/y,/test/A/z) to determine the path model/test/A/x.
Therefore, the matching method can gradually narrow the search range, greatly reduce the operation amount in the search process, further improve the matching speed between the URI path resource and the URI path model and improve the system performance.
And S104, acquiring target resources corresponding to the target tree distribution model.
And after the target tree-shaped distribution model is found, the application framework delivers the request to the target tree-shaped distribution model for processing.
In this embodiment, the style of the URI path model is determined first, and if the URI path model is a RESTful path model, it is ensured that the format of the path of the URI path model is the RESTful style. On the basis, the RESTful path model also needs to meet the requirement that tree-shaped arrangement is carried out according to the path progression sequence of each level of path forming the RESTful path model so as to obtain a tree-shaped distribution model, and the corresponding tree-shaped distribution model can be sequentially searched for each level of path forming the URI path resource according to the path progression sequence until a target tree-shaped distribution model corresponding to the final level of path is searched. In the process, because the membership between each level of paths is consistent with the arrangement relationship between the tree distribution models, the search range is gradually reduced in a hierarchical manner, so that the condition that each path model is traversed for searching in the prior art is avoided, the matching speed between the URI path resources and the URI path models is improved, and the system performance is improved.
Based on the above embodiment, in this embodiment, after determining whether the RESTful path model is a tree-shaped distribution model, sequentially searching corresponding tree-shaped distribution models for paths at different levels forming the URI path resource according to a sequence of path progression, and caching the tree-shaped distribution models in a domain form until a target tree-shaped distribution model corresponding to a final-level path is found; each domain corresponds to each level of paths in the tree distribution model, and the arrangement relationship among the domains is consistent with the membership relationship among the paths. The domains usually comprise a parent domain and a child domain, and each parent domain and each child domain have the same structure and comprise domain namecities, child nodes and tree distribution models. As shown in fig. 4, fig. 4 is a schematic distribution diagram of domains provided in the embodiment of the present application; the tree distribution model is cached in the form of domains, and the arrangement relationship among the domains is consistent with the membership relationship among the paths of each level, so the graph styles of fig. 4 and fig. 2 are the same. Further, the meaning and range of the letter "n" in the letter "42n" in fig. 4, the letter "m" in the letter "43m" in the letter "4pq" in the letter "p" and "q" in the letter "p" are the same as the meaning and range of the letter "n", "m", "p" and "q" in the letter "42n" in fig. 2, respectively, and thus the description thereof is omitted.
The tree-shaped distribution model is cached, namely the tree-shaped distribution model is registered, and the cache has the advantages that when a request arrives, the URI path resources in the request are searched from the cached tree-shaped distribution model by adopting the matching mode of the embodiment, so that the matching times can be greatly reduced, the processing logic process can be reduced, the matching speed of the URI path resources can be improved, and particularly in a large-scale service system, the system performance can be greatly improved.
A simple test case defines 5000 tree-shaped distribution models, and when 2000 requests are simultaneously tested by JMeter, the average response time of the original state is 120ms and even slower. By adopting the matching method of the URI path resources, the average response time is 4ms after the URI path resource matching strategy is optimized. The results of the test cases are shown in table 1, and table 1 is a comparison table of the results of the test cases.
Table 1 comparison of results of test cases
For application in a large-scale service system, the advantages of the URI path resource matching method are still obvious, the press test comparison result in the same scene is shown in table 2, and table 2 is a press test comparison result table in the same scene.
TABLE 2 Press-testing comparison result table under the same scene
Based on the foregoing embodiment, in this embodiment, if the URI path model is a non-RESTful path model, the URI path model is cached in the global variable. Further, in this embodiment, the step of sequentially searching the corresponding tree-shaped distribution models for each level of paths constituting the URI path resource according to the order of the path progression until the target tree-shaped distribution model corresponding to the final level of paths is obtained by searching, generally, the step of searching the URI path model corresponding to the URI path resource from the global variable is further included. At this time, the overall flowchart is shown in fig. 5, and fig. 5 is a schematic overall flowchart provided by the embodiment of the application in fig. 5. Firstly, judging the style of the URI path model, judging whether the URI path model is a RESTful path model, if so, further judging whether the URI path model is a tree-shaped distribution model, if so, caching the tree-shaped distribution model, and then finishing registration of the tree-shaped distribution model. If the URI path model is a non-RESTful path model, the URI path model is cached in a global variable, and the registration of the non-RESTful path model is also completed. When a request comes, a URI path model corresponding to the URI path resource is searched from the global variable, and if the URI path model is found, matching is completed; if the target resource is not found, in the cached tree-shaped distribution model, sequentially searching the corresponding tree-shaped distribution models for the paths of all levels forming the URI path resource according to the order of the path progression until a target tree-shaped distribution model corresponding to the final level path is obtained, and further obtaining the target resource corresponding to the target tree-shaped distribution model.
The following describes a matching system, a device, and a computer readable medium for URI path resources provided in this embodiment of the application, and the matching system, the device, and the computer readable medium for URI path resources described below and the matching method for URI path resources described above may be referred to correspondingly.
Referring to fig. 6, fig. 6 is a block diagram illustrating a structure of a matching system for URI path resources according to an embodiment of the present disclosure; the system may include:
a RESTful style determination module 601, configured to determine whether the URI path model is a RESTful path model; wherein the RESTful path model is a RESTful style URI path model;
a tree distribution determining module 602, configured to determine whether the URI path model is a RESTful path model; the tree-shaped distribution model is a RESTful path model which is tree-shaped according to the path progression sequence of each level of paths forming the RESTful path model;
the RESTful style searching module 603 is used for sequentially searching corresponding tree-shaped distribution models for all levels of paths forming the URI path resources according to the order of path progression if the RESTful path models are tree-shaped distribution models until a target tree-shaped distribution model corresponding to a final level path is obtained;
an obtaining module 604, configured to obtain a target resource corresponding to the target tree distribution model.
Based on the above embodiment, the system may further include:
the RESTful style caching module is used for caching the tree-shaped distribution model in a domain form; each domain corresponds to each level of paths in the tree distribution model, and the arrangement relationship among the domains is consistent with the membership relationship among the paths.
Based on the above embodiment, the system may further include:
and the cache module is used for caching the URI path model to the global variable if the URI path model is a non-RESTful path model.
Based on the above embodiment, the system may further include:
and the searching module is used for searching the URI path model corresponding to the URI path resource from the global variable.
The present application further provides a URI path resource matching apparatus, including: a memory and a processor; wherein, the memory is used for storing the computer program, and the processor is used for implementing the steps of the URI path resource matching method of any of the above embodiments when executing the computer program.
The present application further provides a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program implements the steps of the matching method for URI path resource of any of the above embodiments.
The computer-readable storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system provided by the embodiment, the description is relatively simple because the system corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing detailed description is directed to a method, system, device and computer-readable storage medium for matching URI path resources provided by the present application. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, without departing from the principle of the present application, the present application can also make several improvements and modifications, and those improvements and modifications also fall into the protection scope of the claims of the present application.
Claims (6)
1. A matching method of URI path resources is applied to an application framework, and is characterized by comprising the following steps:
judging whether the URI path model is a RESTful path model or not; wherein the RESTful path model is a RESTful style URI path model;
if the URI path model is not the RESTful path model, caching the URI path model to a global variable;
if the URI path model is the RESTful path model, judging whether the RESTful path model is a tree-shaped distribution model or not; the tree-shaped distribution model is a RESTful path model which is tree-shaped according to the path progression sequence of each level of paths forming the RESTful path model;
if the RESTful path model is the tree-shaped distribution model, sequentially searching corresponding tree-shaped distribution models for all levels of paths forming the URI path resource according to the order of path progression until a target tree-shaped distribution model corresponding to a final level of paths is obtained;
and acquiring target resources corresponding to the target tree distribution model.
2. The matching method of claim 1, wherein after determining whether the RESTful path model is a tree-shaped distribution model, sequentially searching corresponding tree-shaped distribution models for paths at different levels that form the URI path resource according to a sequence of path progression until a target tree-shaped distribution model corresponding to a final-level path is found, further comprising:
caching the tree distribution model in a domain form; and each domain corresponds to each stage of path in the tree distribution model, and the arrangement relation among the domains is consistent with the membership relation among the paths of each stage.
3. A matching system for URI path resources, comprising:
the RESTful style judging module is used for judging whether the URI path model is a RESTful path model; wherein the RESTful path model is a RESTful style URI path model;
the cache module is used for caching the URI path model to a global variable if the URI path model is not the RESTful path model;
a tree distribution judging module, configured to judge whether the RESTful path model is a tree distribution model if the URI path model is the RESTful path model; the tree-shaped distribution model is a RESTful path model which is tree-shaped according to the path progression sequence of each level of path forming the RESTful path model;
a RESTful style searching module, configured to, if the RESTful path model is the tree-shaped distribution model, sequentially search, according to a sequence of path progression, corresponding tree-shaped distribution models for paths at different levels that form the URI path resource until a target tree-shaped distribution model corresponding to a final-level path is obtained;
and the acquisition module is used for acquiring the target resources corresponding to the target tree distribution model.
4. The matching system of claim 3, further comprising:
a RESTful style caching module used for caching the tree-shaped distribution model in a domain form; and each domain corresponds to each stage of path in the tree distribution model, and the arrangement relation among the domains is consistent with the membership relation among the paths of each stage.
5. A URI path resource matching apparatus, comprising:
a memory and a processor; wherein the memory is configured to store a computer program, and the processor is configured to implement the steps of the method for matching a URI path resource according to any one of claims 1 to 2 when executing the computer program.
6. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for matching a URI path resource according to any one of claims 1 to 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810790283.2A CN108875086B (en) | 2018-07-18 | 2018-07-18 | Matching method and system of URI path resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810790283.2A CN108875086B (en) | 2018-07-18 | 2018-07-18 | Matching method and system of URI path resources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108875086A CN108875086A (en) | 2018-11-23 |
CN108875086B true CN108875086B (en) | 2023-03-28 |
Family
ID=64302849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810790283.2A Active CN108875086B (en) | 2018-07-18 | 2018-07-18 | Matching method and system of URI path resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108875086B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134377B (en) * | 2019-05-23 | 2023-04-14 | 广东电网有限责任公司 | Data request processing method, device and equipment of power industry management information system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107404512A (en) * | 2016-05-19 | 2017-11-28 | 华为技术有限公司 | Resource subscription method, resource subscription device and resource subscription Xi System |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA2775427A1 (en) * | 2011-04-27 | 2012-10-27 | Perspecsys Inc. | System and method of data interception and conversion in a proxy |
US20140101199A1 (en) * | 2012-10-10 | 2014-04-10 | Yiftach Nun | Rest and odata object navigation |
US9817910B2 (en) * | 2012-10-19 | 2017-11-14 | Red Hat Israel, Ltd. | Restful service description language |
CN103944924B (en) * | 2014-05-15 | 2017-04-19 | 重庆邮电大学 | Method of ubiquitous network publish-subscribe middleware model based on RESTful |
CN106021339B (en) * | 2016-05-09 | 2019-07-26 | 中国联合网络通信集团有限公司 | The semantic query method and system of resourceoriented tree |
CN107547671A (en) * | 2016-06-29 | 2018-01-05 | 中兴通讯股份有限公司 | A kind of URL matching process and device |
CN106503103A (en) * | 2016-10-17 | 2017-03-15 | 济南浪潮高新科技投资发展有限公司 | A kind of lightweight REST service framework implementation method |
CN108259544B (en) * | 2016-12-29 | 2020-07-17 | 新华三技术有限公司 | UR L query method and UR L query server |
CN107018190B (en) * | 2017-03-31 | 2019-08-02 | 北京知道创宇信息技术股份有限公司 | Identify the method, equipment and calculating equipment of the application being resident in network server |
CN107203388B (en) * | 2017-06-14 | 2020-08-04 | 浙江工业大学 | REST architecture style-oriented Web service rapid development method |
CN107508705B (en) * | 2017-08-21 | 2020-07-07 | 北京蓝海讯通科技股份有限公司 | Resource tree construction method of HTTP element and computing equipment |
CN107612833A (en) * | 2017-09-20 | 2018-01-19 | 郑州云海信息技术有限公司 | A kind of URI method for routing and relevant apparatus based on storage system |
CN108228818B (en) * | 2017-12-29 | 2021-01-12 | 网易(杭州)网络有限公司 | Webpage resource loading method and device, electronic equipment and storage medium |
-
2018
- 2018-07-18 CN CN201810790283.2A patent/CN108875086B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107404512A (en) * | 2016-05-19 | 2017-11-28 | 华为技术有限公司 | Resource subscription method, resource subscription device and resource subscription Xi System |
Non-Patent Citations (1)
Title |
---|
面向超媒体链接的RESTful服务隐私建模方法;王进 等;《计算机研究与发展》;20170415;第54卷(第4期);886-905 * |
Also Published As
Publication number | Publication date |
---|---|
CN108875086A (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108304585B (en) | Result data selection method based on space keyword search and related device | |
CN114356893A (en) | Metadata tuning method, device, equipment and storage medium based on machine learning | |
CN111275054A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN111191080A (en) | Data processing method and device | |
CN109547241A (en) | A kind of virtual network function dispositions method towards NUMA architecture based on Markov algorithm | |
CN112231616A (en) | Page data refreshing method and device, electronic equipment and storage medium | |
CN110888672B (en) | Expression engine implementation method and system based on metadata architecture | |
CN112231481A (en) | Website classification method and device, computer equipment and storage medium | |
CN112579319A (en) | Service calling method and device based on LRU Cache optimization | |
CN108875086B (en) | Matching method and system of URI path resources | |
CN111475511A (en) | Data storage method, data access method, data storage device, data access device and data access equipment based on tree structure | |
CN108776665B (en) | Data processing method and device | |
CN111046004B (en) | Data file storage method, device, equipment and storage medium | |
CN108470043A (en) | A kind of acquisition methods and device of business result | |
CN115827280A (en) | Message processing method and device, electronic equipment and storage medium | |
CN112907198B (en) | Service state circulation maintenance method and device and electronic equipment | |
CN110609861A (en) | Vehicle identification method and device, electronic equipment and storage medium | |
CN110543664B (en) | Process mapping method for FPGA with special structure | |
US20170139969A1 (en) | Method for filtering and analyzing big data, electronic device, and non-transitory computer-readable storage medium | |
CN112532414B (en) | Method, device, equipment and computer storage medium for determining ISP attribution | |
CN113869703A (en) | Smart city management method and system based on cloud computing | |
CN115437756A (en) | Method and device for generating computation flow graph scheduling scheme, electronic equipment and computer-readable storage medium | |
CN111767060A (en) | Multi-stage gray scale verification method, multi-stage gray scale verification device, electronic equipment and medium | |
CN107833259B (en) | Dynamic cartoon engine processing method and system based on intelligent terminal | |
CN112181825A (en) | Test case library construction method and device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |