Load configuration method, device, home appliance, and storage medium

CN122593834APending Publication Date: 2026-08-18HEFEI MIDEA REFRIGERATOR CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510181101.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-18
Publication Date
2026-08-18

AI Technical Summary

Technical Problem

[0004]本申请的主要目的在于提供一种负载配置方法、设备、家电设备及存储介质,旨在解决从板类型多种导致兼容性差的技术问题

Benefits of technology

[0034] This application generates slave board configuration information corresponding to the configuration request information sent via the communication bus when the slave board powers on; the slave board configuration information is then sent to the slave boards via the communication bus to enable load configuration. In this way, during slave board software design, the host sets the slave board's input/output load type, port mapping, and other information via bus communication. This allows for standardization of slave boards by using different configuration information from different motherboards. Based on a standardized control board design, different load drive configurations can be implemented through optimized software design, thereby reducing the number of control board types, improving software compatibility, and shortening the development cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122593834A_ABST
    Figure CN122593834A_ABST
Patent Text Reader

Abstract

This application discloses a load configuration method, device, home appliance, and storage medium, relating to the field of home appliance technology. The load configuration method includes: in response to a configuration request message sent via the communication bus when the slave board is powered on, generating slave board configuration information corresponding to the configuration request message; and sending the slave board configuration information to the slave boards via the communication bus to enable the slave boards to perform load configuration. In this way, during slave board software design, the host sets the slave board's input / output load type, port mapping, and other information via bus communication. This allows different motherboards to use different configuration information, achieving slave board standardization. Based on a standardized control board design, different load drive configurations can be implemented through optimized software design, thereby reducing the number of control board types, improving software compatibility, and shortening the development cycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of household appliance technology, and in particular to load configuration methods, devices, household appliances and storage media. Background Technology

[0002] In existing technologies, different hardware designs are typically used depending on the number and type of loads mounted on the equipment, resulting in diverse control boards and software, leading to increased development difficulty and longer development cycles. Furthermore, the software control logic will vary depending on the specific project requirements when the control board is used.

[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main purpose of this application is to provide a load configuration method, device, household appliance, and storage medium, aiming to solve the technical problem of poor compatibility caused by the variety of board types.

[0005] To achieve the above objectives, this application proposes a load configuration method, which is applied to a main control board, wherein the main control board is connected to multiple slave boards via a communication bus.

[0006] The load configuration method includes:

[0007] In response to the configuration request information sent via the communication bus when the slave board is powered on, slave board configuration information corresponding to the configuration request information is generated;

[0008] The slave board configuration information is sent to the slave board via the communication bus to enable the slave board to perform load configuration.

[0009] Optionally, the step of generating slave board configuration information corresponding to the configuration request information sent via the communication bus in response to the slave board being powered on includes:

[0010] In response to the configuration request information sent via the communication bus when the slave board is powered on, the slave board is determined to initiate the request based on the configuration request information;

[0011] Based on the request, the corresponding slave board configuration information is generated by the slave board.

[0012] Optionally, the step of initiating the generation of corresponding slave board configuration information based on the request includes:

[0013] Based on the request, the slave board is initiated to determine the load number information;

[0014] The load type information and load port information are determined based on the load number information;

[0015] The corresponding slave board configuration information is generated based on the load number information, the load type information, and the load port information.

[0016] Optionally, the step of sending the slave board configuration information to the slave board via the communication bus to enable the slave board to perform load configuration includes:

[0017] The load configuration information corresponding to each slave board is determined based on the slave board configuration information.

[0018] The load configuration information is sent to the corresponding slave boards via the communication bus.

[0019] Optionally, the step of determining the load configuration information corresponding to each slave board based on the slave board configuration information includes:

[0020] The load information corresponding to each slave board is determined based on the slave board configuration information.

[0021] The load configuration information for each slave board is determined based on the load information.

[0022] Optionally, the step of determining the load configuration information corresponding to each slave board based on the load information includes:

[0023] The number and type of load corresponding to each slave device are determined based on the load information.

[0024] The load configuration information for each load corresponding to each slave board is determined based on the number of loads and the load type.

[0025] Optionally, the method further includes:

[0026] When a communication failure occurs with any of the slave boards, clear the slave board configuration information of each slave board.

[0027] Upon restoration of communication with each slave board, each slave board is reconfigured in response to a configuration request message sent via the communication bus when the slave board is powered on. Furthermore, to achieve the above objective, this application also proposes a load configuration device, which includes:

[0028] The configuration generation module is used to generate slave board configuration information corresponding to the configuration request information sent through the communication bus when the slave board is powered on.

[0029] The load configuration module is used to send the slave board configuration information to the slave board through the communication bus, so that the slave board can perform load configuration.

[0030] In addition, to achieve the above objectives, this application also proposes a load configuration device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the load configuration method as described above.

[0031] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and which, when executed by a processor, implements the steps of the load configuration method described above.

[0032] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the load configuration method described above.

[0033] One or more technical solutions proposed in this application have at least the following technical effects:

[0034] This application generates slave board configuration information corresponding to the configuration request information sent via the communication bus when the slave board powers on; the slave board configuration information is then sent to the slave boards via the communication bus to enable load configuration. In this way, during slave board software design, the host sets the slave board's input / output load type, port mapping, and other information via bus communication. This allows for standardization of slave boards by using different configuration information from different motherboards. Based on a standardized control board design, different load drive configurations can be implemented through optimized software design, thereby reducing the number of control board types, improving software compatibility, and shortening the development cycle. Attached Figure Description

[0035] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0036] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1 This is a flowchart illustrating an embodiment of the load configuration method of this application.

