CN111200517A - Service data early warning control method, device, equipment and storage medium - Google Patents

Service data early warning control method, device, equipment and storage medium Download PDF

Info

Publication number
CN111200517A
CN111200517A CN201911346275.XA CN201911346275A CN111200517A CN 111200517 A CN111200517 A CN 111200517A CN 201911346275 A CN201911346275 A CN 201911346275A CN 111200517 A CN111200517 A CN 111200517A
Authority
CN
China
Prior art keywords
service
alarm
data
message queue
server
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.)
Granted
Application number
CN201911346275.XA
Other languages
Chinese (zh)
Other versions
CN111200517B (en
Inventor
张立华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Dajiaying Information Technology Co Ltd
Original Assignee
Suzhou Dajiaying Information Technology 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 Suzhou Dajiaying Information Technology Co Ltd filed Critical Suzhou Dajiaying Information Technology Co Ltd
Priority to CN201911346275.XA priority Critical patent/CN111200517B/en
Publication of CN111200517A publication Critical patent/CN111200517A/en
Application granted granted Critical
Publication of CN111200517B publication Critical patent/CN111200517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a service data early warning control method, a device, equipment and a storage medium, wherein the method comprises the following steps: the synchronous server acquires service updating data from a service database of the target service in real time; the synchronous server sends the service updating data to a synchronous client; the synchronous client side issues the service updating data to a message queue; the alarm checking server acquires the service updating data from the message queue; the alarm check server performs alarm check on the acquired service update data according to the service alarm rule of the target service; and when the alarm checking result is alarm, the alarm checking server sends alarm information to the alarm monitoring terminal. By using the technical scheme provided by the embodiment of the application, the error in the service data can be rapidly and accurately identified, and effective service data early warning control is realized.

Description

Service data early warning control method, device, equipment and storage medium
Technical Field
The present application relates to the field of internet communication technologies, and in particular, to a method, an apparatus, a device, and a storage medium for controlling service data early warning.
Background
With the change of internet technology, the types of services related to the internet service system are increasing, and a large amount of service data is generated, and if the service data cannot be effectively early-warning controlled, huge losses are generated for an operator and a user.
At present, when some internet service systems perform service data early warning control, corresponding check logics are often directly added in service codes, but the service codes need to be frequently modified due to service upgrading and the like, and the frequent modification of the service codes inevitably causes errors of the service logics and the check logics, so that the service data stored in a database is incorrect and cannot be accurately identified. Therefore, there is a need to provide a more reliable or efficient solution.
Disclosure of Invention
The application provides a service data early warning control method, a device, equipment and a storage medium, which can quickly and accurately identify errors in service data and realize effective service data early warning control.
In one aspect, the present application provides a service data early warning control method, where the method includes:
the synchronous server acquires service updating data from a service database of the target service in real time;
the synchronous server sends the service updating data to a synchronous client;
the synchronous client side issues the service updating data to a message queue;
the alarm checking server acquires the service updating data from the message queue;
the alarm check server performs alarm check on the acquired service update data according to the service alarm rule of the target service;
and when the alarm checking result is alarm, the alarm checking server sends alarm information to the alarm monitoring terminal.
In another aspect, a service data early warning control system is provided, where the system includes:
the system comprises: the system comprises a synchronization system, a service database, a message queue, an alarm check server and an alarm monitoring terminal; the synchronization system comprises a synchronization client and a synchronization server;
the service database is used for storing real-time service updating data of the target service;
the synchronous server is used for acquiring service updating data from the service database in real time and sending the service updating data to the synchronous client;
the synchronous client is used for releasing the service updating data to a message queue;
the message queue is used for storing the service updating data;
the alarm checking server is used for acquiring the service updating data from the message queue; and the system is used for carrying out alarm check on the acquired service updating data according to the service alarm rule of the target service; and is used for sending alarm information to the alarm monitoring terminal when the result of the alarm check is alarm;
the alarm monitoring terminal is used for displaying alarm information sent by the alarm checking server.
In another aspect, a method for controlling service data early warning is provided, where the method includes:
acquiring service updating data from a message queue, wherein the service updating data is acquired by a synchronization system from a service database of a target service in real time;
performing alarm check on the acquired service update data according to the service alarm rule of the target service;
and when the alarm checking result is an alarm, sending alarm information to an alarm monitoring terminal.
In another aspect, a service data early warning control apparatus is provided, where the apparatus includes:
a service update data acquisition module, configured to acquire service update data from a message queue, where the service update data is service update data acquired by a synchronization system in real time from a service database of a target service;
the alarm checking module is used for carrying out alarm checking on the acquired service updating data according to the service alarm rule of the target service;
and the alarm information sending module is used for sending alarm information to the alarm monitoring terminal when the alarm checking result is an alarm.
In another aspect, a service data early warning control device is provided, where the device includes a processor and a memory, where the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the service data early warning control method.
Another aspect provides a computer-readable storage medium, where at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the service data early warning control method.
The service data early warning control method, the device, the equipment and the storage medium have the following technical effects:
the method and the system have the advantages that the synchronous system composed of the synchronous server and the synchronous client synchronizes the service updating data in the service database to the message queue in real time so that the alarm checking server can perform alarm checking, the service updating data can be quickly and accurately subjected to alarm checking, early warning control on the service data of the target service is realized, the real-time service updating data are synchronized to the message queue through the synchronous system, and peak clipping and valley filling can be performed on the real-time service updating data in the message queue so that the alarm detection server can perform smooth and uniform alarm checking processing on the real-time service updating in combination with the service alarm rule. When the alarm check result is alarm, the alarm information is directly sent to the alarm monitoring terminal, and the problem can be repaired in time.
Drawings
In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a service data early warning control system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a service data early warning control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a process that an alarm checking server performs alarm matching on acquired service update data according to a service alarm rule of the target service according to the embodiment of the present application;
fig. 4 is a schematic flowchart of an alarm detection server according to an embodiment of the present application, which determines whether updated preset service alarm data meets a preset alarm condition;
fig. 5 is a schematic flowchart of another service data early warning control method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a service data early warning control apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of a hardware structure of a server in a service data early warning control method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of a service data early warning control system according to an embodiment of the present disclosure, and as shown in fig. 1, the application environment may include a service database 100, a synchronization system 200, a message queue 300, an alarm check server 400, and an alarm monitoring terminal 500.
In this embodiment, the service database 100 may be used to store service update data of a target service in real time. Specifically, the business database 100 may include, but is not limited to, MySQL (relational database management system), MongoDB (a database based on distributed file storage), and the like.
In this embodiment, the synchronization system 200 may be used to synchronously acquire real-time service update data in a service database. Specifically, the synchronization system 200 may include a synchronization server 201 and a synchronization client 202. In practical application, the synchronization server 201 may establish a connection with the service database 100, and the synchronization server 201 may pretend to be a backup of the service database 100, and obtain real-time service update data from the service database 100; further, the synchronization client 202 may establish a connection with the synchronization server 201, and accordingly, the synchronization server 201 synchronizes the acquired real-time service update data to the synchronization client 202.
In this embodiment, the message queue 300 may establish a connection with the synchronization client 202, and accordingly, the synchronization client 202 may synchronize the service update data to the message queue 300. The message queue 300 may be used to store service update data synchronized by the synchronization system 200 in real time, and in a specific embodiment, the message queue 300 may include, but is not limited to, a Kafka (kaffka) message queue, a rabbitmq (message queue) message queue, and the like.
In practical applications, the service update data generated in real time in the service database 100 is not balanced, and accordingly, in this embodiment of the present specification, the real-time service update data is synchronized to the message queue 300, and in the message queue 300, peak clipping and valley filling may be performed on the real-time service update data, so that the alarm detection server may perform smooth and uniform processing on the real-time service update.
In this embodiment of the present specification, the alarm checking server 400 may establish a connection with the message queue 300, receive the service update data from the message queue 300 in real time, and perform alarm checking on the obtained service update data according to the service alarm rule of the target service; and when the result of the alarm check is alarm, sending alarm information to the alarm monitoring terminal 500;
in this embodiment, the alarm monitoring terminal 500 may be configured to display the alarm information sent by the alarm checking server 400.
In practical applications, the synchronization server 201 and the alarm checking server 400 may include independent physical servers, may also include a server cluster or a distributed system formed by a plurality of physical servers, and may also be cloud servers that provide basic cloud computing services such as cloud services, a cloud database, cloud computing, a cloud function, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a CDN (Content delivery network), and a big data and artificial intelligence platform.
Synchronization client 202 and alarm monitor 500 may include smart phones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, Augmented Reality (AR)/Virtual Reality (VR) devices, smart wearable devices, and other types of physical devices. Software running on physical devices, such as applications, may also be included.
In this embodiment of the present disclosure, the connection among the service database 100, the synchronization system 200, the message queue 300, the alarm checking server 400, and the alarm monitoring terminal 500 may be directly or indirectly connected through a wired or wireless communication manner, and the present application is not limited herein.
An embodiment of a service data early warning control method according to the present application is described below, and fig. 2 is a schematic flow chart of a service data early warning control method according to the embodiment of the present application, where the present specification provides the method operation steps as described in the embodiment or the flow chart, but more or fewer operation steps may be included based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 2, the method may include:
s201: and the synchronous server acquires service updating data from a service database of the target service in real time.
In this embodiment, the target service may be any service that needs to perform service data early warning control. Specifically, the service update data may be data generated by the service system during a service processing procedure.
In practical applications, a service system usually continuously updates certain service data during service processing. Accordingly, the service update data in the embodiments of the present description may include service data before updating and service data after updating. Specifically, taking user a weekly salary billing service as an example, the service update data corresponding to a week may include weekly salary billing data of the week and weekly salary billing data of a week previous to the week.
S203: and the synchronous server sends the service updating data to a synchronous client.
S205: and the synchronous client side issues the service updating data to a message queue.
S207: and the alarm check server acquires the service updating data from the message queue.
In the embodiment of the present specification, in consideration of the fact that the service update data generated in the service database in real time are not balanced, the real-time service update data are correspondingly synchronized to the message queue, and in the message queue, peak clipping and valley filling can be performed on the real-time service update data, and the synchronized service update data are arranged in sequence according to the update time of the service update data. Correspondingly, the obtaining of the service update data from the message queue may include: and acquiring service updating data from the message queue in sequence.
S209: and the alarm check server performs alarm check on the acquired service update data according to the service alarm rule of the target service.
In practical application, a service system often corresponds to multiple services, and correspondingly generates service update data of the multiple services; different service alarm rules are often adopted for different service update data, and in a specific embodiment, a mapping relation between the service alarm rules and the target service can be established in advance; and a corresponding mapping relation also exists between the service updating data and the target service; correspondingly, a service alarm rule for performing alarm check on certain service update data can be determined and determined based on the two mapping relations.
In this embodiment of the present specification, the service alarm rule may include whether preset service alarm data meets a preset alarm condition; in practical application, the service update data often includes a large amount of data of various types, if a large amount of data is directly subjected to alarm check in sequence, time consumption will be caused, and when the flow is large at a certain time (that is, a large amount of service update data is generated in a service database), problems such as failure in timely performing service data early warning will occur. Specifically, the service alarm data may include data that is determined from the service update data in combination with the actual service situation and that may cause a service error.
In some scenarios, the data causing the business mistakes may be the key data of the business, such as the information of the bill business, the amount, whether the bill user is a member, etc. Correspondingly, the service alarm data which is the key data of the service can be directly preset in the service alarm rule.
In other scenarios, the data that can cause business errors is not always limited to business critical data. In some embodiments, data causing business errors in a scene of a large amount of business errors of each type of business update data may be directly counted, all or part of the data causing business errors with higher occurrence frequency is used as business alarm data, and correspondingly, business alarm rules may also be directly preset for the type of business alarm data.
In a specific embodiment, as shown in fig. 3, the performing, by the alarm check server, alarm matching on the obtained service update data according to the service alarm rule of the target service may include:
s2091: the alarm check server determines business alarm data based on the business alarm rules.
S2093: and the alarm detection server judges whether the service alarm data in the service update data is updated or not.
S2095: and when the service alarm data in the service updating data is updated, judging whether the updated preset service alarm data meets the preset alarm condition.
S2097: and when the updated service alarm data meet the preset alarm conditions, determining that the result of the alarm check is an alarm.
In a specific embodiment, the service alarm rule is often provided with identification information of the service alarm data, and correspondingly, the service alarm data in the current service update data can be determined based on the identification information of the service alarm data.
In this embodiment of the present description, whether the service alarm data is updated may be determined by combining a comparison between service data before and after updating in the service update data. Specifically, when the service alarm data is updated, the result of the alarm check may be determined in combination with a corresponding preset alarm condition. Otherwise, if the service alarm data is not updated, the result of the alarm check can be directly determined to be no alarm.
Specifically, different service alarm data often correspond to different preset alarm conditions. In this embodiment of the present description, the preset alarm condition may represent an update limitation condition of the service alarm data. When the updated service alarm data exceeds the update limit condition (preset alarm condition), the result of the alarm check is an alarm; otherwise, the result of the alarm check can be directly determined as no alarm.
In a specific embodiment, when the service alarm data is a service bill amount, the determining, by the alarm detection server, whether the updated preset service alarm data meets the preset alarm condition may include:
the alarm detection server judges whether the value of the updated business bill amount is empty;
or
The alarm detection server judges whether the value of the updated business bill amount is in a preset format;
or
The alarm detection server judges whether the value of the updated service bill sum is greater than or equal to a preset threshold value;
when the result of any judgment is yes, the result of the alarm check can be determined to be an alarm. Correspondingly, when the results of all the judgments are negative, the result of the alarm check can be determined as no alarm. Specifically, the preset format may be a format corresponding to the amount of money, such as a numerical value. Specifically, the preset threshold value may be combined with an upper limit value of the amount set by the actual application.
In other embodiments, as shown in fig. 4, when the service alarm data is a service money deposit amount, the determining, by the alarm detection server, whether the updated preset service alarm data meets a preset alarm condition includes:
s401: the alarm detection server determines the transaction type corresponding to the updated service money-making amount;
s401: the alarm detection server acquires a transaction upper limit threshold corresponding to the transaction type;
s405: the alarm detection server judges whether the value of the updated service money-making amount is greater than or equal to the transaction upper limit threshold value;
correspondingly, when the judgment result is yes, the result of the alarm check is determined to be an alarm.
In practical applications, for example, in a money-drawing service scenario, money-drawing amount limits of different transaction types are often different, and accordingly, alarm checking can be performed in combination with the transaction types.
In other embodiments, considering that different service alarm rules are often set in combination with different services for performing alarm checking in combination with the service alarm rule, in order to reduce data storage burden on the alarm checking server side and improve processing efficiency of alarm checking by the alarm checking server, in this embodiment of the present specification, the service alarm rule may further include whether the recognition result of the pre-trained alarm recognition model is an alarm.
Specifically, a third party can be used to obtain a large amount of service update data in a service loss scene and service update data in a non-loss scene (normal scene) of different services in advance, label the service update data in the service loss scene with an alarm, and label the service update data in the non-loss scene with no alarm.
The service updating data under the service gross-loss scene, the service updating data under the non-gross-loss scene and the corresponding labels are used as training data, alarm recognition training is carried out by combining a preset machine learning model (which can include but is not limited to a convolutional neural network, a cyclic neural network or a recurrent neural network and the like), model parameters in the machine learning model are continuously adjusted in the training process until the recognized result is consistent with the corresponding labels in the training data. Correspondingly, the trained machine learning model can be used as an alarm identification model, any service alarm data is input into the alarm identification model, and whether the current service update data needs to be alarmed or not can be identified conveniently.
S211: and when the alarm checking result is alarm, the alarm checking server sends alarm information to the alarm monitoring terminal.
In the embodiment of the specification, the alarm checking server can directly send alarm information to the alarm monitoring terminal and can also push the alarm information to the sending queue. The sending queue sends the alarm information to the alarm monitoring terminal in order, and specifically, the form of the alarm information may include, but is not limited to, an alarm mail, an alarm short message, and the like.
According to the technical scheme provided by the embodiment of the specification, the alarm check rule is separated from the service code, so that the problems that the check logic is wrong due to frequent modification of the service code and the early warning control of the service data cannot be performed can be effectively solved. And in order to ensure that the alarm check is carried out on the service updating data in time and realize the early warning control on the service data of the target service, the service updating data in the service database is synchronized to a message queue in real time through a synchronization system consisting of a synchronization server and a synchronization client so as to be used for the alarm check of the alarm check server. And the real-time service updating data are synchronized to a message queue through a synchronization system, and peak clipping and valley filling can be carried out on the real-time service updating data in the message queue, so that the alarm detection server can carry out smooth and uniform alarm check processing on the real-time service updating by combining with a service alarm rule. When the alarm check result is an alarm, the alarm information is directly sent to the alarm monitoring terminal so as to repair the problem in time and greatly improve the user experience.
An embodiment of a service data early warning control method according to the present application is described below with an alarm check server as an execution subject, and specifically, as shown in fig. 5, the method includes:
s501: acquiring service updating data from a message queue, wherein the service updating data is acquired by a synchronization system from a service database of a target service in real time;
the synchronization system comprises a synchronization server and a synchronization client;
s503: performing alarm check on the acquired service update data according to the service alarm rule of the target service;
s505: and when the alarm checking result is an alarm, sending alarm information to an alarm monitoring terminal.
In some embodiments, the service update data in the message queue includes service update data arranged in order according to update time of the service update data;
correspondingly, the obtaining of the service update data from the message queue includes:
and acquiring service updating data from the message queue in sequence.
In some embodiments, the service alarm rule includes whether preset service alarm data satisfies a preset alarm condition;
correspondingly, the alarm checking of the obtained service update data according to the service alarm rule of the target service includes:
determining business alarm data based on the business alarm rules;
judging whether the service alarm data in the service updating data is updated or not;
when the service alarm data in the service update data is updated, judging whether the updated preset service alarm data meets a preset alarm condition;
and when the updated service alarm data meet the preset alarm conditions, determining that the result of the alarm check is an alarm.
In some embodiments, when the service alarm data is a service bill amount, the determining whether the updated preset service alarm data meets a preset alarm condition includes:
judging whether the value of the updated business bill amount is null or not;
or
Judging whether the value of the updated business bill amount is in a preset format or not;
or
Judging whether the value of the updated business bill sum is larger than or equal to a preset threshold value or not;
and when the result of any judgment is yes, determining that the result of the alarm check is an alarm.
In some embodiments, when the service alarm data is a service money deposit amount, the determining whether the updated preset service alarm data meets a preset alarm condition includes:
determining a transaction type corresponding to the updated service money-making amount;
acquiring a transaction upper limit threshold corresponding to the transaction type;
judging whether the value of the updated service money-making amount is larger than or equal to the transaction upper limit threshold value or not;
correspondingly, when the judgment result is yes, the result of the alarm check is determined to be an alarm.
An embodiment of the present application further provides a service data early warning control device, as shown in fig. 6, the device includes:
the service update data obtaining module 610 may be configured to obtain service update data from a message queue, where the service update data is service update data obtained by a synchronization system in real time from a service database of a target service;
the alarm checking module 620 may be configured to perform alarm checking on the obtained service update data according to the service alarm rule of the target service;
the alarm information sending module 630 may be configured to send alarm information to the alarm monitoring terminal when the result of the alarm check is an alarm.
The service update data in the message queue may include service update data arranged in sequence according to update time of the service update data;
correspondingly, the obtaining of the service update data from the message queue includes:
and acquiring service updating data from the message queue in sequence.
In some embodiments, the traffic alarm rule may include whether preset traffic alarm data satisfies a preset alarm condition;
accordingly, the alarm checking module 620 may include:
the business alarm data determining unit is used for determining business alarm data based on the business alarm rule;
an update judging unit, configured to judge whether the service alarm data in the service update data is updated;
the condition judging unit is used for judging whether the updated preset service alarm data meet the preset alarm condition or not when the service alarm data in the service updating data are updated;
and the first alarm checking result determining unit is used for determining that the result of the alarm checking is an alarm when the updated service alarm data meets the preset alarm condition.
In some embodiments, when the service alarm data is a service bill amount, the condition determining unit is specifically configured to:
judging whether the value of the updated business bill amount is null or not;
or
Judging whether the value of the updated business bill amount is in a preset format or not;
or
Judging whether the value of the updated business bill sum is larger than or equal to a preset threshold value or not;
and when the result of any judgment is yes, determining that the result of the alarm check is an alarm.
In some embodiments, when the service alarm data is a service money deposit amount, the condition determining unit is specifically configured to: determining a transaction type corresponding to the updated service money-making amount; acquiring a transaction upper limit threshold corresponding to the transaction type; judging whether the value of the updated service money-making amount is larger than or equal to the transaction upper limit threshold value or not; correspondingly, when the judgment result is yes, the result of the alarm check is determined to be an alarm.
The device and method embodiments in the device embodiment are based on the same application concept.
The embodiment of the application provides a service data early warning control device, which includes a processor and a memory, where the memory stores at least one instruction, at least one section of program, a code set, or an instruction set, and the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded and executed by the processor to implement the service data early warning control method provided by the above method embodiment.
The memory may be used to store software programs and modules, and the processor may execute various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal, a server or a similar operation device. Taking the operation on a server as an example, fig. 7 is a block diagram of a hardware structure of the server of the service data early warning control method provided in the embodiment of the present application. As shown in fig. 7, the server 700 may have a relatively large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 710 (the processor 710 may include but is not limited to a Processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), a memory 730 for storing data, and one or more storage media 720 (e.g., one or more mass storage devices) for storing applications 723 or data 722. Memory 730 and storage medium 720 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 720 may include one or more modules, each of which may include a series of instruction operations for the server. Still further, central processor 710 may be configured to communicate with storage medium 720 and execute a series of instruction operations in storage medium 720 on server 700. The Server 700 may also include one or more power supplies 760, one or more wired or wireless network interfaces 750, one or more input-output interfaces 740, and/or one or more operating systems 721, such as a Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMAnd so on.
The input/output interface 740 may be 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 server 700. In one example, the input/output Interface 740 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 input/output interface 740 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
It will be understood by those skilled in the art that the structure shown in fig. 7 is only an illustration and is not intended to limit the structure of the electronic device. For example, server 700 may also include more or fewer components than shown in FIG. 7, or have a different configuration than shown in FIG. 7.
The embodiment of the present application further provides a storage medium, where the storage medium may be disposed in a device to store at least one instruction or at least one program related to an implementation method for implementing an application promotion in the method embodiment, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the service data early warning control method provided in the method embodiment.
Alternatively, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, which can store program codes.
As can be seen from the embodiments of the service data early warning control method, device, equipment, server or storage medium provided by the present application, the alarm check rule is separated from the service code itself in the present application, so that the problem that frequent modification of the service code causes errors in the check logic and service data early warning control cannot be performed can be effectively avoided. And in order to ensure that the alarm check is carried out on the service updating data in time and realize the early warning control on the service data of the target service, the service updating data in the service database is synchronized to a message queue in real time through a synchronization system consisting of a synchronization server and a synchronization client so as to be used for the alarm check of the alarm check server. And the real-time service updating data are synchronized to a message queue through a synchronization system, and peak clipping and valley filling can be carried out on the real-time service updating data in the message queue, so that the alarm detection server can carry out smooth and uniform alarm check processing on the real-time service updating by combining with a service alarm rule. When the alarm check result is an alarm, the alarm information is directly sent to the alarm monitoring terminal so as to repair the problem in time and greatly improve the user experience.
It should be noted that: the sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method, device, apparatus, storage medium and server embodiments which take the alarm check server as the execution subject, since they are basically similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware to implement the above embodiments, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A service data early warning control method is characterized by comprising the following steps:
the synchronous server acquires service updating data from a service database of the target service in real time;
the synchronous server sends the service updating data to a synchronous client;
the synchronous client side issues the service updating data to a message queue;
the alarm checking server acquires the service updating data from the message queue;
the alarm check server performs alarm check on the acquired service update data according to the service alarm rule of the target service;
and when the alarm checking result is alarm, the alarm checking server sends alarm information to the alarm monitoring terminal.
2. A service data early warning control method is characterized by comprising the following steps:
acquiring service updating data from a message queue, wherein the service updating data is acquired by a synchronization system from a service database of a target service in real time;
performing alarm check on the acquired service update data according to the service alarm rule of the target service;
and when the alarm checking result is an alarm, sending alarm information to an alarm monitoring terminal.
3. The method of claim 2, wherein the service update data in the message queue comprises service update data arranged in order according to update time of the service update data;
correspondingly, the obtaining of the service update data from the message queue includes:
and acquiring service updating data from the message queue in sequence.
4. The method of claim 2, wherein the business alarm rule includes whether preset business alarm data meets a preset alarm condition;
correspondingly, the alarm checking of the obtained service update data according to the service alarm rule of the target service includes:
determining business alarm data based on the business alarm rules;
judging whether the service alarm data in the service updating data is updated or not;
when the service alarm data in the service update data is updated, judging whether the updated preset service alarm data meets a preset alarm condition;
and when the updated service alarm data meet the preset alarm conditions, determining that the result of the alarm check is an alarm.
5. The method of claim 4, wherein when the service alarm data is a service bill amount, the determining whether the updated preset service alarm data meets a preset alarm condition comprises:
judging whether the value of the updated business bill amount is null or not;
or
Judging whether the value of the updated business bill amount is in a preset format or not;
or
Judging whether the value of the updated business bill sum is larger than or equal to a preset threshold value or not;
and when the result of any judgment is yes, determining that the result of the alarm check is an alarm.
6. The method according to claim 4, wherein when the service alarm data is a service money deposit amount, the determining whether the updated preset service alarm data meets a preset alarm condition comprises:
determining a transaction type corresponding to the updated service money-making amount;
acquiring a transaction upper limit threshold corresponding to the transaction type;
judging whether the value of the updated service money-making amount is larger than or equal to the transaction upper limit threshold value or not;
correspondingly, when the judgment result is yes, the result of the alarm check is determined to be an alarm.
7. A traffic data early warning control system, the system comprising: the system comprises a synchronization system, a service database, a message queue, an alarm check server and an alarm monitoring terminal; the synchronization system comprises a synchronization client and a synchronization server;
the service database is used for storing real-time service updating data of the target service;
the synchronous server is used for acquiring service updating data from the service database in real time and sending the service updating data to the synchronous client;
the synchronous client is used for releasing the service updating data to a message queue;
the message queue is used for storing the service updating data;
the alarm checking server is used for acquiring the service updating data from the message queue; and the system is used for carrying out alarm check on the acquired service updating data according to the service alarm rule of the target service; and is used for sending alarm information to the alarm monitoring terminal when the result of the alarm check is alarm;
the alarm monitoring terminal is used for displaying alarm information sent by the alarm checking server.
8. A service data early warning control device is characterized in that the device comprises:
a service update data acquisition module, configured to acquire service update data from a message queue, where the service update data is service update data acquired by a synchronization system in real time from a service database of a target service;
the alarm checking module is used for carrying out alarm checking on the acquired service updating data according to the service alarm rule of the target service;
and the alarm information sending module is used for sending alarm information to the alarm monitoring terminal when the alarm checking result is an alarm.
9. A service data early warning control device, characterized in that the device comprises a processor and a memory, wherein at least one instruction or at least one program is stored in the memory, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the service data early warning control method according to any one of claims 2 to 6.
10. A computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the traffic data early warning control method according to any one of claims 2 to 6.
CN201911346275.XA 2019-12-24 2019-12-24 Service data early warning control method, device, equipment and storage medium Active CN111200517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911346275.XA CN111200517B (en) 2019-12-24 2019-12-24 Service data early warning control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911346275.XA CN111200517B (en) 2019-12-24 2019-12-24 Service data early warning control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111200517A true CN111200517A (en) 2020-05-26
CN111200517B CN111200517B (en) 2022-06-07

Family

ID=70747516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911346275.XA Active CN111200517B (en) 2019-12-24 2019-12-24 Service data early warning control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111200517B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113095835A (en) * 2021-04-12 2021-07-09 易智付科技(北京)有限公司 Data consistency verification method, device and system
CN113609129A (en) * 2021-07-29 2021-11-05 沈阳蓝天智慧燃气供热有限公司 Heat energy monitoring comprehensive retrieval method based on big data
CN115412747A (en) * 2021-05-27 2022-11-29 京东方科技集团股份有限公司 Surveillance broadcast method, surveillance broadcast device, and computer-readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544093A (en) * 2012-07-13 2014-01-29 深圳市快播科技有限公司 Monitoring and alarm control method and system
CN104618163A (en) * 2015-02-03 2015-05-13 江苏辰云信息科技有限公司 Message queue based distributed machine room monitoring system and method
CN106961352A (en) * 2017-03-29 2017-07-18 努比亚技术有限公司 Monitoring system and monitoring method
CN107247763A (en) * 2017-05-31 2017-10-13 北京凤凰理理它信息技术有限公司 Business datum statistical method, device, system, storage medium and electronic equipment
CN109144817A (en) * 2018-08-03 2019-01-04 江苏满运软件科技有限公司 A kind of daily record data monitoring system and method
CN109257200A (en) * 2017-07-14 2019-01-22 北京京东尚科信息技术有限公司 The method and apparatus of big data platform monitoring

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544093A (en) * 2012-07-13 2014-01-29 深圳市快播科技有限公司 Monitoring and alarm control method and system
CN104618163A (en) * 2015-02-03 2015-05-13 江苏辰云信息科技有限公司 Message queue based distributed machine room monitoring system and method
CN106961352A (en) * 2017-03-29 2017-07-18 努比亚技术有限公司 Monitoring system and monitoring method
CN107247763A (en) * 2017-05-31 2017-10-13 北京凤凰理理它信息技术有限公司 Business datum statistical method, device, system, storage medium and electronic equipment
CN109257200A (en) * 2017-07-14 2019-01-22 北京京东尚科信息技术有限公司 The method and apparatus of big data platform monitoring
CN109144817A (en) * 2018-08-03 2019-01-04 江苏满运软件科技有限公司 A kind of daily record data monitoring system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113095835A (en) * 2021-04-12 2021-07-09 易智付科技(北京)有限公司 Data consistency verification method, device and system
CN115412747A (en) * 2021-05-27 2022-11-29 京东方科技集团股份有限公司 Surveillance broadcast method, surveillance broadcast device, and computer-readable medium
CN115412747B (en) * 2021-05-27 2024-03-01 京东方科技集团股份有限公司 Monitoring method, monitoring device and computer readable medium
CN113609129A (en) * 2021-07-29 2021-11-05 沈阳蓝天智慧燃气供热有限公司 Heat energy monitoring comprehensive retrieval method based on big data

Also Published As

Publication number Publication date
CN111200517B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN111200517B (en) Service data early warning control method, device, equipment and storage medium
US10079882B2 (en) Method and system for synchronizing information to contacts on cloud platform
CN107404540A (en) The synchronous method and device of data
CN112445874A (en) Node information checking method, device, equipment and storage medium
CN113867782A (en) Gray scale distribution method and device, computer equipment and storage medium
CN112559631A (en) Data processing method and device of distributed graph database and electronic equipment
CN115437663A (en) Upgrade strategy updating method and device, electronic equipment, storage medium and vehicle
CN110967632A (en) Method, device, equipment and storage medium for determining fault battery
CN111967830A (en) Online and offline inventory synchronization method
CN109189575A (en) A kind of Explore of Unified Management Ideas and device of more OpenStack clusters
CN108959009A (en) A kind of server failure analysis method and its fail analysis device
CN111078463A (en) Data backup method, device and system
CN115022171B (en) Method and device for optimizing update interface, electronic equipment and readable storage medium
CN113360689B (en) Image retrieval system, method, related device and computer program product
CN113765811B (en) Flow control method, device, equipment and storage medium
CN108549722A (en) Multi-platform data publication method, system and medium
CN110324385A (en) Method of data synchronization and device, distributed system
CN108874415A (en) Upgrading recommender system in enterprise's cloud system migration
CN111459737B (en) Problem positioning method, device, computer equipment and storage medium
CN114268559A (en) Directional network detection method, device, equipment and medium based on TF-IDF algorithm
CN115469975A (en) Container resource adjusting method and device, electronic equipment and storage medium
CN112749540A (en) Text matching method, training method, device and equipment of text matching model
CN110543470A (en) Message early warning method and device, storage medium and electronic device
CN110610206A (en) Image vulgar attribution identification method, device and equipment
CN108932328A (en) A kind of page info update 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
GR01 Patent grant
GR01 Patent grant