Service registration method and usage method, and related apparatus

US10979317B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10979317-B2
Application numberUS-201815876202-A
CountryUS
Kind codeB2
Filing dateJan 22, 2018
Priority dateJul 22, 2015
Publication dateApr 13, 2021
Grant dateApr 13, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A service registration method and usage method, and a related apparatus are used to reduce risks generated when a service of an AP-type service providing node cannot be registered and a CP-type service providing node provides a service since distributed characteristics of a service providing node are not distinguished in a network partition scenario. The method is: obtaining, by a registration service node, network partition information, and receiving a registration request of a service providing node, where the registration request carries a distributed characteristic of the service providing node, and the distributed characteristic meets both consistency and partition tolerance, or meets both availability and partition tolerance; and determining, by the registration service node according to the network partition information and the distributed characteristic of the service providing node, whether registration of a service provided by the service providing node is allowed.

First claim

Opening claim text (preview).

The invention claimed is: 1. A service registration method, comprising: obtaining, by a registration service node, network partition information, and receiving a registration request of a service providing node, wherein the registration request carries a distributed characteristic of the service providing node, and the distributed characteristic meets both consistency and partition tolerance, or meets both availability and the partition tolerance; and determining, by the registration service node according to the network partition information and the distributed characteristic of the service providing node, whether registration of a service provided by the service providing node is allowed; wherein the consistency indicates that all nodes have same data at same time, the availability indicates that a response to each request is ensured regardless of success or failure, the partition tolerance indicates that separated systems function properly when there is a network partition. 2. The method according to claim 1 , wherein the determining, by the registration service node according to the network partition information and the distributed characteristic of the service providing node, whether registration of a service provided by the service providing node is allowed comprises: when the registration service node determines, according to the network partition information, that a registration service node cluster to which the registration service node belongs has the network partition, determining that the registration of the service provided by the service providing node is prohibited if determining that the distributed characteristic of the service providing node meets both consistency and partition tolerance; and determining that the registration of the service provided by the service providing node is allowed if determining that the distributed characteristic of the service providing node meets both availability and partition tolerance. 3. The method according to claim 1 , wherein the determining, by the registration service node according to the network partition information and the distributed characteristic of the service providing node, whether registration of a service provided by the service providing node is allowed comprises: according to the network partition information and the distributed characteristic of the service providing node, determining, by the registration service node, that the registration of the service provided by the service providing node is prohibited if determining that the distributed characteristic of the service providing node meets both consistency and partition tolerance and a service providing node cluster to which the service providing node belongs has the network partition; and determining that the registration of the service provided by the service providing node is allowed if determining that the distributed characteristic of the service providing node meets both availability and partition tolerance. 4. The method according to claim 3 , wherein the obtaining, by a registration service node, network partition information comprises: receiving, by the registration service node, the network partition information reported by the service providing node, wherein the network partition information is reported by the service providing node when the service providing node determines that communication between service providing nodes in the service providing node cluster to which the service providing node belongs is interrupted. 5. A registration service node device, comprising: a memory, a program stored in the memory, and a processor; wherein the processor is configured to read the program and execute the program to perform: obtaining network partition information, and receiving a registration request of a service providing node, wherein the registration request carries a distributed characteristic of the service providing node, and the distributed characteristic meets both consistency and partition tolerance, or meets both availability and the partition tolerance; and determining, according to the network partition information and the distributed characteristic of the service providing node, whether registration of a service provided by the service providing node is allowed; wherein the consistency indicates that all nodes have same data at same time, the availability indicates that a response to each request is ensured regardless of success or failure, the partition tolerance indicates that separated systems function properly when there is a network partition. 6. The device according to claim 5 , wherein the processor is configured to further perform: when determining, according to the network partition information, that a registration service node cluster to which the registration service node belongs has the network partition, determining that the registration of the service provided by the service providing node is prohibited if determining that the distributed characteristic of the service providing node meets both consistency and partition tolerance; and determining that the registration of the service provided by the service providing node is allowed if determining that the distributed characteristic of the service providing node meets both availability and partition tolerance. 7. The device according to claim 5 , wherein the processor is configured to further perform: according to the network partition information and the distributed characteristic of the service providing node, determining that the registration of the service provided by the service providing node is prohibited if determining that the distributed characteristic of the service providing node meets both consistency and partition tolerance and a service providing node cluster to which the service providing node belongs has the network partition; and determining that the registration of the service provided by the service providing node is allowed if determining that the distributed characteristic of the service providing node meets both availability and partition tolerance. 8. The device according to claim 7 , wherein the processor is configured to further perform: receiving the network partition information reported by the service providing node, where the network partition information is reported by the service providing node when the service providing node determines that communication between service providing nodes in the service providing node cluster to which the service providing node belongs is interrupted. 9. A registration service node device, comprising: a memory, a program stored in the memory, and a processor; wherein the processor is configured to read the program and execute the program to perform: obtaining network partition information, and receiving a query request of a service using node, wherein the query request carries an identifier of a requested service; determining a service providing node that provides a service indicated by the identifier of the service and a distributed characteristic of the service providing node, wherein the distributed characteristic meets both consistency and partition tolerance, or meets both availability and the partition tolerance; and determining, according to the network partition information and the distributed characteristic of the service providing node, whether use of the service provided by the service providing node is allowed; wherein the consistency indicates that all nodes have same data at same time, the availability indicates that a response to each request is ensured regardless of success or failure, the partition tolerance indicates that separated systems function properly when there is a network partition. 10. The device according

Assignees

Inventors

Classifications

  • characterised by the time relationship between creation and deployment of a service · CPC title

  • H04L67/10Primary

    in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46) · CPC title

  • Allotting numbers to messages; Counting characters, words or messages · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10979317B2 cover?
A service registration method and usage method, and a related apparatus are used to reduce risks generated when a service of an AP-type service providing node cannot be registered and a CP-type service providing node provides a service since distributed characteristics of a service providing node are not distinguished in a network partition scenario. The method is: obtaining, by a registration …
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04L41/5041. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Apr 13 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).