Mass production operation method for solidifying embedded device SN (Serial Number) by using USB (Universal Serial Bus) flash disk
Through the mass production operation method of USB disk curing embedded device SN, the problem of serial number writing in traditional technology increases hardware cost and limits production efficiency, and the effect of reducing costs and improving efficiency is achieved.
Patent Information
- Application Number
- CN202411791097.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In traditional technology, serial number writing of embedded devices needs to be passed through the serial interface, which increases hardware cost and limits production efficiency.
The mass production operation method of USB disk solidified embedded device SN is adopted, and batch operations are realized through the preparation stage, information configuration stage, USB disk information detection stage, serial number writing stage and completion and verification stage.
It reduces production costs, improves production efficiency, and makes operation simple and clear.
Smart Images

Figure CN119690465A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of embedded devices, and in particular to a mass production operation method for solidifying an embedded device SN by using a USB flash drive. Background Art
[0002] The SN on an embedded device, short for Serial Number, is a combination of numbers or letters used to uniquely identify the embedded device. The SN is a unique identification code assigned by the manufacturer to each embedded device during the production process. It has the following features:
[0003] Uniqueness: Ensure that each embedded device has a unique SN for easy identification and tracking.
[0004] Equipment management: Through SN, manufacturers, sellers and users can manage and track equipment more accurately.
[0005] Production information: SN usually contains information such as the production batch, production date, and manufacturer of the equipment, which helps users understand the production background and quality information of the equipment.
[0006] Authenticity verification: When purchasing embedded devices, users can verify the authenticity of the device by querying the SN to prevent purchasing counterfeit and inferior products.
[0007] After-sales service: When enjoying after-sales service, users need to provide the SN as the identity proof of the device so that the manufacturer or seller can identify and process it.
[0008] In traditional technology, it is usually necessary to write serial numbers into embedded devices through a serial port interface, which not only increases hardware costs but also limits production efficiency.
[0009] To this end, the present invention proposes a mass production operation method for solidifying an embedded device SN using a USB flash drive. Summary of the invention
[0010] The purpose of the present invention is to solve the shortcomings of the prior art and to propose a mass production operation method for solidifying an embedded device SN using a USB flash drive.
[0011] In order to achieve the above object, the present invention adopts the following technical solutions:
[0012] A mass production operation method for solidifying an embedded device SN using a USB flash drive comprises the following steps:
[0013] S1: preparation stage;
[0014] S11: Determine the model of the embedded device and the model of the main control chip;
[0015] S12: Collect PID and VID information;
[0016] S13: Select and prepare a USB flash drive;
[0017] S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip;
[0018] S21: Generate a configuration file;
[0019] S22: Generate a serial number file;
[0020] S3: USB disk information detection stage;
[0021] S31: insert the U disk into the USB interface of the embedded device, and connect the U disk to the embedded device;
[0022] S32: Initialize the USB flash drive at startup. After the embedded device is powered on, the USB flash drive interface is initialized and the USB flash drive is mounted.
[0023] S33: Detecting USB disk information;
[0024] S4: sequence number writing stage;
[0025] S41: Read serial number data;
[0026] S42: writing the serial number to the embedded device;
[0027] S5: completion and verification stage;
[0028] S51: After the serial number is written, the embedded device disconnects from the USB flash drive;
[0029] S52: After the embedded device is started, the serial number stored internally is automatically verified to ensure that it is consistent with the serial number in the configuration file;
[0030] S53: Repeat the above steps to write serial numbers to multiple embedded devices and perform mass production operations.
[0031] Preferably: the step S11 comprises the following steps:
[0032] S111: According to production requirements, specify the model of the required embedded device and its main control chip model;
[0033] S112: Collect technical documents related to the device to understand the characteristics of the main control chip and the requirements of the USB flash drive interface.
[0034] Preferably: the step S12 comprises the following steps:
[0035] S121: Using the PID and VID as a unique device identifier of the USB device;
[0036] S122: Use the lsusb command under Linux or the device manager under Windows to connect to the USB interface of the embedded device, and collect and record its PID and VID information.
[0037] Preferably: the step S13 includes the following steps:
[0038] S131: Select a USB flash drive that meets the USB flash drive interface requirements of the embedded device;
[0039] S132: Create a specified directory in the USB flash drive to store the configuration file and the serial number file.
[0040] Preferably: in the step S2, the configuration file includes the serial number information to be written into the embedded device, the naming rules and storage path of the SN file, the number of data and the corresponding file name. The configuration file is created using a text editor, and the configuration file name is "config.txt".
[0041] Preferably: the step S22 includes the following steps:
[0042] S221: Generate multiple serial number files according to production requirements, each file containing a unique serial number;
[0043] S222: Put the serial number file into the designated directory "config.txt" of the USB flash drive.
[0044] Preferably: the step S33 includes the following steps:
[0045] S331: The embedded device reads the configuration file in the USB flash drive, parses the configuration file content, and confirms the number of data to be written and the file name;
[0046] S332: Check whether there is a corresponding serial number file in the USB flash drive, and verify the integrity and correctness of the file.
[0047] Preferably: the step S41 includes the following steps:
[0048] S411: According to the instructions in the configuration file, the embedded device finds the corresponding serial number file from the USB flash drive;
[0049] S412: Read the data content in the sequence number file.
[0050] Preferably: the step S42 includes the following steps:
[0051] S421: The embedded device writes the read serial number data into its internal memory;
[0052] S422: After writing is completed, the embedded device verifies the serial number to ensure that the writing is correct.
[0053] Preferably: in the step S421, the internal storage is a non-volatile memory, which is EEPROM or Flash.
[0054] The beneficial effects of the present invention are:
[0055] 1. Reduce costs: No additional hardware interface is required, which reduces production costs.
[0056] 2. Improve efficiency: The USB flash drive has fast reading and writing speed, supports batch operations, and improves production efficiency.
[0057] 3. Easy to operate: The steps are clear, easy to understand and implement. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 This is an overall flow chart of a mass production operation method for solidifying an embedded device SN using a USB flash drive proposed by the present invention;
[0059] Figure 2 This is a flow chart of the preparation phase of a mass production operation method for solidifying an embedded device SN with a USB flash drive proposed by the present invention;
[0060] Figure 3 This is a flow chart of the information configuration phase of a mass production operation method for solidifying an embedded device SN with a USB flash drive proposed by the present invention;
[0061] Figure 4 This is a flow chart of the U disk information detection phase of a mass production operation method for solidifying an embedded device SN with a U disk proposed by the present invention;
[0062] Figure 5 This is a flow chart of the serial number writing phase of a mass production operation method for solidifying an embedded device SN with a USB flash drive proposed by the present invention;
[0063] Figure 6 This is a flow chart of the completion and verification phase of a mass production operation method for solidifying an embedded device SN with a USB flash drive proposed by the present invention. DETAILED DESCRIPTION
[0064] The technical solution of the present invention is further described in detail below in conjunction with specific implementation methods.
[0065] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", and "set" should be understood in a broad sense, for example, they can be fixedly connected or set, or detachably connected or set, or integrally connected or set. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0066] Embodiment 1:
[0067] A mass production operation method for solidifying an embedded device SN using a USB flash drive comprises the following steps:
[0068] S1: preparation stage;
[0069] S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip;
[0070] S3: USB disk information detection stage;
[0071] S4: sequence number writing stage;
[0072] S5: Completion and verification phase.
[0073] Embodiment 2:
[0074] A mass production operation method for solidifying an embedded device SN using a USB flash drive comprises the following steps:
[0075] S1: preparation stage;
[0076] S11: Determine the model of the embedded device and the model of the main control chip;
[0077] S12: Collect PID and VID information;
[0078] S13: Select and prepare a USB flash drive;
[0079] S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip;
[0080] S21: Generate a configuration file;
[0081] S22: Generate a serial number file;
[0082] S3: USB disk information detection stage;
[0083] S31: insert the U disk into the USB interface of the embedded device, and connect the U disk to the embedded device;
[0084] S32: Initialize the USB flash drive at startup. After the embedded device is powered on, the USB flash drive interface is initialized and the USB flash drive is mounted.
[0085] S33: Detecting USB disk information;
[0086] S4: sequence number writing stage;
[0087] S41: Read serial number data;
[0088] S42: writing the serial number to the embedded device;
[0089] S5: completion and verification stage;
[0090] S51: After the serial number is written, the embedded device disconnects from the USB flash drive;
[0091] S52: After the embedded device is started, the serial number stored internally is automatically verified to ensure that it is consistent with the serial number in the configuration file;
[0092] S53: Repeat the above steps to write serial numbers to multiple embedded devices and perform mass production operations.
[0093] Embodiment 3:
[0094] A mass production operation method for solidifying an embedded device SN using a USB flash drive comprises the following steps:
[0095] S1: preparation stage;
[0096] S11: Determine the model of the embedded device and the model of the main control chip;
[0097] S12: Collect PID and VID information;
[0098] S13: Select and prepare a USB flash drive;
[0099] S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip;
[0100] S21: Generate a configuration file;
[0101] S22: Generate a serial number file;
[0102] S3: USB disk information detection stage;
[0103] S31: insert the U disk into the USB interface of the embedded device, and connect the U disk to the embedded device;
[0104] S32: Initialize the USB flash drive at startup. After the embedded device is powered on, the USB flash drive interface is initialized and the USB flash drive is mounted.
[0105] S33: Detecting USB disk information;
[0106] S4: sequence number writing stage;
[0107] S41: Read serial number data;
[0108] S42: writing the serial number to the embedded device;
[0109] S5: completion and verification stage;
[0110] S51: After the serial number is written, the embedded device disconnects from the USB flash drive;
[0111] S52: After the embedded device is started, the serial number stored internally is automatically verified to ensure that it is consistent with the serial number in the configuration file;
[0112] S53: Repeat the above steps to write serial numbers to multiple embedded devices and perform mass production operations.
[0113] The step S11 comprises the following steps:
[0114] S111: According to production requirements, specify the model of the required embedded device and its main control chip model;
[0115] S112: Collect technical documents related to the device to understand the characteristics of the main control chip and the requirements of the USB flash drive interface.
[0116] The step S12 includes the following steps:
[0117] S121: Using the PID and VID as a unique device identifier of the USB device;
[0118] S122: Use the lsusb command under Linux or the device manager under Windows to connect to the USB interface of the embedded device, and collect and record its PID and VID information.
[0119] The step S13 includes the following steps:
[0120] S131: Select a USB flash drive that meets the USB flash drive interface requirements of the embedded device;
[0121] S132: Create a specified directory in the USB flash drive to store the configuration file and the serial number file.
[0122] Embodiment 4:
[0123] A mass production operation method for solidifying an embedded device SN using a USB flash drive comprises the following steps:
[0124] S1: preparation stage;
[0125] S11: Determine the model of the embedded device and the model of the main control chip;
[0126] S12: Collect PID and VID information;
[0127] S13: Select and prepare a USB flash drive;
[0128] S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip;
[0129] S21: Generate a configuration file;
[0130] S22: Generate a serial number file;
[0131] S3: USB disk information detection stage;
[0132] S31: insert the U disk into the USB interface of the embedded device, and connect the U disk to the embedded device;
[0133] S32: Initialize the USB flash drive at startup. After the embedded device is powered on, the USB flash drive interface is initialized and the USB flash drive is mounted.
[0134] S33: Detecting USB disk information;
[0135] S4: sequence number writing stage;
[0136] S41: Read serial number data;
[0137] S42: writing the serial number to the embedded device;
[0138] S5: completion and verification stage;
[0139] S51: After the serial number is written, the embedded device disconnects from the USB flash drive;
[0140] S52: After the embedded device is started, the serial number stored internally is automatically verified to ensure that it is consistent with the serial number in the configuration file;
[0141] S53: Repeat the above steps to write serial numbers to multiple embedded devices and perform mass production operations.
[0142] The step S11 comprises the following steps:
[0143] S111: According to production requirements, specify the model of the required embedded device and its main control chip model;
[0144] S112: Collect technical documents related to the device to understand the characteristics of the main control chip and the requirements of the USB flash drive interface.
[0145] The step S12 includes the following steps:
[0146] S121: Using the PID and VID as a unique device identifier of the USB device;
[0147] S122: Use the lsusb command under Linux or the device manager under Windows to connect to the USB interface of the embedded device, and collect and record its PID and VID information.
[0148] The step S13 includes the following steps:
[0149] S131: Select a USB flash drive that meets the USB flash drive interface requirements of the embedded device;
[0150] S132: Create a specified directory in the USB flash drive to store the configuration file and the serial number file.
[0151] In the step S2, the configuration file includes the serial number information to be written into the embedded device, the naming rules and storage path of the SN file, the number of data and the corresponding file name.
[0152] In step S2, a configuration file is created using a text editor, and the name of the configuration file is "config.txt".
[0153] In the step S22, it includes the following steps:
[0154] S221: Generate multiple serial number files according to production requirements, each file containing a unique serial number;
[0155] S222: Put the serial number file into the designated directory "config.txt" of the USB flash drive.
[0156] Embodiment 5:
[0157] A mass production operation method for solidifying an embedded device SN using a USB flash drive comprises the following steps:
[0158] S1: preparation stage;
[0159] S11: Determine the model of the embedded device and the model of the main control chip;
[0160] S12: Collect PID and VID information;
[0161] S13: Select and prepare a USB flash drive;
[0162] S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip;
[0163] S21: Generate a configuration file;
[0164] S22: Generate a serial number file;
[0165] S3: USB disk information detection stage;
[0166] S31: insert the U disk into the USB interface of the embedded device, and connect the U disk to the embedded device;
[0167] S32: Initialize the USB flash drive at startup. After the embedded device is powered on, the USB flash drive interface is initialized and the USB flash drive is mounted.
[0168] S33: Detecting USB disk information;
[0169] S4: sequence number writing stage;
[0170] S41: Read serial number data;
[0171] S42: writing the serial number to the embedded device;
[0172] S5: completion and verification stage;
[0173] S51: After the serial number is written, the embedded device disconnects from the USB flash drive;
[0174] S52: After the embedded device is started, the serial number stored internally is automatically verified to ensure that it is consistent with the serial number in the configuration file;
[0175] S53: Repeat the above steps to write serial numbers to multiple embedded devices and perform mass production operations.
[0176] The step S11 comprises the following steps:
[0177] S111: According to production requirements, specify the model of the required embedded device and its main control chip model;
[0178] S112: Collect technical documents related to the device to understand the characteristics of the main control chip and the requirements of the USB flash drive interface.
[0179] The step S12 includes the following steps:
[0180] S121: Using the PID and VID as a unique device identifier of the USB device;
[0181] S122: Use the lsusb command under Linux or the device manager under Windows to connect to the USB interface of the embedded device, and collect and record its PID and VID information.
[0182] The step S13 includes the following steps:
[0183] S131: Select a USB flash drive that meets the USB flash drive interface requirements of the embedded device;
[0184] S132: Create a specified directory in the USB flash drive to store the configuration file and the serial number file.
[0185] In the step S2, the configuration file includes the serial number information to be written into the embedded device, the naming rules and storage path of the SN file, the number of data and the corresponding file name.
[0186] In step S2, a configuration file is created using a text editor, and the name of the configuration file is "config.txt".
[0187] In the step S22, it includes the following steps:
[0188] S221: Generate multiple serial number files according to production requirements, each file containing a unique serial number;
[0189] S222: Put the serial number file into the designated directory "config.txt" of the USB flash drive.
[0190] The step S33 includes the following steps:
[0191] S331: The embedded device reads the configuration file in the USB flash drive, parses the configuration file content, and confirms the number of data to be written and the file name;
[0192] S332: Check whether there is a corresponding serial number file in the USB flash drive, and verify the integrity and correctness of the file.
[0193] Embodiment 6:
[0194] A mass production operation method for solidifying an embedded device SN using a USB flash drive comprises the following steps:
[0195] S1: preparation stage;
[0196] S11: Determine the model of the embedded device and the model of the main control chip;
[0197] S12: Collect PID and VID information;
[0198] S13: Select and prepare a USB flash drive;
[0199] S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip;
[0200] S21: Generate a configuration file;
[0201] S22: Generate a serial number file;
[0202] S3: USB disk information detection stage;
[0203] S31: insert the U disk into the USB interface of the embedded device, and connect the U disk to the embedded device;
[0204] S32: Initialize the USB flash drive at startup. After the embedded device is powered on, the USB flash drive interface is initialized and the USB flash drive is mounted.
[0205] S33: Detecting USB disk information;
[0206] S4: sequence number writing stage;
[0207] S41: Read serial number data;
[0208] S42: writing the serial number to the embedded device;
[0209] S5: completion and verification stage;
[0210] S51: After the serial number is written, the embedded device disconnects from the USB flash drive;
[0211] S52: After the embedded device is started, the serial number stored internally is automatically verified to ensure that it is consistent with the serial number in the configuration file;
[0212] S53: Repeat the above steps to write serial numbers to multiple embedded devices and perform mass production operations.
[0213] The step S11 comprises the following steps:
[0214] S111: According to production requirements, specify the model of the required embedded device and its main control chip model;
[0215] S112: Collect technical documents related to the device to understand the characteristics of the main control chip and the requirements of the USB flash drive interface.
[0216] The step S12 includes the following steps:
[0217] S121: Using the PID and VID as a unique device identifier of the USB device;
[0218] S122: Use the lsusb command under Linux or the device manager under Windows to connect to the USB interface of the embedded device, and collect and record its PID and VID information.
[0219] The step S13 includes the following steps:
[0220] S131: Select a USB flash drive that meets the USB flash drive interface requirements of the embedded device;
[0221] S132: Create a specified directory in the USB flash drive to store the configuration file and the serial number file.
[0222] In the step S2, the configuration file includes the serial number information to be written into the embedded device, the naming rules and storage path of the SN file, the number of data and the corresponding file name.
[0223] In step S2, a configuration file is created using a text editor, and the name of the configuration file is "config.txt".
[0224] In the step S22, it includes the following steps:
[0225] S221: Generate multiple serial number files according to production requirements, each file containing a unique serial number;
[0226] S222: Put the serial number file into the designated directory "config.txt" of the USB flash drive.
[0227] The step S33 includes the following steps:
[0228] S331: The embedded device reads the configuration file in the USB flash drive, parses the configuration file content, and confirms the number of data to be written and the file name;
[0229] S332: Check whether there is a corresponding serial number file in the USB flash drive, and verify the integrity and correctness of the file.
[0230] The step S41 includes the following steps:
[0231] S411: According to the instructions in the configuration file, the embedded device finds the corresponding serial number file from the USB flash drive;
[0232] S412: Read the data content in the sequence number file.
[0233] The step S42 includes the following steps:
[0234] S421: The embedded device writes the read serial number data into its internal memory;
[0235] S422: After writing is completed, the embedded device verifies the serial number to ensure that the writing is correct.
[0236] Embodiment 7:
[0237] A mass production operation method for solidifying an embedded device SN using a USB flash drive comprises the following steps:
[0238] S1: preparation stage;
[0239] S11: Determine the model of the embedded device and the model of the main control chip;
[0240] S12: Collect PID and VID information;
[0241] S13: Select and prepare a USB flash drive;
[0242] S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip;
[0243] S21: Generate a configuration file;
[0244] S22: Generate a serial number file;
[0245] S3: USB disk information detection stage;
[0246] S31: insert the U disk into the USB interface of the embedded device, and connect the U disk to the embedded device;
[0247] S32: Initialize the USB flash drive at startup. After the embedded device is powered on, the USB flash drive interface is initialized and the USB flash drive is mounted.
[0248] S33: Detecting USB disk information;
[0249] S4: sequence number writing stage;
[0250] S41: Read serial number data;
[0251] S42: writing the serial number to the embedded device;
[0252] S5: completion and verification stage;
[0253] S51: After the serial number is written, the embedded device disconnects from the USB flash drive;
[0254] S52: After the embedded device is started, the serial number stored internally is automatically verified to ensure that it is consistent with the serial number in the configuration file;
[0255] S53: Repeat the above steps to write serial numbers to multiple embedded devices and perform mass production operations.
[0256] The step S11 comprises the following steps:
[0257] S111: According to production requirements, specify the model of the required embedded device and its main control chip model;
[0258] S112: Collect technical documents related to the device to understand the characteristics of the main control chip and the requirements of the USB flash drive interface.
[0259] The step S12 includes the following steps:
[0260] S121: Using the PID and VID as a unique device identifier of the USB device;
[0261] S122: Use the lsusb command under Linux or the device manager under Windows to connect to the USB interface of the embedded device, and collect and record its PID and VID information.
[0262] The step S13 includes the following steps:
[0263] S131: Select a USB flash drive that meets the USB flash drive interface requirements of the embedded device;
[0264] S132: Create a specified directory in the USB flash drive to store the configuration file and the serial number file.
[0265] In the step S2, the configuration file includes the serial number information to be written into the embedded device, the naming rules and storage path of the SN file, the number of data and the corresponding file name.
[0266] In step S2, a configuration file is created using a text editor, and the name of the configuration file is "config.txt".
[0267] In the step S22, it includes the following steps:
[0268] S221: Generate multiple serial number files according to production requirements, each file containing a unique serial number;
[0269] S222: Put the serial number file into the designated directory "config.txt" of the USB flash drive.
[0270] The step S33 includes the following steps:
[0271] S331: The embedded device reads the configuration file in the USB flash drive, parses the configuration file content, and confirms the number of data to be written and the file name;
[0272] S332: Check whether there is a corresponding serial number file in the USB flash drive, and verify the integrity and correctness of the file.
[0273] The step S41 includes the following steps:
[0274] S411: According to the instructions in the configuration file, the embedded device finds the corresponding serial number file from the USB flash drive;
[0275] S412: Read the data content in the sequence number file.
[0276] The step S42 includes the following steps:
[0277] S421: The embedded device writes the read serial number data into its internal memory;
[0278] S422: After writing is completed, the embedded device verifies the serial number to ensure that the writing is correct.
[0279] In the step S421, the internal storage is a non-volatile memory, which is EEPROM or Flash.
[0280] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A mass production operation method for solidifying an embedded device SN using a USB flash drive, characterized in that: The following steps are involved: S1: preparation stage; S11: Determine the model of the embedded device and the model of the main control chip; S12: Collect PID and VID information; S13: Select and prepare a USB flash drive; S2: Information configuration stage, write the configuration file according to the model of the embedded device and the model of the main control chip; S21: Generate a configuration file; S22: Generate a serial number file; S3: USB disk information detection stage; S31: insert the U disk into the USB interface of the embedded device, and connect the U disk to the embedded device; S32: Initialize the USB flash drive at startup. After the embedded device is powered on, the USB flash drive interface is initialized and the USB flash drive is mounted. S33: Detecting USB disk information; S4: sequence number writing stage; S41: Read serial number data; S42: writing the serial number to the embedded device; S5: completion and verification stage; S51: After the serial number is written, the embedded device disconnects from the USB flash drive; S52: After the embedded device is started, the serial number stored internally is automatically verified to ensure that it is consistent with the serial number in the configuration file; S53: Repeat the above steps to write serial numbers to multiple embedded devices and perform mass production operations.
2. A mass production operation method for curing embedded device SN with a USB flash drive according to claim 1, characterized in that: The step S11 comprises the following steps: S111: According to production requirements, specify the model of the required embedded device and its main control chip model; S112: Collect technical documents related to the device to understand the characteristics of the main control chip and the requirements of the USB flash drive interface.
3. The mass production operation method of using a USB flash drive to solidify an embedded device SN according to claim 1, characterized in that: The step S12 includes the following steps: S121: Using the PID and VID as a unique device identifier of the USB device; S122: Use the lsusb command under Linux or the device manager under Windows to connect to the USB interface of the embedded device, and collect and record its PID and VID information.
4. The mass production operation method of using a USB flash drive to solidify an embedded device SN according to claim 1, characterized in that: The step S13 includes the following steps: S131: Select a USB flash drive that meets the USB flash drive interface requirements of the embedded device; S132: Create a specified directory in the USB flash drive to store the configuration file and the serial number file.
5. The mass production operation method of using a USB flash drive to solidify an embedded device SN according to claim 1, characterized in that: In the step S2, the configuration file includes the serial number information that needs to be written into the embedded device, the naming rules and storage path of the SN file, the number of data and the corresponding file name. The configuration file is created using a text editor and the configuration file name is "config.txt".
6. A mass production operation method for curing embedded device SN with a USB flash drive according to claim 5, characterized in that: In the step S22, it includes the following steps: S221: Generate multiple serial number files according to production requirements, each file containing a unique serial number; S222: Put the serial number file into the designated directory "config.txt" of the USB flash drive.
7. The mass production operation method of using a USB flash drive to solidify an embedded device SN according to claim 1, characterized in that: The step S33 includes the following steps: S331: The embedded device reads the configuration file in the USB flash drive, parses the configuration file content, and confirms the number of data to be written and the file name; S332: Check whether there is a corresponding serial number file in the USB flash drive, and verify the integrity and correctness of the file.
8. The mass production operation method of using a USB flash drive to solidify an embedded device SN according to claim 1, characterized in that: The step S41 includes the following steps: S411: According to the instructions in the configuration file, the embedded device finds the corresponding serial number file from the USB flash drive; S412: Read the data content in the sequence number file.
9. The mass production operation method of using a USB flash drive to solidify an embedded device SN according to claim 1, characterized in that: The step S42 includes the following steps: S421: The embedded device writes the read serial number data into its internal memory; S422: After writing is completed, the embedded device verifies the serial number to ensure that the writing is correct.
10. A mass production operation method for curing embedded device SN with a USB flash drive according to claim 9, characterized in that: In the step S421, the internal storage is a non-volatile memory, which is EEPROM or Flash.