Early warning information sending method and device, equipment and storage medium
By generating a short link and initiating calls only when text messages are not received, the method addresses inefficiencies in voice data delivery, improving both speed and reliability of warning information dissemination.
Patent Information
- Application Number
- CN202411439333.4
- 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
The existing process of sending voice data of warning information is cumbersome and inefficient due to the inability to determine reception, leading to indiscriminate high-concurrency calls that consume resources and are prone to manual errors.
A method involving the generation of a short link from a warning information package, sending a text message with the link, initiating a call when the text message is not received, and continuously sending voice data upon a successful call until a response is received, thereby reducing manual intervention and improving efficiency.
This method reduces the time required for sending voice data and enhances reliability by eliminating manual operations, ensuring timely and accurate delivery of warning information.
Smart Images

Figure CN119172728A_ABST
Abstract
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 sending early warning information. Background Art
[0002] Meteorological disaster warning services are an important manifestation of upholding the principle of putting people and life first. The release of meteorological disaster warning information is a key link in playing the first line of defense in meteorological disaster prevention and mitigation. Meteorological disaster warning services can quickly identify potential meteorological disaster risks and release warning information to the public in a timely manner. The public can learn about meteorological disasters through warning information, so that they have enough time to respond and prepare, and minimize the losses caused by meteorological disasters.
[0003] However, the existing process of sending voice data of warning information is cumbersome and not conducive to improving the efficiency of voice data sending. The reason is that since it is impossible to grasp the reception of warning SMS, when it is necessary to start a warning voice call, indiscriminate high-concurrency warning voice calls will be made, resulting in the consumption of a large amount of human resources and time resources, increasing the sending time of the voice data of the warning information, and being easily affected by manual operations, which is not conducive to improving the sending efficiency of voice data. Summary of the invention
[0004] The present invention provides a warning information sending method, device, computer equipment and storage medium to solve the technical problem that the sending process of voice data of the existing warning information is complicated and is not conducive to improving the sending efficiency of the voice data.
[0005] In a first aspect, a method for sending early warning information is provided, comprising:
[0006] Obtaining a warning information package, parsing the warning information package, and obtaining warning information from the parsed warning information package;
[0007] Obtaining the release time of the warning information, obtaining the contact number of the warning recipient, and generating an identifier based on the release time, the contact number and a predefined generation method;
[0008] Obtaining a short domain name corresponding to the warning information, concatenating the identifier and the short domain name, and generating a short link corresponding to the warning information;
[0009] Selecting a text message carrying the short link as a warning text message, and sending the warning text message to the contact number;
[0010] When the warning SMS meets the predefined non-receipt condition, a call request is initiated to the contact number;
[0011] Obtain a call result corresponding to the call request. When the call result is a successful call, continuously send the voice data of the warning information to the receiving device until a response result returned by the receiving device is received, and then stop sending the voice data of the warning information to the receiving device.
[0012] Further, obtaining the release time of the warning information, obtaining the contact number of the warning recipient, and generating an identifier based on the release time, the contact number and a predefined generation method include:
[0013] Obtain the release time of the warning information and the contact number of the warning recipient;
[0014] A plurality of digits are randomly selected from the contact number, and the release time and the plurality of digits are concatenated to generate an identifier.
[0015] Further, the obtaining of the short domain name corresponding to the warning information, concatenating the identifier and the short domain name, and generating a short link corresponding to the warning information includes:
[0016] Obtaining a webpage that publishes the warning information, and converting the original domain name of the webpage into a short domain name corresponding to the warning information;
[0017] The identifier and the short domain name are concatenated to generate a short link corresponding to the warning information.
[0018] Further, the selecting a text message carrying the short link as a warning text message, and sending the warning text message to the contact number, comprises:
[0019] Selecting a text message carrying the short link as a warning text message;
[0020] The warning text message is sent to the contact number of the warning recipient through a preset network, and the preset network includes one or a combination of 4G network, 5G network, Ethernet.
[0021] Further, when the warning SMS meets the predefined non-receipt condition, initiating a call request to the contact number includes:
[0022] Obtain the sending result of the warning SMS, and when the sending result is successful, detect whether the receipt information corresponding to the short link is received within a preset time, the receipt information is the information of signing for the warning information;
[0023] When the receipt information corresponding to the short link is not received, it is determined that the warning SMS meets the predefined non-receipt condition, and a call request is initiated to the contact number.
[0024] Further, the obtaining of the call result corresponding to the call request, when the call result is a successful call, continuously sending the voice data of the warning information to the receiving device until a response result returned by the receiving device is received, and then stopping sending the voice data of the warning information to the receiving device, includes:
[0025] Obtaining a call result corresponding to the call request, and when the call result is a call success, establishing a data transmission channel between the device and a receiving device corresponding to the contact number;
[0026] Acquire the voice data of the warning information, and continuously send the voice data of the warning information to the receiving device through the data transmission channel until a response result returned by the receiving device is received, and then stop sending the voice data of the warning information to the receiving device.
[0027] Further, in the obtaining of the call result corresponding to the call request, when the call result is a call success, the voice data of the warning information is continuously sent to the receiving device until a response result returned by the receiving device is received, and then the voice data of the warning information is stopped from being sent to the receiving device. The warning information sending method includes:
[0028] A display window is created, and the response result is displayed in the display window.
[0029] In a second aspect, a warning information sending device is provided, comprising:
[0030] A first acquisition module is used to acquire a warning information packet, parse the warning information packet, and acquire warning information from the parsed warning information packet;
[0031] A second acquisition module is used to obtain the release time of the warning information, obtain the contact number of the warning recipient, and generate an identifier based on the release time, the contact number and a predefined generation method;
[0032] A generation module, used to obtain a short domain name corresponding to the warning information, concatenate the identifier and the short domain name, and generate a short link corresponding to the warning information;
[0033] A selection module, used for selecting a text message carrying the short link as a warning text message, and sending the warning text message to the contact number;
[0034] A calling module, used for initiating a call request to the contact number when the warning SMS meets the predefined non-receipt condition;
[0035] The sending module is used to obtain the call result corresponding to the call request. When the call result is a successful call, the voice data of the warning information is continuously sent to the receiving device until a response result returned by the receiving device is received, and then the voice data of the warning information is stopped.
[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 method for sending early warning information 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 sending method are implemented.
[0038] The present application provides a method, apparatus, computer equipment and storage medium for sending early warning information, which comprises the steps of obtaining an early warning information package, parsing the early warning information package, obtaining the early warning information in the parsed early warning information package, obtaining the release time of the early warning information, obtaining the contact number of the early warning recipient, generating an identifier based on the release time, the contact number and a predefined generation method, obtaining a short domain name corresponding to the early warning information, concatenating the identifier and the short domain name, and generating a short link corresponding to the early warning information, selecting a text message carrying the short link as the early warning text message, and sending the early warning text message to the contact number; when the early warning text message meets a predefined non-receipt condition, initiating a call request to the contact number; obtaining a call result corresponding to the call request, and when the call result is a call success, continuously sending The receiving device sends the voice data of the warning information until it receives a response result returned by the receiving device, and then stops sending the voice data of the warning information to the receiving device. The beneficial effects are in two aspects. On the one hand, the call result corresponding to the call request is obtained. When the call result is a successful call, the voice data of the warning information is continuously sent to the receiving device until it receives a response result returned by the receiving device, and then stops sending the voice data of the warning information to the receiving device. Since manual transmission is not required, the sending time of the voice data of the warning information is reduced, which is beneficial to improving the sending efficiency of the voice data of the warning information. On the other hand, since it will not be affected by manual operation, it is beneficial to improve the reliability of sending the voice data of the warning information to the receiving device. 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 sending early warning information in one embodiment of the present invention;
[0041] Figure 2 A schematic diagram of a flow chart of a method for sending early warning information provided by an embodiment of the present invention;
[0042] Figure 3 yes Figure 2 A schematic flow chart of a specific implementation of step S23;
[0043] Figure 4 yes Figure 2 A schematic flow chart of a specific implementation of step S25;
[0044] Figure 5 yes Figure 2 A schematic flow chart of a specific implementation of step S26;
[0045] Figure 6 It is a structural schematic diagram of a warning information sending device in one embodiment of the present invention;
[0046] Figure 7 It is a structural schematic 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 FIG. 1 is a schematic diagram of an application environment of a method for sending early warning information in an embodiment of the present invention. The method for sending early warning information provided by the embodiment of the present invention can be applied in the following embodiments: Figure 1 In an application environment, a client communicates with a server through a network.
[0049] The server obtains a warning information package through the client, parses the warning information package, and obtains warning information from the parsed warning information package;
[0050] Obtaining the release time of the warning information, obtaining the contact number of the warning recipient, and generating an identifier based on the release time, the contact number and a predefined generation method;
[0051] Obtaining a short domain name corresponding to the warning information, concatenating the identifier and the short domain name, and generating a short link corresponding to the warning information;
[0052] Selecting a text message carrying the short link as a warning text message, and sending the warning text message to the contact number;
[0053] When the warning SMS meets the predefined non-receipt condition, a call request is initiated to the contact number;
[0054] Obtain a call result corresponding to the call request. When the call result is a successful call, continuously send the voice data of the warning information to the receiving device until a response result returned by the receiving device is received, and then stop sending the voice data of the warning information to the receiving device.
[0055] In the scheme implemented by the above-mentioned warning information sending method, device, equipment and medium, the beneficial effects are in two aspects. On the one hand, the call result corresponding to the call request is obtained. When the call result is a successful call, the voice data of the warning information is continuously sent to the receiving device until the response result returned by the receiving device is received, and then the voice data of the warning information is stopped from being sent to the receiving device. Since manual sending is not required, the sending time of the voice data of the warning information is reduced, which is beneficial to improving the sending efficiency of the voice data of the warning information. On the other hand, since it will not be affected by manual operation, it is beneficial to improve the reliability of sending the voice data of the warning information to the receiving device.
[0056] Among them, clients include but are not limited to smartphones, personal computers, Internet of Vehicles terminals, tablets and portable wearable devices.
[0057] The server can be implemented with an independent task database or a task database cluster composed of multiple task databases. The present invention is described in detail below through specific embodiments.
[0058] See also Figure 2 , Figure 2 A flowchart of a method for sending early warning information provided by an embodiment of the present invention includes the following steps:
[0059] S21, obtaining a warning information packet, parsing the warning information packet, and obtaining warning information from the parsed warning information packet;
[0060] Exemplarily, obtaining a warning information package, parsing the warning information package, and obtaining warning information in the parsed warning information package includes:
[0061] Obtain a warning information package corresponding to the meteorological disaster, parse the warning information package in CAP format, and obtain the warning information corresponding to the meteorological disaster in the parsed warning information package.
[0062] Among them, the data format of the warning information package is CAP format.
[0063] Among them, the CAP (Common Alerting Protocol) format is an internationally accepted standard format for early warning information, which ensures the standardization and compatibility of early warning information. This means that early warning information can be seamlessly exchanged and shared between different systems, countries and regions, improving the efficiency and coverage of early warning information dissemination.
[0064] Among them, meteorological disasters refer to natural phenomena caused by abnormal atmospheric movement that cause direct or indirect damage to human life and property, social and economic activities, and the natural environment.
[0065] Among them, meteorological disasters include one or a combination of heavy rain, heavy snow, drought, high temperature, low temperature, cold wave and typhoon.
[0066] For the sake of illustration, an example is given below:
[0067] A warning information package corresponding to the rainstorm is obtained, the warning information package is parsed in CAP format, and the warning information corresponding to the rainstorm is obtained from the parsed warning information package.
[0068] Obtain a warning information package corresponding to the blizzard, parse the warning information package in CAP format, and obtain the warning information corresponding to the blizzard in the parsed warning information package.
[0069] Obtain a warning information package corresponding to the drought, parse the warning information package in CAP format, and obtain the warning information corresponding to the drought in the parsed warning information package.
[0070] Obtain a warning information package corresponding to high temperature, parse the warning information package in CAP format, and obtain the warning information corresponding to high temperature in the parsed warning information package.
[0071] Obtain a warning information package corresponding to low temperature, parse the warning information package in CAP format, and obtain the warning information corresponding to low temperature in the parsed warning information package.
[0072] Obtain a warning information package corresponding to the cold wave, parse the warning information package in CAP format, and obtain the warning information corresponding to the cold wave in the parsed warning information package.
[0073] Obtain a warning information package corresponding to the typhoon, parse the warning information package in CAP format, and obtain the warning information corresponding to the typhoon in the parsed warning information package.
[0074] S22, obtaining the release time of the warning information, obtaining the contact number of the warning recipient, and generating an identifier based on the release time, the contact number and a predefined generation method;
[0075] The obtaining of the release time of the warning information, obtaining the contact number of the warning recipient, and generating an identifier based on the release time, the contact number and a predefined generation method include:
[0076] Obtain the release time of the warning information and the contact number of the warning recipient;
[0077] A plurality of digits are randomly selected from the contact number, and the release time and the plurality of digits are concatenated to generate an identifier.
[0078] The release time of the warning information is obtained through the information release platform.
[0079] For the sake of illustration, an example is given below:
[0080] When encountering sudden weather changes, the meteorological department will respond quickly. For example, it will issue warning information about thunderstorms and heavy rains through the information release platform at 2:15 p.m. At this time, the warning information is released at 2:15 p.m.
[0081] For specific seasons or major meteorological events, such as typhoon path forecasts, the meteorological department will release detailed typhoon dynamics and impact forecasts several days or even a week in advance. For example, a detailed typhoon dynamics and impact forecast will be released on September 5. At this time, the warning information will be released on September 5.
[0082] Among them, in the contact number, a plurality of digits are randomly selected according to a preset number, and the release time and the plurality of digits are concatenated to generate an identifier.
[0083] For the sake of illustration, an example is given below:
[0084] For example, when the preset number is 3, 3 digits are randomly selected from the contact number, and the release time and the 3 digits are concatenated to generate an identifier.
[0085] For example, when the preset number is 4, 4 digits are randomly selected from the contact number, and the release time and the 4 digits are concatenated to generate an identifier.
[0086] Among them, the release time and the multiple numbers are spliced together to generate an identifier, thus building an efficient, orderly and traceable information management system. This practice significantly enhances the perception of the timeliness of emergency notifications, allowing the warning recipients to immediately realize the urgency of the warning information and respond quickly.
[0087] S23, obtaining a short domain name corresponding to the warning information, concatenating the identifier and the short domain name, and generating a short link corresponding to the warning information;
[0088] Among them, the short domain name shortens the lengthy original domain name into a concise and easy-to-remember short string, which improves the efficiency and convenience of early warning information dissemination.
[0089] S24, selecting a text message carrying the short link as a warning text message, and sending the warning text message to the contact number;
[0090] The step of selecting a text message carrying the short link as a warning text message and sending the warning text message to the contact number includes:
[0091] Selecting a text message carrying the short link as a warning text message;
[0092] The warning text message is sent to the contact number of the warning recipient through a preset network, and the preset network includes one or a combination of 4G network, 5G network, Ethernet.
[0093] S25, when the warning SMS meets the predefined non-receipt condition, initiating a call request to the contact number;
[0094] When the warning message meets the predefined non-receipt condition, a call request is initiated to the contact number, which can promptly remind the warning recipient to respond, thereby speeding up the notification process of the warning information and improving the notification efficiency.
[0095] S26, obtaining a call result corresponding to the call request. When the call result is a successful call, continuously sending the voice data of the warning information to the receiving device until a response result returned by the receiving device is received, and then stopping sending the voice data of the warning information to the receiving device.
[0096] Obtain a call result corresponding to the call request. When the call result is a successful call, continuously send the voice data of the warning information to the receiving device within a preset execution time until a response result returned by the receiving device is received, and then stop sending the voice data of the warning information to the receiving device.
[0097] For the sake of illustration, an example is given below:
[0098] For example, the execution time is 30 minutes, and the call result corresponding to the call request is obtained. When the call result is a successful call, the voice data of the warning information is continuously sent to the receiving device within 30 minutes until a response result returned by the receiving device is received, and then the voice data of the warning information is stopped being sent to the receiving device.
[0099] For example, the execution time is 60 minutes, and the call result corresponding to the call request is obtained. When the call result is a successful call, the voice data of the warning information is continuously sent to the receiving device within 60 minutes until a response result returned by the receiving device is received, and then the voice data of the warning information is stopped being sent to the receiving device.
[0100] The response result refers to the feedback result or confirmation result given after receiving the early warning information.
[0101] For the sake of illustration, an example is given below:
[0102] The voice data of the warning information is sent to the receiving device, and the receiving device replies that it has been received. This is a response result, indicating that the warning recipient has noticed the existence of the voice data of the warning information and confirmed the voice data of the warning information. In this way, the accuracy and effectiveness of the transmission of the warning information are ensured.
[0103] Wherein, in the step of obtaining the call result corresponding to the call request, when the call result is a successful call, continuously sending the voice data of the warning information to the receiving device until a response result returned by the receiving device is received, and then stopping sending the voice data of the warning information to the receiving device, the warning information sending method includes:
[0104] A display window is created, and the response result is displayed in the display window.
[0105] In the embodiment of the present invention, the beneficial effects lie in two aspects. On the one hand, a call result corresponding to the call request is obtained. When the call result is a successful call, the voice data of the early warning information is continuously sent to the receiving device until a response result returned by the receiving device is received, and then the voice data of the early warning information is stopped from being sent to the receiving device. Since manual sending is not required, the sending time of the voice data of the early warning information is reduced, which is beneficial to improving the sending efficiency of the voice data of the early warning information. On the other hand, since it will not be affected by manual operation, it is beneficial to improve the reliability of sending the voice data of the early warning information to the receiving device.
[0106] See also Figure 3 , Figure 3 yes Figure 1 A specific implementation flow diagram of step S23 is described in detail as follows:
[0107] S31, obtaining a webpage that publishes the warning information, and converting the original domain name of the webpage into a short domain name corresponding to the warning information;
[0108] S32, concatenating the identifier and the short domain name to generate a short link corresponding to the warning information.
[0109] In the embodiment of the present invention, storage space and network transmission costs are saved through short links, and the speed of dissemination of warning information is accelerated, because short links are easier to spread on platforms such as social media and instant messaging tools, which is conducive to improving the transmission efficiency of warning information.
[0110] See also Figure 4 , Figure 4 yes Figure 1 A specific implementation flow diagram of step S25 is described in detail as follows:
[0111] S41, obtaining the sending result of the warning SMS, and when the sending result is successful, detecting whether the receipt information corresponding to the short link is received within a preset time, the receipt information is the information of receiving the warning information;
[0112] Exemplarily, the sending result of the warning SMS is obtained. When the sending result is successful, whether the receipt information corresponding to the short link is received within a preset time is detected, and the receipt information is information for signing for the warning information, including:
[0113] Obtain the sending result of the warning SMS, and when the sending result is successful, record the sending time of the warning SMS;
[0114] From the sending time, within a preset time, it is detected whether the receipt information corresponding to the short link is received, and the receipt information is the information of the receipt of the early warning information.
[0115] S42, when the receipt information corresponding to the short link is not received, it is determined that the warning SMS meets the predefined non-receipt condition, and a call request is initiated to the contact number.
[0116] In the embodiment of the present invention, a call request is initiated to the contact number, a voice connection can be directly established with the contact number, and a response from the warning recipient can be quickly obtained, thereby speeding up the notification process of the warning information and improving the notification efficiency.
[0117] See also Figure 5 , Figure 5 yes Figure 1 A specific implementation flow diagram of step S26 is described in detail as follows:
[0118] S51, obtaining a call result corresponding to the call request, and when the call result is a call success, establishing a data transmission channel between the device and a receiving device corresponding to the contact number;
[0119] S52, obtaining the voice data of the warning information, and continuously sending the voice data of the warning information to the receiving device through the data transmission channel until a response result returned by the receiving device is received, and then stopping sending the voice data of the warning information to the receiving device.
[0120] In the embodiment of the present invention, since manual transmission is not required, the transmission time of the voice data of the early warning information is reduced, which is beneficial to improving the transmission efficiency of the voice data of the early warning information.
[0121] See also Figure 6 , Figure 6 : is a schematic diagram of a structure of a warning information sending device in one embodiment of the present invention, Figure 6 As shown, the warning information sending device includes a first acquisition module 101, a second acquisition module 102, a generation module 103, a selection module 104, a call module 105, and a sending module 106. The detailed description of each functional module is as follows:
[0122] The first acquisition module 101 is used to acquire a warning information package, parse the warning information package, and acquire warning information from the parsed warning information package;
[0123] The second acquisition module 102 is used to obtain the release time of the warning information, obtain the contact number of the warning recipient, and generate an identifier based on the release time, the contact number and a predefined generation method;
[0124] A generating module 103 is used to obtain a short domain name corresponding to the warning information, concatenate the identifier and the short domain name, and generate a short link corresponding to the warning information;
[0125] A selection module 104 is used to select a text message carrying the short link as a warning text message, and send the warning text message to the contact number;
[0126] A calling module 105, configured to initiate a call request to the contact number when the warning SMS meets a predefined non-receipt condition;
[0127] The sending module 106 is used to obtain the call result corresponding to the call request. When the call result is a successful call, the voice data of the warning information is continuously sent to the receiving device until a response result returned by the receiving device is received, and then the voice data of the warning information is stopped being sent to the receiving device.
[0128] In the embodiment of the present invention, the beneficial effects lie in two aspects. On the one hand, a call result corresponding to the call request is obtained. When the call result is a successful call, the voice data of the early warning information is continuously sent to the receiving device until a response result returned by the receiving device is received, and then the voice data of the early warning information is stopped from being sent to the receiving device. Since manual sending is not required, the sending time of the voice data of the early warning information is reduced, which is beneficial to improving the sending efficiency of the voice data of the early warning information. On the other hand, since it will not be affected by manual operation, it is beneficial to improve the reliability of sending the voice data of the early warning information to the receiving device.
[0129] For the specific limitations on the warning information sending device, please refer to the limitations on the warning information sending method above, which will not be repeated here.
[0130] Each module in the above-mentioned warning information sending 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 the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0131] 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 7As 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 sending early warning information are realized.
[0132] 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.
[0133] 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.
[0134] 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.
[0135] The above description and 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 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.
[0136] 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.
[0137] 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.
[0138] 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 sending early warning information, characterized in that: include: Obtaining a warning information package, parsing the warning information package, and obtaining warning information from the parsed warning information package; Obtaining the release time of the warning information, obtaining the contact number of the warning recipient, and generating an identifier based on the release time, the contact number and a predefined generation method; Obtaining a short domain name corresponding to the warning information, concatenating the identifier and the short domain name, and generating a short link corresponding to the warning information; Selecting a text message carrying the short link as a warning text message, and sending the warning text message to the contact number; When the warning SMS meets the predefined non-receipt condition, a call request is initiated to the contact number; Obtain a call result corresponding to the call request. When the call result is a successful call, continuously send the voice data of the warning information to the receiving device until a response result returned by the receiving device is received, and then stop sending the voice data of the warning information to the receiving device.
2. The method for sending early warning information according to claim 1, characterized in that: The obtaining of the release time of the warning information, obtaining the contact number of the warning recipient, and generating an identifier based on the release time, the contact number and a predefined generation method include: Obtain the release time of the warning information and the contact number of the warning recipient; A plurality of digits are randomly selected from the contact number, and the release time and the plurality of digits are concatenated to generate an identifier.
3. The method for sending early warning information according to claim 1, characterized in that: The obtaining of the short domain name corresponding to the warning information, concatenating the identifier and the short domain name, and generating a short link corresponding to the warning information includes: Obtaining a webpage that publishes the warning information, and converting the original domain name of the webpage into a short domain name corresponding to the warning information; The identifier and the short domain name are concatenated to generate a short link corresponding to the warning information.
4. The method for sending early warning information according to claim 1, characterized in that: The selecting a text message carrying the short link as a warning text message, and sending the warning text message to the contact number, comprises: Selecting a text message carrying the short link as a warning text message; The warning text message is sent to the contact number of the warning recipient through a preset network, and the preset network includes one or a combination of 4G network, 5G network, Ethernet.
5. The method for sending early warning information according to claim 1, characterized in that: When the warning SMS meets the predefined non-receipt condition, initiating a call request to the contact number includes: Obtain the sending result of the warning SMS, and when the sending result is successful, detect whether the receipt information corresponding to the short link is received within a preset time, the receipt information is the information of signing for the warning information; When the receipt information corresponding to the short link is not received, it is determined that the warning SMS meets the predefined non-receipt condition, and a call request is initiated to the contact number.
6. The method for sending early warning information according to claim 1, characterized in that: The obtaining of the call result corresponding to the call request, and when the call result is a call success, continuously sending the voice data of the warning information to the receiving device until a response result returned by the receiving device is received, and then stopping sending the voice data of the warning information to the receiving device, includes: Obtaining a call result corresponding to the call request, and when the call result is a call success, establishing a data transmission channel between the device and a receiving device corresponding to the contact number; Acquire the voice data of the warning information, and continuously send the voice data of the warning information to the receiving device through the data transmission channel until a response result returned by the receiving device is received, and then stop sending the voice data of the warning information to the receiving device.
7. The method for sending early warning information according to claim 1, characterized in that: In the step of obtaining a call result corresponding to the call request, when the call result is a successful call, continuously sending voice data of the warning information to the receiving device until a response result returned by the receiving device is received, and then stopping sending the voice data of the warning information to the receiving device, the warning information sending method includes: A display window is created, and the response result is displayed in the display window.
8. A warning information sending device, characterized in that: include: A first acquisition module is used to acquire a warning information packet, parse the warning information packet, and acquire warning information from the parsed warning information packet; A second acquisition module is used to obtain the release time of the warning information, obtain the contact number of the warning recipient, and generate an identifier based on the release time, the contact number and a predefined generation method; A generation module, used to obtain a short domain name corresponding to the warning information, concatenate the identifier and the short domain name, and generate a short link corresponding to the warning information; A selection module, used for selecting a text message carrying the short link as a warning text message, and sending the warning text message to the contact number; A calling module, used for initiating a call request to the contact number when the warning SMS meets the predefined non-receipt condition; The sending module is used to obtain the call result corresponding to the call request. When the call result is a successful call, the voice data of the warning information is continuously sent to the receiving device until a response result returned by the receiving device is received, and then the voice data of the warning information is stopped.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method for sending early warning information as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for sending early warning information as claimed in any one of claims 1 to 7 are implemented.
