Burning control method and device, equipment and storage medium

By obtaining the initial variable data and its type of the air conditioner and performing burn-in conversion, the problem of cumbersome and high failure rate of the air conditioner parameter burn-in process is solved, and an efficient and accurate burn-in process is achieved, reducing the cost and cumbersomeness.

CN119829102APending Publication Date: 2025-04-15TCL AIR CONDITIONER ZHONGSHAN CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411756454.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The parameter burning process of existing air conditioners is cumbersome and has a high failure rate, which cannot meet the parameter burning requirements of existing air conditioners.

Method used

By responding to the burn control request for the target air conditioner, the initial variable data to be burned and its variable data type are obtained, and the burn-in conversion is carried out based on the initial variable data, variable data type and variable calculation parameters, the target burn-in data is obtained, and the target burn-in data is finally written to the target air conditioner.

Benefits of technology

It realizes that variable recording and writing of the target air conditioner can be performed without burning the chip, reducing the cumbersomeness and cost of burning, and improving the accuracy of burning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829102A_ABST
    Figure CN119829102A_ABST
Patent Text Reader

Abstract

The invention provides a burning control method and device, equipment and a storage medium, and the burning control method in the application comprises the following steps: obtaining to-be-burnt initial variable data and a variable data type of the initial variable data in response to a burning control request for a target air conditioner; performing burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain target burning data; and writing the target burning data into the target air conditioner to obtain a burning control result. According to the technical scheme, variable burning and writing can be conducted on the target air conditioner without a burning chip, the burning complexity can be effectively reduced, therefore, the burning and writing cost and complexity are reduced, and the burning accuracy can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] At present, with the rapid development of air conditioners, more and more users can use air conditioners to adjust the temperature, and air conditioner manufacturers can update the function configuration of air conditioners by burning parameters of the air conditioner outdoor unit driver. However, the process of burning the outdoor unit program of the existing air conditioner is relatively cumbersome, and it is necessary to use a designated burning chip to connect an external burner for burning. During the burning process, the burning chip is easily damaged, resulting in burning failure, and the burning process is relatively cumbersome, which cannot meet the parameter burning requirements of existing air conditioners. Summary of the invention

[0003] The embodiments of the present application provide a burning control method, device, equipment and storage medium, aiming to solve the technical problems in the prior art that the air conditioner parameter burning process is cumbersome and has a high failure rate.

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

[0005] In response to a burning control request for a target air conditioner, obtaining initial variable data to be burned and a variable data type of the initial variable data;

[0006] Perform burning conversion according to the initial variable data, variable data type and variable calculation parameters to obtain target burning data;

[0007] The target burning data is written into the target air conditioner to obtain a burning control result.

[0008] In a possible implementation of the present application, performing burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain the target burning data includes:

[0009] Calculate intermediate variable data according to the first variable data, the second variable data and the variable calculation parameter in the initial variable data;

[0010] Perform variable conversion according to the variable data type, the variable calculation function and the intermediate variable data to obtain converted variable data;

[0011] The high and low bits of the conversion variable data are inverted according to a preset inversion function to obtain target burning data.

[0012] In a possible implementation of the present application, the step of calculating the intermediate variable data according to the first variable data, the second variable data and the variable calculation parameter in the initial variable data includes:

[0013] Acquire variable calculation parameters corresponding to the initial variable data, and first variable data and second variable data in the initial variable data;

[0014] Calculate the product of the first variable data and the variable calculation parameter to obtain updated variable data;

[0015] The sum of the updated variable data and the second variable data is calculated to obtain intermediate variable data.

[0016] In a possible implementation of the present application, performing variable conversion according to the variable data type, the variable calculation function and the intermediate variable data to obtain converted variable data includes:

[0017] Obtaining a variable calculation function corresponding to the variable data type, wherein the variable calculation function includes a short variable calculation function and a long variable calculation function;

[0018] The intermediate variable data is converted into a binary system according to the variable data type and the variable calculation function to obtain converted variable data.

[0019] In a possible implementation of the present application, the conversion variable data includes first conversion variable data and second conversion variable data;

[0020] The step of converting the intermediate variable data into a binary system according to the variable data type and the variable calculation function to obtain converted variable data includes:

[0021] If the variable data type of the intermediate variable data is a short variable type, performing hexadecimal conversion on the intermediate variable data based on a short variable calculation function to obtain first converted variable data;

