Parameter flashing method and device, equipment and storage medium

Through the parameter flushing method that directly obtains and writes to the target memory, the problem of inefficiency and high error rate caused by the EEPROM chip parameter flushing dependence on the memory chip is solved, and efficient and accurate parameter flushing is achieved.

CN119440559AActive Publication Date: 2025-02-14TCL AIR CONDITIONER ZHONGSHAN CO LTD

Patent Information

Application Number
CN202411499841.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-02-14
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

The parameter flashing method of existing EEPROM chips relies on the memory chip, resulting in low flashing efficiency and high error rate.

Method used

By responding to the parameter flash request of the target memory, obtain the target flash file to be burned, and determine the target flash parameters of the target memory based on the target flash file and the target flash information. Finally, burn the target based on the burn configuration information. The parameters are written to the target memory.

Benefits of technology

It realizes that the target burn parameter is directly written to the target memory, shortens the burn time, reduces the burn cost, and significantly improves the burn accuracy and success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119440559A_ABST
    Figure CN119440559A_ABST
Patent Text Reader

Abstract

The invention provides a parameter flashing method and device, equipment and a storage medium, and the parameter flashing method in the application comprises the following steps: obtaining a to-be-burnt target flashing file in response to a parameter flashing request for a target memory; determining a target burning parameter of the target memory according to the target flash file and the target burning information; and writing the target burning parameter into the target memory according to burning configuration information corresponding to the target burning parameter to obtain a parameter flashing result. According to the method, the to-be-burnt parameters in the target flashing file containing multiple pieces of burning information can be screened only by using the burner, and the to-be-burnt parameters are directly and accurately written into the target memory, so that the burning time is shortened, the burning cost is reduced, and the burning accuracy and success rate can be remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of parameter flashing technology, and in particular to a parameter flashing method, device, equipment and storage medium. Background Art

[0002] At present, most air conditioners use EEPROM (Electrically Erasable Programmable ReadOnly Memory) chips to store the parameters required for air conditioner operation. In actual application scenarios, the parameters in the EEPROM chip need to be adjusted for different models or different application scenarios. The existing EEPROM chip data flashing method needs to rely on other storage chips to transfer offline flashing data, and then write the transferred offline flashing data into the EEPROM chip. This data flashing method involves more chips, the process is complicated, the flashing takes a long time, and it is easy to confuse the flashing data, which cannot meet the existing chip flashing needs. Summary of the invention

[0003] The embodiments of the present application provide a parameter flashing method, device, equipment and storage medium, aiming to solve the technical problem in the prior art that the parameter flashing of EEPROM chip depends on the transfer chip, resulting in low flashing efficiency and high error rate.

[0004] On the one hand, an embodiment of the present application provides a parameter flashing method, the parameter flashing method comprising the following steps:

[0005] Respond to a parameter flashing request for a target memory and obtain a target flashing file to be burned;

[0006] Determine the target burning parameters of the target memory according to the target flash file and the target burning information;

[0007] The target burning parameters are written into the target memory according to the burning configuration information corresponding to the target burning parameters to obtain parameter flashing results.

[0008] In a possible implementation of the present application, the step of responding to a parameter flashing request for a target memory and obtaining a target flashing file to be burned includes:

[0009] In response to a parameter flashing request for a target memory, a communication connection is established with a target host computer based on a preset connection module, and an initial flashing file transmitted by the target host computer is obtained;

[0010] Performing file verification on the initial flash file to obtain a file verification result;

[0011] If the file verification result is that the verification is passed, the initial flash file is determined as the target flash file to be burned.

[0012] In a possible implementation of the present application, determining the target burning parameters of the target memory according to the target flash file and the target burning information includes:

[0013] Read the key flashing parameters of the target file area in the target flashing file, determine the number of flashing sub-files in the key flashing parameters, and address information of the file burning information corresponding to the flashing sub-files;

[0014] If the number of the flash sub-files is greater than a preset number threshold, acquiring file burning information corresponding to each of the flash sub-files based on the address information;

[0015] Obtaining a burning memory identifier in the file burning information, matching the burning memory identifier with a target memory identifier of the target memory, and determining target burning information of the target memory;

[0016] Determine the target burning parameters in the target flashing file according to the target burning information.

[0017] In a possible implementation of the present application, determining the target burning parameters in the target flashing file according to the target burning information includes:

[0018] Decoding the target burning information to obtain file address information in the target burning information;

[0019] The target storage area in the target flash file is located based on the file address information, and the target burning parameters in the target storage area are read.

