Message queue multi-cloud adaptation method, device and equipment and readable storage medium
A message queue and multi-cloud technology, applied in the computer field, can solve the problems of reduced efficiency, large manpower consumption, high learning cost, etc., and achieve the effect of flexible adaptation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] The embodiment of the present invention provides a message queue multi-cloud adaptation method, which is applied to the target object that needs to use the message queue on the cloud, such as figure 1 As shown, the method specifically includes the following steps:
[0053] Step S101: Receive a cloud migration instruction for switching an existing cloud interconnected with the target object to a target cloud.
[0054]Wherein, the cloud migration instruction is used to switch the existing cloud currently used by the target object to the target cloud, and the type of the message queue on the existing cloud is different from the type of the message queue on the target cloud.
[0055] A message queue is a queued carrier that saves messages in the form of queues during message transmission.
[0056] In this embodiment, based on the user's needs, it is necessary to switch from the message queue on the existing cloud to the message queue on the target cloud, and there are diff...
Embodiment 2
[0097] An embodiment of the present invention provides a method for message queue multi-cloud adaptation, including Figure 4 In the shown message-queue-starter software development package (ie, jar package), and the message-queue-starter software development package is used by the caller (equivalent to the target object in Embodiment 1), wherein, the The caller can be a product or a service that needs to send and receive messages. By introducing the message-queue-starter software development kit into the code of the caller and using different configuration file templates, you can switch to use different message queues , the method specifically includes the following steps:
[0098]Step S201: Receive a cloud migration instruction for switching an existing cloud interconnected with the caller to a target cloud.
[0099] Wherein, the cloud migration instruction is used to switch the existing cloud used by the caller to the target cloud, and the type of the message queue on the ...
Embodiment 3
[0144] An embodiment of the present invention provides a message queue multi-cloud adaptation device, such as Figure 7 As shown, it is applied to the target object that needs to use the message queue on the cloud. The device specifically includes the following components:
[0145] A receiving module 701, configured to receive a cloud migration instruction for switching the existing cloud connected to the target object to the target cloud;
[0146] A parsing module 702, configured to parse out the configuration file corresponding to the type of message queue on the target cloud from the cloud migration instruction;
[0147] The configuration module 703 is configured to configure a preset producer template according to the configuration file to obtain a producer instance, and configure a preset consumer template according to the configuration file to obtain a consumer instance;
[0148] The processing module 704 is configured to perform a message processing operation between t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com