CN112132544A - Inspection method and device of business system - Google Patents

Inspection method and device of business system Download PDF

Info

Publication number
CN112132544A
CN112132544A CN202011024025.7A CN202011024025A CN112132544A CN 112132544 A CN112132544 A CN 112132544A CN 202011024025 A CN202011024025 A CN 202011024025A CN 112132544 A CN112132544 A CN 112132544A
Authority
CN
China
Prior art keywords
inspection
task
service system
parameters
target
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
CN202011024025.7A
Other languages
Chinese (zh)
Other versions
CN112132544B (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.)
Taikang Insurance Group Co Ltd
Taikang Online Property Insurance Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Taikang Online Property Insurance 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 Taikang Insurance Group Co Ltd, Taikang Online Property Insurance Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN202011024025.7A priority Critical patent/CN112132544B/en
Publication of CN112132544A publication Critical patent/CN112132544A/en
Application granted granted Critical
Publication of CN112132544B publication Critical patent/CN112132544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • G06Q40/125Finance or payroll

Abstract

The application discloses a method and a device for polling a service system. The method comprises the steps of obtaining service data of a target service system, and obtaining routing inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system if the incidence relation corresponding to the target service system exists in the stored incidence relation between the parameters of the service data corresponding to each service system and the routing inspection parameters; acquiring the stored inspection task standards of the service systems and the execution sequence of each inspection task in the inspection task standards of the target service system; and according to the execution sequence of each inspection task in the inspection task standard, performing task inspection on inspection parameters and corresponding parameter values associated with each inspection task to obtain an inspection result. The method can automatically finish the polling of the service system, thereby reducing the labor cost of polling the service system.

Description

