Air conditioner parameter processing method and device, equipment, storage medium and air conditioner
By monitoring the storage space status of air conditioner parameters and using the backup space to obtain the parameters, the problem of complex and high error rate in air conditioner parameter backup is solved, and fast and accurate parameter recovery is achieved.
Patent Information
- Application Number
- CN202311127810.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-01
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2043-09-01
AI Technical Summary
The backup and recovery process for air conditioning parameters in existing technologies is complex and has a high error rate, making it easy to make mistakes in setting air conditioning parameters.
By monitoring the status of the first and second storage spaces, backup parameters are obtained under abnormal conditions using the preset backup space, and the backup parameters are stored in the corresponding storage space to achieve rapid parameter recovery.
It enables rapid recovery of air conditioning parameters, reduces backup error rate, and improves backup and recovery efficiency.
Smart Images

Figure CN119554736B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of air conditioners, and in particular to an air conditioner parameter processing method, device, equipment, storage medium and air conditioner. BACKGROUND
[0002] Air conditioners have become important smart homes in life, and related parameters of air conditioners are particularly important. Taking a central air conditioner as an example, a central air conditioner is used in places such as shopping malls, subways, airports, hospitals, factories, data centers and the like for a relatively long time in a year, and the working environment of the central air conditioner is relatively harsh, and the service life of electronic products is relatively shortened. For a single unit, the operating parameters and part of the data record of the product are important. For example, if a problem occurs in the controller of the air conditioner, after the abnormal controller is replaced, the related parameters (such as communication parameters and compressor running time for multiple unit joint control) need to be re-set, which is prone to errors.
[0003] In related technologies, the setting of air conditioner parameters needs to query data backup and manually compare and set, the setting process is cumbersome and prone to errors, data is easily lost, and maintenance is relatively complex. SUMMARY
[0004] The present application provides an air conditioner parameter processing method, device, equipment, storage medium and air conditioner to solve the defects of complex parameter backup recovery and high error rate in the prior art, and to achieve timely acquisition of air conditioner backup parameters from a backup space when air conditioner parameters are abnormal, and further achieve recovery of air conditioner parameters, high backup recovery efficiency and low backup error rate.
[0005] In a first aspect, the present application provides an air conditioner parameter processing method, comprising:
[0006] monitoring a first state of a first air conditioner parameter in a first storage space and monitoring a second state of a second air conditioner parameter in a second storage space;
[0007] in a case where the first state indicates an abnormal state, acquiring a second air conditioner backup parameter from a preset second backup space, and in a case where the second state indicates an abnormal state, acquiring a first air conditioner backup parameter from a preset first backup space; wherein the second air conditioner backup parameter stored in the second backup space is obtained by backup storage of the first air conditioner parameter in the first storage space, and the first air conditioner backup parameter stored in the first backup space is obtained by backup storage of the second air conditioner parameter in the second storage space;
[0008] storing the second air conditioner backup parameter in the first storage space and storing the first air conditioner backup parameter in the second storage space.
[0009] Preferably, the second backup space stores data obtained by backing up the data of the first storage space, including:
[0010] A preset parameter backup time is obtained.
[0011] The parameter backup time and a preset time threshold are compared to obtain a time comparison result.
[0012] Based on the time comparison result, the first air conditioner parameter in the first storage space is backed up to the second backup space.
[0013] Preferably, the time comparison result at least includes a first time result and a second time result.
[0014] The comparison of the parameter backup time and the preset time threshold to obtain the time comparison result includes:
[0015] If the parameter backup time is greater than or equal to the time threshold, the first time result is obtained.
[0016] If the parameter backup time is less than the time threshold, the second time result is obtained.
[0017] Preferably, based on the time comparison result, the first air conditioner parameter in the first storage space is backed up to the second backup space, including:
[0018] According to the first time result, the first air conditioner parameter in the first storage space is backed up to the second backup space.
[0019] According to the second time result, the change of the byte number of the first air conditioner parameter in the first storage space is monitored.
[0020] If the byte number of the first air conditioner parameter is determined to change, the first air conditioner parameter in the first storage space is backed up to the second backup space.
[0021] Preferably, the first air conditioner parameter in the first storage space is backed up to the second backup space, including:
[0022] A physical address pointing to the first air conditioner parameter is obtained, and the byte number of the first air conditioner parameter is obtained.
[0023] According to the byte number of the first air conditioner parameter, a parameter backup space with the same size as the byte number is divided from the second backup space, and a backup address corresponding to the parameter backup space is obtained;
[0024] A communication address between the first storage space and the second backup space is constructed.
[0025] Based on the communication address, the physical address and the backup address, the first air conditioner parameter in the first storage space is backed up to the parameter backup space.
[0026] Preferably, according to the air conditioner parameter processing method provided by the application, the method of backing up the first air conditioner parameter in the first storage space to the parameter backup space based on the communication address, the physical address and the backup address comprises:
[0027] The first air conditioner parameter in the first storage space is backed up to the communication address storage.
[0028] The storage condition of the storage space pointed to by the communication address is monitored.
[0029] In the case that the storage space pointed to by the communication address indicates that there is data storage, the first air conditioner parameter is obtained from the storage space pointed to by the communication address, and the first air conditioner parameter is stored in the parameter backup space pointed to by the backup address.
[0030] In a second aspect, the application further provides an air conditioner parameter processing device, comprising:
[0031] A monitoring module is configured to monitor the first state of the first air conditioner parameter in the first storage space and monitor the second state of the second air conditioner parameter in the second storage space.
[0032] An obtaining module is configured to obtain the second air conditioner backup parameter from a preset second backup space in the case that the first state indicates an abnormal state, and obtain the first air conditioner backup parameter from a preset first backup space in the case that the second state indicates an abnormal state; wherein the second air conditioner backup parameter stored in the second backup space is obtained by backing up the first air conditioner parameter in the first storage space, and the first air conditioner backup parameter stored in the first backup space is obtained by backing up the second air conditioner parameter in the second storage space.
[0033] A storage module is configured to store the second air conditioner backup parameter in the first storage space and store the first air conditioner backup parameter in the second storage space.
[0034] In a third aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the air conditioner parameter processing method according to any one of the above aspects when executing the program.
[0035] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the air conditioner parameter processing method according to any one of the above aspects.
[0036] In a fifth aspect, the present application provides a computer program product, comprising a computer program, wherein the computer program, when executed by a processor, implements the steps of the air conditioner parameter processing method according to any one of the above aspects.
[0037] In a sixth aspect, the present application provides an air conditioner, comprising a controller, wherein the controller implements the steps of the air conditioner parameter processing method according to any one of the above aspects when executing the program.
[0038] The air conditioner parameter processing method, device, equipment, storage medium and air conditioner provided by the present application, by monitoring the first state of the first air conditioner parameter in the first storage space and the second state of the second air conditioner parameter in the second storage space, obtaining the second air conditioner backup parameter from the preset second backup space in the case that the first state indicates an abnormal state, and obtaining the first air conditioner backup parameter from the preset first backup space in the case that the second state indicates an abnormal state, wherein the second air conditioner backup parameter stored in the second backup space is obtained by backup storage of the first air conditioner parameter in the first storage space, and the first air conditioner backup parameter stored in the first backup space is obtained by backup storage of the second air conditioner parameter in the second storage space; storing the second air conditioner backup parameter in the first storage space and storing the first air conditioner backup parameter in the second storage space, to solve the defects of complex parameter backup recovery and high error rate in the prior art, to timely obtain the air conditioner backup parameter from the backup space when the air conditioner parameter is abnormal, and to further realize the recovery of the air conditioner parameter, with high backup recovery efficiency and low backup error rate. BRIEF DESCRIPTION OF DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings described below are some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without any creative effort.
[0040] Figure 1This is one of the flowcharts illustrating an air conditioning parameter processing method provided by the present invention;
[0041] Figure 2 This is a second flowchart illustrating an air conditioning parameter processing method provided by the present invention;
[0042] Figure 3 This is a schematic diagram of the structure of an air conditioning parameter processing device provided by the present invention;
[0043] Figure 4 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0045] The following is combined Figures 1-4 This invention describes an air conditioner parameter processing method, apparatus, device, storage medium, and air conditioner, which addresses the shortcomings of existing technologies such as complex parameter backup and recovery and high error rates. It enables timely retrieval of air conditioner backup parameters from the backup space when abnormal air conditioner parameters occur, thereby achieving air conditioner parameter recovery with high backup and recovery efficiency and low backup error rate.
[0046] like Figure 1 As shown, it is one of the implementation flow diagrams of an air conditioner parameter processing method provided by an embodiment of the present invention. An air conditioner parameter processing method may include, but is not limited to, steps S100 to S300.
[0047] S100, monitor the first state of the first air conditioning parameter in the first storage space, and monitor the second state of the second air conditioning parameter in the second storage space;
[0048] S200, when the first state indication is an abnormal state, the second air conditioner backup parameters are obtained from the preset second backup space, and when the second state indication is an abnormal state, the first air conditioner backup parameters are obtained from the preset first backup space; wherein, the second air conditioner backup parameters stored in the second backup space are obtained by backing up and storing the first air conditioner parameters in the first storage space, and the first air conditioner backup parameters stored in the first backup space are obtained by backing up and storing the second air conditioner parameters in the second storage space.
[0049] S300, store the second air conditioner backup parameters in the first storage space, and store the first air conditioner backup parameters in the second storage space.
[0050] It should be noted that the executing entity of the air conditioning parameter processing method in this embodiment of the invention can be a hardware device with data information processing capability and / or the necessary software to drive the hardware device to work.
[0051] Optionally, the executing entity may include, but is not limited to, workstations, servers, computers, user terminals, and other intelligent devices. User terminals include, but are not limited to, mobile phones, computers, intelligent voice interaction devices, smart home appliances, and in-vehicle terminals.
[0052] In step S100 of some embodiments, a first state of a first air conditioning parameter in a first storage space is monitored, and a second state of a second air conditioning parameter in a second storage space is monitored.
[0053] First, it should be noted that the first storage space can be used to store parameter settings on the touchscreen, while the second storage space can be used to store parameter settings on the controller. Of course, the parameter setting storage areas corresponding to the first and second storage spaces can be interchanged depending on the actual situation; no specific limitations are made here.
[0054] Here's an example where the first storage space is the parameter setting storage area on the touchscreen, and the second storage space is the parameter setting storage area on the controller. The first storage space stores the first air conditioning parameter, which is the air conditioning parameter set on the touchscreen, and the second storage space stores the second air conditioning parameter, which is the air conditioning parameter set on the controller.
[0055] It should be noted that air conditioning parameters can be divided into unit user parameters and unit model parameters. Unit user parameters include: target temperature, user password, compressor start count, compressor running time, etc.
[0056] Unit model parameters: refrigerant type, target superheat, exhaust temperature and pressure protection values, PID control parameters for electronic expansion valve opening, etc.
[0057] Let the first storage space be TS and the second storage space be CS.
[0058] In step S200 of some embodiments, when the first state indicates an abnormal state, the second air conditioning backup parameters are obtained from the preset second backup space, and when the second state indicates an abnormal state, the first air conditioning backup parameters are obtained from the preset first backup space.
[0059] It should be noted that the second air conditioner backup parameters stored in the second backup space are obtained by backing up the first air conditioner parameters in the first storage space, and the first air conditioner backup parameters stored in the first backup space are obtained by backing up the second air conditioner parameters in the second storage space.
[0060] The second backup space refers to the storage area on the touchscreen's storage space that backs up the controller parameters, while the first backup space refers to the storage area on the controller's storage space that backs up the touchscreen parameters.
[0061] Let the second backup space be TB and the first backup space be CB.
[0062] It is understandable that when the first state indication is detected as an abnormal state, the second air conditioner backup parameters are obtained from the preset second backup space, and when the second state indication is detected as an abnormal state, the first air conditioner backup parameters are obtained from the preset first backup space.
[0063] In step S300 of some embodiments, the second air conditioner backup parameters are stored in the first storage space, and the first air conditioner backup parameters are stored in the second storage space.
[0064] It is understandable that after executing step S200, the specific execution steps can be as follows: the second air conditioning backup parameters obtained from the second backup space are stored in the first storage space, and the first air conditioning backup parameters obtained from the first backup space are stored in the second storage space. This way, when the data stored in the first storage space / second storage space is abnormal, the corresponding air conditioning backup parameter data can be quickly obtained from the backup space, thereby restoring the air conditioning parameter data.
[0065] The first backup space is stored in the memory corresponding to the touchscreen, and the second backup space is stored in the memory corresponding to the controller. The first storage space is the parameter setting storage area on the touchscreen, and the second storage space is the parameter setting storage area on the controller.
[0066] In some embodiments of the present invention, the data stored in the second backup space is obtained by backing up the data in the first storage space, including:
[0067] Obtain the preset parameter backup time;
[0068] The parameter backup time is compared with a preset time threshold to obtain a time comparison result;
[0069] Based on the time comparison result, the first air conditioning parameters in the first storage space are backed up to the second backup space.
[0070] Understandably, a preset parameter backup time is obtained, such as backing up every 2 minutes. The parameter backup time is compared with a preset time threshold. If the parameter backup time is greater than or equal to the time threshold, the first result is obtained.
[0071] If the parameter backup time is less than the time threshold, a second time result is obtained.
[0072] It should be noted that the time comparison results include at least: the first time result and the second time result.
[0073] Based on the first time result that the parameter backup time is greater than or equal to the time threshold, the first air conditioner parameter in the first storage space is directly backed up to the second backup space.
[0074] Based on the second time result that the parameter backup time is less than the time threshold, monitor the change in the number of bytes of the first air conditioner parameter in the first storage space. If it is determined that the number of bytes of the first air conditioner parameter has changed, then back up the first air conditioner parameter in the first storage space to the second backup space.
[0075] That is, if the number of bytes of the first air conditioner parameter is detected to change before the fixed backup time is reached, whether the number of bytes increases or decreases, it is considered that the first air conditioner parameter has changed, and a backup is immediately performed to back up the first air conditioner parameter in the first storage space to the second backup space.
[0076] In some embodiments of the present invention, the step of backing up the first air conditioning parameter in the first storage space to the second backup space may specifically include: firstly, obtaining the physical address D1 pointing to the first air conditioning parameter, and obtaining the number of bytes of the first air conditioning parameter. Then, based on the number of bytes of the first air conditioning parameter, dividing a parameter backup space of the same size as the number of bytes from the second backup space, and obtaining the backup address D2 corresponding to the parameter backup space.
[0077] A communication address D3 is constructed between the first storage space and the second backup space. Based on the communication address, the physical address, and the backup address, the first air conditioning parameters in the first storage space are backed up to the parameter backup space.
[0078] Furthermore, the first air conditioning parameters in the first storage space are backed up to the communication address D3 for storage.
[0079] The storage status of the storage space pointed to by the communication address is monitored. If the storage space pointed to by the communication address indicates that data is stored, the first air conditioning parameter is obtained from the storage space pointed to by the communication address D3, and the first air conditioning parameter is stored in the parameter backup space pointed to by the backup address D2, thereby efficiently realizing the backup of air conditioning parameter data.
[0080] The first air conditioner backup parameters stored in the first backup space are obtained by backing up the second air conditioner parameters in the second storage space. The execution steps are the same as those for the second air conditioner backup parameters stored in the second backup space, which are obtained by backing up the first air conditioner parameters in the first storage space. Therefore, they will not be repeated here.
[0081] Figure 2 This is a second flowchart illustrating an air conditioning parameter processing method provided by the present invention. TS to CB means backing up the first air conditioning parameter in the parameter setting storage area TS on the touchscreen to the corresponding memory on the controller. CS to TB means backing up the second air conditioning parameter in the parameter setting storage area CS on the controller to the memory on the touchscreen. Thus, if the data stored in TS is abnormal, it can be recovered from CB. If the data in CS is abnormal, it can be recovered from TB.
[0082] In some embodiments of the present invention, compressor running time is considered. In centralized control of multiple units, if the running time of a compressor is not backed up, and the controller is replaced, the default running time of the controller is zero. In subsequent operations, according to the principle of time-balanced operation, the compressor with the replaced controller will be prioritized, resulting in a longer actual running time, especially for compressors whose controllers have failed after many years of operation. After the backup operation, the controller updates and backs up the running time on the touchscreen at regular intervals (approximately one hour, or shorter intervals depending on the situation). If the controller fails, after replacing it with a new controller, the actual running time recorded on the touchscreen can be updated to the new controller, accumulating the original running time. If the controller fails, this running time can be immediately changed to the controller parameter storage area on the touchscreen.
[0083] For the controller's storage area, a storage space can generally be allocated in advance, such as the 16K EEPROM storage area of the microcontroller, for example, by specifying physical addresses 2FFFH-3FFFH. (This area stores current alarm upper limits, intake overheat target values, etc.). The values in the controller's storage area are typically mapped to the same logical address (such as a MODBUS address) and a separate storage area on the touchscreen (specified in a similar way to the microcontroller). A connection is established through the same communication address.
[0084] For example, if the address 3AAAH on the microcontroller stores a current alarm limit value of 260 (indicating a current alarm at 260A), and 40030 is designated as its MODBUS communication address, upon initial power-on, when the user selects to save the data to the touchscreen, pre-written logic is triggered. This logic queries address 40030 and stores the value 260 into the touchscreen's local storage space (e.g., RW200; due to secondary development, the naming of local storage addresses varies between manufacturers). This completes the parameter storage on the microcontroller. After completion, it checks if the value in RW200 matches the value in 40030; if they match, a completion message is issued. This logic involves the touchscreen reading from the microcontroller's storage address, and the touchscreen storage is represented as a write operation. Other storage logic from the touchscreen to the microcontroller is similar. This makes subsequent device maintenance faster, more convenient, and less prone to errors.
[0085] This invention provides an air conditioning parameter processing method, apparatus, device, storage medium, and air conditioner. It monitors a first state of a first air conditioning parameter in a first storage space and a second state of a second air conditioning parameter in a second storage space. When the first state indicates an abnormal state, it retrieves a second air conditioning backup parameter from a preset second backup space; conversely, when the second state indicates an abnormal state, it retrieves a first air conditioning backup parameter from a preset first backup space. The second air conditioning backup parameter stored in the second backup space is obtained by backing up the first air conditioning parameter in the first storage space, and the first air conditioning backup parameter stored in the first backup space is obtained by backing up the second air conditioning parameter in the second storage space. The second air conditioning backup parameter is stored in the first storage space, and the first air conditioning backup parameter is stored in the second storage space. This addresses the shortcomings of existing technologies where parameter backup and recovery are complex and have a high error rate. It enables timely retrieval of air conditioning backup parameters from the backup space when abnormal air conditioning parameters occur, thereby achieving air conditioning parameter recovery with high backup and recovery efficiency and a low backup error rate.
[0086] The present invention provides an air conditioning parameter processing device, which can be referred to in correspondence with the air conditioning parameter processing method described above.
[0087] Figure 3 This is a schematic diagram of the structure of an air conditioning parameter processing device provided by the present invention. The air conditioning parameter processing device includes:
[0088] The monitoring module 310 is used to monitor the first state of the first air conditioning parameter in the first storage space and the second state of the second air conditioning parameter in the second storage space.
[0089] The acquisition module 320 is used to acquire second air conditioner backup parameters from a preset second backup space when the first state indicates an abnormal state, and to acquire first air conditioner backup parameters from a preset first backup space when the second state indicates an abnormal state; wherein the second air conditioner backup parameters stored in the second backup space are obtained by backing up and storing the first air conditioner parameters in the first storage space, and the first air conditioner backup parameters stored in the first backup space are obtained by backing up and storing the second air conditioner parameters in the second storage space;
[0090] Storage module 330 is used to store the second air conditioner backup parameters in the first storage space and store the first air conditioner backup parameters in the second storage space.
[0091] Preferably, in the air conditioning parameter processing device provided by the present invention, the step of storing data in the second backup space as data obtained by backing up and storing data in the first storage space is specifically used to obtain a preset parameter backup time;
[0092] The parameter backup time is compared with a preset time threshold to obtain a time comparison result;
[0093] Based on the time comparison result, the first air conditioning parameters in the first storage space are backed up to the second backup space.
[0094] Preferably, in an air conditioning parameter processing device provided by the present invention, the time comparison result includes at least: a first time result and a second time result;
[0095] The step of comparing the parameter backup time with a preset time threshold to obtain a time comparison result is specifically used to obtain a first time result if the parameter backup time is greater than or equal to the time threshold.
[0096] If the parameter backup time is less than the time threshold, then a second time result is obtained.
[0097] Preferably, in an air conditioning parameter processing device provided by the present invention, the step of backing up the first air conditioning parameter in the first storage space to the second backup space based on the time comparison result is specifically used to back up the first air conditioning parameter in the first storage space to the second backup space according to the first time result;
[0098] Based on the second time result, monitor the change in the number of bytes of the first air conditioner parameter in the first storage space;
[0099] If it is determined that the number of bytes of the first air conditioner parameter has changed, then the first air conditioner parameter in the first storage space is backed up to the second backup space.
[0100] Preferably, in an air conditioning parameter processing device provided by the present invention, the step of backing up the first air conditioning parameter in the first storage space to the second backup space is specifically used to obtain the physical address pointing to the first air conditioning parameter and to obtain the number of bytes of the first air conditioning parameter;
[0101] Based on the number of bytes of the first air conditioner parameter, a parameter backup space of the same size as the number of bytes is allocated from the second backup space, and the backup address corresponding to the parameter backup space is obtained;
[0102] Establish the communication address between the first storage space and the second backup space;
[0103] Based on the communication address, the physical address, and the backup address, the first air conditioner parameters in the first storage space are backed up to the parameter backup space.
[0104] Preferably, in an air conditioning parameter processing device provided by the present invention, the step of backing up the first air conditioning parameters in the first storage space to the parameter backup space based on the communication address, the physical address and the backup address is specifically used to back up the first air conditioning parameters in the first storage space to the communication address for storage;
[0105] Monitor the storage status of the storage space pointed to by the communication address;
[0106] If the storage space pointed to by the communication address indicates that data is stored, the first air conditioning parameter is obtained from the storage space pointed to by the communication address, and the first air conditioning parameter is stored in the parameter backup space pointed to by the backup address.
[0107] This invention provides an air conditioning parameter processing method, apparatus, device, storage medium, and air conditioner. It monitors a first state of a first air conditioning parameter in a first storage space and a second state of a second air conditioning parameter in a second storage space. When the first state indicates an abnormal state, it retrieves a second air conditioning backup parameter from a preset second backup space; conversely, when the second state indicates an abnormal state, it retrieves a first air conditioning backup parameter from a preset first backup space. The second air conditioning backup parameter stored in the second backup space is obtained by backing up the first air conditioning parameter in the first storage space, and the first air conditioning backup parameter stored in the first backup space is obtained by backing up the second air conditioning parameter in the second storage space. The second air conditioning backup parameter is stored in the first storage space, and the first air conditioning backup parameter is stored in the second storage space. This addresses the shortcomings of existing technologies where parameter backup and recovery are complex and have a high error rate. It enables timely retrieval of air conditioning backup parameters from the backup space when abnormal air conditioning parameters occur, thereby achieving air conditioning parameter recovery with high backup and recovery efficiency and a low backup error rate.
[0108] Figure 4 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430, and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute an air conditioning parameter processing method. This method includes: monitoring a first state of a first air conditioning parameter in a first storage space, and monitoring a second state of a second air conditioning parameter in a second storage space; if the first state indicates an abnormal state, obtaining a second air conditioning backup parameter from a preset second backup space, and if the second state indicates an abnormal state, obtaining a first air conditioning backup parameter from a preset first backup space; wherein the second air conditioning backup parameter stored in the second backup space is obtained by backing up the first air conditioning parameter in the first storage space, and the first air conditioning backup parameter stored in the first backup space is obtained by backing up the second air conditioning parameter in the second storage space; storing the second air conditioning backup parameter in the first storage space, and storing the first air conditioning backup parameter in the second storage space.
[0109] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0110] On the other hand, the present invention also provides a computer program product, the computer program product including a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute an air conditioning parameter processing method provided by the above methods. The method includes: monitoring a first state of a first air conditioning parameter in a first storage space, and monitoring a second state of a second air conditioning parameter in a second storage space; when the first state indicates an abnormal state, obtaining a second air conditioning backup parameter from a preset second backup space, and when the second state indicates an abnormal state, obtaining a first air conditioning backup parameter from a preset first backup space; wherein the second air conditioning backup parameter stored in the second backup space is obtained by backing up the first air conditioning parameter in the first storage space, and the first air conditioning backup parameter stored in the first backup space is obtained by backing up the second air conditioning parameter in the second storage space; storing the second air conditioning backup parameter in the first storage space, and storing the first air conditioning backup parameter in the second storage space.
[0111] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements an air conditioning parameter processing method provided by the above methods. The method includes: monitoring a first state of a first air conditioning parameter in a first storage space, and monitoring a second state of a second air conditioning parameter in a second storage space; when the first state indicates an abnormal state, obtaining a second air conditioning backup parameter from a preset second backup space, and when the second state indicates an abnormal state, obtaining a first air conditioning backup parameter from a preset first backup space; wherein the second air conditioning backup parameter stored in the second backup space is obtained by backing up the first air conditioning parameter in the first storage space, and the first air conditioning backup parameter stored in the first backup space is obtained by backing up the second air conditioning parameter in the second storage space; storing the second air conditioning backup parameter in the first storage space, and storing the first air conditioning backup parameter in the second storage space.
[0112] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0113] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method of processing air conditioning parameters, characterized by, The method comprises: monitoring a first state of a first air conditioning parameter in a first storage space and monitoring a second state of a second air conditioning parameter in a second storage space; in a case where the first state indicates an abnormal state, obtaining a second air conditioning backup parameter from a preset second backup space, and in a case where the second state indicates an abnormal state, obtaining a first air conditioning backup parameter from a preset first backup space; wherein the second air conditioning backup parameter stored in the second backup space is obtained by backup storage of the first air conditioning parameter in the first storage space, and the first air conditioning backup parameter stored in the first backup space is obtained by backup storage of the second air conditioning parameter in the second storage space; the data stored in the second backup space is obtained by backup storage of the data in the first storage space, comprising: obtaining a preset parameter backup time; comparing the parameter backup time with a preset time threshold to obtain a time comparison result; based on the time comparison result, backing up the first air conditioning parameter in the first storage space to the second backup space; the time comparison result at least includes: a first time result, a second time result; the comparison processing of the parameter backup time and the preset time threshold to obtain the time comparison result comprises: if the parameter backup time is greater than or equal to the time threshold, a first time result is obtained, and the first time result is used to trigger a backup mechanism to backup the first air conditioning parameter in the first storage space to the second backup space; if the parameter backup time is less than the time threshold, a second time result is obtained, and the second time result is used to trigger a data update mechanism; storing the second air conditioning backup parameter in the first storage space and storing the first air conditioning backup parameter in the second storage space.
2. The air conditioning parameter processing method of claim 1, wherein based on the time comparison result, backing up the first air conditioning parameter in the first storage space to the second backup space comprises: according to the first time result, backing up the first air conditioning parameter in the first storage space to the second backup space; according to the second time result, monitoring the change of the byte number of the first air conditioning parameter in the first storage space; in a case where it is determined that the byte number of the first air conditioning parameter has changed, backing up the first air conditioning parameter in the first storage space to the second backup space.
3. The air conditioning parameter processing method of claim 1, wherein backing up the first air conditioning parameter in the first storage space to the second backup space comprises: obtaining a physical address pointing to the first air conditioning parameter, and obtaining a byte number of the first air conditioning parameter; according to the byte number of the first air conditioning parameter, dividing a parameter backup space of the same size as the byte number from the second backup space, and obtaining a backup address corresponding to the parameter backup space; constructing a communication address between the first storage space and the second backup space; based on the communication address, the physical address and the backup address, backing up the first air conditioner parameters in the first storage space to the parameter backup space.
4. The air conditioner parameter processing method of claim 3, wherein the backing up the first air conditioner parameters in the first storage space to the parameter backup space based on the communication address, the physical address and the backup address comprises: backing up the first air conditioner parameters in the first storage space to the communication address storage; monitoring a storage condition of the storage space pointed by the communication address; in a case that the storage space pointed by the communication address indicates data storage, acquiring the first air conditioner parameters from the storage space pointed by the communication address and storing the first air conditioner parameters in the parameter backup space pointed by the backup address.
5. An air conditioning parameter processing device characterized by comprising: comprises: a monitoring module, configured to monitor a first state of first air conditioner parameters in a first storage space and monitor a second state of second air conditioner parameters in a second storage space; an acquiring module, configured to acquire second air conditioner backup parameters from a preset second backup space in a case that the first state indicates an abnormal state, and acquire first air conditioner backup parameters from a preset first backup space in a case that the second state indicates an abnormal state; wherein the second air conditioner backup parameters stored in the second backup space are obtained by backup storage of the first air conditioner parameters in the first storage space, and the first air conditioner backup parameters stored in the first backup space are obtained by backup storage of the second air conditioner parameters in the second storage space; data stored in the second backup space is obtained by backup storage of data in the first storage space, comprising: acquiring a preset parameter backup time; comparing the parameter backup time with a preset time threshold to obtain a time comparison result; based on the time comparison result, backing up the first air conditioner parameters in the first storage space to the second backup space; the time comparison result at least comprises: a first time result and a second time result; the comparing the parameter backup time with the preset time threshold to obtain the time comparison result comprises: if the parameter backup time is greater than or equal to the time threshold, a first time result is obtained, the first time result is used to trigger a backup mechanism to backup the first air conditioner parameters in the first storage space to the second backup space; if the parameter backup time is less than the time threshold, a second time result is obtained, the second time result is used to trigger a data update mechanism; a storage module, configured to store the second air conditioner backup parameters in the first storage space and store the first air conditioner backup parameters in the second storage space.
6. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to realize the steps of the air conditioner parameter processing method of any one of claims 1 to 4.
7. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program, when executed by a processor, implements the steps of the air conditioning parameter processing method according to any one of claims 1 to 4.
8. An air conditioner comprising a controller, characterized by The controller, when executed, implements the steps of the air conditioning parameter processing method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Outdoor machine, its control method, and air conditioning system
JP2004271021A
Air conditioner and method for controlling the same
KR101915993B1