A programming management method and system for a programming host computer

Through automated and intelligent burning management methods, the problem of cumbersome and error-prone firmware burning in electronic equipment manufacturing is solved, and an efficient and accurate burning process is achieved, which improves production efficiency and equipment reliability.

CN119938107BActive Publication Date: 2025-07-04SHENZHEN SPARK ELECTRIC CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510444133.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-07-04
Estimated Expiration
2045-04-10

AI Technical Summary

Technical Problem

During the manufacturing process of existing electronic equipment, firmware recording is cumbersome, low efficiency and error-prone, which affects production progress and product quality.

Method used

The automatic and intelligent burn management method is adopted to ensure the stability and accuracy of the burning process through user identity verification, burning permission verification, data segmentation and encryption transmission, and feedback data adjustment of burning baud rate.

Benefits of technology

It improves the efficiency and accuracy of burning, ensures the accuracy of burning programs and equipment reliability, and improves production efficiency and product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938107B_ABST
    Figure CN119938107B_ABST
Patent Text Reader

Abstract

The present invention discloses a burning management method and system for a burning host computer. The method includes: performing user identity verification according to the user identity information of the burning applicant; when the user identity verification is successful, performing burning permission verification on the data to be burned; when the data to be burned meets the burning permission, performing burning work on the data to be burned, splitting the data to be burned into multiple burning data frames, encrypting each burning data frame in sequence and sending it to the burning device; during the burning process, receiving the feedback data of the current burning data frame, performing burning verification on the current burning data frame according to the feedback data and adjusting the burning baud rate of the next burning data frame; when the burning is completed, performing burning verification on the burning device to determine the burning status of the data to be burned. The present invention improves the burning efficiency and accuracy through an automated and intelligent burning process. And adjusts the burning parameters according to the burning situation to ensure the burning stability and burning speed during the burning process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of firmware flashing for electronic devices, and more specifically, to a flashing management method and system for a flashing host computer. Background Art

[0002] In the process of manufacturing electronic devices, firmware flashing is an essential step. Currently, during the bottom-layer flashing in the manufacturing process of electronic devices, files can only be searched and various input instructions can only be input manually for operation, which is relatively cumbersome and slow. There are often problems such as long flashing time, low efficiency, complex data verification, and easy errors. Especially in a large-scale production environment, these problems will seriously affect the production progress and product quality.

[0003] Therefore, there are defects in the existing technology and it urgently needs to be improved. Summary of the Invention

[0004] In view of the above problems, the purpose of the present invention is to provide a flashing management method and system for a flashing host computer. Through an automated and intelligent flashing process, the cumbersome and error-prone nature of manual operations is significantly reduced, and the flashing efficiency and accuracy are improved. By performing pre-flashing checks and integrity verification, the correctness and integrity of the flashing program are ensured, thereby enhancing the reliability and stability of the device. The flashing parameters are adjusted according to the flashing situation to ensure the flashing stability and flashing speed during the flashing process.

[0005] The first aspect of the present invention provides a flashing management method for a flashing host computer, including:

[0006] Obtain flashing request data; the flashing request data includes the user identity information of the flashing applicant and the data to be flashed;

[0007] Perform user identity verification according to the user identity information of the flashing applicant;

[0008] When the user identity verification is successful, perform flashing permission verification on the data to be flashed;

[0009] When the data to be flashed meets the flashing permission, perform a flashing operation on the data to be flashed, divide the data to be flashed into multiple flashing data frames, encrypt each flashing data frame in sequence and send it to the flashing device;

[0010] During the flashing process, receive the feedback data of the current flashing data frame, perform flashing verification on the current flashing data frame according to the feedback data, and adjust the flashing baud rate of the next flashing data frame;

[0011] When the flashing is completed, perform flashing verification on the flashing device to determine the flashing status of the data to be flashed.

[0012] In this solution, the user identity authentication based on the user identity information of the programming applicant includes:

[0013] Obtain the user identity information;

[0014] Filter the identity registration information in the database according to the user identity information;

[0015] When there is identity registration information that matches the user identity information, the user identity authentication is successful;

[0016] Otherwise, the authentication fails.

[0017] In this solution, the programming permission verification for the data to be programmed includes:

[0018] Obtain the list of bound programming data according to the user identity information;

[0019] Determine whether there is data to be programmed in the list of bound programming data;

[0020] If so, the data to be programmed meets the programming permission;

[0021] Otherwise, it does not meet the programming permission and data programming is prohibited;

[0022] Update the remaining programming times of the bound programming data that matches the data to be programmed in the list of bound programming data according to the data to be programmed.

[0023] This solution also includes:

[0024] Before programming starts, verify whether the programming device supports the data to be programmed, whether the programming device can run the data to be programmed normally, and whether the programming device is normally connected to the host computer;