Inspection method and device of business system
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for polling a service system.
Background
With the continuous expansion of each service in each industry, the stability of the service system and the service data in each service is crucial, taking insurance service as an example. The routing inspection task of the service system of the insurance service, the real landing of data, the storage proportion of the service system and the service downtime condition have direct experience for customers.
Aiming at the existing server monitoring system, because the service system of the insurance service needs to continuously operate 24 hours all day, operation and maintenance staff observe and record the conditions of server load content overflow, I/O throughput and the like according to different time.
Each service system and operation and maintenance system in the insurance service are independent from each other, and need different personnel to pay attention to and maintain. The polling time of each service system is different, so the personnel responsible for each service system monitoring polling fall within three shifts, the data is recorded by pure manpower, and the different personnel of different service systems are responsible for causing great waste of labor cost.
Disclosure of Invention
The embodiment of the application provides a method and a device for polling a business system, which solve the problems in the prior art and reduce the labor cost for polling the business system.
In a first aspect, a method for polling a plurality of business systems is provided, where the method is applied in a polling platform for polling a plurality of business systems, and the method may include:
acquiring service data of a target service system;
if the stored incidence relation between the parameters of the service data corresponding to each service system and the inspection parameters has the incidence relation corresponding to the target service system, acquiring the inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system;
acquiring the inspection task standard of the target service system in the stored inspection task standards of all service systems and the execution sequence of all inspection tasks in the inspection task standards;
and according to the execution sequence of each inspection task in the inspection task standard, performing task inspection on inspection parameters and corresponding parameter values associated with each inspection task to obtain an inspection result.
In an optional implementation, after obtaining the service data of the target service system, the method further includes:
if the stored association relationship between the parameters of the service data corresponding to each service system and the inspection parameters does not exist, configuring the association relationship between the service data of the target service system and the corresponding inspection parameters, configuring the inspection task standard of the target service system, and returning to execute: and acquiring the inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system.
In an optional implementation, obtaining the patrol inspection parameter and the corresponding parameter value in the service data of the target service system according to the configured association relationship between the parameter of the service data corresponding to each service system and the patrol inspection parameter includes:
acquiring a target incidence relation between the parameter of the business data corresponding to the target business system and the inspection parameter in the incidence relation between the parameter of the business data corresponding to each configured business system and the inspection parameter;
searching a target incidence relation corresponding to the target service system, acquiring parameters associated with inspection parameters in the target incidence relation in the service data, and determining the associated parameters as the inspection parameters;
and acquiring the determined patrol inspection parameter and the corresponding parameter value.
In an optional implementation, the service data of the target service system includes a task start time parameter, a task end time parameter, and a task completion status parameter; the inspection task standard comprises inspection starting time and inspection ending time of different tasks;
according to the configured inspection task standard of the target service system in the inspection task standards of the service systems, performing task inspection on the acquired inspection parameters and corresponding parameter values to obtain inspection results, wherein the task inspection method comprises the following steps:
aiming at each task of the target service system, whether a first time period of task starting time and task ending time of the task is within a second time period of the inspection starting time and the inspection ending time or not is inspected;
and acquiring the inspection result of each task according to the inspection result and the task completion state.
In an optional implementation, the method further comprises:
if the first time period is not within the second time period or the task completion state of the corresponding task is failure, determining that the inspection result is that the task is abnormally executed;
if the first time period is within the second time period and the task completion state of the corresponding task is successful, determining that the inspection result is that the task is normally executed;
and generating an inspection log corresponding to the inspection result.
In an alternative implementation, the obtaining service data of the target service system includes:
and acquiring the service data of the target service system according to the periodic inspection instruction of the target service system.
In an optional implementation, the method further comprises:
and if the target service system comprises at least two service systems and the inspection result comprises an inspection result of abnormal execution of N tasks, processing the service systems corresponding to the abnormal execution of the N tasks according to a preset abnormal priority sequence, wherein N is a positive integer not greater than the number of the service systems.
In an alternative implementation, the target business system is at least two independent business systems, or the target business system includes at least two associated business systems.
In a second aspect, an inspection apparatus for a business system is provided, the apparatus being applied to an inspection platform for inspecting the business system, and the apparatus may include: the system comprises an acquisition unit and a patrol unit;
the acquiring unit is used for acquiring the service data of the target service system;
if the stored incidence relation between the parameters of the service data corresponding to each service system and the inspection parameters has the incidence relation corresponding to the target service system, acquiring the inspection parameters and the corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system;
acquiring the inspection task standard of the target service system in the stored inspection task standards of the service systems and the execution sequence of each inspection task in the inspection task standards;
and the inspection unit is used for performing task inspection on the inspection parameters and corresponding parameter values associated with the inspection tasks according to the execution sequence of the inspection tasks in the inspection task standard to obtain an inspection result.
In an optional implementation, the apparatus further comprises a configuration unit and a trigger unit;
the configuration unit is used for configuring the incidence relation between the service data of the target service system and the corresponding inspection parameter and configuring the inspection task standard of the target service system if the incidence relation corresponding to the target service system does not exist in the stored incidence relation between the service data corresponding to each service system and the inspection parameter;
the triggering unit is used for triggering the acquisition unit to execute: and acquiring the inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system.
In an optional implementation, the obtaining unit is specifically configured to obtain a target association relationship between a parameter of service data corresponding to the target service system and an inspection parameter in an association relationship between the parameter of service data corresponding to each configured service system and the inspection parameter;
searching a target incidence relation corresponding to the target service system, acquiring parameters associated with inspection parameters in the target incidence relation in the service data, and determining the associated parameters as the inspection parameters;
and acquiring the determined patrol inspection parameter and the corresponding parameter value.
In an optional implementation, the service data of the target service system includes a task start time parameter, a task end time parameter, and a task completion status parameter; the inspection task standard comprises inspection starting time and inspection ending time of different tasks;
the inspection unit is specifically used for inspecting whether a first time period of task starting time and task ending time of each task of the target service system is within a second time period of inspection starting time and inspection ending time;
and acquiring the inspection result of each task according to the inspection result and the task completion state.
In an optional implementation, the apparatus further comprises a determining unit and a generating unit;
the determining unit is configured to determine that the inspection result is that the task is abnormally executed if the first time period is not within the second time period or the task completion status of the corresponding task is failure;
and if the first time period is within the second time period and the task completion state of the corresponding task is successful, determining that the inspection result is that the task is normally executed.
And the generating unit is used for generating an inspection log corresponding to the inspection result.
In an optional implementation, the obtaining unit is further configured to obtain service data of the target service system according to a periodic polling instruction of the target service system.
In an alternative implementation, the apparatus further comprises a processing unit;
and the processing unit is used for processing the service systems corresponding to the abnormal execution of the N tasks according to a preset abnormal priority order if the target service system comprises at least two service systems and the inspection result comprises an inspection result of the abnormal execution of the N tasks, wherein N is a positive integer not greater than the number of the service systems.
In an alternative implementation, the target business system comprises at least two independent business systems, or the target business system comprises at least two associated business systems.
In a third aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor adapted to perform the method steps of any of the above first aspects when executing a program stored in the memory.
In a fourth aspect, a computer-readable storage medium is provided, having stored therein a computer program which, when executed by a processor, performs the method steps of any of the above first aspects.
The inspection method of the business system provided by the embodiment of the invention comprises the steps of obtaining business data of a target business system, and obtaining inspection parameters and corresponding parameter values in the business data of the target business system according to the incidence relation corresponding to the target business system if the incidence relation corresponding to the target business system exists in the stored incidence relation between the parameters of the business data corresponding to each business system and the inspection parameters; acquiring the stored inspection task standards of the service systems and the execution sequence of each inspection task in the inspection task standards of the target service system; and according to the execution sequence of each inspection task in the inspection task standard, performing task inspection on inspection parameters and corresponding parameter values associated with each inspection task to obtain an inspection result. The method can automatically finish the polling of the service system, thereby reducing the labor cost of polling the service system.
Drawings
Fig. 1 is a schematic diagram of a system architecture of an inspection method for an application service system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a polling method of a service system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an inspection device of a business system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
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 obtained by a person of ordinary skill in the art based on the embodiments of the present application without any creative effort belong to the protection scope of the present application.
The patrol method of the service system provided by the embodiment of the present invention may be applied to the system architecture shown in fig. 1, and the system may include at least one independent service system and a patrol server (or "patrol platform").
The inspection platform can configure the template definition of each service system and an association table of each parameter and a preset inspection parameter in the service data of each service system.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are merely for illustrating and explaining the present invention and are not intended to limit the present invention, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 2 is a schematic flow chart of a polling method of a business system according to an embodiment of the present invention. As shown in fig. 2, the method may include:
step S210, acquiring service data of the target service system.
The traffic data comprises at least one parameter.
Optionally, the inspection platform may set a periodic inspection instruction for the target service system, and obtain service data of the target service system according to the periodic inspection instruction for the target service system, so as to perform inspection for the target service system. The inspection platform may also obtain the service data of the target service system according to the inspection instruction sent by the target service system to perform inspection on the target service system, which is not limited herein in the embodiments of the present invention.
Taking the target service system as a cds financial reconciliation service system as an example, the service data of the cds financial reconciliation service system acquired by the inspection platform may include parameters such as a service system name, a task start time, a task end time, and the like.
Alternatively, the target business system may include at least two independent business systems, or at least two associated business systems. That is to say, the inspection platform can inspect a plurality of unrelated service systems and can also inspect a plurality of related service systems.
Optionally, before performing the step, the inspection platform may configure the template definition of the corresponding service system according to at least one parameter in the service data of each service system, where the template definition includes inspection parameters required in the inspection process and configured standard inspection parameters.
For example, taking the template definition of the cds reconciliation financial transaction system as an example, the first 5 field parameters: the name of the service system, the name of the task, the start time of the task, the end time of the task and the completion state of the task are patrol parameters in service data sent by the cds financial reconciliation service system, and the last 2 field parameters are as follows: the patrol starting time and the patrol ending time (SLA time) are standard patrol parameters configured as shown in table 1:
TABLE 1
Figure BDA0002701597540000071
Figure BDA0002701597540000081
Wherein, slarime: refers to the end time set by a Service-Level agent (SLA).
Based on Table 1, the cds financial reconciliation business system performed tasks including Q1-Q4:
q1, acquiring a reconciliation list;
q2, generating financial data according to the account checking list and the service data in the system;
q3, extracting business data and comparing the business data with financial data;
q4, financial reconciliation confirmation, checking the consistency of the business data and the financial data.
The inspection platform can receive business system names, task names Q1-Q4, corresponding task starting time, corresponding task ending time and corresponding task completion states transmitted by the cds financial reconciliation business system in the following mode.
Figure BDA0002701597540000082
Figure BDA0002701597540000091
It can be seen that by defining templates of a plurality of service systems of the inspection platform, aiming at a plurality of service systems without correlation or with correlation, the inspection parameters of each service system do not need to be planned in a unified way, parameters in service data in the service systems can be associated with the inspection parameters to be concerned by the inspection platform, the plurality of service systems are connected to the inspection platform in a butt joint way, and the inspection platform can inspect a plurality of services in an instant-use manner.
Step S220, according to the configured incidence relation between the parameters of the service data corresponding to each service system and the inspection parameters, the inspection parameters and the corresponding parameter values in the service data of the target service system are obtained.
If the stored association relationship corresponding to the target business system exists in the association relationship between the business data corresponding to each business system and the inspection parameter, acquiring the inspection parameter and the corresponding parameter value in the business data of the target business system according to the association relationship corresponding to the target business system, namely, searching the association table of each parameter in the business data and the preset inspection parameter in the association table according to the association table of each parameter in the configured business data of the target business system and the preset inspection parameter, determining the associated parameter as the inspection parameter, and acquiring the inspection parameter and the corresponding parameter value.
And if the stored incidence relation between the parameters of the service data corresponding to each service system and the inspection parameters does not have the incidence relation corresponding to the target service system, configuring the incidence relation between the service data of the target service system and the corresponding inspection parameters and the inspection task standard of the target service system, and storing the correlation relation.
Further, if during the task polling of at least one service system, and a task polling instruction for a new service system is received, the task polling of at least one service system is not required to be stopped, the service data of the new service system can be directly received, whether the incidence relation corresponding to the new service system exists in the incidence relation between the stored service data parameters corresponding to each service system and the polling parameters is detected, if not, the incidence relation between the service data of the target service system and the corresponding polling parameters and the polling task standard of the target service system are configured, and the task polling is executed according to the configured information, namely, the realization method for immediately matching and using is achieved.
In an example, taking the target business system as a cds financial reconciliation business system as an example, the configured association relationship between the parameter of the business data corresponding to the target business system and the patrol parameter may be stored in the form of an association table, as shown in table 2, where the association table may be represented as:
TABLE 2
Field parameter Presetting inspection parameters
Cdsname [[‘cds’,’name’]]
Cdstaskname [[‘cds’,’taskname’]]
Cdsstarttime [[‘cds’,’stattime’]]
Cdsendtime [[‘cds’,’endtime’]]
Cdsstatus [[‘cds’,’status’]]
Respectively searching each parameter in the service data of the target service system for an association table; and if the target parameter and the inspection parameter matched with the target parameter are searched in the association table, determining the target parameter as the inspection parameter and acquiring the parameter value of the inspection parameter.
And step S230, according to the polling task standard of the target service system in the configured polling task standards of each service system, performing task polling on the acquired polling parameters and corresponding parameter values to obtain polling results.
The inspection task standard comprises inspection starting time and inspection ending time of different tasks.
Before executing the step, the stored inspection task standards of the target service system in the inspection task standards of each service system and the execution sequence of each inspection task in the inspection task standards can be obtained; and then, according to the execution sequence of each inspection task in the inspection task standard, performing task inspection on inspection parameters and corresponding parameter values associated with each inspection task to obtain an inspection result.
For example, the inspection task criteria of the configured cds financial reconciliation business system can be as shown in table 3:
TABLE 3
Inspection start time End time of inspection Task name
5:30 6:00 Q1 obtains account checking list
6:30 8:00 Q2 generating financial data
8:30 9:00 Q3 extracted property data
10:30 11:00 Q4 financial reconciliation confirmation
And then, generating a patrol record according to the patrol starting time and the patrol ending time of different tasks in the configured patrol task standard and the acquired service data of different tasks executed by the target service system.
For example, after the business data including tasks Q1-Q4 in the cds financial reconciliation business system are sequentially transmitted into the patrol platform, a patrol record is generated, which can be as shown in table 4:
TABLE 4
Further, for each task of the target service system, whether the first time period of the task start time and the task end time of the corresponding task is within the second time period of the inspection start time and the inspection end time is inspected, and the inspection result of each task is obtained according to the inspection result and the task completion state of the corresponding task.
If the first time period is not within the second time period or the task completion state of the corresponding task is failure, determining that the inspection result is abnormal task execution;
if the first time period is within the second time period and the task completion state of the corresponding task is successful, determining that the inspection result is that the task is normally executed;
and generating a routing inspection log corresponding to the routing inspection result.
It can be understood that, if the target service system includes at least two service systems, and the inspection result includes an inspection result of N task execution exceptions, the service systems corresponding to the N task execution exceptions are processed according to a preset exception priority order, where N is a positive integer not greater than the number of the service systems.
The inspection platform can display the acquired inspection result to a technician.
Wherein, combine table 4, belong to the last task in the task of patrolling and examining to task Q4, to the later problem of task Q4 confirmation time, the technical staff can in time know the condition, do the optimization again can. However, if the task completion status at task Q2 is failure, task Q3 and task Q4 are affected, and human intervention is needed in time and business data is analyzed, so that development, products and business personnel can optimize the process from the viewpoint of system product process design. Compared with the simple service data monitoring function in the prior art, the inspection function is started from the perspective of the overall flow, and the inspection work is greatly facilitated.
The inspection method of the business system provided by the embodiment of the invention comprises the steps of obtaining business data of a target business system, and obtaining inspection parameters and corresponding parameter values in the business data of the target business system according to the incidence relation corresponding to the target business system if the incidence relation corresponding to the target business system exists in the stored incidence relation between the parameters of the business data corresponding to each business system and the inspection parameters; acquiring the stored inspection task standards of the service systems and the execution sequence of each inspection task in the inspection task standards of the target service system; and according to the execution sequence of each inspection task in the inspection task standard, performing task inspection on inspection parameters and corresponding parameter values associated with each inspection task to obtain an inspection result. The method can automatically finish the polling of the service system, thereby reducing the labor cost of polling the service system.
Corresponding to the foregoing method, an embodiment of the present invention further provides an inspection device for a business system, and as shown in fig. 3, the inspection device for a business system includes: an acquisition unit 310 and an inspection unit 320;
an obtaining unit 310, configured to obtain service data of a target service system;
if the stored incidence relation between the parameters of the service data corresponding to each service system and the inspection parameters has the incidence relation corresponding to the target service system, acquiring the inspection parameters and the corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system;
acquiring the inspection task standard of the target service system in the stored inspection task standards of the service systems and the execution sequence of each inspection task in the inspection task standards;
and the inspection unit 320 is used for performing task inspection on the inspection parameters and the corresponding parameter values associated with the inspection tasks according to the execution sequence of the inspection tasks in the inspection task standard to obtain an inspection result.
In an optional implementation, the apparatus further comprises a configuration unit 330 and a trigger unit 340;
a configuration unit 330, configured to configure an association relationship between the service data of the target service system and the corresponding inspection parameter and configure an inspection task standard of the target service system if the association relationship between the stored service data corresponding to each service system and the inspection parameter does not exist;
a triggering unit 340, configured to trigger the obtaining unit to perform: and acquiring the inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system.
In an optional implementation, the obtaining unit 310 is specifically configured to obtain a target association relationship between a parameter of service data corresponding to a target service system and an inspection parameter in an association relationship between the parameter of service data corresponding to each configured service system and the inspection parameter;
searching a target incidence relation corresponding to the target service system, acquiring parameters associated with inspection parameters in the target incidence relation in the service data, and determining the associated parameters as the inspection parameters;
and acquiring the determined patrol inspection parameter and the corresponding parameter value.
In an optional implementation, the service data of the target service system includes a task start time parameter, a task end time parameter, and a task completion status parameter; the inspection task standard comprises inspection starting time and inspection ending time of different tasks;
the inspection unit 320 is specifically configured to inspect, for each task of the target service system, whether a first time period of a task start time and a task end time of the task is within a second time period of the inspection start time and the inspection end time;
and acquiring the inspection result of each task according to the inspection result and the task completion state.
In an alternative implementation, the apparatus further comprises a determining unit 350 and a generating unit 360;
a determining unit 350, configured to determine that the inspection result is that the task is executed abnormally if the first time period is not within the second time period or a task completion status of a corresponding task is failure;
and if the first time period is within the second time period and the task completion state of the corresponding task is successful, determining that the inspection result is that the task is normally executed
And the generating unit 360 is used for generating an inspection log corresponding to the inspection result.
In an optional implementation, the obtaining unit 310 is further configured to obtain service data of the target service system according to a periodic polling instruction of the target service system.
In an alternative implementation, the apparatus further comprises a processing unit 370;
and the processing unit 370 is configured to, if the target service system includes at least two service systems and the inspection result includes an inspection result that N tasks are executed abnormally, process the service systems corresponding to the N tasks that are executed abnormally according to a preset abnormal priority order, where N is a positive integer not greater than the number of the service systems.
In an alternative implementation, the target business system comprises at least two independent business systems, or the target business system comprises at least two associated business systems.
The functions of the functional units of the inspection device of the business system provided by the above embodiment of the present invention can be implemented through the above method steps, and therefore, detailed working processes and beneficial effects of the units in the inspection device of the business system provided by the embodiment of the present invention are not repeated herein.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, including a processor 410, a communication interface 420, a memory 430, and a communication bus 440, where the processor 410, the communication interface 420, and the memory 430 complete mutual communication through the communication bus 440.
A memory 430 for storing computer programs;
the processor 410, when executing the program stored in the memory 430, implements the following steps:
acquiring service data of a target service system;
if the stored incidence relation between the parameters of the service data corresponding to each service system and the inspection parameters has the incidence relation corresponding to the target service system, acquiring the inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system;
acquiring the inspection task standard of the target service system in the stored inspection task standards of all service systems and the execution sequence of all inspection tasks in the inspection task standards;
and according to the execution sequence of each inspection task in the inspection task standard, performing task inspection on inspection parameters and corresponding parameter values associated with each inspection task to obtain an inspection result.
In an optional implementation, after obtaining the service data of the target service system, the method further includes:
if the stored association relationship between the parameters of the service data corresponding to each service system and the inspection parameters does not exist, configuring the association relationship between the service data of the target service system and the corresponding inspection parameters, configuring the inspection task standard of the target service system, and returning to execute: and acquiring the inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system.
In an optional implementation, the service data of the target service system includes a task start time parameter, a task end time parameter, and a task completion status parameter; the inspection task standard comprises inspection starting time and inspection ending time of different tasks;
according to the configured inspection task standard of the target service system in the inspection task standards of the service systems, performing task inspection on the acquired inspection parameters and corresponding parameter values to obtain inspection results, wherein the task inspection method comprises the following steps:
aiming at each task of the target service system, whether a first time period of task starting time and task ending time of the task is within a second time period of the inspection starting time and the inspection ending time or not is inspected;
and acquiring the inspection result of each task according to the inspection result and the task completion state.
In an optional implementation, the method further comprises:
if the first time period is not within the second time period or the task completion state of the corresponding task is failure, determining that the inspection result is that the task is abnormally executed;
if the first time period is within the second time period and the task completion state of the corresponding task is successful, determining that the inspection result is that the task is normally executed;
and generating an inspection log corresponding to the inspection result.
In an alternative implementation, the obtaining service data of the target service system includes:
and acquiring the service data of the target service system according to the periodic inspection instruction of the target service system.
In an optional implementation, the method further comprises:
and if the target service system comprises at least two service systems and the inspection result comprises an inspection result of abnormal execution of N tasks, processing the service systems corresponding to the abnormal execution of the N tasks according to a preset abnormal priority sequence, wherein N is a positive integer not greater than the number of the service systems.
In an alternative implementation, the target business system comprises at least two independent business systems, or the target business system comprises at least two associated business systems.
The aforementioned communication bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Since the implementation manner and the beneficial effects of the problem solving of each device of the electronic device in the foregoing embodiment can be implemented by referring to each step in the embodiment shown in fig. 2, detailed working processes and beneficial effects of the electronic device provided by the embodiment of the present invention are not described herein again.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which instructions are stored, and when the instructions are executed on a computer, the computer is enabled to execute the inspection method of the business system according to any one of the above embodiments.
In another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the inspection method of the business system according to any one of the above embodiments.
As will be appreciated by one of skill in the art, the embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present application.
It is apparent that those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the embodiments of the present application and their equivalents, the embodiments of the present application are also intended to include such modifications and variations.

