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

Micro-service registration method and device

A micro-service and registration information technology, applied in the computer field, can solve problems such as inability to obtain services and malicious attacks when calling terminals

Active Publication Date: 2020-02-25
TENCENT TECH (SHENZHEN) CO LTD
View PDF10 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If, after a microservice terminal is hacked, the address of the registered microservice is maliciously modified in the registration center, causing other calling terminals to fail to obtain the corresponding service or be maliciously attacked through the address returned by the registration center

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 and device
  • Micro-service registration method and device
  • Micro-service registration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0043] It should be understood that the term "and / or" used in the description of the present application and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0044] The system involved in the embodiment of the present application may be a distributed system formed by connecting a client and multiple nodes (computing devices of any form in the access network, such as servers and user t...

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 embodiment of the invention discloses a micro-service registration method and device. The method comprises the following steps: receiving a registration request sent by a micro-service terminal; obtaining a public key of the micro-service terminal to decrypt signature data of the registration information, and detecting whether the information obtained by decrypting the signature data of the registration information is the same as the registration information of the micro-service or not; if yes, detecting whether a first name and a first check code exist in a storage space of the blockchainnetwork or not; if not, sending registration information and signature data of the registration information to each consensus node in the blockchain network; and if the consensus response returned byeach consensus node satisfies the consensus condition, calling the smart contract to store the registration information in the storage space of the blockchain network, and returning a registration completion response to the micro-service terminal for the registration request. By adopting the embodiment of the invention, the address of the micro-service can be prevented from being maliciously tampered, and the safety of the micro-service and the stability of the provided service are improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a microservice registration method and device. Background technique [0002] In order to ensure security, the existing microservice registry (for example, zookeeper) can only be deployed in a mutually trusted distributed mirror. If, after a microservice terminal is hacked, the address of the registered microservice is maliciously modified in the registration center, causing other calling terminals to fail to obtain the corresponding service or be maliciously attacked through the address returned by the registration center. Contents of the invention [0003] The embodiments of the present application provide a microservice registration method and device, which can prevent the address of the microservice from being maliciously tampered with, and improve the security of the microservice and the stability of the service provided. [0004] In the first aspect, the e...

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/06H04L9/32H04L29/08
CPCH04L63/0442H04L9/3247H04L63/12H04L67/10H04L67/51
Inventor 李茂材周开班王宗友刘攀张劲松朱耿良孔利时一防黄焕坤刘区城杨常青蓝虎崔嘉辉
Owner TENCENT TECH (SHENZHEN) CO LTD
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