[0022] If the variable data type of the intermediate variable data is a long variable type, the intermediate variable data is converted into hexadecimal based on a long variable calculation function to obtain second converted variable data.

[0023] In a possible implementation of the present application, after performing the burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain the target burning data, the method further includes:

[0024] Perform a burning test on the target burning data according to the variable calculation parameter to obtain a burning test result;

[0025] According to the burning detection result and the target reverse reading function, the target burning data is subjected to reverse reading detection to obtain the target detection result.

[0026] In a possible implementation of the present application, performing reverse reading detection on the target burning data according to the burning detection result and the target reverse reading function to obtain the target detection result includes:

[0027] If the burning detection result is the first burning detection result, the target burning data and the variable calculation parameter are divided by a first reverse reading function in the target reverse reading function to obtain a first reverse reading detection parameter;

[0028] If the burning detection result is the second burning detection result, the difference between the target burning data and the updated variable data is calculated using the second reverse reading function in the target reverse reading function to obtain a second reverse reading detection parameter;

[0029] A target detection result corresponding to the target burning data is generated according to the first reverse reading detection parameter or the second reverse reading detection parameter.

[0030] On the other hand, the present application provides a burning control device, the burning control device comprising:

[0031] A variable acquisition module, configured to respond to a burning control request for a target air conditioner, and acquire initial variable data to be burned and a variable data type of the initial variable data;

[0032] A burning conversion module is configured to perform burning conversion according to the initial variable data, variable data type and variable calculation parameter to obtain target burning data;

[0033] The data burning module is configured to write the target burning data into the target air conditioner to obtain a burning control result.

[0034] On the other hand, the present application also provides a burning control device, the burning control 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 burning control method.

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

[0039] In the present application, by responding to the burning control request for the target air conditioner, the initial variable data to be burned and the variable data type of the initial variable data are obtained; the burning conversion is performed according to the initial variable data, the variable data type and the variable calculation parameter to obtain the target burning data; the target burning data is written to the target air conditioner to obtain the burning control result. The implementation is achieved by obtaining the initial variable data to be burned and the variable data type corresponding to the initial variable data during the burning process of the target air conditioner, and performing intermediate burning parameter calculation according to the initial variable data, the variable data type and the variable calculation parameter, and performing base conversion and high-low bit inversion burning conversion operations on the calculated burning parameters to obtain accurate target burning data, and writing the target burning data to the target air conditioner, so that the variable burning and writing of the target air conditioner can be realized without burning the chip, and the burning complexity can be effectively reduced, thereby reducing the burning and writing cost and complexity, and can effectively improve the burning accuracy. 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 burning control method according to an embodiment of the present application;

[0042] Figure 2 A flowchart of an embodiment of a burning control method in an embodiment of the present application;

[0043] Figure 3 A schematic diagram of a flow chart of an embodiment of performing base conversion on intermediate variable data in a burning control method provided in an embodiment of the present application;

[0044] Figure 4 A flow chart of an embodiment of performing burning detection in the burning control method provided in the embodiment of the present application;

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

[0046] Figure 6 A schematic diagram of the structure of an embodiment of a burning control 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, with the rapid development of air conditioners, more and more users can use air conditioners to adjust the temperature, and air conditioner manufacturers can update the function configuration of air conditioners by burning parameters of the air conditioner outdoor unit driver. However, the process of burning the outdoor unit program of the existing air conditioner is relatively cumbersome, and it is necessary to use a designated burning chip to connect an external burner for burning. During the burning process, the burning chip is easily damaged, resulting in burning failure, and the burning process is relatively cumbersome, which cannot meet the parameter burning requirements of existing air conditioners.

[0051] Based on this, the present application proposes a burning control method, device, equipment and computer-readable storage medium to solve the technical problems in the prior art that the air conditioner parameter burning process is cumbersome and has a high failure rate.

[0052] The burning control method in the embodiment of the present invention is applied to a burning control device, which is arranged in the burning control device. The burning control device is provided with one or more processors, a memory, and 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 burning control method; wherein the burning control device can be an intelligent terminal, such as a mobile phone, a tablet computer, a network device, and a smart computer; optionally, the burning control device can also be a server, or a service cluster composed of multiple servers.

[0053] like Figure 1 As shown, Figure 1 The following is a schematic diagram of a scenario of the burning control method of the embodiment of the present application. The burning control scenario in the embodiment of the present invention includes a burning control device 100 (a burning control device is integrated in the burning control device 100) and a target air conditioner 200. A computer-readable storage medium corresponding to the burning control method is run in the burning control device 100 to execute the steps of the burning control method. The target air conditioner 200 is an intelligent air conditioner terminal that performs data burning with the burning control device 100.

