Air conditioner and control method, device, storage medium and product thereof
By using the main control board in electronic devices to generate and store operating parameters in a centralized manner, and sending them to the auxiliary control board after power supply is restored, the problem of high power consumption and long recovery time in the power-down memory function of electronic devices is solved, achieving lower power consumption and faster recovery of operation.
Patent Information
- Application Number
- CN202411794293.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-08
AI Technical Summary
When the electronic equipment with split structure realizes the power loss memory function, the power consumption of the electronic control system increases, the recovery operation time is too long, and the two-way transmission of operating parameters is cumbersome, which can easily lead to mistransmission or loss of parameters, affecting the user experience.
The main control board is used to generate and store all operating parameters of the electronic device. After the power supply is restored, the main control board sends the operating parameters to each auxiliary control board, simplifying the power down recovery control steps and reducing the power consumption of the electronic control system.
It shortens the recovery and running time of electronic equipment, reduces the power consumption of the electronic control system, simplifies the architecture of the electronic control system, and improves the user experience.
Smart Images

Figure CN119778839A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of air conditioning, and in particular to an electronic device and a control method, device, storage medium and product thereof. Background Art
[0002] For electronic devices with more loads or split structures, the electronic devices usually use a distributed electric control system, that is, the electric control system is equipped with multiple electric control boards to control the operation of different loads, such as a split air conditioner. Specifically, when the electronic device is running, each electric control board generates its own operating parameters based on the user-set parameters and the current operating status of the corresponding load, and drives the corresponding load to operate based on the operating parameters.
[0003] In order to ensure that electronic equipment can quickly resume operation after power failure, some electronic equipment has a power failure memory function. When the electronic equipment with the power failure memory function is running, the electric control system periodically stores the generated operating parameters, so that after the electronic equipment loses power and resumes power, it can quickly resume operation based on the stored operating parameters. Specifically, since only the internal read-write circuit of the controller works when the controller reads and writes the built-in memory, the controller is suspended at this time. In order to store the operating parameters without affecting the execution of other functions of the electric control board, in the related art, the electric control board of the electronic equipment with the power failure memory function is usually provided with an external memory for storing the operating parameters.
[0004] It should be pointed out that if an electronic device using a distributed electronic control system is provided with a power-off memory function, in the related technology, the architecture of the electronic control system is as follows: Figure 1 As shown, each electric control board is provided with an external memory to store the operating parameters of the corresponding load. Figure 1 The architecture of the electric control system and the process of the power-off recovery control method of the electronic device are as follows: Figure 2 As shown. Obviously, in the related art, in order to realize the power-off memory function, when the electronic device is running, the controller of each electric control board needs to regularly execute the step of storing the operating parameters, which increases the power consumption of the electric control system. The more the number of electric control boards, the more obvious the increase in power consumption. After the electronic device loses power and resumes power, since the operating status of each load needs to be synchronized, the electric control board used to obtain the user-set parameters needs to request the operating parameters stored in other electric control boards, and send the synchronized operating parameters to the corresponding electric control board based on the user-set parameters and the operating status of the electronic device, which involves the two-way transmission of the operating parameters. The parameter transmission steps are cumbersome, which may cause the electronic device to resume operation for a long time. If the number of operating parameters is too large, it is easy to cause the operating parameters to be mistransmitted or lost, which will cause the electronic device to be unable to resume operation, affecting the user's experience. Summary of the invention
[0005] In view of this, the embodiments of the present application provide an electronic device and a control method, device, storage medium and product thereof, aiming to reduce the power consumption and cost of the electronic device and improve the user experience.
[0006] The technical solution of the embodiment of the present application is implemented as follows:
[0007] In a first aspect, an embodiment of the present application provides a control method of an electronic device, which is applied to a main control board of the electronic device, wherein the electronic device further includes at least one auxiliary control board, and the method includes:
[0008] When the electronic device is running, generating and storing operating parameters of the electronic device;
[0009] After the electronic device loses power and resumes power, obtaining the stored operating parameters;
[0010] sending the stored operating parameters to the at least one auxiliary control board;
[0011] The at least one auxiliary control board is respectively connected to different loads of the electronic device, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters.
[0012] In some embodiments, the main control board is connected to a first load of the electronic device, and the method further includes:
[0013] When the electronic device is running, the first load is driven to run based on the generated running parameters;
[0014] After the electronic device loses power and resumes power, the first load is controlled to perform a power-on protection action.
[0015] In some embodiments, after controlling the first load to perform a power-on protection action, the method further includes:
[0016] Based on the stored operating parameters, the first load is driven to resume operation.
[0017] In some embodiments, sending the stored operating parameters to the at least one auxiliary control board includes:
[0018] Determine the auxiliary control board corresponding to each stored operating parameter;
[0019] The stored operating parameters are sent to the corresponding auxiliary control board.
[0020] In some embodiments, the method further comprises:
[0021] Get user setting parameters;
[0022] Generating operating parameters of the electronic device includes:
[0023] The operating parameters are generated based on the user-set parameters and the current operating state of the electronic device.
[0024] In some embodiments, storing the operating parameters of the electronic device includes:
[0025] Based on a set period, compare whether the currently generated operating parameters are consistent with the stored operating parameters. If not, update the stored operating parameters based on the currently generated operating parameters; wherein the stored operating parameters are stored in a non-volatile memory.
[0026] In a second aspect, an embodiment of the present application provides a control device of an electronic device, which is applied to a main control board of the electronic device, wherein the electronic device further includes at least one auxiliary control board, and the control device includes:
[0027] A generating module, used for generating operating parameters of the electronic device when the electronic device is running;
[0028] A storage module, used for storing operating parameters of the electronic device when the electronic device is running;
[0029] An acquisition module, used for acquiring the stored operating parameters after the electronic device loses power and resumes power;
[0030] A sending module, used for sending the stored operating parameters to the at least one auxiliary control board;
[0031] The at least one auxiliary control board is respectively connected to different loads of the electronic device, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters.
[0032] In a third aspect, an embodiment of the present application provides an electronic device, the electronic device comprising a main control board and at least one auxiliary control board;
[0033] Wherein, the main control board is used to execute the method described in the first aspect;
[0034] The at least one auxiliary control board is respectively connected to different loads of the electronic device, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters.
[0035] In some embodiments, the electronic device is a split-type air conditioner, the main control panel is an indoor unit display panel for driving the low-voltage load of the indoor unit to operate, and the at least one auxiliary control panel includes: an indoor unit electrical control panel for driving the indoor fan and an outdoor unit electrical control panel for driving the outdoor unit load.
[0036] In a fourth aspect, an embodiment of the present application provides a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0037] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect.
[0038] The control method of an electronic device provided in an embodiment of the present application is applied to the main control board of the electronic device, and the electronic device also includes at least one auxiliary control board. The method includes: when the electronic device is running, generating and storing the operating parameters of the electronic device; after the electronic device loses power and restores power, obtaining the stored operating parameters; sending the stored operating parameters to at least one auxiliary control board; wherein at least one auxiliary control board is respectively connected to different loads of the electronic device, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters. In this way, the embodiment of the present application adopts the main control board to centrally generate and store all the operating parameters of the electronic device, and after the power is restored, the main control board sends the operating parameters to each auxiliary control board to drive each load of the electronic device to resume operation, which simplifies the power-off recovery control steps and shortens the recovery operation time of the electronic device; when the electronic device is running, since the auxiliary control board does not need to regularly store the corresponding operating parameters, the power consumption of the electronic control system is reduced, and the corresponding external memory can be cancelled, simplifying the architecture of the electronic control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A schematic diagram of the architecture of an electronic control system of an electronic device in the related art;
[0040] Figure 2 A flowchart of a power-off recovery control method for an electronic device in the related art;
[0041] Figure 3 A schematic diagram of a flow chart of a control method of an electronic device according to an embodiment of the present application;
[0042] Figure 4 This is a schematic diagram of the architecture of an electric control system of an air conditioner in an application example of the present application;
[0043] Figure 5 A flowchart of a method for controlling an air conditioner in an application example of the present application;
[0044] Figure 6 It is a schematic diagram of the structure of a control device of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0045] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0047] An embodiment of the present application provides a control method for an electronic device. The control method is applicable to an electronic device that adopts a distributed electronic control system and has a power-off memory function. The electronic device is provided with multiple electronic control boards for controlling and / or driving different loads of the electronic device. The method aims to reduce the power consumption and cost of the electronic device and improve the user experience.
[0048] Exemplarily, the method is applied to a main control board of an electronic device, and the electronic device further includes at least one auxiliary control board, such as Figure 3 As shown, the method includes:
[0049] Step 301: When the electronic device is running, the operating parameters of the electronic device are generated and stored.
[0050] Step 302: After the electronic device loses power and resumes power, the stored operating parameters are obtained.
[0051] Step 303: Send the stored operating parameters to at least one auxiliary control board.
[0052] Among them, at least one auxiliary control board is connected to different loads of the electronic device respectively, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters.
[0053] It should be noted that in the relevant technology, electronic devices using distributed electronic control systems usually adopt distributed operation control methods, that is, when the electronic equipment is running, each electronic control board generates its own operating parameters based on the user-set parameters and the current operating status of the corresponding load, and drives the corresponding load to operate based on the generated operating parameters.
[0054] It should be noted that in the related art, in order to realize the power-off memory function of the electronic device, each electronic control board of the electronic device needs to be provided with an external memory. When each electronic control board is in operation, the controller of the electronic control board regularly stores the current operating parameters in the corresponding external memory, so that when the electronic device loses power and resumes power supply, each electronic control board can quickly obtain the operating parameters before the power failure to drive the corresponding load to resume operation. The specific process of the power-off recovery control method of the electronic device is as follows: Figure 2 shown.
[0055] It should be noted that in the relevant technology, when the electronic device is running, the controller of each electronic control board needs to periodically execute the step of storing the operating parameters in the external memory, which causes the controller to frequently read and write the external memory, increasing the power consumption of the electronic control system. The more electronic control boards there are, the more obvious the increase in power consumption. After the electronic device loses power and restores power, since the operating status of each load needs to be synchronized, the electronic control board used to obtain the user-set parameters needs to request the operating parameters stored in other electronic control boards, and based on the user-set parameters and the operating status of the electronic device, send the synchronized operating parameters to the corresponding electronic control board, which involves the two-way transmission of the operating parameters. The parameter transmission steps are cumbersome, which may cause the electronic device to resume operation for too long. If the number of operating parameters is too large, the operating parameters are easily mistransmitted or lost, which in turn causes the electronic device to be unable to resume operation, affecting the user's experience.
[0056] It should be noted that the main control board in the embodiment of the present application is used to generate relevant operating parameters of all loads of the electronic device and store the generated operating parameters.
[0057] Exemplarily, the method further includes: when the electronic device is running, sending the generated operating parameters to at least one auxiliary control board.
[0058] It can be understood that in the embodiment of the present application, when the electronic device is running, after the auxiliary control board receives the operating parameters, there is no need to convert the operating parameters, and based on the received operating parameters, the corresponding load can be directly driven to operate, that is, each auxiliary control board does not need to generate and store the operating parameters of the corresponding load, but only plays the role of driving the corresponding load to operate; since the controller of each auxiliary control board does not need to execute the step of storing the operating parameters, the power consumption of the electronic control system is reduced.
[0059] It can be understood that in the embodiment of the present application, since each auxiliary control board does not need to store the operating parameters of the corresponding load, each auxiliary control board does not need to be equipped with an external memory for storing the operating parameters. Only the main control board is equipped with an external memory for storing all operating parameters, which simplifies the architecture of the electronic control system and saves the cost of the electronic control system.
[0060] It can be understood that in the embodiment of the present application, since all the operating parameters required for the operation of the electronic device are stored in the main control board, when the electronic device loses power and restores power, each electric control board does not need to synchronize the operating status of each load. After the main control board obtains the stored operating parameters before the power failure, it directly sends the operating parameters to each auxiliary control board to drive the load operation, eliminating the step of each auxiliary control board sending its own stored operating parameters to the main control board, simplifying the power-off recovery control step, and shortening the recovery time of the electronic device.
[0061] It should be noted that the electronic device of the embodiment of the present application should be provided with at least two electronic control boards, that is, at least one main control board and one auxiliary control board. The embodiment of the present application does not specifically limit the number of electronic control boards of the electronic device; the main control board is any one of the multiple electronic control boards of the electronic device, and the remaining electronic control boards are all used as auxiliary control boards of the electronic device.
[0062] It should be noted that the operating parameters of the electronic device will be continuously adjusted according to the user-set parameters and the current operating status. In order to save the step of transmitting the user-set parameters between the various electronic control boards, in the embodiment of the present application, preferably, an electronic control board that directly obtains the user-set parameters is used as the main control board of the electronic control system.
[0063] Exemplarily, the method further includes: acquiring user setting parameters.
[0064] Exemplarily, generating operating parameters of the electronic device includes: generating the operating parameters based on user-set parameters and the current operating state of the electronic device.
[0065] It is understandable that the remaining electric control boards, as auxiliary control boards, do not need to obtain user-set parameters, but only need to drive the corresponding loads to operate based on the received operating parameters.
[0066] Exemplarily, storing the operating parameters of the electronic device includes: based on a set period, comparing whether the currently generated operating parameters are consistent with the stored operating parameters, and if not, updating the stored operating parameters based on the currently generated operating parameters.
[0067] The stored operating parameters are stored in a non-volatile memory (NVM).
[0068] Here, the main control board sets a non-volatile memory as an external memory. The controller of the main control board detects whether the currently generated operating parameters are changed compared with the operating parameters stored in the external memory based on a set period. If it is determined that there is a change, the data stored in the external memory is modified to the currently generated operating parameters; if it is determined that there is no change, the data stored in the external memory is not modified, so as to reduce the number of times the controller writes to the external memory and reduce the power consumption of the electronic control system.
[0069] It should be noted that the embodiment of the present application does not specifically limit the type of external memory provided on the main control board. The type of external memory includes but is not limited to: Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read Only Memory (EEPROM), ferromagnetic random access memory (FRAM) and flash memory.
[0070] In some embodiments, when the electronic device is running, all loads of the electronic device are driven by at least one auxiliary control board, and the main control board is only used to generate and store operating parameters and is not used to drive the load operation of the electronic device; in other embodiments, when the electronic device is running, the main control board and at least one electronic control board are used to respectively drive different loads of the electronic device to operate.
[0071] Specifically, in some embodiments, the main control board is connected to a first load of the electronic device, and the method further includes: when the electronic device is running, driving the first load to run based on the generated operating parameters; after the electronic device loses power and restores power, driving the first load to resume operation based on the stored operating parameters.
[0072] It should be noted that the embodiment of the present application does not specifically limit the sequence of steps for the main control board to drive the first load to resume operation and send the stored operating parameters to at least one auxiliary control board. When the electronic device loses power and restores power, after the main control board obtains the stored operating parameters, it can drive the first load to resume operation before sending the stored operating parameters to at least one auxiliary control board, or drive the first load to resume operation after sending the stored operating parameters to at least one auxiliary control board, or drive the first load to resume operation while sending the stored operating parameters to at least one auxiliary control board.
[0073] Exemplarily, before driving the first load to resume operation, the method further includes: controlling the first load to perform a power-on protection action.
[0074] It is understandable that after the electronic device loses power and restores power, before each load resumes operation, each load is controlled to perform power-on protection actions such as travel return and restart, so that the operating state of each load is reset to the power-on initial state.
[0075] Here, after the electronic device loses power and resumes power, the main control board controls the first load to perform a power-on protection action and then obtains the stored operating parameters.
[0076] Here, after the electronic device loses power and resumes power, each auxiliary control board controls the corresponding load to perform a power-on protection action, and controls the corresponding load to resume operation after receiving the operating parameters.
[0077] Exemplarily, sending the stored operating parameters to at least one auxiliary control board includes: determining the auxiliary control board corresponding to each stored operating parameter; and sending each stored operating parameter to the corresponding auxiliary control board.
[0078] It can be understood that when the electronic device is running, after the main control board generates operating parameters, it determines the auxiliary control board corresponding to each generated operating parameter, and sends each generated operating parameter to the corresponding auxiliary control board.
[0079] It can be understood that the main control board only sends the operating parameters corresponding to each auxiliary control board to each auxiliary control board, which can reduce the amount of parameter transmission between the electric control boards and reduce the risk of mistransmission and loss of parameters during the transmission process. After receiving the operating parameters, the auxiliary control board does not need to identify the operating parameters used to drive the corresponding load operation from the received operating parameters.
[0080] It should be noted that the embodiments of the present application do not specifically limit the method for restoring power to an electronic device after a power outage. The electronic device can respond to a power-on command sent by a user and detect that no shutdown command was received during the last operation, determine that an abnormal power outage has occurred, and execute the aforementioned control method after power is restored; the electronic device can also automatically restore power after the voltage and / or current of the input power supply meets the operating requirements and execute the aforementioned control method.
[0081] The control method of the electronic device of the present application is described in detail below in conjunction with specific application examples.
[0082] In this example, the electronic device is an air conditioner, specifically a split-type air conditioner, including an indoor unit and an outdoor unit.
[0083] Exemplarily, the main control board is an indoor unit display board for driving the low-voltage load of the indoor unit, and at least one auxiliary control board includes: an indoor unit electric control board for driving the indoor fan and an outdoor unit electric control board for driving the outdoor unit load. The indoor unit display board and the indoor unit electric control board are arranged in the indoor unit, and the outdoor unit electric control board is arranged in the outdoor unit.
[0084] Here, the indoor unit low-voltage load includes but is not limited to: a sterilization device, a display panel, a multi-function operation panel, a voice device and a stepper motor of an air guide assembly; the outdoor unit load includes but is not limited to: a compressor, an outdoor fan, a four-way valve and an electronic expansion valve.
[0085] In this example, the architecture of the air conditioner's electronic control system is as follows: Figure 4As shown, at least a first controller 110 and a first memory 120 are disposed on the indoor unit display panel 100 , at least a second controller 210 is disposed on the indoor unit electric control panel 200 , and at least a third controller 310 is disposed on the outdoor unit electric control panel 300 .
[0086] Here, the first controller 110 and the first memory 120 are connected to each other through an I2C bus, the first controller 110 and the second controller 210 are connected to each other through an RS232 bus, and the second controller 210 and the third controller 310 are connected to each other through an RS485 bus.
[0087] Here, based on Figure 4 The electronic control system architecture shown in the figure, this example also provides a control method for an air conditioner, such as Figure 5 As shown, the control method includes:
[0088] Step 501: the indoor unit display panel controls the operation of the air conditioner in response to a user instruction.
[0089] Here, the user instruction may be a signal sent by the user through a remote control device, may be a preset voice, or may be a signal sent by operating the multi-function operating panel of the air conditioner.
[0090] Here, the user instruction includes not only the power-on instruction but also the user-set parameters. In this example, the user-set parameters include but are not limited to: the operating mode, target temperature, wind speed and wind direction set by the user.
[0091] Specifically, the indoor unit display panel 100 is used to obtain the user set parameters, and the first controller 110 generates the operating parameters of the air conditioner based on the user set parameters and the current operating state of the air conditioner, wherein the operating parameters of the air conditioner at least include the first operating parameter, the second operating parameter and the third operating parameter, the first operating parameter is used to drive the indoor unit low-voltage load to operate, the second operating parameter is used to drive the indoor fan to operate, and the third operating parameter is used to drive the outdoor unit load to operate. Here, after the first controller 110 generates the operating parameters of the air conditioner, the indoor unit display panel 100 drives the indoor unit low-voltage load to operate based on the first operating parameter, and sends the second operating parameter and the third operating parameter to the indoor unit electric control board 200 at the same time; after the indoor unit electric control board 200 receives the second operating parameter and the third operating parameter, it drives the indoor fan to operate based on the second operating parameter, and at the same time transmits the third operating parameter to the outdoor unit electric control board 300; after the outdoor unit electric control board 300 receives the third operating parameter, it drives the outdoor fan to operate based on the third operating parameter.
[0092] Step 502: After reaching the set period, the indoor unit display panel writes the currently generated operating parameters into the first memory based on the inconsistency between the currently generated operating parameters and the operating parameters stored in the first memory.
[0093] Here, the setting period is set in the range of 100 to 500 ms.
[0094] Here, when the air conditioner is running, after step 502 is executed, step 502 is executed in a loop.
[0095] Step 503: After the air conditioner loses power abnormally, the indoor unit display panel responds to the power-on instruction and controls the air conditioner to resume power supply.
[0096] Here, after receiving the power-on command, the indoor unit display panel 100 determines that an abnormal power failure occurs based on the fact that no shutdown command was received in the last operation, and controls the air conditioner to resume power supply.
[0097] Step 504: the air conditioner performs a power-on protection action.
[0098] Specifically, the built-in memories of the first controller 110, the second controller 210 and the third controller 310 respectively store computer programs for executing power-on protection actions. After the air conditioner loses power and restores power, the indoor unit display panel 100 controls the indoor unit low-voltage load to execute the power-on protection action, the indoor unit electrical control panel 200 controls the indoor fan to execute the power-on protection action, and the outdoor unit electrical control panel 300 controls the outdoor unit load to execute the power-on protection action.
[0099] Here, the power-on protection action of the low-voltage load of the indoor unit includes but is not limited to: the display panel restarts and the stepping motor of the air guide assembly returns to the initial position.
[0100] Here, the power-on protection action of the indoor fan includes but is not limited to: the indoor fan returns to the initial position.
[0101] Here, the power-on protection actions of the outdoor unit load include but are not limited to: the outdoor fan returns to the initial position, the refrigerant is recovered, and the electronic expansion valve restores the initial opening.
[0102] Step 505: the internal unit display panel obtains the stored operating parameters from the first memory.
[0103] Here, the acquired operating parameters include a first operating parameter, a second operating parameter, and a third operating parameter stored at the same time before power failure.
[0104] Step 506: The indoor unit display panel drives the indoor unit low-voltage load to resume operation based on the stored first operating parameter.
[0105] Step 507: the indoor unit display panel sends the stored second operating parameter and third operating parameter to the indoor unit electrical control panel.
[0106] Here, the indoor unit display panel 100 transmits the stored second operating parameter and the third operating parameter to the indoor unit electric control panel 200 based on a Universal Asynchronous Receiver / Transmitter (UART) protocol.
[0107] Here, the indoor unit electric control board 200 drives the indoor fan to resume operation based on the received second operation parameter.
[0108] Step 508: the indoor unit electrical control board transparently transmits the received third operating parameter to the outdoor unit electrical control board.
[0109] Here, the outdoor unit electric control board 300 drives the outdoor unit load to resume operation based on the received third operation parameter.
[0110] It should be noted that the control method of the air conditioner in the aforementioned application example is only a specific description of the control method of the electronic device of the present application. The electronic device of the embodiment of the present application is not limited to split-type air conditioners. If other types of white goods are equipped with multiple electronic control boards, the power-off memory function can also be realized based on the aforementioned control method. The embodiment of the present application does not specifically limit the type of electronic equipment.
[0111] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a control device of an electronic device, which corresponds to the aforementioned control method, and each step in the aforementioned control method embodiment is also fully applicable to the present control device embodiment.
[0112] For example, Figure 6 As shown, the control device is applied to the main control board of the electronic device, and the electronic device also includes at least one auxiliary control board. The control device includes: a generation module 601, a storage module 602, an acquisition module 603 and a sending module 604. The generation module 601 is used to generate the operating parameters of the electronic device when the electronic device is running. The storage module 602 is used to store the operating parameters of the electronic device when the electronic device is running. The acquisition module 603 is used to acquire the stored operating parameters after the electronic device loses power and restores power. The sending module 604 is used to send the stored operating parameters to at least one auxiliary control board. Among them, at least one auxiliary control board is respectively connected to different loads of the electronic device, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters.
[0113] In some embodiments, the main control board is connected to a first load of the electronic device, and the control device also includes a driving module 605, which is used to: when the electronic device is running, drive the first load to operate based on the generated operating parameters; after the electronic device loses power and restores power, control the first load to perform power-on protection action.
[0114] In some embodiments, the driving module 605 is further used to drive the first load to resume operation based on the stored operating parameters.
[0115] In some embodiments, the sending module 604 is specifically used to: determine the auxiliary control board corresponding to each stored operating parameter; and send each stored operating parameter to the corresponding auxiliary control board.
[0116] In some embodiments, the acquisition module 603 is further used to: acquire user setting parameters.
[0117] In some embodiments, the generating module 601 is specifically used to generate operating parameters based on user-set parameters and the current operating state of the electronic device.
[0118] In some embodiments, the storage module 602 is specifically used to: based on a set period, compare whether the currently generated operating parameters are consistent with the stored operating parameters; if not, update the stored operating parameters based on the currently generated operating parameters; wherein the stored operating parameters are stored in a non-volatile memory.
[0119] It should be noted that: when the control device provided in the above embodiment performs control, only the division of the above program modules is used as an example. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the control device and the control method embodiment provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0120] It can be understood that any step of the control method of the aforementioned embodiment of the present application can be implemented by a controller configuration program of the main control board of the electronic device.
[0121] Illustratively, an embodiment of the present application further provides an electronic device, which includes a main control board and at least one auxiliary control board for executing the aforementioned control method.
[0122] It can be understood that the electronic device in the embodiment of the present application adopts a main control board to centrally generate and store all operating parameters of the electronic device, and after the power supply is restored, the main control board sends the corresponding operating parameters to each auxiliary control board to drive the various loads of the electronic device to resume operation, which simplifies the power-off recovery control steps and shortens the recovery time of the electronic device. When the electronic device is running, since the auxiliary control board does not need to periodically store the corresponding operating parameters, the power consumption of the electronic control system is reduced, and the corresponding external memory can be cancelled, which simplifies the architecture of the electronic control system.
[0123] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, which can be a computer-readable storage medium, for example, a memory storing a computer program, and the aforementioned computer program can be executed by a microprocessor of a main control board to complete the steps described in the method of the present application embodiment. The computer-readable storage medium can be a ROM, a PROM, an EPROM, an EEPROM, a FRAM, a Flash Memory, a magnetic surface storage, an optical disk, or a read-only optical disk (CD-ROM, Compact Disc Read-Only Memory); the magnetic surface storage can be a disk storage or a tape storage.
[0124] In an exemplary embodiment, the present application also provides a computer program product, including a computer program, which can be executed by a main control board of an electronic device to complete the steps described in the method of the present application. It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0125] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0126] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A control method for an electronic device, characterized in that: The method is applied to a main control board of the electronic device, wherein the electronic device further comprises at least one auxiliary control board. When the electronic device is running, generating and storing operating parameters of the electronic device; After the electronic device loses power and resumes power, obtaining the stored operating parameters; sending the stored operating parameters to the at least one auxiliary control board; The at least one auxiliary control board is respectively connected to different loads of the electronic device, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters.
2. The method according to claim 1, characterized in that The main control board is connected to a first load of the electronic device, and the method further includes: When the electronic device is running, the first load is driven to run based on the generated running parameters; After the electronic device loses power and resumes power, the first load is controlled to perform a power-on protection action.
3. The method according to claim 2, characterized in that After controlling the first load to perform a power-on protection action, the method further includes: Based on the stored operating parameters, the first load is driven to resume operation.
4. The method according to claim 1, characterized in that: The sending the stored operating parameters to the at least one auxiliary control board includes: Determine the auxiliary control board corresponding to each stored operating parameter; The stored operating parameters are sent to the corresponding auxiliary control board.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Get user setting parameters; Generating operating parameters of the electronic device includes: The operating parameters are generated based on the user set parameters and the current operating state of the electronic device.
6. The method according to claim 5, characterized in that Storing operating parameters of the electronic device, including: Based on a set period, compare whether the currently generated operating parameters are consistent with the stored operating parameters. If not, update the stored operating parameters based on the currently generated operating parameters; wherein the stored operating parameters are stored in a non-volatile memory.
7. A control device for an electronic device, characterized in that: The main control board applied to the electronic device, the electronic device also includes at least one auxiliary control board, and the control device includes: A generating module, used for generating operating parameters of the electronic device when the electronic device is running; A storage module, used for storing operating parameters of the electronic device when the electronic device is running; An acquisition module, used for acquiring the stored operating parameters after the electronic device loses power and resumes power; A sending module, used for sending the stored operating parameters to the at least one auxiliary control board; The at least one auxiliary control board is respectively connected to different loads of the electronic device, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters.
8. An electronic device, characterized in that: The electronic device comprises a main control board and at least one auxiliary control board; Wherein, the main control board is used to execute the method according to any one of claims 1 to 6; The at least one auxiliary control board is respectively connected to different loads of the electronic device, and the auxiliary control board is used to drive the corresponding load to operate based on the received operating parameters.
9. The electronic device according to claim 8, characterized in that: The electronic device is a split-type air conditioner, the main control board is an indoor unit display board for driving the indoor unit low-voltage load operation, and the at least one auxiliary control board includes: an indoor unit electrical control board for driving the indoor fan and an outdoor unit electrical control board for driving the outdoor unit load.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.