Early warning information issuing scheduling method, device, equipment and storage medium

By generating early warning priority and automatically sending early warning text messages using priority queues, the problem of low scheduling of early warning information in the existing technology is solved, and more efficient and reliable early warning information release is achieved.

CN119172727APending Publication Date: 2024-12-20河南省气象服务中心河南省气象影视和宣传中心
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411439332.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The scheduling process of existing warning message is complicated, resulting in low scheduling efficiency, consumes a lot of human resources and time, and is susceptible to human intervention.

Method used

By connecting to the warning information release system, we can obtain the region, population, disaster types and disaster levels in the warning information, generate warning priority, associate warning text messages with priority, and automatically send warning text messages using priority queues and scheduling strategies to reduce manual intervention .

Benefits of technology

It improves the scheduling efficiency of early warning text messages, reduces scheduling time, enhances the reliability of sending, and avoids the impact of manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119172727A_ABST
    Figure CN119172727A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information, and discloses an early warning information issuing scheduling method, device and equipment and a storage medium, and the method comprises the steps: obtaining the early warning content in early warning information, and obtaining the region, crowd, disaster type and disaster level in the early warning content; obtaining task priorities corresponding to the disaster types or disaster levels, and obtaining user priorities corresponding to regions or crowds; based on a predefined generation mode, generating an early warning priority corresponding to the early warning information according to the task priority and the user priority; forming an early warning short message corresponding to the early warning information by the early warning content and the receiver information, establishing association between the early warning short message and an early warning priority, and adding the early warning short message associated with the early warning priority into a priority queue; and when a preset condition is met, sending an early warning short message with the highest early warning priority in the priority queue through a priority scheduling strategy. According to the invention, the scheduling efficiency of the early warning short message of the early warning information can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a method, device, equipment and storage medium for issuing and scheduling early warning information. Background Art

[0002] Warning SMS is the main channel for issuing meteorological disaster warning information. It has a large number of users and a wide coverage, playing an important role in disaster prevention and mitigation. In addition, the cost of sending warning SMS is relatively low, and it is not subject to excessive interference from external factors such as network congestion. It is an economical and reliable means of warning.

[0003] However, the existing dispatching process of warning SMS of warning information is cumbersome, which is not conducive to improving the dispatching efficiency of warning SMS. The reason is that the existing technology mainly adopts manual dispatching to dispatch warning SMS of warning information, and the manual dispatching method consumes a lot of human resources and time resources, increases the dispatching time of warning SMS of warning information, and is easily affected by manual intervention, so it is not conducive to improving the dispatching efficiency of warning SMS. Summary of the invention

[0004] The present invention provides a method, device, computer equipment and storage medium for scheduling the release of early warning information, so as to solve the technical problem that the scheduling process of the existing early warning information short message is complicated and is not conducive to improving the scheduling efficiency of the early warning short message.

[0005] In a first aspect, a method for scheduling early warning information release is provided, comprising:

[0006] Connecting to the early warning information release system to obtain the early warning information issued by the early warning information release system;

[0007] Obtain the warning content in the warning information, and obtain the region, population, disaster type and disaster level in the warning content;

[0008] Obtaining the task priority corresponding to the disaster type or the disaster level, and obtaining the user priority corresponding to the region or the group of people;

[0009] Based on a predefined generation method, generating a warning priority corresponding to the warning information according to the task priority and the user priority;

[0010] The warning content and the recipient information form a warning SMS corresponding to the warning information, the warning SMS is associated with the warning priority, and the warning SMS associated with the warning priority is added to the priority queue;

[0011] When the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through the priority scheduling strategy.

[0012] Furthermore, the obtaining of warning content in the warning information, obtaining the region, population, disaster type and disaster level in the warning content, includes:

[0013] Parsing the warning information, and obtaining the warning content from the parsed warning information;

[0014] The region, population, disaster type and disaster level in the warning content are obtained.

[0015] Furthermore, the obtaining of the task priority corresponding to the disaster type or the disaster level, and the obtaining of the user priority corresponding to the region or the group of people, includes:

[0016] Reading a first file and a second file, wherein the first file and the second file are different files;

