CN107248934A - A kind of automatic detecting method and device - Google Patents

A kind of automatic detecting method and device Download PDF

Info

Publication number
CN107248934A
CN107248934A CN201710447308.4A CN201710447308A CN107248934A CN 107248934 A CN107248934 A CN 107248934A CN 201710447308 A CN201710447308 A CN 201710447308A CN 107248934 A CN107248934 A CN 107248934A
Authority
CN
China
Prior art keywords
inspection
template
patrol task
component
inspection template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710447308.4A
Other languages
Chinese (zh)
Inventor
房体盈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710447308.4A priority Critical patent/CN107248934A/en
Publication of CN107248934A publication Critical patent/CN107248934A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of automatic detecting method and device, and the above method comprises the following steps:Pass through inspection template, create patrol task and execution is scheduled to the patrol task, it is patrol task template to realize the inspection of similar service and correspondence performing operative combination, the definition and configuration of the convenient similar entity patrol task of batch, by the issue of large increase patrol task, intelligent inspection is realized.

Description

A kind of automatic detecting method and device
Technical field
The invention belongs to O&M technical field, more particularly to a kind of automatic detecting method and device.
Background technology
In field of cloud calculation, there are three kinds of service modes, infrastructure is service IaaS, and platform is to service PaaS and software i.e. SaaS layers of service;The service such as IaaS layers of the commonly provided calculating, storage, network, PaaS layer offer middleware services, Distributed Calculation Etc. platform service, SaaS layers of offer software class service.
, it is necessary to inspect periodically each service capability information of whole data center, state in daily maintenance work, formation is patrolled Inspection report can bring very hard work using manual type to operation maintenance personnel and tend to error, this just makes for examining Inspection must be automated more meaningful;However, inspection configuration generation patrol task is also a very hard work, it is necessary to safeguard all Such as SHELL, SQL script.
Therefore, above-mentioned technical problem is solved in the urgent need to a kind of intelligentized automatic detecting method.
The content of the invention
The present invention provides a kind of automatic detecting method and device, to solve the above problems.
The embodiment of the present invention provides a kind of automatic detecting method and device, and the above method comprises the following steps:Pass through inspection Template, creates patrol task and is scheduled execution to the patrol task.
The embodiment of the present invention also provides a kind of file security control device, including creation module, scheduler module;Wherein, institute Creation module is stated with the scheduler module to be connected;
The creation module, for creating inspection template;It is additionally operable to, by the inspection template, create patrol task;Also For creating one or more inspections for examined in determination;
The scheduler module, for being scheduled execution to the patrol task.
Pass through following scheme:By inspection template, create patrol task and execution is scheduled to the patrol task, it is real Show and the inspection of similar service and correspondence are performed into operative combination for patrol task template, the convenient similar entity inspection of batch is appointed The definition and configuration of business, by the issue of large increase patrol task, realize intelligent inspection.
Pass through following scheme:The species of the inspection template includes:Server inspection template, network equipment inspection template, Storage device inspection template, database inspection template, platform are to service inspection template, middleware inspection template, diversified to patrol Template is examined, it is patrol task template to realize the inspection of similar service and correspondence performing operative combination, and convenient batch is similar The definition and configuration of entity patrol task, by the issue of large increase patrol task.
Pass through following scheme:In the patrol task, inspection component is operated, wherein, the operation includes:Increase Plus, delete, modification, order adjust so that the task of inspection more have specific aim, improve routing inspection efficiency.
Pass through following scheme:When the patrol task starts, batch setting examined in determination, polling period, startup time, greatly Big lifting routing inspection efficiency.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 show the automatic detecting method process chart of the embodiment of the present invention 1;
Fig. 2 show the establishment inspection template schematic diagram of the embodiment of the present invention 2;
Fig. 3 show the establishment patrol task schematic diagram of the embodiment of the present invention 3;
Fig. 4 show the automatic inspection device structure chart of the embodiment of the present invention 4.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
Fig. 1 show the automatic detecting method process chart of the embodiment of the present invention 1, comprises the following steps:
Step 101:Create inspection template;
Further, the inspection template refers to the set of inspection component;Wherein, the inspection component refers to an inspection The operation of item.
Further, the one or more inspections of examined in determination correspondence.
Further, the inspection includes:Cpu busy percentage, memory usage, enter number of passes, running status.
Further, the species of the inspection template includes:Server inspection template, network equipment inspection template, storage Equipment routing inspection template, database inspection template, platform are service PaaS inspections template, middleware inspection template.
For example:One cloud service (such as cloud main frame) is referred to as an examined in determination, an examined in determination correspondence one by us Or multiple inspections, by the operation to inspection (such as cpu busy percentage of cloud main frame, memory usage, enter number of passes, running status) An inspection component is defined as, an inspection component refers to the operation of an inspection.In inspection assembly management, it can be directed to The inspection of one examined in determination, which is increased, deleted, changed etc., to be operated.
Inspection Template Manager, inspection template may be defined as a series of set of inspection components.Can be to inspection template classification Management, the species of inspection template includes as described:Server inspection template, network equipment inspection template, storage device inspection mould Plate, database inspection template, platform are service inspection template, middleware inspection template etc.;Inspection component can be increased, Delete, change, looking into operation, and execution sequence can be adjusted.
Step 102:By inspection template, create patrol task and execution is scheduled to the patrol task.
Further, in the patrol task, inspection component is operated, wherein, the operation includes:Increase, Delete, change, order is adjusted.
Further, when the patrol task starts, batch setting examined in determination, polling period, startup time.
For example:Patrol task is managed, and is the minimum unit and scheduler object of inspection scheduling, can be triggered by scheduling is automatic, It can also trigger manually;Patrol task is also by a series of set of inspection components.Patrol task can introduce inspection template, i.e., Introduce inspection template a series of inspection components, inspection component can also be increased in patrol task, delete, change, looking into, adjustment sequentially Deng work;, can be with batch setting examined in determination, polling period, startup time when patrol task starts.
Inspection management and running, for patrol task periodically to be performed by startup time scheduling, after tasks carrying is finished Generate inspection report.
Citing is described in detail below:
The first step:Create inspection component;
One inspection component is used as by a mysql order, data are stored in database
Component 1:
# shows all database mysql
show databases
Component 2:
# shows all database connection number mysql
show all processlist
Second step:Create inspection template (as shown in Figure 2)
Inspection template is created, component 1, component 2 can be introduced as the inspection component of template, by inspection Template Information (template With component corresponding relation) it is saved in database, template name can be named as template 1.
3rd step:Create patrol task (as shown in Figure 3)
Create patrol task, can by introducing the direct establishment task of template 1, after the component of introducing can be increased, deleted, it is suitable Sequence adjustment operation, patrol task information (task and the relation of component) is saved in database, and task names, which can be named as, appoints Business 1;This example directly creates task by template 1.
4th step:Issue patrol task
Choose monitored object, configuration good object IP to be monitored, remote access user's name, password, port numbers;And configure In the good tasks carrying cycle, perform the time;Backstage can automatically generate mission script, while tasks carrying information (task odd numbers, is held Line period, execution time, perform script catalogue) it is stored in database.
5th step:According to the execution time of task, the cycle is performed, mission script is performed automatically, inspection report is then generated.
Fig. 4 show the file security control structure drawing of device of the embodiment of the present invention 4, including creation module, scheduler module; Wherein, the creation module is connected with the scheduler module;
The creation module, for creating inspection template;It is additionally operable to, by the inspection template, create patrol task;Also For creating one or more inspections for examined in determination;
The scheduler module, for being scheduled execution to the patrol task.
Further, the inspection template refers to the set of inspection component;Wherein, the inspection component refers to an inspection The operation of item.
Pass through following scheme:By inspection template, create patrol task and execution is scheduled to the patrol task, it is real Show and the inspection of similar service and correspondence are performed into operative combination for patrol task template, the convenient similar entity inspection of batch is appointed The definition and configuration of business, by the issue of large increase patrol task, realize intelligent inspection.
Pass through following scheme:The species of the inspection template includes:Server inspection template, network equipment inspection template, Storage device inspection template, database inspection template, platform are to service inspection template, middleware inspection template, diversified to patrol Template is examined, it is patrol task template to realize the inspection of similar service and correspondence performing operative combination, and convenient batch is similar The definition and configuration of entity patrol task, by the issue of large increase patrol task.
Pass through following scheme:In the patrol task, inspection component is operated, wherein, the operation includes:Increase Plus, delete, modification, order adjust so that the task of inspection more have specific aim, improve routing inspection efficiency.
Pass through following scheme:When the patrol task starts, batch setting examined in determination, polling period, startup time, greatly Big lifting routing inspection efficiency.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (9)

1. a kind of automatic detecting method, it is characterised in that comprise the following steps:By inspection template, patrol task is created and right The patrol task is scheduled execution.
2. according to the method described in claim 1, it is characterised in that the inspection template refers to the set of inspection component;Wherein, The inspection component refers to the operation of an inspection.
3. method according to claim 2, it is characterised in that the one or more inspections of examined in determination correspondence.
4. method according to claim 2, it is characterised in that the inspection includes:Cpu busy percentage, memory usage, Enter number of passes, running status.
5. method according to claim 2, it is characterised in that the species of the inspection template includes:Server inspection mould Plate, network equipment inspection template, storage device inspection template, database inspection template, platform be service PaaS inspections template, in Between part inspection template.
6. method according to claim 2, it is characterised in that in the patrol task, is operated to inspection component, Wherein, the operation includes:Increase, deletion, modification, order are adjusted.
7. according to the method described in claim 1, it is characterised in that when the patrol task starts, batch setting examined in determination, Polling period, startup time.
8. a kind of automatic inspection device, it is characterised in that including creation module, scheduler module;Wherein, the creation module and institute Scheduler module is stated to be connected;
The creation module, for creating inspection template;It is additionally operable to, by the inspection template, create patrol task;It is additionally operable to One or more inspections are created for examined in determination;
The scheduler module, for being scheduled execution to the patrol task.
9. device according to claim 8, it is characterised in that the inspection template refers to the set of inspection component;Wherein, The inspection component refers to the operation of an inspection.
CN201710447308.4A 2017-06-14 2017-06-14 A kind of automatic detecting method and device Pending CN107248934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710447308.4A CN107248934A (en) 2017-06-14 2017-06-14 A kind of automatic detecting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710447308.4A CN107248934A (en) 2017-06-14 2017-06-14 A kind of automatic detecting method and device

Publications (1)

Publication Number Publication Date
CN107248934A true CN107248934A (en) 2017-10-13

Family

ID=60018080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710447308.4A Pending CN107248934A (en) 2017-06-14 2017-06-14 A kind of automatic detecting method and device

Country Status (1)

Country Link
CN (1) CN107248934A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109118607A (en) * 2018-07-26 2019-01-01 郑州云海信息技术有限公司 Equipment routing inspection method and inspection device
CN109636241A (en) * 2018-12-31 2019-04-16 武汉智引科技有限公司 Based on multiattribute investigation task creation system, method, storage medium and terminal
CN109995612A (en) * 2019-03-21 2019-07-09 北京奇艺世纪科技有限公司 A kind of service method for inspecting, device and electronic equipment
CN110245759A (en) * 2019-05-17 2019-09-17 网宿科技股份有限公司 A kind of method for inspecting, system, server and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043692A (en) * 2007-04-30 2007-09-26 华为技术有限公司 Patrol checking method and patrol checking server
CN103475531A (en) * 2012-06-08 2013-12-25 中兴通讯股份有限公司 Abnormity processing method, automatic inspection console and knowledge base system
CN103903312A (en) * 2012-12-27 2014-07-02 中国移动通信集团河南有限公司 Method and device for executing automatic inspection
CN106528375A (en) * 2016-11-10 2017-03-22 广州供电局有限公司 Automatic inspection method based on simulated user behaviors

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043692A (en) * 2007-04-30 2007-09-26 华为技术有限公司 Patrol checking method and patrol checking server
CN103475531A (en) * 2012-06-08 2013-12-25 中兴通讯股份有限公司 Abnormity processing method, automatic inspection console and knowledge base system
CN103903312A (en) * 2012-12-27 2014-07-02 中国移动通信集团河南有限公司 Method and device for executing automatic inspection
CN106528375A (en) * 2016-11-10 2017-03-22 广州供电局有限公司 Automatic inspection method based on simulated user behaviors

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109118607A (en) * 2018-07-26 2019-01-01 郑州云海信息技术有限公司 Equipment routing inspection method and inspection device
CN109636241A (en) * 2018-12-31 2019-04-16 武汉智引科技有限公司 Based on multiattribute investigation task creation system, method, storage medium and terminal
CN109995612A (en) * 2019-03-21 2019-07-09 北京奇艺世纪科技有限公司 A kind of service method for inspecting, device and electronic equipment
CN109995612B (en) * 2019-03-21 2020-12-25 北京奇艺世纪科技有限公司 Service inspection method and device and electronic equipment
CN110245759A (en) * 2019-05-17 2019-09-17 网宿科技股份有限公司 A kind of method for inspecting, system, server and equipment

Similar Documents

Publication Publication Date Title
WO2022095435A1 (en) Multilevel linkage management platform for aiot device accessing paas and saas
CN1326044C (en) Automation software testing system based on script explanatory tool
CN107248934A (en) A kind of automatic detecting method and device
JP5623271B2 (en) Information processing apparatus, authority management method, program, and recording medium
CN111274001B (en) Micro-service management platform
EP2772875A1 (en) Identifying quality requirements of a software product
CN113987541A (en) Data access control method and device and electronic equipment
CN109905492B (en) Safety operation management system and method based on distributed modular data center
CN111143391A (en) Data sharing exchange method and system
CN114626807A (en) Nuclear power scene management method, system, device, computer equipment and storage medium
CN115658658A (en) Batch processing-based data sharing method and device for enterprise data middleboxes and storage medium
CN114385126B (en) K8 s-based multi-tenant deep learning model research and development system and method
CN111738806A (en) Cloud manufacturing platform for SMT intelligent manufacturing
CN113836237A (en) Method and device for auditing data operation of database
CN114513419A (en) Security policy configuration method and system
WO2023093379A1 (en) Disaster recovery switching method and system, electronic device, and storage medium
US20190129830A1 (en) Integrated resource scheduler, configurator, and visualizer
CN111797084B (en) Data coding through mark inspection method and system based on weapon equipment test flow
CN109412861B (en) Method for establishing security association display of terminal network
CN113065801A (en) Organization architecture management method, device, equipment and storage medium
CN112306862A (en) Front-end automatic test system and method, storage medium and computing equipment
US11777792B2 (en) Systems and methods for ranked visualization of events
CN116432169B (en) Automatic task permission control method, system and equipment based on sharing strategy
CN117407456B (en) Structured data sharing system for nuclear power service
Chen et al. Framework Design and Application of Enterprise Intranet Automation Operation and Maintenance

Legal Events

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

Application publication date: 20171013