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

Configuration changing method and system in service system, and computer readable storage medium

A technology for configuration change and service system, applied in the field of communication, which can solve the problems of single point of failure of the coordinator, unable to release locked resources, affecting user experience, etc.

Active Publication Date: 2021-03-16
AIKESHENG INFORMATION TECH SHANGHAI
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are the following problems in the implementation of the two-phase commit protocol: (1) During the period when the coordinator sends proposals to all participants, all participants need to lock the corresponding resources in the service system to ensure that the resource status of the participants is consistent. If the resource is locked for too long, it will affect the external services of the system and affect the user experience.
(2) When any participant exits abnormally during the two-stage submission process, the entire process will be blocked, and locked resources cannot be released for a long time, reducing resource utilization
(3), the coordinator has a single point of failure problem
However, there are the following problems in the implementation of the three-phase commit protocol: (1) When the coordinator sends a commit message to all participants, if a network partition occurs, some participants receive the commit message and execute the commit of the configuration change, and some Participants abort the submission of this configuration change because the network partition did not receive the commit message, then when the network is restored, configuration changes will be inconsistent among these participants
(2), the coordinator has a single point of failure problem
However, there are the following problems in the implementation of the consensus algorithm: the algorithm is difficult to understand, and the implementation cost is high
(2) Only faulty nodes with faults can be tolerated, and malicious nodes that maliciously tamper with the implementation process of the consensus algorithm cannot be tolerated

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
  • Configuration changing method and system in service system, and computer readable storage medium
  • Configuration changing method and system in service system, and computer readable storage medium
  • Configuration changing method and system in service system, and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The specific embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0050] See figure 1 , is a schematic flowchart of a configuration change method in a service system provided by an embodiment of the present application. Such as figure 1 The shown method includes the following implementation steps:

[0051] S101. The user sends a configuration change request to the coordinator. Correspondingly the coordinator receives configuration change requests from users. The configuration change request is used to request a consistent configuration change for the service provided by the corresponding participant (such as the microservice component provided by the participant in the microservice system, or the service node corresponding to the participant in the distributed service system). The configuration change request carries configuration information and at least one participant involved in the con...

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 configuration change method and system in a service system and a computer readable storage medium. The method comprises the following steps: a coordinator receives a configuration change request, generates a global serial number, and persists the configuration change request and the global serial number to a key value database by adopting a key value pair; subscribing the key value database by the participant, calculating a first task table according to the current resource, and sending first confirmation information to the coordinator; after determining that all participants send the first confirmation information, persisting the first-stage confirmation information by the coordinator; after obtaining the first-stage confirmation information, calculating a second task schedule according to the locked resources by the participant, and sending second confirmation information to the coordinator when the two task schedules are the same; and after the coordinator determines that all participants send the second confirmation information, persisting the second-stage confirmation information by the coordinator to indicate the participants to complete configuration change requested by the configuration change request. Consistency of configuration changes in a service system is settled.

Description

technical field [0001] The present application relates to the field of communication technology, and in particular to a configuration change method, system and computer-readable storage medium in a service system. Background technique [0002] At present, in the scenario of solving the consistent configuration change of each micro-service component in a micro-service system or each service node in a distributed service system, the following three technologies are mainly used to achieve a consistent configuration change: two-phase commit protocol, three-phase Phase submission protocol and consensus algorithm. [0003] Among them, the implementation of the two-phase commit protocol includes two types of roles: the coordinator and multiple participants. The specific implementation process is: the coordinator sends a proposal to all participants, such as a specific configuration change proposal; the participant replies to the coordinator with a Confirmation message, which can b...

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): H04L12/24
CPCH04L41/0813
Inventor 王悦黄炎陈书俊梁广涛
Owner AIKESHENG INFORMATION TECH SHANGHAI
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