[0020] In a possible implementation of the present application, the step of writing the target burning parameter into the target memory according to the burning configuration information corresponding to the target burning parameter to obtain the parameter flashing result includes:

[0021] Obtaining the burning configuration information corresponding to the target burning parameter, wherein the burning configuration information includes any one or more of the flashing algorithm information, the flashing protocol information and the target flashing rate;

[0022] The target programming parameters are written into the target memory according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain a parameter flashing result.

[0023] In a possible implementation of the present application, the step of obtaining the burning configuration information corresponding to the target burning parameter includes:

[0024] Parsing the target burning information of the target flashing file, and determining the flashing algorithm information, the flashing protocol information and the target flashing rate corresponding to the target flashing parameters;

[0025] The flashing information is configured according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain the burning configuration information corresponding to the target burning parameter.

[0026] In a possible implementation of the present application, the target programming parameters are written into the target memory according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain the parameter flashing result, including:

[0027] Acquire file address information corresponding to the target burning parameter, and read the target burning parameter based on the file address information;

[0028] Determine the target flashing algorithm and the target flashing protocol corresponding to the target burning parameter according to the flashing algorithm information and the flashing protocol information;

[0029] The target flashing algorithm and the target flashing protocol are used to flash the target burning parameters to the target memory at the target flashing rate to obtain parameter flashing results.

[0030] On the other hand, the present application provides a parameter flashing device, the parameter flashing device comprising:

[0031] A file acquisition module is configured to respond to a parameter flashing request for a target memory and acquire a target flashing file to be burned;

[0032] A parameter positioning module is configured to determine a target burning parameter of the target memory according to the target flash file and the target burning information;

[0033] The parameter flashing module is configured to write the target burning parameter into the target memory according to the burning configuration information corresponding to the target burning parameter to obtain the parameter flashing result.

[0034] On the other hand, the present application also provides a parameter writing device, the parameter writing device comprising:

[0035] one or more processors;

[0036] Memory; and

[0037] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the steps of the parameter flashing method.

[0038] On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the parameter flashing method.

[0039] In the present application, by responding to the parameter flashing request for the target memory, the target flashing file to be burned is obtained; the target burning parameters of the target memory are determined according to the target flashing file and the target burning information; the target burning parameters are written into the target memory according to the burning configuration information corresponding to the target burning parameters, and the parameter flashing result is obtained. The target flashing file containing the corresponding flashing parameters of at least one target memory is obtained by the flash writer, and the target burning parameters to be burned of each target memory are accurately screened according to the target burning information, and the target burning parameters are directly written into the target memory according to the burning configuration information corresponding to the target burning parameters. It is realized that only the burner can be used to screen the parameters to be burned in the target flashing file containing multiple burning information, and the parameters to be burned are directly and accurately written into the target memory, thereby shortening the burning time, reducing the burning cost, and significantly improving the burning accuracy and success rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 A schematic diagram of a scenario of a parameter flashing method according to an embodiment of the present application;

[0042] Figure 2 A flow chart of an embodiment of a parameter flashing method in an embodiment of the present application;

[0043] Figure 3 A schematic diagram of a scenario of an embodiment of storing a target flash file for a parameter flash device;

[0044] Figure 4 A flow chart of an embodiment of parameter flashing in the parameter flashing method provided in the embodiment of the present application;

[0045] Figure 5 A schematic diagram of the structure of an embodiment of a parameter flashing device provided in an embodiment of the present application;

[0046] Figure 6 A schematic diagram of the structure of an embodiment of a parameter flashing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0048] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0049] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0050] At present, most air conditioners use EEPROM (Electrically Erasable Programmable ReadOnly Memory) chips to store the parameters required for air conditioner operation. In actual application scenarios, the parameters in the EEPROM chip need to be adjusted for different models or different application scenarios. The existing EEPROM chip data flashing method needs to rely on other storage chips to transfer offline flashing data, and then write the transferred offline flashing data into the EEPROM chip. This data flashing method involves more chips, the process is complicated, the flashing takes a long time, and it is easy to confuse the flashing data, which cannot meet the existing chip flashing needs.

[0051] Based on this, the present application proposes a parameter flashing method, device, equipment and computer-readable storage medium to solve the technical problem in the prior art that EEPROM chip parameter flashing relies on a transfer chip, resulting in low flashing efficiency and high error rate.