[0054] Understandably, Figure 1 The burning control device in the burning control method scenario shown, or the devices included in the burning control device, does not constitute a limitation on the embodiments of the present invention, that is, the number of devices and types of devices of the burning control device included in the burning control 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 in the embodiments of the present invention.

[0055] The burning control device 100 in the embodiment of the present invention is mainly used to: respond to a burning control request for a target air conditioner, obtain initial variable data to be burned and the variable data type of the initial variable data;

[0056] Perform burning conversion according to the initial variable data, variable data type and variable calculation parameters to obtain target burning data;

[0057] The target burning data is written into the target air conditioner to obtain a burning control result.

[0058] The burning control device 100 in the embodiment of the present invention can be an independent burning control device, such as a smart terminal such as a mobile phone, a tablet computer, a network device, a server, and a smart computer, or a burning control network or a burning control cluster composed of multiple burning control devices.

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

[0060] 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 burning control devices shown, or burning control network connection relationships, such as Figure 1 Only one burning control device is shown in the figure. It can be understood that the scenario of the burning control method can also include one or more burning control devices, which is not specifically limited here. The burning control device 100 can also include a memory for storing burning variable data and other data.

[0061] It should be noted that Figure 1 The scenario diagram of the burning control method shown is only an example. The scenario of the burning control 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.

[0062] Based on the scenario of the above-mentioned burning control method, various embodiments of the burning control method disclosed in the present invention are proposed.

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

[0064] 201. In response to a burning control request for a target air conditioner, obtain initial variable data to be burned and a variable data type of the initial variable data;

[0065] The burning control method in this embodiment is applied to a burning control device, and the type and quantity of the burning control device are not specifically limited, that is, the burning control device can be one or more intelligent terminals or servers. In a specific embodiment, the burning control device is an intelligent computer.

[0066] Specifically, the burning control device can communicate with the target air conditioner through a wired connection link or a wireless connection link, so that when the target air conditioner needs to update its variables, the external unit program can be burned to the target air conditioner, thereby updating and adjusting the external unit variables of the target air conditioner.

[0067] Since the existing variable burning method depends on the chip and cannot view the change points of the generated burnable file, the burning error rate and failure rate are high. Therefore, the burning control device also responds to the burning control request for the target air conditioner during operation, wherein the burning control request is a control event that drives the burning control device to generate burning data and detect burning data for the target air conditioner. Among them, the triggering method of the burning control request is not specifically limited here. That is, the triggering method of the burning control request can be actively triggered by the user, for example, the user is an air conditioning engineer, and actively triggers the burning control request for the target air conditioner by clicking the burning control button in the burning control device. In addition, the burning control request can also be actively triggered by the burning control device, for example, the burning control device is provided with an automatic burning process, and after detecting the new burning variable data associated with the target air conditioner, the burning control request is actively triggered.

[0068] Specifically, after obtaining the burning control request for the target air conditioner, the burning control device parses the burning control request and obtains the initial variable data to be burned and the variable data type corresponding to the initial variable data carried by the burning control request. The variable data type is a data type that characterizes the data length corresponding to the initial variable data. Optionally, in a specific embodiment, the variable data type includes a long variable type and a short variable type. The long variable type is a variable data value that characterizes that the initial variable data is eight bits. The short variable type is a variable data value that characterizes that the initial variable data is four bits.

[0069] Optionally, in a specific embodiment, the initial variable data includes first variable data and second variable data, wherein the first variable data and the second variable data are different code variables in the generated file.

[0070] Optionally, the burning control request also includes a variable calculation parameter associated with the initial variable data, and the variable calculation parameter is a code parameter for controlling the left shift of a certain number of digits of the specified initial variable data during the burning conversion process. In a specific embodiment, the variable calculation parameter is an initial variable 256 code for controlling the left shift of the specified variable data in the initial variable data by 8 digits.

[0071] 202. Perform burning conversion according to the initial variable data, variable data type and variable calculation parameter to obtain target burning data;

[0072] Specifically, after acquiring the initial variable data, the variable data type corresponding to the initial variable data, and the corresponding variable calculation parameters, the burning control device also performs burning conversion according to the initial variable data, the variable data type, and the variable calculation parameters to obtain the target burning data. The target burning data is the driving variable data to be burned and written to the target air conditioner. Optionally, in a specific embodiment, the file format of the target burning data can be a table file format.