[0017] In the first file, the task priority corresponding to the disaster type or the disaster level is obtained, and in the second file, the user priority corresponding to the region or the group of people is obtained.

[0018] Furthermore, the generating of the warning priority corresponding to the warning information based on the predefined generating method according to the task priority and the user priority includes:

[0019] Reading the task priority and the user priority;

[0020] The task priority and the user priority are added together to generate the warning priority corresponding to the warning information.

[0021] Further, the step of combining the warning content and the recipient information into a warning SMS corresponding to the warning information, associating the warning SMS with the warning priority, and adding the warning SMS associated with the warning priority to a priority queue includes:

[0022] The warning content and the recipient information form a warning SMS corresponding to the warning information, and the warning SMS is associated with the warning priority;

[0023] A priority queue is created, and the warning SMS associated with the warning priority is added to the priority queue.

[0024] Furthermore, when the preset condition is met, sending the warning SMS with the highest warning priority in the priority queue through the priority scheduling strategy includes:

[0025] When there is an idle SMS sending channel, in the priority queue, the warning priorities associated with each of the plurality of warning SMS are sorted to generate a sorting result, and the warning SMS with the highest warning priority is obtained according to the sorting result;

[0026] The warning SMS with the highest warning priority is sent to the SMS sending channel, and the warning SMS with the highest warning priority is sent through the SMS sending channel.

[0027] Further, when the preset condition is met, after sending the warning SMS with the highest warning priority in the priority queue through the priority scheduling strategy, the warning information release scheduling method includes:

[0028] When the warning SMS with the highest warning priority is sent successfully, the warning SMS with the highest warning priority is removed from the priority queue.

[0029] In a second aspect, a warning information release and scheduling device is provided, comprising:

[0030] A first acquisition module is used to connect to the early warning information release system to obtain the early warning information issued by the early warning information release system;

[0031] The second acquisition module is used to acquire the warning content in the warning information, and acquire the region, population, disaster type and disaster level in the warning content;

[0032] A third acquisition module is used to acquire the task priority corresponding to the disaster type or the disaster level, and acquire the user priority corresponding to the region or the group of people;

[0033] A generating module, configured to generate a warning priority corresponding to the warning information based on a predefined generating method, according to the task priority and the user priority;

[0034] An association module, used for combining the warning content and the recipient information into a warning SMS corresponding to the warning information, establishing an association between the warning SMS and the warning priority, and adding the warning SMS associated with the warning priority to a priority queue;

[0035] The scheduling module is used to send the warning SMS with the highest warning priority in the priority queue through a priority scheduling strategy when a preset condition is met.

[0036] In a third aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned warning information release scheduling method when executing the computer program.

[0037] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned warning information release scheduling method are implemented.

[0038] The present application provides a method, device, computer equipment and storage medium for scheduling the release of early warning information, which are connected to an early warning information release system to obtain the early warning information issued by the early warning information release system; obtain the early warning content in the early warning information, obtain the region, population, disaster type and disaster level in the early warning content; obtain the task priority corresponding to the disaster type or the disaster level, and obtain the user priority corresponding to the region or the population; based on a predefined generation method, generate the early warning priority corresponding to the early warning information according to the task priority and the user priority; combine the early warning content and the recipient information into an early warning text message corresponding to the early warning information, establish an association between the early warning text message and the early warning priority, and add the early warning text message associated with the early warning priority to the priority queue column; when the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through the priority scheduling strategy. The beneficial effects are in two aspects. On the one hand, the warning content and recipient information are combined to form the warning SMS corresponding to the warning information, the warning SMS and the warning priority are associated, and the warning SMS associated with the warning priority is added to the priority queue; when the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through the priority scheduling strategy. Since manual scheduling is not required, the scheduling time of the warning SMS of the warning information is reduced, which is beneficial to improving the scheduling efficiency of the warning SMS of the warning information; on the other hand, it will not be affected by manual intervention, so it is beneficial to improve the reliability of sending warning SMS. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0040] Figure 1 This is a schematic diagram of an application environment of a method for scheduling early warning information release in one embodiment of the present invention;

[0041] Figure 2 A schematic diagram of a flow chart of a method for scheduling early warning information release provided by an embodiment of the present invention;

