CN103646669A - Method and device for detecting reliability of removable storage device - Google Patents

Method and device for detecting reliability of removable storage device Download PDF

Info

Publication number
CN103646669A
CN103646669A CN201310632879.7A CN201310632879A CN103646669A CN 103646669 A CN103646669 A CN 103646669A CN 201310632879 A CN201310632879 A CN 201310632879A CN 103646669 A CN103646669 A CN 103646669A
Authority
CN
China
Prior art keywords
storage device
movable storage
server side
client
data
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
CN201310632879.7A
Other languages
Chinese (zh)
Other versions
CN103646669B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310632879.7A priority Critical patent/CN103646669B/en
Publication of CN103646669A publication Critical patent/CN103646669A/en
Application granted granted Critical
Publication of CN103646669B publication Critical patent/CN103646669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and device for detecting reliability of a removable storage device. The method comprises the following steps that a server receives hardware attribute information of the removable storage device uploaded by a client when the removable storage device is accessed; the server judges a risk level of the current removable storage device according to the hardware attribute information and extracts a corresponding detection rule according to the risk level; the server initiates detection of the removable storage device accessed to the client by adopting the detection rule and acquires the detection result of the removable storage device; and the server returns the detection result of the removable storage device. The method is used for rapidly improving the detection rate of the removable storage device.

Description