[0052] The parameter flashing method in the embodiment of the present invention is applied to a parameter flashing device, and the parameter flashing device is arranged in the parameter flashing device. The parameter flashing device is provided with one or more processors, memories, and one or more applications, wherein the one or more applications are stored in the memories and are configured to be executed by the processor to implement the parameter flashing method; wherein the parameter flashing device can be an intelligent terminal with parameter flashing, such as a mobile phone, a tablet computer, a network device, a smart computer, and an intelligent flash writer, etc.; optionally, the parameter flashing device can also be a server, or a service cluster composed of multiple servers.

[0053] like Figure 1 As shown, Figure 1 The schematic diagram of the scenario of the parameter flashing method of the embodiment of the present application, the parameter flashing scenario in the embodiment of the present invention includes a parameter flashing device 100 (a parameter flashing device is integrated in the parameter flashing device 100) and a target memory 200, and a computer-readable storage medium corresponding to the parameter flashing method is running in the parameter flashing device 100 to execute the steps of the parameter flashing method. The target memory 200 is a memory device that is connected to the parameter flashing device 100 for communication and waiting for parameter burning. Optionally, in a specific embodiment, the target memory can be an EEPROM storage chip.

[0054] Understandably, Figure 1The parameter flashing devices in the parameter flashing method scenario shown, or the devices included in the parameter flashing devices, do not constitute limitations on the embodiments of the present invention, that is, the number of devices and types of devices of the parameter flashing devices included in the parameter flashing method scenario, or the number of devices and types of devices included in each device, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected by the embodiments of the present invention.

[0055] The parameter flashing device 100 in the embodiment of the present invention is mainly used to: respond to a parameter flashing request for a target memory and obtain a target flashing file to be burned;

[0056] Determine the target burning parameters of the target memory according to the target flash file and the target burning information;

[0057] The target burning parameters are written into the target memory according to the burning configuration information corresponding to the target burning parameters to obtain parameter flashing results.

[0058] The embodiments of the present application provide a parameter flashing method, apparatus, device, and computer-readable storage medium, which are described in detail below.

[0059] It can be understood by those skilled in the art that Figure 1 The application environment shown in is only one of the application scenarios related to the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer parameter flashing devices, or parameter flashing network connection relationships shown, such as Figure 1 Only one parameter flashing device is shown. It can be understood that the scenario of the parameter flashing method can also include one or more parameter flashing devices, which are not specifically limited here. The parameter flashing device 100 can also include an internal memory for storing target burning parameters and other data.

[0060] It should be noted that Figure 1 The scenario diagram of the parameter flashing method shown is only an example. The scenario of the parameter flashing method described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.

[0061] Based on the scenario of the above parameter flashing method, various embodiments of the parameter flashing method disclosed in the present invention are proposed.

[0062] like Figure 2 As shown, Figure 2 This is a flow chart of an embodiment of a parameter flashing method in an embodiment of the present application. The parameter flashing method includes the following steps 201 to 203:

[0063] 201. Respond to a parameter flashing request for a target memory and obtain a target flashing file to be burned;

[0064] The parameter flashing method in this embodiment is applied to a parameter flashing device, and the type and quantity of the parameter flashing device are not specifically limited, that is, the parameter flashing device can be one or more intelligent terminals capable of burning files. In a specific embodiment, the parameter flashing device is an intelligent burner.

[0065] Optionally, in a specific embodiment, the intelligent burner includes at least functional modules such as a power module, an input module, a connection module, a display module, a burning interface module and a control module. Among them, the power module is configured to convert the input voltage into the power supply voltage of other functional modules, and to provide the power supply voltage for the target memory when the target memory is parameter-written. The input module is configured to receive user input operation instructions (for example, the user input operation instructions can be selection, confirmation and exit instructions, etc.). Optionally, in a specific embodiment, the input module can be an input module such as a key input module or a touch input module. The connection module is configured to establish a communication connection with the target host computer. Optionally, in a specific embodiment, the connection module includes any one or more of a wired connection module (such as a USB connection module) and a wireless connection module (such as Bluetooth, WIFI and 2.4G connection module, etc.). The display module is used to display the displayable content (such as writing parameters, writing progress and writing rate, etc.) in the parameter writing process for user perception. The burning interface module is configured to be connected to the target memory. The control module writes the business logic for the user processing parameters, including input instruction processing and output display content, etc. Optionally, in a specific embodiment, the control module may be an MCU (Microcontroller Unit).

[0066] Specifically, during operation, the parameter writing device responds to a parameter writing request for a target memory, wherein the parameter writing request is an operation event that drives the parameter writing device to write parameters for at least one specified target memory. The parameter writing request can be triggered by a user through an input module in the parameter writing device or through other triggering methods. The target memory is a storage chip that is set in a smart home appliance such as an air conditioner and can perform parameter updates. In a specific embodiment, the target memory is an EEPROM chip.

