CN110543470A - Message early warning method and device, storage medium and electronic device - Google Patents

Message early warning method and device, storage medium and electronic device Download PDF

Info

Publication number
CN110543470A
CN110543470A CN201910828604.8A CN201910828604A CN110543470A CN 110543470 A CN110543470 A CN 110543470A CN 201910828604 A CN201910828604 A CN 201910828604A CN 110543470 A CN110543470 A CN 110543470A
Authority
CN
China
Prior art keywords
early warning
sending
message
warning message
contact user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910828604.8A
Other languages
Chinese (zh)
Inventor
雷伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN201910828604.8A priority Critical patent/CN110543470A/en
Publication of CN110543470A publication Critical patent/CN110543470A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention provides a method and a device for message early warning, a storage medium and an electronic device, wherein the method comprises the following steps: determining a corresponding first early warning message according to the type of the abnormality when the data management is abnormal, wherein the first early warning message is one of a plurality of preset early warning messages in an early warning example, and each early warning message in the early warning example is preset with a corresponding sending mode and sending time; and sending the first early warning message to an early warning contact user according to the sending mode and the sending time corresponding to the first early warning message. The invention solves the problem of low efficiency of processing problems caused by the fact that a user needs to check the data management result by checking the task execution log in the related technology.

Description

Message early warning method and device, storage medium and electronic device
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for message early warning, a storage medium, and an electronic apparatus.
Background
In the process of data governance, various problems occur, such as the need to synchronize the data timing of the A/B/C library to the D library. The process is automatically completed by a program, and in the process of data synchronization each time, conditions such as data synchronization failure, synchronization task delay and the like can be caused. After the data synchronization is finished, some detection is carried out on the synchronized data, such as null value rate, data loss condition and the like; the problems and the detection results need to be processed in time to show the value of the system. In this regard, the manner adopted in the related art is: the user is required to find out existing problems by looking at the task execution log and then process the problems. But this approach is inefficient, leading to untimely processing problems.
In view of the above problems in the related art, no effective solution exists at present.
Disclosure of Invention
the embodiment of the invention provides a message early warning method and device, a storage medium and an electronic device, which are used for at least solving the problem of low problem processing efficiency caused by the fact that a user is required to check a data management result in a mode of checking a task execution log in the related art.
According to an embodiment of the present invention, there is provided a method for message early warning, including: determining a corresponding first early warning message according to the type of the abnormality when the data management is abnormal, wherein the first early warning message is one of a plurality of preset early warning messages in an early warning example, and each early warning message in the early warning example is preset with a corresponding sending mode and sending time; and sending the first early warning message to an early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
According to another embodiment of the present invention, there is provided an apparatus for message early warning, including: the device comprises a determining module and a sending module, wherein the determining module is used for determining corresponding first early warning messages according to the types of the abnormity under the condition that the abnormity occurs in data management, the first early warning messages are early warning messages in a plurality of preset early warning messages in an early warning example, and each early warning message in the early warning example is preset with a corresponding sending mode and sending time; and the processing module is used for sending the first early warning message to an early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
by the invention, under the condition that the data management is abnormal, the corresponding first early warning message is determined according to the type of the abnormality, wherein the first early warning message is an early warning message in a plurality of preset early warning messages in the early warning instance, in the early warning example, a corresponding sending mode and sending time are preset for each early warning message, and then the first early warning message is sent to the early warning contact user according to the sending mode and sending time corresponding to the first early warning message, that is, under the condition that the data management is abnormal, corresponding early warning messages can be selected from the early warning examples and automatically sent according to the preset sending mode and sending time, therefore, the problem that in the related art, a user needs to check the data management result by checking the task execution log by himself, so that the problem processing efficiency is low is solved, and the problem solving efficiency under the condition that the data management is abnormal is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
Fig. 1 is a block diagram of a hardware structure of a terminal of a message early warning method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of message early warning according to an embodiment of the invention;
Fig. 3 is a block diagram of a message early warning apparatus according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
it should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a terminal, a computer terminal, or a similar computing device. Taking the operation on the terminal as an example, fig. 1 is a hardware structure block diagram of the terminal of the message early warning method according to the embodiment of the present invention. As shown in fig. 1, the terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the terminal. For example, the terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
the memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the message alert method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
the transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, a method for message early warning running on the terminal is provided, and fig. 2 is a flowchart of the method for message early warning according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
Step S202, under the condition that data management is abnormal, determining corresponding first early warning messages according to the abnormal types, wherein the first early warning messages are early warning messages in a plurality of preset early warning messages in an early warning example, and each early warning message in the early warning example is preset with a corresponding sending mode and sending time;
And step S204, sending the first early warning message to the early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
Through the steps S202 and S204, under the condition that the data management is abnormal, the corresponding first early warning message is determined according to the type of the abnormality, wherein the first early warning message is an early warning message in a plurality of preset early warning messages in the early warning instance, in the early warning example, a corresponding sending mode and sending time are preset for each early warning message, and then the first early warning message is sent to the early warning contact user according to the sending mode and sending time corresponding to the first early warning message, that is, under the condition that the data management is abnormal, corresponding early warning messages can be selected from the early warning examples and automatically sent according to the preset sending mode and sending time, therefore, the problem that in the related art, a user needs to check the data management result by checking the task execution log by himself, so that the problem processing efficiency is low is solved, and the problem solving efficiency under the condition that the data management is abnormal is improved.
In an alternative embodiment of the present application, the method steps of the present application may further comprise:
Step S200, before determining the corresponding first early warning message according to the abnormal type, setting an early warning contact user group for managing early warning contact users, wherein the early warning contact user group comprises a plurality of early warning contact users.
that is, a plurality of types of warning messages may be preset, and a corresponding warning message may be selected according to an abnormality.
In addition, the transmission method in the present application includes: sending the data through social software and mail; the sending time may be set according to the requirement, for example, the sending time may be set to be sent at a certain time point after the sending is abnormal, and the time point may be adjusted according to the requirement in real time.
in another alternative embodiment of the present application, the method steps of the present application further comprise:
Step S206, after the first early warning message is sent to the early warning contact user according to the sending mode and the sending time corresponding to the first early warning message, the information of the first early warning message, the corresponding sending mode and the corresponding sending time are displayed.
The present application is exemplified below with reference to alternative embodiments thereof;
This optional embodiment provides a general message early warning method, which includes the following parts:
1) And early warning contact person management: and if the message is sent, the early warning contact person management module is developed, so that the early warning contact person can be flexibly managed.
2) And early warning instance management: in order to achieve flexible management and clear classification of early warning information, research and development of early warning examples are not required. The pre-warning instance, that is, the contracted pre-warning classification name of each module. The method comprises the management of the early warning contact persons needing to send information of each module, the management of the message sending mode, the message sending time and the like of the module, wherein the management determines that the message of the module is sent to the early warning contact persons.
3) and sending triggering time of the early warning information: and providing a message trigger interface, wherein any module in data processing can flexibly provide parameters according to interface specifications, trigger message sending and inform the early warning contact person of the early warning information according to the sending mode and sending time in the early warning instance.
4) The core messaging engine: the development of a message sending engine with built-in mails, short messages, WeChat and QQ is convenient for customers to flexibly select an early warning mode suitable for the customers.
5) The early warning contact persons and the early warning examples are flexibly configured and managed through the UI; the details of the early warning information can be visually managed, namely the information seen through short messages and the like can be seen on a UI interface.
Through the mode, under the condition that data management is abnormal, through calling the interface, relevant operation and maintenance personnel can be informed of information through short messages and mails when problems are found, office efficiency is greatly improved, and workload of the operation and maintenance personnel is reduced.
through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
in this embodiment, a message early warning apparatus is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 3 is a block diagram of a message early warning apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes:
(1) The determining module 32 is configured to determine, when data management is abnormal, a corresponding first early warning message according to the type of the abnormality, where the first early warning message is an early warning message in a plurality of preset early warning messages in an early warning instance, and each early warning message in the early warning instance is preset with a corresponding sending method and sending time;
(2) And the processing module 34 is configured to send the first warning message to the warning contact user according to the sending method and the sending time corresponding to the first warning message.
Optionally, the apparatus of the present application may further include: the device comprises a setting module and a pre-warning contact user group, wherein the setting module is used for setting the pre-warning contact user group used for managing the pre-warning contact users before determining the corresponding first pre-warning message according to the abnormal type, and the pre-warning contact user group comprises a plurality of pre-warning contact users.
Optionally, the sending method involved in the present application includes: sending by means of social software and sending by means of mails.
Optionally, the apparatus of the present application may further include: and the display module is used for displaying the information of the first early warning message, the corresponding sending mode and the corresponding sending time after the first early warning message is sent to the early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
S1, determining a corresponding first early warning message according to the type of the abnormality when the data management is abnormal, wherein the first early warning message is one of a plurality of preset early warning messages in an early warning instance, and each early warning message in the early warning instance is preset with a corresponding sending mode and sending time;
And S2, sending the first early warning message to the early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
S1, determining a corresponding first early warning message according to the type of the abnormality when the data management is abnormal, wherein the first early warning message is one of a plurality of preset early warning messages in an early warning instance, and each early warning message in the early warning instance is preset with a corresponding sending mode and sending time;
and S2, sending the first early warning message to the early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for message early warning, comprising:
Determining a corresponding first early warning message according to the type of the abnormality when the data management is abnormal, wherein the first early warning message is one of a plurality of preset early warning messages in an early warning example, and each early warning message in the early warning example is preset with a corresponding sending mode and sending time;
And sending the first early warning message to an early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
2. The method of claim 1, wherein prior to determining the corresponding first warning message according to the type of anomaly, the method further comprises:
and setting an early warning contact user group for managing the early warning contact users, wherein the early warning contact user group comprises a plurality of early warning contact users.
3. The method of claim 1, wherein the sending mode comprises: sending by means of social software and sending by means of mails.
4. the method of claim 1, wherein after sending the first warning message to a warning contact user according to a sending manner and a sending time corresponding to the first warning message, the method further comprises:
And displaying the information of the first early warning message, and the corresponding sending mode and sending time.
5. An apparatus for message early warning, comprising:
The device comprises a determining module and a sending module, wherein the determining module is used for determining corresponding first early warning messages according to the types of the abnormity under the condition that the abnormity occurs in data management, the first early warning messages are early warning messages in a plurality of preset early warning messages in an early warning example, and each early warning message in the early warning example is preset with a corresponding sending mode and sending time;
And the processing module is used for sending the first early warning message to an early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
6. the apparatus of claim 5, further comprising:
The early warning system comprises a setting module and a pre-warning contact user group, wherein the setting module is used for setting the early warning contact user group used for managing the early warning contact users before determining the corresponding first early warning message according to the abnormal type, and the early warning contact user group comprises a plurality of early warning contact users.
7. The apparatus of claim 6, wherein the transmission mode comprises: sending by means of social software and sending by means of mails.
8. The apparatus of claim 6, further comprising:
And the display module is used for displaying the information of the first early warning message, the corresponding sending mode and the corresponding sending time after the first early warning message is sent to the early warning contact user according to the sending mode and the sending time corresponding to the first early warning message.
9. a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to carry out the method of any one of claims 1 to 4 when executed.
10. an electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 4.
CN201910828604.8A 2019-09-03 2019-09-03 Message early warning method and device, storage medium and electronic device Pending CN110543470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910828604.8A CN110543470A (en) 2019-09-03 2019-09-03 Message early warning method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910828604.8A CN110543470A (en) 2019-09-03 2019-09-03 Message early warning method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN110543470A true CN110543470A (en) 2019-12-06

