Service monitoring method, device, equipment, medium and product
By timely updating monitoring statistical information during business processing, the monitoring module solves the problem of insufficient monitoring information recording in the existing technology, improves business processing capabilities, and realizes real-time monitoring and analysis of business acceptance and backlog situations.
Patent Information
- Application Number
- CN202510690125.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-08-08
AI Technical Summary
During the business processing process, it is difficult for the existing technology to record and update the monitoring statistical information in a timely manner based on the monitoring configuration information, and it cannot effectively meet the business monitoring needs, resulting in insufficient business processing capabilities of the backend center.
Provide a business monitoring method and device, which monitors the business processing process through the monitoring module, and when a business acceptance request is detected, the monitoring object is determined based on the monitoring configuration information and the dimension information of the current service, traverse each monitoring configuration information, update the accepted business volume, backlog business volume and the total business acceptance in the monitoring statistical information until all monitoring statistical information is updated, and respond to the user's business query request.
It realizes timely recording and updating monitoring statistical information during business processing, meets business monitoring needs, improves the business processing capabilities of the backend center, and can monitor business acceptance and backlog situations in real time, improving business processing efficiency.
Smart Images

Figure CN120455314A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a business monitoring method, device, equipment, medium and product. Background Art
[0002] Intensive operations are a crucial capability for the development of banking businesses. Centralized operations through back-end centers fully leverage the scale and professionalism of operations, offering significant advantages in business process optimization and risk control. During this intensive operation process, real-time monitoring of business acceptance, completion, and backlogs is essential to facilitate timely adjustments to staffing and improve business processing efficiency.
[0003] How to record and update monitoring statistics in a timely manner according to monitoring configuration information during business processing, conduct statistical analysis of business processing while effectively meeting business monitoring needs, and improve the business processing capabilities of the back-end center is an urgent problem that needs to be solved. Summary of the Invention
[0004] The present invention provides a business monitoring method, apparatus, equipment, medium and product to timely record and update monitoring configuration information during business processing, and perform statistical analysis on business processing while effectively meeting business monitoring needs.
[0005] According to one aspect of the present invention, a service monitoring method is provided, comprising:
[0006] Monitor the business processing process and, when a business acceptance request is detected, determine the monitoring object based on the monitoring configuration information and the dimension information of the current business;
[0007] After traversing each monitoring configuration information and determining the monitoring object, the accepted business volume, backlog business volume, and total business volume accepted on the day recorded in the monitoring statistics are updated according to the current time window;
[0008] If it is detected that the traversal is completed, it is determined that the update of all monitoring statistics is completed, and a response is made to the business query request sent by the user based on the monitoring statistics information finally generated.
[0009] According to another aspect of the present invention, there is provided a service monitoring device, comprising:
[0010] The monitoring module is used to monitor the business processing process and, when a business acceptance request is detected, determine the monitoring object based on the monitoring configuration information and the dimension information of the current business;
[0011] The update module is used to traverse each monitoring configuration information and determine the monitoring object, and then update the accepted business volume, backlog business volume and total business volume accepted on the day recorded in the monitoring statistics according to the current time window;
[0012] The response module is used to determine that the update of all monitoring statistics is completed if the traversal is detected to be completed, and respond to the business query request sent by the user according to the monitoring statistics information finally generated.
[0013] According to another aspect of the present invention, an electronic device is provided, comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the service monitoring method described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the service monitoring method according to any embodiment of the present invention when executed.
[0018] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the service monitoring method of any embodiment of the present invention is implemented.
[0019] The technical solution of the embodiment of the present invention monitors the business processing process, and when a business acceptance request is detected, determines the monitoring object based on the monitoring configuration information and the dimensional information of the current business; after traversing each monitoring configuration information and determining the monitoring object, the accepted business volume, backlog business volume and total business acceptance volume of the current time window recorded in the monitoring statistical information are updated according to the current time window; if it is detected that the traversal is completed, it is determined that the update of all monitoring statistical information is completed, and the business query request sent by the user is responded to according to the finally generated monitoring statistical information. By recording and updating the monitoring statistical information in a timely manner according to the monitoring configuration information during the business processing process, it is possible to effectively meet the business monitoring needs while performing statistical analysis on the business processing situation, thereby improving the business processing capabilities of the back-end center.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 This is a flow chart of a service monitoring method provided by Example 1 of the present invention;
[0023] Figure 2A This is a processing flow chart for a business acceptance situation provided by the second embodiment of the present invention;
[0024] Figure 2B This is a processing flow chart for a service completion case provided by the second embodiment of the present invention;
[0025] Figure 3 This is a structural block diagram of a service monitoring device provided by Embodiment 3 of the present invention;
[0026] Figure 4 It is a structural diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", "target", "candidate", "alternative", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or that are inherent to these processes, methods, products or devices. The acquisition, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of laws and regulations.
[0029] Example 1
[0030] Figure 1 This is a flow chart of a service monitoring method provided by the first embodiment of the present invention; this embodiment is applicable to the situation where monitoring statistical information is recorded and updated in a timely manner during service processing to facilitate subsequent query, statistics or alarms. The method can be executed by a service monitoring device, which can be implemented in the form of hardware and / or software. The service monitoring device can be configured in an electronic device, such as Figure 1 As shown, the service monitoring method includes:
[0031] S101: Monitor the business processing process, and when a business acceptance request is detected, determine the monitoring object according to the monitoring configuration information and the dimension information of the current business.
[0032] The business processing process refers to the process by which a business system interacts with a user to perform business processing. A business acceptance request refers to a request by a business system to perform business processing upon receipt of a business processing instruction from a user. Monitoring statistics refer to monitoring records of the business process, based on the monitoring information of the monitored object. Monitoring configuration information refers to information that configures the information to be monitored. There must be at least two pieces of monitoring configuration information. Monitoring configuration information may include at least one of the following: monitoring code, monitoring dimension, and time window size.
[0033] The monitoring dimension refers to the aspect from which the business is monitored. For example, the monitoring dimension can be the dimension of monitoring by business type, the dimension of monitoring by source channel, the dimension of monitoring by province, or the dimension of monitoring by affiliated institution.
[0034] A time window refers to a time interval for collecting monitoring data. The minimum time window size is 1 minute. Monitoring configuration information may also include the number of time windows. Specifically, the monitoring duration can be determined based on a preset monitoring time period (such as a day or hour), and the number of time windows can be determined based on the time window size and monitoring duration. For example, if the time window size is 5 minutes, 12 time windows will be generated in 1 hour, and 288 time windows will be generated in 1 day and 24 hours. If the time window length is 1 minute, 60 time windows will be generated in 1 hour, and 1440 time windows will be generated in 1 day and 24 hours.
[0035] Optionally, the time windows can be numbered in chronological order, i.e., W0, W1, W2, ..., Wn, where W0, W1, W2 and Wn represent the historical time window, the first time window, the second time window and the nth time window respectively. W0 is special, specifically referring to all time periods before the current day, representing the stock time periods of the previous day and before. W1 represents the first time interval starting from 0:00 on the current day, and Wn represents the nth time interval on the current day.
[0036] Optionally, monitoring can be performed based on a single dimension (e.g., business type) or a combination of dimensions (e.g., province, city, and business type). A monitoring object is the smallest entity for collecting monitoring data and calculating monitoring indicators. Defining the dimensions of business monitoring determines the monitoring objects and their number. For example, if monitoring is defined based on business type, and there are 10 business types, then 10 monitoring objects of "business type" will be defined. For example, if monitoring is defined based on province, city, and business type, and there are 37 provinces and 10 business types, then 370 monitoring objects of "province, city, and business type" will be defined.
[0037] Optionally, a specific monitoring object can be selected based on the monitoring dimension. For example, if monitoring is performed based on business type, transactions with business type A can be determined as monitoring objects and monitored.
[0038] Optionally, the monitoring statistical information may also include the number of monitored objects. Specifically, the number of monitored objects may be determined based on the type of monitoring dimension, where the type of monitoring dimension is single dimension or multi-dimensional. Specifically, if the monitoring dimension is single dimension, the number of single monitored objects may be directly determined as the number of monitored services; if the monitoring dimension is multi-dimensional, the product of the number of monitored objects in each dimension may be determined as the final number of monitored objects.
[0039] For example, the information content included in the monitoring configuration information can be represented by the following Table 1:
[0040] Table 1: Example of monitoring configuration information content
[0041] Monitoring Code Monitoring Dimensions Time window size Remark 0001 COD_TRN 1 Monitoring by business type 0002 COD_CHANL 2 Monitoring by channel 0003 COD_PROV 5 Monitoring by province ...... ...... ...... ......
[0042] For example, once the monitoring configuration information is confirmed, the monitoring object X is determined. Monitoring object X only stores monitoring information for the current day, including a date X.date representing the date of the monitoring information. Each monitoring object corresponds to a sequence of time windows X.{W0, W1, W2, ..., Wn}. In each time window Wi, three data items {NumAcpt, NumWait, NumCmpl} are stored. NumAcpt represents the volume of business accepted during the time window Wi, NumWait represents the number of uncompleted businesses accepted during the time window Wi, i.e., the backlog of business. NumCmpl represents the volume of business completed during the time window Wi, so NumWait ≤ NumAcpt must be satisfied. In addition, the data structure of monitoring object X stores the total number of businesses accepted and completed on the current day.
[0043] For example, the monitoring information of each monitored object can be recorded in the monitoring statistics in the following manner:
[0044]
[0045]
[0046] It should be noted that in the present invention, the monitoring statistical information can be updated when a new business request enters the system and is accepted, that is, when the business acceptance request is detected. In addition, the monitoring statistical information can also be updated when a business processing is completed, that is, when the business completion request is detected.
[0047] Optionally, after monitoring the business processing process, it also includes: when a business completion request is detected, determining the monitoring object based on the monitoring configuration information and the dimension information of the current business; after traversing each monitoring configuration information and determining the monitoring object, determining whether the monitoring date recorded in the monitoring statistical information is equal to the current system time; if so, determining the first time window based on the system time of the current system, and updating the completed business volume and the total business completed on the day in the first time window recorded in the monitoring statistical information; determining whether the monitoring date recorded in the monitoring statistical information is equal to the acceptance date of the current business; if so, determining the second time window based on the acceptance time of the current business, and updating the backlog business volume of the second time window recorded in the monitoring statistical information; if not, directly updating the backlog business volume of the initial time window recorded in the monitoring statistical information.
[0048] The first time window refers to the time window recorded in the monitoring statistics that corresponds to the current system time. The second time window refers to the time window recorded in the monitoring statistics that corresponds to the acceptance time of the current business.
[0049] Optionally, when a business completion request is detected, after traversing each recorded monitoring configuration information and determining the monitoring object, the completed business volume, backlog business volume and total business completed on the day of the current time window recorded in the monitoring statistical information can be updated according to the time information of the current business. Specifically, it can be determined whether the monitoring date in the monitoring statistical information is equal to the current system time. If so, the first time window is determined according to the system time of the current system, and the completed business volume of the first time window and the total business completed on the day recorded in the monitoring statistical information are updated. If not, the monitoring date recorded in the monitoring statistical information is switched, and the statistical information after the date switch is initialized. After the date switch is completed, the first time window is determined according to the current system time, and the completed business volume of the first time window and the total business completed on the day recorded in the monitoring statistical information are updated.
[0050] Optionally, if it is determined that the monitoring date is not equal to the current system time, the monitoring date recorded in the monitoring statistical information can be switched, and the statistical information of the monitoring object after the date switch can be initialized. Specifically, all monitoring data can be accumulated and saved to the initial time window, and the remaining time windows can be cleared to further switch the monitoring date and save the monitoring statistical information.
[0051] For example, the operation of accumulating and saving all monitoring data to the initial time window in the date switching operation can be implemented based on the following formula:
[0052] X.W0.NumAcpt+=X.W1.NumAcpt+X.W2.NumAcpt+...+X.Wn.NumAcpt:
[0053] X.W0.NumWait+=X.W1.NumWait+X.W2.NumWait+...+X.Wn.NumWait:
[0054] X.W0.NumCmpl+=X.W1.NumCmpl+X.W2.NunCmpl+...+X.Wn.NunCmpl:
[0055] Among them, X.W0.NumAcpt, X.W0.NmWait, and X.W0.NumCmpl refer to the total number of business transactions accepted, the total number of business backlogs, and the total number of business transactions completed on the day corresponding to all time periods before the day. X.W1.NumAcpt, X.W2.NumAcpt, and X.Wn.NumAcpt represent the number of business transactions accepted in the first, second, and nth time windows, respectively. X.W1.NumWait, X.W2.NumWait, and X.Wn.NumWait represent the number of business backlogs in the first, second, and nth time windows, respectively. X.W1.NumCmpl, X.W2.NunCmpl, and X.Wn.NunCmpl represent the number of business transactions completed in the first, second, and nth time windows, respectively.
[0056] For example, after all monitoring data are accumulated and saved in the initial time window, the operation of clearing the remaining time windows in the date switching operation can be implemented based on the following formula:
[0057] X.W1.NumAcpt=0: X.W1.NumWait=0: X.W1.NumCmpl=0:
[0058] X.W2.NumAcpt=0: X.W2.NumWait=0: X.W2.NumCmpl=0: ...
[0060] X.Wn.NumAcpt=0: X.Wn.NumWait=0: X.Wn.NumCmpl=0;
[0061] For example, the operation of switching the monitoring date X.date can be implemented based on the following formula, that is, the monitoring date X.date recorded in the monitoring statistics information is equal to the current system time:
[0062] X.date = current system time (YYYYMMDD).
[0063] Optionally, if the monitoring date when the business is accepted is equal to the current system time, the business acceptance volume of the first time window and the total business acceptance volume on that day recorded in the monitoring statistical information can be accumulated by 1 respectively according to the current system time to update the business acceptance volume of the first time window and the total business acceptance volume on that day recorded in the monitoring statistical information and end the traversal of the monitoring configuration information.
[0064] Optionally, if the acceptance date of the current business is equal to the monitoring date when the business is completed, the second time window can be determined based on the acceptance time of the current business, and the backlog business volume of the second time window recorded in the monitoring statistical information can be reduced by 1 to update the backlog business volume of the second time window recorded in the monitoring statistical information and complete the traversal of the monitoring configuration information.
[0065] Optionally, if the acceptance date of the current business is not equal to the monitoring date when the business is completed, the second time window can be directly set as the initial time window, and the backlog business volume of the second time window recorded in the monitoring statistical information can be reduced by 1 to update the backlog business volume of the second time window recorded in the monitoring statistical information and complete the traversal of the monitoring configuration information.
[0066] S102: After traversing each monitoring configuration information and determining the monitoring object, the accepted business volume, backlog business volume and total business volume accepted on the day recorded in the monitoring statistical information are updated according to the current time window.
[0067] Among them, the current time window is the time window matched and determined in the monitoring configuration information based on the current system time. The accepted business volume refers to the number of businesses accepted in the current time window. The backlog of business volume refers to the number of tasks that have not been completed in the current time window. The total amount of business accepted on the day refers to the sum of the accepted tasks in all time windows on the day.
[0068] Optionally, the accepted business volume, backlog business volume and total business accepted on the day in the current time window recorded in the monitoring statistical information are updated according to the current time window, including: determining whether the monitoring date recorded in the monitoring statistical information is equal to the current system time; if so, determining the current time window according to the current system time, and updating the accepted business volume, backlog business volume and total business accepted on the day in the current time window recorded in the monitoring statistical information.
[0069] Optionally, the accepted business volume, backlog business volume and total business accepted on the day recorded in the monitoring statistical information in the current time window can be accumulated by 1 respectively to update the accepted business volume, backlog business volume and total business accepted on the day recorded in the monitoring statistical information.
[0070] Optionally, after determining whether the monitoring date is equal to the current system time, it also includes: if not, switching the monitoring date recorded in the monitoring statistical information; after the date switch is completed, determining the current time window according to the current system time, and updating the accepted business volume, backlog business volume and total business accepted on the day of the current time window recorded in the monitoring statistical information.
[0071] Optionally, for a business acceptance request, a method of switching the date when the monitoring date is not equal to the current system time is the same as the method of switching the date when the monitoring date is not equal to the current system time for a business completion request as described in an embodiment of the present invention, and the present invention will not elaborate on it here.
[0072] Optionally, after the date switch is completed, the current time window can be determined according to the current system time, and the accepted business volume, backlog business volume and total business accepted on the day of the current time window recorded in the monitoring statistical information are updated in the same way as the above-mentioned method of determining the current time window and updating the accepted business volume, backlog business volume and total business accepted on the day when the monitoring date is equal to the current system time. The present invention will not elaborate on this.
[0073] Optionally, after the date switch is completed, the current time window can be determined according to the current system time, and the accepted business volume, backlog business volume and total business accepted on the day of the current time window recorded in the monitoring statistical information can be accumulated by 1 respectively, so as to realize the update of the accepted business volume, backlog business volume and total business accepted on the day of the current time window recorded in the monitoring statistical information.
[0074] S103: If it is detected that the traversal is completed, it is determined that the update of all monitoring statistical information is completed, and a response is made to the service query request sent by the user according to the monitoring statistical information finally generated.
[0075] Among them, the business query request sent by the user may include at least one of the following: querying the total amount of business accepted on the day, querying the total amount of business completed on the day, querying the business acceptance trend chart, business completion trend chart, business backlog trend chart and business volume with backlog exceeding 30 minutes.
[0076] Optionally, if the business query request is to query the total amount of business accepted on the day, the total amount of business accepted on the day (expressed as X.NumAcptDay) in the finally updated monitoring statistical information can be directly fed back to the user; if the business query request is to query the total amount of business completed on the day, the total amount of business completed on the day (expressed as X.NumCmplDay) in the finally updated monitoring statistical information can be directly fed back to the user; if the business query request is to query the business acceptance trend chart, the X.Wi.NumAcpt sequence can be returned, where 0<=i<=n, n is the number of time windows, that is, the amount of accepted business in all time windows recorded for the monitoring object X is fed back to the user in sequence form; similarly, if the business query request is to query the business completion trend chart, the X.Wi.NumCmpl sequence can be returned, where 0<=i<=n; similarly, if the business query request is to query the business backlog trend chart, the X.Wi.NumWait sequence can be returned, where 0<=i<=n.
[0077] Alternatively, if the service query request is for a service backlog exceeding a preset duration (e.g., 30 minutes, 20 minutes, or 10 minutes), the time t can be calculated by subtracting the current time from the preset duration. Based on time t, the time window Wm is calculated. The amount of service backlog exceeding the preset duration is Sum(X.Wi.NumWait), where 0 <= i <= m. This calculation method allows for rapid determination of the amount of service backlog.
[0078] Optionally, the processing time of the target business can be determined based on the acceptance time and completion time of the target business; business monitoring is performed separately in each monitoring time window to determine the accepted business volume, completed business volume and backlog business volume in each time window.
[0079] Optionally, after determining the monitoring statistical information, it may be determined whether the recorded backlog business volume is less than or equal to the accepted business volume for verification.
[0080] Optionally, the backlog of business volumes belonging to different backlog levels in the backlog of business volumes, such as business volumes with a backlog of more than 10 minutes and business volumes with a backlog of more than 1 hour, may be determined to respond to the user.
[0081] Optionally, an alarm can also be issued when the alarm conditions are met based on the alarm configuration information. Specifically, it includes: determining the alarm configuration information, for each alarm configuration information corresponding to the monitoring code, determining the monitoring object based on the monitoring dimension value in the alarm configuration information, and determining the backlog time and backlog quantity threshold in the alarm configuration information; determining whether the alarm conditions are met based on the backlog time, backlog quantity threshold and current time, and if so, triggering an alarm.
[0082] The alarm configuration information is obtained by adding the alarm configuration information to the monitoring configuration information. The alarm configuration information includes at least one of the following: a monitoring code, a monitoring dimension value, a backlog time, and a backlog quantity threshold.
[0083] For example, the contents of the alarm configuration information may be represented by the following Table 2:
[0084] Table 2: Alarm configuration example
[0085]
[0086] Optionally, an automatic thread may be pre-configured to perform a check on the alarm configuration information at regular time intervals (eg, 30 seconds, 20 seconds, or 10 seconds) to determine whether the alarm condition is met.
[0087] Optionally, the determined alarm configuration information is traversed, and for each piece of alarm configuration information, an operation of determining whether an alarm condition is met is performed, so as to issue an alarm in a timely manner.
[0088] Optionally, determine whether the alarm condition is met based on the backlog time, the backlog quantity threshold and the current time, including: determining the time difference between the current time and the backlog time, and determining the current time window based on the time difference; determining the total amount of business backlog that exceeds the backlog quantity threshold in each time window from the initial time window to the current time window; determining whether the total amount of business is greater than the backlog quantity threshold, and if so, determine that the alarm condition is met.
[0089] For example, the monitoring object X can be determined according to the dimension value. If the backlog time of the alarm configuration information is n minutes and the backlog quantity is s, the time t (i.e., the time difference) can be calculated by current time - n minutes, and the time window Wm (i.e., the current time window) is calculated according to time t. The business volume with a backlog of more than n minutes is determined to be ns = Sum (X.Wi.NumWait), where 0 <= i <= m (i.e., the total business volume), so that the business backlog quantity ns that meets the conditions can be determined. If ns>s, an alarm is triggered, and the business management personnel can be notified through mobile phone text messages, etc., and the business processing efficiency can be improved subsequently by adjusting the personnel position combination.
[0090] The technical solution of the embodiment of the present invention monitors the business processing process, and when a business acceptance request is detected, determines the monitoring object based on the monitoring configuration information and the dimensional information of the current business; after traversing each monitoring configuration information and determining the monitoring object, the accepted business volume, backlog business volume and total business acceptance volume of the current time window recorded in the monitoring statistical information are updated according to the current time window; if it is detected that the traversal is completed, it is determined that the update of all monitoring statistical information is completed, and the business query request sent by the user is responded to according to the finally generated monitoring statistical information. By recording and updating the monitoring statistical information in a timely manner according to the monitoring configuration information during the business processing process, it is possible to effectively meet the business monitoring needs while performing statistical analysis on the business processing situation, thereby improving the business processing capabilities of the back-end center.
[0091] Example 2
[0092] Figure 2A This is a processing flow chart for a business acceptance situation provided by the second embodiment of the present invention; Figure 2B This is a processing flow chart for a business completion case provided in the second embodiment of the present invention; based on the above embodiment, this embodiment provides a preferred example of traversing and updating the monitoring configuration information when a business acceptance request or a business completion request is detected to obtain the final monitoring statistical information.
[0093] Specifically, such as Figure 2A As shown, when a service acceptance request is detected, the corresponding monitoring statistics update process includes the following:
[0094] When a business acceptance request is detected, all monitoring configurations are loaded, that is, the monitoring configuration information is determined, and each monitoring configuration information is traversed. If it is detected that the monitoring configuration information traversal is completed, the process ends. Otherwise, the current monitoring configuration information is read to obtain the monitoring dimension and window size. Based on the dimension information of the current transaction, the monitoring object X is determined.
[0095] Optionally, you can determine whether the current system time (i.e., the current system date) and the monitoring date X.date are equal. If not, perform a date switching operation, that is, accumulate and save all monitoring data to the W0 window, clear the data in the W1-Wn windows, and finally switch the monitoring date and save the monitoring statistics.
[0096] Optionally, if the current system time and the monitoring date X.date are equal, the actual window Wi can be determined based on the current system time (expressed as HHMMSS), and then the accepted business volume, backlog business volume and total business accepted on the day recorded in the current time window in the monitoring statistical information are added by 1 to complete the update of the monitoring statistical information, and continue to traverse the next monitoring configuration information until the traversal is completed.
[0097] Specifically, such as Figure 2B As shown, when a service completion request is detected, the corresponding monitoring statistics update process includes the following:
[0098] When a business completion request is detected, all monitoring configurations are loaded, that is, the monitoring configuration information is determined, and each monitoring configuration information is traversed. If it is detected that the monitoring configuration information traversal is completed, the process ends. Otherwise, the current monitoring configuration information is read to obtain the monitoring dimension and window size. Based on the dimension information of the current transaction, the monitoring object X is determined.
[0099] Optionally, it can be determined whether the current system time and the monitoring date X.date are equal. If not, a date switching operation is performed, that is, all monitoring data is accumulated and saved to the W0 window, the data in the W1-Wn windows is cleared, and finally the monitoring date is switched and the monitoring data is saved.
[0100] Optionally, if the current system time and the monitoring date X.date are equal, the first time window is determined according to the current system time, and the accepted business volume of the first time window and the total business accepted on that day recorded in the monitoring statistical information are respectively added by 1, and further determine whether the acceptance date of the current business is equal to the monitoring date x.date. If the acceptance date of the current business is not equal to x.date, the second time window Wj is directly set to be equal to the initial time window W0. Otherwise, the second time window wj is determined according to the acceptance time of the current business. After determining the second time window, the backlog business volume of the second time window is subtracted by 1 to complete the traversal of the monitoring configuration information, and continue to traverse the next monitoring configuration information until the traversal is completed.
[0101] The technical solution of the present invention can realize flexible configuration of business monitoring based on monitoring dimensions and time window size, realize flexible combination of monitoring dimensions, and realize flexible definition of monitoring granularity. In addition, by matching different time windows according to different stages of the business process and updating data statistics, real-time monitoring of business acceptance, business completion, and business backlog can be achieved.
[0102] Example 3
[0103] Figure 3 This is a structural block diagram of a service monitoring device provided by the third embodiment of the present invention; this embodiment can be applied to timely recording and updating monitoring configuration information during service processing to facilitate subsequent query, statistics or alarms. The service monitoring device provided by the embodiment of the present invention can execute the service monitoring method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method; the service monitoring device can be implemented in the form of hardware and / or software and configured in an electronic device with service monitoring function, such as Figure 3 As shown, the service monitoring device may specifically include:
[0104] The monitoring module 301 is used to monitor the business processing process and, when a business acceptance request is detected, determine the monitoring object based on the monitoring configuration information and the dimension information of the current business;
[0105] Update module 302 is used to traverse each monitoring configuration information and determine the monitoring object, and then update the accepted business volume, backlog business volume and total business volume accepted on the current time window recorded in the monitoring statistics according to the current time window;
[0106] The response module 303 is configured to determine that the updating of all monitoring statistics information is completed if the traversal is detected to be completed, and respond to the service query request sent by the user according to the monitoring statistics information finally generated.
[0107] The technical solution of the embodiment of the present invention monitors the business processing process, and when a business acceptance request is detected, determines the monitoring object based on the monitoring configuration information and the dimensional information of the current business; after traversing each monitoring configuration information and determining the monitoring object, the accepted business volume, backlog business volume and total business acceptance volume of the current time window recorded in the monitoring statistical information are updated according to the current time window; if it is detected that the traversal is completed, it is determined that the update of all monitoring statistical information is completed, and the business query request sent by the user is responded to according to the finally generated monitoring statistical information. By recording and updating the monitoring statistical information in a timely manner according to the monitoring configuration information during the business processing process, it is possible to effectively meet the business monitoring needs while performing statistical analysis on the business processing situation, thereby improving the business processing capabilities of the back-end center.
[0108] Furthermore, the update module 302 is specifically configured to:
[0109] Determine whether the monitoring date recorded in the monitoring statistics is equal to the current system time;
[0110] If so, the current time window is determined according to the current system time, and the accepted business volume, backlog business volume and total business volume accepted on the day in the current time window recorded in the monitoring statistics are updated.
[0111] Furthermore, the update module 302 is further configured to:
[0112] If not, the monitoring date recorded in the monitoring statistics information is switched;
[0113] After the date switch is completed, the current time window is determined according to the current system time, and the accepted business volume, backlog business volume and total business accepted on the day in the current time window recorded in the monitoring statistical information are updated.
[0114] Furthermore, the above device is also used for:
[0115] When a business completion request is detected, the monitoring object is determined based on the monitoring configuration information and the dimension information of the current business;
[0116] After traversing each monitoring configuration information and determining the monitoring object, determine whether the monitoring date recorded in the monitoring statistics is equal to the current system time. If so, determine the first time window based on the current system time, and update the completed business volume of the first time window and the total business volume completed on that day recorded in the monitoring statistics;
[0117] Determine whether the monitoring date recorded in the monitoring statistical information is equal to the acceptance date of the current business; if so, determine the second time window based on the acceptance time of the current business, and update the backlog of business volume of the second time window recorded in the monitoring statistical information; if not, directly update the backlog of business volume of the initial time window recorded in the monitoring statistical information.
[0118] Furthermore, the above device also includes:
[0119] A first determining module is configured to determine alarm configuration information; the alarm configuration information includes at least one of the following: a monitoring code, a monitoring dimension value, a backlog time, and a backlog quantity threshold;
[0120] The second determination module is used to determine the monitoring object for each alarm configuration information corresponding to the monitoring code according to the monitoring dimension value in the alarm configuration information, and determine the backlog time and backlog quantity threshold in the alarm configuration information;
[0121] The alarm module is used to determine whether the alarm conditions are met based on the backlog time, backlog quantity threshold and current time. If so, the alarm is triggered.
[0122] Furthermore, the alarm module is specifically used to:
[0123] Determine the time difference between the current time and the backlog time, and determine the current time window based on the time difference;
[0124] Determine the total amount of business backlog exceeding the backlog threshold in each time window from the initial time window to the current time window;
[0125] Determine whether the total business volume is greater than the backlog quantity threshold, and if so, determine that the alarm condition is met.
[0126] Example 4
[0127] Figure 4 It is a structural diagram of an electronic device provided in Embodiment 4 of the present invention. Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0128] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0129] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0130] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the service monitoring method.
[0131] In some embodiments, the traffic monitoring method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the traffic monitoring method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the traffic monitoring method in any other suitable manner (e.g., via firmware).
[0132] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0133] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0134] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0135] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0136] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0137] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0138] In one embodiment, the present invention further includes a computer program product. The computer program product includes a computer program. When the computer program is executed by a processor, the service monitoring method of any embodiment of the present invention is implemented.
[0139] The computer program product may be implemented in a computer program code for performing the operations of the present invention written in one or more programming languages, or a combination thereof, including object-oriented programming languages and conventional procedural programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0140] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0141] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A business monitoring method, characterized in that: include: Monitor the business processing process and, when a business acceptance request is detected, determine the monitoring object based on the monitoring configuration information and the dimension information of the current business; After traversing each monitoring configuration information and determining the monitoring object, the accepted business volume, backlog business volume, and total business volume accepted on the day recorded in the monitoring statistics are updated according to the current time window; If it is detected that the traversal is completed, it is determined that the update of all monitoring statistics information is completed, and a response is made to the business query request sent by the user based on the monitoring statistics information finally generated.
2. The method according to claim 1, characterized in that Update the business volume, backlog of business, and total business volume of the day recorded in the monitoring statistics according to the current time window, including: Determine whether the monitoring date recorded in the monitoring statistics is equal to the current system time; If so, the current time window is determined according to the current system time, and the accepted business volume, backlog business volume and total business volume accepted on the day in the current time window recorded in the monitoring statistics are updated.
3. The method according to claim 2, characterized in that After determining whether the monitoring date recorded in the monitoring statistics is equal to the current system time, the following steps are also included: If not, the monitoring date recorded in the monitoring statistics information is switched; After the date switch is completed, the current time window is determined according to the current system time, and the accepted business volume, backlog business volume and total business accepted on the day in the current time window recorded in the monitoring statistical information are updated.
4. The method according to claim 1, wherein After monitoring the business process, it also includes: When a business completion request is detected, the monitoring object is determined based on the monitoring configuration information and the dimension information of the current business; After traversing each monitoring configuration information and determining the monitoring object, determine whether the monitoring date recorded in the monitoring statistics is equal to the current system time. If so, determine the first time window based on the current system time, and update the completed business volume of the first time window and the total business volume completed on that day recorded in the monitoring statistics; Determine whether the monitoring date recorded in the monitoring statistical information is equal to the acceptance date of the current business; if so, determine the second time window based on the acceptance time of the current business, and update the backlog of business volume of the second time window recorded in the monitoring statistical information; if not, directly update the backlog of business volume of the initial time window recorded in the monitoring statistical information.
5. The method according to claim 1, wherein Also includes: Determine alarm configuration information; the alarm configuration information includes at least one of the following: monitoring code, monitoring dimension value, backlog time, and backlog quantity threshold; For each alarm configuration information corresponding to the monitoring code, determine the monitoring object according to the monitoring dimension value in the alarm configuration information, and determine the backlog time and backlog quantity threshold in the alarm configuration information; Based on the backlog time, backlog quantity threshold and current time, determine whether the alarm condition is met. If so, trigger the alarm.
6. The method according to claim 5, characterized in that Determine whether the alarm conditions are met based on the backlog time, backlog quantity threshold, and current time, including: Determine the time difference between the current time and the backlog time, and determine the current time window based on the time difference; Determine the total amount of business backlog exceeding the backlog threshold in each time window from the initial time window to the current time window; Determine whether the total business volume is greater than the backlog quantity threshold, and if so, determine that the alarm condition is met.
7. A service monitoring device, characterized in that: include: The monitoring module is used to monitor the business processing process and, when a business acceptance request is detected, determine the monitoring object based on the monitoring configuration information and the dimension information of the current business; The update module is used to traverse each monitoring configuration information and determine the monitoring object, and then update the accepted business volume, backlog business volume and total business volume accepted on the day recorded in the monitoring statistics according to the current time window; The response module is used to determine that the update of all monitoring statistics is completed if the traversal is detected to be completed, and respond to the business query request sent by the user according to the monitoring statistics information finally generated.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executed by the at least one processor. The computer program is executed by the at least one processor so as to enable the at least one processor to execute the service monitoring method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the service monitoring method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the service monitoring method according to any one of claims 1 to 6 is implemented.