[0025] When the programming device supports the data to be programmed, the programming device can run the data to be programmed normally, and the programming device is normally connected to the host computer, send a test data packet from the host computer to the programming device and receive the test response data fed back by the programming device;

[0026] Adjust the programming baud rate according to the test response data.

[0027] In this solution, splitting the data to be programmed into multiple programming data frames, encrypting each programming data frame in sequence and sending it to the programming device includes:

[0028] The host computer adds a serial number to each programming data frame, encrypts it with the first secret key, determines multiple encrypted data frames, and sends each encrypted data frame to the programming device in sequence;

[0029] The programming device decrypts the received encrypted data frame with the second secret key to obtain a decrypted data frame;

[0030] The programming device generates a feature code based on the decrypted data frame, combines the response data to generate feedback data and sends it to the host computer; the response data includes the programming speed and the transmission delay.

[0031] In this solution, during the programming process, the feedback data of the current programming data frame is received, and the programming baud rate of the next programming data frame is adjusted according to the feedback data, including:

[0032] The host computer extracts the feature code from the feedback data and verifies the feature code. When the feature code matches the current encrypted data frame, the next encrypted data frame is sent; otherwise, the current encrypted data frame is resent, and the cumulative transmission times of the current encrypted data frame are recorded;

[0033] When the cumulative transmission times of the current encrypted data frame are greater than the first preset transmission times threshold, the first influence score of the current encrypted data frame is calculated according to the response data and the cumulative transmission times of the current encrypted data frame;

[0034] The first warning score is determined by accumulating the first influence scores of all the encrypted data frames of the data to be programmed;

[0035] When the first warning score is greater than the preset warning score threshold, it is determined that the programming fails and a warning is given;

[0036] When the cumulative transmission times of the current encrypted data frame are greater than the second preset transmission times threshold, it is determined that the programming fails and a warning is given;

[0037] The host computer extracts the response data from the feedback data and adjusts the programming baud rate of the next data frame to be sent; the next data frame to be sent includes the current encrypted data frame and the next encrypted data frame.

[0038] In this solution, adjusting the programming baud rate of the next data frame to be sent according to the response data includes:

[0039] The transmission delay T (n) is respectively compared with the preset maximum transmission delay T max and the preset minimum transmission delay T min to determine the delay score P T(n) ;

[0040] According to the delay score P T(n) and the programming speed v (n) calculate the response score Q (n) ;

[0041] ;

[0042] Among them, v0 is the historical average programming speed at the current wave programming baud rate, t r(n) is the cumulative transmission times of the current encrypted data frame n, and k1 and k2 are system preset influence coefficients;

[0043] According to the response score Q (n) draw a response score change curve to predict the predicted response score Q' of the next transmitted data frame (n+1) ;

[0044] Determine the response score Q of the previous transmitted data frame through the response score change curve (n-1) , combined with the response score Q (n) and the predicted response score Q' (n+1) Calculate the response score change rate P Q(n+1) ;

[0045] ;

[0046] Compare the response score change rate P Q(n+1) with the first preset response score change rate threshold P Q(max) and the second preset response score change rate threshold P Q(min) respectively;

[0047] When P Q(n+1) ≥P Q(max) , adjust the programming baud rate of the next transmitted data frame up one level;

[0048] When P Q(n+1) <P Q(min) , adjust the programming baud rate of the next transmitted data frame down one level;

[0049] When P Q(min) ≤P Q(n+1) <P Q(max) , make no adjustment.

[0050] In this solution, comparing the transmission delay T (n) with the preset maximum transmission delay T max and the preset minimum transmission delay T min respectively to determine the delay score P T(n) , includes:

[0051] When T min <T (n) ≤T max , ;

[0052] When T (n) ≤T minWhen ;

[0053] When T (n) > T max When ;

[0054] Wherein, k p is the influence coefficient of the delay score.

[0055] In this solution, after the burning is completed, the burning device is verified for burning to determine the burning status of the data to be burned, including:

[0056] After the burning is completed, the burned data frames in all decrypted data frames are extracted and integrated to obtain the burned data to be verified;

[0057] Perform integrity verification on the burned data to be verified;

[0058] When the verification is successful, it is determined that the burning is completed;

[0059] Otherwise, it is determined that the burning fails and a warning reminder is issued.

[0060] The second aspect of the present invention provides a burning management system for a burning host computer, including:

[0061] A data acquisition module for acquiring burning request data; the burning request data includes the user identity information of the burning applicant and the data to be burned;

[0062] A user identity verification module for performing user identity verification according to the user identity information of the burning applicant;

[0063] A burning permission verification module for performing burning permission verification on the data to be burned after the user identity verification is successful;

[0064] A data burning module for performing burning work on the data to be burned when the data to be burned meets the burning permission, splitting the data to be burned into multiple burned data frames, encrypting each burned data frame in turn and sending it to the burning device;

[0065] A burning parameter adjustment module for receiving feedback data of the current burned data frame during the burning process, performing burning verification on the current burned data frame according to the feedback data and adjusting the burning baud rate of the next burned data frame;