[0042] Figure 3 yes Figure 1A schematic flow chart of a specific implementation of step S23;

[0043] Figure 4 yes Figure 1 A schematic flow chart of a specific implementation of step S25;

[0044] Figure 5 yes Figure 1 A schematic flow chart of a specific implementation of step S26;

[0045] Figure 6 It is a structural diagram of a warning information release and scheduling device in one embodiment of the present invention;

[0046] Figure 7 It is a structural diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] See also Figure 1 , Figure 1 Schematic diagram of an application environment of a method for scheduling the release of early warning information in an embodiment of the present invention. The method for scheduling the release of early warning information provided by the embodiment of the present invention can be applied in the following situations: Figure 1 In a computer device in an application environment, the computer device communicates with the early warning information release system through a network.

[0049] The computer device is connected to the early warning information release system to obtain the early warning information issued by the early warning information release system;

[0050] Obtain the warning content in the warning information, and obtain the region, population, disaster type and disaster level in the warning content;

[0051] Obtaining the task priority corresponding to the disaster type or the disaster level, and obtaining the user priority corresponding to the region or the group of people;

[0052] Based on a predefined generation method, generating a warning priority corresponding to the warning information according to the task priority and the user priority;

[0053] The warning content and the recipient information form a warning SMS corresponding to the warning information, the warning SMS is associated with the warning priority, and the warning SMS associated with the warning priority is added to the priority queue;

[0054] When the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through the priority scheduling strategy.

[0055] In the scheme implemented by the above-mentioned warning information release scheduling method, device, equipment and medium, the beneficial effects are in two aspects. On the one hand, the warning content and recipient information are combined to form a warning SMS corresponding to the warning information, the warning SMS and the warning priority are associated, and the warning SMS associated with the warning priority is added to the priority queue; when the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through the priority scheduling strategy. Since no manual scheduling is required, the scheduling time of the warning SMS of the warning information is reduced, which is conducive to improving the scheduling efficiency of the warning SMS of the warning information; on the other hand, it will not be affected by manual intervention, so it is conducive to improving the reliability of sending warning SMS.

[0056] Among them, computer devices include but are not limited to smartphones, personal computers, Internet of Vehicles terminals, tablet computers and portable wearable devices.

[0057] See also Figure 2 , Figure 2 A flowchart of a method for scheduling early warning information release provided by an embodiment of the present invention includes the following steps:

[0058] S21, connecting to the early warning information release system to obtain the early warning information issued by the early warning information release system;

[0059] Among them, the early warning information release system includes the national emergency early warning information release system and the Henan Province emergency early warning information release system.

[0060] Wherein, connecting to the early warning information release system and obtaining the early warning information issued by the early warning information release system includes:

[0061] Connect the national emergency warning information release system and the Henan provincial emergency warning information release system to obtain the warning information issued by the national emergency warning information release system or the Henan provincial emergency warning information release system.

[0062] Among them, the National Emergency Warning Information Release System is a comprehensive platform built at the national level, aimed at achieving rapid, accurate and extensive release of emergency warning information.

[0063] Among them, the Henan Province Emergency Warning Information Release System is a comprehensive information release platform that aims to convey warning information on possible natural disasters, accidental disasters, public health incidents and other emergencies to the public in an efficient, accurate and timely manner.

[0064] S22, obtaining warning content in the warning information, and obtaining the region, population, disaster type and disaster level in the warning content;

[0065] The obtaining of the warning content in the warning information, and obtaining of the region, population, disaster type and disaster level in the warning content, include:

[0066] Parsing the warning information, and obtaining the warning content from the parsed warning information;

[0067] The region, population, disaster type and disaster level in the warning content are obtained.

[0068] S23, obtaining the task priority corresponding to the disaster type or the disaster level, and obtaining the user priority corresponding to the region or the group of people;

[0069] Among them, different types of disasters correspond to different task priorities.

[0070] For the sake of illustration, an example is given below:

[0071] The disaster type is heavy rain, and the task priority corresponding to heavy rain is 0.171587;

[0072] The disaster type is thunderstorm, and the task priority corresponding to thunderstorm is 0.125276;