[0038] Figure 2 This is a schematic diagram of a configuration method provided in one embodiment of the load configuration method of this application;

[0039] Figure 3 This is a schematic diagram of configuration information provided in one embodiment of the load configuration method of this application;

[0040] Figure 4 This is a schematic diagram of configuration information provided in one embodiment of the load configuration method of this application;

[0041] Figure 5 This is a schematic diagram of configuration information provided in one embodiment of the load configuration method of this application;

[0042] Figure 6 This is a flowchart illustrating Embodiment 2 of the load configuration method of this application;

[0043] Figure 7 This is a schematic diagram of the module structure of the load configuration device according to an embodiment of this application;

[0044] Figure 8 This is a schematic diagram of the device structure of the hardware operating environment involved in the load configuration method in this application embodiment.

[0045] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0046] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0047] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0048] The main solution of this application embodiment is: in response to the configuration request information sent through the communication bus when the slave board is powered on, generate slave board configuration information corresponding to the configuration request information; send the slave board configuration information to the slave board through the communication bus respectively, so that the slave board can perform load configuration.

[0049] In this embodiment, for ease of description, the following description will focus on identifying home appliances.

[0050] Because existing technologies typically employ different hardware designs for devices with varying numbers and types of loads, control boards and software become diverse, leading to complex development processes and long development cycles. Furthermore, the software control logic varies depending on the specific project requirements and the loads carried on the control board.

[0051] This application provides a solution in which, during the slave board software design phase, the host configures the slave board's input / output load types, port mappings, and other information via bus communication. This allows for standardization of slave boards across different motherboards using different configuration information. Based on a standardized control board design, different load drive configurations can be implemented through optimized software design, thereby reducing the number of control board types, improving software compatibility, and shortening the development cycle.

[0052] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or home appliance capable of performing the above functions. The following description uses a refrigerator as an example to illustrate this embodiment and the subsequent embodiments.

[0053] Based on this, the embodiments of this application provide a load configuration method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the load configuration method of this application.

[0054] In this embodiment, the load configuration method includes steps S10 to S20:

[0055] Step S10: In response to the configuration request information sent through the communication bus when the slave board is powered on, generate slave board configuration information corresponding to the configuration request information;

[0056] It should be noted that in this embodiment, when the slave board is powered on, the host (main control board) sets the slave board's load configuration information, enabling the slave board to configure its load according to the configuration information. After configuration, the host uses the bus control protocol to perform load control and signal acquisition operations on the slave board, thereby achieving the goal of universalizing the driver board. As a driver board, the slave board can be appropriately configured and adjusted through bus communication, allowing for flexible and differentiated configuration according to the actual needs of the project, realizing personalized configuration requirements and effectively reducing the development cycle.

[0057] It should be understood that the method of configuring the load upon power-up, such as... Figure 2As shown, when the device is powered on, the host sets the load configuration information for the slave board, enabling the slave board to configure the load according to the configuration information. After configuration, the host uses the bus control protocol to perform load control and signal acquisition operations on the slave board, thereby achieving the goal of universalizing the driver board. Furthermore, in existing electrical appliances, especially refrigerators, multiple loads operate simultaneously, such as compressors, motors, fans, or lights. However, these loads are controlled separately by different models of slave boards due to their different functions, and cannot be controlled or configured uniformly. In this embodiment, the control logic and port requirements of multiple loads can be integrated onto a single slave board. Each slave board connects to different loads through corresponding ports, allowing the same slave board to adapt to and be compatible with various loads without modification through pre-set ports. Finally, by connecting to the main control board, the main control board can configure different loads for each slave board to achieve load control. Alternatively, a single slave board can connect to multiple loads through multiple corresponding ports. In this way, several slave boards can be used on a single refrigerator, or only one slave board can be used, thereby reducing the number of slave boards, simplifying the control logic, and further reducing the variety of slave board models for the refrigerator, thus lowering the difficulty of subsequent maintenance.

