A method and system for detecting good products of mobile storage device
By automatically monitoring the working current and read and write parameters of the mobile storage device, the problem of low manual detection efficiency in the prior art is solved, efficient and accurate quality inspection is achieved, and product quality is improved.
Patent Information
- Application Number
- CN202410096908.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-24
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2044-01-24
AI Technical Summary
In the prior art, the detection of good products of mobile storage devices mainly relies on labor, which consumes a lot of labor costs and is low in detection efficiency.
By monitoring the working current and read and write parameters of the mobile storage device, the current detection device and computer program automatically perform detection, determine whether the device is qualified and an alarm is issued.
It realizes automated testing, improves detection efficiency, reduces the generation of defective products, and improves the quality reliability and stability of the product.
Smart Images

Figure CN117976025B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of mobile storage devices, and in particular to a method and system for detecting good products of mobile storage devices. Background Art
[0002] With the development of information technology, mobile storage media has been widely used in the information field. Mobile storage media is flexible and convenient to use, making it rapidly popular in the process of government and enterprise informatization. Mobile storage devices have the characteristics of high integration, fast access, convenience, good cost performance, and easy storage.
[0003] Mobile storage devices such as USB flash drives, mobile hard disks, and memory cards are very commonly used storage devices. In the production process of mobile storage devices in the prior art, it is necessary to test the performance of the mobile storage devices. In the prior art, the good product test results of the mobile storage devices are mainly checked manually to manually determine whether the mobile storage devices are qualified. In actual production, a large amount of manpower costs are consumed, and the detection efficiency is low.
[0004] Therefore the prior art needs further development. Summary of the invention
[0005] In view of the above technical problems, the embodiments of the present invention provide a method and system for detecting good products of mobile storage devices, which can solve the technical problems that the prior art mainly relies on manually checking the good product detection results of mobile storage devices to manually determine whether the mobile storage devices are qualified. In actual production, it requires a lot of manpower costs and has low detection efficiency.
[0006] A first aspect of an embodiment of the present invention provides a method for detecting good products of a mobile storage device, the method comprising:
[0007] When a good product detection instruction of a mobile storage device is detected, the working current of the mobile storage device is detected;
[0008] If the working current value is 0 or greater than a preset first current threshold, the current mobile storage device is determined to be defective and an alarm is issued;
[0009] If the working current value is not 0 and is less than or equal to a preset first current threshold, detecting the read and write parameters of the mobile storage device;
[0010] Determining whether the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device;
[0011] If the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a good product;
[0012] If the read / write parameters are inconsistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a defective product.
[0013] Optionally, when a good product detection instruction of a mobile storage device is detected, the working current of the mobile storage device is detected, including:
[0014] When a good product detection instruction of the mobile storage device is detected, the circuit of the mobile storage device is detected based on the current detection device.
[0015] Optionally, if the working current value is greater than a preset first current threshold, determining that the current mobile storage device is defective and issuing an alarm includes:
[0016] If the working current value is greater than a preset first current threshold, determining whether the working current value is greater than a preset second current threshold;
[0017] If the working current value is greater than or equal to the preset second current threshold, the system protection device automatically disconnects the connection current to protect the detection device and the mobile storage device from being damaged, and determines that the current mobile storage device is a defective product and issues an alarm; if the mobile storage device is removed, the normal working current of the detection device is automatically restored, and the test work of the detection device is controlled to continue normally;
[0018] If the operating current value is less than a preset second current threshold, the current mobile storage device is determined to be a defective product.
[0019] Optionally, the detecting the read and write parameters of the mobile storage device further includes:
[0020] Writing data to the mobile storage device based on source data, and acquiring the written data and the data reading speed;
[0021] Determining whether the written data is the same as the source data;
[0022] If the written data is the same as the source data, it is determined that the read and write functions of the mobile storage device are normal;
[0023] If the written data is different from the source data, it is determined that the read and write function of the mobile storage device is abnormal.
[0024] Optionally, the detecting the read and write parameters of the mobile storage device further includes:
[0025] It is determined whether the data reading speed of the mobile storage device is consistent with the calibrated reading speed of the mobile storage device.
[0026] A second aspect of an embodiment of the present invention provides a good product detection system for a mobile storage device, the system comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the following steps when executed by the processor:
[0027] When a good product detection instruction of a mobile storage device is detected, the working current of the mobile storage device is detected;
[0028] If the working current value is 0 or greater than a preset first current threshold, the current mobile storage device is determined to be defective and an alarm is issued;
[0029] If the working current value is not 0 and is less than or equal to a preset first current threshold, detecting the read and write parameters of the mobile storage device;
[0030] Determining whether the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device;
[0031] If the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a good product;
[0032] If the read / write parameters are inconsistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a defective product.
[0033] Optionally, when the computer program is executed by the processor, the following steps are implemented:
[0034] When a good product detection instruction of the mobile storage device is detected, the circuit of the mobile storage device is detected based on the current detection device.
[0035] Optionally, when the computer program is executed by the processor, the following steps are further implemented:
[0036] If the working current value is greater than a preset first current threshold, determining whether the working current value is greater than a preset second current threshold;
[0037] If the working current value is greater than or equal to the preset second current threshold, the system protection device automatically disconnects the connection current to protect the detection device and the mobile storage device from being damaged, and determines that the current mobile storage device is a defective product and issues an alarm; if the mobile storage device is removed, the normal working current of the detection device is automatically restored, and the test work of the detection device is controlled to continue normally;
[0038] If the operating current value is less than a preset second current threshold, the current mobile storage device is determined to be a defective product.
[0039] Optionally, when the computer program is executed by the processor, the following steps are further implemented:
[0040] Writing data to the mobile storage device based on source data, and acquiring the written data and the data reading speed;
[0041] Determining whether the written data is the same as the source data;
[0042] If the written data is the same as the source data, it is determined that the read and write functions of the mobile storage device are normal;
[0043] If the written data is different from the source data, it is determined that the read and write function of the mobile storage device is abnormal.
[0044] A third aspect of an embodiment of the present invention provides a non-volatile computer-readable storage medium, characterized in that the non-volatile computer-readable storage medium stores computer-executable instructions, which, when executed by one or more processors, enable the one or more processors to execute the above-mentioned method for detecting good products of a mobile storage device.
[0045] In the technical solution provided by the embodiment of the present invention, when a good product detection instruction of a mobile storage device is monitored, the working current of the mobile storage device is detected; if the working current value is 0 or greater than a preset first current threshold, the current mobile storage device is determined to be a defective product, and an alarm is issued; if the working current value is not 0 and is less than or equal to the preset first current threshold, the read-write parameters of the mobile storage device are detected; it is determined whether the read-write parameters are consistent with the calibrated read-write parameters of the mobile storage device; if the read-write parameters are consistent with the calibrated read-write parameters of the mobile storage device, the mobile storage device is determined to be a good product; if the read-write parameters are inconsistent with the calibrated read-write parameters of the mobile storage device, the mobile storage device is determined to be a defective product. The present invention can realize a simpler and more efficient process, greatly improve production efficiency; the detection is more accurate and reliable, greatly reduce defective products, and improve product quality reliability and stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a flow chart of a preferred embodiment of a method for detecting good products of a mobile storage device in an embodiment of the present invention;
[0047] Figure 2 The figure is a schematic diagram of the hardware structure of another embodiment of a good product detection system for a mobile storage device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0049] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0050] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of an embodiment of a method for detecting good products of a mobile storage device according to an embodiment of the present invention. Figure 1 As shown, including:
[0051] Step S100: When a good product detection instruction of a mobile storage device is detected, the working current of the mobile storage device is detected;
[0052] Step S200: If the working current value is 0 or greater than a preset first current threshold, the current mobile storage device is determined to be defective and an alarm is issued;
[0053] Step S300: If the working current value is not 0 and is less than or equal to a preset first current threshold, then the read and write parameters of the mobile storage device are detected;
[0054] Step S400, determining whether the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device, if so, executing step S500, if not, executing step S600;
[0055] Step S500: determining that the mobile storage device is a good product;
[0056] Step S600: determining that the mobile storage device is defective.
[0057] In specific implementation, the embodiment of the present invention is used for testing equipment, and the testing equipment is mainly used for testing good products of mobile storage devices such as USB flash drives, mobile hard disks, and memory cards.
[0058] Take the USB mobile storage disk as an example. The USB mobile storage disk is a U disk. Connect the USB mobile storage disk to the detection equipment. The detection equipment is equipped with a power overvoltage and overload detection and display device. If there is no current or it is higher than the standard value, it means that there is a short circuit and poor welding problem. It is judged as a defective product and an alarm is issued. The mobile storage disk with high current can be used at the beginning, but long-term high current will cause the storage disk to be quickly damaged and data lost. The current detection method can quickly detect it to ensure the long-term stability of the product.
[0059] If the working current value is not 0 and is less than or equal to the preset first current threshold, the read and write parameters of the mobile storage device are detected. Generally, the read and write parameters of the mobile storage device are detected through devices such as a computer USB hub and corresponding H2 test software. If the read and write parameters are consistent with the calibrated read and write parameters of the mobile storage device, the mobile storage device is determined to be a good product. If the read and write parameters are inconsistent with the calibrated read and write parameters of the mobile storage device, the mobile storage device is determined to be a defective product.
[0060] Further, when a good product detection instruction of the mobile storage device is detected, the working current of the mobile storage device is detected, including:
[0061] When a good product detection instruction of the mobile storage device is detected, the circuit of the mobile storage device is detected based on the current detection device.
[0062] In specific implementation, an ammeter is connected to the USB line D+, and the current and voltage values can be displayed when the USB memory is connected, the standard value is 5V, and the static current does not exceed 20mA. The preset first current threshold is set to 20mA.
[0063] Furthermore, if the working current value is 0 or greater than a preset first current threshold, the current mobile storage device is determined to be defective and an alarm is issued, further comprising:
[0064] If the working current value is greater than a preset first current threshold, determining whether the working current value is greater than a preset second current threshold;
[0065] If the working current value is greater than or equal to the preset second current threshold, the system protection device automatically disconnects the connection current to protect the detection device and the mobile storage device from being damaged, and determines that the current mobile storage device is a defective product and issues an alarm; if the mobile storage device is removed, the normal working current of the detection device is automatically restored, and the test work of the detection device is controlled to continue normally;
[0066] If the operating current value is less than a preset second current threshold, the current mobile storage device is determined to be a defective product.
[0067] During specific implementation, an overcurrent protection function can be added to the current detection part. When the USB device is short-circuited, the USB current is large when the test equipment is inserted, and the self-recovery insurance is disconnected. The short-circuit high current will damage the test equipment, causing the test equipment to fail to work properly, thus protecting the safety of the test equipment. When the USB device with problems is unplugged, the insurance automatically restores the connection to ensure production safety and efficiency. For example, the second current threshold can be set to a standard value of 500mA.
[0068] Furthermore, the reading and writing parameters of the mobile storage device are detected, and the method further includes:
[0069] Writing data to the mobile storage device based on source data, and acquiring the written data and the data reading speed;
[0070] Determining whether the written data is the same as the source data;
[0071] If the written data is the same as the source data, it is determined that the read and write functions of the mobile storage device are normal;
[0072] If the written data is different from the source data, it is determined that the read and write function of the mobile storage device is abnormal.
[0073] In specific implementation, data is written to the USB device and the integrity of the written data is compared and verified through the computer USB hub and other devices and the corresponding H2 test software. If the written data is consistent with the source file data, the USB device read and write function is judged to be reliable. Otherwise, the USB device read and write function is judged to be abnormal and unreliable. The speed will be displayed when writing data and verifying data. The data reading and writing speed includes the data writing speed and the data verification speed. The data verification speed is the data reading speed.
[0074] The embodiments of the present invention can quickly detect the current information, storage capacity and read / write speed of a product, and finally determine various performances of the product.
[0075] Furthermore, the reading and writing parameters of the mobile storage device are detected, and the method further includes:
[0076] It is determined whether the data reading speed of the mobile storage device is consistent with the calibrated reading speed of the mobile storage device.
[0077] In specific implementation, if the reading speed of the USB3.0 mobile storage disk exceeds the preset value (50M / S), it is judged as the 3.0 qualified standard; if the speed does not reach the 3.0 preset value, it means that there is a problem of poor soldering and it is judged as a defective product; for example, the level is judged according to the reading speed setting, if the data reading speed exceeds 50M / S, it is judged as USB 3.0 level 1, if it exceeds 200M / S, it is judged as USB3.0 level 2, and if the speed is lower than 50M / S, it is judged as USB2.0 level.
[0078] Preferably, when testing reliability and read / write speed, defective products can be efficiently detected by setting the read speed BIN level and color marking.
[0079] When judging whether the reading speed is 3.0, the existing method generally requires manual judgment based on the value size, which requires thinking, is inefficient and prone to errors; this method automatically distinguishes whether the mark meets the 3.0 requirement based on the color corresponding to the set value, without the need for personnel to think and judge the value, and the production efficiency is more accurate and efficient. At the same time, the 3.0 speed can be further subdivided into different levels of classification to meet the requirements of different customers and generate more value; all the above multiple classifications are completed in one test, automatically classified, and highly efficient.
[0080] The embodiment of the present invention uses a computer USB hub and other devices and corresponding H2 test software to write data to the USB device and compare and verify the integrity of the written data. At the same time, it will display the storage capacity and read and write speed, and set the corresponding speed to distinguish the speed level with different level colors. The process is simpler and more efficient, greatly improving production efficiency; the detection is more accurate and reliable, greatly reducing defective products and improving product quality reliability and stability.
[0081] It should be noted that there is not necessarily a certain order between the above-mentioned steps. A person skilled in the art can understand, based on the description of the embodiments of the present invention, that in different embodiments, the above-mentioned steps may have different execution orders, that is, they may be executed in parallel, may be executed interchangeably, and so on.
[0082] The above describes the good product detection method of the mobile storage device in the embodiment of the present invention. The following describes the good product detection system of the mobile storage device in the embodiment of the present invention. Figure 2 , Figure 2 FIG. 1 is a schematic diagram of the hardware structure of another embodiment of a good product detection system for a mobile storage device according to an embodiment of the present invention. Figure 2 As shown, the system 10 includes: a processor 101, a memory 102, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor 101, the following steps are implemented:
[0083] When a good product detection instruction of a mobile storage device is detected, the working current of the mobile storage device is detected;
[0084] If the working current value is 0 or greater than a preset first current threshold, the current mobile storage device is determined to be defective and an alarm is issued;
[0085] If the working current value is not 0 and is less than or equal to a preset first current threshold, detecting the read and write parameters of the mobile storage device;
[0086] Determining whether the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device;
[0087] If the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a good product;
[0088] If the read / write parameters are inconsistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a defective product.
[0089] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.
[0090] Optionally, when the computer program is executed by the processor 101, the following steps are further implemented:
[0091] When a good product detection instruction of the mobile storage device is detected, the circuit of the mobile storage device is detected based on the current detection device.
[0092] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.
[0093] Optionally, when the computer program is executed by the processor 101, the following steps are further implemented:
[0094] If the working current value is greater than a preset first current threshold, determining whether the working current value is greater than a preset second current threshold;
[0095] If the working current value is greater than or equal to the preset second current threshold, the system protection device automatically disconnects the connection current to protect the detection device and the mobile storage device from being damaged, and determines that the current mobile storage device is a defective product and issues an alarm; if the mobile storage device is removed, the normal working current of the detection device is automatically restored, and the test work of the detection device is controlled to continue normally;
[0096] If the operating current value is less than a preset second current threshold, the current mobile storage device is determined to be a defective product.
[0097] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.
[0098] Optionally, when the computer program is executed by the processor 101, the following steps are further implemented:
[0099] Writing data to the mobile storage device based on source data, and acquiring the written data and the data reading speed;
[0100] Determining whether the written data is the same as the source data;
[0101] If the written data is the same as the source data, it is determined that the read and write functions of the mobile storage device are normal;
[0102] If the written data is different from the source data, it is determined that the read and write function of the mobile storage device is abnormal.
[0103] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.
[0104] Optionally, when the computer program is executed by the processor 101, the following steps are further implemented:
[0105] It is determined whether the data reading speed of the mobile storage device is consistent with the calibrated reading speed of the mobile storage device.
[0106] The specific implementation steps are the same as those in the method embodiment and will not be repeated here.
[0107] An embodiment of the present invention provides a non-volatile computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, for example, to execute the above-described Figure 1 The method comprises steps S100 to S600.
[0108] As an example, the non-volatile storage medium can include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable ROM (EEPROM), or a flash memory. Volatile memory can include a random access memory (RAM) as an external cache memory. By way of illustration and not limitation, RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM, DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The disclosed memory components or memories of the operating environment described in the embodiments of the present invention are intended to include one or more of these and / or any other suitable types of memories.
[0109] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting good products of a mobile storage device, characterized in that: Methods include: When a good product detection instruction of a mobile storage device is detected, the working current of the mobile storage device is detected; If the working current value is 0 or greater than a preset first current threshold, the current mobile storage device is determined to be defective and an alarm is issued; If the working current value is not 0 and is less than or equal to a preset first current threshold, detecting the read and write parameters of the mobile storage device; Determining whether the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device; If the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a good product; If the read / write parameters are inconsistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a defective product; The method of detecting the good product detection instruction of the mobile storage device, detecting the working current of the mobile storage device, includes: When a good product detection instruction of the mobile storage device is detected, the circuit of the mobile storage device is detected based on the current detection device; Applied to a detection device, the detection device is provided with a system protection device. If the working current value is greater than a preset first current threshold, the current mobile storage device is determined to be a defective product and an alarm is issued, including: If the working current value is greater than a preset first current threshold, determining whether the working current value is greater than a preset second current threshold; If the working current value is greater than or equal to the preset second current threshold, the system protection device automatically disconnects the connection current to protect the detection device and the mobile storage device from being damaged, and determines that the current mobile storage device is a defective product and issues an alarm; if the mobile storage device is removed, the normal working current of the detection device is automatically restored, and the test work of the detection device is controlled to continue normally; If the operating current value is less than a preset second current threshold, the current mobile storage device is determined to be a defective product.
2. The method for detecting good products of a mobile storage device according to claim 1, characterized in that: The detecting of the read and write parameters of the mobile storage device further includes: Writing data to the mobile storage device based on source data, and acquiring the written data and the data reading speed; Determining whether the written data is the same as the source data; If the written data is the same as the source data, it is determined that the read and write functions of the mobile storage device are normal; If the written data is different from the source data, it is determined that the read and write function of the mobile storage device is abnormal.
3. The method for detecting good products of a mobile storage device according to claim 2, characterized in that: The detecting of the read and write parameters of the mobile storage device further includes: It is determined whether the data reading speed of the mobile storage device is consistent with the calibrated reading speed of the mobile storage device.
4. A good product detection system for a mobile storage device, characterized in that: The system comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the following steps when executed by the processor: When a good product detection instruction of a mobile storage device is detected, the working current of the mobile storage device is detected; If the working current value is 0 or greater than a preset first current threshold, the current mobile storage device is determined to be defective and an alarm is issued; If the working current value is not 0 and is less than or equal to a preset first current threshold, detecting the read and write parameters of the mobile storage device; Determining whether the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device; If the read / write parameters are consistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a good product; If the read / write parameters are inconsistent with the calibrated read / write parameters of the mobile storage device, the mobile storage device is determined to be a defective product; When the computer program is executed by the processor, the following steps are implemented: When a good product detection instruction of the mobile storage device is detected, the circuit of the mobile storage device is detected based on the current detection device; Applied to a detection device, the detection device is provided with a system protection device, and when the computer program is executed by the processor, the following steps are also implemented: If the working current value is greater than a preset first current threshold, determining whether the working current value is greater than a preset second current threshold; If the working current value is greater than or equal to the preset second current threshold, the system protection device automatically disconnects the connection current to protect the detection device and the mobile storage device from being damaged, and determines that the current mobile storage device is a defective product and issues an alarm; if the mobile storage device is removed, the normal working current of the detection device is automatically restored, and the test work of the detection device is controlled to continue normally; If the operating current value is less than a preset second current threshold, the current mobile storage device is determined to be a defective product.
5. The good product detection system for mobile storage device according to claim 4, characterized in that: When the computer program is executed by the processor, the following steps are also implemented: Writing data to the mobile storage device based on source data, and acquiring the written data and the data reading speed; Determining whether the written data is the same as the source data; If the written data is the same as the source data, it is determined that the read and write functions of the mobile storage device are normal; If the written data is different from the source data, it is determined that the read and write function of the mobile storage device is abnormal.
6. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores computer-executable instructions, which, when executed by one or more processors, enable the one or more processors to execute the method for detecting good products of a mobile storage device according to any one of claims 1 to 3.
Citation Information
Patent Citations
DRAM (Dynamic Random Access Memory) testing device and method
CN107680633A
Test method and system, terminal device and readable storage medium
CN112395144A
Card activating adapter plate and card activating equipment
CN219285723U