[0073] The disaster type is hail, and the task priority corresponding to hail is 0.11829;

[0074] The disaster type is strong wind, and the task priority corresponding to strong wind is 0.103331;

[0075] The disaster type is sandstorm, and the task priority corresponding to sandstorm is 0.071475;

[0076] The disaster type is blizzard, and the task priority corresponding to blizzard is 0.059202;

[0077] The disaster type is heavy fog, and the task priority corresponding to heavy fog is 0.050219;

[0078] The disaster type is road icing, and the corresponding task priority is 0.038485;

[0079] The disaster type is drought, and the task priority corresponding to drought is 0.035364;

[0080] The disaster type is cold wave, and the task priority corresponding to the cold wave is 0.034669;

[0081] The disaster type is dry hot wind, and the task priority corresponding to dry hot wind is 0.022571;

[0082] The disaster type is frost, and the task priority corresponding to frost is 0.019638;

[0083] The disaster type is low temperature, and the task priority corresponding to low temperature is 0.019544;

[0084] The disaster type is haze, and the task priority corresponding to haze is 0.018807;

[0085] The disaster type is high temperature, and the task priority corresponding to high temperature is 0.017887.

[0086] Among them, different disaster levels correspond to different task priorities.

[0087] For the sake of illustration, an example is given below:

[0088] Disaster Level 1: Disaster Level 1 corresponds to a task priority of 0.1. This level of disaster is small in scale, has a limited impact, and causes relatively minor casualties, economic losses, or social impacts. Although the priority is not high, it still requires attention and appropriate emergency measures.

[0089] Disaster Level 2: The task priority corresponding to Disaster Level 2 is 0.2. This type of disaster is of medium scale, and the scope of impact is gradually expanding, which may cause certain casualties, economic losses or social impacts. For this type of disaster, it is necessary to initiate an emergency response of the corresponding level to ensure timely and effective response.

[0090] Disaster Level 3: Disaster Level 3 corresponds to a task priority of 0.3, which is relatively high. This level of disaster is large in scale and has a wide impact range, which may cause serious casualties, economic losses or social impacts. Therefore, a high-level emergency response needs to be initiated quickly to effectively control the spread of the disaster and mitigate its impact.

[0091] Disaster Level 4: The task priority corresponding to Disaster Level 4 is 0.5. This type of disaster is extremely large in scale and has a wide impact, which may cause extremely serious casualties, economic losses or social impacts. In the face of such a disaster, it is necessary to immediately initiate the highest level of emergency response and go all out for rescue and recovery work to minimize the losses caused by the disaster.

[0092] Among them, different regions correspond to different user priorities.

[0093] For the sake of illustration, an example is given below:

[0094] Region A: The user priority is 0.6. Severe natural disasters, such as strong earthquakes or floods, have occurred in Region A, resulting in a large number of casualties and serious damage to infrastructure. The disaster situation in this region is the most urgent and requires immediate investment of a large amount of resources for rescue and recovery work, so it is given the highest priority.

[0095] Region B: The user priority is 0.3. Region B was also affected by the disaster, but the scale of the disaster was smaller than that of Region A, with relatively fewer casualties and property losses. However, the disaster in this region still needs timely attention and effective response to prevent the disaster from further deteriorating, so it is given a medium priority.

[0096] Region C: The user priority is 0.1. The disaster situation in Region C is relatively minor, and may only be a small-scale disaster in a local area, such as a small landslide or a minor storm. Nevertheless, in order to ensure the safety and stability of residents in the area, necessary monitoring and emergency preparations are still required, so it is given a lower priority.

[0097] Among them, different groups of people correspond to different user priorities.

[0098] Group A: The user priority is 0.5. Group A is the most direct and serious victims of the disaster, including residents trapped in collapsed buildings, seriously injured people, or elderly people and children who are unable to save themselves. The life safety of this group of people is seriously threatened and they need immediate rescue and medical treatment, so they are given the highest priority.

[0099] Group B: The user priority is 0.3. Although group B is also affected by the disaster, their situation may be slightly better than that of group A. They may include people with minor injuries, residents who have lost their homes but need temporary resettlement, etc. This group of people needs timely assistance and care to ensure that their basic living needs are met, so they are given a medium priority.