[0058] In practice, after the slave board powers on, it proactively sends a configuration request to the main control board. This allows the main control board to identify the slave board based on the configuration request and then distribute the corresponding slave board configuration information. For example, after slave board A powers on, it automatically sends a configuration request to the main control board. Upon receiving the configuration request from slave board A, the main control board can recognize that the information was sent by slave board A, and thus distribute the corresponding slave board configuration information to slave board A for configuration. Other slave boards are configured based on this pattern.

[0059] In one feasible implementation, in order to accurately obtain slave board configuration information, step S10 includes: responding to configuration request information sent through the communication bus when the slave board is powered on, determining the slave board to initiate the request based on the configuration request information; and generating corresponding slave board configuration information based on the slave board to initiate the request.

[0060] It should be noted that, firstly, the relevant identification information of the slave board making the load configuration request is determined based on the configuration request information. This relevant identification information includes, but is not limited to, the type number and ID serial number of each slave board. In a specific embodiment, the slave boards can be assigned IDs after production and before installation, corresponding to various functional modules of the refrigerator. During installation, slave boards of the same model (different IDs) will connect to various functional modules, such as lights, sensors, and motors, through corresponding interfaces / ports. Therefore, the relevant identification information can include the IDs of each slave board, thereby enabling the identification of the slave board's number and identity, and determining the load corresponding to the slave board. This leads to the determination of the requesting slave board. The requesting slave board can be multiple different slave boards; the specific number is not limited in this embodiment.

[0061] It should be understood that after receiving the request initiating slave board, the corresponding slave board configuration information is generated based on the load status of the request initiating slave board. That is, after determining the request initiating slave board, the status of all running or runnable loads integrated and connected on the request initiating slave board is first determined, and then the corresponding configuration is performed based on the running or runnable loads to generate the slave board configuration information.

[0062] In one feasible implementation, in order to obtain slave board configuration information, the step of initiating the generation of corresponding slave board configuration information based on the request includes: initiating the slave board to determine load number information based on the request; determining load type information and load port information based on the load number information; and generating corresponding slave board configuration information based on the load number information, the load type information, and the load port information.

[0063] In specific implementation, such as Figure 3As shown, slave loads are diverse. At the software level, load configuration information is summarized as: load number, load type, and load port number. The load port number corresponds to the number of each communication port on the slave board. These ports connect to electrical loads such as lights, sensors, and motors to send and receive information, and collect and upload data. For example, the slave board of the refrigerator in this application integrates multiple ports, each of which can connect to the following load devices. A slave board can connect to only one load device through one port, or it can connect to multiple load devices through multiple ports: Compressor: Port 1; Condenser fan: Port 2; Lighting: Port 3; Defrost heater: Port 4. The slave board configuration information can be: Controlling the compressor: The slave board sends a signal through port 1 to start or stop the compressor. For example, when the temperature sensor detects that the temperature inside the refrigerator is too high, the slave board starts the compressor through port 1. Controlling the condenser fan: The slave board controls the start, stop, and speed of the fan through port 2. For example, when the compressor is running, the slave board starts the fan through port 2 to aid in heat dissipation. Controlling the lighting: The slave board controls the on / off switch of the lighting through port 3. For example, when the refrigerator door is opened, the light is turned on via port number 3 from the control panel. Defrosting heater control: The defrosting heater is controlled to start and stop via port number 4 from the control panel. For example, when the evaporator is frosted, the defrosting heater is activated via port number 4 from the control panel.

[0064] It should be noted that the load number is the name of the load. For example: refrigeration lamp: number 1; freezer lamp: number 2; refrigeration sensor: number 3; and so on for other loads.