[0073] Specifically, after acquiring the initial variable data, the variable data type corresponding to the initial variable data and the corresponding variable calculation parameters, the burning control device calculates the intermediate variable data according to the first variable data, the second variable data and the variable calculation parameters in the initial variable data.

[0074] Specifically, after acquiring the initial variable data, the variable data type corresponding to the initial variable data, and the corresponding variable calculation parameter, the burning control device performs a left shift process on the first variable data by the variable calculation parameter to obtain the updated variable data, and adds the updated variable data to the second variable data to obtain the intermediate variable data. That is, the burning control device multiplies the first variable data and the variable calculation parameter, calculates the product of the first variable data and the variable calculation parameter, and obtains the updated variable data, wherein the updated variable data is the first variable data shifted to the left by a number of bits. After acquiring the updated variable data, the burning control device calculates the sum of the updated variable data and the second variable data to obtain the intermediate variable data.

[0075] Specifically, after the burning control device calculates the intermediate variable data through the initial variable data and the variable calculation parameter, it also performs variable conversion according to the variable data type, the variable calculation function and the intermediate variable data, thereby converting the intermediate variable data into hexadecimal conversion variable data. Different variable data types correspond to different variable calculation functions. For example, in a specific embodiment, the variable data type is a short variable data type, and the corresponding variable calculation function is a short variable calculation function, and the variable data type is a long variable data type, and the corresponding variable calculation function is a long variable calculation function.

[0076] After determining the variable calculation function corresponding to the variable data type corresponding to the intermediate variable data, the burning control device uses the variable calculation function to perform base conversion on the intermediate variable data, and converts the intermediate variable data into hexadecimal conversion variable data.

[0077] Specifically, after acquiring the conversion variable data, the burning control device also inverts the high and low bits of the conversion variable data according to a preset inversion function to obtain target burning data, and stores the target burning data in a specified table file, thereby reducing the complexity of generating the target burning data and reducing the tediousness of the burning process.

[0078] Specifically, after acquiring the conversion variable data, the burning control device performs high and low bit inversion on the conversion variable data according to the preset inversion function, that is, the burning control device converts the conversion variable data into a conversion variable string, and uses the preset inversion function to obtain the string length of the conversion variable string, rearranges the conversion variable characters in the conversion variable string in reverse order to generate a target burning string, and converts the target burning string into a code variable to obtain the target burning data to be burned, and stores the target burning data in a specified burning table file.

[0079] Optionally, in order to improve the accuracy of burning, after acquiring the target burning data, the burning control device also performs burning detection on the target burning data according to the variable calculation parameter to obtain the burning detection result, and performs reverse reading detection on the target burning data according to the burning detection result and the target reverse reading function to obtain the target detection result. The target detection result is a detection result that characterizes whether there is a data change error in the target burning data.

[0080] 203. Write the target burning data into the target air conditioner to obtain a burning control result.

[0081] Specifically, after the burning control device obtains the target burning data and detects the target burning data to determine that the target burning data is correct, the burning control device writes the target burning data to the target air conditioner to obtain the burning control result.

[0082] That is, after the burning control device obtains the target burning data and the target detection result of the target burning data is a correct variable result, the burning control device reads the target burning data from the burning table file, writes the target burning data into the air conditioner outdoor unit storage module of the target air conditioner, and drives the air conditioner outdoor unit storage module to execute the target burning data to control the air conditioner accordingly. The air conditioner outdoor unit storage module is an outdoor unit drive EEPROM (Electrically Erasable Programmable read only memory) of the target air conditioner.

[0083] In this embodiment, the burning control device obtains the initial variable data to be burned and the variable data type of the initial variable data by responding to the burning control request for the target air conditioner; performs burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain the target burning data; writes the target burning data to the target air conditioner to obtain the burning control result. The target air conditioner is burned by obtaining the initial variable data to be burned and the variable data type corresponding to the initial variable data, and performing intermediate burning parameter calculation according to the initial variable data, the variable data type and the variable calculation parameter, and performing base conversion and high-low bit inversion burning conversion operations on the calculated burning parameters to obtain accurate target burning data, and writing the target burning data to the target air conditioner, so that the target air conditioner can be burned and written without burning the chip, and the burning complexity can be effectively reduced, thereby reducing the burning writing cost and complexity, and can effectively improve the burning accuracy.