[0100] Crowd C: The user priority is 0.2. Crowd C may be indirectly affected by the disaster, such as people who are temporarily in difficulty due to traffic disruptions and material shortages caused by the disaster. Although their situation is relatively mild, they also need to be given certain attention and help in order to ensure the overall stability and recovery of society, so they are given a lower priority.

[0101] S24, generating a warning priority corresponding to the warning information based on the task priority and the user priority based on a predefined generation method;

[0102] The generating of the warning priority corresponding to the warning information based on the predefined generating method according to the task priority and the user priority includes:

[0103] Reading the task priority and the user priority;

[0104] The task priority and the user priority are added together to generate the warning priority corresponding to the warning information.

[0105] Among them, early warning information, as a timely notification of potential risks or crises, contains detailed information on the nature, scale, scope of impact and possible consequences of the incident. The priority of early warning is determined based on the urgency, harmfulness and urgency of response after comprehensive analysis and evaluation of these early warning information.

[0106] S25, combining the warning content and the recipient information into a warning SMS corresponding to the warning information, associating the warning SMS with the warning priority, and adding the warning SMS associated with the warning priority to a priority queue;

[0107] Among them, the priority queue, as an efficient data structure, can ensure that the warning SMS associated with the warning priority is processed in the specified priority order. This mechanism greatly optimizes the efficiency of resource allocation and task scheduling, so that the warning SMS with the highest warning priority can be executed first, thereby reducing waiting time.

[0108] S26, when the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through a priority scheduling strategy.

[0109] Wherein, when the preset condition is met, after sending the warning SMS with the highest warning priority in the priority queue through the priority scheduling strategy, the warning information release scheduling method includes:

[0110] When the warning SMS with the highest warning priority is sent successfully, the warning SMS with the highest warning priority is removed from the priority queue.

[0111] Among them, the number of the warning text messages with the highest warning priority is set by the user or by the system by default, and is not limited here.

[0112] For the sake of illustration, an example is given below:

[0113] There are 1000 warning text messages with the highest warning priority in the priority queue. When the preset conditions are met, the 1000 warning text messages with the highest warning priority in the priority queue are sent through the priority scheduling strategy.

[0114] There are 500 warning text messages with the highest warning priority in the priority queue. When the preset conditions are met, the 500 warning text messages with the highest warning priority in the priority queue are sent through the priority scheduling strategy.

[0115] In the embodiment of the present invention, the beneficial effects are in two aspects. On the one hand, the warning content and recipient information are combined to form a warning SMS corresponding to the warning information, the warning SMS and the warning priority are associated, and the warning SMS associated with the warning priority is added to the priority queue; when the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through the priority scheduling strategy. Since no manual scheduling is required, the scheduling time of the warning SMS of the warning information is reduced, which is beneficial to improving the scheduling efficiency of the warning SMS of the warning information; on the other hand, it will not be affected by manual intervention, so it is beneficial to improve the reliability of sending warning SMS.

[0116] See also Figure 3 , Figure 3 yes Figure 1 A specific implementation flow diagram of step S23 is described in detail as follows:

[0117] S31, reading a first file and a second file, where the first file and the second file are different files;

[0118] S32, in the first file, obtaining the task priority corresponding to the disaster type or the disaster level, and in the second file, obtaining the user priority corresponding to the region or the group of people.

[0119] In an embodiment of the present invention, the task priority corresponding to the disaster type or the disaster level is stored in a separate first file, and the user priority corresponding to the region or the population is stored in a separate second file, which makes it easy to modify the task priority and user priority.

[0120] See also Figure 4 , Figure 4 yes Figure 1 A specific implementation flow diagram of step S25 is described in detail as follows:

[0121] S41, combining the warning content and the recipient information into a warning SMS corresponding to the warning information, and associating the warning SMS with the warning priority;

[0122] Exemplarily, the step of combining the warning content and the recipient information into a warning text message, and associating the warning text message with the warning priority level includes:

[0123] The warning content and the recipient information are combined into a warning SMS in JSON format, and the warning SMS is associated with the warning priority.