[0065] It should be understood that load type indicates the operating mode of the load: for example, port direct drive, breathing type, fan type, damper type, etc. Port direct drive: The load is directly driven by the control board port, suitable for devices with simple on / off control (such as lights). Breathing type: The load operates periodically, suitable for devices requiring intermittent operation (such as compressors). Fan type: The load is a fan, requiring speed adjustment, suitable for air circulation or heat dissipation (such as condenser fans). Damper type: The load is a damper, used to control the flow of cold air, suitable for temperature zone control (such as refrigerator compartment dampers). These classifications of load types and control methods enable the refrigerator's control system to manage various load devices more efficiently and flexibly, thereby optimizing performance and energy efficiency.

[0066] In practical implementation, the load port indicates the port position of the load on the slave board. It can be the corresponding drive port of the MCU or a pre-defined drive position. The pre-defined drive position can be a specific location on the slave board where the load is connected, which may be indirectly controlled by additional hardware circuitry. This location is predefined in the hardware design or software logic.

[0067] Step S20: The slave board configuration information is sent to the slave board via the communication bus to enable the slave board to perform load configuration.

[0068] It should be noted that after obtaining the slave board configuration information, the system will break it down to obtain the load configuration information corresponding to each slave board and then distribute it, enabling rapid slave board load configuration. A slave board has multiple ports and can connect to multiple electrical devices through these ports. The initial slave board configuration information is specific to a particular slave board, meaning it is determined and distributed to or corresponds to a specific slave board. Then, the slave board configuration information is broken down to obtain specific configuration information, including but not limited to how the slave board communicates with electrical devices and how it executes commands through the ports.

[0069] In one feasible implementation, in order to improve the operational stability of the system after recovery from a fault, the method further includes: clearing the slave board configuration information of each slave board when a communication failure occurs with each slave board; and reconfiguring each slave board in response to the configuration request information sent through the communication bus when the slave board is powered on, when communication with each slave board is restored.

[0070] It should be understood that when a communication failure occurs between the master and slave boards, the slave board will shut down all loads by default; after communication is restored, it will request configuration information again. After successful configuration, normal load control will resume.

[0071] In specific implementation, such as Figure 4 The diagram shows the logical framework for load configuration. After the device powers on, the slave board first sends a request to the main control board to determine and configure which loads are connected to each slave board. Normal load control can only proceed after successful configuration. Further, as... Figure 5 As shown, taking refrigerators as an example, the system can be made universal. In different refrigerator projects, different load configurations can be made according to the different loads carried by the project.

[0072] This embodiment provides a load configuration method. In response to a configuration request message sent via the communication bus when the slave board powers on, slave board configuration information corresponding to the configuration request message is generated. The slave board configuration information is then sent to the slave boards via the communication bus to enable load configuration. In this way, during slave board software design, the host sets the slave board's input / output load types, port mappings, and other information via bus communication. Different refrigerator models and grades use different motherboards, and the number of loads varies, but load control can be achieved through the standardized slave board in this embodiment. Regardless of the motherboard model or the number and type of loads, multiple slave boards on a specific refrigerator can be configured to achieve the function of each refrigerator. Based on a standardized control board design, different load drive configurations can be implemented through optimized software design, thereby reducing the number of control board types, improving software compatibility, and shortening the development cycle.

[0073] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 6 Step S20 includes steps S201 to S202:

[0074] Step S201: Determine the load configuration method information corresponding to each slave board based on the slave board configuration information;

[0075] It should be noted that after obtaining the slave board configuration information, the slave board configuration information will be split to obtain the load configuration information corresponding to each slave board, that is, the different load configuration methods corresponding to different slave boards.

[0076] In one feasible implementation, in order to obtain load configuration information, step S201 includes: determining the load information corresponding to each slave board based on the slave board configuration information; and determining the load configuration information corresponding to each slave board based on the load information.

[0077] It should be understood that, firstly, the load information of each slave board is determined based on the slave board configuration information. That is, based on the slave board configuration information, the relevant information such as the loads that have been connected to each slave board, the loads that are running, the loads that need to be run, and the loads that need to be shut down are determined. The load information refers to the loads corresponding to each slave board. One slave board can correspond to one or more loads.

[0078] In practice, after determining the load information, the load configuration information of each slave board is determined based on the load information. That is, different loads have different configuration schemes, which need to be distinguished and set.

[0079] In one feasible implementation, in order to accurately determine the load configuration method information based on the load information, the step of determining the load configuration method information corresponding to each slave board according to the load information includes: determining the number of loads and the load type corresponding to each slave according to the load information; and determining the load configuration method information of each load corresponding to each slave board according to the number of loads and the load type.