Claims (10)

1. A method for polling a plurality of service systems, the method being applied to a polling platform for polling the plurality of service systems, the method comprising:
acquiring service data of a target service system;
if the stored incidence relation between the parameters of the service data corresponding to each service system and the inspection parameters has the incidence relation corresponding to the target service system, acquiring the inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system;
acquiring the inspection task standard of the target service system in the stored inspection task standards of all service systems and the execution sequence of all inspection tasks in the inspection task standards;
and according to the execution sequence of each inspection task in the inspection task standard, performing task inspection on inspection parameters and corresponding parameter values associated with each inspection task to obtain an inspection result.
2. The method of claim 1, wherein after obtaining the service data of the target service system, the method further comprises:
if the stored association relationship between the parameters of the service data corresponding to each service system and the inspection parameters does not exist, configuring the association relationship between the service data of the target service system and the corresponding inspection parameters, configuring the inspection task standard of the target service system, and returning to execute: and acquiring the inspection parameters and corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system.
3. The method of claim 1, wherein obtaining the patrol inspection parameter and the corresponding parameter value in the service data of the target service system according to the configured association relationship between the parameter of the service data corresponding to each service system and the patrol inspection parameter comprises:
acquiring a target incidence relation between the parameter of the business data corresponding to the target business system and the inspection parameter in the incidence relation between the parameter of the business data corresponding to each configured business system and the inspection parameter;
searching a target incidence relation corresponding to the target service system, acquiring parameters associated with inspection parameters in the target incidence relation in the service data, and determining the associated parameters as the inspection parameters;
and acquiring the determined patrol inspection parameter and the corresponding parameter value.
4. The method of claim 1, wherein the business data of the target business system includes a task start time parameter, a task end time parameter, and a task completion status parameter; the inspection task standard comprises inspection starting time and inspection ending time of different tasks;
according to the configured inspection task standard of the target service system in the inspection task standards of the service systems, performing task inspection on the acquired inspection parameters and corresponding parameter values to obtain inspection results, wherein the task inspection method comprises the following steps:
aiming at each task of the target service system, whether a first time period of task starting time and task ending time of the task is within a second time period of the inspection starting time and the inspection ending time or not is inspected;
and acquiring the inspection result of each task according to the inspection result and the task completion state.
5. The method of claim 4, wherein the method further comprises:
if the first time period is not within the second time period or the task completion state of the corresponding task is failure, determining that the inspection result is that the task is abnormally executed;
if the first time period is within the second time period and the task completion state of the corresponding task is successful, determining that the inspection result is that the task is normally executed;
and generating an inspection log corresponding to the inspection result.
6. The method of claim 1, wherein obtaining service data for a target service system comprises:
and acquiring the service data of the target service system according to the periodic inspection instruction of the target service system.
7. The method of any one of claims 1-5, further comprising:
and if the target service system comprises at least two service systems and the inspection result comprises an inspection result of abnormal execution of N tasks, processing the service systems corresponding to the abnormal execution of the N tasks according to a preset abnormal priority sequence, wherein N is a positive integer not greater than the number of the service systems.
8. An inspection device for a business system, the device being applied to an inspection platform for a plurality of inspection business systems, the device comprising: the system comprises an acquisition unit and a patrol unit;
the acquiring unit is used for acquiring the service data of the target service system;
if the stored incidence relation between the parameters of the service data corresponding to each service system and the inspection parameters has the incidence relation corresponding to the target service system, acquiring the inspection parameters and the corresponding parameter values in the service data of the target service system according to the incidence relation corresponding to the target service system;
acquiring the inspection task standard of the target service system in the stored inspection task standards of the service systems and the execution sequence of each inspection task in the inspection task standards;
and the inspection unit is used for performing task inspection on the inspection parameters and corresponding parameter values associated with the inspection tasks according to the execution sequence of the inspection tasks in the inspection task standard to obtain an inspection result.
9. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-7 when executing a program stored on a memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
CN202011024025.7A 2020-09-25 2020-09-25 Inspection method and device of business system Active CN112132544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011024025.7A CN112132544B (en) 2020-09-25 2020-09-25 Inspection method and device of business system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011024025.7A CN112132544B (en) 2020-09-25 2020-09-25 Inspection method and device of business system