[0084] like Figure 3 As shown, Figure 3 This is a flow chart of an embodiment of performing base conversion on intermediate variable data in the burning control method provided in the embodiment of the present application. Specifically, in this embodiment, the burning control method further includes steps 301 to 302:

[0085] 301. If the variable data type of the intermediate variable data is a short variable type, perform hexadecimal conversion on the intermediate variable data based on a short variable calculation function to obtain first converted variable data;

[0086] 302. If the variable data type of the intermediate variable data is a long variable type, perform hexadecimal conversion on the intermediate variable data based on a long variable calculation function to obtain second converted variable data.

[0087] Based on the above embodiment, in this embodiment, after the intermediate variable data is calculated by the initial variable data and the variable calculation parameter, variable conversion is performed according to the variable data type, the variable calculation function and the intermediate variable data, so as to convert the intermediate variable data into hexadecimal conversion variable data. Wherein, different variable data types correspond to different variable calculation functions. For example, in a specific embodiment, the variable data type is a short variable data type, and the corresponding variable calculation function is a short variable calculation function, and the variable data type is a long variable data type, and the corresponding variable calculation function is a long variable calculation function.

[0088] After determining the variable calculation function corresponding to the variable data type corresponding to the intermediate variable data, the burning control device uses the variable calculation function to perform base conversion on the intermediate variable data, and converts the intermediate variable data into hexadecimal conversion variable data.

[0089] Optionally, if the burning control device determines that the data type of the intermediate variable data is a short variable type, it determines that the variable calculation function corresponding to the intermediate variable data is a short variable calculation function, and then performs hexadecimal conversion on the intermediate variable data based on the short variable calculation function to obtain the first converted variable data. In a specific embodiment, the short variable calculation function is IF(LEN(H6)>=2,MID(H6,LEN(H6)-1,2),H6).

[0090] Among them, H6 is the intermediate variable data of the short variable type. The burning control device determines whether the variable data length of the intermediate variable data is greater than or equal to 2 based on the short variable calculation function. If the variable data length of the intermediate variable data is greater than or equal to 2, the burning control device takes the second to last variable character and the first to last variable character in the intermediate variable data as the first conversion variable data. If the variable data length of the intermediate variable data is less than 2, the intermediate variable data is set as the first conversion variable data.

[0091] Optionally, if the burning control device determines that the data type of the intermediate variable data is a long variable type, then determines that the variable calculation function corresponding to the intermediate variable data is a long variable calculation function, and then performs hexadecimal conversion on the intermediate variable data based on the long variable calculation function to obtain second converted variable data. In a specific embodiment, the long variable calculation function is MID(H19,LEN(H19)-1,2).

[0092] Among them, H19 is the intermediate variable data of the long variable type. The burning control device uses the tried calculation function to use the second to last variable character and the first to last variable character in the intermediate variable data of the long variable type as the second converted variable data after hexadecimal conversion.

[0093] Specifically, after acquiring the conversion variable data, the burning control device also inverts the high and low bits of the conversion variable data according to a preset inversion function to obtain target burning data, and stores the target burning data in a specified table file, thereby reducing the complexity of generating the target burning data and reducing the tediousness of the burning process.

[0094] In this embodiment, the burning control device determines that the variable data type of the intermediate variable data is a short variable type, and then performs hexadecimal conversion on the intermediate variable data based on the short variable calculation function to obtain first converted variable data; if the variable data type of the intermediate variable data is a long variable type, then performs hexadecimal conversion on the intermediate variable data based on the long variable calculation function to obtain second converted variable data. The intermediate variable data is converted according to the variable data type and the variable calculation function corresponding to the variable data type, thereby reducing the complexity of variable burning.

[0095] like Figure 4 As shown, Figure 4 This is a flow chart of an embodiment of performing burning detection in the burning control method provided in the embodiment of the present application. Specifically, in this embodiment, the burning control method further includes steps 401 to 403:

[0096] 401. If the burning detection result is a first burning detection result, the target burning data and the variable calculation parameter are divided by a first reverse reading function in a target reverse reading function to obtain a first reverse reading detection parameter.

[0097] 402. If the burning detection result is a second burning detection result, a second reverse reading function in the target reverse reading function is used to calculate the difference between the target burning data and the updated variable data to obtain a second reverse reading detection parameter.