[0080] It should be noted that, firstly, the number of loads corresponding to each slave device and the load type of different loads are determined according to the load information, and then the configuration method of different loads is determined, as well as the integration of the configuration method information of multiple loads of a single slave device. Among them, the working characteristics and control requirements of different load devices are different, so different configuration methods are required. Common configuration methods include: (1) Direct drive. Applicable loads: devices with low power and simple control, such as lighting lamps and defrosting heaters. Configuration method: The load is directly connected to the GPIO pin of the MCU. The MCU directly controls the switching of the load through high and low level signals. Example: The lighting lamp is connected to the P1 pin of the MCU, and the MCU controls the switching of the lamp through P1. (2) Control through driver chip. Applicable loads: devices that need to adjust speed or direction, such as fans and damper motors. Configuration method: The load is connected to the driver chip (such as motor driver chip, MOSFET, etc.). The MCU indirectly controls the load through the driver chip. Example: The condenser fan is connected to the driver chip, and the MCU adjusts the fan speed through the PWM signal. (3) Control through relay. Applicable loads: devices with high power, such as compressors. Configuration method: The load is connected to the power supply through a relay. The MCU controls the relay switch, thereby indirectly controlling the load. Example: The compressor is connected to the power supply through a relay, and the MCU controls the relay switch through the P2 pin. (4) Control through communication protocol. Applicable load: Devices requiring complex control, such as intelligent damper motors. Configuration method: The load communicates with the MCU through communication protocols (such as I2C, SPI, UART), and the MCU sends instructions to control the working state of the load. Example: The damper motor communicates with the MCU through the I2C interface, and the MCU sends instructions to control the opening and closing angle of the damper. Multi-load configuration of a single slave board: On a single slave board, multiple load devices can be configured and controlled simultaneously through reasonable hardware design and software logic. Example: By controlling the compressor with a relay, controlling the fan with a drive chip, directly driving the lighting, controlling the damper motor with a communication protocol, etc., the slave board can achieve efficient management of multiple loads.

[0081] Step S202: The load configuration information is sent to the corresponding slave boards via the communication bus.

[0082] It should be understood that after obtaining the load configuration information, it is sent to the corresponding slave board via the communication bus to complete the slave board configuration.

[0083] This embodiment determines the load configuration information for each slave board based on the slave board configuration information; the load configuration information is then sent to the corresponding slave boards via the communication bus. This method enables the packaged distribution of load configuration information for individual slave boards, improving load configuration efficiency.

[0084] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the load configuration method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0085] This application also provides a load configuration device, please refer to... Figure 7 The load configuration device includes:

[0086] The configuration generation module 10 is used to generate slave board configuration information corresponding to the configuration request information sent through the communication bus when the slave board is powered on.

[0087] The load configuration module 20 is used to send the slave board configuration information to the slave board through the communication bus so that the slave board can perform load configuration.

[0088] This embodiment generates slave board configuration information corresponding to the configuration request information sent via the communication bus when the slave board powers on. The slave board configuration information is then sent to the slave boards via the communication bus to enable load configuration. In this way, during slave board software design, the host sets the slave board's input / output load types, port mappings, and other information via bus communication. Different motherboards can use different configuration information to achieve slave board standardization. Based on a standardized control board design, different load drive configurations can be implemented through optimized software design, thereby reducing the number of control board types, improving software compatibility, and shortening the development cycle.

[0089] In one embodiment, the configuration generation module 10 is further configured to respond to configuration request information sent via the communication bus when the slave board is powered on, determine the slave board to initiate the request based on the configuration request information, and generate corresponding slave board configuration information based on the slave board to initiate the request.

[0090] In one embodiment, the configuration generation module 10 is further configured to initiate the determination of load number information of the slave board according to the request; determine load type information and load port information according to the load number information; and generate corresponding slave board configuration information according to the load number information, the load type information and the load port information.

[0091] In one embodiment, the load configuration module 20 is further configured to determine the load configuration method information corresponding to each slave board based on the slave board configuration information; and send the load configuration method information to the corresponding slave board through the communication bus.

[0092] In one embodiment, the load configuration module 20 is further configured to determine the load information corresponding to each slave board based on the slave board configuration information; and to determine the load configuration method information corresponding to each slave board based on the load information.

[0093] In one embodiment, the load configuration module 20 is further configured to determine the number and type of loads corresponding to each slave device based on the load information; and to determine the load configuration method information of each load corresponding to each slave board based on the number and type of loads.

