Microservice architecture calling method and device, electronic equipment and storage medium
A technology of electronic equipment and micro-services, applied in the direction of electrical digital data processing, instruments, etc., can solve problems such as poor system reliability, high maintenance costs, and complex docking of multiple interfaces
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0055] figure 1 is a schematic flow diagram of the calling method of the microservice architecture provided by the embodiment of the present application, such as figure 1 As shown, the method includes:
[0056] S1, receiving protocol request information from external microservices;
[0057] S2. Obtain interface data according to the protocol request information;
[0058] S3, integrate the interface data according to the protocol request information, and obtain the initial response result;
[0059] S4, filtering the initial response result to obtain a response result;
[0060] S5, sending the response result to the external microservice.
[0061]Taking this embodiment as an example, by integrating the interface data, the interface data of multiple interfaces can be combined together, avoiding the complex procedures of multiple interface calls and combinations, reducing maintenance costs, and reducing the number of multiple interface combinations. The computing space requir...
Embodiment 2
[0089] In order to implement the method corresponding to the above-mentioned embodiment 1 to achieve corresponding functions and technical effects, a microservice architecture invocation device is provided below, such as figure 2 As shown, the device includes:
[0090] The receiving module 1 is used to receive protocol request information of external microservices;
[0091] A processing module 2, configured to obtain interface data according to the protocol request information;
[0092] The integration module 3 is used to integrate the interface data according to the protocol request information to obtain the initial response result;
[0093] The filtering module 4 is configured to filter the initial response result to obtain the response result;
[0094] The sending module 5 is used to send the response result to the external microservice.
[0095] In the above implementation process, by integrating the interface data, the interface data of multiple interfaces can be comb...
Embodiment 3
[0113] An embodiment of the present application provides an electronic device, including a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the electronic device to execute the calling method of the microservice architecture in Embodiment 1.
[0114] Optionally, the above-mentioned electronic device may be a server.
[0115] See image 3 , image 3It is a schematic diagram of the structure and composition of the electronic device provided in the embodiment of the present application. The electronic device may include a processor 31 , a communication interface 32 , a memory 33 and at least one communication bus 34 . Wherein, the communication bus 34 is used to realize the direct connection and communication of these components. Wherein, the communication interface 32 of the device in the embodiment of the present application is used for signaling or data communication with other node devices. The p...
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