The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome the problems referred to above or at least in part solve on
The method for stating a kind of movable storage device detection of problem, and, a kind of corresponding device of movable storage device detection.
According to one aspect of the present invention, there is provided a kind of method of movable storage device detection, including:
Server side receives the hardware of the movable storage device that the client-side is uploaded when movable storage device is accessed
Attribute information;
The server side is searched in preset movable storage device detection storehouse described according to the hardware attributes information
The corresponding testing result of movable storage device;
The server side returns the testing result of the movable storage device.
Alternatively, the hardware attributes information include producer mark VID, device identification PID, sequence number, interface type,
And/or Master Boot Record snapshot.
Alternatively, the preset movable storage device detection storehouse generates in the following way:
Server side receives the hardware of the movable storage device that the client-side is uploaded when movable storage device is accessed
Attribute information;
The server side judges the risk class of current movable storage device, and foundation according to the hardware attributes information
The risk class extracts corresponding detected rule;
The server side initiates the inspection of the movable storage device to accessing the client-side using the detected rule
Survey, obtain the testing result of the movable storage device;
The server side is that the testing result adds blacklist label or white list label generates testing result information;
The hardware attributes information and correspondence testing result information are write preset mobile storage and are set by the server side
In standby detection storehouse.
Alternatively, the testing result includes that the movable storage device is normal device, or, the movable storage device
For warping apparatus, the preset movable storage device detection storehouse includes the hardware attributes information and correspondence of movable storage device
Testing result information, the testing result information includes blacklist label or white list label;
The server side is searched in preset movable storage device detection storehouse described according to the hardware attributes information
The step of movable storage device corresponding testing result, includes:
The server side searches the corresponding inspection of the hardware attributes information in preset movable storage device detection storehouse
Survey object information;
If extracting the testing result information has white list label, the corresponding inspection of the movable storage device is obtained
Surveying result is, the movable storage device is normal device;
If extracting the testing result information has blacklist label, the corresponding inspection of the movable storage device is obtained
Surveying result is, the movable storage device is warping apparatus.
Alternatively, the testing result includes normal device, aging equipment inferior, unknown device, doubtful shrink equipment,
And/or shrink equipment;The preset movable storage device detection storehouse include the hardware attributes information of movable storage device and
Corresponding testing result;
The server side is searched in preset movable storage device detection storehouse described according to the hardware attributes information
The step of movable storage device corresponding testing result, includes:
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result when being normal device, obtaining the corresponding testing result of the movable storage device is, the movable storage device
For normal device;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result for aging equipment inferior when, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is aging equipment inferior;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result when being unknown device, obtaining the corresponding testing result of the movable storage device is, the movable storage device
For unknown device;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result when being doubtful shrink equipment, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is doubtful shrink equipment;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result when being shrink equipment, obtaining the corresponding testing result of the movable storage device is, the movable storage device
For shrink equipment.
Alternatively, the testing result includes that the movable storage device is normal device, or, the movable storage device
For warping apparatus, the preset movable storage device detection storehouse includes the hardware attributes information and correspondence of movable storage device
Intermediate detection result, the intermediate detection result includes normal device, and aging equipment inferior, unknown device, doubtful shrink set
It is standby, and/or shrink equipment;
The server side is searched in preset movable storage device detection storehouse described according to the hardware attributes information
The step of movable storage device corresponding testing result, includes:
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result when being normal device, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is normal device;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result for aging equipment inferior when, obtaining the corresponding testing result of the movable storage device is, the movement
Storage device is warping apparatus;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result when being unknown device, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is warping apparatus;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result when being doubtful shrink equipment, obtaining the corresponding testing result of the movable storage device is, the movement
Storage device is warping apparatus;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result when being shrink equipment, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is warping apparatus.
According to a further aspect in the invention, there is provided a kind of device of movable storage device detection, including:
Positioned at the receiver module of server side, it is suitable to receive what the client-side was uploaded when movable storage device is accessed
The hardware attributes information of movable storage device;
Positioned at the searching modul of server side, it is suitable to according to the hardware attributes information, in preset movable storage device
Detection searches the corresponding testing result of the movable storage device in storehouse;
Positioned at the return module of server side, the testing result of the movable storage device is adapted to return to.
Alternatively, the hardware attributes information include producer mark VID, device identification PID, sequence number, interface type,
And/or Master Boot Record snapshot.
Alternatively, described device also includes:
Positioned at the acquisition module of server side, be suitable to server side and the client-side received in movable storage device access
The hardware attributes information of the movable storage device of Shi Shangchuan;
Positioned at the determination module of server side, it is suitable to judge current movable storage device according to the hardware attributes information
Risk class, and corresponding detected rule is extracted according to the risk class;
Positioned at the detection module of server side, it is suitable for use with the detected rule and initiates the shifting to accessing the client-side
The detection of dynamic storage device, obtains the testing result of the movable storage device;
Positioned at the add module of server side, the testing result addition blacklist label or the life of white list label are suitable for
Into testing result information;
Positioned at the writing module of server side, being suitable to will be the hardware attributes information and the information write of correspondence testing result pre-
In the movable storage device detection storehouse put.
Alternatively, the testing result includes that the movable storage device is normal device, or, the movable storage device
For warping apparatus, the preset movable storage device detection storehouse includes the hardware attributes information and correspondence of movable storage device
Testing result information, the testing result information includes blacklist label or white list label;
The searching modul positioned at server side includes:
The information searching submodule positioned at server side, is suitable to search in preset movable storage device detection storehouse
The corresponding testing result information of the hardware attributes information;If extracting the testing result information has white list label,
Call the first testing result to obtain submodule, if extracting the testing result information has blacklist label, call second
Testing result obtains submodule;
The first testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is normal device;
The second testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is warping apparatus.
Alternatively, the testing result includes normal device, aging equipment inferior, unknown device, doubtful shrink equipment,
And/or shrink equipment;The preset movable storage device detection storehouse include the hardware attributes information of movable storage device and
Corresponding testing result;
The searching modul positioned at server side includes:Find institute in storehouse being detected in preset movable storage device
State the corresponding testing result of hardware attributes information for normal device when, call first testing result for being located at server side to obtain
Submodule is obtained, and when the corresponding testing result of the hardware attributes information being found in preset movable storage device detection storehouse is
During aging equipment inferior, the 3rd testing result for being located at server side is called to obtain submodule, when depositing in preset movement
The corresponding testing result of the hardware attributes information is found in storage equipment detection storehouse for unknown device when, call and described be located at clothes
4th testing result of business device side obtains submodule, belongs to when the hardware is found in preset movable storage device detection storehouse
Property information corresponding testing result when being doubtful shrink equipment, call the 5th testing result for being located at server side to obtain son
Module, in preset movable storage device detection storehouse finds the corresponding testing result of the hardware attributes information and sets to shrink
When standby, the 6th testing result is called to obtain submodule;
The first testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is normal device;
And/or,
The 3rd testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is aging equipment inferior;
And/or,
The 4th testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is unknown device;
And/or,
The 5th testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is doubtful shrink equipment;
And/or,
The 6th testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is shrink equipment.
Alternatively, the testing result includes that the movable storage device is normal device, or, the movable storage device
For warping apparatus, the preset movable storage device detection storehouse includes the hardware attributes information and correspondence of movable storage device
Intermediate detection result, the intermediate detection result includes normal device, and aging equipment inferior, unknown device, doubtful shrink set
It is standby, and/or shrink equipment;
The searching modul positioned at server side includes:Find institute in storehouse being detected in preset movable storage device
State the corresponding intermediate detection result of hardware attributes information for normal device when, call the first testing result obtain submodule, when
It is inferior aging that the corresponding intermediate detection result of the hardware attributes information is found in preset movable storage device detection storehouse
During equipment, and/or, find in storehouse being detected in preset movable storage device the corresponding middle inspection of the hardware attributes information
When survey result is unknown device, and/or, find the hardware attributes information in storehouse being detected in preset movable storage device
When corresponding intermediate detection result is doubtful shrink equipment, and/or, find in storehouse is detected in preset movable storage device
When the corresponding intermediate detection result of the hardware attributes information is shrink equipment, second detection for being located at server side is called
As a result obtain submodule;
The first testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is normal device;
The second testing result positioned at server side obtains submodule, is suitable to obtain the corresponding inspection of the movable storage device
Surveying result is, the movable storage device is warping apparatus.
A kind of method of movable storage device detection of the invention, and, a kind of dress of movable storage device detection
Put.The server side is searched in preset movable storage device detection storehouse according to the hardware attributes information of movable storage device
Corresponding testing result, returns again to the testing result to client-side, thus solves traditional movable storage device detection consumption
The problem of time-consuming length, in addition, movable storage device detection storehouse is the detection for collecting different detected rules in the embodiment of the present invention
The testing result of movable storage device afterwards, thus it is with a high credibility, achieve the rapid detection for lifting movable storage device detection
The beneficial effect of rate.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the specific embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here
Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
With developing rapidly for ecommerce, using the user of network payment up to more than 200,000,000, more users are inclined to for China
In in online purchase electronic equipment or other products, certain customers are normally based on price and the moulding of product in purchase
Etc. aspect considering, there may come a time when to be cheated by bad businessman, buy the product of poor quality.In order to ensure the personal profit of user
Benefit, when user is in online purchase product, can guide user to go purchase to regular on-line shop and businessman, and can be user
There is provided product corresponding price range.If User logs in is the larger on-line shop of risk, user can also be alerted in the on-line shop
Purchase risk is larger.It is, of course, also possible to be the product that user recommends reliable manufacturer, user is given the choosing of more diversification
Select.In order to help user to avoid risk in advance, some can be identified as being the product of inferior quality in online exposure(For example shrink
Disk)Outward appearance photo, the product of inferior quality relevant information, and, the related commentary of user.Furthermore it is also possible to by the product of inferior quality
Purchase link preserved, when user to go buy product website be exposed risk website, it is possible to prompting use
There is risk in purchase of the family in the website.
In implementing, the roll of the hour of product can also be set up.For example, can build according to purchaser's manner of product
Vertical ranking system, user can select the higher product of purchase reliability, reduction to buy product inferior according to the roll of the hour of product
The probability of product.
Even if however, having done many textual criticisms and the purchase of correlation guiding in advance, cannot guarantee that user most
The product for buying eventually is qualified product, brings certain economic loss to user, with this simultaneously, also counteracts that network payment
Industry development, in order to solve this problem, releases " net purchase is first paid for " service, can be compensated to provide great number by fraud consumer
Gold, ensures user's vital interests.Specifically, if user opens the net purchase first service of paying for carries out shopping online, if it find that purchase
The product bought is the product of inferior quality, and user submits relevant evidence to, and after a series of detection process, if it find that being bought
Product when being the product of inferior quality, the direct economic loss that can be subjected to user is compensated accordingly.
Therefore, one of the core concepts of the embodiments of the present invention is, collect movable storage device hardware attributes information and
Corresponding testing result information, creates movable storage device detection storehouse, and server side can be being moved according to the client-side
The hardware attributes information of the movable storage device that storage device is uploaded when accessing is searched in movable storage device detection storehouse
To corresponding testing result.
With reference to Fig. 1, a kind of embodiment of the method for movable storage device detection according to an embodiment of the invention is shown
One the step of flow chart, specifically may comprise steps of:
Step 101, the mobile storage that the server side reception client-side is uploaded when movable storage device is accessed set
Standby hardware attributes information;
In implementing, movable storage device can include the computer External memory equipment of arbitrary medium, such as hand
Machine, the wireless Internet card of additional storage function, USB flash disk etc..
When movable storage device is accessed client-side by user, client-side can be by the hardware of the movable storage device
Attribute information is uploaded onto the server side.The hardware attributes information can include that producer identifies VID, device identification PID, sequence
Number, interface type, and/or Master Boot Record snapshot etc..Hardware attributes information is subordinated to finger print information, of the invention real
Other finger print informations can also be obtained in applying example, for example, buy network address, time buying, price, publicity capacity, user detect the shifting
The detection time of dynamic equipment, user detect the information of the machine of the mobile device, and, user opens when pattern is first paid in net purchase and makes
Account etc..
Specifically, the extraction that the hardware attributes information of movable storage device can directly from movable storage device, and
Other finger print informations then can buy the network address of the movable storage device, or the local day from user's machine by user
Will, or, extract from the diary of high in the clouds.
Step 102, the server side according to the hardware attributes information, in preset movable storage device detection storehouse
Search the corresponding testing result of the movable storage device;
In one preferred embodiment of the invention, the preset movable storage device detection storehouse can be by such as lower section
Formula is generated:
Step S101, the mobile storage that the server side reception client-side is uploaded when movable storage device is accessed set
Standby hardware attributes information;
Step S102, the server side judge risk of current movable storage device etc. according to the hardware attributes information
Level, and corresponding detected rule is extracted according to the risk class;
Step S103, the server side initiate the mobile storage to accessing the client-side using the detected rule
The detection of equipment, obtains the testing result of the movable storage device;
Step S104, the server side are that the testing result adds blacklist label or white list label generates detection
Object information;
The hardware attributes information and correspondence testing result information are write preset shifting by step S105, the server side
In dynamic storage device detection storehouse.
Step S102, the server side judge risk of current movable storage device etc. according to the hardware attributes information
Level, and corresponding detected rule is extracted according to the risk class;
In one preferred embodiment of the invention, step S102 can include following sub-step:
Sub-step SS11, it is corresponding that the server side searches the hardware attributes information in preset risk class storehouse
Risk class;
Sub-step SS12, the server side search the corresponding detection of the risk class in preset detected rule storehouse
Rule.
In embodiments of the present invention, risk class storehouse can be by a large amount of collection user's direct feedbacks or carry out credible
The result that counts after the detection appointed, and, the hardware attributes information of the movable storage device asked for each manufacturer and corresponding
Detection information is created, the foundation in embodiments of the present invention as dynamic select detected rule.Specifically, risk class is mobile
The hardware attributes information of storage device and the common comprehensive evaluation out of detection information, if the such as movable storage device of A types
Hardware attributes information think which is very risky in risk class storehouse finds its detection information, then the mobile storage of A types sets
Standby risk class can just divide high-risk grade into.
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, risk class can be divided according to the purchase IP address of movable storage device only, if it find that user's purchase movement is deposited
The IP address of storage equipment is considered as to buy the larger suspicious IP regions of risk at certain, then bought in this IP region
The possibility of the movable storage device of problem is very high, and purchase risk is larger, can directly determine the risk of the movable storage device
Grade is doubtful shrink.
Step S103, the server side initiate the mobile storage to accessing the client-side using the detected rule
The detection of equipment, obtains the testing result of the movable storage device;
In one preferred embodiment of the invention, when the risk class is high-risk grade, corresponding detection rule
Can be then result mapping ruler,
Step S103 can include following sub-step:
Sub-step SS21, the server side extract the movement for accessing the client-side using the result mapping ruler
The hardware attributes information of storage device;
Sub-step SS22, it is corresponding that the server side searches the hardware attributes information in preset mapping tables of data
Testing result.
In implementing, if movable storage device is confirmed as high-risk grade, illustrate that the movable storage device is several
It is product inferior to be identified as, for example, be greatly a shrink equipment, then for time-consuming detection movement
The time of storage device, can directly determine that the movable storage device is shrink disk.
Shrink disk is also referred to as " dilatation disk ", " upgrading disk ", refers to that illegal manufacturer uses a kind of software of production tool, will be mobile
Capacity of memory device mark is reaped staggering profits with the means for cheating consumer, works as movable storage device to much larger than its actual capacity
Actual capacity less than or equal to its nominal 90% when, that is, be identified as the shrink disk that there are quality problems.
, much smaller than mark capacity, in use, not only read or write speed is super slow for shrink disk for shrink disk actual capacity, and
Can occur insufficient memory quickly, in addition, the file being written in shrink disk, more than the part of actual capacity, it is impossible to by just
Often read and use, so a series of troubles such as loss data, work delay can be brought to user.So a kind of good movement is deposited
Storage equipment detection method is most important for a user.
In implementing, due to being detected in mobile storage during need to write and read data, therefore
Before detecting to movable storage device, user can be first reminded to back up capsule information.Starting to perform mobile depositing
After the detection of storage equipment, it is possible to use the mode such as detection progress bar reminds the progress that user's movable storage device is detected, and reminds
User avoids extracting movable storage device, prevents the loss of data.
In another preferred embodiment of the invention, when the risk class is risk grade, corresponding detection
Rule can be integrity rule;
The server side initiates the inspection of the movable storage device to accessing the client-side using the detected rule
Survey, the testing result for obtaining the movable storage device includes:
Sub-step SS31, the server side are detected to the client-side using the integrity rule and send detection institute
State the request of the memory space of movable storage device;
Sub-step SS32, memory space write test data of the server side in the movable storage device;It is described
The size of test data is nominal capacity;
Sub-step SS33, the server side read the first data of the movable storage device;
The test data is compared by sub-step SS34, the server side with first data;When the shifting
When the test data of the dynamic storage device data consistent with first data are more than the first predetermined threshold value, sub-step is performed
SS35, when the test data of the movable storage device data consistent with first data are less than the first default threshold
Value, and more than the second predetermined threshold value when, perform sub-step SS36, when the movable storage device the test data with it is described
The consistent data of first data are less than the second predetermined threshold value, and during more than three predetermined threshold values, perform sub-step SS37, when described
When the test data of the movable storage device data consistent with first data are less than three predetermined threshold values, sub-step is performed
Rapid SS38;
Sub-step SS35, the server side obtain testing result of the movable storage device for normal device;
Sub-step SS36, the server side obtain testing result of the movable storage device for unknown device;
Sub-step SS37, the server side obtain the testing result that the movable storage device is doubtful shrink equipment;
Sub-step SS38, the server side obtain the testing result that the movable storage device is shrink equipment.
In implementing, if movable storage device is confirmed as risk grade, illustrate that the movable storage device has
Be probably greatly very much an equipment inferior, due to its be product inferior possibility it is larger, in order to more determine the movement
Whether storage device is qualified product, can go to carry out strict verification using integrity check algorithm.
Specifically, the data of mark amount of capacity can be stored in this movable storage device, for example, be moved storage and is set
Standby mark capacity is the data that 2G just writes 2G, then, then check write and the data for reading. the digital independent of this 2G out
Whether change, flow chart the step of a kind of movable storage device integrity detection of the present invention being specifically referred to 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 on the movable storage device of 2G RNTO file B;
Step 3:File B is read on hard disk from the movable storage device of 2G;
Step 4:Whether comparison document A is equal with file B, and if so, then movable storage device is normal movement storage device,
If it is not, then movable storage device is shrink disk.
It should be noted that the memory capacity of movable storage device is usually 2G, 4G, 8G, 16G ... 2nG, with index
Form is incremented by, and more can quickly detect soon the actual capacity of movable storage device based on this feature, specifically, can be with
2G, the data of 4G, 8G, 16G ... 2nG sizes are gradually added in movable storage device, for example, if movable storage device
The physical memory space be 2G, but its nominal capacity is but 16G, if directly the data of 16G write, the time ratio of consuming
It is longer.And the exponential increasing feature of the memory space based on movable storage device, the data of 2G can be initially charged, if data do not have
Change, be further continued for adding the data of 4G, if it finds that data there occurs change when adding the data of 4G, it is possible to
Judge that movable storage device is the equipment for shrinking, be a shrink disk.If it have been determined that movable storage device is shrink disk, that
The data of nominal capacity need not be added just to detect the actual capacity of movable storage device, the time needed for detection will
Greatly reduce.
In another preferred embodiment of the invention, when the risk class is low risk level, corresponding detection
Can be data point rule;
The server side initiates the inspection of the movable storage device to accessing the client-side using the detected rule
Survey, the testing result for obtaining the movable storage device includes:
Sub-step SS41, the server side send detection institute to the client-side using the data point rule detection
State the request of the memory space of movable storage device;
Sub-step SS42, the server side obtain each sets of sectors of the memory space of the movable storage device;
Sub-step SS43, the server side judge that each sets of sectors of the memory space of the movable storage device is
It is no to gather for normal sector;
Sub-step SS44, the server side calculate normal sector and are integrated in the memory space of the movable storage device
Ratio;
Sub-step SS45, the server side are integrated into the normal sector in the memory space of movable storage device
Ratio is compared with preset ratio;The preset ratio includes the first preset ratio, the second preset ratio, and the 3rd default ratio
Example;When the movable storage device memory space normal sector set ratio more than the first preset ratio when, perform son
Step SS46, when the ratio of the normal sector set of the memory space of the movable storage device is less than the first preset ratio, and
During more than the second preset ratio, sub-step SS47 is performed, when the normal sector set of the memory space of the movable storage device
Ratio be less than the second preset ratio, and more than three preset ratios when, perform sub-step SS48, when the movable storage device
Memory space normal sector set ratio be less than three preset ratios when, perform sub-step SS49;
Sub-step SS46, the server side obtain testing result of the movable storage device for normal device;
Sub-step SS47, the server side obtain the testing result that the movable storage device is unknown shrink equipment;
Sub-step SS48, the server side obtain the testing result that the movable storage device is doubtful shrink equipment;
Sub-step SS49, the server side obtain the testing result that the movable storage device is shrink equipment.
In implementing, sector is the minimum physical memory cell of disk in movable storage device, a general fan
The size in area is 512 bytes.For example, the movable storage device of a 2G, refers to all of sector in movable storage device
The memory space of composition has 2G, for example, file is stored on USB flash disk, actually file is assigned to including multiple sectors
Stored on memory space, such as, the film of a 300MB is placed on USB flash disk, be there are many sectors being responsible for depositing in fact
Storage data.
For the movable storage device of a nG, can be expressed with following formula, wherein n is positive number:
The size of each sector of number * of sector=nG=n*1024*1024*1024 bytes
Therefore, to check whether a movable storage device shrinks disk, most essential principle exactly confirms the movement
Whether sector number in storage device meets above equation, in fact the shrink of shrink disk, disappearance be sector number, it is right
In a shrink disk, illustrate that the number of sectors in its physical memory space is inadequate, even if being for example known as the appearance of movable storage device
Amount has 2G, but the capacity of the data of its actual storage is certainly less than 2G.
Specifically, determined by the nominal capacity of movable storage device as the quantity of sector in the sets of sectors of detection object
It is fixed, for example, if the USB flash disk of 1G, 100 sectors can be set used as detection object, if the USB flash disk of 4G, 400 can be arranged
Individual sector is used as detection object.
In implementing, because in other sectors and the sets of sectors beyond the sets of sectors of write random data
The position of sector do not occur simultaneously, therefore under normal conditions, random data and the test data of write are not occured simultaneously, but
It is that, in the case where movable storage device is shrink disk, the capacity of the random data of write is more than for storing random data
The capacity of sector, therefore random data will take the position of other sectors, for example, take the position of the sets of sectors, so
Random data will part coverage test data, interfere to test data, cause read the second data and test data
It is inconsistent, also hence it is demonstrated that the sets of sectors is abnormal sets of sectors.
Specifically, movable storage device can have many sectors according to its capacity, can from these quantity compared with
Several sectors are randomly selected in big sector and constitutes a sets of sectors, there can be several in whole movable storage device
Sets of sectors, this several sets of sectors distribution on a rough average can cover the sector space of whole movable storage device, but
It is discontinuous between these sets of sectors, i.e., do not occur simultaneously, for example, whole movable storage device has 10000 sectors, certain sector
Set potentially includes 100 sectors, and distribution difference of this 100 sectors in 10000 sectors of whole movable storage device can
To be 1-20,1000-1040 is individual, the 2000 to 2020th, the 8000 to 8020th.
In implementing, random data can be random code, other sectors beyond the sets of sectors and the fan
The position of sector in area's set is not occured simultaneously, and other sectors beyond the sets of sectors are several that randomly select
Sector.
Because reading and writing data can be carried out in the detection process of movable storage device, write or the data for reading can cause
The test data and primary data write in the memory space of the movable storage device is different, therefore should be test data
The primary data of movable storage device is reverted to, so that user can normally use movable storage device.
In one preferred embodiment of the invention, before the step of the second data in reading sets of sectors, also wrap
Include following sub-step:
After the movable storage device is exited, the movable storage device is accessed again.
In practice, some illegal manufacturers establish caching mechanism in movable storage device for some detection instruments,
It is shrink equipment that can affect to detect that tool detection goes out movable storage device.And pass through employing and first exit movable storage device again
The secondary detection mode of access, can more accurately calculate the actual capacity of movable storage device, and the degree of accuracy of detection also will
It is greatly improved.
It should be noted that sets of sectors quantity can be determined according to the size of movable storage device, the test of write
Data can also be freely selected according to actual conditions, for example, if it is desired to the more storage of accurate detection movable storage device
Space, can write larger data in a sector, in addition, in embodiments of the present invention can be with the set of sectors having determined
New sector is further added on the basis of conjunction, or increases more test datas and detected, more strict inspection is come with this
The physical memory space of movable storage device is surveyed, the present invention is not then restricted to this.
In another preferred embodiment of the invention, if the server obtains the movable storage device just to set up
Standby testing result, the server side initiate the movable storage device to accessing the client-side using the detected rule
Detection, following sub-step can also be included the step of the testing result for obtaining the movable storage device:
Sub-step SS51, the server side detect the reading speed of the movable storage device;
Whether sub-step SS52, the server side judge the reading speed of the movable storage device less than pre-set velocity
Threshold value;When the reading speed of the mobile storage is less than pre-set velocity threshold value, sub-step SS53 is performed;
Wherein,
Sub-step SS51, i.e., described server side can detect writing for the movable storage device in the following way
Enter speed:
Sub-step SS51-11, the server side write the 3rd test data in the movable storage device;
Sub-step SS51-12, the server side calculate the write time needed for write the 3rd test data;
Sub-step SS51-13, the server side is according to described in the 3rd test data and said write Time Calculation
The writing speed of movable storage device;
In another preferred embodiment of the invention, the writing speed of movable storage device can also be detected.
Sub-step SS51, the server side detect the writing speed of the movable storage device;
Whether sub-step SS52, the server side judge the writing speed of the movable storage device less than pre-set velocity
Threshold value;When the writing speed of the mobile storage is less than pre-set velocity threshold value, sub-step SS53 is performed;
Sub-step SS51, i.e., described server side can detect the reading of the movable storage device in the following way
Take speed:
Sub-step S51-21, the server side read the 3rd data of the movable storage device;
Sub-step SS51-22, the server side calculate the read access time read needed for the 3rd data;
Sub-step SS51-23, the server side calculate the movement according to the 3rd data and the read access time
The reading speed of storage device;
Sub-step SS53, the server side obtain the testing result that the movable storage device is aging equipment inferior.
In implementing, if generating testing result of the movable storage device for normal device, can also be by inspection
The read or write speed of movable storage device is surveyed come whether determine whether the movable storage device be aging equipment inferior.Some shiftings
Although dynamic storage device actual capacity is nominal capacity, it is possible that be equipment inferior or aging, therefore its actual read-write
Speed is slower.Product inferior is possibly due to producer using some bad chips, master control inferior to manufacture movable storage device,
Or some make the storage device of failure(For example there is bad block), aging equipment then possibly place cause too long it is aging
Movable storage device.
At present, read or write speed may determine that whether movable storage device is inferior or aging, specifically reading speed meter
Calculation mode can write certain known file using calculating, and the acquisition movement storage sets by being divided by with the time for reading this document
Standby reading speed.Wherein, the calculation of writing speed and the calculation of reading speed are similar.
After the completion of movable storage device detection, can also be for detection information and add corresponding blacklist label or white
List label.
Step 103, the server side return the testing result of the movable storage device.
Can be, for final testing result, to return to user one and compare intuitively risk and retouch in actual applications
State.After detection is finished, for example, if USB flash disk is finally identified shrink equipment, can return it is similar " your USB flash disk for contracting
The description of wetting system ".
To make those skilled in the art more fully understand the practical application scene of the embodiment of the present invention, have below by way of one
The detection process after service purchase USB flash disk is first paid in the employing net purchase of the example explanation present invention of body application, the following is the compensation for USB flash disk
Repay process:
As a kind of example of concrete application of the present invention, if it find that USB flash disk is shrink equipment, and it is to open net purchase elder generation
Pay for what is bought under service scenario, once stolen by wooden horse by fishing website swindle or net purchase fund, you can enter quick Claims Resolution stream
Journey, can obtain reparations in cash after loss is confirmed the very first time.
Specifically claims process is:User extracts the transaction note of claim from high in the clouds net purchase daily record or local net purchase daily record
Record, as Online Shopping transaction evidence.User first pays for backstage into net purchase, and needs application Claims Resolution is found in daily record is first paid in net purchase
The corresponding period net purchase record, start Claims Resolution application, after confirming to select transaction record, fill in Transaction Details, fill in corresponding
Transaction Information, writes personal information, please fill in real personal information, and fill in other data.Specifically, user needs to carry
The information of friendship includes:User contact details, the version of qualification result information and assessor, purchase approach, commodity purchasing address
URL, transaction record, Flow Record, the authentication information stamp stamped, user submit other evidences etc. to.
It is preferred that the chat record during net purchase is constituted can be supplemented, and payment sectional drawing is cheated with some other proof
Material.Supplementary material is complete can to accelerate examination & verification progress.Select to submit to after confirmation data is errorless, wait pending, 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 that strictly identification is in net purchase elder generation
The shrink USB flash disk bought in the case of compensation, user are obtained with corresponding reparation.In order to ensure the interests of user, user uses
Assessor need to be current latest edition, and find buy shrink disk when carry out Claims Resolution application in the specified period.
With reference to Fig. 3, a kind of embodiment of the method for movable storage device detection according to an embodiment of the invention is shown
Two the step of flow chart, specifically may comprise steps of:
Step 201, the mobile storage that the server side reception client-side is uploaded when movable storage device is accessed set
Standby hardware attributes information;
In one preferred embodiment of the invention, the testing result can be normal including the movable storage device
Equipment, or, the movable storage device is warping apparatus, the preset movable storage device detection storehouse includes mobile storage
The hardware attributes information of equipment and corresponding testing result information, the testing result information include blacklist label or white name
Single label;
Step 202, the server side search the hardware attributes information in preset movable storage device detection storehouse
Corresponding testing result information;If extracting the testing result information has white list label, execution step 203, if putting forward
Get the testing result information and there is blacklist label, then execution step 204;
Step 203, it is that the movable storage device is just to set up to obtain the corresponding testing result of the movable storage device
It is standby;
Step 204, it is that the movable storage device is set for abnormal to obtain the corresponding testing result of the movable storage device
It is standby;
Step 205, the server side return the testing result of the movable storage device.
In embodiments of the present invention, blacklist label is included in the testing result information in movable storage device detection storehouse
With white list label, it is black when including in corresponding testing result information in the hardware attributes information for detect movable storage device
List label, illustrates that the equipment is classified as warping apparatus, then server can return the movable storage device for warping apparatus
Testing result;When including white name in corresponding testing result information in the hardware attributes information for detect movable storage device
Single label, illustrates that the equipment is classified as normal device, then server can return the movable storage device for normal device
Testing result.
With reference to Fig. 4, a kind of embodiment of the method for movable storage device detection according to an embodiment of the invention is shown
Two the step of flow chart, specifically may comprise steps of:
Step 301, the mobile storage that the server side reception client-side is uploaded when movable storage device is accessed set
Standby hardware attributes information;
In one preferred embodiment of the invention, the testing result can include normal device, aging equipment inferior,
Unknown device, doubtful shrink equipment, and/or shrink equipment;The preset movable storage device detection storehouse includes that movement is deposited
The hardware attributes information and corresponding testing result of storage equipment;
Step 302, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding testing result of information is normal device, obtaining the corresponding testing result of the movable storage device is, the movement
Storage device is normal device;
Step 303, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding testing result of information is aging equipment inferior, obtaining the corresponding testing result of the movable storage device is, described
Movable storage device is warping apparatus;
Step 304, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding testing result of information is unknown device, obtaining the corresponding testing result of the movable storage device is, the movement
Storage device is unknown device;
Step 305, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding testing result of information is doubtful shrink equipment, obtaining the corresponding testing result of the movable storage device is, described
Movable storage device is doubtful shrink equipment;
Step 306, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding testing result of information is shrink equipment, obtaining the corresponding testing result of the movable storage device is, the movement
Storage device is shrink equipment.
Step 307, the server side return the testing result of the movable storage device.
For certain customers, except hope know the movable storage device it is whether normal in addition to, it is also desirable to know shifting
The reason for dynamic storage device is abnormal, therefore, the embodiment of the present invention can movable storage device whether normal information is anti-
Feed with outdoor, the abnormal concrete reason of movable storage device can also be returned in the lump, Consumer's Experience effect is preferable.
With reference to Fig. 5, a kind of embodiment of the method for movable storage device detection according to an embodiment of the invention is shown
Three the step of flow chart, specifically may comprise steps of:
Step 401, the mobile storage that the server side reception client-side is uploaded when movable storage device is accessed set
Standby hardware attributes information;
In one preferred embodiment of the invention, the testing result can be normal including the movable storage device
Equipment, or, the movable storage device is warping apparatus, the preset movable storage device detection storehouse includes mobile storage
The hardware attributes information of equipment and corresponding intermediate detection result, the intermediate detection result include normal device, inferior aging
Equipment, unknown device, doubtful shrink equipment, and/or shrink equipment;
Step 402, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding intermediate detection result of information is normal device, obtaining the corresponding testing result of the movable storage device is, described
Movable storage device is normal device;
Step 403, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding intermediate detection result of information is aging equipment inferior, obtaining the corresponding testing result of the movable storage device is,
The movable storage device is warping apparatus;
Step 404, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding intermediate detection result of information is unknown device, obtaining the corresponding testing result of the movable storage device is, described
Movable storage device is warping apparatus;
Step 405, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding intermediate detection result of information is doubtful shrink equipment, obtaining the corresponding testing result of the movable storage device is,
The movable storage device is warping apparatus;
Step 406, when the server side finds the hardware attributes in preset movable storage device detection storehouse
When the corresponding intermediate detection result of information is shrink equipment, obtaining the corresponding testing result of the movable storage device is, described
Movable storage device is warping apparatus.
Step 407, the server side return the testing result of the movable storage device.
For certain customers, only want to the whether normal of the movable storage device known, and for mobile storage sets
Then be not concerned with the reason for standby abnormal, therefore, the embodiment of the present invention can movable storage device whether normal information is anti-
Feed user, and abnormal concrete reason can then be omitted, and Consumer's Experience effect is preferable.
It should be noted that for embodiment of the method, in order to be briefly described, therefore which to be all expressed as a series of action group
Close, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to this
Bright, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know, specification
Described in embodiment belong to preferred embodiment, involved action and the module not necessarily present invention are necessary.
With reference to Fig. 6, a kind of device embodiment of movable storage device detection according to an embodiment of the invention is shown
The step of flow chart, specifically can include with lower module:
Positioned at the receiver module 501 of server side, be suitable to receive the client-side when movable storage device is accessed on
The hardware attributes information of the movable storage device of biography;
In one preferred embodiment of the invention, the hardware attributes information can include that producer identifies VID, equipment mark
Know PID, sequence number, interface type, and/or Master Boot Record snapshot.
Positioned at the searching modul 502 of server side, it is suitable to, according to the hardware attributes information, set in preset mobile storage
The corresponding testing result of the movable storage device is searched in standby detection storehouse;
In one preferred embodiment of the invention, described device can also include:
Positioned at the acquisition module of server side, be suitable to server side and the client-side received in movable storage device access
The hardware attributes information of the movable storage device of Shi Shangchuan;
Positioned at the determination module of server side, it is suitable to judge current movable storage device according to the hardware attributes information
Risk class, and corresponding detected rule is extracted according to the risk class;
Positioned at the detection module of server side, it is suitable for use with the detected rule and initiates the shifting to accessing the client-side
The detection of dynamic storage device, obtains the testing result of the movable storage device;
Positioned at the add module of server side, the testing result addition blacklist label or the life of white list label are suitable for
Into testing result information;
Positioned at the writing module of server side, being suitable to will be the hardware attributes information and the information write of correspondence testing result pre-
In the movable storage device detection storehouse put.
In one preferred embodiment of the invention, the testing result can be normal including the movable storage device
Equipment, or, the movable storage device is warping apparatus, the preset movable storage device detection storehouse includes mobile storage
The hardware attributes information of equipment and corresponding testing result information, the testing result information include blacklist label or white name
Single label;
The searching modul positioned at server side can include:
The information searching submodule positioned at server side, is suitable to search in preset movable storage device detection storehouse
The corresponding testing result information of the hardware attributes information;If extracting the testing result information has white list label,
Call the first testing result to obtain submodule, if extracting the testing result information has blacklist label, call second
Testing result obtains submodule;
First testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be normal device;
Second testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be warping apparatus.
In one preferred embodiment of the invention, the testing result can include normal device, aging equipment inferior,
Unknown device, doubtful shrink equipment, and/or shrink equipment;The preset movable storage device detection storehouse includes that movement is deposited
The hardware attributes information and corresponding testing result of storage equipment;
The searching modul positioned at server side includes:Find institute in storehouse being detected in preset movable storage device
State the corresponding testing result of hardware attributes information for normal device when, call first testing result for being located at server side to obtain
Submodule is obtained, and when the corresponding testing result of the hardware attributes information being found in preset movable storage device detection storehouse is
During aging equipment inferior, the 3rd testing result for being located at server side is called to obtain submodule, when depositing in preset movement
The corresponding testing result of the hardware attributes information is found in storage equipment detection storehouse for unknown device when, call and described be located at clothes
4th testing result of business device side obtains submodule, belongs to when the hardware is found in preset movable storage device detection storehouse
Property information corresponding testing result when being doubtful shrink equipment, call the 5th testing result for being located at server side to obtain son
Module, in preset movable storage device detection storehouse finds the corresponding testing result of the hardware attributes information and sets to shrink
When standby, the 6th testing result is called to obtain submodule;
First testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be normal device;
And/or,
The 3rd testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be that the movable storage device is aging equipment inferior;
And/or,
The 4th testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be unknown device;
And/or,
The 5th testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be doubtful shrink equipment;
And/or,
The 6th testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be shrink equipment.
In one preferred embodiment of the invention, the testing result can be normal including the movable storage device
Equipment, or, the movable storage device is warping apparatus, the preset movable storage device detection storehouse includes mobile storage
The hardware attributes information of equipment and corresponding intermediate detection result, the intermediate detection result include normal device, inferior aging
Equipment, unknown device, doubtful shrink equipment, and/or shrink equipment;
The searching modul positioned at server side includes:Find institute in storehouse being detected in preset movable storage device
State the corresponding intermediate detection result of hardware attributes information for normal device when, call the first testing result obtain submodule, when
It is inferior aging that the corresponding intermediate detection result of the hardware attributes information is found in preset movable storage device detection storehouse
During equipment, and/or, find in storehouse being detected in preset movable storage device the corresponding middle inspection of the hardware attributes information
When survey result is unknown device, and/or, find the hardware attributes information in storehouse being detected in preset movable storage device
When corresponding intermediate detection result is doubtful shrink equipment, and/or, find in storehouse is detected in preset movable storage device
When the corresponding intermediate detection result of the hardware attributes information is shrink equipment, second detection for being located at server side is called
As a result obtain submodule;
First testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be normal device;
Second testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be warping apparatus.
Positioned at the return module 503 of server side, the testing result of the movable storage device is adapted to return to.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, it is related
Part is illustrated referring to the part of embodiment of the method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this
Bright preferred forms.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist
Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor
The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as following
Claims it is reflected as, inventive aspect is less than all features of single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more different from embodiment equipment.Can be the module or list in embodiment
Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any
Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power
Profit requires, makes a summary and accompanying drawing)Disclosed in each feature can be by providing identical, equivalent or the alternative features of similar purpose carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint
One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor(DSP)To realize in movable storage device testing equipment according to embodiments of the present invention
Some or all parts some or all functions.The present invention is also implemented as performing side as described herein
Some or all equipment of method or program of device(For example, computer program and computer program).It is such
Realize that the program of the present invention can be stored on a computer-readable medium, or there can be the shape of one or more signal
Formula.Such signal can be downloaded from internet website and be obtained, or provide on carrier signal, or with any other shape
Formula is provided.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame
Claim.
A1, a kind of method of movable storage device detection, including:
Server side receives the hardware of the movable storage device that the client-side is uploaded when movable storage device is accessed
Attribute information;
The server side is searched in preset movable storage device detection storehouse described according to the hardware attributes information
The corresponding testing result of movable storage device;
The server side returns the testing result of the movable storage device.
A2, the method as described in claim A1, it is characterised in that the hardware attributes information includes producer mark VID,
Device identification PID, sequence number, interface type, and/or Master Boot Record snapshot.
A3, the method as described in claim A1 or A2, it is characterised in that the preset movable storage device detection storehouse
Generate in the following way:
Server side receives the hardware of the movable storage device that the client-side is uploaded when movable storage device is accessed
Attribute information;
The server side judges the risk class of current movable storage device, and foundation according to the hardware attributes information
The risk class extracts corresponding detected rule;
The server side initiates the inspection of the movable storage device to accessing the client-side using the detected rule
Survey, obtain the testing result of the movable storage device;
The server side is that the testing result adds blacklist label or white list label generates testing result information;
The hardware attributes information and correspondence testing result information are write preset mobile storage and are set by the server side
In standby detection storehouse.
A4, the method as described in claim A3, it is characterised in that the testing result includes the movable storage device
For normal device, or, the movable storage device is warping apparatus, the preset movable storage device detection storehouse includes moving
The hardware attributes information of dynamic storage device and corresponding testing result information, the testing result information include blacklist label
Or white list label;
The server side is searched in preset movable storage device detection storehouse described according to the hardware attributes information
The step of movable storage device corresponding testing result, includes:
The server side searches the corresponding inspection of the hardware attributes information in preset movable storage device detection storehouse
Survey object information;
If extracting the testing result information has white list label, the corresponding inspection of the movable storage device is obtained
Surveying result is, the movable storage device is normal device;
If extracting the testing result information has blacklist label, the corresponding inspection of the movable storage device is obtained
Surveying result is, the movable storage device is warping apparatus.
A5, the method as described in claim A3, it is characterised in that the testing result includes normal device, inferior old
Change equipment, unknown device, doubtful shrink equipment, and/or shrink equipment;The preset movable storage device detection storehouse includes
The hardware attributes information and corresponding testing result of movable storage device;
The server side is searched in preset movable storage device detection storehouse described according to the hardware attributes information
The step of movable storage device corresponding testing result, includes:
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result when being normal device, obtaining the corresponding testing result of the movable storage device is, the movable storage device
For normal device;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result for aging equipment inferior when, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is aging equipment inferior;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result when being unknown device, obtaining the corresponding testing result of the movable storage device is, the movable storage device
For unknown device;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result when being doubtful shrink equipment, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is doubtful shrink equipment;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Testing result when being shrink equipment, obtaining the corresponding testing result of the movable storage device is, the movable storage device
For shrink equipment.
A6, the method as described in claim A3, it is characterised in that the testing result includes the movable storage device
For normal device, or, the movable storage device is warping apparatus, the preset movable storage device detection storehouse includes moving
The hardware attributes information of dynamic storage device and corresponding intermediate detection result, the intermediate detection result includes normal device, bad
Matter aging equipment, unknown device, doubtful shrink equipment, and/or shrink equipment;
The server side is searched in preset movable storage device detection storehouse described according to the hardware attributes information
The step of movable storage device corresponding testing result, includes:
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result when being normal device, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is normal device;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result for aging equipment inferior when, obtaining the corresponding testing result of the movable storage device is, the movement
Storage device is warping apparatus;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result when being unknown device, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is warping apparatus;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result when being doubtful shrink equipment, obtaining the corresponding testing result of the movable storage device is, the movement
Storage device is warping apparatus;
And/or,
When the server side finds the hardware attributes information correspondence in preset movable storage device detection storehouse
Intermediate detection result when being shrink equipment, obtaining the corresponding testing result of the movable storage device is, the mobile storage
Equipment is warping apparatus.
B7, a kind of device of movable storage device detection, including:
Positioned at the receiver module of server side, it is suitable to receive what the client-side was uploaded when movable storage device is accessed
The hardware attributes information of movable storage device;
Positioned at the searching modul of server side, it is suitable to according to the hardware attributes information, in preset movable storage device
Detection searches the corresponding testing result of the movable storage device in storehouse;
Positioned at the return module of server side, the testing result of the movable storage device is adapted to return to.
B8, the device as described in claim B7, it is characterised in that the hardware attributes information includes producer mark VID,
Device identification PID, sequence number, interface type, and/or Master Boot Record snapshot.
B9, the device as described in claim B7 or B8, it is characterised in that also include:
Positioned at the acquisition module of server side, be suitable to server side and the client-side received in movable storage device access
The hardware attributes information of the movable storage device of Shi Shangchuan;
Positioned at the determination module of server side, it is suitable to judge current movable storage device according to the hardware attributes information
Risk class, and corresponding detected rule is extracted according to the risk class;
Positioned at the detection module of server side, it is suitable for use with the detected rule and initiates the shifting to accessing the client-side
The detection of dynamic storage device, obtains the testing result of the movable storage device;
Positioned at the add module of server side, the testing result addition blacklist label or the life of white list label are suitable for
Into testing result information;
Positioned at the writing module of server side, being suitable to will be the hardware attributes information and the information write of correspondence testing result pre-
In the movable storage device detection storehouse put.
B10, the device as described in claim B9, it is characterised in that the testing result includes that the mobile storage sets
Standby is normal device, or, the movable storage device is warping apparatus, the preset movable storage device detection storehouse includes
The hardware attributes information of movable storage device and corresponding testing result information, the testing result information include blacklist mark
Sign or white list label;
The searching modul positioned at server side includes:
The information searching submodule positioned at server side, is suitable to search in preset movable storage device detection storehouse
The corresponding testing result information of the hardware attributes information;If extracting the testing result information has white list label,
Call the first testing result to obtain submodule, if extracting the testing result information has blacklist label, call second
Testing result obtains submodule;
First testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be normal device;
Second testing result positioned at server side obtains submodule, is suitable to obtain the movable storage device correspondence
Testing result be, the movable storage device be warping apparatus.
B11, the device as described in claim B9, it is characterised in that the testing result includes normal device, inferior old
Change equipment, unknown device, doubtful shrink equipment, and/or shrink equipment;The preset movable storage device detection storehouse includes
The hardware attributes information and corresponding testing result of movable storage device;
The searching modul positioned at server side includes:Find institute in storehouse being detected in preset movable storage device
State the corresponding testing result of hardware attributes information for normal device when, call first testing result for being located at server side to obtain
Submodule is obtained, and when the corresponding testing result of the hardware attributes information being found in preset movable storage device detection storehouse is
During aging equipment inferior, the 3rd testing result for being located at server side is called to obtain submodule, when depositing in preset movement
The corresponding testing result of the hardware attributes information is found in storage equipment detection storehouse for unknown device when, call and described be located at clothes
4th testing result of business device side obtains submodule, belongs to when the hardware is found in preset movable storage device detection storehouse
Property information corresponding testing result when being doubtful shrink equipment, call the 5th testing result for being located at server side to obtain son
Module, in preset movable storage device detection storehouse finds the corresponding testing result of the hardware attributes information and sets to shrink
When standby, call and submodule is obtained positioned at the 6th testing result of server side;
Submodule is obtained positioned at the first testing result of server side, is suitable to obtain the corresponding detection of the movable storage device
As a result it is that the movable storage device is normal device;
And/or,
Submodule is obtained positioned at the 3rd testing result of server side, is suitable to obtain the corresponding detection of the movable storage device
As a result it is that the movable storage device is aging equipment inferior;
And/or,
Submodule is obtained positioned at the 4th testing result of server side, is suitable to obtain the corresponding detection of the movable storage device
As a result it is that the movable storage device is unknown device;
And/or,
Submodule is obtained positioned at the 5th testing result of server side, is suitable to obtain the corresponding detection of the movable storage device
As a result it is that the movable storage device is doubtful shrink equipment;
And/or,
Submodule is obtained positioned at the 6th testing result of server side, is suitable to obtain the corresponding detection of the movable storage device
As a result it is that the movable storage device is shrink equipment.
B12, the device as described in claim B9, it is characterised in that the testing result includes that the mobile storage sets
Standby is normal device, or, the movable storage device is warping apparatus, the preset movable storage device detection storehouse includes
The hardware attributes information of movable storage device and corresponding intermediate detection result, the intermediate detection result include normal device,
Aging equipment inferior, unknown device, doubtful shrink equipment, and/or shrink equipment;
The searching modul positioned at server side includes:Find institute in storehouse being detected in preset movable storage device
State the corresponding intermediate detection result of hardware attributes information for normal device when, when looking in preset movable storage device detection storehouse
Find the corresponding intermediate detection result of the hardware attributes information for aging equipment inferior when, and/or, when depositing in preset movement
Storage equipment detection storehouse in find the corresponding intermediate detection result of the hardware attributes information for unknown device when, and/or, when
The corresponding intermediate detection result of the hardware attributes information is found for doubtful shrink in preset movable storage device detection storehouse
During equipment, and/or, find in storehouse being detected in preset movable storage device the corresponding middle inspection of the hardware attributes information
When survey result is shrink equipment, the second testing result is called to obtain submodule;
Submodule is obtained positioned at the first testing result of server side, is suitable to obtain the corresponding detection of the movable storage device
As a result it is that the movable storage device is normal device;
Submodule is obtained positioned at the second testing result of server side, is suitable to obtain the corresponding detection of the movable storage device
As a result it is that the movable storage device is warping apparatus.