[0124] Among them, JSON (JavaScript Object Notation) is a lightweight data exchange format that is easy for people to read and write, and easy for machines to parse and generate.

[0125] S42, creating a priority queue, and adding the warning SMS associated with the warning priority to the priority queue.

[0126] In the embodiment of the present invention, the warning SMS associated with the warning priority is added to the priority queue, and the warning SMS can be processed according to the warning priority.

[0127] See also Figure 5 , Figure 5 yes Figure 1 A specific implementation flow diagram of step S26 is described in detail as follows:

[0128] S51, when there is an idle SMS sending channel, in the priority queue, sorting the warning priorities associated with the plurality of warning SMS messages respectively, generating a sorting result, and obtaining the warning SMS message with the highest warning priority according to the sorting result;

[0129] S52, sending the warning SMS with the highest warning priority to the SMS sending channel, and sending the warning SMS with the highest warning priority through the SMS sending channel.

[0130] Exemplarily, sending the warning SMS with the highest warning priority to the SMS sending channel, and sending the warning SMS with the highest warning priority through the SMS sending channel, includes:

[0131] The warning SMS with the highest warning priority and a sending instruction are sent to the SMS sending channel, so that the SMS sending channel processes the warning SMS with the highest warning priority according to the sending instruction.

[0132] In the embodiment of the present invention, it is ensured that the warning text message with the highest warning priority can be processed preferentially, thereby reducing the delay and waiting time of the warning text message with the highest warning priority and improving the processing speed of the warning text message with the highest warning priority.

[0133] Since manual scheduling is not required, the scheduling time of the early warning text messages of the early warning information is reduced, which is conducive to improving the scheduling efficiency of the early warning text messages of the early warning information.

[0134] See also Figure 6 , Figure 6 : is a structural diagram of a warning information release and scheduling device in one embodiment of the present invention, such as Figure 6 As shown, the warning information release scheduling device includes a first acquisition module 101, a second acquisition module 102, a third acquisition module 103, a generation module 104, an association module 105, and a scheduling module 106. The detailed description of each functional module is as follows:

[0135] The first acquisition module 101 is used to connect to the early warning information release system and obtain the early warning information issued by the early warning information release system;

[0136] The second acquisition module 102 is used to acquire the warning content in the warning information, and acquire the region, population, disaster type and disaster level in the warning content;

[0137] The third acquisition module 103 is used to acquire the task priority corresponding to the disaster type or the disaster level, and acquire the user priority corresponding to the region or the group of people;

[0138] A generating module 104, configured to generate a warning priority corresponding to the warning information based on a predefined generating method, according to the task priority and the user priority;

[0139] An association module 105 is used to combine the warning content and the recipient information into a warning SMS corresponding to the warning information, associate the warning SMS with the warning priority, and add the warning SMS associated with the warning priority to a priority queue;

[0140] The scheduling module 106 is used to send the warning SMS with the highest warning priority in the priority queue through a priority scheduling strategy when a preset condition is met.

[0141] In the embodiment of the present invention, the beneficial effects are in two aspects. On the one hand, the warning content and recipient information are combined to form a warning SMS corresponding to the warning information, the warning SMS and the warning priority are associated, and the warning SMS associated with the warning priority is added to the priority queue; when the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through the priority scheduling strategy. Since no manual scheduling is required, the scheduling time of the warning SMS of the warning information is reduced, which is beneficial to improving the scheduling efficiency of the warning SMS of the warning information; on the other hand, it will not be affected by manual intervention, so it is beneficial to improve the reliability of sending warning SMS.

[0142] For the specific limitations of the warning information release scheduling device, please refer to the limitations of the warning information release scheduling method above, which will not be repeated here.

[0143] Each module in the above-mentioned warning information release and scheduling device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0144] See also Figure 7 , Figure 7 is another structural diagram of a computer device in one embodiment of the present invention. In one embodiment, a computer device is provided. The computer device is a server or a client. Its internal structure diagram can be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external database. When the computer program is executed by the processor, the functions or steps of a method for scheduling the release of early warning information are realized.

[0145] In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor.

[0146] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions of the server and the client in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.

