A data query method, device and electronic equipment
A data query and to-be-queried technology, applied in the query field, can solve the problem of low development efficiency, and achieve the effect of meeting flexible and changing needs, improving work efficiency, and reducing workload
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0103] The data query request defined in DSL language is: query the name of each IDC (computer room) and the name of the Machine (server) in each IDC. Since the IDC (computer room) can contain multiple Machines (servers), the target model IDC and Machine are between. The relationship between is a one-to-many relationship, and the query result to be returned is in the form:
[0104] [["i.name"],["m.name"]]
[0105] Among them, IDC and Machine are the description information of the identification of each target model; the relationship between IDC and Machine is the model description information of the relationship between each target model; array [["i.name"], ["m.name" The name in ]] is the attribute to be queried in the target model IDC and Machine.
[0106] S202: Parse the data query request described in the DSL language.
[0107] In this step, the identifiers of multiple target models and the model description information of the relationship between each target model are ex...
example 2
[0202] If the data query request defined in the DSL language is: query the data whose name contains foobar in the target models ModelA, ModelB and ModelC.
[0203] Obtain the DSL data query request, and parse the query request into a graph as follows:
[0204]
[0205] b:Model B[name contains "foobar"];
[0206] c:Model C;
[0207] b~>@rel1~>a;
[0208] b~>@rel2~>c;
[0209] }
[0210] Node a is Type A
[0211] Type A{
[0212] name;
[0213] }
[0214] Node b is Type B
[0215] Type B{
[0216] name;
[0217] }
[0218] Node c is Type C
[0219] Type C{
[0220] name;
[0221] }
[0222] Among them, a, b and c are the target models ModelA, ModelB and ModelC, respectively, and the nodes in the converted graph. b~>@rel1~>c and b~>@rel2~>a respectively define node b and node c and The relationship between node b and node a, where rel1 and rel2 are the names of the relationship, and [name contains "foobar"] is a filter condition, which indicates that the query ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com