[0098] 403. Generate a target detection result corresponding to the target burning data according to the first reverse reading detection parameter or the second reverse reading detection parameter.

[0099] Based on the above embodiment, in this embodiment, in order to improve the accuracy of burning, after acquiring the target burning data, the burning control device also performs burning detection on the target burning data according to the variable calculation parameter to obtain the burning detection result, and performs reverse reading detection on the target burning data according to the burning detection result and the target reverse reading function to obtain the target detection result. The target detection result is a detection result that characterizes whether there is a data change error in the target burning data.

[0100] Specifically, the burning control device performs variable calculation parameter detection on the target burning data, determines whether the target burning data contains the variable calculation parameter, and generates a burning detection result, wherein the burning detection result includes a first burning detection result and a second burning detection result. The first burning detection result is a burning detection result indicating that the target burning data contains the variable calculation parameter. The second burning detection result is a burning detection result indicating that the target burning data does not contain the variable calculation parameter.

[0101] Specifically, after obtaining the burning detection result, the burning control device selects the corresponding target reverse reading function according to the burning detection result to perform reverse reading detection on the target burning data to obtain the target detection result. That is, if the burning control device determines that the burning detection result is the first burning detection result, the burning control device uses the first reverse reading function in the target reverse reading function to perform reverse reading detection on the target burning data, that is, the burning control device uses the first reverse reading function in the target reverse reading function to divide the target burning data and the variable calculation parameter to obtain the first reverse reading detection parameter. In a specific embodiment, the first reverse reading function expression is decimalValue / 256. The decimalValue is the target burning data. The 256 is the variable calculation parameter.

[0102] Specifically, if the burning control device determines that the burning detection result is the second burning detection result, the second reverse reading function in the target reverse reading function is used to calculate the difference between the target burning data and the updated variable data to obtain the second reverse reading detection parameter. That is, the burning control device uses the second reverse reading function to calculate the difference between the target burning data and the product of the first variable data and the variable calculation parameter to obtain the second reverse reading detection parameter. In a specific embodiment, the second reverse reading function is decimalValue-coefficient1*256. The coefficient1 is the first variable data.

[0103] Specifically, after acquiring the first reverse reading detection parameter or the second reverse reading detection parameter, the burning control device compares the first reverse reading detection parameter or the second reverse reading detection parameter with the specified parameter in the burning conversion process to determine whether the value has changed, and if not, outputs the target detection result corresponding to the normal burning result. If there is a change, the target detection result corresponding to the abnormal burning result is output, and the calculation result is returned to the burning table file, so that the user can accurately locate the abnormal change of the burning variable.

[0104] In this embodiment, the burning control device determines that if the burning detection result is the first burning detection result, the target burning data and the variable calculation parameter are divided by the first reverse reading function in the target reverse reading function to obtain the first reverse reading detection parameter; if the burning detection result is the second burning detection result, the difference between the target burning data and the updated variable data is calculated by the second reverse reading function in the target reverse reading function to obtain the second reverse reading detection parameter; and the target detection result corresponding to the target burning data is generated according to the first reverse reading detection parameter or the second reverse reading detection parameter. Visual detection of the target burning data is achieved to improve the correctness of burning.

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

[0106] The variable acquisition module 501 is configured to respond to a burning control request for a target air conditioner and acquire initial variable data to be burned and a variable data type of the initial variable data;

[0107] The burning conversion module 502 is configured to perform burning conversion according to the initial variable data, variable data type and variable calculation parameter to obtain target burning data;

[0108] The data burning module 503 is configured to write the target burning data into the target air conditioner to obtain a burning control result.

[0109] In a possible implementation of this embodiment, the burning control device performs burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain the target burning data, including:

[0110] Calculate intermediate variable data according to the first variable data, the second variable data and the variable calculation parameter in the initial variable data;

[0111] Perform variable conversion according to the variable data type, the variable calculation function and the intermediate variable data to obtain converted variable data;

[0112] The high and low bits of the conversion variable data are inverted according to a preset inversion function to obtain target burning data.

[0113] In a possible implementation of this embodiment, the burning control device calculates the intermediate variable data according to the first variable data, the second variable data and the variable calculation parameter in the initial variable data, including:

[0114] Acquire variable calculation parameters corresponding to the initial variable data, and first variable data and second variable data in the initial variable data;

[0115] Calculate the product of the first variable data and the variable calculation parameter to obtain updated variable data;