[0067] Specifically, after receiving the parameter flashing request, the parameter flashing device also obtains the target flashing file to be burned associated with the parameter flashing request. Among them, the target flashing file is a binary burning file containing at least one target burning parameter corresponding to the target memory. The target flashing file is set by the equipment maintenance or R&D personnel such as the air conditioner through a specific tool when the target memory needs to be adjusted, and a binary bin file is generated in the target device and stored in the target host computer. Among them, the target host computer is an intelligent device or server that stores the specified flashing file. In a specific embodiment, the target host computer can be a smart computer, a server, a cloud server, etc.

[0068] Specifically, after the relevant operator stores the specified flash file in the target host computer, the parameter flash device responds to the parameter flash request for the target memory, establishes a communication connection link with the target host computer based on the preset connection module, and obtains the initial flash file transmitted by the target host computer based on the communication connection link. Among them, the initial flash file contains at least one flash file corresponding to the update parameter of the target memory. Optionally, the preset communication link includes a wired connection link and a wireless connection link. The parameter flash device can establish an online flash process and a local offline flash process with the target host computer through the wired connection link. Among them, the online flash process is to connect to the local target host computer through the communication connection link, and at the same time connect to the target memory through the burning interface module, and synchronously write the flash process of the target memory when the corresponding flash file is obtained. The local offline flash process is to connect to the local target host computer through the communication connection link, store the corresponding flash file in the storage unit in the parameter flash device, and then perform an offline flash process with the target memory.

[0069] Specifically, after obtaining the initial flash file transmitted by the target host computer, the parameter flash device performs file verification on the initial flash file to determine the file integrity of the initial flash file and whether it is the flash file associated with the target storage, so as to generate a file verification result.

[0070] Optionally, the parameter flashing device can obtain the verification parameters corresponding to the initial flashing file in the target host computer, and synchronously generate verification parameters locally based on the initial flashing file, and determine the file integrity of the initial flashing file by comparing the verification parameters with the verification parameters. That is, if the comparison verification parameters and the verification parameters are the same or match, the parameter flashing device determines that the file integrity and accuracy of the initial flashing file meet the requirements.

[0071] Optionally, the parameter flashing device also parses the initial flashing file to determine whether the corresponding flashing chip model and / or flashing chip identifier in the initial flashing file is the same as that of the target memory. If they are the same, the initial flashing file is determined to be the flashing file associated with the target memory.

[0072] Optionally, if the parameter flashing device determines that the file integrity and accuracy of the initial flashing file meet the requirements, and determines that the initial flashing file is the flashing file associated with the target storage device, it determines that the file verification result is passed, and determines the initial flashing file as the target flashing file to be burned.

[0073] Optionally, if the parameter flashing device determines that the file integrity and accuracy of the initial flashing file do not meet the requirements, or the initial flashing file is not the flashing file associated with the target storage device, the file verification result is determined to be a verification failure, and the initial flashing file in the target host computer is re-obtained.

[0074] 202. Determine a target burning parameter of the target memory according to the target flash file and the target burning information;

[0075] Specifically, after determining the target flash file associated with the target memory, the parameter flash device also determines the target flash parameter of the target memory according to the target flash file and the target burning information, and saves the target burning parameter in the specified storage area of ​​the parameter flash device. In a specific embodiment, the specified storage area can be a flash storage unit or other storage unit of the control module in the parameter flash device. Figure 3 As shown, Figure 3 A schematic diagram of a scenario of an embodiment of storing a target flash file for a parameter flash device. Figure 3 It can be seen that the target flash file is stored inside the parameter flash device, and the stored target flash file includes a flash sub-file, key flash parameters and file burning information. Among them, the flash sub-file is an update file corresponding to different target memories stored in the target flash file. The key flash parameters are parameter information used to obtain the file burning information corresponding to each flash sub-file. The file burning information is text information that records the burning configuration related information corresponding to each flash sub-file.

[0076] Specifically, the parameter flashing device reads the key flashing parameters of the target file area in the target flashing file stored in the specified storage area of ​​the parameter flashing device. The joint flashing parameters include the number of flashing sub-files, the address information of the file burning information corresponding to each flashing sub-file, and the software version information of the parameter flashing device.

