CN109067911B - Message sending implementation method based on multi-cloud platform sending conditions - Google Patents
Message sending implementation method based on multi-cloud platform sending conditions Download PDFInfo
- Publication number
- CN109067911B CN109067911B CN201811074621.9A CN201811074621A CN109067911B CN 109067911 B CN109067911 B CN 109067911B CN 201811074621 A CN201811074621 A CN 201811074621A CN 109067911 B CN109067911 B CN 109067911B
- Authority
- CN
- China
- Prior art keywords
- condition
- cloud platform
- sending
- message sending
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the technical field of multi-cloud platform message management, in particular to a message sending implementation method based on multi-cloud platform sending conditions. Firstly, registering a plurality of cloud platforms in a cloud registration center of a system management system; secondly, defining the type of the sending condition; then defining a system processing class corresponding to each condition type; then, each cloud platform customizes processing classes corresponding to different condition types according to self requirements; then editing the message content and selecting a condition type; and finally, triggering a message sending service process, acquiring and executing a processing class corresponding to the condition type, and calling a message sending module if the condition is met. The method and the device solve the problems that the message sending of the multi-cloud platform is complex, the message sending conditions of the multi-cloud platform cannot be uniformly set, the waste of human resources is caused, and the like. The message sending conditions can be configured in a unified mode, each cloud platform can be set in a personalized mode, and the flexibility, the expandability and the customization degree of message sending of the multiple cloud platforms are further improved.
Description
Technical Field
The invention relates to the technical field of multi-cloud platform message management, in particular to a message sending implementation method based on multi-cloud platform sending conditions.
Background
The current web system is provided with a message notification function, and the message notification needs a message sending function. In some systems, the specific sending conditions of the message are defined in a code or obtained from a configuration file or a database, and the sending conditions are relatively single and only fixed conditions can be judged. In the face of the change needed later, the original code needs to be modified by adding other starting conditions.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a message sending implementation method based on the sending condition of a multi-cloud platform, and solve the problems that the message sending of the multi-cloud platform is complex, the message sending condition of the multi-cloud platform cannot be uniformly set, the waste of human resources is caused, and the like.
The technical scheme for solving the technical problems is as follows:
the method comprises the steps of defining the type of a sending condition and a system processing class, customizing the processing class according to needs by a cloud platform, editing contents and calling a sending module to send a message.
The method specifically comprises the following steps:
step 1: registering a plurality of cloud platforms in a cloud registration center of a management and management system;
step 2: defining the type of the sending condition;
and step 3: defining a system processing class corresponding to each condition type;
and 4, step 4: each cloud platform customizes processing classes corresponding to different condition types according to self requirements;
and 5: editing message content and selecting a condition type;
step 6: triggering the message sending service process, acquiring and executing the processing class corresponding to the condition type, and calling the message sending module if the condition is met.
The management system refers to a system for uniformly managing a plurality of cloud platform infrastructures, various functions of the cloud platforms are operated through the system, and the management system comprises all functional operations of different cloud platforms;
the registering of the plurality of cloud platforms refers to that the service resources are called by registering the service addresses deployed by the components into the management system, and is an object-oriented service registering mode.
The sending condition types comprise user limitation, time limitation, service limitation and the like.
The sending condition is that the sending message can be executed only when various conditions are met, and the executing condition is formed by preset condition parameters which can be used for comparison;
the condition parameters which can be used for comparison refer to the parameter types which are predefined and based on the abstract classes of the condition parameters, the supported comparison modes comprise but are not limited to conventional comparison modes such as equal to, greater than, less than, unequal to, greater than or equal to, less than or equal to and the like, and the types of the values which need to be compared can be customized, and comprise but are not limited to conventional variable types such as numbers, characters and the like;
the definition of the system processing class corresponding to each condition type refers to configuring specific processing logic of each condition type, including parameters of the condition type and other configuration information, and is available for all cloud platforms.
Each cloud platform customizes the processing classes corresponding to different condition types, which means that each cloud platform independently defines the processing classes of related condition types according to the service requirements of the cloud platform and is only used by the cloud platform of the cloud platform.
The processing class corresponding to the acquisition condition type is obtained and executed according to the condition type selected by the current cloud platform after triggering the message sending service process, and if the condition type is judged to meet the condition parameters, the message sending module is called;
the message sending module is a module for executing specific message sending, reads data of messages needing to be sent from a message sending table, and calls related sending interfaces.
According to the invention, through efficient and complete definition of the sending conditions, the message sending conditions can be configured uniformly, and each cloud platform can be set individually, so that the flexibility, expandability and customization degree of message sending of multiple cloud platforms are further improved.
Drawings
The invention is further described below with reference to the accompanying drawings:
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
As shown in fig. 1, the method of the present invention comprises the following basic steps:
1. firstly, defining the type of the sending condition, wherein the code is as follows:
2. secondly, defining a system processing class corresponding to each condition type, wherein the codes are as follows:
3. acquiring and executing a processing class corresponding to the condition type, wherein the code is as follows:
4. calling a message sending module to finish message sending, wherein the codes are as follows:
Claims (5)
1. a message sending realization method based on the sending condition of a multi-cloud platform is characterized in that: the method comprises the steps of defining the type of a sending condition and a system processing class, customizing the processing class according to needs by a cloud platform, editing contents and calling a message sending module to send a message;
the method specifically comprises the following steps:
step 1: registering a plurality of cloud platforms in a cloud registration center of a management and management system;
step 2: defining the type of the sending condition;
and step 3: defining a system processing class corresponding to each condition type;
and 4, step 4: each cloud platform customizes processing classes corresponding to different condition types according to self requirements;
and 5: editing message content and selecting a condition type;
step 6: triggering a message sending service process, acquiring and executing a processing class corresponding to the condition type, and calling a message sending module if the condition is met;
each cloud platform customizes the processing classes corresponding to different condition types, which means that each cloud platform independently defines the processing classes of related condition types according to the service requirements of the cloud platform and is only used by the cloud platform of the cloud platform.
2. The method of claim 1, wherein:
the management system refers to a system for uniformly managing a plurality of cloud platform infrastructures, various functions of the cloud platforms are operated through the system, and the management system comprises all functional operations of different cloud platforms;
the registering of the plurality of cloud platforms refers to that service resources are called by registering service addresses deployed by the components into the management system, and the registering method is an object-oriented service registering mode.
3. The method of claim 1, wherein:
the sending condition types comprise user limitation, time limitation and service limitation types.
4. The method of claim 1, wherein:
the sending condition is that the sending message can be executed only when various conditions are met, and the executing condition is formed by preset condition parameters which can be used for comparison;
the condition parameters which can be used for comparison refer to the parameter types which are predefined and based on the abstract classes of the condition parameters, the supported comparison modes comprise but are not limited to the conventional comparison modes which are equal to, larger than, smaller than, unequal to, larger than or equal to and smaller than, and the types of the values which need to be compared can be customized, and comprise but are not limited to the conventional variable types of numbers and characters;
the definition of the system processing class corresponding to each condition type refers to configuring specific processing logic of each condition type, including parameters of the condition type and other configuration information, and is available for all cloud platforms.
5. The method of claim 1, wherein: the processing class corresponding to the acquisition condition type is obtained and executed according to the condition type selected by the current cloud platform after triggering the message sending service process, and if the condition type is judged to meet the condition parameters, the message sending module is called;
the message sending module is a module for executing specific message sending, reads data of messages needing to be sent from a message sending table, and calls related sending interfaces.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811074621.9A CN109067911B (en) | 2018-09-14 | 2018-09-14 | Message sending implementation method based on multi-cloud platform sending conditions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811074621.9A CN109067911B (en) | 2018-09-14 | 2018-09-14 | Message sending implementation method based on multi-cloud platform sending conditions |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109067911A CN109067911A (en) | 2018-12-21 |
CN109067911B true CN109067911B (en) | 2022-01-21 |
Family
ID=64761888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811074621.9A Active CN109067911B (en) | 2018-09-14 | 2018-09-14 | Message sending implementation method based on multi-cloud platform sending conditions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109067911B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110515677A (en) * | 2019-07-30 | 2019-11-29 | 国云科技股份有限公司 | A method of based on the customized timed task of cloudy platform |
CN114928663B (en) * | 2022-06-02 | 2024-08-16 | 蜂助手股份有限公司 | Method and device for identifying callback message |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095848A (en) * | 2013-02-06 | 2013-05-08 | 上海帜讯信息技术有限公司 | Method of cloud folder arrangement and information interaction for enterprise client terminal |
CN106383729A (en) * | 2016-09-12 | 2017-02-08 | 济南浪潮高新科技投资发展有限公司 | Method for realizing message pushing according to dynamic configuration |
CN107493310A (en) * | 2016-06-13 | 2017-12-19 | 腾讯科技(深圳)有限公司 | A kind of cloud resource processing method and cloud management platform |
WO2018095416A1 (en) * | 2016-11-24 | 2018-05-31 | 腾讯科技(深圳)有限公司 | Information processing method, device and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105516259B (en) * | 2015-11-27 | 2019-06-04 | 北京奇虎科技有限公司 | A kind of method for sending information and device |
CN108011764A (en) * | 2017-12-07 | 2018-05-08 | 国云科技股份有限公司 | A kind of method for predicting more cloud platform storage resource increments |
-
2018
- 2018-09-14 CN CN201811074621.9A patent/CN109067911B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095848A (en) * | 2013-02-06 | 2013-05-08 | 上海帜讯信息技术有限公司 | Method of cloud folder arrangement and information interaction for enterprise client terminal |
CN107493310A (en) * | 2016-06-13 | 2017-12-19 | 腾讯科技(深圳)有限公司 | A kind of cloud resource processing method and cloud management platform |
CN106383729A (en) * | 2016-09-12 | 2017-02-08 | 济南浪潮高新科技投资发展有限公司 | Method for realizing message pushing according to dynamic configuration |
WO2018095416A1 (en) * | 2016-11-24 | 2018-05-31 | 腾讯科技(深圳)有限公司 | Information processing method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN109067911A (en) | 2018-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107896162B (en) | Deployment method and device of monitoring system, computer equipment and storage medium | |
US20150193219A1 (en) | Flexible feature deployment strategy | |
CN106331135B (en) | A kind of part interface update method, system, client and server-side | |
CN108989189B (en) | Message pushing method based on enterprise WeChat | |
CN109067911B (en) | Message sending implementation method based on multi-cloud platform sending conditions | |
CN103309700A (en) | Plug-in management and control method and device | |
CN111427677B (en) | Artificial intelligence product generation method, device and server | |
US20130117430A1 (en) | Method for providing wireless application privilege management | |
CN103200292A (en) | Menu display method and terminal | |
CN105183452A (en) | Spring AOP based remote protocol service middleware for monitoring power distribution device | |
CN105718267A (en) | Method and system for realizing combination of multiple applications into single application | |
US20090075639A1 (en) | Device and method for preserving customized user settings when transitioning between mobile communication devices | |
CN102208081A (en) | Method for making business process management (BPM) application to be suitable for being used by multi-tenancy (MT) usages and apparatus thereof | |
CN116248629B (en) | Registration optimization method for SCA equipment component | |
CN100492284C (en) | Method, system for displaying menu, and client end | |
CN109190075A (en) | A kind of message method based on cloudy platform type of message | |
CN113886015A (en) | Application message issuing method based on k8s | |
CN108933699A (en) | A kind of cloudy platform message method based on message template | |
CN101136878A (en) | Method and system for implementing work and leisure detached instant communication | |
CN107025126B (en) | Resource scheduling method, NFVO and system | |
CN111984293A (en) | Information processing method, device and storage medium | |
CN101729329A (en) | Method for managing application programs in open service gateway service platform and architecture thereof | |
CN100568178C (en) | A kind of control adding method | |
CN101252759B (en) | Apparatus, system and method for processing unit mounting | |
CN107807884B (en) | Method for modular management of error codes |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |