Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

BMC Web automatic detection method and system based on web crawler and medium

A web crawler and automatic detection technology, applied in the field of server detection, can solve the problems that manual BMCWeb detection cannot guarantee timeliness and accuracy, browser type requirements, etc., so as to reduce server pressure, avoid tedious work, reduce manpower and The effect of time consumption

Active Publication Date: 2021-07-02
SHANDONG YINGXIN COMP TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This invention mainly solves the problem that in the existing BMC Web detection process, there are requirements for browser types, and manual BMC Web detection cannot guarantee timeliness and accuracy

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • BMC Web automatic detection method and system based on web crawler and medium
  • BMC Web automatic detection method and system based on web crawler and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] A kind of BMC Web automatic detection method based on web crawler of the present invention, please refer to figure 1 , including the following steps:

[0045] The embodiment of the present invention proposes a method based on a web crawler to realize automatic detection of BMC Web. Because the server BMC Web loads data dynamically, the Web API method is used to quickly and efficiently grab the required content, because WebAPI is a The technology used to develop inter-system interfaces and device interface APIs is based on the Http protocol. The default request and return format results are in json format, which saves traffic and is more concise than directly using Web display.

[0046] However, when acquiring data through the API interface, the Token must first be acquired. The Token is a string of strings generated by the server as a token for the client to request. When logging in for the first time, the server generates a Token will return this Token to the client, ...

Embodiment 2

[0065] The embodiment of the present invention provides a kind of BMC Web automatic detection system based on web crawler, please refer to figure 2 , including: requests module, response module, pandas module, eval unit, loc unit and to_excel unit.

[0066] The requests module is used to import the user name and password and edit them into a dictionary form, and receive and send access BMC instructions, and the requests module edits the sent instructions and their carried user names and passwords into a form form.

[0067] The response module is used to store the response information of the BMC. The response information of the BMC in the response module is text content. The response module comes with a json decoder and an eval unit. The json decoder and the eval function decode the response information into a dictionary form. The response module Obtain the Token by decoding the response information in dictionary form, and return the Token to the requests module.

[0068] The...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a BMC Web automatic detection method based on a web crawler. The method comprises the following steps: acquiring Token through the web crawler; accessing an API of the BMC by carrying the Token, acquiring information of a plurality of BMCs and executing an information comparison step; comparing the at least one piece of BMC information with the template information, and outputting a comparison result; executing the comparison information circularly, and executing a comparison result archiving step after the comparison of the acquired plurality of pieces of BMC information and the template information is completed; and converting formats of the plurality of comparison results and storing the comparison results. By means of the mode, the data content in the API interface of the BMC can be directly obtained, the compiled template information is compared with the data content, the comparison result can be displayed in real time in the comparison process, and after comparison of all the data content is completed, the comparison result is subjected to format conversion and stored; the method can relieve the pressure of the server and reduce the consumption of manpower and time.

Description

technical field [0001] The invention relates to the technical field of server detection, in particular to a web crawler-based BMC Web automatic detection method, system and medium. Background technique [0002] During the server detection process, the information detection of the BMC Web interface is the core item. However, most of the current inspections for the server BMC Web interface use manual methods. Because there are many items to be detected during the BMC Web detection process, the manual detection method causes problems. It consumes a lot of manpower, and the manual detection method cannot guarantee the accuracy of the detection results, so the existing technology proposes to use the selenium tool for BMC Web detection, but this detection result has requirements for the browser type, and needs to be based on different The browser installs the driver, resulting in frequent driver updates. [0003] Therefore, a BMC Web detection method is proposed. This method has ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/951G06F11/30G06F40/186G06F40/194
CPCG06F16/951G06F11/3006G06F11/3051G06F40/186G06F40/194Y02D10/00
Inventor 王艳春
Owner SHANDONG YINGXIN COMP TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products