Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Micro-service registration method, micro-service discovery method and device, computer readable storage medium and micro-service system

A service registration and micro-service technology, applied in the field of computer-readable storage media and micro-service systems, can solve the problems of incompatibility between each other, weak service discovery query and matching capabilities, and achieve flexible query and good scalability Effect

Active Publication Date: 2019-12-31
ZTE CORP
View PDF18 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the purpose of the embodiments of the present invention is to provide a microservice registration method, a microservice discovery method, a device, a computer-readable storage medium, and a microservice system, so as to solve the problems of service registration and service discovery interfaces of existing products. The data structures are all private and incompatible with each other; the query and matching capabilities of service discovery are weak

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 registration method, micro-service discovery method and device, computer readable storage medium and micro-service system
  • Micro-service registration method, micro-service discovery method and device, computer readable storage medium and micro-service system
  • Micro-service registration method, micro-service discovery method and device, computer readable storage medium and micro-service system

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0035] In order to better illustrate this embodiment, the Semantic Web is described below:

[0036] The essence of the Semantic Web is to describe things in a way that computer applications can understand. It organizes the attributes of things and the relationships between things into structured data in a standardized format, and uses formal models to describe the implicit nature of these data. Contains semantics, so that these implicit semantics can be processed by machines.

[0037] The Semantic Web uses RDF (Resource Description Framework, Resource Description Framework) to describe information and resources on the Web. RDF refers to all things that can be identified on the Web as resources, and each resource is identified by an IRI (Internationalized Resource Identifier, Internationalized Resource Identifier); resources are described by attributes and attribute values, where attributes are a class of A special resource used to describe the relationship between resources. ...

no. 2 example

[0071] like image 3 As shown, the second embodiment of the present invention provides a microservice registration method. Service registration is a process in which a service provider reports its own service information to a registration center. The methods include:

[0072]Step S21, the service provider defines and publishes its own service information according to the private domain ontology knowledge of the service provider, the private domain ontology knowledge of the registration center, and the public domain ontology knowledge; and sends a service registration request to the registration center;

[0073] Specifically, first define and publish the public domain ontology knowledge, that is, the schema of service information. The ontology knowledge in the public domain includes the schema of core types and attributes related to service information, which is called SICS (Service Information Core Schema, Service Information Core Schema). SICS is standardized, public, indep...

no. 3 example

[0091] like Figure 4 As shown, the third embodiment of the present invention provides a microservice registration device, which includes: a memory 31, a processor 32, and a microservice registry stored in the memory 31 and operable on the processor 32 Program, when the microservice registration program is executed by the processor 32, it is used to implement the steps of the following microservice registration method:

[0092] The service provider defines and publishes its own service information according to the private domain ontology knowledge of the service provider, the registration center's private domain ontology knowledge and the public domain ontology knowledge; sends the service registration request to the registration center;

[0093] The registration center receives and processes the service registration request sent by the service provider.

[0094] When the microservice registration program is executed by the processor 32, it is also used to implement the follo...

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 registration method, a micro-service discovery method and device, a computer readable storage medium and a micro-service system. The method comprises the stepsof enabling a service provider to define and publish service information of a service provider according to private domain ontology knowledge of the service provider, private domain ontology knowledge of a registration center and public domain ontology knowledge; sending a service registration request to the registration center; and the registration center receives and processes a service registration request sent by the service provider. The service information is described through public and private domain ontology knowledge, so that different registration centers can share the service information and analyze and process the service information in different domains, and good expandability is achieved. A service caller performs service discovery in a semantic query mode, and the servicecaller is no longer limited to service names and other extremely few attributes.

Description

technical field [0001] The present invention relates to the field of communication technology, and in particular to a microservice registration method, a microservice discovery method, a device, a computer-readable storage medium, and a microservice system. Background technique [0002] A traditional software system usually puts all its functions in a single process, which is called a monolithic architecture. The monolithic architecture works well when the system scale is relatively small, but with the expansion of the system scale, more and more problems are exposed, mainly including: developers all modify the code in the same project, resulting in low development efficiency , The large amount of code makes it difficult to maintain the system, and the functional coupling makes it difficult to modify software functions, slow deployment speed, poor stability, and difficulty in scaling on demand. [0003] The emergence of the microservice architecture solves the problems exis...

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
IPC IPC(8): H04L29/08
CPCH04L67/51
Inventor 王思霏简明徐代刚
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products