A kind of reliability checking method of movable storage device and device
Technical field
The present invention relates to the technical field of movable storage device, be specifically related to a kind of reliability checking method of movable storage device, and, a kind of reliability detecting device of movable storage device.
Background technology
The development of information age impels people increasing to the demand of electronic information, in daily study and work life, can relate to unavoidably moving and carrying of electronic information, and therefore the effect of movable storage device has obtained appreciation.But, some illegal manufacturer is in order to reap staggering profits now, use a kind of software of volume production instrument, change the master information on movable storage device, movable storage device capacity is marked much larger than its actual capacity, when the actual capacity of movable storage device be less than or equal to its nominal 90% time, be identified as the shrink dish that has quality problems.
At present, relatively conventional a kind of evaluation mode is direct some jumbo files of direct copying on computers, if find that the file above movable storage device can not normally open, this equipment may be exactly just shrink dish so.
Yet, the method that above-mentioned shrink dish is identified is because needing user to carry out the read-write of Large Volume Data on movable storage device, expended a large amount of time of user, and, often for a long time movable storage device is carried out to the serviceable life that reading and writing data is easy to reduce movable storage device.
Summary of the invention
In view of the above problems, the present invention has been proposed to a kind of reliability checking method of a kind of movable storage device that overcomes the problems referred to above or address the above problem is at least in part provided, and, a kind of reliability detecting device of movable storage device.
According to one aspect of the present invention, a kind of reliability checking method of movable storage device is provided, comprising:
Server side receives the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Described server side is judged the risk class of current movable storage device according to described hardware attributes information, and extracts corresponding detection rule according to described risk class;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, obtains the testing result of described movable storage device;
Described server side returns to the testing result of described movable storage device.
Alternatively, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
Alternatively, described server side is judged the risk class of current movable storage device according to described hardware attributes information, and comprises according to the step that described risk class extracts corresponding detection rule:
Described server side is searched risk class corresponding to described hardware attributes information in preset risk class storehouse;
Described server side is searched the detection rule that described risk class is corresponding in preset detection rule base.
Alternatively, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Described server side is searched testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
Alternatively, when described risk class is risk grade, corresponding detection rule is integrity rule;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described integrity rule to detect the request that sends the storage space that detects described movable storage device to described client-side;
Described server side writes test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Described server side reads the first data of described movable storage device;
Described server side compares described test data and described the first data;
When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, described server side obtains the testing result that described movable storage device is normal device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, described server side obtains the testing result that described movable storage device is unknown device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, described server side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, described server side obtains the testing result that described movable storage device is shrink equipment.
Alternatively, when described risk class is low risk level, corresponding detection rule is data point rule;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Described server side obtains each sets of sectors of the storage space of described movable storage device;
Described server side judges whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Described server side calculates the ratio of normal sets of sectors in the storage space of described movable storage device;
By described normal sets of sectors, ratio and the preset ratio in the storage space of movable storage device compares described server side; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
When the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, described server side obtains the testing result that described movable storage device is normal device;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the first preset ratio, and while being greater than the second preset ratio, described server side obtains the testing result that described movable storage device is unknown shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the second preset ratio, and while being greater than the 3rd preset ratio, described server side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, described server side obtains the testing result that described movable storage device is shrink equipment.
Alternatively, if described server obtains the testing result that described movable storage device is normal device, described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the step that obtains the testing result of described movable storage device also comprises:
Described server side detects the reading speed of described movable storage device, and/or, writing speed;
Described server side judges the reading speed of described movable storage device, and/or whether writing speed is less than pre-set velocity threshold value;
Wherein,
Described server side detects the writing speed of described movable storage device in the following way:
Described server side writes the 3rd test data at described movable storage device;
Described server side calculates and writes described the 3rd required write time of test data;
Described server side is according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
Described server side detects the reading speed of described movable storage device in the following way:
Described server side reads the 3rd data of described movable storage device;
Described server side calculates and reads required the reading the time of described the 3rd data;
Described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
When the reading speed of described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described server side obtains the testing result that described movable storage device is aging equipment inferior.
According to a further aspect in the invention, provide a kind of reliability detecting device of movable storage device, having comprised:
Be positioned at the receiver module of server side, be suitable for receiving the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Be positioned at the determination module of server side, be suitable for judging according to described hardware attributes information the risk class of current movable storage device, and extract corresponding detection rule according to described risk class;
Be positioned at the detection module of server side, be suitable for adopting described detection rule to initiate accessing the detection of the movable storage device of described client-side, obtain the testing result of described movable storage device;
Be positioned at the module of returning of server side, be suitable for returning the testing result of described movable storage device.
Alternatively, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
Alternatively, the determination module that is positioned at server side described in comprises:
Be positioned at first of server side and search submodule, be suitable for searching risk class corresponding to described hardware attributes information in preset risk class storehouse;
Be positioned at second of server side and search submodule, be suitable for searching the detection rule that described risk class is corresponding in preset detection rule base.
Alternatively, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
The described detection module that is positioned at server side comprises:
Be positioned at the extraction submodule of server side, be suitable for adopting described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Be positioned at the 3rd of server side and search submodule, be suitable for searching testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
Alternatively, when described risk class is risk grade, corresponding detection rule is integrity rule;
The described detection module that is positioned at server side comprises:
The the first request submodule that is positioned at server side, is suitable for adopting described integrity rule to detect the request that sends the storage space that detects described movable storage device to described client-side;
Be positioned at the submodule that writes of server side, be suitable for writing test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Be positioned at the reading submodule of server side, be suitable for reading the first data of described movable storage device;
Be positioned at the first comparison sub-module of server side, be suitable for described test data and described the first data to compare; When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, call the first acquisition submodule that is positioned at server side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, call the second acquisition submodule that is positioned at server side; In the described test data of described movable storage device and the data of described the first data consistent, be less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, call the 3rd acquisition submodule that is positioned at server side, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, call and be positioned at the 4th of server side and obtain submodule;
Be positioned at first of server side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is normal device;
Be positioned at second of server side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is unknown device;
Be positioned at the 3rd of server side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of server side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is shrink equipment.
Alternatively, when described risk class is low risk level, corresponding detection rule is data point rule;
The described detection module that is positioned at server side comprises:
The the second request submodule that is positioned at server side, is suitable for adopting described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Be positioned at the sets of sectors acquisition module of server side, be suitable for obtaining each sets of sectors of the storage space of described movable storage device;
Be positioned at the sets of sectors judge module of server side, be suitable for judging whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Be positioned at the ratio computing module of server side, be suitable for calculating the ratio of normal sets of sectors in the storage space of described movable storage device;
Be positioned at the second comparison sub-module of server side, be suitable for ratio and the preset ratio in the storage space of movable storage device by described normal sets of sectors and compare, described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, call the first acquisition submodule that is positioned at server side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, call the second acquisition submodule that is positioned at server side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, call the 3rd acquisition submodule that is positioned at server side, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, call the 4th acquisition submodule that is positioned at server side,
Be positioned at first of server side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is normal device;
Be positioned at second of server side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is unknown shrink equipment;
Be positioned at the 3rd of server side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of server side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is shrink equipment.
Alternatively, if described server obtains the testing result that described movable storage device is normal device, described in be positioned at server side detection module comprise:
Be positioned at the read or write speed detection sub-module of server side, be suitable for detecting the reading speed of described movable storage device, and/or, writing speed;
Be positioned at the read or write speed judgement submodule of server side, be suitable for judging the reading speed of described movable storage device, and/or whether writing speed be less than pre-set velocity threshold value;
Wherein,
The read or write speed detection sub-module that is positioned at server side comprises:
Be positioned at the writing unit of server side, be suitable for writing the 3rd test data at described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and write described the 3rd required write time of test data;
Be positioned at the writing speed computing unit of server side, be suitable for described server side according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
The read or write speed detection sub-module that is positioned at server side comprises:
Be positioned at the reading unit of server side, be suitable for the 3rd data that described server side reads described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and read required the reading the time of described the 3rd data;
Be positioned at the reading speed time calculating unit of server side, be suitable for described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
Be positioned at the 5th of server side and obtain submodule, be suitable for the reading speed in described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described server side obtains the testing result that described movable storage device is aging equipment inferior.
According to a further aspect in the invention, a kind of reliability checking method of movable storage device, comprising:
The hardware attributes information of the movable storage device that client-side is uploaded when movable storage device accesses is to server side;
Described client-side receives the detection rule that described server side returns; The described rule that detects is that described server side is judged the risk class of current movable storage device according to described hardware attributes information, and extracts corresponding detection rule according to described risk class;
Described client-side adopts described detection rule detection to access the movable storage device of described client-side, obtains the testing result of described movable storage device;
Described client-side is shown the testing result of described movable storage device.
Alternatively, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
Alternatively, described detection rule is searched risk class corresponding to described hardware attributes information for described server side in preset risk class storehouse, searches the detection rule that described risk class is corresponding in preset detection rule base.
Alternatively, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
Described client-side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described client-side adopts described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Described client-side is searched testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
Alternatively, when described risk class is risk grade, corresponding detection rule is integrity rule;
Described client-side adopts described detection rule detection to access the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described client-side writes test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Described client-side reads the first data of described movable storage device;
Described client-side compares described test data and described the first data;
When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, described client-side obtains the testing result that described movable storage device is normal device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, described client-side obtains the testing result that described movable storage device is unknown device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, described client-side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, described client-side obtains the testing result that described movable storage device is shrink equipment.
Alternatively, when described risk class is low risk level, corresponding detection rule is data point rule;
Described client-side adopts described detection rule detection to access the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described client-side obtains each sets of sectors of the storage space of described movable storage device;
Described client-side judges whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Described client-side calculates the ratio of normal sets of sectors in the storage space of described movable storage device;
By described normal sets of sectors, ratio and the preset ratio in the storage space of movable storage device compares described client-side; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
When the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, described client-side obtains the testing result that described movable storage device is normal device;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the first preset ratio, and while being greater than the second preset ratio, described client-side obtains the testing result that described movable storage device is unknown shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the second preset ratio, and while being greater than the 3rd preset ratio, described client-side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, described client-side obtains the testing result that described movable storage device is shrink equipment.
Alternatively, if described client-side obtains the testing result that described movable storage device is normal device, described client-side adopts described detection rule detection to access the movable storage device of described client-side, and the step that obtains the testing result of described movable storage device also comprises:
Described client-side detects the reading speed of described movable storage device, and/or, writing speed;
Described client-side judges the reading speed of described movable storage device, and/or whether writing speed is less than pre-set velocity threshold value;
Wherein,
Described client-side detects the writing speed of described movable storage device in the following way:
Described client-side writes the 3rd test data at described movable storage device;
Described client-side calculates and writes described the 3rd required write time of test data;
Described client-side is according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
Described client-side detects the reading speed of described movable storage device in the following way:
Described client-side reads the 3rd data of described movable storage device;
Described client-side calculates and reads required the reading the time of described the 3rd data;
Described client-side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
When the reading speed of described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described client-side side obtains the testing result that described movable storage device is aging equipment inferior.
According to a further aspect in the invention, provide a kind of reliability detecting device of movable storage device, having comprised:
Be positioned at the receiver module of client-side, be suitable for receiving the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Be positioned at the determination module of client-side, be suitable for judging according to described hardware attributes information the risk class of current movable storage device, and extract corresponding detection rule according to described risk class;
Be positioned at the detection module of client-side, be suitable for adopting described detection rule detection to access the movable storage device of described client-side, obtain the testing result of described movable storage device;
Be positioned at the module that represents of client-side, be suitable for returning the testing result of described movable storage device.
Alternatively, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
Alternatively, the determination module that is positioned at client-side described in comprises:
Be positioned at first of client-side and search submodule, be suitable for searching risk class corresponding to described hardware attributes information in preset risk class storehouse;
Be positioned at second of client-side and search submodule, be suitable for searching the detection rule that described risk class is corresponding in preset detection rule base.
Alternatively, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
The described detection module that is positioned at client-side comprises:
Be positioned at the extraction submodule of client-side, be suitable for adopting described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Be positioned at the 3rd of client-side and search submodule, be suitable for searching testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
Alternatively, when described risk class is risk grade, corresponding detection rule is integrity rule;
The described detection module that is positioned at client-side comprises:
Be positioned at the submodule that writes of client-side, be suitable for writing test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Be positioned at the reading submodule of client-side, be suitable for reading the first data of described movable storage device;
Be positioned at the first comparison sub-module of client-side, be suitable for described test data and described the first data to compare; When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, call and be positioned at first of client-side and obtain submodule,
Be positioned at first of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is normal device, in the described test data of described movable storage device and the data of described the first data consistent, be less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, call the second acquisition submodule that is positioned at client-side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, call the 3rd acquisition submodule that is positioned at client-side, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, call the 4th acquisition submodule that is positioned at client-side,
Be positioned at second of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is unknown device;
Be positioned at the 3rd of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is shrink equipment.
Alternatively, when described risk class is low risk level, corresponding detection rule is data point rule;
The described detection module that is positioned at client-side comprises:
The the second request submodule that is positioned at client-side, is suitable for adopting described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Be positioned at the sets of sectors acquisition module of client-side, be suitable for obtaining each sets of sectors of the storage space of described movable storage device;
Be positioned at the sets of sectors judge module of client-side, be suitable for judging whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Be positioned at the ratio computing module of client-side, be suitable for calculating the ratio of normal sets of sectors in the storage space of described movable storage device;
Be positioned at the second comparison sub-module of client-side, be suitable for ratio and the preset ratio in the storage space of movable storage device by described normal sets of sectors and compare; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
Be positioned at first of client-side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, obtaining the testing result that described movable storage device is normal device;
Be positioned at second of client-side and obtain submodule, be suitable for being less than the first preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the second preset ratio, obtain the testing result that described movable storage device is unknown shrink equipment;
Be positioned at the 3rd of client-side and obtain submodule, be suitable for being less than the second preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the 3rd preset ratio, obtain the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of client-side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, obtaining the testing result that described movable storage device is shrink equipment.
Alternatively, if described server obtains the testing result that described movable storage device is normal device, described in be positioned at client-side detection module comprise:
Be positioned at the read or write speed detection sub-module of client-side, be suitable for detecting the reading speed of described movable storage device, and/or, writing speed;
Be positioned at the read or write speed judgement submodule of client-side, be suitable for judging the reading speed of described movable storage device, and/or whether writing speed be less than pre-set velocity threshold value; In the reading speed of described mobile storage, and/or, when writing speed is less than pre-set velocity threshold value, call the 5th acquisition submodule that is positioned at client-side;
Wherein,
The read or write speed detection sub-module that is positioned at client-side comprises:
Be positioned at the writing unit of server side, be suitable for writing the 3rd test data at described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and write described the 3rd required write time of test data;
Be positioned at the writing speed computing unit of server side, be suitable for described server side according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
The read or write speed detection sub-module that is positioned at client-side comprises:
Be positioned at the reading unit of server side, be suitable for the 3rd data that described server side reads described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and read required the reading the time of described the 3rd data;
Be positioned at the reading speed time calculating unit of server side, be suitable for described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
Be positioned at the 5th of client-side and obtain submodule, be suitable for described server side and obtain the testing result that described movable storage device is aging equipment inferior.
The method detecting according to the reliability of a kind of movable storage device of the present invention, and, a kind of reliability detecting device of movable storage device can detect the performance information of movable storage device more rapidly, at present, part manufacturer can optimize accordingly for the testing tool of movable storage device, is examined out avoiding.And can carry out by high in the clouds in the present invention the detection of movable storage device, server side can find corresponding risk class according to the hardware attributes information of movable storage device, with this, dynamically adjust the detection rule that detects movable storage device, energy is the evaluation recall rate of lifting mobile memory device rapidly, solve thus the long problem that expends time in of traditional detection mode, obtained the beneficial effect of the recall rate of rapid lifting mobile memory device detection.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows the flow chart of steps of a kind of reliability checking method embodiment mono-of movable storage device according to an embodiment of the invention;
Fig. 2 shows a kind of according to an embodiment of the invention flow chart of steps of movable storage device integrity detection;
Fig. 3 shows the flow chart of steps of a kind of reliability checking method embodiment bis-of movable storage device according to an embodiment of the invention;
Fig. 4 shows the structured flowchart of a kind of reliability detecting device embodiment mono-of movable storage device according to an embodiment of the invention;
Fig. 5 shows the structured flowchart of a kind of reliability detecting device embodiment bis-of movable storage device according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
Develop rapidly along with ecommerce, China is used the user of network payment to reach more than 200,000,000, more user tends to buy electronic equipment or other products on the net, certain customers are when buying, normally the aspect such as the price based on product and moulding is considered, sometimes may be cheated by bad businessman, buy product inferior.In order to guarantee user's vital interests, when user buys product on the net, can guide user to go to buy to regular on-line shop and businessman, and can provide product corresponding price range for user.If user's login is the on-line shop that risk is larger, can also warn user Gai on-line shop to buy risk larger.Certainly, can also for user, recommend the product of reliable manufacturer, give user the selection of diversification more.In order to help user to avoid risk in advance, can expose that some have been identified as is on the net the outward appearance photo of the product of inferior quality (for example shrink dish), this product of inferior quality relevant information, and, user's related commentary.In addition, the purchase link of this product of inferior quality can also be preserved, the website that will remove to buy product as user is the risk website of having exposed, and just can point out user to have risk in the purchase of this website.
In specific implementation, can also set up the roll of the hour of product.For example, can set up ranking system according to purchaser's manner of product, user can select to buy the higher product of reliability according to the roll of the hour of product, reduces the probability that buys the product of inferior quality.
Yet, even if done many-sided textual criticism and relevant purchase guiding in advance, can not guarantee that the product that user finally buys is qualified product, to user, bring certain economic loss, with this simultaneously, also hindered network payment industry development, in order to address this problem, release " net purchase is first paid for " service, can be the compensation that suffers swindle consumer that great number is provided, ensure user's vital interests.Particularly, if user opens net purchase, shopping online is carried out in the first service of paying for, if find that the product buying is the product of inferior quality, user submits relevant evidence to, and after a series of testing processes, if while finding that the product of buying is the product of inferior quality, the direct economic loss that can suffer user compensates accordingly.
Therefore, one of core idea of the embodiment of the present invention is, according to the hardware attributes information of obtained movable storage device, divide the risk class of described movable storage device, according to different risk class, dynamically adjust the corresponding rule that detects and detect described movable storage device, and return to the testing result of described movable storage device, and owing to can dynamically adjusting and detect rule for the different risk class of movable storage device, therefore can be more fast and detect exactly movable storage device.
With reference to Fig. 1, show the flow chart of steps of a kind of reliability checking method embodiment mono-of movable storage device according to an embodiment of the invention, specifically can comprise the following steps:
Step 101, server side receives the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
In specific implementation, movable storage device can comprise the computing machine External memory equipment of arbitrary medium, such as the wireless Internet card of mobile phone, extra storage function, USB flash disk etc.
When user accesses client-side by movable storage device, the client-side side of the hardware attributes information of this movable storage device can being uploaded onto the server.Described hardware attributes information can comprise the sign VID of producer, device identification PID, and sequence number, interface type, and/or Main Boot Record MBR snapshot etc.Hardware attributes information is subordinated to finger print information, can also obtain other finger print informations in embodiments of the present invention, for example buy network address, time buying, price, publicity capacity, user detects the detection time of this mobile device, user detects the information of the machine of this mobile device, and user opens account of using when net purchase is first paid for pattern etc.
Specifically, the directly extraction from movable storage device of the hardware attributes information of movable storage device, other finger print informations can be bought by user the network address of this movable storage device, or the local daily record from subscriber set, or, from the diary of high in the clouds, extract.
Step 102, described server side is judged the risk class of current movable storage device according to described hardware attributes information, and extracts corresponding detection rule according to described risk class;
In a preferred embodiment of the present invention, described step 102 can comprise following sub-step:
Sub-step S11, described server side is searched risk class corresponding to described hardware attributes information in preset risk class storehouse;
Sub-step S12, described server side is searched the detection rule that described risk class is corresponding in preset detection rule base.
In embodiments of the present invention, risk class storehouse can be directly fed back or carried out the result that detection trusty is added up afterwards by a large amount of collection users, and, the hardware attributes information of the movable storage device of asking for to each manufacturer and corresponding detection information creating, detect regular foundation as Dynamic Selection in embodiments of the present invention.Particularly, risk class is hardware attributes information and the common comprehensive evaluation out of detection information of movable storage device, if such as the hardware attributes information of the movable storage device of A type is found to think that it is very risky in its detection information in risk class storehouse, the movable storage device risk class of A type just can divide high-risk grade into so.
It should be noted that, the embodiment of the present invention is not construed as limiting for the dividing mode of movable storage device risk class, for example, can only according to the purchase IP address of movable storage device, divide risk class, if buying the IP address of movable storage device, discovery user is considered to buy at certain the suspicious IP region that risk is larger, the possibility that buys so problematic movable storage device in this IP region is very high, buy risk larger, can directly determine that the risk class of this movable storage device is doubtful shrink.
Step 103, described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, obtains the testing result of described movable storage device;
In a preferred embodiment of the present invention, when described risk class is high-risk grade, corresponding detection rule can be result mapping ruler,
Described step 103 can comprise following sub-step:
Sub-step S21, described server side adopts described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Sub-step S22, described server side is searched testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
In specific implementation, if movable storage device is confirmed as high-risk grade, illustrate that it is product inferior that this movable storage device is almost identified as, may be greatly for example a shrink equipment, in order saving time, to detect so the time of movable storage device, can directly to determine that this movable storage device is shrink dish.
Shrink dish also claims " dilatation dish ", " upgrading dish ", refer to that illegal manufacturer is used a kind of software of volume production instrument, movable storage device capacity is marked much larger than its actual capacity, means with swindle consumer are reaped staggering profits, when the actual capacity of movable storage device be less than or equal to its nominal 90% time, be identified as the shrink dish that has quality problems.
Shrink dish actual capacity is much smaller than mark capacity, in use, shrink coils that not only read or write speed is super slow, and can there is very soon insufficient memory, in addition, be written to the file in shrink dish, surpass the part of actual capacity, cannot normally be read and be used, can be brought the troubles such as a series of obliterated datas, work delay to user like this.So a kind of good movable storage device detection method is most important for user.
In specific implementation, owing to needing to write and reading out data in the process detecting in mobile storage, therefore, before movable storage device is detected, can capsule information be backed up first reminding user.Starting to carry out after the detection of movable storage device, the progress that can use mode reminding user movable storage devices such as detecting progress bar to detect, and reminding user avoids extracting movable storage device, prevents the loss of data.
In another kind of preferred embodiment of the present invention, when described risk class is risk grade, corresponding detection rule can be integrity rule;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Sub-step S31, described server side adopts described integrity rule to detect the request that sends the storage space that detects described movable storage device to described client-side;
Sub-step S32, described server side writes test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Sub-step S33, described server side reads the first data of described movable storage device;
Sub-step S34, described server side compares described test data and described the first data;
Sub-step S35, when the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, described server side obtains the testing result that described movable storage device is normal device;
Sub-step S36, when the described test data of described movable storage device and the data of described the first data consistent are less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, described server side obtains the testing result that described movable storage device is unknown device;
Sub-step S37, when the described test data of described movable storage device and the data of described the first data consistent are less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, described server side obtains the testing result that described movable storage device is doubtful shrink equipment;
Sub-step S38, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, described server side obtains the testing result that described movable storage device is shrink equipment.
In specific implementation, if movable storage device is confirmed as risk grade, this movable storage device is described there is a strong possibility to be a shrink dish, because it is that the possibility of product inferior is larger, in order more to determine that whether this movable storage device is qualified product, can adopt completeness check algorithm to go to carry out strict verification.
Particularly, can deposit to this movable storage device the data of mark amount of capacity in, for example the mark capacity of movable storage device is the data that 2G just writes 2G, again the data of this 2G are read out, check again whether the data that write and read change, specifically can, with reference to the flow chart of steps of the of the present invention a kind of movable storage device integrity detection shown in Fig. 2, comprise the steps:
Step 1: file A is written on the movable storage device of 2G;
Step 2: by file A RNTO file B on the movable storage device of 2G;
Step 3: file B is read on hard disk from the movable storage device of 2G;
Step 4: whether comparison document A equate with file B, if so, movable storage device is normal movable storage device, if not, movable storage device is shrink dish.
It should be noted that, the memory capacity of movable storage device is generally 2G, 4G, 8G, 16G ... 2 ng, increases progressively with the form of index, based on this feature, can detect fast more soon the actual capacity of movable storage device, specifically, can be by 2G, 4G, 8G, 16G ... 2 nthe data of G size successively join in movable storage device, and for example, if the physical memory space of movable storage device is 2G, but its nominal capacity is but 16G, if directly the data of 16G are write, the time of expending is long.And the exponential increasing feature of storage space based on movable storage device, the data that can first add 2G, if data do not change, continue again to add the data of 4G, if will find that change has occurred data while adding the data of 4G, just can judge that movable storage device is the equipment shrinking, be a shrink dish.If determined that movable storage device is shrink dish, do not need so to add the data of nominal capacity just can detect the actual capacity of movable storage device, detect the required time will greatly reduce.
In another kind of preferred embodiment of the present invention, when described risk class is low risk level, corresponding detection can be data point rule;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Sub-step S41, described server side adopts described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Sub-step S42, described server side obtains each sets of sectors of the storage space of described movable storage device;
Sub-step S43, described server side judges whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Sub-step S44, described server side calculates the ratio of normal sets of sectors in the storage space of described movable storage device;
Sub-step S45, by described normal sets of sectors, ratio and the preset ratio in the storage space of movable storage device compares described server side; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
Sub-step S46, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, described server side obtains the testing result that described movable storage device is normal device;
Sub-step S47, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the first preset ratio, and while being greater than the second preset ratio, described server side obtains the testing result that described movable storage device is unknown shrink equipment;
Sub-step S48, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the second preset ratio, and while being greater than the 3rd preset ratio, described server side obtains the testing result that described movable storage device is doubtful shrink equipment;
Sub-step S49, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, described server side obtains the testing result that described movable storage device is shrink equipment.
In specific implementation, sector is the physical memory cell of the disk minimum in movable storage device, and the size of a general sector is 512 bytes.For example, the movable storage device of a 2G, refer to that the storage space that all sectors in movable storage device form has 2G, for example, file is stored on USB flash disk, is actually file allocation is stored to comprising on the storage space of a plurality of sectors, such as, the film of a 300MB, is placed on USB flash disk, and being in fact has a lot of sectors being responsible for storage data.
For the movable storage device of a nG, can use following equation expression, wherein n is positive number:
Size=nG=n*1024*1024*1024 byte of each sector of number * of sector
Therefore, check whether shrink dish of a movable storage device, the most essential principle, confirm exactly whether sector number in described movable storage device meets equation above, the shrink of shrink dish in fact, disappearance be the number of sector, for a shrink dish, illustrate that the number of sectors in its physical memory space is inadequate, even if be for example known as the capacity of movable storage device, have 2G, but the capacity of the data of its actual storage is less than 2G certainly.
Particularly, the nominal capacity as the quantity of sector in the sets of sectors of detected object by movable storage device determines, for example, if the USB flash disk of 1G, the USB flash disk of 4G 100 sectors can be set as detected object, if can arrange 400 sectors as detected object.
In specific implementation, because the position that writes other sectors beyond the sets of sectors of random data and the sector in described sets of sectors is common factor not, therefore in normal situation, the random data writing and test data are not occured simultaneously, but, in the situation that movable storage device is shrink dish, the capacity of the random data writing is greater than for storing the capacity of the sector of random data, therefore random data will take the position of other sectors, for example take the position of described sets of sectors, random data will part coverage test data like this, to test data, cause interference, cause the second data and the test data that read inconsistent, also therefore proved that described sets of sectors is abnormal sets of sectors.
Particularly, a movable storage device can have a lot of sectors according to its capacity, can from the larger sector of these quantity, randomly draw several sectors and form a sets of sectors, in whole movable storage device, can there be several sets of sectors, the distribution on a rough average of these several sets of sectors, can cover between the sector null of whole movable storage device, but discontinuous between these sets of sectors, do not occur simultaneously, for example, whole movable storage device has 10000 sectors, certain sets of sectors may comprise 100 sectors, the distribution of these 100 sectors in 10000 sectors of whole movable storage device can be respectively 1-20, 1000-1040, the 2000th to 2020, the 8000th to 8020.
In specific implementation, random data can be random code, and do not occur simultaneously in other sectors beyond described sets of sectors and the position of the sector in described sets of sectors, and other sectors beyond described sets of sectors are several sectors of randomly drawing.
Because can carry out reading and writing data in the testing process of movable storage device, the data that write or read can cause the test data and the primary data that in the storage space of described movable storage device, write different, therefore user test data should be reverted to the primary data of movable storage device, so that can normally use movable storage device.
In a preferred embodiment of the present invention, before the step of the second data in reading sets of sectors, also comprise following sub-step:
After exiting described movable storage device, again access described movable storage device.
In practice, some illegal manufacturer, for some testing tools, has set up caching mechanism in movable storage device, and can affecting testing tool, to detect movable storage device be shrink equipment.And first exit by adopting the secondary detection mode that movable storage device accesses again, and can more accurately calculate the actual capacity of movable storage device, the accuracy of detection also will greatly improve.
It should be noted that, sets of sectors quantity can be determined according to the size of movable storage device, the test data writing also can freely be selected according to actual conditions, for example, if want more accurately to detect the storage space of movable storage device, can in sector, write larger data, in addition, can also on the basis of definite sets of sectors, further append new sector in embodiments of the present invention, or increasing more test data detects, with this, carry out more strictly to detect the physical memory space of movable storage device, the present invention is not restricted this.
In another kind of preferred embodiment of the present invention, if described server obtains the testing result that described movable storage device is normal device, described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the step that obtains the testing result of described movable storage device can also comprise following sub-step:
Sub-step S51, described server side detects the reading speed of described movable storage device;
Sub-step S52, described server side judges whether the reading speed of described movable storage device is less than pre-set velocity threshold value;
Wherein,
Described sub-step S51, described server side can detect the writing speed of described movable storage device in the following way:
Sub-step S51-11, described server side writes the 3rd test data at described movable storage device;
Sub-step S51-12, described server side calculates and writes described the 3rd required write time of test data;
Sub-step S51-13, described server side is according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
In a preferred embodiment of the present invention, can also calculate the writing speed of movable storage device;
Described sub-step S51, described server side can detect the reading speed of described movable storage device in the following way:
Sub-step S51-21, described server side reads the 3rd data of described movable storage device;
Sub-step S51-22, described server side calculates and reads required the reading the time of described the 3rd data;
Sub-step S51-23, described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
Sub-step S53, when the reading speed of described mobile storage is less than pre-set velocity threshold value, described server side obtains the testing result that described movable storage device is aging equipment inferior.
In specific implementation, the testing result that described movable storage device is normal device if generate, can also further judge whether this movable storage device is inferior aging equipment by detecting the read or write speed of movable storage device.Although some movable storage device actual capacity is nominal capacity, be likely inferior or aging equipment, therefore its actual read or write speed is slower.Product inferior may be because producer utilizes some bad chips, master control inferior to manufacture movable storage device, for example, or some make failed memory device (having bad piece), aging equipment may be to place to cause for a long time aging movable storage device.
At present, read or write speed can judge whether movable storage device is inferior or aging, and reading speed account form can adopt to calculate and write certain known file specifically, and is divided by and can obtains the reading speed of this movable storage device with the time of reading this document.Wherein, the account form of writing speed and the account form of reading speed are similar.
Step 104, described server side returns to the testing result of described movable storage device.
Can be for final testing result in actual applications, return to risk description more intuitively of user.When according to different risk class, adopt different detection rule detection complete after, for example, if when USB flash disk is finally identified shrink equipment, can return to similar " your USB flash disk for shrink " or " with your USB flash disk USB flash disk 90% of the same type for shrinking ".
A kind of example as the concrete application of the embodiment of the present invention, because can carry out reading and writing data in the testing process of movable storage device, the data that write or read can cause the test data and the primary data that in the storage space of described movable storage device, write different, therefore user test data should be reverted to the primary data of movable storage device, so that can normally use movable storage device.
For making those skilled in the art understand better the practical application scene of the embodiment of the present invention, below example by a concrete application illustrate that the employing net purchase of the present invention service of first paying for buys the testing process after USB flash disk, be below the reparation process for USB flash disk:
A kind of example as the concrete application of the present invention, if find that USB flash disk is shrink equipment, and first pay under service scenario and buy opening net purchase, once be swindled by fishing website or net purchase fund is stolen by wooden horse, can enter quick Claims Resolution flow process, loss can obtain reparations in cash the very first time after confirming.
Concrete claims process is: user extracts the transaction record of claim from high in the clouds net purchase daily record or local net purchase daily record, as Online Shopping transaction evidence.User enters net purchase and first pays for backstage, in first paying for daily record, net purchase finds the net purchase record of the corresponding period that needs application Claims Resolution, start Claims Resolution application, confirm after option dealing record, fill in Transaction Details, fill in corresponding Transaction Information, write personal information, please fill in real personal information, and fill in other data.Specifically, the information that user need to submit to comprises: the version of user's contact method, qualification result information and assessor, purchase approach, commodity purchasing address URL, transaction record, Flow Record, the authentication information stamp, the user that stamp submit other evidence etc. to.
Be preferably, can supplement the chat record in net purchase formation, and payment sectional drawing proves cheated material with some other.Supplementary material is complete can accelerate audit progress.The errorless rear selection of confirmation data is submitted to, waits pendingly, and in addition, user can pay close attention to Claims Resolution progress in net purchase is first paid for.If the company that responsible net purchase is first paid for finds it is to identify the shrink USB flash disk of buying in the situation that net purchase is first paid for really, user just can obtain corresponding reparation.In order to ensure user's interests, the assessor that user uses need be current latest edition, and the application of settling a claim in the specified period when finding to buy shrink dish.
In embodiments of the present invention, when user accesses client-side by movable storage device, the client-side side of the hardware attributes information of this movable storage device can being uploaded onto the server, described server side can be determined the corresponding risk class of movable storage device according to hardware attributes information, and adopt different detection rules to initiate the movable storage device of access client-side to detect according to different risk class, with this, obtain and detect final testing result.After obtaining testing result, server side just can turn back to client-side by testing result, informs the testing result of this movable storage device of user.In actual applications, owing to can dynamically adjusting the corresponding rule that detects for movable storage device risk in various degree, detect movable storage device, not only with reference to formerly for the risk evaluation result of movable storage device, and adopt on this basis the detection rule detection movable storage device of different stage, not only pointed, the detection time of detecting movable storage device can also be effectively saved, the testing result of movable storage device can be accurately provided.
With reference to Fig. 2, show the flow chart of steps of a kind of reliability checking method embodiment mono-of movable storage device according to an embodiment of the invention, specifically can comprise the following steps:
Step 201, the hardware attributes information of the movable storage device that client-side is uploaded when movable storage device accesses;
In a preferred embodiment of the present invention, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
Step 202, described client-side receives the detection rule that described server side returns; The described rule that detects is that described server side is judged the risk class of current movable storage device according to described hardware attributes information, and extracts corresponding detection rule according to described risk class;
In a preferred embodiment of the present invention, described detection rule can be searched risk class corresponding to described hardware attributes information for described server side in preset risk class storehouse, searches the detection rule that described risk class is corresponding in preset detection rule base.
Step 203, described client-side adopts described detection rule detection to access the movable storage device of described client-side, obtains the testing result of described movable storage device;
In a preferred embodiment of the present invention, when described risk class is high-risk grade, corresponding detection rule can be result mapping ruler,
Described step 203 can comprise following sub-step:
Sub-step S61, described client-side adopts described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Sub-step S62, described client-side is searched testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
In a preferred embodiment of the present invention, when described risk class is risk grade, corresponding detection rule can be integrity rule;
Described step 203 can comprise following sub-step:
Sub-step S71, described client-side writes test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Sub-step S72, described client-side reads the first data of described movable storage device;
Sub-step S73, described client-side compares described test data and described the first data;
Sub-step S74, when the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, described client-side obtains the testing result that described movable storage device is normal device;
Sub-step S75, when the described test data of described movable storage device and the data of described the first data consistent are less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, described client-side obtains the testing result that described movable storage device is unknown device;
Sub-step S76, when the described test data of described movable storage device and the data of described the first data consistent are less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, described client-side obtains the testing result that described movable storage device is doubtful shrink equipment;
Sub-step S77, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, described client-side obtains the testing result that described movable storage device is shrink equipment.
In a preferred embodiment of the present invention, when described risk class is low risk level, corresponding detection rule can be data point rule;
Sub-step S81, described client-side adopts described detection rule detection to access the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Sub-step S82, described client-side obtains each sets of sectors of the storage space of described movable storage device;
Sub-step S83, described client-side judges whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Sub-step S84, described client-side calculates the ratio of normal sets of sectors in the storage space of described movable storage device;
Sub-step S85, by described normal sets of sectors, ratio and the preset ratio in the storage space of movable storage device compares described client-side; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
Sub-step S86, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, described client-side obtains the testing result that described movable storage device is normal device;
Sub-step S87, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the first preset ratio, and while being greater than the second preset ratio, described client-side obtains the testing result that described movable storage device is unknown shrink equipment;
Sub-step S88, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the second preset ratio, and while being greater than the 3rd preset ratio, described client-side obtains the testing result that described movable storage device is doubtful shrink equipment;
Sub-step S88, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, described client-side obtains the testing result that described movable storage device is shrink equipment.
In a preferred embodiment of the present invention, if described client-side obtains the testing result that described movable storage device is normal device, described step 203 can also comprise following sub-step
Sub-step S91, described client-side detects the reading speed of described movable storage device, and/or, writing speed;
Sub-step S92, described client-side judges the reading speed of described movable storage device, and/or whether writing speed is less than pre-set velocity threshold value;
Wherein,
Described client-side detects the writing speed of described movable storage device in the following way:
Sub-step S91-11, described client-side writes the 3rd test data at described movable storage device;
Sub-step S91-12, described client-side calculates and writes described the 3rd required write time of test data;
Sub-step S91-13, described client-side is according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
Described client-side detects the reading speed of described movable storage device in the following way:
Sub-step S91-21, described client-side reads the 3rd data of described movable storage device;
Sub-step S91-22, described client-side calculates and reads required the reading the time of described the 3rd data;
Sub-step S91-23, described client-side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
Sub-step S91-24, when the reading speed of described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described client-side side obtains the testing result that described movable storage device is aging equipment inferior.
Step 204, described client-side is shown the testing result of described movable storage device.
In specific implementation, client-side can upload onto the server the hardware attributes information of movable storage device, server gets corresponding detection Rule Information in preset storehouse according to hardware attributes information, and being sent to client-side, client-side can carry out corresponding detecting step to described movable storage device according to detecting rule.Due to similar to the mode detecting at server side, therefore do not repeated at this.
It should be noted that, for embodiment of the method, for simple description, therefore it is all expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
With reference to Fig. 4, show the structured flowchart of a kind of according to an embodiment of the invention movable storage device reliability detecting device embodiment mono-, specifically can comprise with lower module:
Be positioned at the receiver module 201 of server side, be suitable for receiving the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
In a preferred embodiment of the present invention, described hardware attributes information can comprise the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
Be positioned at the determination module 202 of server side, be suitable for judging according to described hardware attributes information the risk class of current movable storage device, and extract corresponding detection rule according to described risk class;
In a preferred embodiment of the present invention, described in be positioned at server side determination module 202 can comprise:
Be positioned at first of server side and search submodule, be suitable for searching risk class corresponding to described hardware attributes information in preset risk class storehouse;
Be positioned at second of server side and search submodule, be suitable for searching the detection rule that described risk class is corresponding in preset detection rule base.
Be positioned at the detection module 203 of server side, be suitable for adopting described detection rule to initiate accessing the detection of the movable storage device of described client-side, obtain the testing result of described movable storage device;
In a preferred embodiment of the present invention, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
The described detection module 203 that is positioned at server side can comprise:
Be positioned at the extraction submodule of server side, be suitable for adopting described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Be positioned at the 3rd of server side and search submodule, be suitable for searching testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
In a preferred embodiment of the present invention, when described risk class is risk grade, corresponding detection rule is integrity rule;
The described detection module that is positioned at server side can comprise:
The the first request submodule that is positioned at server side, is suitable for adopting described integrity rule to detect the request that sends the storage space that detects described movable storage device to described client-side;
Be positioned at the submodule that writes of server side, be suitable for writing test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Be positioned at the reading submodule of server side, be suitable for reading the first data of described movable storage device;
Be positioned at the first comparison sub-module of server side, be suitable for described test data and described the first data to compare; When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, call the first acquisition submodule that is positioned at server side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, call the second acquisition submodule that is positioned at server side; In the described test data of described movable storage device and the data of described the first data consistent, be less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, call the 3rd acquisition submodule that is positioned at server side, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, call and be positioned at the 4th of server side and obtain submodule;
Be positioned at first of server side and obtain submodule, be suitable for, when the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, obtaining the testing result that described movable storage device is normal device;
Be positioned at second of server side and obtain submodule, be suitable for being less than the first predetermined threshold value in the described test data of described movable storage device and the data of described the first data consistent, and while being greater than the second predetermined threshold value, obtain the testing result that described movable storage device is unknown device;
Be positioned at the 3rd of server side and obtain submodule, be suitable for being less than the second predetermined threshold value in the described test data of described movable storage device and the data of described the first data consistent, and while being greater than the 3rd predetermined threshold value, obtain the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of server side and obtain submodule, be suitable for, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, obtaining the testing result that described movable storage device is shrink equipment.
In a preferred embodiment of the present invention, when described risk class is low risk level, corresponding detection rule is data point rule;
The described detection module that is positioned at server side comprises:
The the second request submodule that is positioned at server side, is suitable for adopting described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Be positioned at the sets of sectors acquisition module of server side, be suitable for obtaining each sets of sectors of the storage space of described movable storage device;
Be positioned at the sets of sectors judge module of server side, be suitable for judging whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Be positioned at the ratio computing module of server side, be suitable for calculating the ratio of normal sets of sectors in the storage space of described movable storage device;
Be positioned at the second comparison sub-module of server side, be suitable for ratio and the preset ratio in the storage space of movable storage device by described normal sets of sectors and compare, described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, call the first acquisition submodule that is positioned at server side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, call the second acquisition submodule that is positioned at server side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, call the 3rd acquisition submodule that is positioned at server side, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, call the 4th acquisition submodule that is positioned at server side,
Be positioned at first of server side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, obtaining the testing result that described movable storage device is normal device;
Be positioned at second of server side and obtain submodule, be suitable for being less than the first preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the second preset ratio, obtain the testing result that described movable storage device is unknown shrink equipment;
Be positioned at the 3rd of server side and obtain submodule, be suitable for being less than the second preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the 3rd preset ratio, obtain the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of server side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, obtaining the testing result that described movable storage device is shrink equipment.
In a preferred embodiment of the present invention, if described server obtains the testing result that described movable storage device is normal device, described in be positioned at server side detection module comprise:
Be positioned at the read or write speed detection sub-module of server side, be suitable for detecting the reading speed of described movable storage device, and/or, writing speed;
Be positioned at the read or write speed judgement submodule of server side, be suitable for judging the reading speed of described movable storage device, and/or whether writing speed be less than pre-set velocity threshold value;
Wherein,
The read or write speed detection sub-module that is positioned at server side comprises:
Be positioned at the writing unit of server side, be suitable for writing the 3rd test data at described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and write described the 3rd required write time of test data;
Be positioned at the writing speed computing unit of server side, be suitable for described server side according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
The read or write speed detection sub-module that is positioned at server side comprises:
Be positioned at the reading unit of server side, be suitable for the 3rd data that described server side reads described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and read required the reading the time of described the 3rd data;
Be positioned at the reading speed time calculating unit of server side, be suitable for described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
Be positioned at the 5th of server side and obtain submodule, be suitable for the reading speed in described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described server side obtains the testing result that described movable storage device is aging equipment inferior.
What be positioned at server side returns to module 204, is suitable for returning the testing result of described movable storage device.
With reference to Fig. 5, show the structured flowchart of a kind of according to an embodiment of the invention movable storage device reliability detecting device embodiment bis-, specifically can comprise with lower module:
Be positioned at the receiver module 401 of client-side, be suitable for receiving the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
In a preferred embodiment of the present invention, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
Be positioned at the determination module 402 of client-side, be suitable for judging according to described hardware attributes information the risk class of current movable storage device, and extract corresponding detection rule according to described risk class;
In a preferred embodiment of the present invention in, described in be positioned at client-side determination module comprise:
Be positioned at first of client-side and search submodule, be suitable for searching risk class corresponding to described hardware attributes information in preset risk class storehouse;
Be positioned at second of client-side and search submodule, be suitable for searching the detection rule that described risk class is corresponding in preset detection rule base.
Be positioned at the detection module 403 of client-side, be suitable for adopting described detection rule detection to access the movable storage device of described client-side, obtain the testing result of described movable storage device;
In a preferred embodiment of the present invention, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
The described detection module that is positioned at client-side comprises:
Be positioned at the extraction submodule of client-side, be suitable for adopting described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Be positioned at the 3rd of client-side and search submodule, be suitable for searching testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
In a preferred embodiment of the present invention, when described risk class is risk grade, corresponding detection rule is integrity rule;
The described detection module that is positioned at client-side comprises:
Be positioned at the submodule that writes of client-side, be suitable for writing test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Be positioned at the reading submodule of client-side, be suitable for reading the first data of described movable storage device;
Be positioned at the first comparison sub-module of client-side, be suitable for described test data and described the first data to compare; When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, call and be positioned at first of client-side and obtain submodule,
Be positioned at first of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is normal device, in the described test data of described movable storage device and the data of described the first data consistent, be less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, call the second acquisition submodule that is positioned at client-side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, call the 3rd acquisition submodule that is positioned at client-side, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, call the 4th acquisition submodule that is positioned at client-side,
Be positioned at second of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is unknown device;
Be positioned at the 3rd of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is shrink equipment.
In a preferred embodiment of the present invention, when described risk class is low risk level, corresponding detection rule is data point rule;
The described detection module that is positioned at client-side comprises:
The the second request submodule that is positioned at client-side, is suitable for adopting described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Be positioned at the sets of sectors acquisition module of client-side, be suitable for obtaining each sets of sectors of the storage space of described movable storage device;
Be positioned at the sets of sectors judge module of client-side, be suitable for judging whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Be positioned at the ratio computing module of client-side, be suitable for calculating the ratio of normal sets of sectors in the storage space of described movable storage device;
Be positioned at the second comparison sub-module of client-side, be suitable for ratio and the preset ratio in the storage space of movable storage device by described normal sets of sectors and compare; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
Be positioned at first of client-side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, obtaining the testing result that described movable storage device is normal device;
Be positioned at second of client-side and obtain submodule, be suitable for being less than the first preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the second preset ratio, obtain the testing result that described movable storage device is unknown shrink equipment;
Be positioned at the 3rd of client-side and obtain submodule, be suitable for being less than the second preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the 3rd preset ratio, obtain the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of client-side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, obtaining the testing result that described movable storage device is shrink equipment.
In a preferred embodiment of the present invention, if described server obtains the testing result that described movable storage device is normal device, described in be positioned at client-side detection module comprise:
Be positioned at the read or write speed detection sub-module of client-side, be suitable for detecting the reading speed of described movable storage device, and/or, writing speed;
Be positioned at the read or write speed judgement submodule of client-side, be suitable for judging the reading speed of described movable storage device, and/or whether writing speed be less than pre-set velocity threshold value; In the reading speed of described mobile storage, and/or, when writing speed is less than pre-set velocity threshold value, call the 5th acquisition submodule that is positioned at client-side;
Wherein,
The read or write speed detection sub-module that is positioned at client-side comprises:
Be positioned at the writing unit of server side, be suitable for writing the 3rd test data at described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and write described the 3rd required write time of test data;
Be positioned at the writing speed computing unit of server side, be suitable for described server side according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
The read or write speed detection sub-module that is positioned at client-side comprises:
Be positioned at the reading unit of server side, be suitable for the 3rd data that described server side reads described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and read required the reading the time of described the 3rd data;
Be positioned at the reading speed time calculating unit of server side, be suitable for described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
Be positioned at the 5th of client-side and obtain submodule, be suitable for described server side and obtain the testing result that described movable storage device is aging equipment inferior.
What be positioned at client-side writes module 404, is suitable for representing the testing result of described movable storage device.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part is referring to the part explanation of embodiment of the method.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize the some or all functions according to the some or all parts in the security device of the movable storage device of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The reliability checking method of A1, a kind of movable storage device, comprising:
Server side receives the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Described server side is judged the risk class of current movable storage device according to described hardware attributes information, and extracts corresponding detection rule according to described risk class;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, obtains the testing result of described movable storage device;
Described server side returns to the testing result of described movable storage device.
A2, the method as described in claim A1, is characterized in that, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
A3, the method as described in claim A1 or A2, is characterized in that, described server side is judged the risk class of current movable storage device according to described hardware attributes information, and comprise according to the step that described risk class extracts corresponding detection rule:
Described server side is searched risk class corresponding to described hardware attributes information in preset risk class storehouse;
Described server side is searched the detection rule that described risk class is corresponding in preset detection rule base.
A4, the method as described in claim A3, is characterized in that, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Described server side is searched testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
A5, the method as described in claim A3, is characterized in that, when described risk class is risk grade, corresponding detection rule is integrity rule;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described integrity rule to detect the request that sends the storage space that detects described movable storage device to described client-side;
Described server side writes test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Described server side reads the first data of described movable storage device;
Described server side compares described test data and described the first data;
When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, described server side obtains the testing result that described movable storage device is normal device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, described server side obtains the testing result that described movable storage device is unknown device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, described server side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, described server side obtains the testing result that described movable storage device is shrink equipment.
A6, the method as described in claim A3, is characterized in that, when described risk class is low risk level, corresponding detection rule is data point rule;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Described server side obtains each sets of sectors of the storage space of described movable storage device;
Described server side judges whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Described server side calculates the ratio of normal sets of sectors in the storage space of described movable storage device;
By described normal sets of sectors, ratio and the preset ratio in the storage space of movable storage device compares described server side; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
When the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, described server side obtains the testing result that described movable storage device is normal device;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the first preset ratio, and while being greater than the second preset ratio, described server side obtains the testing result that described movable storage device is unknown shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the second preset ratio, and while being greater than the 3rd preset ratio, described server side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, described server side obtains the testing result that described movable storage device is shrink equipment.
A7, the method as described in claim A4 or A5 or A6, it is characterized in that, if described server obtains the testing result that described movable storage device is normal device, described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the step that obtains the testing result of described movable storage device also comprises:
Described server side detects the reading speed of described movable storage device, and/or, writing speed;
Described server side judges the reading speed of described movable storage device, and/or whether writing speed is less than pre-set velocity threshold value;
Wherein,
Described server side detects the writing speed of described movable storage device in the following way:
Described server side writes the 3rd test data at described movable storage device;
Described server side calculates and writes described the 3rd required write time of test data;
Described server side is according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
Described server side detects the reading speed of described movable storage device in the following way:
Described server side reads the 3rd data of described movable storage device;
Described server side calculates and reads required the reading the time of described the 3rd data;
Described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
When the reading speed of described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described server side obtains the testing result that described movable storage device is aging equipment inferior.
The reliability detecting device of B8, a kind of movable storage device, comprising:
Be positioned at the receiver module of server side, be suitable for receiving the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Be positioned at the determination module of server side, be suitable for judging according to described hardware attributes information the risk class of current movable storage device, and extract corresponding detection rule according to described risk class;
Be positioned at the detection module of server side, be suitable for adopting described detection rule to initiate accessing the detection of the movable storage device of described client-side, obtain the testing result of described movable storage device;
Be positioned at the module of returning of server side, be suitable for returning the testing result of described movable storage device.
B9, the device as described in claim B8, is characterized in that, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
B10, the device as described in claim B8 or B9, is characterized in that, described in be positioned at server side determination module comprise:
Be positioned at first of server side and search submodule, be suitable for searching risk class corresponding to described hardware attributes information in preset risk class storehouse;
Be positioned at second of server side and search submodule, be suitable for searching the detection rule that described risk class is corresponding in preset detection rule base.
B11, the device as described in claim B10, is characterized in that, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
The described detection module that is positioned at server side comprises:
Be positioned at the extraction submodule of server side, be suitable for adopting described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Be positioned at the 3rd of server side and search submodule, be suitable for searching testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
B12, the device as described in claim B10, is characterized in that, when described risk class is risk grade, corresponding detection rule is integrity rule;
The described detection module that is positioned at server side comprises:
The the first request submodule that is positioned at server side, is suitable for adopting described integrity rule to detect the request that sends the storage space that detects described movable storage device to described client-side;
Be positioned at the submodule that writes of server side, be suitable for writing test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Be positioned at the reading submodule of server side, be suitable for reading the first data of described movable storage device;
Be positioned at the first comparison sub-module of server side, be suitable for described test data and described the first data to compare;
Be positioned at first of server side and obtain submodule, be suitable for, when the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, obtaining the testing result that described movable storage device is normal device;
Be positioned at second of server side and obtain submodule, be suitable for being less than the first predetermined threshold value in the described test data of described movable storage device and the data of described the first data consistent, and while being greater than the second predetermined threshold value, obtain the testing result that described movable storage device is unknown device;
Be positioned at the 3rd of server side and obtain submodule, be suitable for being less than the second predetermined threshold value in the described test data of described movable storage device and the data of described the first data consistent, and while being greater than the 3rd predetermined threshold value, obtain the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of server side and obtain submodule, be suitable for, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, obtaining the testing result that described movable storage device is shrink equipment.
B13, the device as described in claim B10, is characterized in that, when described risk class is low risk level, corresponding detection rule is data point rule;
The described detection module that is positioned at server side comprises:
The the second request submodule that is positioned at server side, is suitable for adopting described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Be positioned at the sets of sectors acquisition module of server side, be suitable for obtaining each sets of sectors of the storage space of described movable storage device;
Be positioned at the sets of sectors judge module of server side, be suitable for judging whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Be positioned at the ratio computing module of server side, be suitable for calculating the ratio of normal sets of sectors in the storage space of described movable storage device;
Be positioned at the second comparison sub-module of server side, be suitable for ratio and the preset ratio in the storage space of movable storage device by described normal sets of sectors and compare; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
Be positioned at first of server side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, obtaining the testing result that described movable storage device is normal device;
Be positioned at second of server side and obtain submodule, be suitable for being less than the first preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the second preset ratio, obtain the testing result that described movable storage device is unknown shrink equipment;
Be positioned at the 3rd of server side and obtain submodule, be suitable for being less than the second preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the 3rd preset ratio, obtain the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of server side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, obtaining the testing result that described movable storage device is shrink equipment.
B14, the device as described in claim B11 or B12 or B13, is characterized in that, if described server obtains the testing result that described movable storage device is normal device, described in be positioned at server side detection module comprise:
Be positioned at the read or write speed detection sub-module of server side, be suitable for detecting the reading speed of described movable storage device, and/or, writing speed;
Be positioned at the read or write speed judgement submodule of server side, be suitable for judging the reading speed of described movable storage device, and/or whether writing speed be less than pre-set velocity threshold value;
Wherein,
The read or write speed detection sub-module that is positioned at server side comprises:
Be positioned at the writing unit of server side, be suitable for writing the 3rd test data at described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and write described the 3rd required write time of test data;
Be positioned at the writing speed computing unit of server side, be suitable for described server side according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
The read or write speed detection sub-module that is positioned at server side comprises:
Be positioned at the reading unit of server side, be suitable for the 3rd data that described server side reads described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and read required the reading the time of described the 3rd data;
Be positioned at the reading speed time calculating unit of server side, be suitable for described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
Be positioned at the 5th of server side and obtain submodule, be suitable for the reading speed in described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described server side obtains the testing result that described movable storage device is aging equipment inferior.
The reliability checking method of C15, a kind of movable storage device, comprising:
The hardware attributes information of the movable storage device that client-side is uploaded when movable storage device accesses is to server side;
Described client-side receives the detection rule that described server side returns; The described rule that detects is that described server side is judged the risk class of current movable storage device according to described hardware attributes information, and extracts corresponding detection rule according to described risk class;
Described client-side adopts described detection rule detection to access the movable storage device of described client-side, obtains the testing result of described movable storage device;
Described client-side is shown the testing result of described movable storage device.
C16, the method as described in claim C15, is characterized in that, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
C17, the method as described in claim C15 or C16, it is characterized in that, described detection rule is searched risk class corresponding to described hardware attributes information for described server side in preset risk class storehouse, searches the detection rule that described risk class is corresponding in preset detection rule base.
C18, the method as described in claim C17, is characterized in that, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
Described client-side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described client-side adopts described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Described client-side is searched testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
C19, the method as described in claim C17, is characterized in that, when described risk class is risk grade, corresponding detection rule is integrity rule;
Described client-side adopts described detection rule detection to access the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described client-side writes test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Described client-side reads the first data of described movable storage device;
Described client-side compares described test data and described the first data;
When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, described client-side obtains the testing result that described movable storage device is normal device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, described client-side obtains the testing result that described movable storage device is unknown device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, described client-side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, described client-side obtains the testing result that described movable storage device is shrink equipment.
C20, the method as described in claim C17, is characterized in that, when described risk class is low risk level, corresponding detection rule is data point rule;
Described client-side adopts described detection rule detection to access the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described client-side obtains each sets of sectors of the storage space of described movable storage device;
Described client-side judges whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Described client-side calculates the ratio of normal sets of sectors in the storage space of described movable storage device;
By described normal sets of sectors, ratio and the preset ratio in the storage space of movable storage device compares described client-side; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
When the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, described client-side obtains the testing result that described movable storage device is normal device;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the first preset ratio, and while being greater than the second preset ratio, described client-side obtains the testing result that described movable storage device is unknown shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the second preset ratio, and while being greater than the 3rd preset ratio, described client-side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, described client-side obtains the testing result that described movable storage device is shrink equipment.
C21, the method as described in claim C18 or C19 or C20, it is characterized in that, if described client-side obtains the testing result that described movable storage device is normal device, described client-side adopts described detection rule detection to access the movable storage device of described client-side, and the step that obtains the testing result of described movable storage device also comprises:
Described client-side detects the reading speed of described movable storage device, and/or, writing speed;
Described client-side judges the reading speed of described movable storage device, and/or whether writing speed is less than pre-set velocity threshold value;
Wherein,
Described client-side detects the writing speed of described movable storage device in the following way:
Described client-side writes the 3rd test data at described movable storage device;
Described client-side calculates and writes described the 3rd required write time of test data;
Described client-side is according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
Described client-side detects the reading speed of described movable storage device in the following way:
Described client-side reads the 3rd data of described movable storage device;
Described client-side calculates and reads required the reading the time of described the 3rd data;
Described client-side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
When the reading speed of described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described client-side side obtains the testing result that described movable storage device is aging equipment inferior.
The reliability detecting device of D22, a kind of movable storage device, comprising:
Be positioned at the receiver module of client-side, be suitable for receiving the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Be positioned at the determination module of client-side, be suitable for judging according to described hardware attributes information the risk class of current movable storage device, and extract corresponding detection rule according to described risk class;
Be positioned at the detection module of client-side, be suitable for adopting described detection rule detection to access the movable storage device of described client-side, obtain the testing result of described movable storage device;
Be positioned at the module that represents of client-side, be suitable for returning the testing result of described movable storage device.
D23, the device as described in claim D22, is characterized in that, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
D24, the device as described in claim D22 or D23, is characterized in that, described in be positioned at client-side determination module comprise:
Be positioned at first of client-side and search submodule, be suitable for searching risk class corresponding to described hardware attributes information in preset risk class storehouse;
Be positioned at second of client-side and search submodule, be suitable for searching the detection rule that described risk class is corresponding in preset detection rule base.
D25, the device as described in claim D24, is characterized in that, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
The described detection module that is positioned at client-side comprises:
Be positioned at the extraction submodule of client-side, be suitable for adopting described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Be positioned at the 3rd of client-side and search submodule, be suitable for searching testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
D26, the device as described in claim D24, is characterized in that, when described risk class is risk grade, corresponding detection rule is integrity rule;
The described detection module that is positioned at client-side comprises:
Be positioned at the submodule that writes of client-side, be suitable for writing test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Be positioned at the reading submodule of client-side, be suitable for reading the first data of described movable storage device;
Be positioned at the first comparison sub-module of client-side, be suitable for described test data and described the first data to compare; When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, call and be positioned at first of client-side and obtain submodule,
Be positioned at first of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is normal device, in the described test data of described movable storage device and the data of described the first data consistent, be less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, call the second acquisition submodule that is positioned at client-side, in the described test data of described movable storage device and the data of described the first data consistent, be less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, call the 3rd acquisition submodule that is positioned at client-side, when the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, call the 4th acquisition submodule that is positioned at client-side,
Be positioned at second of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is unknown device;
Be positioned at the 3rd of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of client-side and obtain submodule, be suitable for obtaining the testing result that described movable storage device is shrink equipment.
D27, the device as described in claim D24, is characterized in that, when described risk class is low risk level, corresponding detection rule is data point rule;
The described detection module that is positioned at client-side comprises:
The the second request submodule that is positioned at client-side, is suitable for adopting described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Be positioned at the sets of sectors acquisition module of client-side, be suitable for obtaining each sets of sectors of the storage space of described movable storage device;
Be positioned at the sets of sectors judge module of client-side, be suitable for judging whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Be positioned at the ratio computing module of client-side, be suitable for calculating the ratio of normal sets of sectors in the storage space of described movable storage device;
Be positioned at the second comparison sub-module of client-side, be suitable for ratio and the preset ratio in the storage space of movable storage device by described normal sets of sectors and compare; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
Be positioned at first of client-side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, obtaining the testing result that described movable storage device is normal device;
Be positioned at second of client-side and obtain submodule, be suitable for being less than the first preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the second preset ratio, obtain the testing result that described movable storage device is unknown shrink equipment;
Be positioned at the 3rd of client-side and obtain submodule, be suitable for being less than the second preset ratio in the ratio of the normal sets of sectors of the storage space of described movable storage device, and while being greater than the 3rd preset ratio, obtain the testing result that described movable storage device is doubtful shrink equipment;
Be positioned at the 4th of client-side and obtain submodule, be suitable for, when the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, obtaining the testing result that described movable storage device is shrink equipment.
D28, the device as described in claim D25 or D26 or D27, is characterized in that, if described server obtains the testing result that described movable storage device is normal device, described in be positioned at client-side detection module comprise:
Be positioned at the read or write speed detection sub-module of client-side, be suitable for detecting the reading speed of described movable storage device, and/or, writing speed;
Be positioned at the read or write speed judgement submodule of client-side, be suitable for judging the reading speed of described movable storage device, and/or whether writing speed be less than pre-set velocity threshold value; In the reading speed of described mobile storage, and/or, when writing speed is less than pre-set velocity threshold value, call the 5th acquisition submodule that is positioned at client-side;
Wherein,
The read or write speed detection sub-module that is positioned at client-side comprises:
Be positioned at the writing unit of server side, be suitable for writing the 3rd test data at described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and write described the 3rd required write time of test data;
Be positioned at the writing speed computing unit of server side, be suitable for described server side according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
The read or write speed detection sub-module that is positioned at client-side comprises:
Be positioned at the reading unit of server side, be suitable for the 3rd data that described server side reads described movable storage device;
Be positioned at the write time computing unit of server side, be suitable for described server side calculating and read required the reading the time of described the 3rd data;
Be positioned at the reading speed time calculating unit of server side, be suitable for described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
Be positioned at the 5th of client-side and obtain submodule, be suitable for described server side and obtain the testing result that described movable storage device is aging equipment inferior.

