Abnormal construction method and device of storage equipment, electronic equipment and storage medium
A storage device and abnormal structure technology, which is applied in the computer field, can solve problems such as time-consuming, inaccurate abnormal structure, and storage device type restrictions, and achieve a fast effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flow chart of a storage device exception construction method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of constructing storage device exceptions when testing a distributed storage system. This method can be implemented by the corresponding storage device Executed by an abnormal construction device, which can be implemented in the form of software and / or hardware, and can be configured on electronic equipment, such as a computer terminal or server.
[0029] Such as figure 1 As shown, the abnormal construction method of the storage device provided in the embodiment of the present invention may include:
[0030] S110. Responding to the call of the program under test to the target rewriting operation function in the preloaded library, acquire an abnormal parameter of the storage device.
[0031] Wherein, the program under test refers to any program in the system under test, and the system under test may b...
Embodiment 2
[0050] figure 2 It is a schematic flowchart of a storage device exception construction method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments, such as figure 2 As shown, the abnormal construction method of the storage device provided in the embodiment of the present invention may include:
[0051] S210. Obtain an abnormal parameter of the storage device in response to the program under test calling the target rewriting operation function in the preloaded library.
[0052] In the embodiment of the present invention, in addition to at least one type of abnormal operation information of the storage device related to the operation function of the storage device, the exception parameter also includes abnormal configuration conditions. In a specific business scenario, many programs are required for processing, so the target program that needs exception construction among multiple programs can be judged through...
Embodiment 3
[0066] image 3 It is a schematic structural diagram of an abnormal configuration device for a storage device provided in Embodiment 3 of the present invention. Such as image 3 As shown, the device includes:
[0067] Abnormal parameter acquisition module 310, used to respond to the call of the program under test to the target rewriting operation function in the preloaded library, and obtain the abnormal parameter of the storage device;
[0068] An abnormal operation information acquisition module 320, configured to acquire abnormal operation information of the storage device corresponding to the target rewriting operation function from the abnormal parameters;
[0069] The first feedback module 330 is configured to feed back the abnormal operation information of the storage device to the program under test;
[0070] Wherein, the program under test is started based on a preloaded library, and the preloaded library includes a plurality of rewriting operation functions, and e...
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