Publications (2)

Publication Number Publication Date
CN112132544A true CN112132544A (en) 2020-12-25
CN112132544B CN112132544B (en) 2023-12-22

Family

ID=73839452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011024025.7A Active CN112132544B (en) 2020-09-25 2020-09-25 Inspection method and device of business system

Country Status (1)

Country Link
CN (1) CN112132544B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703637A (en) * 2021-10-29 2021-11-26 北京红山信息科技研究院有限公司 Inspection task coding method and device, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014130405A (en) * 2012-12-28 2014-07-10 Secom Co Ltd Patrol task support system, portable terminal, and patrol task support method
CN107665518A (en) * 2017-07-06 2018-02-06 北京万相融通科技股份有限公司 A kind of method at patrol officer's inspection station
CN107832197A (en) * 2017-11-28 2018-03-23 江苏方天电力技术有限公司 The cruising inspection system and method for inspecting of a kind of business application system
CN110442495A (en) * 2019-07-30 2019-11-12 杭州安恒信息技术股份有限公司 The method for automating cruising inspection system exception

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014130405A (en) * 2012-12-28 2014-07-10 Secom Co Ltd Patrol task support system, portable terminal, and patrol task support method
CN107665518A (en) * 2017-07-06 2018-02-06 北京万相融通科技股份有限公司 A kind of method at patrol officer's inspection station
CN107832197A (en) * 2017-11-28 2018-03-23 江苏方天电力技术有限公司 The cruising inspection system and method for inspecting of a kind of business application system
CN110442495A (en) * 2019-07-30 2019-11-12 杭州安恒信息技术股份有限公司 The method for automating cruising inspection system exception

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703637A (en) * 2021-10-29 2021-11-26 北京红山信息科技研究院有限公司 Inspection task coding method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
CN112132544B (en) 2023-12-22