Claims (10)

1. a reliability checking method for movable storage device, comprising:
Server side receives the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Described server side is judged the risk class of current movable storage device according to described hardware attributes information, and extracts corresponding detection rule according to described risk class;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, obtains the testing result of described movable storage device;
Described server side returns to the testing result of described movable storage device.
2. the method for claim 1, is characterized in that, described hardware attributes information comprises the sign VID of producer, device identification PID, sequence number, interface type, and/or Main Boot Record MBR snapshot.
3. method as claimed in claim 1 or 2, is characterized in that, described server side is judged the risk class of current movable storage device according to described hardware attributes information, and comprises according to the step that described risk class extracts corresponding detection rule:
Described server side is searched risk class corresponding to described hardware attributes information in preset risk class storehouse;
Described server side is searched the detection rule that described risk class is corresponding in preset detection rule base.
4. method as claimed in claim 3, is characterized in that, when described risk class is high-risk grade, corresponding detection rule is result mapping ruler,
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described result mapping ruler to extract the hardware attributes information of the movable storage device of the described client-side of access;
Described server side is searched testing result corresponding to described hardware attributes information in preset mapping (enum) data table.
5. method as claimed in claim 3, is characterized in that, when described risk class is risk grade, corresponding detection rule is integrity rule;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described integrity rule to detect the request that sends the storage space that detects described movable storage device to described client-side;
Described server side writes test data at the storage space of described movable storage device; The size of described test data is nominal capacity;
Described server side reads the first data of described movable storage device;
Described server side compares described test data and described the first data;
When the described test data of described movable storage device and the data of described the first data consistent are greater than the first predetermined threshold value, described server side obtains the testing result that described movable storage device is normal device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the first predetermined threshold value, and while being greater than the second predetermined threshold value, described server side obtains the testing result that described movable storage device is unknown device;
When the described test data of described movable storage device and the data of described the first data consistent are less than the second predetermined threshold value, and while being greater than the 3rd predetermined threshold value, described server side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the described test data of described movable storage device and the data of described the first data consistent are less than the 3rd predetermined threshold value, described server side obtains the testing result that described movable storage device is shrink equipment.
6. method as claimed in claim 3, is characterized in that, when described risk class is low risk level, corresponding detection rule is data point rule;
Described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the testing result that obtains described movable storage device comprises:
Described server side adopts described data point rule detection to described client-side, to send the request of the storage space that detects described movable storage device;
Described server side obtains each sets of sectors of the storage space of described movable storage device;
Described server side judges whether each sets of sectors of the storage space of described movable storage device is normal sets of sectors;
Described server side calculates the ratio of normal sets of sectors in the storage space of described movable storage device;
By described normal sets of sectors, ratio and the preset ratio in the storage space of movable storage device compares described server side; Described preset ratio comprises the first preset ratio, the second preset ratio, and the 3rd preset ratio;
When the ratio of the normal sets of sectors of the storage space of described movable storage device surpasses the first preset ratio, described server side obtains the testing result that described movable storage device is normal device;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the first preset ratio, and while being greater than the second preset ratio, described server side obtains the testing result that described movable storage device is unknown shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the second preset ratio, and while being greater than the 3rd preset ratio, described server side obtains the testing result that described movable storage device is doubtful shrink equipment;
When the ratio of the normal sets of sectors of the storage space of described movable storage device is less than the 3rd preset ratio, described server side obtains the testing result that described movable storage device is shrink equipment.
7. the method as described in claim 4 or 5 or 6, it is characterized in that, if described server obtains the testing result that described movable storage device is normal device, described server side adopts described detection rule to initiate accessing the detection of the movable storage device of described client-side, and the step that obtains the testing result of described movable storage device also comprises:
Described server side detects the reading speed of described movable storage device, and/or, writing speed;
Described server side judges the reading speed of described movable storage device, and/or whether writing speed is less than pre-set velocity threshold value;
Wherein,
Described server side detects the writing speed of described movable storage device in the following way:
Described server side writes the 3rd test data at described movable storage device;
Described server side calculates and writes described the 3rd required write time of test data;
Described server side is according to the writing speed of movable storage device described in described the 3rd test data and said write Time Calculation;
Described server side detects the reading speed of described movable storage device in the following way:
Described server side reads the 3rd data of described movable storage device;
Described server side calculates and reads required the reading the time of described the 3rd data;
Described server side according to described the 3rd data and described in read the reading speed of movable storage device described in Time Calculation;
When the reading speed of described mobile storage, and/or when writing speed is less than pre-set velocity threshold value, described server side obtains the testing result that described movable storage device is aging equipment inferior.
8. a reliability detecting device for movable storage device, comprising:
Be positioned at the receiver module of server side, be suitable for receiving the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Be positioned at the determination module of server side, be suitable for judging according to described hardware attributes information the risk class of current movable storage device, and extract corresponding detection rule according to described risk class;
Be positioned at the detection module of server side, be suitable for adopting described detection rule to initiate accessing the detection of the movable storage device of described client-side, obtain the testing result of described movable storage device;
Be positioned at the module of returning of server side, be suitable for returning the testing result of described movable storage device.
9. a reliability checking method for movable storage device, comprising:
The hardware attributes information of the movable storage device that client-side is uploaded when movable storage device accesses is to server side;
Described client-side receives the detection rule that described server side returns; The described rule that detects is that described server side is judged the risk class of current movable storage device according to described hardware attributes information, and extracts corresponding detection rule according to described risk class;
Described client-side adopts described detection rule detection to access the movable storage device of described client-side, obtains the testing result of described movable storage device;
Described client-side is shown the testing result of described movable storage device.
10. a reliability detecting device for movable storage device, comprising:
Be positioned at the receiver module of client-side, be suitable for receiving the hardware attributes information of the movable storage device that described client-side uploads when movable storage device accesses;
Be positioned at the determination module of client-side, be suitable for judging according to described hardware attributes information the risk class of current movable storage device, and extract corresponding detection rule according to described risk class;
Be positioned at the detection module of client-side, be suitable for adopting described detection rule detection to access the movable storage device of described client-side, obtain the testing result of described movable storage device;
Be positioned at the module that represents of client-side, be suitable for returning the testing result of described movable storage device.
CN201310632879.7A 2013-11-29 2013-11-29 The reliability checking method of a kind of movable storage device and device Active CN103646669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310632879.7A CN103646669B (en) 2013-11-29 2013-11-29 The reliability checking method of a kind of movable storage device and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310632879.7A CN103646669B (en) 2013-11-29 2013-11-29 The reliability checking method of a kind of movable storage device and device

