Resource query method and device, equipment and storage medium
A resource query and resource technology, applied in other database query, other database retrieval, network data retrieval and other directions, can solve the problem of unable to express multiple combinations of parameters at the same time, unable to support query parameter setting priority, unable to support parameter values, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0076] In other embodiments, the combined query relationship includes a conditional expression formed by combining the at least two query parameters. Example 1: (parameter A = a) and (parameter B = b) and (parameter C = c), example 2: (parameter A = a) and (parameter B = b) or (...), example 3: (parameter A=a)or(parameter B=b)or(...); Example 1 is formed by the combination of three query parameters A, B and C, example 2 and example 3 are formed by combining at least query parameters A and B, Among them, uppercase letters represent query parameters, and lowercase letters represent parameter values. In other embodiments, more generally, the value before the equal sign (=) or the non-equal sign is called a query parameter, and the value after the equal sign (=) or the non-equal sign is called a query parameter, for example, X= Y, X are query parameters, and Y is the value of query parameter X.
[0077] In other embodiments, the conditional expression is used to represent a logi...
Embodiment 1
[0115] Example 1: The query condition is carried in the resource acquisition service access request, for example, through the GET method of HTTP:
[0116] image 3 It is a schematic diagram of the implementation flow of the resource acquisition method in the embodiment of the present application, such as image 3 As shown, the method includes:
[0117] Step 1, the service user NF (NF service consumer) sends a GET request to the service provider NF (NF service producer);
[0118] The GET request always carries a query condition to obtain a resource (resource), where the query condition={...a string of JSON structured data represents a conditional expression};
[0119] In step 2, the service user NF returns a 200 OK response to the service provider NF, and the 200 OK response carries a resource representation (resource representation).
Embodiment 2
[0120] Example 2: The query condition is carried in the resource deletion service access request, for example, through the DELETE method of HTTP:
[0121] Figure 4 It is a schematic diagram of the implementation flow of the resource deletion method in the embodiment of the present application, as shown in Figure 4 As shown, the method includes:
[0122] Step 1, the service user NF (NF service consumer) sends a DELETE request to the service provider NF (NF service producer);
[0123] The DELETE request carries a query condition to delete a resource (resource), where the query condition={...a string of JSON structured data represents a conditional expression};
[0124] In step 2, the service user NF returns a 200 No Content response to the service provider NF.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


