CN110908875A - Inspection method and device based on operation terminal - Google Patents

Inspection method and device based on operation terminal Download PDF

Info

Publication number
CN110908875A
CN110908875A CN201911178743.7A CN201911178743A CN110908875A CN 110908875 A CN110908875 A CN 110908875A CN 201911178743 A CN201911178743 A CN 201911178743A CN 110908875 A CN110908875 A CN 110908875A
Authority
CN
China
Prior art keywords
inspection
script
operation terminal
target
background server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911178743.7A
Other languages
Chinese (zh)
Other versions
CN110908875B (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201911178743.7A priority Critical patent/CN110908875B/en
Publication of CN110908875A publication Critical patent/CN110908875A/en
Application granted granted Critical
Publication of CN110908875B publication Critical patent/CN110908875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a patrol method and a patrol device based on an operation terminal, wherein the method comprises the following steps: reading a routing inspection script prestored in a target operation terminal according to a preset time interval; reading corresponding background server parameters according to the polling script, and operating the polling script by using the background server parameters to execute polling operation of a target background system corresponding to the polling script; and if the result of the routing inspection operation of the target background system is determined to be beyond the preset safety range through judgment, outputting alarm information. The method and the device can improve the real-time performance and flexibility of system inspection, and further improve the stability of the background system.

Description

Inspection method and device based on operation terminal
Technical Field
The application relates to the technical field of operation and maintenance inspection, in particular to an inspection method and device based on an operation terminal.
Background
With the development of the financial industry, the complexity of data interaction in the financial system is greatly improved, various background applications exist, how to ensure the stable operation of the system is ensured, and the potential safety hazard existing in the system is found and solved in time, which is very important.
In the prior art, an inspection monitoring system is deployed in a background server, and operation and maintenance personnel log in the background server through an operation terminal and manually perform various inspection operations; for different application systems, a special inspection monitoring tool needs to be developed. By adopting the mode to carry out polling monitoring on the background application system, the workload is large, and the polling monitoring result lags behind the actual situation.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides the inspection method and the inspection device based on the operation terminal, which can improve the real-time performance and flexibility of inspection of the system and further improve the stability of the background system.
In order to solve the technical problem, the present application provides the following technical solutions:
in a first aspect, the present application provides a method for routing inspection based on an operation terminal, including:
reading a routing inspection script prestored in a target operation terminal according to a preset time interval;
reading corresponding background server parameters according to the polling script, and operating the polling script by using the background server parameters to execute polling operation of a target background system corresponding to the polling script;
and if the result of the routing inspection operation of the target background system is determined to be beyond the preset safety range through judgment, outputting alarm information.
Further, before the reading the patrol inspection script pre-stored in the target operation terminal according to the preset time interval, the method further comprises the following steps: storing the inspection script and the background server parameters in a parameter file; and storing the parameter file in the target operation terminal.
Further, the application of the background server parameter to run the inspection script to execute the inspection operation of the target background system corresponding to the inspection script includes: and running the inspection script by applying the background server parameters to acquire data in the database of the target background system according to the inspection script.
Further, the outputting the alarm information includes: and calling a short message interface of the target operation terminal to output alarm information.
In a second aspect, the present application provides an inspection device based on an operation terminal, including:
the inspection script reading module is used for reading an inspection script prestored in the target operation terminal according to a preset time interval;
the inspection script running module is used for reading corresponding background server parameters according to the inspection script and running the inspection script by applying the background server parameters so as to execute the inspection operation of a target background system corresponding to the inspection script;
and the output module is used for outputting alarm information if the result of the routing inspection operation of the target background system is determined to exceed the preset safety range.
Further, the inspection device based on the operation terminal further comprises: the storage script module is used for storing the inspection script and the background server parameters in a parameter file; and the reference file storage module is used for storing the parameter file in the target operation terminal.
Further, the running inspection script module comprises: and the data acquisition unit is used for operating the inspection script by applying the background server parameters so as to acquire data in the database of the target background system according to the inspection script.
Further, the output module includes: and the alarm unit is used for calling a short message interface of the target operation terminal to output alarm information.
In a third aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the inspection method based on the operation terminal when executing the program.
In a fourth aspect, the present application provides a computer-readable storage medium having stored thereon computer instructions which, when executed, implement the steps of the operation terminal-based inspection method.
According to the technical scheme, the inspection method and the inspection device based on the operation terminal are provided. Wherein, the method comprises the following steps: reading a routing inspection script prestored in a target operation terminal according to a preset time interval; reading corresponding background server parameters according to the polling script, and operating the polling script by using the background server parameters to execute polling operation of a target background system corresponding to the polling script; if the result of the polling operation of the target background system is determined to exceed the preset safety range through judgment, alarm information is output, the real-time performance and flexibility of system polling can be improved, and the stability of the background system is further improved. In addition, the inspection device based on the operation terminal is deployed at the operation terminal, so that the influence on a financial system in a background server is reduced; the operation terminal can be operated and improved at the same time, the polling monitoring function is quickly on-line, and the high efficiency and the agility of development are improved; the short message interface can be directly called through the operation terminal, alarm information is sent, and the real-time performance of alarming is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an inspection method based on an operation terminal in an embodiment of the present application;
fig. 2 is a schematic flowchart of steps 001 and 002 in the inspection method based on the operation terminal in the embodiment of the present application;
FIG. 3 is a schematic structural diagram of an inspection device based on an operation terminal in the embodiment of the present application;
FIG. 4 is a schematic structural diagram of an inspection device based on an operation terminal according to another embodiment of the present application;
fig. 5 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following problems are considered in the existing inspection monitoring system deployed in the production server: the deployment risk on the server is large, and the fault is easy to cause; the development cycle is long because the system cannot be debugged at any time, and only the operation can be carried out in the window changing period, so that the development cycle is long, and the time for adding one monitoring is long. The alarm is delayed, and the alarm log ftp needs to be uploaded to a specified system to send alarm information. Therefore, the inspection method and the inspection device based on the operation terminal are provided by considering changing the existing inspection monitoring system, the inspection device based on the operation terminal is deployed on the operation terminal, and the inspection system is a universal personalized monitoring system. The method completely simulates manual operation and is suitable for various background systems. The system can realize automatic inspection, personalized customization, automatic alarm and automatic statistics. And the operation and maintenance engineer can conveniently diagnose the background operation condition of the application system according to the statistical record. The method and the device can provide effective data support for quick positioning and quick recovery service.
Based on this, in order to improve the real-time performance and flexibility of system polling and further improve the stability of a background system, the embodiment of the present application provides a polling device based on an operation terminal, and the device may be a client device, and the client device may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), a vehicle-mounted device, an intelligent wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch and intelligent bracelet etc..
In practical applications, the inspection based on the operation terminal may be performed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
The server and the client device may communicate using any suitable network protocol, including network protocols not yet developed at the filing date of this application. The network protocol may include, for example, a TCP/IP protocol, a UDP/IP protocol, an HTTP protocol, an HTTPS protocol, or the like. Of course, the network Protocol may also include, for example, an RPC Protocol (Remote Procedure Call Protocol), a REST Protocol (Representational State Transfer Protocol), and the like used above the above Protocol.
The following examples are intended to illustrate the details.
In order to improve the real-time performance and flexibility of system polling and further improve the stability of the background system, the embodiment provides an embodiment of an operation terminal-based polling method in which an execution main body is an operation terminal-based polling device, and with reference to fig. 1, the following contents are specifically included:
step 100: and reading the inspection script prestored in the target operation terminal according to a preset time interval.
Specifically, the preset time interval may be set according to an actual situation, which is not limited in this application. For example, at fixed times per day or at intervals. The target operation terminal comprises a script operation environment, can run the inspection script, can inquire a database according to the inspection script, and can execute the operation of remotely logging in the background server through the inspection script. The target operation terminal can be used for accessing a target background system.
It can be understood that the routing inspection script is stored in the target operation terminal, so that the memory space of the background server can be reduced, the influence on the background server is reduced, the stability and the safety of the background server are improved, and the fault of the background server caused by the fault of the routing inspection device based on the operation terminal is avoided.
Step 200: and reading corresponding background server parameters according to the inspection script, and operating the inspection script by using the background server parameters to execute the inspection operation of the target background system corresponding to the inspection script.
Specifically, data in a database of the target background system is remotely read according to the routing inspection script, and whether the financial system transaction is abnormal or not is judged according to the data. If yes, alarm information is output. And reading the obtained data in the database of the target background system to obtain the inspection result.
The background server parameters include: and remotely reading a database and remotely querying a user name and a password required by the content of the background server, wherein the target background system is deployed in the background server. The system safety can be improved, and the isolation between developers and operation and maintenance personnel is realized. The system inspection is carried out by applying the same set of inspection script in the same mode under different server parameters and different environments.
Step 300: and if the result of the routing inspection operation of the target background system is determined to be beyond the preset safety range through judgment, outputting alarm information.
Specifically, the short message interface of the target operation terminal is called to output alarm information, and the short message interface is directly called through the operation terminal, so that the real-time performance of alarm can be improved. The preset safety range can be set according to actual conditions, and the application is not limited to this. When the short message is output for warning, only warning brief description and operation suggestion can be sent due to the word number limitation.
Three alarm strategies can be configured: fixing a threshold value, inquiring 10 transactions with transaction time of more than 30 seconds within 5 minutes, and outputting alarm information if the transaction amount exceeds a preset normal transaction amount; low value policies, such as: inquiring 10 transactions with transaction time of more than 30 seconds in 5 minutes, wherein the minimum transaction time is 40 seconds, then counting the transactions with transaction time of more than 40 seconds in the next 5 minutes, and judging whether the transaction amount exceeds a preset safety range in the process; high value policies, such as: inquiring 10 transactions with transaction time of more than 30 seconds in 5 minutes, wherein the longest transaction time is 50 seconds, then counting the transactions with transaction time of more than 50 seconds in the next 5 minutes, and judging whether the transaction amount exceeds a preset safety range in the process. According to the alarm strategy, various forms of alarm information can be output, such as short message alarm and WeChat alarm. And the short message interface can be directly called through the target operation terminal to send alarm information.
In order to improve the flexibility and reliability of system inspection, referring to fig. 2, before step 100, there are further included:
step 001: and storing the routing inspection script and the background server parameters in a parameter file.
Specifically, the background server parameters and the patrol script are both set in a parameter file. The inspection script comprises an inspection instruction template and a script parameter. The same type of patrol is configured into a universal patrol instruction template, each patrol template can be written at the initial stage, and the patrol templates are gradually optimized and integrated in the system operation. The inspection instruction template is stored in the inspection script in advance, and parameter substitutes are reserved in the inspection instruction template. For example, a polling command is "number of transactions whose transaction time exceeds 1 second in 5 minutes", and writing a template of the polling command is "number of transactions whose transaction time exceeds # second in # minute # in query". If the routing inspection items are added, corresponding routing inspection instruction templates are added, and the existing program codes do not need to be changed. The specific contents of the patrol instruction template and the script parameters can be set according to the actual situation, and the application is not limited to this.
Step 002: and storing the parameter file in the target operation terminal.
In an embodiment of the present application, after step 300, the method further includes: and recording and storing the alarm information.
Specifically, the alarm log complete record needs to record the following information: 1. the time at which the alarm occurred; 2. brief description of alarm; 3. a polling instruction executed when alarming; 4. and after the alarm occurs, recommending the executed operation.
In order to further improve the real-time performance and flexibility of system polling and further improve the stability of the background system, in an embodiment of the present application, step 200 includes:
step 201: and running the inspection script by applying the background server parameters to acquire data in the database of the target background system according to the inspection script.
In terms of software, in order to improve the real-time performance and flexibility of system inspection and further improve the stability of a background system, an embodiment of the inspection device based on an operation terminal for implementing all or part of the contents in the inspection method based on the operation terminal is provided in the present application, referring to fig. 3, and the inspection device based on the operation terminal specifically includes the following contents:
the inspection script reading module 10 is configured to read an inspection script pre-stored in the target operation terminal according to a preset time interval;
the inspection script running module 20 is configured to read corresponding background server parameters according to the inspection script, and run the inspection script by using the background server parameters to execute inspection work of a target background system corresponding to the inspection script;
and the output module 30 is used for outputting alarm information if the result of the routing inspection operation of the target background system is determined to exceed the preset safety range.
In an embodiment of the present application, referring to fig. 4, the inspection device based on the operation terminal further includes:
the storage script module 40 is used for storing the inspection script and the background server parameters in a parameter file;
and a reference file storage module 50, configured to store the parameter file in the target operation terminal.
In an embodiment of the present application, the run patrol script module includes:
and the data acquisition unit is used for operating the inspection script by applying the background server parameters so as to acquire data in the database of the target background system according to the inspection script.
In one embodiment of the present application, the output module includes:
and the alarm unit is used for calling a short message interface of the target operation terminal to output alarm information.
In order to further explain the present solution, the present application further provides a specific application example of the inspection monitoring system, where the inspection system, that is, the inspection device based on the operation terminal, is deployed at the operation terminal, and includes: the system comprises a parameter configuration module, a patrol operation execution module and a timing scheduling module, and is specifically described as follows:
and the parameter configuration module is used for configuring the parameter document by the operation and maintenance personnel through a graphical interface. When a configuration is added, the code to read the configuration is displayed. Because the system is composed of scripts, the codes are all visible. The execution main body can be an operation and maintenance person or an operation terminal.
In particular, the operation and maintenance engineer is responsible for maintaining and ensuring high availability of the entire service, while constantly optimizing the system.
The inspection operation execution module is used for reading the inspection template, executing inspection action and acquiring an inspection result; reading a monitoring threshold configuration parameter, and judging whether to alarm or not according to an alarm strategy; outputting the abstract alarm information to a mobile phone of an attendant; and recording detailed alarm information to an operation terminal file.
And the timing scheduling module is used for reading the polling frequency parameter configuration file and calling related polling operation according to the configuration parameters.
According to the above description, the patrol inspection monitoring system can run the patrol inspection script, can be connected with the database, can remotely log in and execute the query command, and further can realize patrol inspection operation of the background system at the operation terminal, improve the real-time performance and flexibility of system patrol inspection, and further improve the stability of the background system.
In order to further explain the scheme, the present application further provides a specific application example of the inspection method based on the operation terminal, in the application example, the script operation environment deployed by the operation terminal is a python environment, and the specific application example specifically includes the following contents:
s1: the configuration information is read.
S2: and starting the polling operation at regular time.
S3: and judging the inspection operation result.
S4: and outputting an alarm.
According to the above description, the inspection method and the inspection device based on the operation terminal are provided, so that the real-time performance and flexibility of inspection of the system can be improved, and the stability of the background system can be further improved; the abnormal condition in the transaction process is monitored in real time by inspecting the background system in real time, and an alarm is given in time, so that the system is maintained according to the alarm information, and the stability of the background system is improved; in addition, the inspection device based on the operation terminal is deployed at the operation terminal, so that the influence of the fault of the inspection device based on the operation terminal on a background system can be avoided, and the stability of the system is further improved.
In terms of hardware, in order to improve the real-time performance and flexibility of system inspection and further improve the stability of a background system, the present application provides an embodiment of an electronic device for implementing all or part of contents in the inspection method based on an operation terminal, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the inspection device based on the operation terminal, the user terminal and other related equipment; the electronic device may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the electronic device may be implemented with reference to an embodiment of the present invention for implementing the inspection method based on the operation terminal and an embodiment for implementing the inspection device based on the operation terminal, which are incorporated herein, and repeated details are not repeated.
Fig. 5 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 5, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this FIG. 5 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one or more embodiments of the present application, the patrol function based on the operation terminal may be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
step 100: and reading the inspection script prestored in the target operation terminal according to a preset time interval.
Step 200: and reading corresponding background server parameters according to the inspection script, and operating the inspection script by using the background server parameters to execute the inspection operation corresponding to the inspection script.
Step 300: and if the result of the routing inspection operation of the target background system is determined to be beyond the preset safety range through judgment, outputting alarm information.
From the above description, the electronic device provided by the embodiment of the application can improve the real-time performance and flexibility of system polling, and further improve the stability of the background system.
In another embodiment, the operation terminal based inspection device may be configured separately from the central processor 9100, for example, the operation terminal based inspection device may be configured as a chip connected to the central processor 9100, and the operation terminal based inspection function may be implemented by the control of the central processor.
As shown in fig. 5, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 5; further, the electronic device 9600 may further include components not shown in fig. 5, which may be referred to in the art.
As shown in fig. 5, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
According to the description, the electronic equipment provided by the embodiment of the application can improve the real-time performance and flexibility of system inspection, and further improve the stability of a background system.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all the steps in the inspection method based on the operation terminal in the above embodiment, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, implements all the steps in the inspection method based on the operation terminal in the above embodiment, for example, the processor implements the following steps when executing the computer program:
step 100: and reading the inspection script prestored in the target operation terminal according to a preset time interval.
Step 200: and reading corresponding background server parameters according to the inspection script, and operating the inspection script by using the background server parameters to execute the inspection operation corresponding to the inspection script.
Step 300: and if the result of the routing inspection operation of the target background system is determined to be beyond the preset safety range through judgment, outputting alarm information.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application can improve the real-time performance and flexibility of system polling, thereby improving the stability of the background system.
In the present application, each embodiment of the method is described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. Reference is made to the description of the method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, 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, 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.
The present application is 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.
The principle and the implementation mode of the present application are explained by applying specific embodiments in the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A patrol method based on an operation terminal is characterized by comprising the following steps:
reading a routing inspection script prestored in a target operation terminal according to a preset time interval;
reading corresponding background server parameters according to the polling script, and operating the polling script by using the background server parameters to execute polling operation of a target background system corresponding to the polling script;
and if the result of the routing inspection operation of the target background system is determined to be beyond the preset safety range through judgment, outputting alarm information.
2. The inspection method based on the operation terminal according to claim 1, wherein before the reading the inspection script pre-stored in the target operation terminal according to the preset time interval, the method further comprises:
storing the inspection script and the background server parameters in a parameter file;
and storing the parameter file in the target operation terminal.
3. The inspection method based on the operation terminal, according to the claim 1, wherein the inspection script is executed by applying the parameters of the background server to execute the inspection operation of the target background system corresponding to the inspection script, and the inspection method comprises the following steps:
and running the inspection script by applying the background server parameters to acquire data in the database of the target background system according to the inspection script.
4. The inspection method based on the operation terminal, according to claim 1, wherein the outputting of the alarm information includes:
and calling a short message interface of the target operation terminal to output alarm information.
5. The utility model provides a patrol inspection device based on operation terminal which characterized in that includes:
the inspection script reading module is used for reading an inspection script prestored in the target operation terminal according to a preset time interval;
the inspection script running module is used for reading corresponding background server parameters according to the inspection script and running the inspection script by applying the background server parameters so as to execute the inspection operation of a target background system corresponding to the inspection script;
and the output module is used for outputting alarm information if the result of the routing inspection operation of the target background system is determined to exceed the preset safety range.
6. The inspection device based on the operation terminal, according to claim 5, further comprising:
the storage script module is used for storing the inspection script and the background server parameters in a parameter file;
and the reference file storage module is used for storing the parameter file in the target operation terminal.
7. The inspection device based on the operation terminal, according to the claim 5, wherein the operation inspection script module comprises:
and the data acquisition unit is used for operating the inspection script by applying the background server parameters so as to acquire data in the database of the target background system according to the inspection script.
8. The inspection device according to claim 5, wherein the output module includes:
and the alarm unit is used for calling a short message interface of the target operation terminal to output alarm information.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the inspection method based on the operation terminal according to any one of claims 1 to 4 when executing the program.
10. A computer-readable storage medium having stored thereon computer instructions, wherein the instructions, when executed, implement the steps of the operation terminal based inspection method according to any one of claims 1 to 4.
CN201911178743.7A 2019-11-27 2019-11-27 Inspection method and device based on operation terminal Active CN110908875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911178743.7A CN110908875B (en) 2019-11-27 2019-11-27 Inspection method and device based on operation terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911178743.7A CN110908875B (en) 2019-11-27 2019-11-27 Inspection method and device based on operation terminal