Publications (2)

Publication Number Publication Date
CN103646669A true CN103646669A (en) 2014-03-19
CN103646669B CN103646669B (en) 2016-08-24

Family

ID=50251870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310632879.7A Active CN103646669B (en) 2013-11-29 2013-11-29 The reliability checking method of a kind of movable storage device and device

Country Status (1)

Country Link
CN (1) CN103646669B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601921A (en) * 2015-01-15 2015-05-06 上海小蚁科技有限公司 System configuration method and device
CN106250054A (en) * 2015-06-12 2016-12-21 爱思开海力士有限公司 Accumulator system and the method for this accumulator system of operation including multiple memory areas
CN107480020A (en) * 2017-08-10 2017-12-15 郑州云海信息技术有限公司 A kind of method to the virtual volume test of storage system
CN109871292A (en) * 2019-01-15 2019-06-11 北京百度网讯科技有限公司 Self checking method, device, system and the storage medium of unmanned vehicle system
CN110598473A (en) * 2019-09-18 2019-12-20 深圳市网心科技有限公司 Mobile storage medium management method, device and equipment and storage medium
CN112416675A (en) * 2020-11-18 2021-02-26 杭州萤石软件有限公司 Capacity expansion detection method and device for memory
CN112487429A (en) * 2020-12-01 2021-03-12 浙江中控技术股份有限公司 Verification method and device of external storage equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10309A (en) * 1853-12-13 Cab-wheel
CN102956270A (en) * 2012-10-25 2013-03-06 北京奇虎科技有限公司 Mobile storage equipment detecting method and device
CN103019751A (en) * 2011-09-20 2013-04-03 奇智软件(北京)有限公司 Plug-in equipment matching and maintaining method
CN103093145A (en) * 2013-01-18 2013-05-08 北京奇虎科技有限公司 Method and device and system for scanning mobile storage device
CN103377341A (en) * 2012-04-28 2013-10-30 北京网秦天下科技有限公司 Method and system for security detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10309A (en) * 1853-12-13 Cab-wheel
CN103019751A (en) * 2011-09-20 2013-04-03 奇智软件(北京)有限公司 Plug-in equipment matching and maintaining method
CN103377341A (en) * 2012-04-28 2013-10-30 北京网秦天下科技有限公司 Method and system for security detection
CN102956270A (en) * 2012-10-25 2013-03-06 北京奇虎科技有限公司 Mobile storage equipment detecting method and device
CN103093145A (en) * 2013-01-18 2013-05-08 北京奇虎科技有限公司 Method and device and system for scanning mobile storage device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601921A (en) * 2015-01-15 2015-05-06 上海小蚁科技有限公司 System configuration method and device
CN106250054A (en) * 2015-06-12 2016-12-21 爱思开海力士有限公司 Accumulator system and the method for this accumulator system of operation including multiple memory areas
CN106250054B (en) * 2015-06-12 2020-05-12 爱思开海力士有限公司 Memory system including a plurality of memory regions and method of operating the same
CN107480020A (en) * 2017-08-10 2017-12-15 郑州云海信息技术有限公司 A kind of method to the virtual volume test of storage system
CN109871292A (en) * 2019-01-15 2019-06-11 北京百度网讯科技有限公司 Self checking method, device, system and the storage medium of unmanned vehicle system
CN109871292B (en) * 2019-01-15 2022-07-08 北京百度网讯科技有限公司 Self-checking method, device and system of unmanned vehicle system and storage medium
CN110598473A (en) * 2019-09-18 2019-12-20 深圳市网心科技有限公司 Mobile storage medium management method, device and equipment and storage medium
CN110598473B (en) * 2019-09-18 2022-08-16 深圳市网心科技有限公司 Mobile storage medium management method, device and equipment and storage medium
CN112416675A (en) * 2020-11-18 2021-02-26 杭州萤石软件有限公司 Capacity expansion detection method and device for memory
CN112487429A (en) * 2020-12-01 2021-03-12 浙江中控技术股份有限公司 Verification method and device of external storage equipment