[0077] Specifically, after determining the key flashing parameters, the parameter flashing device also parses the key flashing parameters, determines the number of flashing sub-files in the key flashing parameters, and the address information of the file burning information corresponding to the flashing sub-files, determines the target burning information of the target memory according to the number of flashing sub-files and the address information, and determines the target burning parameters in the target flashing file according to the target burning information.

[0078] Optionally, if the number of the flash sub-files is greater than a preset number threshold, that is, there are multiple flash sub-files in the target flash file, the parameter flash device determines the file burning information corresponding to each flash sub-file based on the address information. Optionally, in a specific embodiment, the preset number threshold is 1.

[0079] Specifically, after determining the file burning information corresponding to the flashing sub-file, the parameter flashing device also obtains the burning memory identifier in the file burning information, and matches the burning memory identifier with the target memory identifier of the target memory, thereby determining the target burning information corresponding to each target memory, and determining the target burning parameters in the target flashing file according to the target burning information.

[0080] Specifically, after determining the target burning information corresponding to each target memory, the parameter flashing device also uses the file address information and file length information in the target burning information to determine the target burning sub-file, and locates the target storage area in the target flashing file based on the file address information, and determines the burning page corresponding to the target burning sub-file as the target burning parameter of the target memory.

[0081] 203. Write the target burning parameters into the target memory according to the burning configuration information corresponding to the target burning parameters to obtain parameter flashing results.

[0082] Specifically, after reading the target burning parameters of the target memory, the parameter flashing device writes the target burning parameters into the target memory according to the burning configuration information corresponding to the target burning parameters to obtain the parameter flashing result. The burning configuration information includes any one or more of the flashing algorithm information, the flashing protocol information and the target flashing rate.

[0083] Specifically, the parameter flashing device receives the user's burning operation event, establishes a communication connection with the target memory based on the burning interface module, receives the user's selection of the flashing file name, and presses the flashing button, then writes the target burning parameters corresponding to the flashing file name into the target memory corresponding to the chip model in the burning configuration information according to the burning configuration information, and obtains the parameter flashing result.

[0084] Optionally, in other embodiments, after writing the target burning parameters into the target memory, the parameter flashing device also reads the current flashing data of the flashing area in the target memory, and compares the current flashing data with the target burning parameters. If the current flashing data is the same as the target burning parameters, the parameter flashing result corresponding to the successful parameter flashing is output. If the current flashing data is not the same as the target burning parameters, the parameter flashing result corresponding to the failed parameter flashing is output.

[0085] In this embodiment, the parameter flashing device obtains the target flashing file to be burned by responding to the parameter flashing request for the target memory; determines the target burning parameters of the target memory according to the target flashing file and the target burning information; writes the target burning parameters into the target memory according to the burning configuration information corresponding to the target burning parameters, and obtains the parameter flashing result. The target flashing file containing the corresponding flashing parameters of at least one target memory is obtained by the flash writer, and the target burning parameters to be burned of each target memory are accurately screened according to the target burning information, and the target burning parameters are directly written into the target memory according to the burning configuration information corresponding to the target burning parameters. It is realized that only the burner can be used to screen the parameters to be burned in the target flashing file containing multiple burning information, and the parameters to be burned are directly and accurately written into the target memory, thereby shortening the burning time, reducing the burning cost, and significantly improving the burning accuracy and success rate.

[0086] like Figure 4 As shown, Figure 4 This is a flow chart of an embodiment of parameter flashing in the parameter flashing method provided in the embodiment of the present application. Specifically, in this embodiment, the parameter flashing method further includes steps 301 to 303:

[0087] 301. Obtain file address information corresponding to the target burning parameter, and read the target burning parameter based on the file address information;

[0088] 302. Determine a target flashing algorithm and a target flashing protocol corresponding to the target burning parameter according to the flashing algorithm information and the flashing protocol information;

[0089] 303. Use the target flashing algorithm and the target flashing protocol to flash the target burning parameters to the target memory at the target flashing rate to obtain a parameter flashing result.

[0090] Specifically, based on the above embodiment, in this embodiment, after reading the target burning parameters of the target memory, the parameter flashing device writes the target burning parameters into the target memory according to the burning configuration information corresponding to the target burning parameters to obtain the parameter flashing result.

[0091] Specifically, the parameter flashing device parses the target burning information in the target flashing file, obtains the flashing algorithm information, the flashing protocol information and the target flashing rate in the target flashing information, and configures the target burning parameters according to the flashing algorithm information, the flashing protocol information and the target flashing efficiency, to obtain the burning configuration information corresponding to the target burning parameters.

