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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com