Also Published As

Publication number Publication date
CN103646669B (en) 2016-08-24

Similar Documents

Publication Publication Date Title
CN103646669A (en) Method and device for detecting reliability of removable storage device
US10915706B2 (en) Sorting text report categories
CN104145270B (en) Use the foreign language translation of product information
CN106991108A (en) The method for pushing and device of a kind of information
CN109582726A (en) The treating method and apparatus of tables of data
CN111062770B (en) Merchant identification method, device and computer readable medium
CN103677668A (en) Method and device for detecting mobile storage equipment
CN111506580A (en) Transaction storage method based on centralized block chain type account book
US20200111146A1 (en) Information determining method and apparatus
US9201967B1 (en) Rule based product classification
CN111858686B (en) Data display method, device, terminal equipment and storage medium
CN106897224B (en) Method and device for determining software testing range
CN110796505B (en) Business object recommendation method and device
CN108021464B (en) Bottom-pocketing processing method and device for application response data
US9406083B2 (en) Ranked navigation element
CN109598478B (en) Wind measurement result description document generation method and device and electronic equipment
KR20230058227A (en) System for tracking prior content
CN102969026B (en) Based on movable storage device detection method and the device of data handling system
CN102956270B (en) Movable storage device detection method and device
CN108133383A (en) Cross-region commodity corresponding method and system
CN113157960A (en) Method and device for acquiring similar data, electronic equipment and computer readable storage medium
US10366399B1 (en) Detecting item trends
US9471569B1 (en) Integrating information sources to create context-specific documents
CN112116415A (en) Commodity information pushing method, device and system
KR102132745B1 (en) apparatus for recording stock trading log by using SMS message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220801

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right