Micro-service-based processing method and device, storage medium and electronic device

A processing method and micro-service technology, applied in the field of micro-services, can solve the problems that micro-service systems cannot better meet multi-language access and update control strategies

Active Publication Date: 2020-11-10
ZHEJIANG DAHUA TECH CO LTD
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a microservice-based processing method and device, storage medium, and electronic device to at least solve the problem that the microservice system in the related art cannot better satisfy multilingual access and update control strategies

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
  • Micro-service-based processing method and device, storage medium and electronic device
  • Micro-service-based processing method and device, storage medium and electronic device
  • Micro-service-based processing method and device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on computer equipment as an example, figure 1 It is a block diagram of the hardware structure of the computer equipment of the microservice system in the embodiment of the present invention.

[0022] An embodiment of the present application provides a computer terminal. Such as figure 1 As shown, the computer device 20 may include: at least one processor 201 , such as a CPU, at least one network interface 204 , user interface 203 , memory 205 , at least one communication bus 202 , and optionally, a display screen 206 . Wherein, the communication bus 202 is used to realize connection and communication between these components. Wherein, the user interface 203 may include a touch screen, a keyboard or a mouse, and the like. Optionally, the network interface 204 may include a standard wired int...

Embodiment 2

[0050] In the embodiment of this application, a microservice-based processing system is provided, such as Figure 6 shown, including:

[0051] An acquisition module 62, configured to acquire the service information reported by the agent component;

[0052] A sending module 64, configured to generate the service list through the service information and send the service list to the proxy component;

[0053] A processing module 66, configured to process service requests in microservices through the proxy component;

[0054] A maintenance module 68, configured to locally maintain the service information and control policies of the microservices in the service list of the service request;

[0055] The calling module 610 is configured to call the control strategy information through a third-party calling interface and send the control strategy information to the corresponding agent component.

[0056] The service information reported by the proxy component is obtained in the abov...

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 invention provides a micro-service-based processing method and device, a storage medium and an electronic device. The method comprises the following steps: acquiring service information reported by a proxy component; generating the service list through the service information and sending the service list to the proxy component; performing proxy processing on a service request in the micro-service through the proxy component; locally maintaining service information and a control strategy of the micro-service in a service list of the service request; and calling the control strategy information through a third-party calling interface and issuing the control strategy information to the corresponding proxy component. According to the invention, the problem that a micro-service system cannot better satisfy multi-language access and update control strategies is solved.

Description

technical field [0001] The present invention relates to the field of microservices, in particular to a microservice-based processing method and device, a storage medium, and an electronic device. Background technique [0002] Spring Cloud provides a complete solution for developers to build a microservice architecture. SpringCloud is a collection of several frameworks, including nearly 20 sub-projects such as spring-cloud-config, spring-cloud-bus, etc. It provides service governance, service gateway, intelligent routing, load balancing, circuit breaker, monitoring and tracking, distributed Solutions for message queues, configuration management, and more. [0003] Since SpringCloud is developed based on the Java language, services in other programming languages ​​cannot be directly connected to the SpringCloud microservice system. In addition, only http protocol transmission is supported between service modules in Spring Cloud, and other protocol transmissions cannot be sup...

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): H04L29/08
CPCH04L67/566
Inventor 沈碧峰朱英俊李仁豪高磊
Owner ZHEJIANG DAHUA TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products