CN113225699B - Message sending system and method based on alarm platform, and medium and equipment of storage method - Google Patents

Message sending system and method based on alarm platform, and medium and equipment of storage method Download PDF

Info

Publication number
CN113225699B
CN113225699B CN202110479563.3A CN202110479563A CN113225699B CN 113225699 B CN113225699 B CN 113225699B CN 202110479563 A CN202110479563 A CN 202110479563A CN 113225699 B CN113225699 B CN 113225699B
Authority
CN
China
Prior art keywords
message
sending
sent
determining
preset
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
Application number
CN202110479563.3A
Other languages
Chinese (zh)
Other versions
CN113225699A (en
Inventor
马瑞瑞
王毅
刘鹏飞
应成楼
何新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Thermal Power Research Institute Co Ltd
Original Assignee
Xian Thermal Power Research Institute Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Xian Thermal Power Research Institute Co Ltd filed Critical Xian Thermal Power Research Institute Co Ltd
Priority to CN202110479563.3A priority Critical patent/CN113225699B/en
Publication of CN113225699A publication Critical patent/CN113225699A/en
Application granted granted Critical
Publication of CN113225699B publication Critical patent/CN113225699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B27/00Alarm systems in which the alarm condition is signalled from a central station to a plurality of substations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An alarm platform-based message sending system and method, and a storage method medium and device, wherein the method comprises: determining the message type of a message to be sent of the alarm platform; determining a sending mode of the message to be sent in a message distribution system based on the message type; determining a service interface matched with the sending mode; based on the service interface, the message to be sent is sent to the user side meeting the sending mode through the message distribution system; the message sending method based on the alarm platform is stored on a computer readable storage medium, and computer executable instructions are also stored on the computer readable storage medium and can realize the step of the message sending method after being executed; hardware required by the message sending method based on the alarm platform is message sending equipment based on the alarm platform, so that the sending process of the message to be sent can be stable, and the realization cost is low.

Description

Message sending system and method based on alarm platform, and medium and equipment of storage method
Technical Field
The invention relates to the technical field of automation control, in particular to a message sending system and method based on an alarm platform, and a medium and equipment of a storage method.
Background
In the related technology, the message to be sent based on the alarm platform of the fire plant unit is usually sent in a creative short message cat mode, and in the process of sending the message to be sent, the defects of unstable system, high cost and the like exist.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide a message sending system and method based on an alarm platform, a medium and equipment of a storage method, which determine the message type of a message to be sent of the alarm platform; determining a sending mode of the message to be sent in a message distribution system based on the message type; determining a service interface matched with the sending mode; based on the service interface, the message to be sent is sent to the user side meeting the sending mode through the message distribution system, so that the sending process of the message to be sent can be stable, and the realization cost is low.
In order to achieve the purpose, the technical scheme of the invention is as follows:
the message sending system based on the alarm platform comprises:
the first determining module is used for determining the message type of the message to be sent of the alarm platform;
a second determining module, configured to determine, based on the message type, a sending manner of the message to be sent in a message distribution system;
the second determining module includes:
a first determining sub-module, configured to determine, based on the message type, internal association information related to the message to be sent in the message distribution system;
a second determining submodule, configured to determine, in response to that the internal association information satisfies a first preset condition, external association information related to the message to be sent outside the message distribution system;
a third determining submodule, configured to determine, in response to that the external associated information satisfies a second preset condition, a message receiver list for storing a receiver of the message to be sent;
a fourth determining submodule, configured to determine, based on the message recipient list, a sending manner corresponding to each message recipient;
a third determining module, configured to determine a service interface matching the sending method;
and the first sending module is used for sending the message to be sent to the user side meeting the sending mode through the message distribution system based on the service interface.
The sending method of the message sending system based on the alarm platform comprises the following steps:
(1) determining the message type of the message to be sent of the alarm platform;
(2) determining a sending mode of the message to be sent in a message distribution system based on the message type; the method comprises the following steps:
determining internal association information related to the message to be sent in the message distribution system based on the message type;
responding to the internal associated information meeting a first preset condition, and determining external associated information related to the message to be sent outside the message distribution system;
determining a message receiver list used for storing the receivers of the message to be sent in response to the external associated information meeting a second preset condition;
and determining a corresponding sending mode of each message receiver based on the message receiver list.
(3) Determining a service interface matched with the sending mode;
(4) and based on the service interface, sending the message to be sent to a user side meeting the sending mode through the message distribution system.
After determining internal association information related to the message to be sent in the message distribution system based on the message type, the method further includes: acquiring and storing the shielding record of the message to be sent under the condition of at least one of the following conditions: the sending semaphore represents that the message to be sent stops sending; the message organization is masked; the message content is masked; and the number of the messages to be sent in the preset time length is more than or equal to the preset periodic sending number.
The determining external association information related to the message to be sent outside the message distribution system includes: determining the setting information of the alarm platform; responding to the preset working time period set by the alarm platform represented by the setting information, and determining the matching relation between the current sending time of the message to be sent and the preset working time period; determining a shielding state of a user side which needs to receive the message to be sent; and determining at least one of the matching relation and the shielding state as the external association information.
The responding to the setting information representation that the alarm platform has set a preset working period, and determining the matching relationship between the current sending time and the preset working period comprises the following steps: responding to the preset working time period set by the alarm platform represented by the setting information, and determining whether the current sending time is included in the preset working time period; responding to the situation that the current sending time is included in the preset working time period, and determining that the matching relation is a first matching relation; and determining that the matching relationship is a second matching relationship in response to the current sending time not being included in the preset work time period.
After determining the external association information related to the message to be sent outside the message distribution system, the method further includes: in response to that the matching relationship is the first matching relationship and the shielding state represents that the user side is not shielded, determining that the external association information meets a second preset condition;
in response to the matching relationship being a second matching relationship, suspending sending the message to be sent; responding to the condition that the pause time reaches the preset work time period, and sending the message to be sent to a user side meeting the sending mode;
and responding to the fact that the matching relationship is the first matching relationship and the shielding state represents that the user side is shielded, and acquiring and storing a shielding record of the message to be sent.
After the message to be sent is sent to the user side meeting the sending mode through the message distribution system based on the service interface, the method further includes: scanning a message sending table according to a preset distribution frequency; the message sending table is used for storing messages to be sent; under the condition that updated messages to be sent are scanned, determining the current scanning time; and determining the shielding state of the user side receiving the updated message to be sent in response to the fact that the current scanning moment is included in the preset working time period.
The message sending method based on the alarm platform is stored in a computer readable storage medium, and computer executable instructions are stored on the computer readable storage medium, and after the computer executable instructions are executed, the steps of the message sending method can be realized.
The hardware required by the message sending method based on the alarm platform is message sending equipment based on the alarm platform, and the message sending equipment comprises a memory and a processor, wherein computer executable instructions are stored on the memory, and the steps of the method can be realized when the processor runs the computer executable instructions on the memory.
The message sending device comprises a processor, at least one communication bus, a communication interface, at least one external communication interface and a memory, wherein the communication interface is configured to realize connection communication among the components; the communication interface comprises a display screen; the external communication interface comprises a standard wired interface and a standard wireless interface; the processor is configured to execute an image processing program in the memory to implement the steps of the alert platform based messaging method.
The invention provides a message sending system and method based on an alarm platform, a medium and equipment of a storage method, wherein for an acquired message to be sent, a sending mode is determined according to the type of the message to be sent; and calling the service interface matched with the sending mode to send the message to be sent to the user side, so that the sending process of the message to be sent is stable, and the realization cost is low.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation process of a message sending method based on an alarm platform according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another implementation of the alarm platform-based message sending method according to the embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a message sending system based on an alarm platform according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an implementation flow for providing message distribution according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an implementation flow of message sending provided by the embodiment of the present invention;
fig. 6 is an application scenario diagram of message distribution according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a message sending system based on an alarm platform according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a message sending device based on an alarm platform according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following describes specific technical solutions of the present invention in further detail with reference to the accompanying drawings in the embodiments of the present invention. The following examples are intended to illustrate the invention, but are not intended to limit the scope of the invention.
Before further detailed description of the embodiments of the present invention, terms and expressions referred to in the present invention will be described, and the terms and expressions referred to in the present invention will be used for the following explanation.
1) A Mobile Agent Server (MAS) gateway is an access tool for assisting an original enterprise business system to realize wireless application, and the original enterprise business system can conveniently realize the wireless application after the MAS is accessed.
2) The semaphore can inform the receiving party of the occurrence of a certain event, but cannot deliver specific event content.
An exemplary application of the alarm platform-based messaging system provided by the present invention is described below, wherein the terminal in the system provided by the embodiment of the present invention may be implemented as various types of alarm platform-based messaging devices, such as a laptop, a tablet computer, a desktop computer, and a mobile device.
In the following, an exemplary application will be described when the alert platform based messaging system is implemented as an alert platform based messaging device.
Fig. 1 is a schematic flow chart illustrating an implementation process of a message sending method based on an alarm platform according to an embodiment of the present invention, as shown in fig. 1, a sending method of a message sending system based on an alarm platform,
step S101, determining the message type of the message to be sent of the alarm platform.
The alarm platform is based on a thermal power plant implementation monitoring system or a plant-level production process monitoring system, and reads real-time operation data of the thermal power unit. The alarm platform can receive various types of messages transmitted by other systems, and transmit the messages to the message distribution system, and the message distribution system transmits the received messages to each user terminal. The message types include: a notification class message, a prompt class message, a system class message (e.g., system on or off), or an alarm class message for an alarm platform. In some possible implementations, the message to be sent may be a received message sent by another system to the alarm platform; the other systems refer to systems capable of communicating with an alarm platform, such as a company ERP, a data center, an emergency management system, or the like. Such as an event alert message generated by a data source of any third party. The message to be sent can also be a notification type or alarm type message generated by the alarm platform itself.
Step S102, based on the message type, determining the sending mode of the message to be sent in the message distribution system.
The message distribution system is used for receiving the message to be sent transmitted by the alarm platform, and sending the message to be sent to the user side according to the determined sending mode by calling the service interface matched with the sending mode. Determining whether the associated information of the message to be sent meets a preset condition or not by determining the message type of the message to be sent, and if the associated information meets the preset condition, acquiring a message receiver list of the message to be sent; by analyzing the message receiver list, the method for each message receiver to receive the message to be sent can be determined, and thus, the sending method of the message to be sent can be known. For example, in the message receiver list, some message receivers provide mobile phone numbers, and receive messages through short messages, so that the corresponding sending mode of the message receivers is short message sending; some message receiving and receiving parties provide instant messaging accounts, and receive messages through instant messaging application programs, so that the corresponding sending mode of the message receiving and receiving parties is an instant messaging mode.
And step S103, determining a service interface matched with the sending mode.
The message distribution system has a service interface matched with any transmission mode. According to different sending modes of the message to be sent, the message distribution system calls a service interface matched with the sending mode so as to send the message to be sent to the corresponding user side through the service interface. In some possible implementation manners, when the message to be sent is sent according to different sending manners, service interfaces to be called are different, so that the message is sent by calling the service interface matched with the sending manner, and the stability of message sending can be improved.
And step S104, based on the service interface, sending the message to be sent to the user side meeting the sending mode through the message distribution system.
The user terminal satisfying the sending mode may be understood as a user terminal where the receiving party receives the message in the sending mode, for example, the receiving party receives the message in a short message mode, and then the user terminal is a mobile phone terminal having a mobile phone number of the receiving party. Or, the receiver receives the message by using a mail, and the user side is a mailbox or the like used by the receiver to receive the message. The message to be sent is sent to the user side with the sending mode by calling the service receiving matched with the sending mode, so that the stability of message sending can be ensured, and the message sending cost can be reduced.
Determining a sending mode according to the type of the message to be sent for the acquired message to be sent; and calling the service interface matched with the sending mode to send the message to be sent to the user side, so that the sending process of the message to be sent is stable, and the realization cost is low.
To improve the stability of message sending, the sending method of the message to be sent may be determined in the following manner, that is, the step S102 may be implemented by the steps shown in fig. 2, fig. 2 is another implementation flow diagram of the message sending method based on the alarm platform according to the embodiment of the present invention, and the following description is performed with reference to the steps shown in fig. 1 and 2:
step S201, based on the message type, determines internal association information related to a message to be sent in the message distribution system.
Different types of messages to be sent have different internal association information. The internal relationship information represents relevant parameters set in the message distribution system in relation to the distribution process of the message to be sent. The relevant parameters set by the distribution process refer to parameters such as the internal system environment related to the message sending type, the related organization and the like.
In some possible implementation manners, the accuracy of distributing the message to be sent is improved by setting multiple pieces of internal association information, and the implementation process is as follows:
firstly, determining a sending semaphore belonging to a message type; and/or determining a message organization mechanism corresponding to the message type; and/or determining the message content of the message to be sent belonging to the message type; and/or determining the preset periodic sending number of the message type.
Here, the sending semaphore may be carried in the message to be sent, and is used to represent whether the message to be sent of the type stops sending; the message organization mechanism corresponding to the message type represents a mechanism which needs to receive the message to be sent of the type, and the message organization mechanism comprises: group, regional company, factory and unit. An organization is an organization that generates alarm messages, i.e., which groups need to be brought within alarm supervision. And configuring a message sending object for distributing related alarm messages corresponding to the alarm type and the organization mechanism. Such as: the method comprises the steps that starting and stopping of the machine No. 1 of the large power plant are alarmed, and a message sending group 1 configured by a group of machines No. 1 of the large power plant needs to send messages; the auxiliary machine of the large power plant No. 1 machine alarms to send a message to a message sending group 2 configured by a group of mechanisms, namely the large power plant No. 1 machine. The message content of the message to be sent is the specific propagation content of the message to be sent. The preset period sending number of the message type indicates the upper limit of sending the message of the type in a certain preset time period.
Then, at least one of a transmission semaphore, a message organization mechanism, message content, and a preset periodic transmission number is determined as the internal association information.
Here, one or more parameters related to the internal transmission environment of the message type determined in the above process are determined as internal association information; the internal association information may be in a parallel relationship, for example, the amount of the transmitted signal, the message organization mechanism, the message content or the preset period transmission number is determined as the internal association information; it may also be serial; for example, the transmission semaphore, the message organization, the message content and the preset cycle transmission number are determined as the internal association information. Priorities can also be set among the parameters, for example, the sending semaphore belonging to the message type is determined preferentially, then the message organization is determined, then the message content is determined, and finally the sending number of the preset period is determined. Therefore, the accuracy of the message distribution process can be improved by setting multiple parameters related to the message distribution system as the internal relation information.
Step S202, responding to the internal associated information meeting a first preset condition, and determining external associated information related to the message to be sent outside the message distribution system.
In some embodiments, the first preset condition includes a plurality of conditions, wherein the preset condition is set for each parameter in the internal relationship information, and whether the parameter meets the set condition is determined; and when all the parameters included in the internal associated information meet the corresponding preset conditions, determining that the internal associated information meets the first preset conditions. For example, the preset condition corresponding to the semaphore to be sent indicates that the message to be sent does not stop sending; the preset condition corresponding to the message organization mechanism is that the message organization mechanism is not shielded; the preset condition corresponding to the preset cycle transmission number is that the preset cycle transmission number is not reached within the cycle duration represented by the preset cycle.
In some possible implementation manners, different determination conditions are set for different internal association information, and the determination processes of the association information may be parallel, progressive, or have a priority relationship, that is, whether the internal association information satisfies the first preset condition may be determined in the following manners:
the first method is as follows: the internal association information includes: under the condition of the sending semaphore, the message organization mechanism, the message content and the preset periodic sending number, in response to the fact that the sending semaphore represents that the message to be sent does not stop sending, the message organization mechanism is not shielded, the message content is not shielded, and the number of the messages to be sent in the preset time is smaller than the preset periodic sending number, it is determined that the internal associated information meets a first preset condition.
Here, the internal association information includes: sending a semaphore, the message organization mechanism, the message content and the preset periodic sending number; the information may have no priority relationship, that is, whether the information satisfies the respective preset conditions may be determined in any order. Or, the information has a priority relationship, that is, the priority relationship is: preferentially judging whether the sending semaphore represents that the message to be sent does not stop sending; if the transmitted semaphore indicates that the message to be transmitted does not stop transmitting, continuously judging whether a message organization mechanism corresponding to the message to be transmitted is not shielded; if the message organization mechanism is not shielded, continuously judging whether the message content of the message to be sent is partially shielded or completely shielded; if the message content is not shielded, continuously judging whether the number of the messages to be sent in the preset time duration is less than the preset cycle sending number; finally, if the number of the messages to be sent in the preset time length is smaller than the preset periodic sending number, determining that the internal associated information meets a first preset condition; and entering the next step, namely judging various external associated information in the message sending process.
The second method comprises the following steps: the internal association information includes: under the condition of one of the transmission semaphore, the message organization mechanism, the message content and the preset periodic transmission quantity, in response to the fact that the transmission semaphore represents that the message to be transmitted does not stop transmitting, or the message organization mechanism is not shielded, or the message content is not shielded, or the quantity of the message to be transmitted in the preset time is smaller than the preset periodic transmission quantity, it is determined that the internal association information meets a first preset condition.
Here, the internal association information includes: the sending semaphore, the message organization, the message content or the preset periodic sending number, i.e. the internal association information is one of these information. Then, whether the internal associated information meets the first preset condition can be determined by judging whether the information meets the corresponding preset condition.
The third method comprises the following steps: the internal association information includes: under the condition of sending the semaphore, the message organization mechanism and the message content, in response to the fact that the message to be sent is not stopped being sent and represented by the semaphore, the message organization mechanism is not shielded, and the message content is not shielded, it is determined that the internal associated information meets a first preset condition.
Here, the internal association information includes: the signaling quantity, the message organization mechanism and the message content are sent, and the three pieces of information may not have priority relations, that is, whether the three pieces of information meet respective corresponding preset conditions may be judged in any order. Or, the information has a priority relationship, for example, the priority order is: the amount of signaling sent, the message organization, and the message content. If the sending semaphore is judged in sequence, the message organization mechanism and the message content both meet the corresponding preset conditions, namely the sending semaphore represents that the message to be sent does not stop sending, the message organization mechanism is not shielded, and the message content is not shielded, which indicates that the internal associated information meets the first preset condition, and the next step is carried out, namely the various external associated information is judged in the message sending process. In this way, when the internal related information is one or more of the above-mentioned information, the preset condition corresponding to the internal related information may be selected from the above-mentioned multiple judgment conditions to judge whether the internal related information satisfies the corresponding preset condition; that is, no matter whether the internal related information includes one or more of the above information, all the information in the internal related information satisfies the corresponding preset condition, and it is determined that the internal related information satisfies the first preset condition. Therefore, by setting various preset conditions for the internal associated information and judging whether the internal associated information meets the preset conditions in a step-by-step progressive mode, the frequency of sending useless or invalid messages can be reduced by distributing the messages to be sent meeting multiple preset conditions.
For internal associated information containing a plurality of information, if the internal associated information does not meet one or more preset conditions, determining that the internal associated information does not meet a first preset condition, and carrying out next message shielding record, wherein the implementation process is as follows:
and responding to the representation of the transmitted semaphore that the message to be transmitted stops transmitting, and/or a message organization mechanism is shielded, and/or message contents are shielded, and/or the number of the messages to be transmitted which are transmitted within a preset time length is larger than or equal to the preset periodic transmission number, and acquiring and storing a shielding record of the message to be transmitted.
Here, whether the internal association information includes a transmission semaphore, the message organization mechanism, one or more of the message content and the preset periodic transmission number, if at least one piece of the internal association information does not satisfy the corresponding preset condition, it is determined that the internal association information does not satisfy the first preset condition, and the next step is proceeded to store the message mask record. For example, the internal association information includes a sending semaphore, the message organization, the message content, and a preset periodic sending number; if any one or more of the quantity of the transmitted signals, the message organization mechanism, the message content and the preset periodic transmission quantity do not meet the corresponding preset conditions, the internal associated information is determined not to meet the first preset conditions. If the plurality of pieces of information in the internal association information have a priority relationship, for example, the priority order is: a sending semaphore, the message organization mechanism, the message content and a preset periodic sending number; and if the sending semaphore represents that the message to be sent stops sending, determining that the internal associated information does not meet the first preset condition, and no longer continuously judging whether the message organization mechanism is shielded, namely entering the next step and storing a message shielding record. If the sending semaphore indicates that the message to be sent does not stop sending, then continuing to judge whether the message organization mechanism is shielded, if the message organization mechanism is shielded, then determining that the internal association information does not meet the first preset condition, and not continuing to judge whether the message organization mechanism is shielded, namely entering the next step and storing a message shielding record. If the message organization mechanism is not shielded, continuously judging whether the message content is not shielded, if the message content is shielded, determining that the internal associated information does not meet the first preset condition, and not continuously judging whether the message organization mechanism is shielded, namely entering the next step and storing the message shielding record. If the message content is not shielded, continuously judging whether the number of the messages to be sent in the preset time length is smaller than the preset cycle sending number, if the number of the messages to be sent in the preset time length is larger than or equal to the preset cycle sending number, determining that the internal associated information does not meet the first preset condition, not continuously judging whether the message organization mechanism is shielded, namely entering the next step, and storing a message shielding record. In this way, under the condition that the internal associated information comprises a plurality of pieces of information, whether each piece of information in the internal associated information meets the corresponding preset condition is judged according to the priority, and when any one piece of information does not meet the preset condition, the internal associated information is determined not to meet the first preset condition, and the message shielding record is stored; thereby enabling the message distribution process to be performed orderly.
Different types of messages to be sent have different external association information. The external association information characterizes parameters related to the external communication environment of the message to be transmitted. The external communication environment of the message to be sent refers to external parameters involved in the process of sending the message to be sent; for example, the effective duration of the message to be sent, whether the message to be sent is in the normal working time, the shielding state of the terminal receiving the message to be sent, and the like.
In some possible implementation manners, the accuracy of sending the message to be sent is improved by setting multiple pieces of external association information, and the implementation process is as follows:
firstly, determining the setting information of an alarm platform; responding to the preset working hours set by the alarm platform represented by the setting information, and determining the matching relation between the current sending time of the message to be sent and the preset working hours; and/or determining the shielding state of a user terminal needing to receive the message to be sent.
Here, the preset work hours may be understood as a set time period in which the platform normally works, for example, the preset work hours may be set to 8 hours of the normal work from nine am to five pm. Firstly, judging whether the alarm platform starts the setting of the preset working time period or not, and if the alarm platform starts the setting of the preset working time period; then, the matching relationship between the current sending time of the message to be sent and the preset working period is continuously judged, that is, whether the current sending time is included in the preset working period or not is judged. After the message to be sent is obtained, the message to be sent, that is, the message receiving party list is read, and based on this, the user side that needs to receive the message to be sent can understand that each contact corresponds to the terminal in the receiving mode. For example, if the receiving mode of a certain contact is short message receiving, the user side that needs to receive the message to be sent is a terminal capable of receiving the short message, such as a mobile phone or a tablet computer. The shielding state of the user side comprises: a shielded state and an unshielded state.
Then, at least one of the matching relationship and the mask status is determined as external association information.
Here, determining one or more parameters related to the external communication environment of the message type determined in the above process as external associated information; the external associated information may be in a parallel relationship, for example, the amount of the transmitted signal, the message organization mechanism, the message content or the preset period transmission number is determined as the internal associated information; it may also be serial; for example, the transmission semaphore, the message organization, the message content and the preset cycle transmission number are determined as the internal association information. Priorities can also be set among the parameters, for example, the sending semaphore belonging to the message type is determined preferentially, then the message organization is determined, then the message content is determined, and finally the sending number of the preset period is determined. Therefore, the accuracy of the message distribution process can be improved by setting multiple parameters related to the message distribution system as the internal relation information.
Step S203, determining a message receiver list for storing the receivers of the message to be sent in response to the external associated information meeting the second preset condition.
If the external associated information comprises the matching relation and the shielding state, respectively judging whether the matching relation and the shielding state meet respective corresponding preset conditions. The matching relation represents the inclusion relation between the current sending time of the message to be sent and the preset working period, and if the current sending time is included in the preset working period, the matching relation is determined to be a first matching relation; and if the current sending time is not included in the preset working time period, determining that the matching relationship is a second matching relationship. If the matching relationship indicates that the current sending time is included in the preset working period (i.e. the matching relationship is the first matching relationship), it indicates that the matching relationship satisfies the corresponding preset condition. The preset condition corresponding to the shielding state is that the user side is in an unshielded state; based on this, the matching relationship indicates that the current sending time is included in the preset working period and the user side is in an unshielded state, and it is determined that the external associated information meets the second preset condition. In the case that the external association information includes a matching relationship and a shielding state, a priority relationship between the matching relationship and the shielding state may be set, for example, the priority of the matching relationship is set to be higher than that of the shielding state; namely, whether the current sending time of the message to be sent is contained in the preset working period is judged, if the current sending time of the message to be sent is contained in the preset working period, the shielding state of the user side is continuously judged, and if the user side is not shielded, it is determined that the external associated information meets a second preset condition.
If the matching relationship is the first matching relationship, the shielding state of the user side is judged to be the shielding state, the external associated information is not satisfied with the second preset condition, and the shielding record of the message to be sent is stored.
If the external associated information is in a matching relationship or a shielding state, the matching relationship indicates that the current sending time is included in the preset working period or the user side is in an unshielded state, and the external associated information can be determined to meet a second preset condition.
Through the steps S201 to S203, it is determined that the internal associated information satisfies the first preset condition and the external associated information satisfies the second preset condition, and the message recipient list is read. The message recipient list may be a received list that includes a group of contacts in the list and each contact. If the message recipient list includes multiple groups of message receiving contacts, the multiple groups are comma separated; when the message receiver list and the message receiving contact group are empty at the same time, the system acquiesces to obtain a message receiver list, namely the message receiving contact group according to the message classification identification.
Step S204, based on the message receiver list, determining the corresponding sending mode of each message receiver.
In the message receiver list, the contact way of each message receiver and the way of receiving the message to be sent are analyzed, and the sending way corresponding to each message receiver can be determined according to the way of receiving the message to be sent of the receiver. For example, in the message recipient list, it is determined that the receiving mode of a certain contact is short message receiving, and then it may be determined that the sending mode of the message to be sent is short message sending for the contact.
In the process of distributing the message to be sent, multiple judgment conditions are set through internal associated information related to the message to be sent, so that the message to be sent can be distributed more accurately; in the process of sending the message to be sent, multiple judgment conditions are set by external associated information related to the message to be sent, so that the message to be sent can be sent more stably.
If the current sending time of the message to be sent is not included in the preset working period, the message is not sent temporarily, and the obtained message is sent continuously after the working time reaches the preset working period, which can be realized by the following steps:
and step one, responding to the second matching relationship, and suspending sending the message to be sent.
Here, the message transmission table is used to store a message to be transmitted. And if the current sending time of the message to be sent is not included in the preset working time period, which indicates that the current time does not belong to the normal working time period of the alarm platform, the message to be sent is suspended.
And secondly, in response to the condition that the pause time reaches the preset work time period, sending the message to be sent to the user side meeting the sending mode.
If the matching relationship is the second matching relationship, the sending of the message to be sent is suspended, and the message to be sent is continuously sent when the current time reaches the preset working time period; namely, the message distribution system sends the message to be sent to the user side meeting the sending mode by calling the service interface.
If the current sending time is not within the preset working time period, the message is paused to be sent, and the obtained message is continuously sent after the working time reaches the preset working time period, so that the message is sent to the receiver only within the preset working time period, the use frequency of the alarm platform can be reduced, the disturbance to the receiver is reduced, and the user experience is improved.
After the message to be sent is sent, the message distribution system scans a message sending table according to the message distribution frequency so as to obtain the message to be sent in time, thereby ensuring the timeliness of message sending and being realized by the following steps:
firstly, scanning a message sending table according to a preset distribution frequency.
Here, the message sending table is used for storing a message to be sent; the message distribution system scans the message sending table according to a certain distribution frequency to acquire a new message to be sent input by the alarm platform. For example, the preset dispensing frequency may be set to 20 minutes.
And secondly, determining the current scanning time under the condition of scanning the updated message to be sent.
Here, when a new message to be sent is scanned, it indicates that the alarm platform has a new message to be sent input, and determines the time when the updated message to be sent is read, that is, the current scanning time.
And thirdly, responding to the preset working time period included in the current scanning moment, and determining the shielding state of the user side receiving the updated message to be sent.
Here, whether the current scanning time is included in a preset working period is judged, and if the current scanning time is included in the preset working period, the message distribution system and the alarm platform are both in a normal working period, so that the shielding state of the user side is determined, and whether the updated external associated information of the message to be sent meets a second preset condition is further judged.
In some embodiments, the sending modes of the message to be sent include at least two types: basic communication mode and instant communication mode, wherein:
the basic communication mode comprises the following steps: short messages and multimedia messages, etc. The instant communication mode comprises the following steps: social applications, mail or third party servers, etc.
And when the sending mode is a basic communication mode, taking the MAS gateway service interface matched with the sending mode corresponding to each message receiver as a service interface matched with the basic communication mode. Therefore, the corresponding sending mode is a receiver of the short message, and the message distribution system sends the message to be sent to the communication terminal of the receiver in the form of the short message by calling the MAS gateway service interface.
And under the condition that the sending mode is instant messaging, taking an instant messaging Application Program Interface (API) matched with the sending mode corresponding to each message receiver as a service Interface matched with the instant messaging mode. Therefore, the corresponding sending mode is the receiver of the short message, and the message distribution system sends the message to be sent to the communication terminal of the receiver in the form of instant communication by calling the instant communication API.
Different service interfaces are called according to different sending modes, and the sending of the message to be sent is realized, so that the message sending cost can be reduced, and the message sending stability is improved.
Through the message distribution system, after the message to be sent is sent, whether the message to be sent is sent successfully or not is detected, and the message which is not sent successfully for a super-long time is deleted to reduce the system memory space, which can be realized through the following processes:
and step one, responding to the received successful receiving information fed back by the user side, and storing a sending record of the message to be sent.
Here, after the message distribution system sends the message to be sent to the user side by calling the service interface matched with the sending mode, whether the terminal receives the message successfully is monitored by judging whether the message to be sent can receive the receiving success information fed back by the terminal. If the receiving success information fed back by the user terminal can be received in a short time, the sending success record of the message to be sent is stored.
And step two, responding to the situation that the successful sending information fed back by the user side is not received, temporarily storing the message to be sent in a queue, and determining the sent time length of the message to be sent.
Here, if the successful reception information fed back by the user end cannot be received in a short time, the message to be sent is temporarily stored in the message queue, and the time length from the sending time to the current time of the message to be sent, that is, the sent time length, is counted.
And thirdly, clearing the message to be sent from the queue under the condition that the sent time length is greater than or equal to the preset time length.
Here, if the sent duration is greater than or equal to the preset duration, which indicates that the message to be sent has been sent for too long, and further indicates that the message to be sent has lost timeliness, it is not necessary to continue sending the message to the user side, and the message is cleared from the queue. And if the sent time length is less than the preset time length, the message to be sent is sent in a short time, and further the timeliness of the message to be sent is not lost, the message is continuously sent to the user side.
An exemplary application of the embodiment of the present invention in an actual application scenario will be described below, taking an example of distributing a message to be sent based on a plant alarm platform as an example.
Fig. 3 is a schematic structural diagram of a message sending system based on an alarm platform according to an embodiment of the present invention, and the following description is made with reference to fig. 3:
first, the other systems 301 generate a message to be sent and send the message to be sent to the alarm platform 302.
The other systems 301 include any system capable of communicating with an alarm system, such as a fire station unit system, a thermal power plant system, a fire station boiler system, a soot blower system, or a fire water supply system, etc.
Second, the alarm platform 302 sends the message to be sent to the messaging service 303.
Again, the message sending service 303 sends the message to be sent to the message distribution system 304.
Finally, the message distribution system 304 distributes the message to be sent to each receiving end based on the sending modes of different modes.
The sending mode comprises the following steps: short message 341, instant messaging 342, announcement 343, alert client 344, or third party service 345, etc.
A processing flow of the message distribution system 304 for performing message distribution is shown in fig. 4, and fig. 4 is a schematic view of an implementation flow of message distribution provided by the embodiment of the present invention, and the following description is performed in combination with the steps shown in fig. 4:
step S401, reading the configuration information of the message to be sent according to the message type.
Step S402, reading the sending semaphore of the message to be sent, and judging whether the message to be sent stops sending.
Here, the process proceeds to step S407 if the message to be transmitted stops being transmitted, and the process proceeds to step S403 if the message to be transmitted does not stop being transmitted.
Step S403, determine whether the message organization of the message to be sent is shielded.
Here, if the message organization is not masked, proceed to step S404; if the message organization is masked, the process proceeds to step S407.
Step S404, judging whether the message content of the message to be sent is shielded.
Here, if the message content is masked, the process proceeds to step S407, and if the message content is not masked, the process proceeds to step S405.
Step S405, judging whether the message to be sent in a single day exceeds the record number.
Here, if the message to be sent in a single day exceeds the record number, the process goes to step S407; if the number of messages to be sent in a single day does not exceed the record number, the process proceeds to step S406.
And step S406, storing the alarm message, and pushing the alarm information to a message sending queue according to the message sending group.
Step S407, store the masked record of the message to be sent.
Fig. 5 shows a message sending processing flow, where fig. 5 is a schematic view of an implementation flow of message sending provided in the embodiment of the present invention, and the following description is made with reference to the steps shown in fig. 5:
step S501, a message transmission table is read.
Step S502, judge whether to open the time of working hour to presume.
Here, if the man-hour setting has been started, the flow proceeds to step S503; if the time setting is not started, the process proceeds to step S504.
Step S503, determining whether the sending time of the message to be sent is within a preset working time period.
Here, if the sending time of the message to be sent is in the normal working time (i.e. the preset working time period), the step S504 is entered; if the sending time of the message to be sent is not in the normal working time, the step S501 is returned to.
Step S504, determine whether the mobile phone number for receiving the message to be sent is masked.
Here, if the mobile phone number for receiving the message to be transmitted is masked, go to step S507; if the mobile phone number for receiving the message to be transmitted is not masked, the process proceeds to step S505.
And step S505, sending the message to be sent to the terminal of the mobile phone number, and storing the message sending record.
Step S506, the transmission record of the message is deleted.
Step S507, the masked record of the mobile phone number is stored.
The process of sending the message to be sent generated in the alarm platform system to each user side is as follows:
firstly, keeping the original short message platform unchanged, and adding a trigger in a message sending intermediate table.
And secondly, automatically distributing the message record to a message distribution system 'message temporary table' when a new message arrives.
And thirdly, the message processing service scans the 'message temporary table' in real time to call the message sending service to distribute the message to the 'message sending table'.
And fourthly, automatically distributing the message by the message distribution system.
And fifthly, the message distribution system scans a message sending table according to the message distribution frequency, automatically sends messages according to the message types and the contact persons, stores message sending records, refreshes the message sending state, and continuously refreshes if the state is not returned to the system.
In the process of message distribution, the distributed message needs to satisfy the following constraint conditions:
first, the messaging system instruction conditions include: the message distribution system receives a system instruction sent by the mobile phone terminal and can process related services according to the instruction.
The system instructions are defined as follows:
# STOP: stopping sending the message classification information;
# STOP + [ message classification ID ]: stopping sending a certain message classification information;
# START: continuing to send the message;
# START + [ message Classification ID ]: continuing to send certain message classification information;
for example: # STOP, # STOP1, # START.
Second, the organizational conditions include: filtering the message according to the filtering organization mechanism selected by the message configuration information; if the message does not have organizational information then no filtering is performed.
Thirdly, the text filtering condition comprises: filtering the message according to the filtering characters set by the message configuration information, wherein a plurality of filtering conditions are separated by "|", and the filtering characters support wildcard "%".
For example: texas 2 #% non-stop | Texas% run; message content: the 'Texas 2# unit is converted from running to non-stop' and is filtered; the 'Texas 3# unit is not filtered from operation to non-stop' and the 'Texas 3# unit is filtered from standby to operation'.
Fourthly, the single-day message sending limit condition comprises: according to the configuration of the message distribution system, the number of message sending pieces is set, whether the number of message sending pieces per day exceeds the limit or not is judged, and if the number of message sending pieces per day exceeds the limit, the message is not sent.
Fifth, the on-time conditions include: setting 'working time setting' according to the configuration of a message distribution system, and judging whether the message sending time is in the 'working time setting' range; if the message sending time is not in the 'working time setting' range, the message is not sent, and the message is continuously sent when waiting in the 'working time setting' range.
Sixth, the blacklist conditions include: setting a 'forbidden number' according to the configuration of a message distribution system, judging whether the number of a message receiver meets the condition of the forbidden number, and if the number of the message receiver meets the 'forbidden number', not sending the message; and a plurality of numbers which are forbidden to be sent are divided by 'separation'.
For example: 130, 132, 1868182# ##.
Seventh, the duplicate information is not transmitted.
In some embodiments, the messaging service interface comprises: public int SendMessage (int msgTypeID, int expressLevel, string sender, string [ ] receivers, string msgSendType, string title, string message, DateTime sendTime, string msgGroup, string orgCode). Wherein, each parameter name, corresponding parameter type and corresponding parameter description are shown in table 1:
table 1 messaging service interface parameter table
Figure GDA0003643297120000151
Figure GDA0003643297120000161
The rules engine specific messaging service interface can be expressed as: public int SendMessage (int msgTypeID, int expressLevel, string sender, string title, string orgCode).
If the message to be sent is sent in a short message form, adopting an API (application program interface) provided by the MAS (Multi-agent System) gateway service as a short message sending interface; if the message to be sent is sent in the form of instant messaging, calling an instant messaging platform API (application program interface) to send the message to an instant messaging platform; if the message to be sent is sent in the form of the announcement, the message to be sent is sent to an announcement system according to the message type configuration information; and if the message to be sent is sent in the form of the third-party service, calling a third-party service interface according to the alarm type configuration information, and sending the message to be sent.
In the process of sending the alarm information to each contact, a contact group needs to be selected, for example, a user group is created and a mobile phone user is added, and then a user group is selected (one or more user groups can be selected) during message configuration; and finally, distributing the message to each mobile phone user in the user group according to the user group configuration during the short message distribution. The message distribution mode may be set in configuration information of the message distribution system, for example, the message distribution mode includes: (0: short message, 1: multimedia message, 2: WeChat, 3: announcement, and 4: alarm user terminal). In message distribution, one or more of a message distribution means, a contact group, a filter string, and a filter organization may be selected. As shown in fig. 6, fig. 6 is an application scenario diagram of message distribution provided in the embodiment of the present invention, where the system configuration includes: communication configuration 601, database configuration 602, message configuration 603, and other options 604. The message classification configurations presented in the interface of message classification configuration 600 include: category ID61, send style 62, filter text 63, filter organizational structure 64, and contact group 65. Wherein classification ID61 is 1; the transmission mode 62 is 0, 1, 2 (i.e., short message, multimedia message, and WeChat); the filter text 63 is: texas 2 #% non-stop | Texas% run; the filtration organization 64 is BYH #1|2 #%.
In the embodiment of the invention, different interfaces are called for the acquired messages to be sent according to different message distribution types, so that the fast and stable distribution of the messages to be sent is realized.
Fig. 7 is a schematic structural component diagram of an alarm platform-based message sending system according to an embodiment of the present invention, and as shown in fig. 7, the alarm platform-based message sending system 700 includes:
a first determining module 701, configured to determine a message type of a message to be sent of the alarm platform;
a second determining module 702, configured to determine, based on the message type, a sending manner of the message to be sent in a message distribution system;
a third determining module 703, configured to determine a service interface matching the sending method;
a first sending module 704, configured to send, based on the service interface, the message to be sent to the user side meeting the sending mode through the message distribution system.
In the foregoing apparatus, the second determining module 702 includes:
a first determining sub-module, configured to determine, based on the message type, internal association information related to the message to be sent in the message distribution system;
a second determining submodule, configured to determine, in response to that the internal association information satisfies a first preset condition, external association information related to the message to be sent outside the message distribution system;
a third determining submodule, configured to determine, in response to that the external associated information satisfies a second preset condition, a message receiver list for storing a receiver of the message to be sent;
and the fourth determining submodule is used for determining a corresponding sending mode of each message receiver based on the message receiver list.
In the above apparatus, the internal association information includes at least one of: the sending semaphore of the message type, the message organization mechanism corresponding to the message type, the message content of the message to be sent and the preset cycle sending number of the message type.
In the above apparatus, the internal association information includes: under the condition of the sending semaphore, the message organization mechanism, the message content and the preset periodic sending number, the device further comprises:
a fourth determining module, configured to indicate, in response to the sending semaphore, that the message to be sent does not stop sending, the message organization mechanism is not shielded, the message content is not shielded, and the number of messages to be sent in a preset duration is smaller than the preset periodic sending number, and determine that the internal association information meets a first preset condition.
In the above apparatus, the apparatus further comprises:
a first obtaining module, configured to obtain and store the mask record of the message to be sent under at least one of the following conditions: the sending semaphore represents that the message to be sent stops sending; the message organization is masked; the message content is masked; and the number of the messages to be sent in the preset time length is more than or equal to the preset periodic sending number.
In the above apparatus, the second determining sub-module includes:
the first determining unit is used for determining the setting information of the alarm platform;
a second determining unit, configured to determine, in response to the setting information indicating that the alarm platform has set a preset working period, a matching relationship between a current sending time of the message to be sent and the preset working period;
a third determining unit, configured to determine a shielding state of a user side that needs to receive the message to be sent;
a fourth determining unit, configured to determine at least one of the matching relationship and the shielding status as the external association information.
In the above apparatus, the second determining unit includes:
the first determining subunit is configured to determine, in response to the setting information indicating that the alarm platform has set a preset working period, whether the current sending time is included in the preset working period;
the second determining subunit is configured to determine, in response to that the current sending time is included in the preset work time period, that the matching relationship is a first matching relationship;
and the third determining subunit is configured to determine that the matching relationship is a second matching relationship in response to that the current sending time is not included in the preset work time period.
In the above apparatus, the apparatus further comprises:
and a fifth determining module, configured to determine that the external association information satisfies a second preset condition in response to that the matching relationship is the first matching relationship and the shielding state indicates that the user side is not shielded.
In the above apparatus, the apparatus further comprises:
the first pause module is used for pausing to send the message to be sent in response to the matching relationship being a second matching relationship;
and the second sending module is used for sending the message to be sent to the user side meeting the sending mode under the condition that the pause time reaches the preset working time period.
In the above apparatus, the apparatus further comprises:
the first scanning module is used for scanning the message sending table according to the preset distribution frequency; the message sending table is used for storing messages to be sent;
a sixth determining module, configured to determine a current scanning time when the updated message to be sent is scanned;
a seventh determining module, configured to determine, in response to that the current scanning time is included in the preset working period, a shielding state of the user side that receives the updated message to be sent.
In the above apparatus, the apparatus further comprises:
and a second obtaining module, configured to, in response to that the matching relationship is the first matching relationship and the shielding state indicates that the user side is shielded, obtain and store a shielding record of the message to be sent.
In the above apparatus, when the sending method is a basic communication method, the third determining module 703 is further configured to: determining a MAS gateway service interface matched with a sending mode corresponding to each message receiver under the condition that the sending mode is a basic communication mode;
correspondingly, the first sending module 704 is further configured to: and sending the message to be sent to a user side to which each message receiver belongs through the message distribution system based on the MAS gateway service interface corresponding to each message receiver.
In the above apparatus, when the sending method is the instant messaging, the third determining module 703 is further configured to:
determining an instant messaging platform Application Program Interface (API) matched with the sending mode corresponding to each message receiver under the condition that the sending mode is instant messaging;
correspondingly, the first sending module 704 is further configured to: and sending the message to be sent to the instant messaging terminal to which each message receiver belongs through the message distribution system based on the instant messaging platform API corresponding to each message receiver.
In the above apparatus, the apparatus further comprises:
the first storage module is used for responding to the received successful receiving information fed back by the user side and storing the sending record of the message to be sent;
the first temporary storage module is used for temporarily storing the message to be sent in a queue in response to the fact that the receiving success information fed back by the user side is not received, and determining the sent time length of the message to be sent;
and the first clearing module is used for clearing the message to be sent from the queue under the condition that the sent time length is greater than or equal to a preset time length.
It should be noted that the above description of the embodiment of the apparatus, similar to the above description of the embodiment of the method, has similar beneficial effects as the embodiment of the method. For technical details not disclosed in the embodiments of the apparatus according to the invention, reference is made to the description of the embodiments of the method according to the invention for understanding.
It should be noted that, in the present invention, if the message sending method based on the alarm platform is implemented in the form of a software functional module and is sold or used as an independent product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a message sending device (which may be a terminal, a server, etc.) based on an alarm platform to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a hard disk drive, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
Correspondingly, a computer program product is further provided, where the computer program product includes computer-executable instructions, and after the computer-executable instructions are executed, the steps in the message sending method based on the alarm platform provided in the embodiment of the present invention can be implemented.
Accordingly, a computer storage medium is provided, and computer-executable instructions are stored on the computer storage medium, and when executed by a processor, the computer-executable instructions implement the steps of the alarm platform-based message sending method provided by the above embodiment.
Correspondingly, the present invention provides an alarm platform-based message sending device based on hardware required by an alarm platform-based message sending method, fig. 8 is a schematic view of a composition structure of an alarm platform-based message sending device according to an embodiment of the present invention, and as shown in fig. 8, the alarm platform-based message sending device 800 includes: a processor 801, at least one communication bus, a communication interface 802, at least one external communication interface, and a memory 803. Wherein the communication interface 802 is configured to enable connected communication between these components. The communication interface 802 may include a display screen, and the external communication interface may include a standard wired interface and a wireless interface. The processor 801 is configured to execute an image processing program in a memory to implement the steps of the alarm platform-based message sending method provided in the above embodiment.
The above descriptions of the embodiments of the message sending system based on the alarm platform, the message sending device based on the alarm platform, and the storage medium are similar to the descriptions of the above method embodiments, have similar technical descriptions and beneficial effects to the corresponding method embodiments, are limited to sections, and may refer to the description of the above method embodiments, and therefore are not repeated herein. For technical details not disclosed in the embodiments of the alarm platform based message sending system, the alarm platform based message sending device and the storage medium of the present invention, please refer to the description of the method embodiments of the present invention for understanding.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not imply an order of execution, and the order of execution of the processes should be determined by their functions and internal logics, and should not limit the implementation processes of the embodiments of the present invention in any way. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in each of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which is stored in a storage medium and includes several instructions to enable a message sending device (which may be a personal computer, a server, or a network device) based on an alarm platform to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code. The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. Message sending system based on warning platform for thermal power plant implements supervisory systems, includes:
the first determining module is used for determining the message type of the message to be sent of the alarm platform;
a second determining module, configured to determine, based on the message type, a sending manner of the message to be sent in a message distribution system;
the second determining module includes:
a first determining submodule, configured to determine, based on the message type, internal association information related to the message to be sent in the message distribution system;
the internal association information includes: the sending semaphore of the message type, a message organization mechanism corresponding to the message type, the message content of the message to be sent and the preset periodic sending number of the message type; the sending semaphore is used for representing whether a message to be sent stops sending or not;
a second determining submodule, configured to determine, in response to that the internal association information satisfies a first preset condition, external association information related to the message to be sent outside the message distribution system; the external associated information comprises the matching relation between the current sending time of the message to be sent and a preset working period and the shielding state of the user side;
a third determining submodule, configured to determine, in response to that the external associated information satisfies a second preset condition, a message receiver list for storing a receiver of the message to be sent;
a fourth determining submodule, configured to determine, based on the message recipient list, a sending manner corresponding to each message recipient;
a third determining module, configured to determine a service interface matching the sending method;
and the first sending module is used for sending the message to be sent to the user side meeting the sending mode through the message distribution system based on the service interface.
2. The sending method of the message sending system based on the alarm platform is characterized in that the sending method is used for a thermal power plant implementation monitoring system and comprises the following steps:
(1) determining the message type of the message to be sent of the alarm platform;
(2) determining a sending mode of the message to be sent in a message distribution system based on the message type; the method comprises the following steps:
determining internal association information related to the message to be sent in the message distribution system based on the message type;
the internal association information comprises: the sending semaphore of the message type, a message organization mechanism corresponding to the message type, the message content of the message to be sent and the preset periodic sending number of the message type; the sending semaphore is used for representing whether a message to be sent stops sending or not;
responding to the internal associated information meeting a first preset condition, and determining external associated information related to the message to be sent outside the message distribution system; the external associated information comprises the matching relation between the current sending time of the message to be sent and a preset working period and the shielding state of the user side;
determining a message receiver list for storing the receivers of the message to be sent in response to the external associated information meeting a second preset condition;
determining a sending mode corresponding to each message receiver based on the message receiver list;
(3) determining a service interface matched with the sending mode;
(4) and based on the service interface, sending the message to be sent to a user side meeting the sending mode through the message distribution system.
3. The method as claimed in claim 2, wherein after determining internal association information related to the message to be sent in the message distribution system based on the message type, the method further comprises: acquiring and storing the shielding record of the message to be sent under the condition of at least one of the following conditions: the sending semaphore represents that the message to be sent stops sending; the message organization is masked; the message content is masked; and the number of the messages to be sent in the preset time length is more than or equal to the preset periodic sending number.
4. The method for sending the alarm platform based message sending system according to claim 2, wherein the determining external related information related to the message to be sent outside the message distribution system comprises: determining the setting information of the alarm platform; responding to the preset working hours set by the alarm platform represented by the setting information, and determining the matching relation between the current sending time of the message to be sent and the preset working hours; determining a shielding state of a user side which needs to receive the message to be sent; and determining at least one of the matching relationship and the shielding state as the external association information.
5. The method according to claim 4, wherein the determining the matching relationship between the current sending time and the preset working hours in response to the setting information indicating that the alarm platform has set the preset working hours comprises: responding to the preset working time period set by the alarm platform represented by the setting information, and determining whether the current sending time is included in the preset working time period; responding to the situation that the current sending time is included in the preset working time period, and determining that the matching relation is a first matching relation; and determining that the matching relationship is a second matching relationship in response to the current sending time not being included in the preset work time period.
6. The method for sending a message sending system based on an alarm platform according to claim 5, wherein after determining external association information related to the message to be sent outside the message distribution system, the method further comprises: in response to that the matching relationship is the first matching relationship and the shielding state represents that the user side is not shielded, determining that the external association information meets a second preset condition;
in response to the matching relationship being the second matching relationship, suspending sending the message to be sent; responding to the condition that the pause time reaches the preset work time period, and sending the message to be sent to a user side meeting the sending mode;
and responding to the fact that the matching relationship is the first matching relationship and the shielding state represents that the user side is shielded, and acquiring and storing a shielding record of the message to be sent.
7. The method according to claim 2, wherein after the sending of the message to be sent to the user side satisfying the sending mode through the message distribution system based on the service interface, the method further comprises: scanning a message sending table according to a preset distribution frequency; the message sending table is used for storing messages to be sent; under the condition that updated messages to be sent are scanned, determining the current scanning time; and determining the shielding state of the user side receiving the updated message to be sent in response to the fact that the current scanning moment is included in the preset working time period.
8. A computer-readable storage medium storing a method for sending an alarm platform based message sending system, for use in a thermal power plant implementation supervision system, the computer-readable storage medium having stored thereon computer-executable instructions that, when executed, perform the steps of the method according to any one of claims 2 to 7.
9. An alarm platform based message sending device required by an alarm platform based message sending method, which is used for a thermal power plant implementation supervision system, and comprises a memory and a processor, wherein the memory stores computer executable instructions, and the processor can realize the steps of the method according to any one of claims 2-7 when executing the computer executable instructions on the memory.
10. The message sending equipment based on the alarm platform is used for a thermal power plant implementation supervision system and comprises a processor, at least one communication bus, a communication interface, at least one external communication interface and a memory, wherein the communication interface is configured to realize connection communication among the components; the communication interface comprises a display screen; the external communication interface comprises a standard wired interface and a standard wireless interface; the processor is configured to execute the processing program in the memory to implement the steps of the method according to any of claims 2-7.
CN202110479563.3A 2021-04-30 2021-04-30 Message sending system and method based on alarm platform, and medium and equipment of storage method Active CN113225699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110479563.3A CN113225699B (en) 2021-04-30 2021-04-30 Message sending system and method based on alarm platform, and medium and equipment of storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110479563.3A CN113225699B (en) 2021-04-30 2021-04-30 Message sending system and method based on alarm platform, and medium and equipment of storage method