[0092] Specifically, after obtaining the burning configuration information corresponding to the target burning parameter, the parameter flashing device obtains the file address information corresponding to the target burning parameter, and reads the target burning parameter to be flashed to the target memory based on the file address information.

[0093] Specifically, the parameter flashing device also determines the target flashing algorithm and target flashing protocol corresponding to the target burning parameter based on the flashing algorithm information and the flashing protocol information. That is, the parameter flashing device obtains the flashing algorithm information corresponding to the target burning parameter, and configures the flashing algorithm corresponding to the target burning parameter based on the flashing algorithm information to obtain the target flashing algorithm. And, the parameter flashing device also selects the flashing protocol of the target burning parameter according to the flashing protocol information to obtain the target flashing protocol corresponding to the target burning parameter. Optionally, in a specific embodiment, the target flashing protocol can be an IIC (Inter-Integrated Circuit) protocol.

[0094] Specifically, after determining the target flashing algorithm and target flashing protocol corresponding to the target burning parameters, the parameter flashing device also uses the target flashing algorithm and target flashing protocol to flash the target burning parameters to the target memory at the target flashing rate, and matches the flashing data in the target memory with the target burning parameters to obtain the parameter flashing results.

[0095] Specifically, after writing the target burning parameters into the target memory, the parameter flashing device also reads the current flashing data of the flashing area in the target memory, and compares the current flashing data with the target burning parameters. If the current flashing data is the same as the target burning parameters, the parameter flashing result corresponding to the successful parameter flashing is output. If the current flashing data is not the same as the target burning parameters, the parameter flashing result corresponding to the failed parameter flashing is output.

[0096] In this embodiment, the parameter flashing device obtains the file address information corresponding to the target burning parameter, reads the target burning parameter based on the file address information; determines the target flashing algorithm and target flashing protocol corresponding to the target burning parameter according to the flashing algorithm information and the flashing protocol information; uses the target flashing algorithm and the target flashing protocol to flash the target burning parameter to the target memory at the target flashing rate to obtain the parameter flashing result. It is possible to flash the parameters of the target memory directly according to the specified burning configuration information without the need to prepare other transfer chips for storing the flashing parameters, thereby shortening the burning time, reducing the burning cost, and significantly improving the burning accuracy and success rate.

[0097] In order to better implement the parameter flashing method in the embodiment of the present application, based on the parameter flashing method, the embodiment of the present application also provides a parameter flashing device, such as Figure 5 As shown, Figure 5 The schematic diagram of the structure of an embodiment of the parameter writing device provided in the embodiment of the present application is as follows. Specifically, the parameter writing device 400 includes:

[0098] The file acquisition module 401 is configured to respond to a parameter flashing request for a target memory and acquire a target flashing file to be burned;

[0099] A parameter positioning module 402 is configured to determine a target burning parameter of the target memory according to the target flash file and the target burning information;

[0100] The parameter flashing module 403 is configured to write the target burning parameter into the target memory according to the burning configuration information corresponding to the target burning parameter to obtain a parameter flashing result.

[0101] In a possible implementation of this embodiment, the parameter flashing device responds to a parameter flashing request for a target memory and obtains a target flashing file to be burned, including:

[0102] In response to a parameter flashing request for a target memory, a communication connection is established with a target host computer based on a preset connection module, and an initial flashing file transmitted by the target host computer is obtained;

[0103] Performing file verification on the initial flash file to obtain a file verification result;

[0104] If the file verification result is that the verification is passed, the initial flash file is determined as the target flash file to be burned.

[0105] In a possible implementation of this embodiment, the parameter flashing device determines the target burning parameters of the target memory according to the target flashing file and the target burning information, including:

[0106] Read the key flashing parameters of the target file area in the target flashing file, determine the number of flashing sub-files in the key flashing parameters, and address information of the file burning information corresponding to the flashing sub-files;

[0107] If the number of the flash sub-files is greater than a preset number threshold, acquiring file burning information corresponding to each of the flash sub-files based on the address information;

[0108] Obtaining a burning memory identifier in the file burning information, matching the burning memory identifier with a target memory identifier of the target memory, and determining target burning information of the target memory;

[0109] Determine the target burning parameters in the target flashing file according to the target burning information.

[0110] In a possible implementation of this embodiment, the parameter flashing device determines the target burning parameters in the target flashing file according to the target burning information, including:

[0111] Decoding the target burning information to obtain file address information in the target burning information;

[0112] The target storage area in the target flash file is located based on the file address information, and the target burning parameters in the target storage area are read.