[0066] A burning verification module for performing burning verification on the burning device after the burning is completed to determine the burning status of the data to be burned.

[0067] In a third aspect of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium includes a program for a burning management method of a host computer for burning. When the program for the burning management method of the host computer for burning is executed by a processor, the steps of the burning management method of the host computer for burning as described above are implemented.

[0068] The present invention discloses a burning management method and system for a host computer for burning. The method includes: performing user identity verification according to the user identity information of the burning applicant; when the user identity verification is successful, performing burning permission verification on the data to be burned; when the data to be burned meets the burning permission, performing burning work on the data to be burned, splitting the data to be burned into multiple burning data frames, encrypting each burning data frame in sequence and sending it to the burning device; during the burning process, receiving the feedback data of the current burning data frame, performing burning verification on the current burning data frame according to the feedback data and adjusting the burning baud rate of the next burning data frame; when the burning is completed, performing burning verification on the burning device to determine the burning status of the data to be burned. The present invention improves the burning efficiency and accuracy through an automated and intelligent burning process. And adjusts the burning parameters according to the burning situation to ensure the burning stability and burning speed during the burning process. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 Shows a flowchart of a burning management method for a host computer for burning provided by the present invention;

[0070] Figure 2 Shows a flowchart of a user identity verification method provided by the present invention;

[0071] Figure 3 Shows a flowchart of a method for adjusting the burning baud rate of the next burning data frame according to the feedback data provided by the present invention;

[0072] Figure 4 Shows a block diagram of a burning management system for a host computer for burning provided by the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0073] In order to be able to more clearly understand the above objects, features and advantages of the present invention, the present invention will be further described in detail below with reference to the drawings and specific embodiments. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0074] Many specific details are set forth in the following description in order to fully understand the present invention. However, the present invention may be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.

[0075] Figure 1 The flowchart of a programming management method for a programming host computer provided by the present invention is shown.

[0076] As Figure 1 shown, the present invention discloses a programming management method for a programming host computer, including:

[0077] S102, obtaining programming request data; the programming request data includes the user identity information of the programming applicant and the data to be programmed;

[0078] S104, performing user identity verification according to the user identity information of the programming applicant;

[0079] S106, when the user identity verification is successful, performing programming permission verification on the data to be programmed;

[0080] S108, when the data to be programmed meets the programming permission, performing programming work on the data to be programmed, splitting the data to be programmed into multiple programming data frames, encrypting each programming data frame in sequence and sending it to the programming device;

[0081] S110, during the programming process, receiving the feedback data of the current programming data frame, performing programming verification on the current programming data frame according to the feedback data and adjusting the programming baud rate of the next programming data frame;

[0082] S112, when the programming is completed, performing programming verification on the programming device to determine the programming status of the data to be programmed.

[0083] According to an embodiment of the present invention, first, user authentication is performed through the burn request data uploaded by the user. The user identity information is matched with the identity registration information in the database. When there is identity registration information that matches the user identity information, the user authentication is successful. According to the user identity information, a list of bound burn data is obtained. When there is pending burn data in the list of bound burn data, the pending burn data meets the burn permission. Before the burn starts, the system starts the intelligent inspection program before burning through a series of automated detection processes to comprehensively inspect the burn device and related hardware. When the verification conditions of the burn device are verified successfully, the host computer is controlled to send a test data packet to the burn device, and the burn baud rate is adjusted according to the received test response data to determine the initial burn baud rate for data burning. The pending burn data is segmented into multiple burn data frames according to the system preset data size or byte length, etc. Each burn data frame is added with a serial number, and each burn data frame is encrypted by using an asymmetric encryption method and transmitted in sequence according to the serial number order. The burn device decrypts the received encrypted data frame, generates a signature code through the obtained decoded data frame, generates feedback data in combination with the burn speed and transmission delay during the data transmission process, and sends the feedback data to the host computer. The host computer extracts the signature code from the feedback data, verifies the signature code, and sends the next encrypted data frame or resends the current encrypted data frame according to the verification situation. The cumulative transmission times of the current encrypted data frame are recorded, and whether there is a burn risk is judged. When there is a burn risk situation, it is determined that the burn fails and a warning reminder is given.

[0084] During the burning process, the feedback data of the current burn data frame is received, the response data is extracted from the feedback data, the response data includes the transmission delay and the burn speed, the delay score is calculated through the transmission delay, the response score is calculated in combination with the burn speed, the response score change curve is drawn according to the response score, the predicted response score of the next transmitted data frame is predicted, and the response score change rate is calculated. The response score change rate is compared with the first preset response score change rate threshold and the second preset response score change rate threshold to adjust the burn baud rate of the next transmitted data frame. After the burning is completed, the data frames received by the burn device are integrated according to the serial number to obtain the pending verification burn data, and the pending verification burn data is simulated to run to determine whether the pending verification burn data is burned completely, so as to judge whether the pending burn data is burned completely.