[0116] The sum of the updated variable data and the second variable data is calculated to obtain intermediate variable data.

[0117] In a possible implementation of this embodiment, the burning control device performs variable conversion according to the variable data type, the variable calculation function and the intermediate variable data to obtain the converted variable data, including:

[0118] Obtaining a variable calculation function corresponding to the variable data type, wherein the variable calculation function includes a short variable calculation function and a long variable calculation function;

[0119] The intermediate variable data is converted into a binary system according to the variable data type and the variable calculation function to obtain converted variable data.

[0120] In a possible implementation of this embodiment, the conversion variable data in the burning control device includes first conversion variable data and second conversion variable data;

[0121] The burning control device performs base conversion on the intermediate variable data according to the variable data type and the variable calculation function to obtain converted variable data, including:

[0122] If the variable data type of the intermediate variable data is a short variable type, performing hexadecimal conversion on the intermediate variable data based on a short variable calculation function to obtain first converted variable data;

[0123] If the variable data type of the intermediate variable data is a long variable type, the intermediate variable data is converted into hexadecimal based on a long variable calculation function to obtain second converted variable data.

[0124] In a possible implementation of this embodiment, after the burning control device performs burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain the target burning data, it further includes:

[0125] Perform a burning test on the target burning data according to the variable calculation parameter to obtain a burning test result;

[0126] According to the burning detection result and the target reverse reading function, the target burning data is subjected to reverse reading detection to obtain the target detection result.

[0127] In a possible implementation of this embodiment, the burning control device performs reverse reading detection on the target burning data according to the burning detection result and the target reverse reading function to obtain the target detection result, including:

[0128] If the burning detection result is the first burning detection result, the target burning data and the variable calculation parameter are divided by a first reverse reading function in the target reverse reading function to obtain a first reverse reading detection parameter;

[0129] If the burning detection result is the second burning detection result, the difference between the target burning data and the updated variable data is calculated using the second reverse reading function in the target reverse reading function to obtain a second reverse reading detection parameter;

[0130] A target detection result corresponding to the target burning data is generated according to the first reverse reading detection parameter or the second reverse reading detection parameter.

[0131] In this embodiment, the burning control device obtains the initial variable data to be burned and the variable data type of the initial variable data by responding to the burning control request for the target air conditioner; performs burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain the target burning data; writes the target burning data to the target air conditioner to obtain the burning control result. The burning control result is achieved by obtaining the initial variable data to be burned and the variable data type corresponding to the initial variable data during the burning process of the target air conditioner, and performing intermediate burning parameter calculation according to the initial variable data, the variable data type and the variable calculation parameter, and performing base conversion and high-low bit inversion burning conversion operations on the calculated burning parameters to obtain accurate target burning data, and writing the target burning data to the target air conditioner, so that the variable burning and writing of the target air conditioner can be achieved without burning the chip, and the burning complexity can be effectively reduced, thereby reducing the burning and writing cost and complexity, and can effectively improve the burning accuracy.

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

[0133] The burning control device integrates any one of the burning control devices provided in the embodiments of the present invention, and the burning control device includes:

[0134] one or more processors;

[0135] Memory; and

[0136] 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 burning control method described in any of the above-mentioned burning control method embodiments.

[0137] Specifically, the burning control device may include one or more processing core processors 601, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will understand that Figure 6The structure of the burning control device shown in the figure does not constitute a limitation on the burning control device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0138] The processor 601 is the control center of the burning control device. It uses various interfaces and lines to connect various parts of the entire burning control device. By running or executing software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it executes various functions of the burning control device and processes data, thereby monitoring the burning control device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 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 601.

[0139] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 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 the burning control device, etc. In addition, the memory 602 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 602 may also include a memory controller to provide the processor 601 with access to the memory 602.

[0140] The burning control device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 603 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0141] The burning control device may further include an input unit 604, 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.

[0142] Although not shown, the burning control device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 601 in the burning control device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application programs stored in the memory 602, thereby realizing various functions, as follows:

[0143] In response to a burning control request for a target air conditioner, obtaining initial variable data to be burned and a variable data type of the initial variable data;

[0144] Perform burning conversion according to the initial variable data, variable data type and variable calculation parameters to obtain target burning data;

[0145] The target burning data is written into the target air conditioner to obtain a burning control result.

[0146] 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 one of the burning control methods provided in the embodiments of the present invention. For example, the computer program may be loaded by a processor to execute the following steps:

