Data processing method and device based on upper computer, computer equipment and medium
By negotiating the version with the MES system and performing interface compatibility checks, real-time verification and binding of the MAC address, the problem of inaccurate MAC address burning is solved, and the accuracy of the production process and product quality stability is improved.
Patent Information
- Application Number
- CN202510716639.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-07-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing MAC address burning methods are prone to excessive burning, misfire and other situations, which makes it difficult to effectively control product quality and reduce production efficiency.
Through the host computer and the MES system negotiation version, the interface compatibility check is performed, the chip MAC address is read and uploaded to the MES system for real-time status verification, the recording is carried out in a legal state and bound to the product serial number, and frequency offset calibration and RF testing are performed.
It improves the accuracy of MAC address burning, reduces the risks of product scrapping and rework, ensures that the RF performance meets quality requirements, and improves production efficiency and product stability.
Smart Images

Figure CN120234017A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic product production, and in particular, to a data processing method, device, computer device, and medium based on a host computer. Background Art
[0002] Currently, during the manufacturing process of electronic products, the MAC address, as the unique identification code of the product device in the network, usually needs to be burned into the chip inside the product to achieve effective identification, management, and subsequent radio frequency function testing of the product.
[0003] The existing MAC address data processing methods generally directly burn the MAC address into the chip through software tools or independent host computer tools, but lack an accurate judgment and verification mechanism for the real-time status of the MAC address. In actual production, there may be phenomena such as the MAC address being repeatedly burned, missed burning not being discovered, or the wrong MAC address being burned into the device, resulting in the product quality being difficult to effectively control and the production efficiency being reduced.
[0004] The above-mentioned existing technical solutions have the following defects: The existing MAC address burning methods are prone to situations such as multiple burning, missed burning, and wrong burning of the MAC address, resulting in low product quality, so there is room for improvement. Summary of the Invention
[0005] In order to improve the accuracy of MAC burning, the present application provides a data processing method, device, computer device, and medium based on a host computer.
[0006] The first invention object of the present application is achieved through the following technical solutions: A data processing method based on a host computer, the method includes: Start the host computer and conduct version negotiation with the MES system, perform interface compatibility check, and determine the communication protocol version according to the interface compatibility result; Read the MAC address of the chip through the host computer, upload the MAC address to the MES system according to the communication protocol version, and then perform real-time status verification on the MAC address through the MES system; When the status verification result of the MAC address is legal, send a burning instruction to the host computer, and then complete the burning of the MAC address according to the burning instruction and bind it to the corresponding product serial number; After the product serial number binding is completed, perform frequency offset calibration on the chip, perform RF testing according to the frequency offset calibration result, and then upload the RF testing data to the MES system in real time for data update.
[0007] By adopting the above technical solution, by starting the host computer and negotiating the version with the MES system, and performing interface compatibility checks, it is possible to confirm in advance the compatibility of the communication interface protocol between the host computer and the MES, effectively avoiding data communication anomalies and interruptions caused by incompatible interface protocols, thereby improving the data transmission stability and reliability during the subsequent production testing process; by the host computer reading the MAC address of the chip and uploading it to the MES system for real-time status verification, it is possible to effectively prevent the occurrence of situations such as duplicate burning, missed burning, and incorrect burning of the MAC address, thereby significantly improving the accuracy of MAC address management during the product production process and reducing the risk of product scrapping or rework due to address anomalies; by completing the MAC address burning according to the burning instruction issued by the MES system and binding it to the corresponding product serial number, it is possible to achieve precise matching and real-time data binding between the MAC address and the product serial number, thereby facilitating the accurate traceability of product information during the production process and after-sales service; by calibrating the frequency offset of the chip and performing RF tests after the product serial number binding is completed, and simultaneously uploading the RF test data to the MES system in real-time, it is possible to ensure that the product radio frequency performance parameters meet the product quality requirements, thereby improving the overall quality stability of the product and effectively reducing the rework rate and production cost caused by abnormal radio frequency performance.
[0008] In one example, the present application can be further configured as follows: The process of starting the host computer, negotiating the version with the MES system, performing interface compatibility checks, and determining the communication protocol version based on the interface compatibility result specifically includes: When the host computer starts, it automatically sends an interface version negotiation request to the MES system; Based on the version negotiation request, the MES system returns the communication protocol version currently supported by the MES system; The host computer performs interface adaptation according to the communication protocol version to complete the compatibility check.
[0009] By adopting the above technical solution, by the host computer automatically sending an interface version negotiation request to the MES system, it is possible to timely and actively achieve software version synchronization and compatibility detection, thereby reducing the probability of communication anomalies caused by version incompatibility; by the MES system returning the communication protocol version currently supported by the MES, it is possible to clearly inform the host computer of the adaptable communication protocol version, thereby ensuring the accuracy of subsequent host computer communication interface configuration actions; by the host computer performing interface adaptation according to the communication protocol version, it is possible to automatically complete the adaptive matching and initialization of communication parameters, thereby reducing human intervention and improving the automation level of interface initialization and the reliability of communication.
[0010] In one example, the present application can be further configured as follows: The process of performing real-time status verification of the MAC address by the MES system specifically includes: The MES system compares the status of the MAC address according to a preset database. When the status of the MAC address is unburned, the corresponding MAC address is marked as a legal address; When the status of the MAC address is other, the corresponding MAC address is marked as an illegal address.
[0011] By adopting the above technical solution, the MES system compares the status of the MAC address according to a preset database and marks the unburned MAC address as a legal address, which can effectively prevent the reuse or misuse of the MAC address, thereby improving the accuracy of MAC address management in the production process; by the MES system marking the MAC address with other status as an illegal address, it can clearly distinguish the MAC addresses that may be abnormal, thereby reducing the product quality problems caused by the wrong burning of illegal addresses in the subsequent production process.
[0012] In one example of the present application, it can be further configured that: after marking the corresponding MAC address as an illegal address when the status of the MAC address is other, it further includes: Query the historical record of the illegal address. When the historical record of the illegal address is that the burning times or the abnormal times of the illegal address do not exceed a preset threshold, mark the illegal address as a retest address, and then perform a frequency offset calibration operation on the retest address; When the historical record of the illegal address is that the burning times or the abnormal times of the illegal address have exceeded the preset threshold, mark the illegal address as abnormal.
[0013] By adopting the above technical solution, by querying the historical record of the illegal address and marking it as a retest address when the burning times or the abnormal times do not exceed the preset threshold, an appropriate retest mechanism can be provided to avoid premature scrapping of equipment due to occasional abnormalities, thereby improving the product yield and reducing the production cost; by marking the MAC address as abnormal when the burning times or the abnormal times have exceeded the preset threshold, it can timely detect and reject equipment with high risks of multiple abnormalities or failures from entering the production test process again, thereby avoiding waste of production resources and improving production efficiency.
[0014] In one example of the present application, it can be further configured that: completing the burning of the MAC address according to the burning instruction and binding it to the corresponding product serial number specifically includes: After the host computer completes the burning, read the burned MAC address and perform a read-back verification, and compare the read-back MAC address with the MAC address to be burned issued by the MES system for consistency; After the readback verification is passed, obtain the product serial number of the device under test, and establish a binding relationship between the MAC address and the product serial number through the host computer, and at the same time upload the binding relationship to the MES system in real time; The MES system establishes and saves the mapping relationship between the MAC address and the corresponding product serial number according to the binding relationship.
[0015] By adopting the above technical solution, after the programming is completed by the host computer, the programmed MAC address is read for readback verification and compared with the MAC address to be programmed for consistency, which can effectively ensure the programming accuracy of the MAC address, thereby preventing data inconsistency problems caused by operation errors during the programming process; after the readback verification is passed, obtain the product serial number of the device and establish a binding relationship between the MAC address and the product serial number, and at the same time upload the binding relationship to the MES system in real time, which can ensure the consistency between the product serial number and the MAC address and the real-time nature of the binding relationship, thereby improving the reliability and traceability of production data; by the MES system establishing and saving the mapping relationship between the MAC address and the corresponding product serial number, it is possible to achieve fast and accurate product information retrieval in subsequent production management and after-sales service links, thereby improving the efficiency and accuracy of data management during the product life cycle.
[0016] In one example of the present application, it can be further configured as: after the binding of the product serial number is completed, perform frequency offset calibration on the chip, and perform RF testing according to the frequency offset calibration result, specifically including: Measure the actual frequency offset value of the chip. In the case where the actual frequency offset value does not meet the standard frequency offset threshold, according to the crystal oscillator compensation parameter corresponding to the actual frequency offset value until the actual frequency offset value meets the standard frequency offset threshold; After the frequency offset calibration is passed, the host computer executes the RF test program to test each item of the radio frequency performance parameters of the chip, and determines whether each test data meets the preset product qualification threshold.
[0017] By adopting the above technical solution, by measuring the actual frequency offset value of the chip and adjusting the crystal oscillator compensation parameter to meet the standard requirements when it does not meet the standard frequency offset threshold, it can effectively ensure the frequency accuracy of the radio frequency signal of the chip, thereby ensuring the effectiveness and accuracy of the radio frequency performance data during the subsequent RF testing process; by testing each item of the radio frequency performance parameters of the chip and determining whether it meets the preset product qualification threshold after the frequency offset calibration is passed, it can accurately test the radio frequency communication performance index of the chip, thereby effectively ensuring the radio frequency communication quality of the final product and reducing the risk of rework or recall of the product due to radio frequency performance problems.
[0018] The above-mentioned second invention object of the present application is achieved by the following technical solutions: A data processing device based on a host computer, the device comprising: An interface compatibility module, configured to start the host computer and perform version negotiation with the MES system, execute interface compatibility check, and determine the communication protocol version according to the interface compatibility result; A status verification module, configured to read the MAC address of the chip through the host computer, upload the MAC address to the MES system according to the communication protocol version, and then perform real-time status verification on the MAC address through the MES system; A programming and binding module, configured to issue a programming instruction to the host computer when the status verification result of the MAC address is legal, and then complete the programming of the MAC address according to the programming instruction and bind it to the corresponding product serial number; A calibration and testing module, configured to perform frequency offset calibration on the chip after the product serial number binding is completed, perform RF testing according to the frequency offset calibration result, and then upload the RF test data to the MES system in real time for data update.
[0019] By adopting the above technical solution, by starting the host computer and performing version negotiation with the MES system, and executing interface compatibility check, it is possible to confirm in advance the communication interface protocol compatibility between the host computer and the MES, effectively avoid data communication anomalies and interruptions caused by incompatible interface protocols, and thus improve the data transmission stability and reliability in the subsequent production testing process; by reading the MAC address of the chip through the host computer and uploading it to the MES system for real-time status verification, it is possible to effectively prevent situations such as duplicate programming, missed programming, and incorrect programming of the MAC address, and thus significantly improve the accuracy of MAC address management in the product production process, reducing the risk of product scrapping or rework caused by address anomalies; by completing the programming of the MAC address according to the programming instruction issued by the MES system and binding it to the corresponding product serial number, it is possible to achieve precise matching and real-time data binding between the MAC address and the product serial number, thus facilitating the accurate traceability of product information during the production process and after-sales service; by performing frequency offset calibration on the chip and performing RF testing after the product serial number binding is completed, and uploading the RF test data to the MES system in real time, it is possible to ensure that the product radio frequency performance parameters meet the product quality requirements, thus improving the overall quality stability of the product and effectively reducing the rework rate and production cost caused by abnormal radio frequency performance.
[0020] The above object three of the present application is achieved through the following technical solution: A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above data processing method based on a host computer when executing the computer program.
[0021] The above fourth object of the present application is achieved by the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above data processing method based on the host computer are implemented.
[0022] In summary, the present application includes the following beneficial technical effects: 1. By starting the host computer and negotiating the version with the MES system, and performing interface compatibility checks, it is possible to confirm in advance the compatibility of the communication interface protocol between the host computer and the MES, effectively avoiding data communication anomalies and interruptions caused by incompatible interface protocols, thereby improving the data transmission stability and reliability during the subsequent production test process; by the host computer reading the MAC address of the chip and uploading it to the MES system for real-time status verification, it is possible to effectively prevent the occurrence of situations such as duplicate burning, missed burning, and incorrect burning of the MAC address, thereby significantly improving the accuracy of MAC address management during the product production process and reducing the risk of product scrapping or rework due to address anomalies; by completing the MAC address burning according to the burning instruction issued by the MES system and binding it to the corresponding product serial number, it is possible to achieve an accurate match and real-time data binding between the MAC address and the product serial number, thereby facilitating the accurate traceability of product information during the production process and after-sales service; after the product serial number binding is completed, by calibrating the frequency offset of the chip and performing RF tests, and at the same time uploading the RF test data to the MES system in real time, it is possible to ensure that the product radio frequency performance parameters meet the product quality requirements, thereby improving the overall quality stability of the product and effectively reducing the rework rate and production cost due to abnormal radio frequency performance; 2. By the host computer automatically sending an interface version negotiation request to the MES system, it is possible to timely and actively achieve software version synchronization and compatibility detection, thereby reducing the probability of communication anomalies caused by version incompatibility; by the MES system returning the communication protocol version currently supported by the MES, it is possible to clearly inform the host computer of the applicable communication protocol version, thereby ensuring that the subsequent configuration actions of the host computer communication interface are accurate; by the host computer adapting the interface according to the communication protocol version, it is possible to automatically complete the adaptive matching and initialization of communication parameters, thereby reducing human intervention and improving the automation degree of interface initialization and the reliability of communication; 3. By using the MES system to compare the status of the MAC address according to the preset database and marking the unburned MAC address as a legal address, it can effectively prevent the repeated use or misuse of the MAC address, thereby improving the accuracy of MAC address management in the production process; by using the MES system to mark the MAC address with other status as an illegal address, it can clearly distinguish the MAC address that may be abnormal, thereby reducing the product quality problems caused by the wrong burning of the illegal address in the subsequent production process. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a flowchart of a data processing method based on a host computer in an embodiment of the present application; Figure 2 is an implementation flowchart of step S10 in the data processing method based on the host computer in an embodiment of the present application; Figure 3 is an implementation flowchart of step S20 in the data processing method based on the host computer in an embodiment of the present application; Figure 4 is an implementation flowchart after step S22 in the data processing method based on the host computer in an embodiment of the present application; Figure 5 is an implementation flowchart of step S30 in the data processing method based on the host computer in an embodiment of the present application; Figure 6 is an implementation flowchart of step S40 in the data processing method based on the host computer in an embodiment of the present application; Figure 7 is a principle block diagram of a data processing device based on a host computer in an embodiment of the present application; Figure 8 is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0024] The present application will be further described in detail below with reference to the accompanying drawings.
[0025] In one embodiment, as Figure 1 shown, the present application discloses a data processing method based on a host computer, which specifically includes the following steps: S10: Start the host computer and negotiate the version with the MES system, perform interface compatibility checks, and determine the communication protocol version according to the interface compatibility results.
[0026] Specifically, after the host computer is started, it sends an interface version negotiation request carrying the software version information of the host computer itself to the MES system through the network interface. This request carries the protocol version information supported currently. After receiving the request, the MES system parses the received data and returns the communication protocol version number information it supports. After the host computer receives the protocol version information returned by the MES, it automatically adapts the interface communication parameters that match the protocol version information. The communication parameters include the data packet format of the interface, the timeout time, and the data verification rules, etc., completing the interface compatibility check process.
[0027] S20: Read the MAC address of the chip through the host computer, and upload the MAC address to the MES system according to the communication protocol version, and then perform real-time status verification on the MAC address through the MES system.
[0028] Specifically, the host computer reads the MAC address data from the chip storage area through the underlying interface program called internally, and encapsulates the MAC address data into a standard data message according to the determined communication protocol version, and uploads it to the MES system in real time; subsequently, the MES system takes the received MAC address as the query condition and automatically executes a quick query instruction in the database to verify the real-time status of the MAC address.
[0029] S30: When the status verification result of the MAC address is legal, send a burn-in instruction to the host computer, and then complete the burning of the MAC address according to the burn-in instruction and bind it to the corresponding product serial number.
[0030] Specifically, after the MES returns a legal status for the query result of the MAC address, it immediately sends a burn-in instruction with the MAC address information to the host computer through the network communication interface. After receiving the burn-in instruction, the host computer calls the internally preset burn-in program, burns the MAC address data contained in the instruction into the chip internal storage area through SPI or UART. Subsequently, the host computer reads the burned MAC address from the chip again for a read-back verification operation. After the verification is correct, the host computer then obtains the product serial number of the corresponding device under test through the serial number reading device, and establishes a real-time binding relationship between the MAC address and the product serial number.
[0031] S40: After the product serial number binding is completed, perform frequency offset calibration on the chip, and perform RF testing according to the frequency offset calibration result, and then upload the RF test data to the MES system in real time for data update.
[0032] Specifically, after the host computer completes the binding operation of the MAC address and the product serial number, it starts the frequency offset measurement of the chip through a pre-set frequency offset calibration program, automatically compares it with the pre-set frequency offset standard threshold, and after the frequency offset calibration is completed, the host computer automatically starts the pre-set RF test program, and tests the chip's transmission power, receiving sensitivity, signal quality and other indicators item by item through a radio frequency tester to obtain the specific values of each RF indicator and determine whether the test indicators are qualified; after the RF test is completed, the host computer packs and uploads the frequency offset calibration result and the RF test result to MES in real time for data update to complete the real-time tracking of the product test status.
[0033] In one embodiment, as Figure 2 shown, in step S10, that is, starting the host computer and negotiating the version with the MES system, performing interface compatibility check, and determining the communication protocol version according to the interface compatibility result, specifically including: S11: When the host computer starts, it automatically sends an interface version negotiation request to the MES system.
[0034] Specifically, when the host computer starts the software, it automatically calls the network communication interface, actively generates a data packet containing its own software interface version identification information, such as the currently supported protocol version numbers V1.0, V2.0, etc., and actively sends the data packet to the MES system through the standard communication port to request the MES to feedback the supported interface protocol version information.
[0035] S12: The MES system returns the currently supported communication protocol version of the sending MES system according to the version negotiation request.
[0036] Specifically, after the MES system receives the version negotiation request, it parses the request packet, obtains the protocol version number information supported by the host computer therein, and searches and matches it in its pre-set version compatibility list, selects the communication protocol version with the highest priority, such as version V2.0, encapsulates the version number into a data packet, and returns it to the host computer through the communication interface for the host computer to perform adaptation processing.
[0037] S13: The host computer performs interface adaptation according to the communication protocol version to complete the compatibility check.
[0038] Specifically, after the host computer receives the communication protocol version returned by the MES, it parses the returned version data, automatically loads the interface parameters corresponding to this version, including but not limited to the data packet format, data length convention, check code rule, and communication timeout time, and configures the communication interface accordingly to complete the compatibility check process.
[0039] In one embodiment, as Figure 3 shown, in step S20, that is, performing real-time status verification on the MAC address through the MES system, specifically including: S21: The MES system compares the status of the MAC address according to a preset database. When the status of the MAC address is unburned, the corresponding MAC address is marked as a legal address.
[0040] Specifically, after the MES receives the MAC address uploaded by the host computer, it quickly queries the MAC address status field by executing a query instruction in the database, such as an SQL query statement. If the returned field is empty or the status is unburned, the status mark of the MAC address is automatically updated to the legal status to allow subsequent burning operations to proceed.
[0041] S22: When the status of the MAC address is other, the corresponding MAC address is marked as an illegal address.
[0042] Specifically, after executing the database query instruction, if it is found that the MAC address has been used or exists in the database, the MAC address is automatically marked as an illegal status in the database, and at the same time, a status exception prompt message is generated and fed back to the host computer in the form of a data packet to inform subsequent stop or execution of other processing actions.
[0043] In one embodiment, as Figure 4 shown, after step S22, that is, when the status of the MAC address is other and the corresponding MAC address is marked as an illegal address, it further includes: S221: Query the historical record of the illegal address. When the number of burning times or the number of exceptions of the illegal address does not exceed the preset threshold, the illegal address is marked as a retest address, and then the frequency offset calibration operation is performed on the retest address.
[0044] Specifically, the MES uses a database historical record retrieval instruction, such as calling a historical statistical SQL statement, with the illegal MAC address as the key index to quickly count the historical burning times and the number of exceptions. When the statistical times are lower than the set threshold, for example, the number of burning times does not exceed 2 times or the number of exceptions does not exceed 3 times, the MAC address is automatically marked as an allowable retest status in the database, and the marked status is sent to the host computer in real time to continue the frequency offset calibration process.
[0045] S222: When the number of burning times or the number of exceptions of the illegal address exceeds the preset threshold, the illegal address is marked as an exception.
[0046] Specifically, the MES execution database queries historical data, counts the number of abnormal occurrences or programming times corresponding to the illegal address. When the statistical result exceeds a preset threshold, for example, when the programming times exceed 2 or the number of abnormal occurrences reaches 3, the status field of the MAC address in the database is automatically modified to the abnormal status, and an abnormal prompt message is real-time fed back to the host computer to terminate the subsequent programming process for this MAC address.
[0047] In one embodiment, as Figure 5 shown, in step S30, that is, the MAC address is programmed according to the programming instruction and bound to the corresponding product serial number, which specifically includes: S31: After the host computer completes the programming, it reads the programmed MAC address and performs a read-back verification, comparing the read-back MAC address with the MAC address to be programmed sent by the MES system for consistency.
[0048] Specifically, after the host computer completes the programming operation, it immediately calls a preset MAC address read-back instruction, reads out the MAC address programmed in the chip byte by byte through the I2C interface or SPI interface, and automatically performs a data consistency comparison operation byte by byte with the MAC address to be programmed sent by the MES system. After the comparison is successful, an identifier indicating successful consistency verification is generated to ensure that no errors or data anomalies occur during the programming process.
[0049] S32: After the read-back verification passes, obtain the product serial number of the device under test, and establish a binding relationship between the MAC address and the product serial number through the host computer, and at the same time upload the binding relationship to the MES system in real time.
[0050] Specifically, after the read-back verification passes, the host computer calls a serial number automatic collection tool, such as a barcode scanner or an RFID device, to automatically collect the unique product serial number data on the device under test. Then the host computer automatically establishes a logical mapping relationship between the MAC address and the serial number in a data mapping manner in real time, and uploads the bound data relationship to the MES system for storage through a standard communication protocol in real time.
[0051] S33: The MES system establishes and saves the mapping relationship between the MAC address and the corresponding product serial number according to the binding relationship.
[0052] Specifically, after the MES receives the binding data of the MAC address and the product serial number, it automatically uses a database update instruction, such as an INSERT or UPDATE statement, to write or update the mapping relationship between the MAC address and the product serial number to the database record, forming a permanent data mapping relationship and storing it in the MES database to achieve subsequent tracking and management of the production process.
[0053] In one embodiment, as Figure 6As shown, in step S40, that is, after the product serial number binding is completed, the chip is subjected to frequency offset calibration, and RF testing is performed according to the frequency offset calibration result, specifically including: S41: Measure the actual frequency offset value of the chip. In the case where the actual frequency offset value does not meet the standard frequency offset threshold, according to the crystal oscillator compensation parameter corresponding to the actual frequency offset value, until the actual frequency offset value meets the standard frequency offset threshold.
[0054] Specifically, after the frequency offset calibration is started, the host computer automatically obtains the actual deviation value of the current transmission frequency of the chip to be tested relative to the standard frequency by calling the measurement instruction of the radio frequency analysis instrument, and automatically calculates the new parameter value of the crystal oscillator compensation register according to the pre-stored frequency offset compensation algorithm, and then gradually adjusts the compensation parameter value in the chip crystal oscillator register through the interface instruction of the chip. For example, the frequency offset is gradually adjusted from ±30 ppm to within ±10 ppm, and the steps of measurement - adjustment - re-measurement are executed cyclically until the frequency offset meets the predetermined standard range.
[0055] S42: After the frequency offset calibration passes, the host computer executes the RF test program to test each item of the radio frequency performance parameters of the chip, and determines whether each test data meets the preset product qualification threshold.
[0056] Specifically, after the frequency offset calibration is qualified, the host computer automatically starts the RF test program, and performs specific radio frequency parameter measurement operations such as transmission power test, reception sensitivity test, modulation accuracy test, etc. by calling a radio frequency tester, such as a comprehensive tester or a spectrum analyzer. For example, the measured value of the transmission power is compared with ±1 dB of the preset qualified power range. After all radio frequency indicators are measured, the host computer automatically determines whether each test data meets the predetermined qualified threshold standard, so as to obtain the qualified or unqualified status of the RF test.
[0057] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0058] In one embodiment, a data processing device based on a host computer is provided, and the data processing device based on a host computer corresponds one-to-one with the data processing method based on a host computer in the above embodiment. As Figure 7 shown, the data processing device based on a host computer includes an interface compatibility module, a status verification module, a programming and binding module, and a calibration and testing module. The detailed description of each functional module is as follows: The interface compatibility module is used to start the host computer and negotiate the version with the MES system, perform interface compatibility checks, and determine the communication protocol version according to the interface compatibility result; The status verification module is used to read the MAC address of the chip through the host computer, upload the MAC address to the MES system according to the communication protocol version, and then perform real-time status verification on the MAC address through the MES system; The programming and binding module is used to send a programming instruction to the host computer when the status verification result of the MAC address is legal, and then complete the programming of the MAC address according to the programming instruction and bind it to the corresponding product serial number; The calibration and testing module is used to perform frequency offset calibration on the chip after the product serial number binding is completed, perform RF testing according to the frequency offset calibration result, and then upload the RF test data to the MES system in real time for data update.
[0059] Optionally, the interface compatibility module specifically includes: The version negotiation request sub-module is used to automatically send an interface version negotiation request to the MES system when the host computer starts up; The protocol version feedback sub-module is used for the MES system to return the currently supported communication protocol version according to the version negotiation request; The interface adaptation sub-module is used for the host computer to perform interface adaptation according to the communication protocol version and complete the compatibility check.
[0060] Optionally, the status verification module specifically includes: The status comparison sub-module is used for the MES system to compare the status of the MAC address according to the preset database. When the status of the MAC address is unprogrammed, mark the corresponding MAC address as a legal address; The illegal address marking sub-module is used to mark the corresponding MAC address as illegal when the status of the MAC address is other.
[0061] Optionally, after the illegal address marking sub-module, it further includes: The retest address judgment unit is used to query the historical record of the illegal address. When the number of programming times or the number of abnormal times of the illegal address does not exceed the preset threshold, mark the illegal address as a retest address, and then perform a frequency offset calibration operation on the retest address; The abnormal address marking unit is used to mark the illegal address as abnormal when the number of programming times or the number of abnormal times of the illegal address has exceeded the preset threshold.
[0062] Optionally, the programming and binding module specifically includes: The read-back verification sub-module is used to read the programmed MAC address after the host computer completes programming, perform read-back verification, and compare the read-back MAC address with the MAC address to be programmed issued by the MES system for consistency comparison; The binding relationship upload sub-module is used to obtain the product serial number of the device under test after the read-back verification passes, establish the binding relationship between the MAC address and the product serial number through the host computer, and upload the binding relationship to the MES system in real time; The mapping relationship storage sub-module is used for the MES system to establish and save the mapping relationship between the MAC address and the corresponding product serial number according to the binding relationship.
[0063] Optionally, the calibration and testing module specifically includes: The frequency offset calibration sub-module is used to measure the actual frequency offset value of the chip. When the actual frequency offset value does not meet the standard frequency offset threshold, according to the crystal oscillator compensation parameter corresponding to the actual frequency offset value until the actual frequency offset value meets the standard frequency offset threshold; The radio frequency performance testing sub-module is used to execute the RF test program on the host computer after the frequency offset calibration passes, test the radio frequency performance parameters of the chip item by item, and determine whether each test data meets the preset product qualification threshold.
[0064] For the specific limitations of the data processing device based on the host computer, reference can be made to the limitations of the data processing method based on the host computer in the above text, which will not be elaborated here. Each module in the above data processing device based on the host computer can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0065] In one embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 8 shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it realizes a data processing method based on the host computer.
[0066] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps are realized: Start the host computer and negotiate the version with the MES system, perform interface compatibility checks, and determine the communication protocol version according to the interface compatibility results; Read the MAC address of the chip through the host computer, upload the MAC address to the MES system according to the communication protocol version, and then perform real-time status verification on the MAC address through the MES system; When the status verification result of the MAC address is legal, send a programming instruction to the host computer, and then complete the programming of the MAC address according to the programming instruction and bind it to the corresponding product serial number; After the product serial number binding is completed, perform frequency offset calibration on the chip, perform RF testing according to the frequency offset calibration result, and then upload the RF test data to the MES system in real time for data update.
[0067] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: Start the host computer and negotiate the version with the MES system, perform interface compatibility check, and determine the communication protocol version according to the interface compatibility result; Read the MAC address of the chip through the host computer, upload the MAC address to the MES system according to the communication protocol version, and then perform real-time status verification on the MAC address through the MES system; When the status verification result of the MAC address is legal, send a programming instruction to the host computer, and then complete the programming of the MAC address according to the programming instruction and bind it to the corresponding product serial number; After the product serial number binding is completed, perform frequency offset calibration on the chip, perform RF testing according to the frequency offset calibration result, and then upload the RF test data to the MES system in real time for data update.
[0068] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0069] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above division of each functional unit and module is used as an example. In actual applications, the above functions can be allocated to different functional units and modules according to needs, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0070] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A data processing method based on a host computer, characterized in that The method includes: Start the host computer and negotiate the version with the MES system, perform interface compatibility checks, and determine the communication protocol version based on the interface compatibility results; Read the MAC address of the chip through the host computer, upload the MAC address to the MES system according to the communication protocol version, and then perform real-time status verification on the MAC address through the MES system; When the status verification result of the MAC address is legal, send a programming instruction to the host computer, and then complete the programming of the MAC address according to the programming instruction and bind it to the corresponding product serial number; After the binding of the product serial number is completed, perform frequency offset calibration on the chip, perform RF tests according to the frequency offset calibration results, and then upload the RF test data to the MES system in real time for data update.
2. The data processing method based on the host computer according to claim 1, wherein The step of starting the host computer and negotiating the version with the MES system, performing interface compatibility checks, and determining the communication protocol version based on the interface compatibility results specifically includes: When the host computer starts, automatically send an interface version negotiation request to the MES system; The MES system returns the communication protocol version currently supported by the MES system according to the version negotiation request; The host computer performs interface adaptation according to the communication protocol version to complete the compatibility check.
3. The data processing method based on the host computer according to claim 1, wherein The step of performing real-time status verification on the MAC address through the MES system specifically includes: The MES system performs status comparison on the MAC address according to a preset database. When the status of the MAC address is unprogrammed, mark the corresponding MAC address as a legal address; When the status of the MAC address is otherwise, mark the corresponding MAC address as an illegal address.
4. The data processing method based on the host computer according to claim 3, wherein After marking the corresponding MAC address as an illegal address when the status of the MAC address is otherwise, it further includes: Query the historical record of the illegal address. When the historical record of the illegal address indicates that the programming times or the number of anomalies of the illegal address do not exceed a preset threshold, mark the illegal address as a retest address, and then perform a frequency offset calibration operation on the retest address; When the historical record of the illegal address indicates that the programming times or the number of anomalies of the illegal address have exceeded the preset threshold, mark the illegal address as an anomaly.
5. The data processing method based on the host computer according to claim 1, characterized in that The step of completing the programming of the MAC address according to the programming instruction and binding it to the corresponding product serial number specifically includes: After the host computer completes the programming, read the programmed MAC address, perform a read-back verification, and compare the read-back MAC address with the MAC address to be programmed issued by the MES system for consistency; After the read-back verification passes, obtain the product serial number of the device under test, establish a binding relationship between the MAC address and the product serial number through the host computer, and upload the binding relationship to the MES system in real time; The MES system establishes and saves the mapping relationship between the MAC address and the corresponding product serial number according to the binding relationship.
6. The data processing method based on the host computer according to claim 1, wherein After the binding of the product serial number is completed, the frequency offset of the chip is calibrated, and RF testing is performed according to the frequency offset calibration result, specifically including: Measuring the actual frequency offset value of the chip. In the case where the actual frequency offset value does not meet the standard frequency offset threshold, according to the crystal oscillator compensation parameter corresponding to the actual frequency offset value until the actual frequency offset value meets the standard frequency offset threshold; After the frequency offset calibration passes, the host computer executes the RF test program to test each item of the radio frequency performance parameters of the chip, and determines whether each test data meets the preset product qualification threshold.
7. A data processing device based on a host computer, characterized in that, The device includes: An interface compatibility module for starting the host computer and negotiating versions with the MES system, performing interface compatibility checks, and determining the communication protocol version according to the interface compatibility result; A status verification module for reading the MAC address of the chip through the host computer, uploading the MAC address to the MES system according to the communication protocol version, and then performing real-time status verification on the MAC address through the MES system; A programming and binding module for, in the case where the status verification result of the MAC address is legal, sending a programming instruction to the host computer, and then completing the programming of the MAC address according to the programming instruction and binding it to the corresponding product serial number; A calibration and testing module for, after the binding of the product serial number is completed, calibrating the frequency offset of the chip, performing RF testing according to the frequency offset calibration result, and then uploading the RF test data to the MES system in real time for data update.
8. The data processing device based on the host computer according to claim 7, characterized in that, The interface compatibility module specifically includes: A version negotiation request sub-module for automatically sending an interface version negotiation request to the MES system when the host computer starts; A protocol version feedback sub-module for the MES system to return the communication protocol version currently supported by the MES system according to the version negotiation request; An interface adaptation sub-module for the host computer to perform interface adaptation according to the communication protocol version to complete the compatibility check.
9. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the data processing method based on the host computer according to any one of claims 1 to 6.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the data processing method based on the host computer according to any one of claims 1 to 6.
Citation Information
Patent Citations
MAC address updating method in production line and system thereof
CN104954502A
Test system
CN111143135A
Finished product testing method and device and circuit board testing method and device
CN111610427A
Networking module production measurement method, production measurement tool and computer equipment
CN112882727A
Automatic production testing system and method for Bluetooth chip and Bluetooth module
CN113037398A