Publications (2)

Publication Number Publication Date
CN113225699A CN113225699A (en) 2021-08-06
CN113225699B true CN113225699B (en) 2022-07-01

Family

ID=77090410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110479563.3A Active CN113225699B (en) 2021-04-30 2021-04-30 Message sending system and method based on alarm platform, and medium and equipment of storage method

Country Status (1)

Country Link
CN (1) CN113225699B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115167734B (en) * 2022-07-01 2024-06-04 广州华数云计算有限公司 Message control method and device based on man-machine interaction interface

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030084859A (en) * 2003-10-13 2003-11-01 선진테크 주식회사 Personal disaster warning system using short message service
CN110380950A (en) * 2019-06-03 2019-10-25 努比亚技术有限公司 A kind of information display control method, terminal and computer readable storage medium
CN111400062A (en) * 2020-03-12 2020-07-10 苏州浪潮智能科技有限公司 Information notification method, device, system and computer readable storage medium
CN111917843A (en) * 2020-07-16 2020-11-10 远光软件股份有限公司 Message pushing method, computer equipment and storage medium
CN112311868A (en) * 2020-10-27 2021-02-02 上海淇馥信息技术有限公司 Message touch method and device and electronic equipment
CN112559154A (en) * 2020-12-23 2021-03-26 平安银行股份有限公司 Optimization method, system, device and readable storage medium for message sending amount increase

Family Cites Families (1)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030084859A (en) * 2003-10-13 2003-11-01 선진테크 주식회사 Personal disaster warning system using short message service
CN110380950A (en) * 2019-06-03 2019-10-25 努比亚技术有限公司 A kind of information display control method, terminal and computer readable storage medium
CN111400062A (en) * 2020-03-12 2020-07-10 苏州浪潮智能科技有限公司 Information notification method, device, system and computer readable storage medium
CN111917843A (en) * 2020-07-16 2020-11-10 远光软件股份有限公司 Message pushing method, computer equipment and storage medium
CN112311868A (en) * 2020-10-27 2021-02-02 上海淇馥信息技术有限公司 Message touch method and device and electronic equipment
CN112559154A (en) * 2020-12-23 2021-03-26 平安银行股份有限公司 Optimization method, system, device and readable storage medium for message sending amount increase

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
发电集团统一事件报警处理及分析平台设计开发;马瑞瑞等;《热力发电》;20170307;第46卷(第1期);全文 *

Also Published As

Publication number Publication date
CN113225699A (en) 2021-08-06

Similar Documents

Publication Publication Date Title
US20120311045A1 (en) Notification services to one or more subscriber devices
US20070115936A1 (en) Updating status of feature services in universal messaging
EP2005722B1 (en) Techniques for tracking communication frequency across communication modalities
CN101957755B (en) Method and device for uniformly managing message
CN108449194A (en) A kind of method and device that user is reminded in group chat
CN106470149A (en) Message method and device
JP3807857B2 (en) E-mail system and e-mail server
CN111131368A (en) Message pushing method and device
CN110933698A (en) Monitoring management method, device and equipment for Internet of things card
JP4924602B2 (en) Call rejection device, call rejection method, and call rejection program
WO2009068973A2 (en) Apparatus and methods for managing communications between parties
CN109669835A (en) MySQL database monitoring method, device, equipment and readable storage medium storing program for executing
CN101409872A (en) Method for processing color message group send acknowledgement
CN113225699B (en) Message sending system and method based on alarm platform, and medium and equipment of storage method
US7903795B2 (en) System and method for indicating status of an incoming transmission to a user
JP2000165433A5 (en)
CN111556451A (en) Short message group sending management method and system
CN106506199A (en) The automatic monitoring method and device of interface in system line
CN113194423A (en) Missed call notification method, device, terminal, service platform and storage medium
US20100226486A1 (en) Method of informing a teleconference participant that a person-of-interest has become active within the teleconference
CN101872521A (en) Abnormal event alarming method, device and system
CN114565425A (en) Message pushing method and device, electronic equipment and storage medium
CN111065062B (en) Call signaling processing method, device and storage medium
CN111225117B (en) Reminding message issuing method and device
JP2011113238A (en) System and method for preventing inquiry from being neglected

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