[0113] In a possible implementation of this embodiment, the parameter flashing device writes the target burning parameter into the target memory according to the burning configuration information corresponding to the target burning parameter to obtain the parameter flashing result, including:

[0114] Obtaining the burning configuration information corresponding to the target burning parameter, wherein the burning configuration information includes any one or more of the flashing algorithm information, the flashing protocol information and the target flashing rate;

[0115] The target programming parameters are written into the target memory according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain a parameter flashing result.

[0116] In a possible implementation of this embodiment, the parameter flashing device obtains the burning configuration information corresponding to the target burning parameter, including:

[0117] Parsing the target burning information of the target flashing file, and determining the flashing algorithm information, the flashing protocol information and the target flashing rate corresponding to the target flashing parameters;

[0118] The flashing information is configured according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain the burning configuration information corresponding to the target burning parameter.

[0119] In a possible implementation of this embodiment, the parameter flashing device writes the target burning parameter into the target memory according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain the parameter flashing result, including:

[0120] Acquire file address information corresponding to the target burning parameter, and read the target burning parameter based on the file address information;

[0121] Determine the target flashing algorithm and the target flashing protocol corresponding to the target burning parameter according to the flashing algorithm information and the flashing protocol information;

[0122] The target flashing algorithm and the target flashing protocol are used to flash the target burning parameters to the target memory at the target flashing rate to obtain parameter flashing results.

[0123] In this embodiment, the parameter flashing device obtains the target flashing file to be burned by responding to the parameter flashing request for the target memory; determines the target burning parameters of the target memory according to the target flashing file and the target burning information; writes the target burning parameters into the target memory according to the burning configuration information corresponding to the target burning parameters, and obtains the parameter flashing result. The flash writer obtains the target flashing file containing the corresponding flashing parameters of at least one target memory, and accurately filters the target burning parameters to be burned of each target memory according to the target burning information, and directly writes the target burning parameters into the target memory according to the burning configuration information corresponding to the target burning parameters. It is realized that only the burner can be used to filter the parameters to be burned in the target flashing file containing multiple burning information, and directly write the parameters to be burned into the target memory accurately, thereby shortening the burning time, reducing the burning cost, and significantly improving the burning accuracy and success rate.

[0124] The embodiment of the present invention also provides a parameter flashing device, such as Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of an embodiment of the parameter flashing device provided in the embodiments of the present application.

[0125] The parameter writing device integrates any one of the parameter writing devices provided in the embodiments of the present invention, and the parameter writing device includes:

[0126] one or more processors;

[0127] Memory; and

[0128] One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the parameter flashing method described in any of the above parameter flashing method embodiments.

[0129] Specifically, the parameter flashing device may include one or more processing core processors 501, one or more computer-readable storage media memories 502, a power supply 503, an input unit 504 and other components. Those skilled in the art will understand that Figure 5 The parameter flashing device structure shown in the figure does not constitute a limitation on the parameter flashing device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0130] The processor 501 is the control center of the parameter flashing device. It uses various interfaces and lines to connect the various parts of the entire parameter flashing device. By running or executing the software programs and / or modules stored in the memory 502, and calling the data stored in the memory 502, it performs various functions of the parameter flashing device and processes data, thereby monitoring the parameter flashing device as a whole. Optionally, the processor 501 may include one or more processing cores; preferably, the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 501.

[0131] The memory 502 can be used to store software programs and modules. The processor 501 executes various functional applications and data processing by running the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of a parameter flashing device, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may also include a memory controller to provide the processor 501 with access to the memory 502.

[0132] The parameter flashing device also includes a power supply 503 for supplying power to each component. Preferably, the power supply 503 can be logically connected to the processor 501 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 503 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0133] The parameter flashing device may further include an input unit 504, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0134] Although not shown, the parameter flashing device may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 501 in the parameter flashing device will load the executable files corresponding to the processes of one or more application programs into the memory 502 according to the following instructions, and the processor 501 will run the application programs stored in the memory 502, thereby realizing various functions, as follows:

[0135] Respond to a parameter flashing request for a target memory and obtain a target flashing file to be burned;

[0136] Determine the target burning parameters of the target memory according to the target flash file and the target burning information;

[0137] The target burning parameters are written into the target memory according to the burning configuration information corresponding to the target burning parameters to obtain parameter flashing results.

[0138] To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any parameter flashing method provided in an embodiment of the present invention. For example, the computer program is loaded by a processor to execute the following steps:

[0139] Respond to a parameter flashing request for a target memory and obtain a target flashing file to be burned;