[0147] In response to a burning control request for a target air conditioner, obtaining initial variable data to be burned and a variable data type of the initial variable data;

[0148] Perform burning conversion according to the initial variable data, variable data type and variable calculation parameters to obtain target burning data;

[0149] The target burning data is written into the target air conditioner to obtain a burning control result.

[0150] 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.

[0151] 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.

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

[0153] The above is a detailed introduction to a burning control method provided in an embodiment of the present application. The principles and implementation methods of the present invention are explained in this article using specific embodiments. 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 those skilled in the art, 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 limiting the present invention.

Claims

1. A burning control method, characterized in that: The burning control method comprises: In response to a burning control request for a target air conditioner, obtaining initial variable data to be burned and a variable data type of the initial variable data; Perform burning conversion according to the initial variable data, variable data type and variable calculation parameters to obtain target burning data; The target burning data is written into the target air conditioner to obtain a burning control result.

2. The burning control method according to claim 1, characterized in that: The step of performing burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain target burning data includes: Calculate intermediate variable data according to the first variable data, the second variable data and the variable calculation parameter in the initial variable data; Perform variable conversion according to the variable data type, the variable calculation function and the intermediate variable data to obtain converted variable data; The high and low bits of the conversion variable data are inverted according to a preset inversion function to obtain target burning data.

3. The burning control method according to claim 2, characterized in that: The step of calculating the intermediate variable data according to the first variable data, the second variable data and the variable calculation parameters in the initial variable data includes: Acquire variable calculation parameters corresponding to the initial variable data, and first variable data and second variable data in the initial variable data; Calculate the product of the first variable data and the variable calculation parameter to obtain updated variable data; The sum of the updated variable data and the second variable data is calculated to obtain intermediate variable data.

4. The burning control method according to claim 2, characterized in that: The step of performing variable conversion according to the variable data type, the variable calculation function and the intermediate variable data to obtain converted variable data includes: Obtaining a variable calculation function corresponding to the variable data type, wherein the variable calculation function includes a short variable calculation function and a long variable calculation function; The intermediate variable data is converted into a binary system according to the variable data type and the variable calculation function to obtain converted variable data.

5. The burning control method according to claim 4, characterized in that: The conversion variable data includes first conversion variable data and second conversion variable data; The step of converting the intermediate variable data into a binary system according to the variable data type and the variable calculation function to obtain converted variable data includes: If the variable data type of the intermediate variable data is a short variable type, performing hexadecimal conversion on the intermediate variable data based on a short variable calculation function to obtain first converted variable data; If the variable data type of the intermediate variable data is a long variable type, the intermediate variable data is converted into hexadecimal based on a long variable calculation function to obtain second converted variable data.

6. The burning control method according to any one of claims 1 to 5, characterized in that: After performing the burning conversion according to the initial variable data, the variable data type and the variable calculation parameter to obtain the target burning data, the method further includes: Perform a burning test on the target burning data according to the variable calculation parameter to obtain a burning test result; According to the burning detection result and the target reverse reading function, the target burning data is subjected to reverse reading detection to obtain the target detection result.

7. The burning control method according to claim 6, characterized in that: The step of performing reverse reading detection on the target programming data according to the programming detection result and the target reverse reading function to obtain the target detection result includes: If the burning detection result is the first burning detection result, the target burning data and the variable calculation parameter are divided by a first reverse reading function in the target reverse reading function to obtain a first reverse reading detection parameter; If the burning detection result is the second burning detection result, the difference between the target burning data and the updated variable data is calculated using the second reverse reading function in the target reverse reading function to obtain a second reverse reading detection parameter; A target detection result corresponding to the target burning data is generated according to the first reverse reading detection parameter or the second reverse reading detection parameter.

8. A burning control device, characterized in that: The burning control device comprises: A variable acquisition module, configured to respond to a burning control request for a target air conditioner, and acquire initial variable data to be burned and a variable data type of the initial variable data; A burning conversion module is configured to perform burning conversion according to the initial variable data, variable data type and variable calculation parameter to obtain target burning data; The data burning module is configured to write the target burning data into the target air conditioner to obtain a burning control result.

9. A burning control device, characterized in that: The burning control 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 configured to be executed by the processor to implement the steps of the burning control 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 burning control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data burning method and apparatus

    CN107766058A

  • Data storage method, device and equipment of air conditioner and storage medium

    CN113849510A

  • Information burning method, device and equipment and storage medium

    CN116088880A