[0147] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0148] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. Parts and subsamples of some embodiments may be included in or replace parts and subsamples of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of a stated sub-sample, whole, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other sub-samples, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0149] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0150] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some sub-samples can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0151] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for dispatching early warning information release, It is characterized in that include: Connecting to the early warning information release system to obtain the early warning information issued by the early warning information release system; Obtain the warning content in the warning information, and obtain the region, population, disaster type and disaster level in the warning content; Obtaining the task priority corresponding to the disaster type or the disaster level, and obtaining the user priority corresponding to the region or the group of people; Based on a predefined generation method, generating a warning priority corresponding to the warning information according to the task priority and the user priority; The warning content and the recipient information form a warning SMS corresponding to the warning information, the warning SMS is associated with the warning priority, and the warning SMS associated with the warning priority is added to the priority queue; When the preset conditions are met, the warning SMS with the highest warning priority in the priority queue is sent through the priority scheduling strategy.

2. The method for issuing and scheduling early warning information according to claim 1, It is characterized in that The obtaining of the warning content in the warning information, and obtaining of the region, population, disaster type and disaster level in the warning content, includes: Parsing the warning information, and obtaining the warning content from the parsed warning information; The region, population, disaster type and disaster level in the warning content are obtained.

3. The method for issuing and scheduling early warning information according to claim 1, It is characterized in that The obtaining of the task priority corresponding to the disaster type or the disaster level, and the obtaining of the user priority corresponding to the region or the group of people, includes: Reading a first file and a second file, wherein the first file and the second file are different files; In the first file, the task priority corresponding to the disaster type or the disaster level is obtained, and in the second file, the user priority corresponding to the region or the group of people is obtained.

4. The method for issuing and scheduling early warning information according to claim 1, It is characterized in that The generating, based on the predefined generating method and according to the task priority and the user priority, the warning priority corresponding to the warning information includes: Reading the task priority and the user priority; The task priority and the user priority are added together to generate the warning priority corresponding to the warning information.

5. The method for issuing and scheduling early warning information according to claim 1, It is characterized in that The step of combining the warning content and the recipient information into a warning text message corresponding to the warning information, associating the warning text message with the warning priority, and adding the warning text message associated with the warning priority to a priority queue includes: The warning content and the recipient information form a warning SMS corresponding to the warning information, and the warning SMS is associated with the warning priority; A priority queue is created, and the warning SMS associated with the warning priority is added to the priority queue.

6. The method for issuing and scheduling early warning information according to claim 1, It is characterized in that When the preset condition is met, sending the warning SMS with the highest warning priority in the priority queue through the priority scheduling strategy includes: When there is an idle SMS sending channel, in the priority queue, the warning priorities associated with each of the plurality of warning SMS are sorted to generate a sorting result, and the warning SMS with the highest warning priority is obtained according to the sorting result; The warning SMS with the highest warning priority is sent to the SMS sending channel, and the warning SMS with the highest warning priority is sent through the SMS sending channel.

7. The method for issuing and scheduling early warning information according to claim 1, It is characterized in that When the preset condition is met, after sending the warning SMS with the highest warning priority in the priority queue through the priority scheduling strategy, the warning information release scheduling method includes: When the warning SMS with the highest warning priority is sent successfully, the warning SMS with the highest warning priority is removed from the priority queue.

8. A warning information release and dispatching device, It is characterized in that include: A first acquisition module is used to connect to the early warning information release system and obtain the early warning information issued by the early warning information release system; The second acquisition module is used to acquire the warning content in the warning information, and acquire the region, population, disaster type and disaster level in the warning content; A third acquisition module is used to acquire the task priority corresponding to the disaster type or the disaster level, and acquire the user priority corresponding to the region or the group of people; A generating module, configured to generate a warning priority corresponding to the warning information based on a predefined generating method, according to the task priority and the user priority; An association module, used for combining the warning content and the recipient information into a warning SMS corresponding to the warning information, establishing an association between the warning SMS and the warning priority, and adding the warning SMS associated with the warning priority to a priority queue; The scheduling module is used to send the warning SMS with the highest warning priority in the priority queue through a priority scheduling strategy when a preset condition is met.

9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the warning information release scheduling method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the warning information release scheduling method as claimed in any one of claims 1 to 7 are implemented.