[0140] Determine the target burning parameters of the target memory according to the target flash file and the target burning information;

[0141] The target burning parameters are written into the target memory according to the burning configuration information corresponding to the target burning parameters to obtain parameter flashing results.

[0142] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0143] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

[0144] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0145] The above is a detailed introduction to a parameter flashing method provided in an embodiment of the present application. Specific embodiments are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A parameter flashing method, characterized in that: The parameter flashing method comprises: Respond to a parameter flashing request for a target memory and obtain a target flashing file to be burned; Determine the target burning parameters of the target memory according to the target flash file and the target burning information; The target burning parameters are written into the target memory according to the burning configuration information corresponding to the target burning parameters to obtain parameter flashing results.

2. The parameter flashing method according to claim 1, characterized in that: The step of responding to a parameter flashing request for a target memory and obtaining a target flashing file to be burned includes: In response to a parameter flashing request for a target memory, a communication connection is established with a target host computer based on a preset connection module, and an initial flashing file transmitted by the target host computer is obtained; Performing file verification on the initial flash file to obtain a file verification result; If the file verification result is that the verification is passed, the initial flash file is determined as the target flash file to be burned.

3. The parameter flashing method according to claim 1, characterized in that: The step of determining the target burning parameters of the target memory according to the target flash file and the target burning information includes: Read the key flashing parameters of the target file area in the target flashing file, determine the number of flashing sub-files in the key flashing parameters, and address information of the file burning information corresponding to the flashing sub-files; If the number of the flash sub-files is greater than a preset number threshold, acquiring file burning information corresponding to each of the flash sub-files based on the address information; Obtaining a burning memory identifier in the file burning information, matching the burning memory identifier with a target memory identifier of the target memory, and determining target burning information of the target memory; Determine the target burning parameters in the target flashing file according to the target burning information.

4. The parameter flashing method according to claim 3, characterized in that: Determining the target burning parameters in the target flashing file according to the target burning information includes: Decoding the target burning information to obtain file address information in the target burning information; The target storage area in the target flash file is located based on the file address information, and the target burning parameters in the target storage area are read.

5. The parameter flashing method according to any one of claims 1 to 4, characterized in that: The step of writing the target burning parameter into the target memory according to the burning configuration information corresponding to the target burning parameter to obtain the parameter flashing result includes: Obtaining the burning configuration information corresponding to the target burning parameter, wherein the burning configuration information includes any one or more of the flashing algorithm information, the flashing protocol information and the target flashing rate; The target programming parameters are written into the target memory according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain a parameter flashing result.

6. The parameter flashing method according to claim 5, characterized in that: The obtaining of the burning configuration information corresponding to the target burning parameter includes: Parsing the target burning information of the target flashing file, and determining the flashing algorithm information, the flashing protocol information and the target flashing rate corresponding to the target flashing parameters; The flashing information is configured according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain the burning configuration information corresponding to the target burning parameter.

7. The parameter flashing method according to claim 5, characterized in that: The step of writing the target programming parameters into the target memory according to the flashing algorithm information, the flashing protocol information and the target flashing rate to obtain the parameter flashing result includes: Acquire file address information corresponding to the target burning parameter, and read the target burning parameter based on the file address information; Determine the target flashing algorithm and the target flashing protocol corresponding to the target burning parameter according to the flashing algorithm information and the flashing protocol information; The target flashing algorithm and the target flashing protocol are used to flash the target burning parameters to the target memory at the target flashing rate to obtain parameter flashing results.

8. A parameter flashing device, characterized in that: The parameter flash writing device comprises: A file acquisition module is configured to respond to a parameter flashing request for a target memory and acquire a target flashing file to be burned; A parameter positioning module is configured to determine a target burning parameter of the target memory according to the target flash file and the target burning information; The parameter flashing module is configured to write the target burning parameter into the target memory according to the burning configuration information corresponding to the target burning parameter to obtain the parameter flashing result.

9. A parameter flashing device, characterized in that: The parameter flashing device comprises: one or more processors; Memory; and One or more application programs, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to implement the steps of the parameter flashing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps of the parameter flashing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • An equipment parameter burning method and device

    CN109901848A

  • ECU flashing method and system, terminal equipment and medium

    CN115357278A

  • Data flashing method and device

    CN117453238A

  • Controller flashing method and device, equipment and storage medium

    CN117950687A

  • Data flashing method and device

    CN118656119A

Cited By

  • Burning method, system and device of NAND FLASH

    CN121070392A