Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Active Publication Date: 2020-04-07
CHINA MOBILE COMM LTD RES INST +1
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) It is impossible to represent multiple combinations of parameters at the same time;
[0005] 2) It cannot support the condition that the parameter value is not;
[0006] 3) Unable to support query parameter setting priority

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource query method and device, equipment and storage medium
  • Resource query method and device, equipment and storage medium
  • Resource query method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a resource query method and device, equipment and a storage medium. The method comprises: a service user NF initiates a service access request to a service provider NF, the service access request carrying a query condition of a resource, and the query condition being used for explaining a combined query relationship of at least two query parameters; and the service user NF receives a service access response returned by the service provider NF.

Description

technical field [0001] The embodiment of this application relates to but is not limited to NGC / 5GC (5G Next Generation Core, 5G (fifth generation, 5 th Generation) technology, in particular to a resource query method, device, equipment, and storage medium. Background technique [0002] The GET (get) and DELETE (delete) methods of the existing HTTP (Hyper Text Transfer Protocol, hypertext transfer protocol) and any other methods that may use query (query) parameters can carry multiple query parameters, but these parameters are not involved combination relationship. The client (user) just sends several query parameters to the server through the HTTP request, and the relationship between these query parameters is pre-defined by the upper-layer application. The upper application receives all the query parameters and understands the combination of parameters according to the predefined rules. [0003] The existing HTTP query parameter representation method has the following pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/903H04L29/08
CPCH04L67/02G06F16/955H04L67/60
Inventor 宋月陈旭
Owner CHINA MOBILE COMM LTD RES INST