[0085] Among them, the system generates multiple burn baud rates that meet the burn requirements according to the data identifier of the pending burn data and the firmware version information of the burn device. For example, 200KHz, 500KHz, 1MHz, 2MHz, 5MHz, 10MHz, 20MHz, 25MHz, 33MHz, 50MHz, etc.

[0086] Figure 2 The flowchart of the user authentication method provided by the present invention is shown.

[0087] As Figure 2 shown, according to an embodiment of the present invention, user authentication is performed according to the user identity information burned by the applicant, including:

[0088] S202, obtaining user identity information;

[0089] S204, screening the identity registration information in the database according to the user identity information;

[0090] S206, when there is identity registration information that matches the user identity information, the user authentication is successful;

[0091] S208, otherwise, the authentication fails.

[0092] It should be noted that the user identity information includes, but is not limited to, identity identification numbers such as ID card numbers, passport numbers or other unique identification numbers, biometric information such as fingerprints, facial recognition data, iris scan data or voice recognition data, user-set information such as user names, passwords, answers to security questions, and other auxiliary information such as the mobile phone numbers and email addresses bound by the user. When receiving the user identity information input by the applicant to be burned, the system starts the screening program and retrieves the identity registration information related to the user identity information input by the applicant to be burned from the database. If there is identity registration information in the database that exactly matches the user identity information, the system determines that the user authentication is successful. At this time, the system will send a notification of successful authentication to a preset terminal (such as a mobile phone, a monitor, etc.) and allow the user to enter the corresponding service or system. If there is no identity registration information in the database that exactly matches the user identity information, or the user identity information input by the applicant to be burned is incorrect or incomplete, the system will determine that the user authentication fails. At this time, the system will send a notification of failed authentication to the preset terminal and prompt the user to check whether the input information is correct, or try other authentication methods (such as SMS verification codes, customer service consultations, etc.).

[0093] According to an embodiment of the present invention, burn permission verification is performed on the data to be burned, including:

[0094] Obtaining a list of data bound for burning according to the user identity information;

[0095] Judging whether there is data to be burned in the list of data bound for burning;

[0096] If so, the data to be burned meets the burn permission;

[0097] Otherwise, it does not meet the burn permission and data burning is prohibited;

[0098] Update the remaining burn times of the bound burn data that matches the data to be burned in the list of bound burn data according to the data to be burned.

[0099] It should be noted that after the user identity information is successfully verified, the system retrieves the list of burn data bound to the user from the database according to the user identity information. The list includes the following information: ① Burn data identifier: a number or name used to uniquely identify the burn data. ② Burn permission: the operation permission of the user for the burn data, such as "burnable" or "burn prohibited". ③ Remaining burn times: the allowed burn times of the user for the burn data, and the initial value is set by the system or the administrator. ④ Burn device information: the hardware device information bound to the burn data, such as device model, serial number, etc. The system filters out the burn data for which the current user has burn permission and the remaining burn times are greater than zero from the list of burn data bound to the user, and determines whether there is data to be burned in the filtered list of data to be burned. If there is, the data to be burned meets the burn permission and the user is allowed to perform the burn operation; otherwise, the system prompts a "burn prohibited" message through a preset terminal.

[0100] When the user starts the burn operation, the system finds the corresponding bound burn data according to the data identifier of the data to be burned and updates its remaining burn times.

[0101] According to the embodiments of the present invention, it further includes:

[0102] Before the burn starts, verify whether the burn device supports the data to be burned, whether the burn device can run the data to be burned normally, and whether the burn device is normally connected to the host computer;

[0103] When the burn device supports the data to be burned, the burn device can run the data to be burned normally, and the burn device is normally connected to the host computer, send a test data packet to the burn device through the host computer and receive the test response data feedback by the burn device;

[0104] Adjust the burn baud rate according to the test response data.

[0105] It should be noted that when the user is about to perform the burning operation, the system first starts the intelligent inspection program before burning. Through a series of automated detection processes, it comprehensively inspects the burning device and related hardware. It detects whether the burning device is correctly inserted and connected to the host computer through the device management interface (such as USB, serial port, network interface, etc.), that is, verifies whether the burning device is normally connected to the host computer. This step can be verified by the system sending a handshake signal to the burning device. Then, the system reads the firmware version information of the burning device and compares it with the list of compatible firmware versions preset by the system to verify whether the burning device supports the data to be burned. At the same time, the system can detect whether the firmware of the burning device supports the functions required by the current burning program by sending specific test instructions, that is, whether the burning device can normally run the data to be burned. For example, check whether the firmware supports a specific burning protocol or data transmission mode.

