Unlock instant, AI-driven research and patent intelligence for your innovation.

Micro-service platform and implementation method thereof, electronic equipment and storage medium

An implementation method and technology of microservices, applied in the computer field, can solve the problems of lack of communication mechanism, inability to know the changes of the health status of microservices in time, etc., and achieve the effect of strong data throughput capacity.

Pending Publication Date: 2021-01-12
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at present, the components of the microservice platform are relatively independent and lack an effective communication mechanism. For example, service subscribers regularly obtain the service list, and cannot know the health status and status changes of the microservice in a timely manner. In addition, the current microservice platform is in There is a lot of pressure to deal with the large number of events generated by various components

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 platform and implementation method thereof, electronic equipment and storage medium
  • Micro-service platform and implementation method thereof, electronic equipment and storage medium
  • Micro-service platform and implementation method thereof, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0066] This embodiment provides a microservice platform, figure 1 A schematic diagram of the modules of this embodiment is shown. refer to figure 1 , the microservice platform of this embodiment includes an event publishing module 1 , an event subscription module 2 and an event bus 3 .

[0067]Specifically, in this embodiment, the event release module 1 is used to send several events including microservice information to the event bus 3, wherein the microservice information may include but not limited to: microservice ID, microservice group (in this embodiment For example, it can be set by the business application side, and the grouping dimensions can include but not limited to business type, machine room ID, etc.), microservice IP, instance process ID, microservice status (for example, online, offline), start time, event type (For example, microservice online event, microservice offline event), event source, computer room, etc. The event bus 3 is used to process several re...

Embodiment 2

[0079] This embodiment provides a method for implementing a microservice platform, wherein the microservice platform includes an event publishing module, an event subscription module, and an event bus, figure 2 A flowchart of this embodiment is shown. refer to figure 2 , the implementation method of this embodiment includes:

[0080] S1. The event publishing module sends several events including microservice information to the event bus.

[0081] Among them, the microservice information may include but not limited to: microservice ID, microservice grouping (in this embodiment, it can be set by the business application side, and the grouping dimension can include but not limited to business type, machine room identification, etc.), microservice IP , instance process ID, microservice status (for example, online, offline), startup time, event type (for example, microservice online event, microservice offline event), event source, computer room, etc.

[0082] S2. The event bu...

Embodiment 3

[0100] This embodiment provides an electronic device, which can be expressed in the form of a computing device (for example, it can be a server device), including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor The implementation method of the microservice platform provided by Embodiment 2 can be realized when the computer program is executed.

[0101] Figure 5 A schematic diagram of the hardware structure of this embodiment is shown, as Figure 5 As shown, the electronic device 9 specifically includes:

[0102] At least one processor 91, at least one memory 92, and a bus 93 for connecting different system components, including the processor 91 and the memory 92, wherein:

[0103] The bus 93 includes a data bus, an address bus, and a control bus.

[0104] The memory 92 includes a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read only me...

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 discloses a micro-service platform and an implementation method thereof, electronic equipment and a storage medium. The micro-service platform comprises an event publishing module, an event subscription module and an event bus, and the event publishing module is used for sending a plurality of events including micro-service information to the event bus, wherein the event bus is usedfor processing a plurality of received events according to a preset rule; and the event bus is also used for sending the processed event to the event subscription module. The micro-service platform comprises the event bus, the event sent by the event publishing module can be sent to the event subscribing module in time, a timely and effective communication mechanism among components of the micro-service platform is achieved, and meanwhile the micro-service platform has high data throughput capacity.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a micro-service platform and its implementation method, electronic equipment and storage media. Background technique [0002] The microservice platform can provide functions such as service framework, service registration and discovery, service governance, service routing, and service group switching. With the rapid growth of the number of microservices, higher requirements are put forward for the timeliness and availability of microservices perceived by the microservice platform. However, at present, the components of the microservice platform are relatively independent and lack an effective communication mechanism. For example, service subscribers regularly obtain the service list, and cannot know the health status and status changes of the microservice in a timely manner. In addition, the current microservice platform is in There is a lot of pressure to handle the h...

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/1051H04L67/1059H04L67/1095H04L67/51
Inventor 鲍宁天何小锋刘海锋
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD