Data consistency detection method and device and electronic device

A detection method and consistency technology, applied in the field of cloud platforms, can solve the problems such as the inability of the cloud platform to send asynchronous messages, the inconsistency between resource instances and cloud computing tasks, etc.

Active Publication Date: 2020-01-10
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the interface called by the superior management system to control the cloud platform to create resource instances is an asynchronous interface, so if an exception occurs in the asynchronous message queue used t...

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
  • Data consistency detection method and device and electronic device
  • Data consistency detection method and device and electronic device
  • Data consistency detection method and device and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0051] see figure 1 , figure 1 Shown is a schematic flow chart of the data consistency detection method provided by the embodiment of the present invention, which can be applied to any electronic device with a data consistency detection function, and the method includes:

[0052] S101. Obtain an instance ID and an instance state of a resource instance whose state has changed in the cloud platform.

[0053]According to different application scenarios, resourc...

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 provides a data consistency detection method and device and an electronic device. The method comprises the steps of obtaining an instance identifier and an instance state of a resource instance of which the state changes in a cloud platform; obtaining a task state of a cloud computing task corresponding to the instance identifier; determining whether the instance state is matched with the task state or not; and if the instance state is not matched with the task state, determining that the resource instance is inconsistent with the cloud computing task. Whether the resource instance is successfully created by the cloud platform or not can be obtained without an asynchronous interface, so that whether the resource instance is consistent with the cloud computing task or not can still be accurately detected even if an asynchronous message queue used for receiving and sending asynchronous messages in the cloud platform is abnormal.

Description

technical field [0001] The invention relates to the technical field of cloud platforms, in particular to a data consistency detection method, device and electronic equipment. Background technique [0002] The upper-level management system of the cloud platform can create a corresponding cloud computing task for the user's cloud computing request, and the cloud computing task can be expressed in the form of an order. In addition, the superior management system can control the cloud platform to create corresponding resource instances to execute the cloud computing task by calling the interface of the cloud platform. In order to facilitate the management of the cloud platform, there should be consistency between cloud computing tasks and resource instances, that is, one cloud computing task corresponds to one resource instance, one resource instance corresponds to one cloud computing task, and the status of resource instances and orders should be unanimous. Therefore, in rela...

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): G06F16/23G06F16/2455G06F16/25H04L29/08
CPCG06F16/2365G06F16/2455G06F16/25H04L67/1097H04L67/60
Inventor 蔡志强
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products