Burning management method and system for burning upper computer
By using the burning management method and system of the burning computer in the electronic equipment manufacturing process, and the automation and intelligent burning process are solved, the problems of cumbersome and slow burning of firmware in the existing technology are improved, and the burning efficiency and accuracy are improved, and the reliability and stability of the equipment are improved.
Patent Information
- Application Number
- CN202510444133.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-10
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-04-10
AI Technical Summary
In the manufacturing process of existing electronic equipment, firmware recording is complicated and slow, and there are problems such as long burning time, low efficiency, complex data verification and error-prone, especially in large-scale production environments, which seriously affect production progress and product quality.
It provides a burn management method and system for writing and upper computers. Through automated and intelligent burning processes, including user identity verification, burning permission verification, data segmentation and encryption transmission, feedback data adjustment baud rate, burning verification and other steps, it significantly reduces the cumbersomeness and error proneness of manual operations.
It improves the efficiency and accuracy of the burning process, ensures the accuracy and integrity of the burning program, improves the reliability and stability of the equipment, and adjusts the burning parameters according to the burning situation to ensure the stability and speed of the burning process.
Smart Images

Figure CN119938107A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of firmware burning of electronic equipment, and more specifically, to a burning management method and system for burning a host computer. Background Art
[0002] Firmware burning is an indispensable part of the electronic equipment manufacturing process. At present, the low-level burning of electronic equipment manufacturing can only be done manually by searching for files and entering various input commands, which is relatively cumbersome and slow. There are often problems such as long burning 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, the prior art has defects and is in urgent need of improvement. Summary of the invention
[0004] In view of the above problems, the purpose of the present invention is to provide a burning management method and system for burning a host computer, which significantly reduces the tediousness and error-proneness of manual operation through an automated and intelligent burning process, and improves the burning efficiency and accuracy. Through pre-burning inspection and integrity verification, the correctness and integrity of the burning program are ensured, thereby improving the reliability and stability of the equipment. The burning parameters are adjusted according to the burning situation to ensure the burning stability and burning speed of the burning process.
[0005] The first aspect of the present invention provides a method for managing the burning of a host computer, comprising: Obtaining burning request data; the burning request data includes user identity information of the burning applicant and data to be burned; Performing user identity verification based on the user identity information of the burning applicant; When the user identity verification is successful, the burning authority of the data to be burned is verified; When the data to be burned meets the burning authority, the data to be burned is burned, the data to be burned is divided into a plurality of burning data frames, each burning data frame is encrypted in turn and sent to the burning device; During the burning process, feedback data of the current burning data frame is received, and the burning verification of the current burning data frame is performed according to the feedback data, and the burning baud rate of the next burning data frame is adjusted; After the burning is completed, the burning device is verified to determine the burning status of the data to be burned.
[0006] In this solution, the user identity verification is performed according to the user identity information of the burning applicant, including: Obtain user identity information; Screening 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 authentication is successful; Otherwise, the verification fails.
[0007] In this solution, the verification of the burning authority of the data to be burned includes: Acquire a list of bound burning data according to the user identity information; Determine whether the list of the binding burning data contains data to be burned; If yes, the data to be burned meets the burning authority; Otherwise, the burning permission is not met and data burning is prohibited; The remaining number of burning times of the matching binding burning data in the list of binding burning data is updated according to the data to be burned.
[0008] This plan also includes: Before starting to burn, verify whether the burning device supports the data to be burned, verify whether the burning device can normally burn the data to be burned, and verify whether the burning device is normally connected to the host computer; When the burning device supports the data to be burned, the burning device can normally run the data to be burned, and the burning device is normally connected to the host computer, the host computer sends a test data packet to the burning device, and receives the test response data fed back by the burning device; The programming baud rate is adjusted according to the test response data.
[0009] In this solution, the data to be burned is divided into a plurality of burning data frames, and each burning data frame is encrypted in turn and sent to the burning device, including: The host computer adds a serial number to each burning data frame, encrypts it using the first secret key, determines a plurality of encrypted data frames, and sends each encrypted data frame to the burning device in sequence; The burning device decrypts the received encrypted data frame using the second secret key to obtain a decrypted data frame; The burning device generates a feature code according to the decrypted data frame, generates feedback data in combination with the response data and sends the feedback data to the host computer; the response data includes the burning speed and the transmission delay.
[0010] In this solution, during the burning process, feedback data of the current burning data frame is received, and the burning baud rate of the next burning data frame is adjusted according to the feedback data, including: 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 number of times the current encrypted data frame is sent is recorded; When the cumulative number of transmissions of the current encrypted data frame is greater than a first preset transmission number threshold, calculating a first impact score of the current encrypted data frame according to the response data and the cumulative number of transmissions of the current encrypted data frame; The first impact scores of all encrypted data frames of the data to be burned are accumulated to determine a first warning score; When the first warning score is greater than a preset warning score threshold, it is determined that the burning has failed, and a warning reminder is issued; When the cumulative number of transmissions of the current encrypted data frame is greater than the second preset transmission number threshold, it is determined that the burning has failed, and an early warning reminder is issued; The host computer extracts response data from the feedback data, and adjusts the burning baud rate of the next transmitted data frame according to the response data; the next transmitted data frame includes the current encrypted data frame and the next encrypted data frame.
[0011] In this solution, adjusting the burning baud rate of the next transmitted data frame according to the response data includes: Delay the transmission time T (n) Respectively with the preset maximum transmission delay T max and preset minimum transmission delay T min Compare and determine the delay score P T(n) ; According to the delay score P T(n) And burning speed v (n) Calculate the response score Q (n) ; ; Among them, v0 is the historical average burning speed under the current wave burning baud rate, t r(n) is the cumulative number of times the current encrypted data frame n is sent, k1 and k2 are the system preset influence coefficients; According to the response score Q (n) Draw the response score change curve and predict the predicted response score Q' of the next sent data frame (n+1) ; Determine the response score Q of the last sent 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) ; ; The response score change rate P Q(n+1) respectively with the first preset response score change rate threshold P Q(max) and a second preset response score change rate threshold P Q(min) Make a comparison; When P Q(n+1) ≥P Q(max) When the baud rate of the next transmitted data frame is adjusted upward by one level; When P Q(n+1) <P Q(min) When the 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 adjustments are made.
[0012] In this solution, the transmission delay T (n) Respectively with the preset maximum transmission delay T max and preset minimum transmission delay T min Compare and determine the delay score P T(n) ,include: When T min <T (n) ≤T max hour, ; When T (n) ≤T min hour, ; When T (n) >T max hour, ; Among them, k p is the influence coefficient of the delay score.
[0013] In this solution, after the burning is completed, the burning device is verified to determine the burning status of the data to be burned, including: When the burning is completed, the burning data frames in all the decrypted data frames are extracted and integrated to obtain the burning data to be verified; Performing integrity verification on the burning data to be verified; When the verification is successful, it is determined that the burning is completed; Otherwise, it is determined that the burning has failed and an early warning reminder is issued.
[0014] A second aspect of the present invention provides a burning management system for burning a host computer, comprising: A data acquisition module, used to acquire 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 authentication module, used to perform user identity authentication according to the user identity information of the burning applicant; A burning authority verification module is used to verify the burning authority of the data to be burned after the user identity verification succeeds; A data burning module, used for burning the data to be burned when the data to be burned meets the burning authority, dividing the data to be burned into a plurality of burning data frames, encrypting each burning data frame in turn and sending them to the burning device; The burning parameter adjustment module is used to receive feedback data of the current burning data frame during the burning process, perform burning verification on the current burning data frame according to the feedback data, and adjust the burning baud rate of the next burning data frame; The burning verification module is used to perform burning verification on the burning device after the burning is completed, and determine the burning status of the data to be burned.
[0015] The third aspect of the present invention provides a computer-readable storage medium, which includes a burning management method program for burning a host computer. When the burning management method program for burning a host computer is executed by a processor, the steps of the burning management method for burning a host computer as described above are implemented.
[0016] The invention discloses a burning management method and system for a burning host computer, the method comprising: performing user identity authentication according to user identity information of a burning applicant; when the user identity authentication is successful, performing burning authority verification on the data to be burned; when the data to be burned meets the burning authority, burning the data to be burned, dividing the data to be burned into multiple burning data frames, encrypting each burning data frame in turn and sending it to a burning device; during the burning process, receiving 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 state of the data to be burned. The invention improves the burning efficiency and accuracy through an automated and intelligent burning process. The burning parameters are adjusted according to the burning situation to ensure the burning stability and burning speed of the burning process. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A flow chart of a method for managing the burning of a host computer provided by the present invention is shown; Figure 2 A flow chart showing a method for user identity authentication provided by the present invention is shown; Figure 3 A flow chart of a method for adjusting the burning baud rate of the next burning data frame according to feedback data provided by the present invention is shown; Figure 4A block diagram of a burning management system for a burning host computer provided by the present invention is shown. DETAILED DESCRIPTION
[0018] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0019] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0020] Figure 1 The flowchart of a burning management method of a burning host computer provided by the present invention is shown.
[0021] like Figure 1 As shown, the present invention discloses a burning management method for burning a host computer, comprising: S102, obtaining burning request data; the burning request data includes the user identity information of the burning applicant and the data to be burned; S104, performing user identity authentication according to the user identity information of the burning applicant; S106, when the user identity verification is successful, the burning authority verification is performed on the burning data; S108, when the data to be burned meets the burning authority, the burning operation is performed on the data to be burned, the data to be burned is divided into a plurality of burning data frames, each burning data frame is encrypted in turn and sent to the burning device; S110, during the burning process, receiving 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; S112, when the burning is completed, the burning device is verified to determine the burning status of the data to be burned.
[0022] According to an embodiment of the present invention, firstly, user identity authentication is performed through the burning request data uploaded by the user, and the user identity information is matched with the identity registration information in the database. When there is identity registration information matching the user identity information, the user identity authentication is successful. According to the user identity information, a list list of binding burning data is obtained. When there is data to be burned in the list list of binding burning data, the data to be burned meets the burning authority. Before the burning starts, the system starts the intelligent inspection program before burning to conduct a comprehensive inspection of the burning device and related hardware through a series of automated detection processes. When the verification condition of the burning device is successfully verified, the host computer is controlled to send a test data packet to the burning device, and the burning baud rate is adjusted according to the received test response data, the initial burning baud rate is determined, and data burning is performed. According to the system preset data size or byte length, the data to be burned is divided into multiple burning data frames, a sequence number is added to each burning data frame, and each burning data frame is encrypted by asymmetric encryption, and transmitted in sequence according to the sequence number order. The burning device decrypts the received encrypted data frame, generates a feature code through the decoded data frame, generates feedback data based on the burning speed and transmission delay during the data transmission process, and sends the feedback data to the host computer. The host computer extracts the feature code from the feedback data and verifies the feature code. According to the verification result, it sends the next encrypted data frame or resends the current encrypted data frame. It records the cumulative number of times the current encrypted data frame is sent to determine whether there is a burning risk. If there is a burning risk, it is determined to be a burning failure and an early warning reminder is issued.
[0023] During the burning process, feedback data of the current burning data frame is received, and response data is extracted from the feedback data. The response data includes transmission delay and burning speed. The delay score is calculated by the transmission delay, and the response score is calculated in combination with the burning speed. The response score change curve is drawn according to the response score, and the predicted response score of the next sent 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, and the burning baud rate of the next sent data frame is adjusted. When the burning is completed, the data frames received by the burning device are integrated according to the sequence number to obtain the burning data to be verified, and the burning data to be verified is simulated and run to determine whether the burning data to be verified is completely burned, so as to judge whether the burning of the data to be burned is completed.
[0024] The system will generate multiple burning baud rates that meet the burning requirements according to the data identifier of the data to be burned and the firmware version information of the burning device, for example, 200KHz, 500KHz, 1MHz, 2MHz, 5MHz, 10MHz, 20MHz, 25MHz, 33MHz, 50MHz, etc.
[0025] Figure 2 The flowchart of the user identity authentication method provided by the present invention is shown.
[0026] like Figure 2 As shown, according to an embodiment of the present invention, user identity verification is performed according to the user identity information of the burning applicant, including: S202, obtaining user identity information; S204, screening the identity registration information in the database according to the user identity information; S206, when there is identity registration information that matches the user identity information, the user identity authentication is successful; S208, otherwise, the verification fails.
[0027] It should be noted that user identity information includes, but is not limited to, identity identification numbers such as ID card number, passport number or other unique identification number, biometric information such as fingerprint, facial recognition data, iris scan data or voice recognition data, user setting information such as user name, password, answer to security question, and other auxiliary information such as mobile phone number and email address bound by the user. After receiving the user identity information entered by the burning applicant, the system starts the screening program and retrieves the identity registration information related to the user identity information entered by the burning applicant from the database. If there is identity registration information in the database that completely matches the user identity information, the system determines that the user identity authentication is successful. At this time, the system will send a notification of successful verification to the preset terminal (such as a mobile phone, display, etc.) and allow the user to enter the corresponding service or system. If there is no identity registration information in the database that completely matches the user identity information, or the user identity information entered by the burning applicant is wrong or incomplete, the system will determine that the user identity authentication has failed. At this time, the system will send a notification of verification failure to the preset terminal and prompt the user to check whether the input information is correct, or try other verification methods (such as SMS verification code, customer service consultation, etc.).
[0028] According to an embodiment of the present invention, the burning authority verification of the data to be burned includes: Get the list of bound burning data according to user identity information; Determine whether there is data to be burned in the list of bound burning data; If so, the data to be burned meets the burning authority; Otherwise, the burning permission is not met and data burning is prohibited; The remaining number of burning times of the matching bound burning data in the list of bound burning data is updated according to the data to be burned.
[0029] It should be noted that when the user identity information is successfully verified, the system retrieves the list of burning data bound to the user from the database according to the user identity information. The list contains the following information: ① Burning data identification: a number or name used to uniquely identify the burning data. ② Burning authority: the user's operation authority for the burning data, such as "burnable" or "forbidden to burn". ③ Remaining number of burning times: the number of times the user is allowed to burn the burning data, and the initial value is set by the system or administrator. ④ Burning device information: hardware device information bound to the burning data, such as device model, serial number, etc. The system filters out the burning data that the current user has the burning authority and the remaining number of burning times is greater than zero from the list of burning data bound to the user, and determines whether there is data to be burned in the filtered list of data to be burned. If so, the data to be burned meets the burning authority, and the user is allowed to perform the burning operation; otherwise, the system prompts a prompt message of "forbidden to burn" through the preset terminal.
[0030] When the user starts the burning operation, the system finds the corresponding binding burning data according to the data identifier of the data to be burned, and updates the remaining burning times.
[0031] According to an embodiment of the present invention, it also includes: Before starting to burn, verify whether the burning device supports the data to be burned, verify whether the burning device can normally burn the data to be burned, and verify whether the burning device is normally connected to the host computer; When the burning device supports the data to be burned, the burning device can normally run the data to be burned, and the burning device is normally connected to the host computer, the host computer sends a test data packet to the burning device, and receives the test response data fed back by the burning device; Adjust the programming baud rate according to the test response data.
[0032] It should be noted that when the user is ready to perform the burning operation, the system first starts the intelligent inspection program before burning to conduct a comprehensive inspection of the burning device and related hardware through a series of automated detection processes. Through the device management interface (such as USB, serial port, network interface, etc.), it is detected whether the burning device has been correctly inserted and connected to the host computer, that is, 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 system preset compatible firmware version list 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 transmit the data to be burned. For example, check whether the firmware supports a specific burning protocol or data transmission mode.
[0033] When any verification condition fails to be recognized, it means that the burning device does not meet the burning conditions for the data to be burned. When all verification conditions are successfully verified, the system controls the host computer to send test data packets to the burning device through multiple burning baud rates. The burning device generates test response data (including burning speed and transmission delay) for each burning baud rate according to the received test data packets and feeds it back to the host computer. The host computer selects the appropriate burning baud rate to burn the data to be burned according to the received test response data.
[0034] According to an embodiment of the present invention, the data to be burned is divided into a plurality of burning data frames, and each burning data frame is encrypted in turn and sent to the burning device, including: The host computer adds a serial number to each burning data frame, encrypts it using the first secret key, determines a plurality of encrypted data frames, and sends each encrypted data frame to the burning device in sequence; The burning device decrypts the received encrypted data frame using the second secret key to obtain a decrypted data frame; The burning device generates a feature code according to the decrypted data frame, generates feedback data in combination with the response data and sends it to the host computer; the response data includes the burning speed and transmission delay.
[0035] It should be noted that the host computer adds a unique serial number to each burning data frame, and the serial number is generated according to a preset rule (such as increasing the serial number in the segmentation order). During the burning process, in order to ensure the data transmission security of the data to be burned, the data is burned by encrypted transmission. For example, the burning data frame is encrypted by asymmetric encryption, the public key of the burning device is determined as the first secret key, and sent to the host computer for data encryption of the burning data frame, and the private key of the burning device is determined as the second secret key, which is used to decrypt the encrypted data frame. The burning device extracts part of the byte data from the decrypted data frame according to the system preset feature code extraction rules to generate a feature code, combines the response data such as the burning speed and transmission delay of the data frame to generate feedback data, and sends the feedback data to the host computer.
[0036] Figure 3 The flowchart of the method for adjusting the burning baud rate of the next burning data frame according to the feedback data provided by the present invention is shown.
[0037] like Figure 3 As shown, according to an embodiment of the present invention, during the programming process, 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: S302, the host computer extracts the feature code from the feedback data, verifies the feature code, and sends the next encrypted data frame when the feature code matches the current encrypted data frame; otherwise, resends the current encrypted data frame and records the cumulative number of times the current encrypted data frame has been sent; S304, when the cumulative number of transmissions of the current encrypted data frame is greater than a first preset transmission number threshold, calculating a first impact score of the current encrypted data frame according to the response data and the cumulative number of transmissions of the current encrypted data frame; S306, accumulating the first impact scores of all encrypted data frames of the data to be burned to determine a first warning score; S308, when the first warning score is greater than a preset warning score threshold, it is determined that the burning fails and a warning reminder is issued; S310, when the cumulative number of transmissions of the current encrypted data frame is greater than the second preset transmission number threshold, it is determined that the burning has failed, and an early warning reminder is issued; S312, the host computer extracts response data from the feedback data, and adjusts the burning baud rate of the next transmitted data frame according to the response data; the next transmitted data frame includes the current encrypted data frame and the next encrypted data frame.
[0038] It should be noted that the host computer extracts part of the byte data from the burning data frame corresponding to the current encrypted data frame according to the system preset feature code extraction rules, and compares it with the received feature code. When the two are consistent, it is determined that the current encrypted data frame is sent successfully, 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 burning speed and transmission delay of the response data each time the current encrypted data frame is sent, and the cumulative number of transmissions 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 number of transmissions. Among them, the influence weights of the burning speed, transmission delay and cumulative number of transmissions are all set by the system, and the first preset number of transmissions threshold, the second preset number of transmissions threshold and the preset warning score threshold are set by personnel in this field according to actual needs, and the second preset number of transmissions threshold is greater than the first preset number of transmissions threshold.
[0039] In addition, the upper computer will calculate the response score of the current encrypted data frame according to the system preset response score calculation rules, predict the predicted response score of the next sent data frame, calculate the response score change rate, and adjust the burning baud rate of the next sent data frame. Among them, when the current encrypted data frame is sent successfully, the next sent data frame is the next encrypted data frame; when the current encrypted data frame fails to be sent, the next sent data frame is the current encrypted data frame.
[0040] According to an embodiment of the present invention, adjusting the burning baud rate of the next transmitted data frame according to the response data includes: The transmission delay T (n) Respectively with the preset maximum transmission delay T max and preset minimum transmission delay T minCompare and determine the delay score P T(n) ; According to the delay score P T(n) And burning speed v (n) Calculate the response score Q (n) ; ;
[0041] Among them, v0 is the historical average burning speed under the current wave burning baud rate, t r(n) is the cumulative number of times the current encrypted data frame n is sent, k1 and k2 are the system preset influence coefficients; Based on the response score Q (n) Draw the response score change curve and predict the predicted response score Q' of the next sent data frame (n+1) ; Determine the response score Q of the last sent 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) ; ; The response score change rate P Q(n+1) respectively with the first preset response score change rate threshold P Q(max) and a second preset response score change rate threshold P Q(min) Make a comparison; When P Q(n+1) ≥P Q(max) When the baud rate of the next transmitted data frame is adjusted upward by one level; When P Q(n+1) <P Q(min) When the 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 adjustments are made.
[0042] It should be noted that, first of all, through the transmission delay T (n) Calculate the delay score P of the current encrypted data frame n T(n) , calculate the historical average burning speed v0 through the historical burning speed of the encrypted data frame normally burned at the current wave burning baud rate within the system preset time interval, combined with the cumulative number of transmissions t of the current encrypted data frame n r(n) Calculate the response score Q of the current encrypted data frame n (n) . Based on the response score Q (n) Continue to draw the response score change curve, and according to the response score Q of the current encrypted data frame n(n) and the predicted response score Q' of the current encrypted data frame n (n) The predicted response score Q' of the next sent data frame is determined by analyzing the response score change curve. (n+1) . Calculate the response score change rate P Q(n+1) , and compare the response score change rate P Q(n+1) and the first preset response score change rate threshold P Q(max) and a second preset response score change rate threshold P Q(min) The size relationship is based on which the baud rate of the next data frame to be sent is adjusted.
[0043] In addition, after adjusting the burning baud rate of the next sent data frame, 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 burning baud rate for data transmission; otherwise, call back to the burning baud rate before adjustment for data transmission.
[0044] According to an embodiment of the present invention, the transmission delay T (n) Respectively with the preset maximum transmission delay T max and preset minimum transmission delay T min Compare and determine the delay score P T(n) ,include: When T min <T (n) ≤T max hour, ; When T (n) ≤T min hour, ; When T (n) >T max hour, ; Among them, k p is the influence coefficient of the delay score.
[0045] It should be noted that the system will (n) With the preset maximum transmission delay T max and preset minimum transmission delay T min The corresponding delay score calculation formula is selected to calculate the delay score P of the current encrypted data frame n. T(n) .
[0046] According to an embodiment of the present invention, after the burning is completed, the burning device is verified to determine the burning status of the data to be burned, including: When the burning is completed, the burning data frames in all the decrypted data frames are extracted and integrated to obtain the burning data to be verified; Perform integrity verification on the data to be verified; When the verification is successful, it is determined that the burning is completed; Otherwise, it is determined that the burning has failed and an early warning reminder is issued.
[0047] It should be noted that the burning data frames in all the decrypted data frames are integrated according to the sequence numbers to obtain the burning data to be verified, and the burning data to be verified is simulated and run. When all functions are run successfully, it is determined that the integrity verification of the burning data to be verified is successful.
[0048] Figure 4 A block diagram of a burning management system for a burning host computer provided by the present invention is shown.
[0049] like Figure 4 As shown, the second aspect of the present invention provides a burning management system for burning a host computer, comprising: The data acquisition module is used to acquire 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 authentication module is used to perform user identity authentication based on the user identity information of the burning applicant; The burning permission verification module is used to verify the burning permission of the burning data after the user identity verification succeeds; The data burning module is used for burning the data to be burned when the data to be burned meets the burning authority, dividing the data to be burned into multiple burning data frames, encrypting each burning data frame in turn and sending them to the burning device; The burning parameter adjustment module is used to receive feedback data of the current burning data frame during the burning process, perform burning verification on the current burning data frame according to the feedback data, and adjust the burning baud rate of the next burning data frame; The burning verification module is used to verify the burning device after the burning is completed to determine the burning status of the data to be burned.
[0050] The third aspect of the present invention provides a computer-readable storage medium, which includes a burning management method program for burning a host computer. When the burning management method program for burning a host computer is executed by a processor, the steps of the above-mentioned burning management method for burning a host computer are implemented.
[0051] The information (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.) involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the "burning request data" and "burning data frame feedback data" involved in this disclosure are all obtained with full authorization.
[0052] The invention discloses a burning management method and system for a burning host computer, the method comprising: performing user identity authentication according to user identity information of a burning applicant; when the user identity authentication is successful, performing burning authority verification on the data to be burned; when the data to be burned meets the burning authority, burning the data to be burned, dividing the data to be burned into multiple burning data frames, encrypting each burning data frame in turn and sending it to a burning device; during the burning process, receiving 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 state of the data to be burned. The invention improves the burning efficiency and accuracy through an automated and intelligent burning process. The burning parameters are adjusted according to the burning situation to ensure the burning stability and burning speed of the burning process.
[0053] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: 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 components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0054] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0055] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0056] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0057] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
Claims
1. A method for managing the burning of a host computer, characterized in that: include: Get the burning request data; The burning request data includes the user identity information of the burning applicant and the data to be burned; Performing user identity verification based on the user identity information of the burning applicant; When the user identity verification is successful, the burning authority of the data to be burned is verified; When the data to be burned meets the burning authority, the data to be burned is burned, the data to be burned is divided into a plurality of burning data frames, each burning data frame is encrypted in turn and sent to the burning device; During the burning process, feedback data of the current burning data frame is received, and the burning verification of the current burning data frame is performed according to the feedback data, and the burning baud rate of the next burning data frame is adjusted; After the burning is completed, the burning device is verified to determine the burning status of the data to be burned.
2. The method for managing the burning of a host computer according to claim 1, characterized in that: The performing of user identity authentication according to the user identity information of the burning applicant includes: Obtain user identity information; Screening 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 authentication is successful; Otherwise, the verification fails.
3. The method for managing the burning of a host computer according to claim 1, characterized in that: The verifying the burning authority of the data to be burned includes: Acquire a list of bound burning data according to the user identity information; Determine whether the list of the binding burning data contains data to be burned; If yes, the data to be burned meets the burning authority; Otherwise, the burning permission is not met and data burning is prohibited; The remaining number of burning times of the matching binding burning data in the list of binding burning data is updated according to the data to be burned.
4. The method for managing the burning of a host computer according to claim 1, characterized in that: Also includes: Before starting to burn, verify whether the burning device supports the data to be burned, verify whether the burning device can normally burn the data to be burned, and verify whether the burning device is normally connected to the host computer; When the burning device supports the data to be burned, the burning device can normally run the data to be burned, and the burning device is normally connected to the host computer, the host computer sends a test data packet to the burning device, and receives the test response data fed back by the burning device; The programming baud rate is adjusted according to the test response data.
5. The method for managing the burning of a host computer according to claim 1, characterized in that: The method of dividing the data to be burned into a plurality of burning data frames, encrypting each burning data frame in turn and sending the frames to the burning device comprises: The host computer adds a serial number to each burning data frame, encrypts it using the first secret key, determines a plurality of encrypted data frames, and sends each encrypted data frame to the burning device in sequence; The burning device decrypts the received encrypted data frame using the second secret key to obtain a decrypted data frame; The burning device generates a feature code according to the decrypted data frame, generates feedback data in combination with the response data and sends the feedback data to the host computer; the response data includes the burning speed and the transmission delay.
6. The method for managing the burning of a host computer according to claim 5, characterized in that: In the burning process, receiving feedback data of the current burning data frame, and adjusting the burning baud rate of the next burning data frame according to the feedback data, comprises: 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 number of times the current encrypted data frame is sent is recorded; When the cumulative number of transmissions of the current encrypted data frame is greater than a first preset transmission number threshold, calculating a first impact score of the current encrypted data frame according to the response data and the cumulative number of transmissions of the current encrypted data frame; The first impact scores of all encrypted data frames of the data to be burned are accumulated to determine a first warning score; When the first warning score is greater than a preset warning score threshold, it is determined that the burning has failed, and a warning reminder is issued; When the cumulative number of transmissions of the current encrypted data frame is greater than the second preset transmission number threshold, it is determined that the burning has failed, and an early warning reminder is issued; The host computer extracts response data from the feedback data, and adjusts the burning baud rate of the next transmitted data frame according to the response data; the next transmitted data frame includes the current encrypted data frame and the next encrypted data frame.
7. The method for managing the burning of a host computer according to claim 6, characterized in that: The step of adjusting the baud rate of the next transmitted data frame according to the response data comprises: Delay the transmission time T (n) Respectively with the preset maximum transmission delay T max and preset minimum transmission delay T min Compare and determine the delay score P T(n) ; According to the delay score P T(n) And burning speed v (n) Calculate the response score Q (n) ; ; Among them, v0 is the historical average burning speed under the current wave burning baud rate, t r(n) is the cumulative number of times the current encrypted data frame n is sent, k1 and k2 are the system preset influence coefficients; According to the response score Q (n) Draw the response score change curve and predict the predicted response score Q' of the next sent data frame (n+1) ; Determine the response score Q of the last sent 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) ; ; The response score change rate P Q(n+1) respectively with the first preset response score change rate threshold P Q(max) and a second preset response score change rate threshold P Q(min) Make a comparison; When P Q(n+1) ≥P Q(max) When the baud rate of the next transmitted data frame is adjusted upward by one level; When P Q(n+1) <P Q(min) When the 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 adjustments are made.
8. The method for managing the burning of a host computer according to claim 7, characterized in that: The transmission delay T (n) Respectively with the preset maximum transmission delay T max and preset minimum transmission delay T min Compare and determine the delay score P T(n) ,include: When T min <T (n) ≤T max hour, ; When T (n) ≤T min hour, ; When T (n) >T max hour, ; Among them, k p is the influence coefficient of the delay score.
9. The method for managing the burning of a host computer according to claim 1, characterized in that: When the burning is completed, the burning device is verified to determine the burning status of the data to be burned, including: When the burning is completed, the burning data frames in all the decrypted data frames are extracted and integrated to obtain the burning data to be verified; Performing integrity verification on the burning data to be verified; When the verification is successful, it is determined that the burning is completed; Otherwise, it is determined that the burning has failed and an early warning reminder is issued.
10. A burning management system for a burning host computer, used to implement the burning management method for a burning host computer as claimed in any one of claims 1 to 9, characterized in that: include: A data acquisition module, used to acquire 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 authentication module, used to perform user identity authentication according to the user identity information of the burning applicant; A burning authority verification module is used to verify the burning authority of the data to be burned after the user identity verification succeeds; A data burning module, used for burning the data to be burned when the data to be burned meets the burning authority, dividing the data to be burned into a plurality of burning data frames, encrypting each burning data frame in turn and sending them to the burning device; The burning parameter adjustment module is used to receive feedback data of the current burning data frame during the burning process, perform burning verification on the current burning data frame according to the feedback data, and adjust the burning baud rate of the next burning data frame; The burning verification module is used to perform burning verification on the burning device after the burning is completed, and determine the burning status of the data to be burned.
Citation Information
Patent Citations
Software burning method and device
CN109976767A
Processing systems, related integrated circuits, systems, and methods
CN117251398A
Single-wire programming method and device and computer readable storage medium
CN117519735A
File burning method and device, equipment and storage medium
CN117632166A
Devices, systems and methods for tracking and upgrading firmware in intelligent electronic devices
US20240126538A1
Cited By
Upper computer and TR module data burning device and system
CN120669996A
Intelligent self-adaptive Modbus host communication method and device based on Rensa chip
CN121056269A