[0106] When any one of the verification conditions is recognized as not being met, it means that the burning device does not meet the burning conditions for the data to be burned. When all the verification conditions are successfully verified, the system controls the host computer to send test data packets to the burning device at multiple burning baud rates. The burning device generates test response data (including burning speed and transmission delay) for each burning baud rate based on the received test data packets and feeds them back to the host computer. The host computer selects an appropriate burning baud rate according to the received test response data to burn the data to be burned.

[0107] According to the embodiment of the present invention, splitting the data to be burned into multiple burning data frames and encrypting and sending each burning data frame to the burning device in sequence includes:

[0108] The host computer adds a serial number to each burning data frame and encrypts it with the first secret key to determine multiple encrypted data frames, and sequentially sends each encrypted data frame to the burning device;

[0109] The burning device decrypts the received encrypted data frame with the second secret key to obtain the decrypted data frame;

[0110] The burning device generates a signature based on the decrypted data frame and generates feedback data in combination with the response data and sends it to the host computer; the response data includes burning speed and transmission delay.

[0111] It should be noted that the host computer adds a unique serial number to each programming data frame, and the serial number is generated according to a preset rule (such as incrementing the serial number in the splitting order). During the programming process, in order to ensure the data transmission security of the data to be programmed, the data programming is carried out by means of encrypted transmission. For example, the asymmetric encryption method is used to encrypt the programming data frame. The public key of the programming device is determined as the first secret key and sent to the host computer for encrypting the programming data frame. The private key of the programming device is determined as the second secret key for decrypting the encrypted data frame. The programming device extracts partial byte data from the decrypted data frame according to the system preset signature extraction rule to generate a signature, combines response data such as the programming speed and transmission delay of the data frame to generate feedback data, and sends the feedback data to the host computer.

[0112] Figure 3 The flowchart of the method for adjusting the programming baud rate of the next programming data frame according to the feedback data provided by the present invention is shown.

[0113] As Figure 3 shown, according to an embodiment of the present invention, during the programming process, receiving the feedback data of the current programming data frame and adjusting the programming baud rate of the next programming data frame according to the feedback data includes:

[0114] S302. The host computer extracts the signature from the feedback data, verifies the signature. When the signature matches the current encrypted data frame, send the next encrypted data frame; otherwise, resend the current encrypted data frame and record the cumulative transmission times of the current encrypted data frame;

[0115] S304. When the cumulative transmission times of the current encrypted data frame is greater than the first preset transmission times threshold, calculate the first influence score of the current encrypted data frame according to the response data and the cumulative transmission times of the current encrypted data frame;

[0116] S306. Accumulate the first influence scores of all the encrypted data frames of the data to be programmed to determine the first warning score;

[0117] S308. When the first warning score is greater than the preset warning score threshold, determine that the programming fails and give a warning reminder;

[0118] S310. When the cumulative transmission times of the current encrypted data frame is greater than the second preset transmission times threshold, determine that the programming fails and give a warning reminder;

[0119] S312. The host computer extracts the response data from the feedback data and adjusts the programming baud rate of the next data frame to be sent according to the response data; the next data frame to be sent includes the current encrypted data frame and the next encrypted data frame.

[0120] It should be noted that the host computer extracts partial byte data from the programmed data frame corresponding to the current encrypted data frame according to the system preset signature extraction rule, and compares it with the received signature. When the two are consistent, it is determined that the current encrypted data frame is successfully sent, and the next encrypted data frame is sent; otherwise, the current encrypted data frame is resent. The first warning score is determined by multiplying the programming speed, transmission delay, and cumulative transmission times of the response data each time the current encrypted data frame is sent by the corresponding influence weights and accumulating the calculation results. The first warning score of each encrypted data frame will be updated according to its cumulative transmission times. Among them, the influence weights of the programming speed, transmission delay, and cumulative transmission times are all set by the system. The first preset transmission times threshold, the second preset transmission times threshold, and the preset warning score threshold are set by those skilled in the art according to actual needs. The second preset transmission times threshold is greater than the first preset transmission times threshold.

[0121] In addition, the host computer calculates the response score of the current encrypted data frame according to the system preset response score calculation rule, predicts the predicted response score of the next transmitted data frame, calculates the response score change rate, and adjusts the programming baud rate of the next transmitted data frame. Among them, when the current encrypted data frame is successfully sent, the next transmitted data frame is the next encrypted data frame; when the current encrypted data frame is sent failed, the next transmitted data frame is the current encrypted data frame.

[0122] According to the embodiment of the present invention, adjusting the programming baud rate of the next transmitted data frame according to the response data includes:

[0123] Compare the transmission delay T (n) with the preset maximum transmission delay T max and the preset minimum transmission delay T min respectively to determine the delay score P T(n) ;

[0124] Calculate the response score Q T(n) according to the delay score P (n) and the programming speed v (n) ;

[0125] ;

[0126] wherein, v0 is the historical average programming speed at the current programming baud rate, t r(n) is the cumulative transmission times of the current encrypted data frame n, and k1 and k2 are system preset influence coefficients;

