Data inquiry method, device and electronic device
A data query and to-be-queried technology, applied in the query field, can solve the problem of low development efficiency
- 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 an IDC (computer room) can contain multiple Machines (servers), the target model between IDC and Machine The relationship between is a one-to-many relationship, and the form of the query result to be returned is:
[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; the 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 extr...
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] The DSL data query request is obtained, and the query request is parsed 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 of type A
[0211] Type A {
[0212] name;
[0213]}
[0214] Node b is Type B type
[0215] Type B{
[0216] name;
[0217]}
[0218] Node c is Type C type
[0219] Type C{
[0220] name;
[0221]}
[0222] Among them, a, b and c are the target models ModelA, ModelB and ModelC respectively, and the converted nodes in the 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 the filter condition, which means ...
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