Family

ID=68712403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910828604.8A Pending CN110543470A (en) 2019-09-03 2019-09-03 Message early warning method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN110543470A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552876A (en) * 2020-04-28 2020-08-18 深圳市商汤科技有限公司 Early warning information sending and receiving method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740121A (en) * 2016-01-26 2016-07-06 中国银行股份有限公司 Log text monitoring and early-warning method and apparatus
CN108509321A (en) * 2017-02-24 2018-09-07 北京京东尚科信息技术有限公司 Generate the monitoring method and system of data cube
CN109598434A (en) * 2018-11-30 2019-04-09 平安科技(深圳)有限公司 Abnormity early warning method, apparatus, computer installation and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740121A (en) * 2016-01-26 2016-07-06 中国银行股份有限公司 Log text monitoring and early-warning method and apparatus
CN108509321A (en) * 2017-02-24 2018-09-07 北京京东尚科信息技术有限公司 Generate the monitoring method and system of data cube
CN109598434A (en) * 2018-11-30 2019-04-09 平安科技(深圳)有限公司 Abnormity early warning method, apparatus, computer installation and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111552876A (en) * 2020-04-28 2020-08-18 深圳市商汤科技有限公司 Early warning information sending and receiving method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112311617A (en) Configured data monitoring and alarming method and system
CN110688281A (en) Alarm method and device in monitoring system and storage medium
CN109669835B (en) MySQL database monitoring method, device, equipment and readable storage medium
CN109636304B (en) Business system publishing method and device, storage medium and electronic device
CN113806191A (en) Data processing method, device, equipment and storage medium
CN107885634B (en) Method and device for processing abnormal information in monitoring
CN110543470A (en) Message early warning method and device, storage medium and electronic device
CN110807104B (en) Method and device for determining abnormal information, storage medium and electronic device
CN113760634A (en) Data processing method and device
CN116055291A (en) Method and device for determining abnormal prompt information of node
CN113934552A (en) Method and device for determining function code, storage medium and electronic device
CN114461501A (en) Resource abnormality detection method and device, storage medium, and electronic device
CN112422682A (en) Data transmission method and device, storage medium, and electronic device
CN109408104B (en) Method and device for acquiring game integration information
CN113434742A (en) Account screening method and device, storage medium and electronic device
CN113486237A (en) Flight information recommendation method and system, storage medium and electronic equipment
CN112711517A (en) Server performance monitoring method and device, storage medium and terminal
CN112925623A (en) Task processing method and device, electronic equipment and medium
CN114090397A (en) Alarm information processing method and device
CN106547679B (en) Script management method and script management platform
CN112579954A (en) Method and device for outputting seismic information, storage medium and electronic device
CN111258728A (en) Task execution method and device, storage medium and electronic device
CN110580248A (en) Data management method and device based on rule base expansion
CN110928300A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN110120881B (en) Data synchronization method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191206

RJ01 Rejection of invention patent application after publication