Selection of a distributed network service
US-10516756-B1 · Dec 24, 2019 · US
US10979317B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10979317-B2 |
| Application number | US-201815876202-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 22, 2018 |
| Priority date | Jul 22, 2015 |
| Publication date | Apr 13, 2021 |
| Grant date | Apr 13, 2021 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
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.
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
characterised by the time relationship between creation and deployment of a service · CPC title
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
Related publications grouped by family.
Answers are generated from the same data shown on this page.