[0127] Draw a response score change curve according to the response score Q (n) to predict the predicted response score Q' (n+1) of the next transmitted data frame;

[0128] Determine the response score Q of the previous transmitted data frame through the response score change curve (n-1) , combine with the response score Q (n) and the predicted response score Q' (n+1) Calculate the response score change rate P Q(n+1) ;

[0129] ;

[0130] Compare the response score change rate P Q(n+1) with the first preset response score change rate threshold P Q(max) and the second preset response score change rate threshold P Q(min) respectively;

[0131] When P Q(n+1) ≥P Q(max) , increase the programming baud rate of the next transmitted data frame by one level;

[0132] When P Q(n+1) <P Q(min) , decrease the programming baud rate of the next transmitted data frame by one level;

[0133] When P Q(min) ≤P Q(n+1) <P Q(max) , make no adjustment.

[0134] It should be noted that first, calculate the delay score P of the current encrypted data frame n through the transmission delay T (n) , calculate the historical average programming speed v0 through the historical programming speeds of the encrypted data frames that are normally programmed at the current programming baud rate within the system preset time interval, and combine with the cumulative transmission times t T(n) of the current encrypted data frame n to calculate the response score Q r(n) of the current encrypted data frame n. Continue to draw the response score change curve according to the response score Q (n) , and analyze based on the ratio of the response score Q (n) of the current encrypted data frame n and the predicted response score Q' (n) of the current encrypted data frame n, and determine the predicted response score Q' (n) of the next transmitted data frame. Calculate the response score change rate P (n+1) , and compare the response score change rate P Q(n+1) with the first preset response score change rate threshold P Q(n+1) and the second preset response score change rate threshold P Q(max) and the second preset response score change rate threshold P Q(min) respectively to adjust the programming baud rate of the next transmitted data frame.

[0135] In addition, after adjusting the programming baud rate of the next data frame to be sent, calculate the variance of the response scores of m consecutive data frames. When the variance is less than the system preset variance threshold, continue to use the adjusted programming baud rate for data transmission; otherwise, callback to the programming baud rate before adjustment for data transmission.

[0136] According to an embodiment of the present invention, the transmission delay T (n) is respectively compared with the preset maximum transmission delay T max and the preset minimum transmission delay T min to determine the delay score P T(n) , including:

[0137] When T min < T (n) ≤ T max , ;

[0138] When T (n) ≤ T min , ;

[0139] When T (n) > T max , ;

[0140] where k p is the influence coefficient of the delay score.

[0141] It should be noted that the system will select the corresponding delay score calculation formula according to the magnitude relationship between the transmission delay T (n) and the preset maximum transmission delay T max and the preset minimum transmission delay T min to calculate the delay score P T(n) of the current encrypted data frame n.

[0142] According to an embodiment of the present invention, after programming is completed, perform a programming verification on the programming device to determine the programming status of the data to be programmed, including:

[0143] After programming is completed, extract the programming data frames from all decrypted data frames and integrate them to obtain the programming data to be verified;

[0144] Perform an integrity verification on the programming data to be verified;

[0145] When the verification is successful, determine that the programming is completed;

[0146] Otherwise, determine that the programming fails and give a warning reminder.

[0147] It should be noted that the programming data frames in all decrypted data frames are integrated according to the serial numbers to obtain the programming data to be verified. The programming data to be verified is simulated and run. When all functions run successfully, it is determined that the integrity verification of the programming data to be verified is successful.

[0148] Figure 4 The block diagram of a programming management system for a programming host computer provided by the present invention is shown.

[0149] As Figure 4 shown, the second aspect of the present invention provides a programming management system for a programming host computer, including:

[0150] A data acquisition module, configured to acquire programming request data; the programming request data includes user identity information of a programming applicant and data to be programmed;

[0151] A user identity verification module, configured to perform user identity verification according to the user identity information of the programming applicant;

[0152] A programming permission verification module, configured to perform programming permission verification on the data to be programmed after the user identity verification is successful;

[0153] A data programming module, configured to perform programming work on the data to be programmed when the data to be programmed meets the programming permission, divide the data to be programmed into multiple programming data frames, encrypt each programming data frame in sequence and send it to the programming device;

[0154] A programming parameter adjustment module, configured to receive feedback data of the current programming data frame during the programming process, perform programming verification on the current programming data frame according to the feedback data, and adjust the programming baud rate of the next programming data frame;

[0155] A programming verification module, configured to perform programming verification on the programming device after the programming is completed to determine the programming status of the data to be programmed.

[0156] The third aspect of the present invention provides a computer-readable storage medium. The computer-readable storage medium includes a program for a programming management method of a programming host computer. When the program for the programming management method of the programming host computer is executed by a processor, the steps of the programming management method of the programming host computer as described above are implemented.