[0094] In one embodiment, the load configuration module 20 is further configured to clear the slave board configuration information of each slave board when a communication failure occurs with each slave board; and to reconfigure each slave board in response to the configuration request information sent through the communication bus when the slave board is powered on when communication with each slave board is restored.

[0095] The load configuration device provided in this application, employing the load configuration method in the above embodiments, can solve the technical problem of poor compatibility caused by the variety of board types. Compared with the prior art, the beneficial effects of the load configuration device provided in this application are the same as those of the load configuration method provided in the above embodiments, and other technical features in the load configuration device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0096] This application provides a load configuration device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the load configuration method in Embodiment 1 above.

[0097] The following is for reference. Figure 8 The diagram illustrates a structural schematic of a load configuration device suitable for implementing embodiments of this application. The load configuration device in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 8The load configuration device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0098] like Figure 8 As shown, the load configuration device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the load configuration device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. The communication device 1009 allows the load configuration device to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows load configuration devices with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0099] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0100] The load configuration device provided in this application, employing the load configuration method in the above embodiments, can solve the technical problem of poor compatibility caused by the variety of board types. Compared with the prior art, the beneficial effects of the load configuration device provided in this application are the same as those of the load configuration method provided in the above embodiments, and other technical features in this load configuration device are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0101] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0102] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0103] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the load configuration method in the above embodiments.

[0104] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0105] The aforementioned computer-readable storage medium may be included in the load configuration device; or it may exist independently and not be assembled into the load configuration device.

[0106] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the load configuration device, the load configuration device: in response to the configuration request information sent through the communication bus when the slave board is powered on, generates slave board configuration information corresponding to the configuration request information; and sends the slave board configuration information to the slave boards respectively through the communication bus, so that the slave boards can perform load configuration.

[0107] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0108] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0109] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0110] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described load configuration method, which can solve the technical problem of poor compatibility caused by various board types. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the load configuration method provided in the above embodiments, and will not be repeated here.

[0111] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the load configuration method described above.

[0112] The computer program product provided in this application can solve the technical problem of poor compatibility caused by the variety of board types. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the load configuration method provided in the above embodiments, and will not be repeated here.

[0113] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A load configuration method, characterized in that, The method is applied to a main control board, which is connected to multiple slave boards via a communication bus. The load configuration method includes: In response to the configuration request information sent via the communication bus when the slave board is powered on, slave board configuration information corresponding to the configuration request information is generated; The slave board configuration information is sent to the slave board via the communication bus to enable the slave board to perform load configuration.

2. The method as described in claim 1, characterized in that, The step of generating slave board configuration information corresponding to the configuration request information sent via the communication bus when the slave board is powered on includes: In response to the configuration request information sent via the communication bus when the slave board is powered on, the slave board is determined to initiate the request based on the configuration request information; Based on the request, the corresponding slave board configuration information is generated by the slave board.

3. The method as described in claim 2, characterized in that, The step of initiating the generation of corresponding slave board configuration information based on the request includes: Based on the request, the slave board is initiated to determine the load number information; The load type information and load port information are determined based on the load number information; The corresponding slave board configuration information is generated based on the load number information, the load type information, and the load port information.

4. The method as described in claim 1, characterized in that, The step of sending the slave board configuration information to the slave board via the communication bus to enable the slave board to perform load configuration includes: The load configuration information corresponding to each slave board is determined based on the slave board configuration information. The load configuration information is sent to the corresponding slave boards via the communication bus.

5. The method as described in claim 4, characterized in that, The step of determining the load configuration information corresponding to each slave board based on the slave board configuration information includes: The load information corresponding to each slave board is determined based on the slave board configuration information. The load configuration information for each slave board is determined based on the load information.

6. The method as described in claim 5, characterized in that, The step of determining the load configuration information corresponding to each slave board based on the load information includes: The number and type of load corresponding to each slave device are determined based on the load information. The load configuration information for each load corresponding to each slave board is determined based on the number of loads and the load type.

7. The method as described in claim 1, characterized in that, The method further includes: When a communication failure occurs with any of the slave boards, clear the slave board configuration information of each slave board. When communication with each slave board is restored, each slave board is reconfigured in response to the configuration request information sent through the communication bus when the slave board is powered on.

8. A load configuration device, characterized in that, The device includes: The configuration generation module is used to generate slave board configuration information corresponding to the configuration request information sent through the communication bus when the slave board is powered on. The load configuration module is used to send the slave board configuration information to the slave board through the communication bus, so that the slave board can perform load configuration.

9. A household appliance, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the load configuration method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the load configuration method as described in any one of claims 1 to 7.