CN111736551B - Centralized control device, electric appliance system and centralized control method thereof - Google Patents

Centralized control device, electric appliance system and centralized control method thereof Download PDF

Info

Publication number
CN111736551B
CN111736551B CN202010573294.2A CN202010573294A CN111736551B CN 111736551 B CN111736551 B CN 111736551B CN 202010573294 A CN202010573294 A CN 202010573294A CN 111736551 B CN111736551 B CN 111736551B
Authority
CN
China
Prior art keywords
electric appliance
controlled electric
controlled
control program
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010573294.2A
Other languages
Chinese (zh)
Other versions
CN111736551A (en
Inventor
颜辉
杨都
张光旭
刘鹏
李少章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010573294.2A priority Critical patent/CN111736551B/en
Publication of CN111736551A publication Critical patent/CN111736551A/en
Application granted granted Critical
Publication of CN111736551B publication Critical patent/CN111736551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33139Design of industrial communication system with expert system

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a centralized control device, an electric appliance system and a centralized control method thereof, wherein the device comprises: the centralized controller is used for storing and operating control programs of all controlled electric appliances; in the centralized controller, the control program of each controlled electric appliance is associated with the identity of the controlled electric appliance; establishing communication connection between the centralized controller and the controlled electric appliance; controlling an execution module of the controlled electric appliance according to a control program of the controlled electric appliance; wherein, the control program of the electric appliance is not set in all the controlled electric appliances. The scheme of the invention can solve the problem that the cost of the electric appliance is increased due to the low utilization rate of the computing power of the chip, and achieves the effect of improving the utilization rate of the computing power of the chip to reduce the cost of the electric appliance.

Description

Centralized control device, electric appliance system and centralized control method thereof
Technical Field
The invention belongs to the technical field of centralized control, and particularly relates to a centralized control device, an electric appliance system and a centralized control method thereof, in particular to a centralized control system, an electric appliance system with the centralized control system and a centralized control method of the electric appliance system.
Background
With the rapid development of communication technology, the communication speed between the electrical appliances is faster and faster, the bottleneck limited by communication delay in the past is broken gradually, the trend of interconnection of everything is more obvious, and the electrical appliance with a high-speed communication function will become a standard configuration in the future.
In addition, the chip technology is rapidly developed, the chip manufacturing process is close to the limit, and the moore's law is gradually invalid. Meanwhile, with the rapid development of technologies such as artificial intelligence and big data, electrical appliances are more and more intelligent, the required chip computing capacity is higher and higher, and therefore, the computing capacity of the chip becomes an important scarce resource in the future, the utilization rate of the computing capacity is improved, and the method is an effective means for reducing the cost of the electrical appliances.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention aims to provide a centralized control device, an electric appliance system and a centralized control method thereof, which are used for solving the problem that the cost of an electric appliance is increased due to low utilization rate of the computing power of a chip and achieving the effect of improving the utilization rate of the computing power of the chip and reducing the cost of the electric appliance.
The present invention provides a centralized control device, comprising: the centralized controller is used for storing and operating control programs of all controlled electric appliances; in the centralized controller, the control program of each controlled electric appliance is associated with the identity of the controlled electric appliance; establishing communication connection between the centralized controller and the controlled electric appliance; controlling an execution module of the controlled electric appliance according to a control program of the controlled electric appliance; wherein, the control program of the electric appliance is not set in all the controlled electric appliances.
Optionally, each controlled appliance in the running state corresponds to one process in the control program of the centralized controller; wherein, a group of controlled electric appliances with the same parameters in all the controlled electric appliances correspond to the same control program in the centralized controller; the same parameters comprise: a model; during operation, different controlled electrical appliances in the group of controlled electrical appliances in the operating state correspond to different processes of the same control program in the centralized controller.
Optionally, the centralized controller stores and runs control programs of all controlled electrical appliances, including: storing control programs of all controlled electric appliances in the integrated controller; wherein, in the centralized controller, further storing: the centralized controller runs programs by itself, the common programs of all the controlled electric appliances and the corresponding relation between the identity of each controlled electric appliance and the control program of each controlled electric appliance.
Optionally, the centralized controller controls an execution module of the controlled electrical appliance, including: controlling the running of the running program of the centralized controller; receiving a use instruction sent by a user; the use instruction carries the identity and the control instruction of the controlled electric appliance; analyzing the use instruction to obtain the identity and the control instruction of the controlled electric appliance; determining a control program corresponding to the controlled electric appliance according to the identity of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate according to the control program corresponding to the controlled electric appliance and a control instruction of the controlled electric appliance; acquiring state data of the controlled electric appliance in the running process of the controlled electric appliance; and controlling an execution module of the controlled electric appliance according to the state data of the controlled electric appliance.
Optionally, the controlling, by the centralized controller, an execution module of the controlled electrical appliance to operate according to a control program corresponding to the controlled electrical appliance and a control instruction of the controlled electrical appliance includes: determining a control program corresponding to the identity of the controlled electric appliance in the incidence relation according to the incidence relation between the identity of the controlled electric appliance and the control program; determining whether a control program corresponding to the controlled electric appliance has a corresponding process in operation; if the control program corresponding to the controlled electric appliance has a corresponding process in operation, sending a control instruction of the controlled electric appliance to the corresponding process of the control program corresponding to the controlled electric appliance; and if the control program corresponding to the controlled electric appliance does not have the corresponding running process, newly establishing the corresponding process of the control program corresponding to the controlled electric appliance, and sending the control instruction of the controlled electric appliance to the corresponding process of the control program corresponding to the controlled electric appliance.
Optionally, the acquiring, by the centralized controller, the state data of the controlled electrical appliance in the process of operating the controlled electrical appliance includes: passively receiving the operation data of the controlled electric appliance automatically collected by the controlled electric appliance as passive state data; and/or actively collecting control data of a control program corresponding to the controlled electric appliance as active state data; and/or the integrated controller controls the execution module of the controlled electric appliance according to the state data of the controlled electric appliance, and the control method comprises the following steps: determining pin output data of the controlled electric appliance in the current state according to a control instruction in the process of a control program corresponding to the controlled electric appliance and the state data of the controlled electric appliance; if the pin output data is changed, encoding the pin output data into communication data, sending the communication data to the controlled electric appliance from a communication module according to the identity of the controlled electric appliance, decoding the communication data into the pin output data by a decoding module of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate.
In accordance with another aspect of the present invention, there is provided an electrical system, including: the centralized control device described above.
In another aspect, the present invention provides a centralized control method for an electrical system, including: storing and operating control programs of all controlled electric appliances through the integrated controller; in the centralized controller, the control program of each controlled electric appliance is associated with the identity of the controlled electric appliance;
establishing communication connection between the centralized controller and a controlled electric appliance through the centralized controller;
controlling an execution module of the controlled electric appliance through the integrated controller according to a control program of the controlled electric appliance;
wherein, the control program of the electric appliance is not set in all the controlled electric appliances.
Optionally, each controlled appliance in the running state corresponds to one process in the control program of the centralized controller; wherein, a group of controlled electric appliances with the same parameters in all the controlled electric appliances correspond to the same control program in the centralized controller; the same parameters comprise: a model; during operation, different controlled electrical appliances in the group of controlled electrical appliances in the operating state correspond to different processes of the same control program in the centralized controller.
Optionally, the integrated controller stores and runs control programs of all controlled electrical appliances, including: storing control programs of all controlled electric appliances in the integrated controller; wherein, in the centralized controller, further storing: the centralized controller runs programs by itself, the common programs of all the controlled electric appliances and the corresponding relation between the identity of each controlled electric appliance and the control program of each controlled electric appliance.
Optionally, the controlling, by the centralized controller, the execution module of the controlled electrical appliance includes: controlling the running of the running program of the centralized controller; receiving a use instruction sent by a user; the use instruction carries the identity and the control instruction of the controlled electric appliance; analyzing the use instruction to obtain the identity and the control instruction of the controlled electric appliance; determining a control program corresponding to the controlled electric appliance according to the identity of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate according to the control program corresponding to the controlled electric appliance and a control instruction of the controlled electric appliance; acquiring state data of the controlled electric appliance in the running process of the controlled electric appliance; and controlling an execution module of the controlled electric appliance according to the state data of the controlled electric appliance.
Optionally, controlling, by the centralized controller, an execution module of the controlled electrical appliance to operate according to a control program corresponding to the controlled electrical appliance and a control instruction of the controlled electrical appliance, where the control program includes: determining a control program corresponding to the identity of the controlled electric appliance in the incidence relation according to the incidence relation between the identity of the controlled electric appliance and the control program; determining whether a control program corresponding to the controlled electric appliance has a corresponding process in operation; if the control program corresponding to the controlled electric appliance has a corresponding process in operation, sending a control instruction of the controlled electric appliance to the corresponding process of the control program corresponding to the controlled electric appliance; and if the control program corresponding to the controlled electric appliance does not have the corresponding running process, newly establishing the corresponding process of the control program corresponding to the controlled electric appliance, and sending the control instruction of the controlled electric appliance to the corresponding process of the control program corresponding to the controlled electric appliance.
Optionally, the acquiring, by the centralized controller, the state data of the controlled electrical appliance in the process of operating the controlled electrical appliance includes: passively receiving the operation data of the controlled electric appliance automatically collected by the controlled electric appliance as passive state data; and/or actively collecting control data of a control program corresponding to the controlled electric appliance as active state data; and/or, controlling an execution module of the controlled electric appliance through the integrated controller according to the state data of the controlled electric appliance, wherein the control method comprises the following steps: determining pin output data of the controlled electric appliance in the current state according to a control instruction in the process of a control program corresponding to the controlled electric appliance and the state data of the controlled electric appliance; if the pin output data is changed, encoding the pin output data into communication data, sending the communication data to the controlled electric appliance from a communication module according to the identity of the controlled electric appliance, decoding the communication data into the pin output data by a decoding module of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate.
According to the scheme of the invention, the control programs of the controlled electric appliances are centralized in the centralized controller, so that all the controlled electric appliances operate under the control of the centralized controller, the utilization rate of the computing capacity of the chip can be improved, and the cost of the electric appliances is reduced.
Furthermore, the scheme of the invention can reduce the cost of the electric appliance by not enabling the control program of the electric appliance to be positioned in the electric appliance.
Furthermore, by centralizing the control programs of all the electric appliances in the integrated controller, the invention can provide the consumed computing power for other electric appliances to use when the electric appliances are not used, thereby improving the utilization rate of the computing power of the chip and being beneficial to reducing the cost of the electric appliances.
Therefore, according to the scheme of the invention, the control programs of the controlled electrical appliances are centralized in the centralized controller, and the control programs of the controlled electrical appliances are not set in all the controlled electrical appliances, so that all the controlled electrical appliances are operated under the control of the centralized controller, the problem of increasing the cost of the electrical appliances due to low utilization rate of the computing power of the chip is solved, and the effect of improving the utilization rate of the computing power of the chip to reduce the cost of the electrical appliances is achieved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
FIG. 1 is a schematic structural diagram of a centralized control apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of a centralized control system of an embodiment of an electrical system of the present invention;
FIG. 3 is a flowchart illustrating an embodiment of a centralized control method according to the present invention;
FIG. 4 is a schematic flow chart illustrating an embodiment of controlling an execution module of a controlled electrical appliance according to the method of the present invention;
fig. 5 is a schematic flow chart illustrating an embodiment of controlling an execution module of the controlled electrical appliance according to a control program corresponding to the controlled electrical appliance and a control instruction of the controlled electrical appliance in the method of the present invention;
fig. 6 is a schematic flow chart illustrating an embodiment of controlling the execution module of the controlled electrical appliance according to the status data of the controlled electrical appliance in the method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
According to an embodiment of the present invention, there is provided a centralized control apparatus. Referring to fig. 1, a schematic diagram of an embodiment of the apparatus of the present invention is shown. The centralized control apparatus may include: and a centralized controller. In the centralized controller, control programs of all controlled electric appliances are stored and operated.
The centralized controller can be used for storing and operating control programs of all controlled electric appliances; in the centralized controller, the control program of each controlled appliance is associated with its identity. One control program can be associated with a plurality of controlled electric appliances, but one controlled electric appliance can be associated with only one control program. For example: one program can be run in n identical air conditioners, but one air conditioner can only run one program.
The centralized controller can also be used for establishing communication connection between the centralized controller and the controlled electric appliances, namely establishing communication connection between the centralized controller and at least one controlled electric appliance in all the controlled electric appliances. For example: the controlled electric appliance has complete operation capability after establishing connection with the process corresponding to the address of the controlled electric appliance on the centralized controller. For example: the controlled device and the centralized controller may be connected through communication, but the connection mode is not limited to a certain communication connection, and any communication technology that can provide low time delay and is stable and reliable may be used to establish the connection.
And the integrated controller can be also used for controlling the execution module of the controlled electric appliance according to the control program of the controlled electric appliance under the condition that the communication connection is established between the integrated controller and the controlled electric appliance.
Wherein, the control program of the electric appliance is not set in all the controlled electric appliances. For example: the identity of each controlled electric appliance can be selected from an address such as an ID, a name and the like. Each controlled appliance has its unique address and corresponding control program.
For example: the controlled electric appliance has no control program and can not be operated independently, the integrated controller is used for controlling the operation of the program, the problems that the electric appliance is required to have higher computing power in the intellectualization process of the electric appliance, the cost of an electric appliance chip is increased, most household electric appliances are in an idle state at most of time, the control chip with high cost cannot be used efficiently, and the computing power of the chip is wasted are solved, and the technical effect of effectively reducing the cost of the electric appliance is achieved. Unlike other electrical appliances, the integrated controller is less limited by the structure, can use a chip with a larger volume, and reduces the integration level of the chip under the same computing power, thereby reducing the cost of the chip.
For example: for an electric appliance system consisting of all electric appliances, when one electric appliance is not used, the consumed computing power of the electric appliance is distributed to other electric appliances for use, and the utilization rate of the computing power is improved. That is to say, when the electric appliance is not used, the calculation capacity consumed by the electric appliance is provided for other electric appliances, and the utilization rate of the calculation capacity is improved.
For example: the electrical appliances are separated from the control program, and when the program is upgraded, the upgrading of all the electrical appliances can be completed only by upgrading the program in the centralized controller, so that the convenience of program management is improved. Therefore, control programs of all the electric appliances are centralized in the centralized controller, one program simultaneously corresponds to a plurality of electric appliances of the same type, the problem that each electric appliance needs to be updated when the program of the electric appliances is updated is solved, the purpose that the program in the centralized controller is only updated is achieved, the program of the electric appliances of the whole system can be updated, and the technical effect of convenience in program management is improved.
Therefore, the control programs of all the electric appliances are centralized in the centralized controller, the intellectualization of the electric appliances is guaranteed, meanwhile, the electric appliances do not need to use a control chip with high computing power and high cost, and the cost of the electric appliances is saved.
Specifically, in the centralized controller, each controlled electrical appliance in an operating state corresponds to one process in the control program of the centralized controller. That is, in the centralized controller, each of all the controlled electrical appliances corresponds, when running, to one process in all the control programs in the centralized controller. One control program may correspond to a plurality of controlled appliances. A program is a piece of code that is a process when it runs on a processor. A program may have multiple processes, which is equivalent to a program being replicated into multiple copies to run simultaneously on a processor. One process is in one-to-one correspondence with one controlled appliance by remembering the identity, e.g., address, of the controlled appliance. For example: when 3 identical air conditioners need to be operated in the system and correspond to the same control program, the program generates 3 processes, and each process corresponds to one air conditioner.
Wherein, in the centralized controller, a group of controlled appliances having the same parameters in all the controlled appliances, the same parameters include: a model; for example, the control programs of a group of controlled electric appliances of the same model in all the controlled electric appliances correspond to the same control program in the centralized controller. When the control program is running, that is, different controlled electrical appliances in the group of controlled electrical appliances are running, different controlled electrical appliances in the group of controlled electrical appliances in a running state correspond to different processes of the same control program in the centralized controller.
For example: the centralized control system is composed of a centralized controller and a plurality of controlled electric appliances, each controlled electric appliance in all the electric appliances (namely all the controlled electric appliances) in the system has a unique address and a corresponding control program, and each running electric appliance corresponds to one process in the centralized controller. The electric appliances of the same type can correspond to the same program and represent different processes of the same program when running.
Therefore, the control programs of all the controlled electric appliances are set in the centralized controller, and a group of controlled electric appliances with the same parameters are embodied in the same control program in the centralized controller, so that the resources can be further saved, and the cost is saved.
In an optional example, the centralized controller may include: and a storage module. For example: the centralized controller mainly comprises a communication module, a processing module and a storage module. The centralized controller stores and runs control programs of all controlled electric appliances, and may include: and a storage module is arranged in the centralized controller. And storing the control programs of all controlled electric appliances through the storage module.
Wherein, in the centralized controller, through the storage module, further storing: the centralized controller runs programs by itself, the common programs of all the controlled electric appliances and the corresponding relation between the identity of each controlled electric appliance and the control program of each controlled electric appliance.
For example: the storage module of the integrated controller stores a controlled electric appliance control program, a self running program, a public program and an electric appliance address and program corresponding relation table. The controlled electric appliance mainly comprises a communication module, a decoding module, a data acquisition module and an execution module. The controlled electric appliance can not be operated independently, can not carry out user operation independently, and the controlled electric appliance does not have a control program of an execution module. That is, the controlled appliance cannot be operated alone, cannot independently execute a user instruction, and does not have a control program of the execution module. Therefore, the control programs can be centralized in the centralized controller, the cost can be reduced, and the management of the programs is convenient.
For example: the common program is used for carrying out the functions such as voice recognition, image recognition and the like which are common to all the electric appliances by using the independent program, the process corresponding to all the electric appliances sends a request to the processes such as the voice recognition, the image recognition and the like by using process communication, and the result is read, so that each electric appliance control program is not required to have voice recognition and image recognition codes, and the resource reuse rate is improved.
Therefore, the control program of the controlled electric appliance and the hardware of the electric appliance are separately arranged, the control program is centralized in the centralized controller, the cost can be reduced, and the program management is convenient.
In an optional example, the centralized controller may further include: a processing module and a communication module. The controlling, by the centralized controller, the execution module of the controlled electrical appliance according to the control program of the controlled electrical appliance may include:
and a processing module is arranged in the centralized controller. The centralized controller may further be configured to control, by the processing module, running of a running program of the centralized controller. For example: the centralized controller firstly runs the program of the centralized controller in the processing module.
In the centralized control, a communication module is further provided. The centralized controller can also be used for receiving a use instruction sent by a user through the communication module; the use instruction carries the identity and the control instruction of the controlled electric appliance, such as receiving a user instruction sent by a user. The usage instructions may include: the identity of the controlled appliance, such as the address of the controlled appliance, and a control instruction that can be used to control the controlled appliance, i.e., a control instruction that can be used to control the controlled appliance to perform a corresponding operation. For example: the centralized controller receives instructions from a user through the communication module. The user command can be composed of a controlled electric appliance address and a control command.
The centralized controller can also be used for analyzing the use instruction to obtain the identity and the control instruction of the controlled electric appliance; and determining a control program corresponding to the controlled electric appliance according to the identity of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate according to the control program corresponding to the controlled electric appliance and a control instruction of the controlled electric appliance.
Optionally, the determining, by the centralized controller, a control program corresponding to the controlled electrical appliance according to the identity of the controlled electrical appliance, and controlling, by the centralized controller, an execution module of the controlled electrical appliance to operate according to the control program corresponding to the controlled electrical appliance and a control instruction of the controlled electrical appliance may include:
the centralized controller may be further configured to, when the centralized controller analyzes the identity of the controlled electrical appliance from the use instruction, determine, according to an association relationship between the identity of the controlled electrical appliance and a control program, the control program corresponding to the identity of the controlled electrical appliance in the association relationship.
The centralized controller may be further configured to determine whether a control program corresponding to the controlled electrical appliance has a corresponding process that is running.
The centralized controller may be further configured to send a control instruction of the controlled electrical appliance to a corresponding process of the control program corresponding to the controlled electrical appliance, if the control program corresponding to the controlled electrical appliance has a corresponding process in operation.
The centralized controller may be further configured to, if the control program corresponding to the controlled electrical appliance does not have a corresponding process in operation, newly establish a corresponding process of the control program corresponding to the controlled electrical appliance, and send the control instruction of the controlled electrical appliance to the corresponding process of the control program corresponding to the controlled electrical appliance.
For example: the centralized controller analyzes the address of the controlled electric appliance from the user instruction, obtains a corresponding program from a corresponding relation table of the electric appliance address and the program, searches whether the program has a process in operation or not, and the address bound by the process is consistent with the electric appliance address in the user instruction.
Therefore, the integrated controller determines the control program corresponding to the controlled electric appliance according to the identity of the controlled electric appliance, and controls the execution module of the controlled electric appliance to operate according to the control program corresponding to the controlled electric appliance and the control instruction of the controlled electric appliance, so that the electric appliance can be intelligentized, and the cost of the electric appliance can be saved.
The centralized controller can also be used for acquiring the state data of the controlled electric appliance in the running process of the controlled electric appliance; and controlling an execution module of the controlled electric appliance according to the state data of the controlled electric appliance.
For example: the centralized controller analyzes the electric appliance address in the user instruction, runs the corresponding program in the processing module and binds the program process with the electric appliance address. And the program process calculates the state data of the controlled electric appliance according to the user control instruction to obtain pin output data, and sends the pin output data to the controlled electric appliance with the corresponding address through the communication module. The integrated controller remembers the corresponding relation between the process and the address of the electric appliance, the process needs to communicate with the electric appliance corresponding to the address, and data can be accurately sent and received with the corresponding electric appliance only if the address is bound.
Wherein, the control programs of the controlled devices (i.e. the controlled electric appliances) are all centralized in the centralized controller. The pin output data of the control program is encoded into communication data, the communication data is sent to the controlled electric appliance by the communication module, and the communication data is decoded into pin I/O output by the decoding module to control the execution module of the controlled electric appliance to operate.
For example: the general operation process of the common air conditioner is as follows: the equipment is powered on, and the control program of the equipment runs in the central control chip. The program receives the user's instructions and detects the current indoor ambient temperature to obtain the target parameters, and then the central control chip uses its pin output 0/1 to control the operation of the compressor, air deflector, fan motor, etc. The approximate operation process of the air conditioner in the intelligent home of the Internet of things is as follows: the mobile phone or the central control equipment (the millet sound box) receives the user instruction and sends the instruction to the air conditioner through the communication module. The air conditioner receives the user instruction, detects the current indoor environment temperature to obtain the target parameters, and then the central control chip uses the pin output 0/1 to control the operation of the compressor, the air deflector, the fan motor and the like. And finally, the air conditioner returns the state data to the mobile phone or the central control equipment through the communication module. In the scheme of the invention, the position of the original central control chip in the air conditioning equipment is replaced by a decoding chip with the same number of pins. The control program runs in the centralized controller, the centralized controller receives a user instruction and forwards the user instruction to a corresponding process of the corresponding control program, the air conditioner collects the current indoor temperature and sends the current indoor temperature to the corresponding process of the control program running in the centralized controller through the communication module, the corresponding process of the control program obtains target parameters according to the two data as before and obtains the output of the pins, and the pin output is coded into communication data to be sent to the air conditioner. After receiving the control data, the air conditioner is decoded into the original pin by the decoding module to be output, thereby controlling the operation of a motor, a compressor and the like.
Therefore, the control program is centralized in the centralized controller to control the execution module of the controlled electric appliance, and the utilization rate of the computing capacity of the chip is improved. The controlled electric appliance needs a control program, but the control program is not positioned in the electric appliance, and the control program cannot be operated independently, so that the program is separated from execution hardware, and the cost can be reduced.
Optionally, the centralized controller obtains the state data of the controlled electrical appliance during the operation of the controlled electrical appliance, and may include at least one of the following obtaining situations.
The first acquisition scenario: the centralized controller can also be used for passively receiving the operation data of the controlled electric appliance, which is automatically acquired by the controlled electric appliance, as passive state data. For example: the passive data acquisition is that the controlled electrical appliance acquires and sends data of a corresponding process of the integrated controller when receiving a data request of the corresponding process of the integrated controller.
The second acquisition scenario: the centralized controller can also be used for actively acquiring control data of a control program corresponding to the controlled electric appliance as active state data. For example: the actively acquired data is the data actively acquired by the controlled electric appliance after being connected with the process, and when the actively acquired data changes, the controlled electric appliance actively sends the data to the corresponding process of the integrated controller.
For example: some data (such as interruption data) that the electric appliance needs to report to the control program in time are data that needs to be actively collected, such as: interrupt signals, signals of fault detection modules, etc. Some control programs require data that is not responded to in time but is passively collected, such as: indoor temperature data. The less active data, the faster the program responds to it. The actively acquired data and the passively acquired data are distinguished, so that the communication bandwidth can be saved, the system efficiency is improved, the data is not timely, and the system resources are not occupied.
Therefore, the state data of the controlled electric appliance is acquired by the integrated controller in the running process of the controlled electric appliance, the execution module of the controlled electric appliance can be controlled according to the state data of the controlled electric appliance, and the intelligent degree of control and user experience are improved.
Optionally, the centralized controller acquires state data of the controlled electrical appliance in the process of running the controlled electrical appliance; and controlling the execution module of the controlled electrical appliance according to the state data of the controlled electrical appliance, which may include:
the centralized controller may be further configured to determine, according to a control instruction in a process of a control program corresponding to the controlled electrical appliance and the state data of the controlled electrical appliance, pin output data of the controlled electrical appliance in the current state.
The centralized controller may be further configured to encode the pin output data into communication data if the pin output data changes, send the communication data to the controlled electrical appliance from the communication module according to the identity of the controlled electrical appliance, and control the execution module of the controlled electrical appliance to operate after the communication data is decoded into the pin output data by the decoding module of the controlled electrical appliance.
For example: the controlled electric appliance collects self state data through the data collection module. The state data of the controlled electric appliance is divided into actively acquired data and passively acquired data. The controlled electric appliance program process establishes communication connection with the electric appliance corresponding to the address, and the process receives state data from the corresponding electric appliance through the communication module. And when the pin output data is changed, the controlled electric appliance program process sends the pin output data to the electric appliance corresponding to the address through the communication module. The controlled electric appliance receives the pin output data from the integrated controller through the communication module, the pin output data is decoded into pin output data such as I/O output data through the decoding module, the output pin of the decoding module such as an I/O output pin is connected to each execution module of the electric appliance, and the execution module executes corresponding operation according to the pin output data, so that the effect of remotely controlling the electric appliance execution module by the control program is achieved.
Therefore, the execution module of the controlled electric appliance is controlled by the integrated controller according to the state data of the controlled electric appliance, the running state of the controlled electric appliance can be intelligently controlled, and the improvement of user experience is facilitated.
Through a large number of tests, the technical scheme of the invention is adopted, and the control programs of the controlled electric appliances are centralized in the centralized controller, so that all the controlled electric appliances are controlled by the centralized controller to operate, the utilization rate of the computing capacity of the chip can be improved, and the cost of the electric appliances is reduced.
According to the embodiment of the invention, an electric appliance system corresponding to the centralized control device is also provided. The electrical system may include: the centralized control device described above.
Considering that the intellectualization of the electric appliance is a development trend of the electric appliance, the intellectualization requires the electric appliance to have higher computing capability, and the cost of an electric appliance chip is increased. In addition, most household appliances are in an idle state most of the time, so that a high-cost control chip cannot be used efficiently, and the computing power of the chip is wasted.
In an optional embodiment, at least in order to improve the utilization rate of the computing power of the chip to reduce the cost of the electrical appliance, the scheme of the invention provides a centralized control system, control programs of all electrical appliances are centralized in a centralized controller, the electrical appliances are ensured to be intelligent, meanwhile, the electrical appliances do not need to use control chips with high computing power and high cost, and the cost of the electrical appliances is saved. The controlled electric appliance has no control program and cannot be operated independently, and the integrated controller is used for operating the control program. The Internet of things only controls the existing electric appliances, the electric appliances are solely responsible for the control programs of the electric appliances, and the central controller only issues commands to the corresponding controlled electric appliances.
Optionally, for an electrical appliance system formed by all the electrical appliances, when one electrical appliance is not used, the computing power consumed by the electrical appliance is distributed to other electrical appliances for use, and the utilization rate of the computing power is improved. That is to say, when the electric appliance is not used, the calculation capacity consumed by the electric appliance is provided for other electric appliances, and the utilization rate of the calculation capacity is improved.
For example: in a common scene, the electrical appliances are generally not all turned on, the number of the electrical appliances turned on simultaneously is always in a dynamic fluctuation, and as long as the fluctuation of the number of the electrical appliances turned on simultaneously does not exceed the total computing capacity of the centralized controller, the operation of each electrical appliance is not influenced. Thus, the computing power of the centralized controller may be less than the sum of the computing power required by all of the appliances, thereby reducing the cost of the overall system.
Unlike other electrical appliances, the integrated controller is less limited by the structure, can use a chip with a larger volume, and reduces the integration level of the chip under the same computing power, thereby reducing the cost of the chip. Therefore, the problems that the cost of an electric appliance chip is increased due to the fact that the electric appliance is required to have higher computing power in the intellectualization of the electric appliance, most household appliances are in an idle state at most of time, a control chip with high cost cannot be used efficiently, and the computing power of the chip is wasted are solved, and the technical effect of effectively reducing the cost of the electric appliance is achieved.
Optionally, the electrical appliances are separated from the control program, and when the program is upgraded, the upgrading of all the electrical appliances can be completed only by upgrading the program in the centralized controller, so that the convenience of program management is improved. Therefore, control programs of all the electric appliances are centralized in the centralized controller, one program simultaneously corresponds to a plurality of electric appliances of the same type, the problem that each electric appliance needs to be updated when the program of the electric appliances is updated is solved, the purpose that the program in the centralized controller is only updated is achieved, the program of the electric appliances of the whole system can be updated, and the technical effect of convenience in program management is improved.
In an alternative example, as shown in fig. 2, the solution of the present invention provides a centralized control system, which is composed of a centralized controller and a plurality of controlled appliances, each controlled appliance in all appliances (i.e. all controlled appliances) in the system has its unique address and corresponding control program, and each operating appliance corresponds to one process in the centralized controller. The electric appliances of the same type can correspond to the same program and represent different processes of the same program when running.
Optionally, the centralized controller may mainly include a communication module, a processing module, and a storage module. The storage module of the integrated controller stores a controlled electric appliance control program, a self running program, a public program and an electric appliance address and program corresponding relation table.
For example: the program of the controlled electric appliance corresponds to the program in the current running of an air conditioner and a washing machine, and the electric appliances such as the air conditioner and the washing machine need the control program to control the operation of an execution module such as a motor. The program of the centralized controller is a program which is operated by the centralized controller: it is used to receive the instruction of user and run the program of corresponding controlled electric appliance. The public program comprises the following steps: namely voice recognition, image recognition and other programs. The program which is used by most household appliances and has low association degree with the equipment. The degree storage can be independent storage, for example, the programs of the household appliance are stored and operated in a centralized controller, and the pins of the original chip are output and sent out by the communication module.
Optionally, the controlled electrical appliance may mainly include a communication module, a decoding module, a data acquisition module, and an execution module. The controlled electric appliance can not be operated independently, can not carry out user operation independently, and the controlled electric appliance does not have a control program of an execution module. That is, the controlled appliance cannot be operated alone, cannot independently execute a user instruction, and does not have a control program of the execution module. Therefore, the control programs can be centralized in the centralized controller, the cost can be reduced, and the management of the programs is convenient.
The controlled electric appliance has complete operation capability only after establishing connection with the process corresponding to the address of the controlled electric appliance on the centralized controller. For example: the controlled device and the centralized controller may be connected through communication, but the connection mode is not limited to a certain communication connection, and any communication technology that can provide low time delay and is stable and reliable may be used to establish the connection.
When the control system works, the control flow between the centralized controller and the controlled electric appliance may include:
step 1, the centralized controller firstly runs a self program in a processing module and receives an instruction from a user through a communication module. The user command can be composed of a controlled electric appliance address and a control command.
And 2, the integrated controller analyzes the electric appliance address in the user instruction, runs the corresponding program in the processing module and binds the program process with the electric appliance address. And the program process calculates the state data of the controlled electric appliance according to the user control instruction to obtain pin output data, and sends the pin output data to the controlled electric appliance with the corresponding address through the communication module. The integrated controller remembers the corresponding relation between the process and the address of the electric appliance, the process needs to communicate with the electric appliance corresponding to the address, and data can be accurately sent and received with the corresponding electric appliance only if the address is bound.
Specifically, the centralized controller analyzes the controlled electrical appliance address from the user instruction, obtains a corresponding program from a corresponding relation table of the electrical appliance address and the program, searches whether the program has a running process, and the address bound by the process is consistent with the electrical appliance address in the user instruction.
And 3, acquiring self state data of the controlled electric appliance through a data acquisition module. The state data of the controlled electric appliance is divided into actively acquired data and passively acquired data.
Specifically, the controlled electrical appliance program process establishes communication connection with the electrical appliance corresponding to the address, and the process receives the state data from the corresponding electrical appliance through the communication module. And when the pin output data is changed, the controlled electric appliance program process sends the pin output data to the electric appliance corresponding to the address through the communication module.
Some of the data (such as interrupt data) that the electric appliance needs to report to the control program in time are data that needs to be actively collected, such as: interrupt signals, signals of fault detection modules, etc. Some control programs require data that is not responded to in time but is passively collected, such as: indoor temperature data. The less active data, the faster the program responds to it. The actively acquired data and the passively acquired data are distinguished, so that the communication bandwidth can be saved, the system efficiency is improved, the data is not timely, and the system resources are not occupied.
Specifically, the actively acquired data is data actively acquired by the controlled electrical appliance after being connected with the process, and when the actively acquired data changes, the controlled electrical appliance actively transmits the data to the process corresponding to the centralized controller. The passive data acquisition is that the controlled electrical appliance acquires and sends data of a corresponding process of the integrated controller when receiving a data request of the corresponding process of the integrated controller.
And 4, the controlled electric appliance receives the pin output data from the integrated controller through the communication module, the pin output data is decoded into pin output data such as I/O output data through the decoding module, the output pin such as the I/O output pin of the decoding module is connected to each execution module of the electric appliance, and the execution module executes corresponding operation according to the pin output data, so that the effect of remotely controlling the electric appliance execution module by the control program is realized.
The process corresponding to each electric appliance sends a request to the processes of voice recognition, image recognition and the like by using process communication and reads the result, so that each electric appliance control program is not required to have voice recognition and image recognition codes, and the resource reuse rate is improved.
Therefore, according to the scheme of the invention, the utilization rate of the computing capacity of the chip is improved by centralizing the control program in the centralized controller. The controlled electric appliance needs a control program, but the control program is not positioned in the electric appliance, and the control program cannot be operated independently, so that the program is separated from execution hardware, and the cost can be reduced.
Since the processes and functions implemented by the electrical system of the present embodiment substantially correspond to the embodiments, principles, and examples of the apparatus shown in fig. 1, reference may be made to the related descriptions in the foregoing embodiments without being detailed in the description of the present embodiment.
Through a large number of tests, the technical scheme of the invention can reduce the cost of the electric appliance by not enabling the control program of the electric appliance to be positioned in the electric appliance.
According to an embodiment of the present invention, there is also provided a centralized control method for an electrical system corresponding to the electrical system, as shown in fig. 3, which is a schematic flow chart of an embodiment of the method of the present invention. The centralized control method of the electric appliance system can comprise the following steps: step S110 to step S130.
At step S110, storing and running control programs of all controlled electric appliances through the centralized controller; in the centralized controller, the control program of each controlled appliance is associated with its identity. One control program can be associated with a plurality of controlled electric appliances, but one controlled electric appliance can be associated with only one control program. For example: one program can be run in n identical air conditioners, but one air conditioner can only run one program.
In an optional example, the centralized controller may include: and a storage module. For example: the centralized controller mainly comprises a communication module, a processing module and a storage module. The storing and running of the control programs of all controlled electric appliances by the integrated controller can include: and a storage module is arranged in the centralized controller. And storing the control programs of all controlled electric appliances through the storage module.
Wherein, in the centralized controller, through the storage module, further storing: the centralized controller runs programs by itself, the common programs of all the controlled electric appliances and the corresponding relation between the identity of each controlled electric appliance and the control program of each controlled electric appliance.
For example: the storage module of the integrated controller stores a controlled electric appliance control program, a self running program, a public program and an electric appliance address and program corresponding relation table. The controlled electric appliance mainly comprises a communication module, a decoding module, a data acquisition module and an execution module. The controlled electric appliance can not be operated independently, can not carry out user operation independently, and the controlled electric appliance does not have a control program of an execution module. That is, the controlled appliance cannot be operated alone, cannot independently execute a user instruction, and does not have a control program of the execution module. Therefore, the control programs can be centralized in the centralized controller, the cost can be reduced, and the management of the programs is convenient.
For example: the common program is used for carrying out the functions such as voice recognition, image recognition and the like which are common to all the electric appliances by using the independent program, the process corresponding to all the electric appliances sends a request to the processes such as the voice recognition, the image recognition and the like by using process communication, and the result is read, so that each electric appliance control program is not required to have voice recognition and image recognition codes, and the resource reuse rate is improved.
Therefore, the control program of the controlled electric appliance and the hardware of the electric appliance are separately arranged, the control program is centralized in the centralized controller, the cost can be reduced, and the program management is convenient.
At step S120, a communication connection is established between the centralized controller and the controlled electrical appliances through the centralized controller, i.e., the communication connection is established between the centralized controller itself and at least one controlled electrical appliance among all the controlled electrical appliances. For example: the controlled electric appliance has complete operation capability after establishing connection with the process corresponding to the address of the controlled electric appliance on the centralized controller. For example: the controlled device and the centralized controller may be connected through communication, but the connection mode is not limited to a certain communication connection, and any communication technology that can provide low time delay and is stable and reliable may be used to establish the connection.
And, at step S130, controlling, by the centralized controller, the execution module of the controlled electrical appliance according to the control program of the controlled electrical appliance, in the case that a communication connection is established between the centralized controller and the controlled electrical appliance.
Wherein, the control program of the electric appliance is not set in all the controlled electric appliances. For example: the identity of each controlled electric appliance can be selected from an address such as an ID, a name and the like. Each controlled appliance has its unique address and corresponding control program.
For example: the controlled electric appliance has no control program and can not be operated independently, the integrated controller is used for controlling the operation of the program, the problems that the electric appliance is required to have higher computing power in the intellectualization process of the electric appliance, the cost of an electric appliance chip is increased, most household electric appliances are in an idle state at most of time, the control chip with high cost cannot be used efficiently, and the computing power of the chip is wasted are solved, and the technical effect of effectively reducing the cost of the electric appliance is achieved. Unlike other electrical appliances, the integrated controller is less limited by the structure, can use a chip with a larger volume, and reduces the integration level of the chip under the same computing power, thereby reducing the cost of the chip.
For example: for an electric appliance system consisting of all electric appliances, when one electric appliance is not used, the consumed computing power of the electric appliance is distributed to other electric appliances for use, and the utilization rate of the computing power is improved. That is to say, when the electric appliance is not used, the calculation capacity consumed by the electric appliance is provided for other electric appliances, and the utilization rate of the calculation capacity is improved.
For example: the electrical appliances are separated from the control program, and when the program is upgraded, the upgrading of all the electrical appliances can be completed only by upgrading the program in the centralized controller, so that the convenience of program management is improved. Therefore, control programs of all the electric appliances are centralized in the centralized controller, one program simultaneously corresponds to a plurality of electric appliances of the same type, the problem that each electric appliance needs to be updated when the program of the electric appliances is updated is solved, the purpose that the program in the centralized controller is only updated is achieved, the program of the electric appliances of the whole system can be updated, and the technical effect of convenience in program management is improved.
Therefore, the control programs of all the electric appliances are centralized in the centralized controller, the intellectualization of the electric appliances is guaranteed, meanwhile, the electric appliances do not need to use a control chip with high computing power and high cost, and the cost of the electric appliances is saved.
Specifically, in the centralized controller, each controlled electrical appliance in an operating state corresponds to one process in the control program of the centralized controller. That is, in the centralized controller, each of all the controlled electrical appliances corresponds, when running, to one process in all the control programs in the centralized controller. One control program may correspond to a plurality of controlled appliances. A program is a piece of code that is a process when it runs on a processor. A program may have multiple processes, which is equivalent to a program being replicated into multiple copies to run simultaneously on a processor. One process is in one-to-one correspondence with one controlled appliance by remembering the identity, e.g., address, of the controlled appliance. For example: when 3 identical air conditioners need to be operated in the system and correspond to the same control program, the program generates 3 processes, and each process corresponds to one air conditioner.
Wherein, in the centralized controller, a group of controlled appliances having the same parameters in all the controlled appliances, the same parameters include: a model; for example, the control programs of a group of controlled electric appliances of the same model in all the controlled electric appliances correspond to the same control program in the centralized controller. When the control program is running, that is, different controlled electrical appliances in the group of controlled electrical appliances are running, different controlled electrical appliances in the group of controlled electrical appliances in a running state correspond to different processes of the same control program in the centralized controller.
For example: the centralized control system is composed of a centralized controller and a plurality of controlled electric appliances, each controlled electric appliance in all the electric appliances (namely all the controlled electric appliances) in the system has a unique address and a corresponding control program, and each running electric appliance corresponds to one process in the centralized controller. The electric appliances of the same type can correspond to the same program and represent different processes of the same program when running.
Therefore, the control programs of all the controlled electric appliances are set in the centralized controller, and a group of controlled electric appliances with the same parameters are embodied in the same control program in the centralized controller, so that the resources can be further saved, and the cost is saved.
In an optional example, the centralized controller may further include: a processing module and a communication module. In step S130, the specific process of controlling the execution module of the controlled electrical appliance by the centralized controller according to the control program of the controlled electrical appliance may be referred to the following exemplary description.
The following further describes a specific process of controlling the execution module of the controlled electrical appliance in step S130 with reference to a flowchart of an embodiment of controlling the execution module of the controlled electrical appliance in the method of the present invention shown in fig. 4, which may include: step S210 to step S240.
Step S210, a processing module is arranged in the centralized controller. And controlling the running of the running program of the centralized controller by the processing module. For example: the centralized controller firstly runs the program of the centralized controller in the processing module.
Step S220, in the centralized control, a communication module is further provided. Receiving a use instruction sent by a user through the communication module; the use instruction carries the identity and the control instruction of the controlled electric appliance, such as receiving a user instruction sent by a user. The usage instructions may include: the identity of the controlled appliance, such as the address of the controlled appliance, and a control instruction that can be used to control the controlled appliance, i.e., a control instruction that can be used to control the controlled appliance to perform a corresponding operation. For example: the centralized controller receives instructions from a user through the communication module. The user command can be composed of a controlled electric appliance address and a control command.
Step S230, the centralized controller analyzes the use instruction to obtain the identity and the control instruction of the controlled electric appliance; and determining a control program corresponding to the controlled electric appliance according to the identity of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate according to the control program corresponding to the controlled electric appliance and a control instruction of the controlled electric appliance.
Optionally, with reference to a flowchart of an embodiment of the method shown in fig. 5, in which the execution module of the controlled electrical appliance is controlled to operate according to the control program corresponding to the controlled electrical appliance and the control instruction of the controlled electrical appliance, a specific process of controlling the execution module of the controlled electrical appliance to operate according to the control program corresponding to the controlled electrical appliance and the control instruction of the controlled electrical appliance in step S230 may further be described, where the specific process includes: step S310 to step S340.
Step S310, when the centralized controller analyzes the identity of the controlled electrical appliance from the usage instruction, determining a control program corresponding to the identity of the controlled electrical appliance in the association relationship according to the association relationship between the identity of the controlled electrical appliance and the control program.
Step S320, determining whether the control program corresponding to the controlled electric appliance has a corresponding process in operation.
Step S330, if the control program corresponding to the controlled electrical appliance has a corresponding process in operation, sending the control instruction of the controlled electrical appliance to the corresponding process of the control program corresponding to the controlled electrical appliance.
Step S340, if the control program corresponding to the controlled electrical appliance does not have the corresponding running process, newly creating a corresponding process of the control program corresponding to the controlled electrical appliance, and sending the control instruction of the controlled electrical appliance to the corresponding process of the control program corresponding to the controlled electrical appliance.
For example: the centralized controller analyzes the address of the controlled electric appliance from the user instruction, obtains a corresponding program from a corresponding relation table of the electric appliance address and the program, searches whether the program has a process in operation or not, and the address bound by the process is consistent with the electric appliance address in the user instruction.
Therefore, the integrated controller determines the control program corresponding to the controlled electric appliance according to the identity of the controlled electric appliance, and controls the execution module of the controlled electric appliance to operate according to the control program corresponding to the controlled electric appliance and the control instruction of the controlled electric appliance, so that the electric appliance can be intelligentized, and the cost of the electric appliance can be saved.
Step S240, the centralized controller obtains the state data of the controlled electrical appliance in the process of the controlled electrical appliance running; and controlling an execution module of the controlled electric appliance according to the state data of the controlled electric appliance.
For example: the centralized controller analyzes the electric appliance address in the user instruction, runs the corresponding program in the processing module and binds the program process with the electric appliance address. And the program process calculates the state data of the controlled electric appliance according to the user control instruction to obtain pin output data, and sends the pin output data to the controlled electric appliance with the corresponding address through the communication module. The integrated controller remembers the corresponding relation between the process and the address of the electric appliance, the process needs to communicate with the electric appliance corresponding to the address, and data can be accurately sent and received with the corresponding electric appliance only if the address is bound.
Wherein, the control programs of the controlled devices (i.e. the controlled electric appliances) are all centralized in the centralized controller. The pin output data of the control program is encoded into communication data, the communication data is sent to the controlled electric appliance by the communication module, and the communication data is decoded into pin I/O output by the decoding module to control the execution module of the controlled electric appliance to operate.
For example: general operation process of the general air conditioner: the equipment is powered on, and the control program of the equipment runs in the central control chip. The program receives the user's instructions and detects the current indoor ambient temperature to obtain the target parameters, and then the central control chip uses its pin output 0/1 to control the operation of the compressor, air deflector, fan motor, etc. The approximate operation process of the air conditioner in the intelligent home of the Internet of things is as follows: the mobile phone or the central control equipment (the millet sound box) receives the user instruction and sends the instruction to the air conditioner through the communication module. The air conditioner receives the user instruction, detects the current indoor environment temperature to obtain the target parameters, and then the central control chip uses the pin output 0/1 to control the operation of the compressor, the air deflector, the fan motor and the like. And finally, the air conditioner returns the state data to the mobile phone or the central control equipment through the communication module. In the scheme of the invention, the position of the original central control chip in the air conditioning equipment is replaced by a decoding chip with the same number of pins. The control program runs in the centralized controller, the centralized controller receives a user instruction and forwards the user instruction to a corresponding process of the corresponding control program, the air conditioner collects the current indoor temperature and sends the current indoor temperature to the corresponding process of the control program running in the centralized controller through the communication module, the corresponding process of the control program obtains target parameters according to the two data as before and obtains the output of the pins, and the pin output is coded into communication data to be sent to the air conditioner. After receiving the control data, the air conditioner is decoded into the original pin by the decoding module to be output, thereby controlling the operation of a motor, a compressor and the like.
Therefore, the control program is centralized in the centralized controller to control the execution module of the controlled electric appliance, and the utilization rate of the computing capacity of the chip is improved. The controlled electric appliance needs a control program, but the control program is not positioned in the electric appliance, and the control program cannot be operated independently, so that the program is separated from execution hardware, and the cost can be reduced.
Optionally, in step S240, the centralized controller acquires the state data of the controlled electrical appliance during the operation of the controlled electrical appliance, and may include at least one of the following acquiring situations.
The first acquisition scenario: and passively receiving the operation data of the controlled electric appliance automatically collected by the controlled electric appliance as passive state data. For example: the passive data acquisition is that the controlled electrical appliance acquires and sends data of a corresponding process of the integrated controller when receiving a data request of the corresponding process of the integrated controller.
The second acquisition scenario: and actively acquiring control data of a control program corresponding to the controlled electric appliance as active state data. For example: the actively acquired data is the data actively acquired by the controlled electric appliance after being connected with the process, and when the actively acquired data changes, the controlled electric appliance actively sends the data to the corresponding process of the integrated controller.
For example: some data (such as interruption data) that the electric appliance needs to report to the control program in time are data that needs to be actively collected, such as: interrupt signals, signals of fault detection modules, etc. Some control programs require data that is not responded to in time but is passively collected, such as: indoor temperature data. The less active data, the faster the program responds to it. The actively acquired data and the passively acquired data are distinguished, so that the communication bandwidth can be saved, the system efficiency is improved, the data is not timely, and the system resources are not occupied.
Therefore, the state data of the controlled electric appliance is acquired by the integrated controller in the running process of the controlled electric appliance, the execution module of the controlled electric appliance can be controlled according to the state data of the controlled electric appliance, and the intelligent degree of control and user experience are improved.
Optionally, in step S240, the state data of the controlled electrical appliance is acquired by the centralized controller during the operation of the controlled electrical appliance; and a specific process of controlling the execution module of the controlled electrical appliance according to the state data of the controlled electrical appliance can be referred to the following exemplary description.
Referring to the schematic flow chart of an embodiment of the method of the present invention shown in fig. 6, which controls the execution module of the controlled electrical appliance according to the state data of the controlled electrical appliance, further describing a specific process of controlling the execution module of the controlled electrical appliance according to the state data of the controlled electrical appliance in step S240, which may include: step S410 and step S420.
Step S410, determining pin output data of the controlled electrical appliance in the current state according to the control instruction in the process of the control program corresponding to the controlled electrical appliance and the state data of the controlled electrical appliance.
Step S420, if the pin output data changes, encoding the pin output data into communication data, sending the communication data from the communication module to the controlled electrical appliance according to the identity of the controlled electrical appliance, and controlling the execution module of the controlled electrical appliance to operate after the communication data is decoded into the pin output data by the decoding module of the controlled electrical appliance.
For example: the controlled electric appliance collects self state data through the data collection module. The state data of the controlled electric appliance is divided into actively acquired data and passively acquired data. The controlled electric appliance program process establishes communication connection with the electric appliance corresponding to the address, and the process receives state data from the corresponding electric appliance through the communication module. And when the pin output data is changed, the controlled electric appliance program process sends the pin output data to the electric appliance corresponding to the address through the communication module. The controlled electric appliance receives the pin output data from the integrated controller through the communication module, the pin output data is decoded into pin output data such as I/O output data through the decoding module, the output pin of the decoding module such as an I/O output pin is connected to each execution module of the electric appliance, and the execution module executes corresponding operation according to the pin output data, so that the effect of remotely controlling the electric appliance execution module by the control program is achieved.
Therefore, the execution module of the controlled electric appliance is controlled by the integrated controller according to the state data of the controlled electric appliance, the running state of the controlled electric appliance can be intelligently controlled, and the improvement of user experience is facilitated.
Since the processes and functions implemented by the method of the present embodiment substantially correspond to the embodiments, principles and examples of the electrical system, reference may be made to the related descriptions in the foregoing embodiments without being detailed in the description of the present embodiment.
Through a large number of tests, the technical scheme of the embodiment is adopted, and the control programs of all the electric appliances are centralized in the integrated controller, so that when the electric appliances are not used, the consumed computing power of the electric appliances can be provided for other electric appliances for use, the utilization rate of the computing power of the chip is improved, and the cost of the electric appliances is favorably reduced.
In summary, it is readily understood by those skilled in the art that the advantageous modes described above can be freely combined and superimposed without conflict.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (13)

1. A central control apparatus, comprising: a centralized controller;
the centralized controller is used for storing and operating control programs of all controlled electric appliances; in the centralized controller, the control program of each controlled electric appliance is associated with the identity of the controlled electric appliance;
establishing communication connection between the centralized controller and the controlled electric appliance;
controlling an execution module of the controlled electric appliance according to a control program of the controlled electric appliance;
wherein, the control program of the electric appliance is not set in all the controlled electric appliances.
2. The centralized control apparatus according to claim 1, wherein each controlled appliance in an operating state corresponds to one process in the control program of the centralized controller;
wherein, a group of controlled electric appliances with the same parameters in all the controlled electric appliances correspond to the same control program in the centralized controller; the same parameters comprise: a model; during operation, different controlled electrical appliances in the group of controlled electrical appliances in the operating state correspond to different processes of the same control program in the centralized controller.
3. The centralized control device according to claim 1 or 2, wherein the centralized controller stores and runs control programs of all controlled electric appliances, including:
storing control programs of all controlled electric appliances in the integrated controller;
wherein, in the centralized controller, further storing: the centralized controller runs programs by itself, the common programs of all the controlled electric appliances and the corresponding relation between the identity of each controlled electric appliance and the control program of each controlled electric appliance.
4. The centralized control device according to claim 1 or 2, wherein the centralized controller controls an execution module of the controlled electric appliance, and includes:
controlling the running of the running program of the centralized controller;
receiving a use instruction sent by a user; the use instruction carries the identity and the control instruction of the controlled electric appliance;
analyzing the use instruction to obtain the identity and the control instruction of the controlled electric appliance; determining a control program corresponding to the controlled electric appliance according to the identity of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate according to the control program corresponding to the controlled electric appliance and a control instruction of the controlled electric appliance;
acquiring state data of the controlled electric appliance in the running process of the controlled electric appliance; and controlling an execution module of the controlled electric appliance according to the state data of the controlled electric appliance.
5. The centralized control device according to claim 4, wherein the centralized controller controls the operation of the execution module of the controlled electrical appliance according to the control program corresponding to the controlled electrical appliance and the control command of the controlled electrical appliance, and the centralized control device comprises:
determining a control program corresponding to the identity of the controlled electric appliance in the incidence relation according to the incidence relation between the identity of the controlled electric appliance and the control program;
determining whether a control program corresponding to the controlled electric appliance has a corresponding process in operation;
if the control program corresponding to the controlled electric appliance has a corresponding process in operation, sending a control instruction of the controlled electric appliance to the corresponding process of the control program corresponding to the controlled electric appliance;
and if the control program corresponding to the controlled electric appliance does not have the corresponding running process, newly establishing the corresponding process of the control program corresponding to the controlled electric appliance, and sending the control instruction of the controlled electric appliance to the corresponding process of the control program corresponding to the controlled electric appliance.
6. The centralized control apparatus of claim 4, wherein,
the centralized controller obtains the state data of the controlled electric appliance in the process of running of the controlled electric appliance, and the process comprises the following steps:
passively receiving the operation data of the controlled electric appliance automatically collected by the controlled electric appliance as passive state data; and/or the presence of a gas in the gas,
actively collecting control data of a control program corresponding to the controlled electric appliance as active state data;
and/or the presence of a gas in the gas,
the centralized controller controls the execution module of the controlled electric appliance according to the state data of the controlled electric appliance, and the method comprises the following steps:
determining pin output data of the controlled electric appliance in the current state according to a control instruction in the process of a control program corresponding to the controlled electric appliance and the state data of the controlled electric appliance;
if the pin output data is changed, encoding the pin output data into communication data, sending the communication data to the controlled electric appliance from a communication module according to the identity of the controlled electric appliance, decoding the communication data into the pin output data by a decoding module of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate.
7. An electrical system, comprising: the central control apparatus according to any one of claims 1 to 6.
8. A centralized control method of an electric system is characterized by comprising the following steps:
storing and operating control programs of all controlled electric appliances through the integrated controller; in the centralized controller, the control program of each controlled electric appliance is associated with the identity of the controlled electric appliance;
establishing communication connection between the centralized controller and a controlled electric appliance through the centralized controller;
controlling an execution module of the controlled electric appliance through the integrated controller according to a control program of the controlled electric appliance;
wherein, the control program of the electric appliance is not set in all the controlled electric appliances.
9. The centralized control method of an electric system according to claim 8, wherein each controlled electric appliance in an operating state corresponds to one process in a control program of the centralized controller;
wherein, a group of controlled electric appliances with the same parameters in all the controlled electric appliances correspond to the same control program in the centralized controller; the same parameters comprise: a model; during operation, different controlled electrical appliances in the group of controlled electrical appliances in the operating state correspond to different processes of the same control program in the centralized controller.
10. The centralized control method of the electric system according to claim 8 or 9, wherein the storing and running of the control programs of all the controlled electric appliances by the centralized controller includes:
storing control programs of all controlled electric appliances in the integrated controller;
wherein, in the centralized controller, further storing: the centralized controller runs programs by itself, the common programs of all the controlled electric appliances and the corresponding relation between the identity of each controlled electric appliance and the control program of each controlled electric appliance.
11. The centralized control method of the electric appliance system according to claim 8 or 9, wherein the controlling of the execution module of the controlled electric appliance by the centralized controller includes:
controlling the running of the running program of the centralized controller;
receiving a use instruction sent by a user; the use instruction carries the identity and the control instruction of the controlled electric appliance;
analyzing the use instruction to obtain the identity and the control instruction of the controlled electric appliance; determining a control program corresponding to the controlled electric appliance according to the identity of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate according to the control program corresponding to the controlled electric appliance and a control instruction of the controlled electric appliance;
acquiring state data of the controlled electric appliance in the running process of the controlled electric appliance; and controlling an execution module of the controlled electric appliance according to the state data of the controlled electric appliance.
12. The centralized control method of an electrical system according to claim 11, wherein the controlling, by the centralized controller, the execution module of the controlled electrical appliance to operate according to the control program corresponding to the controlled electrical appliance and the control instruction of the controlled electrical appliance includes:
determining a control program corresponding to the identity of the controlled electric appliance in the incidence relation according to the incidence relation between the identity of the controlled electric appliance and the control program;
determining whether a control program corresponding to the controlled electric appliance has a corresponding process in operation;
if the control program corresponding to the controlled electric appliance has a corresponding process in operation, sending a control instruction of the controlled electric appliance to the corresponding process of the control program corresponding to the controlled electric appliance;
and if the control program corresponding to the controlled electric appliance does not have the corresponding running process, newly establishing the corresponding process of the control program corresponding to the controlled electric appliance, and sending the control instruction of the controlled electric appliance to the corresponding process of the control program corresponding to the controlled electric appliance.
13. The centralized control method of an electric system according to claim 11, wherein,
acquiring state data of the controlled electric appliance by the integrated controller in the running process of the controlled electric appliance, wherein the state data comprises the following steps:
passively receiving the operation data of the controlled electric appliance automatically collected by the controlled electric appliance as passive state data; and/or the presence of a gas in the gas,
actively collecting control data of a control program corresponding to the controlled electric appliance as active state data;
and/or the presence of a gas in the gas,
controlling an execution module of the controlled electric appliance through an integrated controller according to the state data of the controlled electric appliance, wherein the control method comprises the following steps:
determining pin output data of the controlled electric appliance in the current state according to a control instruction in the process of a control program corresponding to the controlled electric appliance and the state data of the controlled electric appliance;
if the pin output data is changed, encoding the pin output data into communication data, sending the communication data to the controlled electric appliance from a communication module according to the identity of the controlled electric appliance, decoding the communication data into the pin output data by a decoding module of the controlled electric appliance, and controlling an execution module of the controlled electric appliance to operate.
CN202010573294.2A 2020-06-22 2020-06-22 Centralized control device, electric appliance system and centralized control method thereof Active CN111736551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010573294.2A CN111736551B (en) 2020-06-22 2020-06-22 Centralized control device, electric appliance system and centralized control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010573294.2A CN111736551B (en) 2020-06-22 2020-06-22 Centralized control device, electric appliance system and centralized control method thereof

Publications (2)

Publication Number Publication Date
CN111736551A CN111736551A (en) 2020-10-02
CN111736551B true CN111736551B (en) 2021-08-17

Family

ID=72650308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010573294.2A Active CN111736551B (en) 2020-06-22 2020-06-22 Centralized control device, electric appliance system and centralized control method thereof

Country Status (1)

Country Link
CN (1) CN111736551B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113270094A (en) * 2021-04-15 2021-08-17 珠海荣邦智能科技有限公司 Electrical equipment control method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1260679A (en) * 2000-01-21 2000-07-19 北京邮电通信设备厂 Mobile phone set used concurrently as household electrical appliance remote controller
CN2641946Y (en) * 2003-01-13 2004-09-15 曹伟龙 System for scatter and central controlling electrical appliances in way of comunication
CN101473282A (en) * 2006-07-13 2009-07-01 三菱电机株式会社 Equipment management system, programmable controller and centralization controller
CN102750099A (en) * 2012-06-20 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal control method
CN105573168A (en) * 2016-01-06 2016-05-11 广东芬尼克兹节能设备有限公司 Multi-control system centralized control method and apparatus
CN105600351A (en) * 2016-01-26 2016-05-25 安徽理工大学 Multistage belt-type transportation centralized control device of coal cleaning plant
CN107367014A (en) * 2017-06-06 2017-11-21 珠海格力电器股份有限公司 The control method of air-conditioning cluster, apparatus and system
CN110296501A (en) * 2019-07-11 2019-10-01 珠海格力电器股份有限公司 A kind of centralized management system and method for air-conditioning system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9130977B2 (en) * 2012-04-18 2015-09-08 Radware, Ltd. Techniques for separating the processing of clients' traffic to different zones

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1260679A (en) * 2000-01-21 2000-07-19 北京邮电通信设备厂 Mobile phone set used concurrently as household electrical appliance remote controller
CN2641946Y (en) * 2003-01-13 2004-09-15 曹伟龙 System for scatter and central controlling electrical appliances in way of comunication
CN101473282A (en) * 2006-07-13 2009-07-01 三菱电机株式会社 Equipment management system, programmable controller and centralization controller
CN102750099A (en) * 2012-06-20 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal control method
CN105573168A (en) * 2016-01-06 2016-05-11 广东芬尼克兹节能设备有限公司 Multi-control system centralized control method and apparatus
CN105600351A (en) * 2016-01-26 2016-05-25 安徽理工大学 Multistage belt-type transportation centralized control device of coal cleaning plant
CN107367014A (en) * 2017-06-06 2017-11-21 珠海格力电器股份有限公司 The control method of air-conditioning cluster, apparatus and system
CN110296501A (en) * 2019-07-11 2019-10-01 珠海格力电器股份有限公司 A kind of centralized management system and method for air-conditioning system

Also Published As

Publication number Publication date
CN111736551A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
WO2021036512A1 (en) Method and apparatus for controlling smart home device
CN110121180B (en) Data analysis device, system and method
CN107168873B (en) Network testing system and method based on script
CN111736551B (en) Centralized control device, electric appliance system and centralized control method thereof
CN108282457A (en) A kind of power control method, apparatus and system
CN107656751A (en) User program upgrade method and device
WO2020102267A1 (en) Prioritized low power neighboring node discovery in an iot network
CN113746821A (en) Intelligent device control method and device, storage medium and electronic device
CN112327732A (en) Smart building interior micro-edge service control method and system and electronic equipment
CN113986349A (en) Data processing method, data processing device, computer readable storage medium and computer equipment
CN104539493A (en) Intelligent terminal system and method of management and control over intelligent household electric appliances based on USB interface
CN111459034A (en) Household appliance
CN112992142B (en) Voice message reply method, device, equipment and medium
CN105207811B (en) Method and device for replacing non-AllJoyn equipment
CN110319537B (en) Method for controlling bus communication of air conditioner, host and air conditioning system
CN111596550B (en) Control method of home system
CN113835347A (en) Equipment state management method and device
CN111402882A (en) Intelligent voice module and operation method thereof
CN107454176B (en) Task processing method, electronic device and computer readable storage medium
CN201917799U (en) Multipath controlled intelligent home controller
CN104319819A (en) Embedded fan group grid-connected active coordination controller
CN204856184U (en) But boiler intelligent system of remote monitoring
CN209928251U (en) Control device and household appliance
CN110830337B (en) WIFI expander-based remote infrared control method and system and storage medium
CN114268513B (en) Data sharing method, device, electronic equipment, storage medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant