Alarm message short message reminding method of new energy operation and maintenance system and related device
Through the alarm information SMS reminder method of the new energy operation and maintenance system, the alarm information is automatically read and filtered, and SMS is sent based on ID and duration, which solves the problem of untimely traditional manual monitoring, realizes the timeliness and accuracy of alarm information, and ensures the stable operation of new energy equipment.
Patent Information
- Application Number
- CN202511061136.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-30
- Publication Date
- 2025-10-03
AI Technical Summary
Traditional new energy operation and maintenance systems rely on manual monitoring of screens to detect alarm information, resulting in untimely notifications and difficulty in 24-hour monitoring, making it impossible to handle equipment failures and abnormal situations in a timely manner.
The invention provides an alarm information SMS reminder method for a new energy operation and maintenance system. The method automatically reads the alarm information through a preset retransmission interval, determines the SMS sending strategy based on the ID and duration of the alarm information, obtains the target recipient information, and sends the alarm information in the form of SMS.
It achieves timely capture and accurate communication of alarm information, reduces negligence and delays in manual monitoring, ensures 24-hour uninterrupted alarm information processing, and improves operation and maintenance efficiency and equipment stability.
Smart Images

Figure CN120751348A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of new energy operation and maintenance, and in particular relates to an alarm information SMS reminder method and related devices for a new energy operation and maintenance system. Background Art
[0002] With the rapid development of the new energy industry, the importance of new energy operation and maintenance systems has become increasingly prominent. As the key to ensuring the stable operation of new energy equipment such as wind power and photovoltaics, the new energy operation and maintenance system is responsible for real-time monitoring of the operating status of power generation equipment, data collection and analysis, and timely detection and handling of equipment failures and abnormal conditions. With the continuous increase in new energy installed capacity, the number of devices connected to the new energy operation and maintenance system has also shown explosive growth.
[0003] Faced with the increasing number of devices connected to the new energy operation and maintenance system, each device may generate a large amount of operating data and alarm information; however, the traditional new energy operation and maintenance system mainly relies on manual monitoring of the monitoring screen to detect alarm information, and then notifies the corresponding person in charge to handle it. It faces the problems of untimely notification and difficulty in manual 24-hour monitoring. Summary of the Invention
[0004] In response to the technical problems existing in the prior art, the present invention provides an alarm information SMS reminder method and related devices for a new energy operation and maintenance system to solve the technical problems that the existing alarm information push method still has the problem of untimely information push and lack of pertinence.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is: The present invention provides an alarm information SMS reminder method for a new energy operation and maintenance system, comprising: Read the alarm information from the new energy operation and maintenance system according to the predetermined retransmission interval to obtain the alarm information to be sent; Based on the ID and duration of the alarm information, determine whether the alarm information to be sent meets the preset SMS sending strategy; Obtain the user information of the target recipient of the alarm information from the alarm information to be sent; Based on the user information of the alarm information target receiving object, the alarm information to be sent is sent to the alarm information target receiving object in the form of a text message.
[0006] Furthermore, according to a predetermined retransmission interval, the alarm information is read from the new energy operation and maintenance system to obtain the alarm information to be sent, as follows: According to a predetermined retransmission interval, a preset thread pool is used through a preset timed task to read alarm information from a predetermined alarm interface in the new energy operation and maintenance system to obtain the alarm information to be sent; wherein, the alarm information to be sent is stored in a preset blocking queue.
[0007] Furthermore, the preset SMS sending strategy includes a threshold for duration of the alarm message and a rule for repeated sending of the alarm message.
[0008] Furthermore, based on the ID and duration of the alarm information, the process of determining whether the alarm information to be sent meets the preset SMS sending strategy is as follows: Based on the ID of the alarm information to be sent, determine whether the SMS sending event of the alarm information to be sent is an initial sending event; If it is the first time to send an event, the duration of the alarm message to be sent is compared with the alarm message duration threshold; if the duration of the alarm message to be sent meets the alarm message duration threshold, the alarm message to be sent meets the preset SMS sending strategy; If it is not the first sending event, the duration of the alarm information to be sent is compared with the alarm information repetition sending rule; if the duration of the alarm information to be sent meets the alarm information repetition sending rule, the alarm information to be sent meets the preset SMS sending strategy.
[0009] Furthermore, the user information of the target recipient of the alarm information includes the user's name and telephone number.
[0010] Furthermore, based on the user information of the alarm information target receiving object, after sending the alarm information to be sent in the form of a text message to the alarm information target receiving object, the method further includes a cache update step; The cache update steps are as follows: Determine whether the SMS sending result of the alarm information to be sent is successful; If the SMS sending result of the alarm information to be sent is successful, and the SMS sending event of the alarm information to be sent is the first sending event, the ID and duration of the alarm information to be sent are stored in a preset cache; If the SMS sending result of the alarm information to be sent is successful, but the SMS sending event of the alarm information to be sent is not the first sending event, the duration corresponding to the ID of the alarm information to be sent in the preset buffer is updated.
[0011] The present invention also provides an alarm information SMS reminder system for a new energy operation and maintenance system, comprising: An alarm information reading module is used to read the alarm information from the new energy operation and maintenance system according to a predetermined retransmission interval to obtain the alarm information to be sent; The strategy judgment module is used to judge whether the alarm information to be sent meets the preset SMS sending strategy based on the ID and duration of the alarm information; A user information acquisition module is used to acquire user information of the target recipient of the alarm information from the alarm information to be sent; The SMS sending module is used to send the alarm information to be sent to the alarm information target receiving object in the form of SMS based on the user information of the alarm information target receiving object.
[0012] The present invention also provides an electronic device, comprising: a processor suitable for executing a computer program; A computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the alarm information SMS reminder method of the new energy operation and maintenance system is executed.
[0013] The present invention also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the alarm information SMS reminder method of the new energy operation and maintenance system.
[0014] The present invention also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the alarm information SMS reminder method of the new energy operation and maintenance system.
[0015] Compared with the prior art, the present invention has the following beneficial effects: The alarm information SMS reminder method for the new energy operation and maintenance system provided by the present invention can get rid of manual dependence and realize timely capture of alarm information by reading the alarm information according to a predetermined retransmission interval; according to the ID and duration of the alarm information, the preset SMS sending strategy is matched, and the alarm information that needs to be sent by SMS is accurately screened out, thereby reducing invalid push, greatly improving the timeliness and accuracy of alarm processing, avoiding false alarm interference and timely reminding of continuous abnormalities; the method described in the present invention can run 24 hours a day, so that staff do not need to be on duty 24 hours a day, reducing the burden on staff; at the same time, it can realize discovery and sending, greatly shortening the notification time.
[0016] The alarm information SMS reminder system, electronic equipment, computer-readable storage medium and computer program product of the new energy operation and maintenance system provided by the present invention have all the advantages of the alarm information SMS reminder method of the new energy operation and maintenance system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0018] Figure 1 Flowchart of the alarm information SMS reminder method of the new energy operation and maintenance system provided in Example 1; Figure 2 This is a structural block diagram of the alarm information SMS reminder system of the new energy operation and maintenance system provided in Example 2; Figure 3 This is a structural block diagram of the electronic device provided in Example 3. DETAILED DESCRIPTION
[0019] In order to make the technical problems, technical solutions, and beneficial effects solved by this application more clearly understood, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application; it is obvious that the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of this application.
[0020] The present invention provides a method for sending an alarm message to a new energy operation and maintenance system, comprising the following steps: Step 100: Read alarm information from the new energy operation and maintenance system according to a predetermined retransmission interval to obtain alarm information to be sent.
[0021] Step 200: Based on the ID and duration of the alarm information, determine whether the alarm information to be sent meets the preset SMS sending strategy.
[0022] Step 300: If the alarm information to be sent meets the preset SMS sending strategy, the user information of the target recipient of the alarm information is obtained from the alarm information to be sent.
[0023] Step 400: Based on the user information of the alarm information target recipient, the alarm information to be sent is sent to the alarm information target recipient in the form of a text message.
[0024] The alarm information SMS reminder method for the new energy operation and maintenance system described in the present invention automatically reads the alarm information according to a predetermined retransmission interval, thereby avoiding manual negligence and delay; sends the alarm information in the form of SMS, reduces the uncertainty factors of information transmission, and improves the timeliness of push; determines whether the SMS sending strategy is met based on the alarm information ID and duration, and accurately obtains the target recipient user information to realize targeted sending, meeting the high requirements of the new energy operation and maintenance system for the timeliness and accuracy of alarm processing, effectively improving the operation and maintenance efficiency, and ensuring the stable operation of new energy equipment.
[0025] It should be noted that according to the predetermined retransmission interval, the alarm information is automatically read from the new energy operation and maintenance system, and there is no need for active manual monitoring. The alarm information can be obtained in time, which avoids possible negligence and delays in manual monitoring, ensures that the alarm information can be captured in time, and thus greatly improves the timeliness of alarm information discovery; based on the ID and duration of the alarm information to be sent, it is judged whether the preset SMS sending strategy is met. Only the alarm information that meets the strategy will be sent by SMS, and the user information of the target recipient of the alarm information is obtained from the alarm information to be sent, and the alarm information is accurately sent to the specific target recipient; through targeted sending methods, people who really need to pay attention to the alarm information can receive it in time, avoiding interference caused by irrelevant people receiving the information, and improving the accuracy and effectiveness of alarm information processing.
[0026] The following further explains the alarm information SMS reminder method of the new energy operation and maintenance system provided by the present invention with some specific embodiments: Example 1 As attached Figure 1 As shown, this embodiment 1 provides an alarm information SMS reminder method for a new energy operation and maintenance system, including the following steps: Step 1: Read the alarm information from the new energy operation and maintenance system according to the preset retransmission interval to obtain the alarm information to be sent. The specific process is as follows: Step 11: Determine the interface of the alarm information that requires SMS reminder, obtain predetermined alarm interface information, and define the predetermined alarm interface information into the predetermined Basic Config.
[0027] Step 12: Determine the retransmission interval according to the design requirement of SMS reminder, obtain the predetermined retransmission interval, and define the retransmission interval into the predetermined Basic Config.
[0028] Step 13. According to the predetermined retransmission interval, the preset scheduled task uses the preset thread pool to read the alarm information from the predetermined alarm interface in the new energy operation and maintenance system to obtain the alarm information to be sent; wherein the preset scheduled task is a fixed-rate scheduled task, and the fixed-rate scheduled task is started through the scheduled Executor Service; the preset thread pool is obtained through the Scheduled Thread Instance.
[0029] Step 14: Store the alarm information to be sent into a preset blocking queue; wherein the preset blocking queue is a data queue.
[0030] Step 2: Based on the ID and duration of the alarm information, determine whether the alarm information to be sent meets the preset SMS sending strategy. The preset SMS sending strategy includes the alarm information duration threshold and the alarm information re-sending rule; preferably, the alarm information duration threshold is 5 minutes; the alarm information re-sending rule, for example: when the duration of the alarm information to be sent is 5-30 minutes, send a SMS reminder; when the duration of the alarm information to be sent is 30-60 minutes, send a SMS reminder; when the duration of the alarm information to be sent is 1-2 hours, send a SMS reminder; when the duration of the alarm information to be sent is 2-4 hours, send a SMS reminder; and when the duration of the alarm information to be sent is 2 n -2 n+1 h. Send a text message reminder.
[0031] Specifically, the process of determining whether the alarm information to be sent meets the preset SMS sending strategy includes: Step 21. According to the first-in-first-out principle, obtain the alarm information to be sent from the preset blocking queue; based on the ID of the alarm information to be sent, determine whether the SMS sending event of the alarm information to be sent is the first sending event; specifically, match the ID of the alarm information to be sent with the ID of the alarm information recorded in the preset cache; if the ID of the alarm information to be sent matches the ID of a certain alarm information recorded in the preset cache, then the SMS sending event of the alarm information to be sent is the first sending event, and jump to step 22; if the ID of the alarm information to be sent does not match the ID of any alarm information recorded in the preset cache, then the SMS sending event of the alarm information to be sent is not the first sending event, and jump to step 23.
[0032] Step 22: Use the Judge Time method to compare the duration of the alarm message to be sent with the alarm message duration threshold; if the duration of the alarm message to be sent meets the alarm message duration threshold, the alarm message to be sent meets the preset SMS sending strategy, and jump to step 3; if the duration of the alarm message to be sent does not meet the alarm message duration threshold, the alarm message to be sent does not meet the preset SMS sending strategy, and the alarm message to be sent is ignored, and returns to step 1.
[0033] Step 23: Use the Judge Time method to compare the duration of the alarm message to be sent with the alarm message repetition sending rule; if the duration of the alarm message to be sent meets the alarm message repetition sending rule, the alarm message to be sent meets the preset SMS sending strategy, and jump to step 3; if the duration of the alarm message to be sent does not meet the alarm message duration threshold, the alarm message to be sent does not meet the preset SMS sending strategy, and the alarm message to be sent is ignored, and returns to step 1.
[0034] Step 3: Obtain the user information of the target recipient of the alarm information from the alarm information to be sent, wherein the user information of the target recipient of the alarm information includes the user's name and telephone number.
[0035] Step 4: Based on the user information of the target recipient, the alarm information is sent to the target recipient via SMS. Specifically, the alarm information is sent to the target recipient via SMS using a pre-defined cloud SMS platform. The access key for the pre-defined cloud SMS platform is pre-configured in Sms Config.
[0036] Step 5: Determine whether the SMS sending result of the alarm information to be sent is successful; based on the SMS sending result of the alarm information to be sent, update the ID and duration of the alarm information to be sent in the preset cache. If the SMS sending result of the alarm information to be sent is successful, and the SMS sending event of the alarm information to be sent is the first sending event, the ID and duration of the alarm information to be sent are stored in the preset cache; if the SMS sending result of the alarm information to be sent is successful, but the SMS sending event of the alarm information to be sent is not the first sending event, then the duration corresponding to the ID of the alarm information to be sent in the preset buffer is updated.
[0037] Specifically, the steps are as follows: Step 51: Receive the SMS sending result returned by the cloud SMS platform to determine whether the SMS sending result of the alarm information to be sent is successful.
[0038] Step 52: If the SMS sending result of the alarm information to be sent is successful, determine whether the SMS sending event of the alarm information to be sent is the first sending event; if so, store the ID and duration of the alarm information to be sent in the preset cache; if not, update the duration corresponding to the ID of the alarm information to be sent in the preset buffer.
[0039] Step 53: If the SMS sending result of the alarm information to be sent fails, determine whether the SMS sending event of the alarm information to be sent is the first sending event; if not, clear the ID and duration of the alarm information to be sent in the preset buffer and wait for retransmission; if so, there is no need to update the preset buffer.
[0040] The alarm information SMS reminder method of the new energy operation and maintenance system described in this embodiment 1 automatically reads the alarm information from the new energy operation and maintenance system according to a predetermined retransmission interval through a preset timer task and thread pool. It does not require manual real-time monitoring and can obtain the alarm information in time, which solves the problem of untimely manual monitoring and inability to monitor continuously for 24 hours, and ensures that the alarm information can be captured in time; based on the ID and duration of the alarm information to be sent, it is judged whether the preset SMS sending strategy is met, and only the alarm information that meets the specific strategy will be sent to the target recipient in the form of SMS; targeted screening is performed based on the ID and duration of the alarm information to be sent, avoiding unnecessary information push, and at the same time ensuring that important alarm information can be sent to relevant personnel in a timely and accurate manner, meeting the requirements of the new energy operation and maintenance system for timeliness and accuracy of alarm processing.
[0041] In this embodiment 1, according to a predetermined retransmission interval, a preset thread pool is used through a preset timed task to read the alarm information from the preset alarm interface of the new energy operation and maintenance system, and the alarm information to be sent is stored in a preset blocking queue; wherein, the use of the thread pool can effectively manage thread resources, avoid the performance overhead caused by frequent creation and destruction of threads, and improve the concurrent processing capability of the system; by using a blocking queue to store the alarm information to be sent, the alarm information can be safely stored and transmitted in a multi-threaded environment, ensuring the integrity and sequence of the data, so that the system can efficiently read and process a large amount of alarm information, and adapt to the situation where the number of access devices to the new energy operation and maintenance system continues to increase and the amount of alarm information is exploding.
[0042] In this embodiment 1, the preset SMS sending strategy includes an alarm message duration threshold and an alarm message repetition sending rule; for the first sending event, the duration of the alarm message to be sent is compared with the alarm message duration threshold, and only the alarm message whose duration meets the threshold requirement will be sent a SMS, thereby avoiding the interference of false alarm messages caused by short-term abnormalities on relevant personnel; for non-first sending events, judgment is made based on the alarm message repetition sending rule to ensure that when the alarm message persists, SMS reminders are sent repeatedly at reasonable time intervals, so that relevant personnel can promptly understand the duration of the alarm status and take appropriate treatment measures. This flexible and diverse SMS sending strategy can be set according to different alarm scenarios and needs, improving the flexibility and effectiveness of alarm information processing.
[0043] In this embodiment 1, after the SMS sending strategy is met, the user information is accurately obtained from the alarm information to be sent, and the alarm information is sent to the corresponding alarm information target receiving object in the form of an SMS based on the obtained user information; through clear user information, it is ensured that the SMS can be delivered to the relevant responsible person accurately, avoiding the alarm information transmission error or delay due to unclear information, and improving the response speed and processing effect of alarm information processing.
[0044] In this embodiment 1, based on the SMS sending result of the alarm information to be sent, the ID and duration of the alarm information to be sent in the preset cache are updated, which can improve the real-time and accuracy of the ID and duration of the alarm information to be sent in the preset cache, and thus improve the accuracy of the judgment result of the alarm information to be sent.
[0045] Example 2 As attached Figure 2 As shown, this embodiment 2 provides an alarm information SMS reminder system for a new energy operation and maintenance system, including an alarm information reading module, a strategy judgment module, a user information acquisition module and a SMS sending module.
[0046] The alarm information reading module is used to read the alarm information from the new energy operation and maintenance system according to a predetermined retransmission interval to obtain the alarm information to be sent; the strategy judgment module is used to judge whether the alarm information to be sent meets the preset SMS sending strategy based on the ID and duration of the alarm information; the user information acquisition module is used to obtain the user information of the target recipient of the alarm information from the alarm information to be sent if the alarm information to be sent meets the preset SMS sending strategy; the SMS sending module is used to send the alarm information to be sent to the target recipient of the alarm information in the form of an SMS based on the user information of the target recipient of the alarm information.
[0047] The alarm information SMS reminder system of the new energy operation and maintenance system also includes a cache update module; the cache update module is used to determine whether the SMS sending result of the alarm information to be sent is successful; based on the SMS sending result of the alarm information to be sent, the ID and duration of the alarm information to be sent in the preset cache are updated.
[0048] Example 3 As attached Figure 3 As shown, this embodiment 3 provides an electronic device, including: a memory for storing a computer program; a processor for implementing the steps of the alarm information SMS reminder method of the new energy operation and maintenance system when executing the computer program; or, when the processor executes the computer program, implementing the functions of each module in the alarm information SMS reminder system of the above-mentioned new energy operation and maintenance system.
[0049] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing preset functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0050] The electronic device may be a computing device such as a desktop computer, laptop, PDA, or cloud server. The electronic device may include, but is not limited to, a processor and memory. Those skilled in the art will appreciate that the above are examples of electronic devices and do not constitute a limitation on electronic devices. The electronic device may include more components than those described above, or a combination of certain components, or different components. For example, the electronic device may also include a communication interface, input / output devices, network access devices, and a bus.
[0051] The processor may be a central processing unit, or other general-purpose processor, a digital signal processor, an application-specific integrated circuit, an off-the-shelf programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. A general-purpose processor may be a microprocessor or any conventional processor. The processor is the control center of the electronic device, connecting all parts of the electronic device using various communication interfaces and lines.
[0052] The memory may be used to store the computer programs and / or modules, and the processor implements various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory.
[0053] Example 4 This embodiment 4 also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the alarm information SMS reminder method of the new energy operation and maintenance system.
[0054] If the module / unit integrated in the alarm information SMS reminder system of the new energy operation and maintenance system is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0055] Based on this understanding, the present invention implements all or part of the process of the above-mentioned alarm information SMS reminder method for the new energy operation and maintenance system, and can also be completed by a computer program to instruct related hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of the above-mentioned alarm information SMS reminder method for the new energy operation and maintenance system. The computer program includes computer program code, which can be in source code form, object code form, executable file, or preset intermediate form.
[0056] The computer-readable storage medium may include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0057] Example 5 This embodiment 5 provides a computer product, which includes a computer program product, and the computer program is stored in a computer-readable storage medium; the processor of the electronic device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the electronic device can execute the alarm information SMS reminder method of the new energy operation and maintenance system described in embodiment 1, which will not be repeated here.
[0058] It should be noted that a person skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods.
[0059] The alarm information SMS reminder method for the new energy operation and maintenance system described in the present invention defines the alarm interface and retransmission interval to the system configuration, uses a fixed-rate timed task and a thread pool to read the alarm information from the preset interface and store it in a blocking queue and cache, thereby ensuring stable and efficient information reading; based on the alarm information ID and duration, combined with a flexible SMS sending strategy, it can accurately distinguish between the first and non-first sending events, and determine whether to send SMS according to different time thresholds and repeated sending rules, effectively avoiding invalid information push, and ensuring that important alarms are conveyed in a timely and accurate manner; after obtaining the user information of the target recipient, the SMS is sent with the help of a preset cloud SMS platform, and the cache is updated according to the SMS sending result. If successful, it is updated accordingly according to the first or non-first sending, and there is also targeted processing in case of failure, thereby ensuring the reliability of system operation, comprehensively improving the efficiency and quality of alarm information processing of the new energy operation and maintenance system, and providing solid guarantees for new energy operation and maintenance.
[0060] The above embodiment is only one of the implementation methods that can realize the technical solution of the present invention. The scope of protection claimed by the present invention is not limited only to this embodiment, but also includes changes, replacements and other implementation methods that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed by the present invention.
Claims
1. A method for sending alarm information SMS reminders to a new energy operation and maintenance system, characterized in that: include: Read the alarm information from the new energy operation and maintenance system according to the predetermined retransmission interval to obtain the alarm information to be sent; Based on the ID and duration of the alarm information, determine whether the alarm information to be sent meets the preset SMS sending strategy; Obtain the user information of the target recipient of the alarm information from the alarm information to be sent; Based on the user information of the alarm information target receiving object, the alarm information to be sent is sent to the alarm information target receiving object in the form of a text message.
2. The alarm information SMS reminder method of a new energy operation and maintenance system according to claim 1 is characterized in that: The process of reading alarm information from the new energy operation and maintenance system according to the predetermined retransmission interval and obtaining the alarm information to be sent is as follows: According to a predetermined retransmission interval, a preset thread pool is used through a preset timed task to read alarm information from a predetermined alarm interface in the new energy operation and maintenance system to obtain the alarm information to be sent; wherein, the alarm information to be sent is stored in a preset blocking queue.
3. The alarm information SMS reminder method of a new energy operation and maintenance system according to claim 1 is characterized in that: The preset SMS sending strategy includes the alarm message duration threshold and the alarm message repetition sending rule.
4. The alarm information SMS reminder method of a new energy operation and maintenance system according to claim 3 is characterized in that: The process of judging whether the alarm information to be sent meets the preset SMS sending strategy based on the alarm information ID and duration is as follows: Based on the ID of the alarm information to be sent, determine whether the SMS sending event of the alarm information to be sent is an initial sending event; If it is the first time to send an event, the duration of the alarm message to be sent is compared with the alarm message duration threshold; if the duration of the alarm message to be sent meets the alarm message duration threshold, the alarm message to be sent meets the preset SMS sending strategy; If it is not the first sending event, the duration of the alarm information to be sent is compared with the alarm information repetition sending rule; if the duration of the alarm information to be sent meets the alarm information repetition sending rule, the alarm information to be sent meets the preset SMS sending strategy.
5. The alarm information SMS reminder method of a new energy operation and maintenance system according to claim 1 is characterized in that: The user information of the target recipient of the alarm information includes the user's name and telephone number.
6. The alarm information SMS reminder method of a new energy operation and maintenance system according to claim 2 is characterized in that: Based on the user information of the alarm information target receiving object, after sending the alarm information to be sent in the form of a text message to the alarm information target receiving object, the cache update step is also included; The cache update steps are as follows: Determine whether the SMS sending result of the alarm information to be sent is successful; If the SMS sending result of the alarm information to be sent is successful, and the SMS sending event of the alarm information to be sent is the first sending event, the ID and duration of the alarm information to be sent are stored in a preset cache; If the SMS sending result of the alarm information to be sent is successful, but the SMS sending event of the alarm information to be sent is not the first sending event, the duration corresponding to the ID of the alarm information to be sent in the preset buffer is updated.
7. An alarm information SMS reminder system for a new energy operation and maintenance system, characterized in that: include: An alarm information reading module is used to read the alarm information from the new energy operation and maintenance system according to a predetermined retransmission interval to obtain the alarm information to be sent; The strategy judgment module is used to judge whether the alarm information to be sent meets the preset SMS sending strategy based on the ID and duration of the alarm information; A user information acquisition module is used to acquire user information of the target recipient of the alarm information from the alarm information to be sent; The SMS sending module is used to send the alarm information to be sent to the alarm information target receiving object in the form of SMS based on the user information of the alarm information target receiving object.
8. An electronic device, characterized in that: include: a processor suitable for executing a computer program; A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed by the processor, the alarm information SMS reminder method of the new energy operation and maintenance system according to any one of claims 1 to 6 is executed.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the alarm information SMS reminder method of the new energy operation and maintenance system according to any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, it implements the alarm information SMS reminder method of the new energy operation and maintenance system according to any one of claims 1 to 6.