[0157] The information involved in this application (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals (including but not limited to signals transmitted between user terminals and other devices, etc.) are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards of relevant countries and regions. For example, the "burning request data", "feedback data of the burned data frame", etc. involved in this disclosure are all obtained under full authorization.

[0158] The present invention discloses a burning management method and system for a burning host computer. The method includes: performing user identity verification according to the user identity information of the burning applicant; when the user identity verification is successful, performing burning permission verification on the data to be burned; when the data to be burned meets the burning permission, performing burning work on the data to be burned, splitting the data to be burned into multiple burned data frames, encrypting each burned data frame in sequence and sending it to the burning device; during the burning process, receiving the feedback data of the current burned data frame, performing burning verification on the current burned data frame according to the feedback data, and adjusting the burning baud rate of the next burned data frame; when the burning is completed, performing burning verification on the burning device to determine the burning status of the data to be burned. The present invention improves the burning efficiency and accuracy through an automated and intelligent burning process, and adjusts the burning parameters according to the burning situation to ensure the burning stability and burning speed during the burning process.

[0159] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed with each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical, or other forms.

[0160] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0161] In addition, each functional unit in the embodiments of the present invention may be entirely integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the above integrated units may be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.

[0162] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the aforementioned storage medium includes: removable storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks and other various media that can store program codes.

[0163] Alternatively, if the above integrated units of the present invention are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present invention. And the aforementioned storage medium includes: removable storage devices, ROM, RAM, magnetic disks, or optical disks and other various media that can store program codes.

Claims

1. A burning management method for a burning host computer, characterized in that, Including: Obtain programming request data; The programming request data includes the user identity information of the programming applicant and the data to be programmed; Perform user identity verification according to the user identity information of the programming applicant; When the user identity verification is successful, perform programming permission verification on the data to be programmed; When the data to be programmed meets the programming permission, perform programming work on the data to be programmed, split the data to be programmed into multiple programming data frames, encrypt each programming data frame in sequence and send it to the programming device; During the programming process, receive the feedback data of the current programming data frame, perform programming verification on the current programming data frame according to the feedback data, and adjust the programming baud rate of the next programming data frame; When the programming is completed, perform programming verification on the programming device to determine the programming status of the data to be programmed; It also includes that the host computer extracts response data from the feedback data and adjusts the programming baud rate of the next transmission data frame according to the response data: The response data includes the programming speed and transmission delay, and the next transmission data frame includes the current encrypted data frame and the next encrypted data frame; The transmission delay T (n) is respectively compared with the preset maximum transmission delay T max and the preset minimum transmission delay T min to determine the delay score P T(n) ; According to the latency score P T(n) and the burning speed v (n) calculate the response score Q (n) ; Among them, v0 is the historical average programming speed at the current wave programming baud rate, and t r(n) is the cumulative transmission times of the current encrypted data frame n, and k1 and k2 are system preset influence coefficients; According to the response score Q (n) Plot the response score change curve to predict the predicted response score Q' of the next transmitted data frame (n+1) ; Determine the response score Q of the previous transmitted data frame based on the response score change curve (n-1) , in combination with the response score Q (n) and the predicted response score Q' (n+1) Calculate the response score change rate P Q(n+1) ; Compare the response score change rate P Q(n+1) with a first preset response score change rate threshold P Q(max) and a second preset response score change rate threshold P Q(min) respectively; When P Q(n+1) ≥ P Q(max) , increase the programming baud rate of the next transmitted data frame by one level; When P Q(n+1) <P Q(min) When this occurs, the programming baud rate of the next transmitted data frame is adjusted downward by one level; When P Q(min) ≤ P Q(n+1) < P Q(max) No adjustment is made.

2. The burning management method of the burning host computer according to claim 1, wherein The performing user identity verification according to the user identity information of the programming applicant includes: Obtain user identity information; Filter the identity registration information in the database according to the user identity information; When there is identity registration information that matches the user identity information, the user identity verification is successful; Otherwise, the verification fails.

3. The programming management method of the programming host computer according to claim 1, wherein The performing programming permission verification on the data to be programmed includes: Obtain the list of bound programming data according to the user identity information; Judge whether there is data to be programmed in the list of bound programming data; If so, the data to be programmed meets the programming permission; Otherwise, it does not meet the programming permission and data programming is prohibited; Update the remaining programming times of the bound programming data that matches the data to be programmed in the list of bound programming data according to the data to be programmed.

4. The burning management method of the burning host computer according to claim 1, characterized in that It also includes: Before the programming starts, verify whether the programming device supports the data to be programmed, whether the programming device can run the data to be programmed normally, and whether the programming device is normally connected to the host computer; When the programming device supports the data to be programmed, the programming device can run the data to be programmed normally, and the programming device is normally connected to the host computer, send a test data packet to the programming device through the host computer, and receive the test response data fed back by the programming device; Adjust the programming baud rate according to the test response data.

