Topological relationship query method and device, electronic equipment and medium
A technology of topological relationship and query method, applied in the computer field, can solve the problems of high resource overhead, difficult to minute level, and unsatisfactory query performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] Figure 1D It is a schematic flowchart of a method for querying a topology relationship provided in Embodiment 1 of the present application. This embodiment is applicable to the case of querying the topology call relationship of the micro-service nodes, and can be executed by the device for querying the topology relationship provided by the embodiment of the present application, and the device can be implemented by means of software and / or hardware. As shown in Figure 1, the method may include:
[0062] S101. When receiving a topology query request, according to the query conditions in the topology query request, read at least one piece of microservice node pair information from the pre-stored set of microservice node pairs; wherein, the microservice node pair information Contains information of two microservice nodes that have a calling relationship.
[0063] Among them, the microservice node represents a method to achieve a certain technical effect, such as music pl...
Embodiment 2
[0102] Figure 2A It is a schematic flowchart of a method for querying a topology relationship provided in Embodiment 2 of the present application. This embodiment provides a specific implementation manner for the foregoing embodiments. As shown in FIG. 2, the method may include:
[0103] S201. When a topology query request is received, determine the query time granularity and query time range according to the time condition information in the query conditions, and read at least one database table corresponding to the query time granularity and the query time range from the database .
[0104] Among them, in the database, each database table is created according to different time granularities, and correspondingly, each database table stores information about microservice node pairs corresponding to the time granularity.
[0105] Specifically, at least one database table matching the query time granularity and query time range is read from the database.
[0106] Exemplarily...
Embodiment 3
[0125] image 3 A schematic structural diagram of a topological relationship query device 30 provided in Embodiment 3 of the present application, which can execute a topological relationship query method provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for executing the method. like image 3 As shown, the device may include:
[0126] The microservice node pair information reading module 31 is configured to read at least one piece of microservice node pair information from the set of prestored microservice node pairs according to the query conditions in the topology query request when receiving a topology query request ; Wherein, the microservice node pair information includes information of two microservice nodes having a call relationship;
[0127] Topology representation data generating module 32, configured to generate topology representation data according to the read microservice node pair information...
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