Publications (2)

Publication Number Publication Date
CN110908875A true CN110908875A (en) 2020-03-24
CN110908875B CN110908875B (en) 2024-02-27

Family

ID=69819861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911178743.7A Active CN110908875B (en) 2019-11-27 2019-11-27 Inspection method and device based on operation terminal

Country Status (1)

Country Link
CN (1) CN110908875B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111723880A (en) * 2020-06-08 2020-09-29 中国工商银行股份有限公司 Detection method and device for equipment inspection operation
CN111966573A (en) * 2020-04-14 2020-11-20 北京中交兴路信息科技有限公司 Automatic inspection method, device, storage medium and terminal
CN112000539A (en) * 2020-07-17 2020-11-27 新华三大数据技术有限公司 Inspection method and device
CN112215978A (en) * 2020-10-14 2021-01-12 国网湖南省电力有限公司 Intelligent power grid inspection terminal, system and method
CN112463612A (en) * 2020-12-02 2021-03-09 中国工商银行股份有限公司 Inspection method, inspection device, electronic device and inspection medium
CN113656245A (en) * 2021-08-12 2021-11-16 北京中亦安图科技股份有限公司 Data inspection method and device, storage medium and processor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259681A (en) * 2013-05-16 2013-08-21 浪潮通信信息系统有限公司 Method for automatic routing inspection of communication network host
CN104579745A (en) * 2014-12-04 2015-04-29 国家电网公司 Mobile terminal and network inspection system
CN206948352U (en) * 2017-06-27 2018-01-30 国网山东省电力公司威海供电公司 A kind of portable hand-held network patrol device
CN108055165A (en) * 2017-12-12 2018-05-18 浙江齐治科技股份有限公司 The method and equipment patrolling device of equipment routing inspection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103259681A (en) * 2013-05-16 2013-08-21 浪潮通信信息系统有限公司 Method for automatic routing inspection of communication network host
CN104579745A (en) * 2014-12-04 2015-04-29 国家电网公司 Mobile terminal and network inspection system
CN206948352U (en) * 2017-06-27 2018-01-30 国网山东省电力公司威海供电公司 A kind of portable hand-held network patrol device
CN108055165A (en) * 2017-12-12 2018-05-18 浙江齐治科技股份有限公司 The method and equipment patrolling device of equipment routing inspection

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966573A (en) * 2020-04-14 2020-11-20 北京中交兴路信息科技有限公司 Automatic inspection method, device, storage medium and terminal
CN111966573B (en) * 2020-04-14 2023-11-24 北京中交兴路信息科技有限公司 Automatic inspection method, device, storage medium and terminal
CN111723880A (en) * 2020-06-08 2020-09-29 中国工商银行股份有限公司 Detection method and device for equipment inspection operation
CN111723880B (en) * 2020-06-08 2023-09-08 中国工商银行股份有限公司 Detection method and device for equipment inspection operation
CN112000539A (en) * 2020-07-17 2020-11-27 新华三大数据技术有限公司 Inspection method and device
CN112215978A (en) * 2020-10-14 2021-01-12 国网湖南省电力有限公司 Intelligent power grid inspection terminal, system and method
CN112463612A (en) * 2020-12-02 2021-03-09 中国工商银行股份有限公司 Inspection method, inspection device, electronic device and inspection medium
CN113656245A (en) * 2021-08-12 2021-11-16 北京中亦安图科技股份有限公司 Data inspection method and device, storage medium and processor