Similar Documents

Publication Publication Date Title
CN110704231A (en) Fault processing method and device
CN108255620B (en) Service logic processing method, device, service server and system
CN112200493A (en) Digital twin model construction method and device
CN110647447B (en) Abnormal instance detection method, device, equipment and medium for distributed system
CN104346574A (en) Automatic host computer security configuration vulnerability restoration method and system based on configuration specification
CN112101803A (en) Business process monitoring method, device, system, equipment and medium
CN108388507A (en) Batch script testing method and device
CN112905323B (en) Data processing method, device, electronic equipment and storage medium
CN111522728A (en) Method for generating automatic test case, electronic device and readable storage medium
CN111679968A (en) Interface calling abnormity detection method and device, computer equipment and storage medium
CN112348521A (en) Intelligent risk quality inspection method and system based on business audit and electronic equipment
Gatrell et al. Design patterns and fault-proneness a study of commercial C# software
CN112132544A (en) Inspection method and device of business system
CN107992420B (en) Management method and system for test item
CN116738091A (en) Page monitoring method and device, electronic equipment and storage medium
CN116560893A (en) Computer application program operation data fault processing system
CN115756769A (en) Task execution method and device and electronic equipment
CN111813872B (en) Method, device and equipment for generating fault troubleshooting model
CN112882957A (en) Test task validity checking method and device
CN113127362A (en) Object testing method, object testing device, electronic device, and readable storage medium
CN114676012A (en) Service link monitoring method and device, electronic equipment and storage medium
CN107577546B (en) Information processing method and device and electronic equipment
US20200097870A1 (en) Work task commitment manager
CN111198798A (en) Service stability measuring method and device
CN112035364B (en) Function test result evaluation 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