5. The programming management method of the programming host computer according to claim 1, characterized in that The splitting the data to be programmed into multiple programming data frames, encrypting each programming data frame in sequence and sending it to the programming device includes: The host computer adds a serial number to each programming data frame, encrypts it with the first secret key to determine multiple encrypted data frames, and sends each encrypted data frame to the programming device in sequence; The programming device decrypts the received encrypted data frame with the second secret key to obtain the decrypted data frame; The programming device generates a feature code according to the decrypted data frame, combines the response data to generate feedback data and sends it to the host computer.

6. The programming management method of the programming host computer according to claim 5, characterized in that, The receiving the feedback data of the current programming data frame during the programming process and adjusting the programming baud rate of the next programming data frame according to the feedback data includes: The host computer extracts the feature code from the feedback data and verifies the feature code. When the feature code matches the current encrypted data frame, it sends the next encrypted data frame; otherwise, it resends the current encrypted data frame and records the cumulative transmission times of the current encrypted data frame. When the cumulative transmission times of the current encrypted data frame is greater than the first preset transmission times threshold, calculate the first influence score of the current encrypted data frame according to the response data and the cumulative transmission times of the current encrypted data frame. Accumulate the first influence scores of all the encrypted data frames of the data to be burned to determine the first warning score. When the first warning score is greater than the preset warning score threshold, determine that the burning is failed and give a warning reminder. When the cumulative transmission times of the current encrypted data frame is greater than the second preset transmission times threshold, determine that the burning is failed and give a warning reminder.

7. The programming management method of the programming host computer according to claim 1, characterized in that, The transmission delay T (n) is respectively compared with a preset maximum transmission delay T max and a preset minimum transmission delay T min to determine a delay score P T(n) , including: When T min <T (n) ≤T max when P T(n) =1; When T (n) ≤ T min , When T (n) > T max , where k p is the influence coefficient of the delay score.

8. The programming management method of the programming host computer according to claim 1, wherein After the burning is completed, perform a burning verification on the burning device to determine the burning status of the data to be burned, including: After the burning is completed, extract and integrate the burned data frames from all the decrypted data frames to obtain the data to be verified for burning. Perform an integrity verification on the data to be verified for burning. When the verification is successful, determine that the burning is completed. Otherwise, determine that the burning is failed and give a warning reminder.

9. A burning management system for a burning host computer, which is used to implement the burning management method of the burning host computer according to any one of claims 1-8, and is characterized in that, Including: A data acquisition module for acquiring the burning request data; the burning request data includes the user identity information of the burning applicant and the data to be burned. A user identity verification module for verifying the user identity according to the user identity information of the burning applicant. A burning permission verification module for verifying the burning permission of the data to be burned when the user identity verification is successful. A data burning module for performing the burning work on the data to be burned when the data to be burned meets the burning permission, splitting the data to be burned into multiple burned data frames, encrypting and sending each burned data frame to the burning device in sequence. A burning parameter adjustment module for receiving the feedback data of the current burned data frame during the burning process, performing a burning verification on the current burned data frame according to the feedback data and adjusting the burning baud rate of the next burned data frame. A burning verification module for performing a burning verification on the burning device after the burning is completed to determine the burning status of the data to be burned. It also includes that the host computer extracts the response data from the feedback data and adjusts the burning baud rate of the next transmitted data frame according to the response data. The response data includes the burning speed and the transmission delay, and the next transmitted data frame includes the current encrypted data frame and the next encrypted data frame. The transmission delay T (n) is respectively compared with a preset maximum transmission delay T max and a preset minimum transmission delay T min to determine a delay score P T(n) ; According to the latency score P T(n) and the burning speed v (n) calculate the response score Q (n) ; Among them, v0 is the historical average programming speed at the current wave programming baud rate, and t r(n) is the cumulative transmission times of the current encrypted data frame n, and k1 and k2 are system preset influence coefficients; According to the response score Q (n) Plot the response score change curve to predict the predicted response score Q' of the next transmitted data frame (n+1) ; Determine the response score Q of the previous transmitted data frame based on the response score change curve (n-1) , in combination with the response score Q (n) and the predicted response score Q' (n+1) Calculate the response score change rate P Q(n+1) ; Compare the response score change rate P Q(n+1) with a first preset response score change rate threshold P Q(max) and a second preset response score change rate threshold P Q(min) respectively; When P Q(n+1) ≥ P Q(max) is true, increase the programming baud rate of the next transmitted data frame by one level; When P Q(n+1) <P Q(min) When this occurs, the programming baud rate of the next data frame to be transmitted is adjusted down one level. When P Q(min) ≤ P Q(n+1) <P Q(max) No adjustment is made.

Citation Information

Patent Citations

  • Software burning method and device

    CN109976767A

  • Processing systems, related integrated circuits, systems, and methods

    CN117251398A

  • File burning method and device, equipment and storage medium

    CN117632166A