Also Published As

Publication number Publication date
CN110908875B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN110908875B (en) Inspection method and device based on operation terminal
CN103313216B (en) Message prompt method, system and device for communication account
CN111031058A (en) Websocket-based distributed server cluster interaction method and device
CN110990228A (en) Data interface monitoring method and device
CN110764881A (en) Distributed system background retry method and device
CN111782470A (en) Distributed container log data processing method and device
CN113435989A (en) Financial data processing method and device
CN112069154A (en) Automatic operation and maintenance method and related device for etcd distributed database
CN113190516A (en) Data synchronization monitoring method and device
CN113485952A (en) Data batch transmission method and device
CN114285657B (en) Firewall security policy change verification method and device
CN115914375A (en) Disaster tolerance processing method and device for distributed message platform
CN113918436A (en) Log processing method and device
CN113515447A (en) System automation test method and device
CN113377385A (en) Client automatic deployment method and device
CN111953847A (en) Client message risk reminding method, device and system
CN112766827A (en) Automatic processing method and device for asset inventory data
CN113094270B (en) Project automatic verification method and device
CN111158744B (en) Cross-platform heterogeneous data integration method and device
CN113810228B (en) Message queue channel resetting method and device
CN115021938A (en) Secure digital certificate application method and device
CN115880067A (en) Transaction abnormal data processing method and device
CN114691648A (en) System service dynamic scaling method and device
CN113485808A (en) System time callback method and device
CN113342501A (en) System fault processing 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