CN114371628B - Block chain system, management device, control method of intelligent household appliance and intelligent household appliance - Google Patents

Block chain system, management device, control method of intelligent household appliance and intelligent household appliance Download PDF

Info

Publication number
CN114371628B
CN114371628B CN202011120016.8A CN202011120016A CN114371628B CN 114371628 B CN114371628 B CN 114371628B CN 202011120016 A CN202011120016 A CN 202011120016A CN 114371628 B CN114371628 B CN 114371628B
Authority
CN
China
Prior art keywords
instruction
blockchain
intelligent household
general
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
CN202011120016.8A
Other languages
Chinese (zh)
Other versions
CN114371628A (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Liaoning Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Liaoning Co Ltd
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 China Mobile Communications Group Co Ltd, China Mobile Group Liaoning Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011120016.8A priority Critical patent/CN114371628B/en
Publication of CN114371628A publication Critical patent/CN114371628A/en
Application granted granted Critical
Publication of CN114371628B publication Critical patent/CN114371628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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]
    • 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/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a block chain system, a management device, a control method of intelligent household appliances and the intelligent household appliances, wherein the method comprises the following steps: receiving a first general instruction sent by the block chain application software, and converting the first block chain general instruction into a first device native instruction; judging whether the record corresponding to the first general instruction in the instruction record synchronized through the whole domain in the intelligent household appliance is legal or not, and if so, executing a first equipment original instruction; after the execution is finished, the operation success information is fed back to the blockchain application software, so that the blockchain application software can display the notification of the operation success to the user. According to the scheme, the control terminal in the blockchain system can directly remotely control the intelligent household appliances in the corresponding blockchain domain through the blockchain application software without transferring a cloud service platform, so that the control flexibility and stability can be improved, and the validity verification can be performed through the global synchronous instruction record, so that illegal control is avoided.

Description

Block chain system, management device, control method of intelligent household appliance and intelligent household appliance
Technical Field
The invention relates to the technical field of blockchain, in particular to a blockchain system, a management device, a control method of intelligent household appliances and the intelligent household appliances.
Background
In the internet era, smart home has been gradually moved into thousands of households as an important component of the intelligent internet field. The intelligent home uses the home as a platform, integrates facilities related to home life by utilizing a comprehensive wiring technology, a network communication technology, a security technology, an automatic control technology and an audio-video technology, builds an efficient management system of home facilities and family schedule matters, improves the safety, convenience, comfort and artistry of the home, and realizes an environment-friendly and energy-saving living environment.
In the field of intelligent home interconnection, because of the limitation of traditional technical architecture, the cloud control field of intelligent home mostly adopts a mode of adding a centralized cloud service end and a cloud control end to set and operate equipment, and a manufacturer of each intelligent home equipment or a developer of an application integration scheme is used for supporting the application of a specific intelligent home equipment, a cloud service platform is required to be built for the intelligent home equipment so that the intelligent home equipment can register a network address of the intelligent home equipment to establish connection with a user control end, and when the cloud service platform cannot be connected for various reasons, a user loses remote control right to the equipment.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are directed to providing a blockchain system, a management device, a control method of a smart home appliance, and a smart home appliance that overcome or at least partially solve the foregoing problems.
According to one aspect of an embodiment of the present invention, there is provided a blockchain system including: one or more blockchain domains, wherein the intelligent household appliance and the control terminal register through the intelligent gateway to form the blockchain domain; wherein,
the control terminal is internally provided with a blockchain application software, and the blockchain application software is used for receiving a first control operation for remotely controlling the intelligent household appliance, analyzing the first control operation into a first general instruction, and counting the first general instruction into a block and synchronizing the first general instruction to the whole domain;
the intelligent household appliance is internally provided with a block chain management device, wherein the block chain management device is used for converting a first general instruction into a first equipment native instruction and executing the first equipment native instruction; the first general instruction is sent to a blockchain management device of the corresponding intelligent household appliance through a network of the blockchain domain.
According to another aspect of an embodiment of the present invention, there is provided a blockchain management device including:
the block chain module is used for storing instruction records synchronized through the whole domain;
the instruction conversion module is used for receiving a first general instruction sent by the blockchain application software and converting the first general instruction into a first equipment original instruction;
and the device management module is used for executing the first device native instruction according to the instruction record stored by the blockchain module.
According to still another aspect of the present invention, there is provided a control method of an intelligent home appliance, the method being performed by the above blockchain management device, comprising:
receiving a first general instruction sent by the block chain application software, and converting the first block chain general instruction into a first device native instruction;
judging whether the record corresponding to the first general instruction in the instruction record synchronized through the whole domain in the intelligent household appliance is legal or not, and if so, executing a first equipment original instruction;
after the execution is finished, the operation success information is fed back to the blockchain application software, so that the blockchain application software can display the notification of the operation success to the user.
According to still another aspect of the embodiment of the present invention, there is provided an intelligent home appliance, including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the control method of the intelligent household appliance.
According to still another aspect of the embodiments of the present invention, there is provided a computer storage medium having at least one executable instruction stored therein, where the executable instruction causes a processor to perform operations corresponding to the control method of the smart home appliance.
According to the blockchain system, the management device, the control method of the intelligent household appliance and the intelligent household appliance, which are disclosed by the embodiment of the invention, the device with the blockchain technology module, namely the blockchain management device, which operates on the intelligent household appliance is used for constructing a miniature blockchain system by the intelligent household appliance and the control terminal of the APP (namely the blockchain application software) capable of operating the blockchain technology, and the point-to-point control of the intelligent household appliance by the control terminal is realized by virtue of the blockchain technology, so that the transfer is not required by virtue of a cloud service platform, and the flexibility and the stability of the control can be improved; meanwhile, validity judgment can be carried out before an instruction is responded through global synchronization, so that illegal control is avoided.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and may be implemented according to the content of the specification, so that the technical means of the embodiments of the present invention can be more clearly understood, and the following specific implementation of the embodiments of the present invention will be more apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 illustrates a schematic diagram of the architecture of a blockchain system in one embodiment;
FIG. 2 illustrates a functional block diagram of a blockchain management device provided by an embodiment of the present invention;
FIG. 3 illustrates a block structure diagram in the blockchain system of the present invention;
FIG. 4 is a diagram illustrating the construction of modules of the blockchain management device in one embodiment;
fig. 5 shows a flowchart of a control method of an intelligent home appliance provided by an embodiment of the present invention;
fig. 6 shows a flowchart of a control method of an intelligent home appliance according to another embodiment of the present invention;
fig. 7 shows a schematic structural diagram of an intelligent home appliance provided by an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In the embodiment of the present invention, the control of the intelligent home appliance is implemented by using the blockchain technology, and for facilitating understanding of the following embodiments, the blockchain technology is described herein:
blockchain is a term in the field of information technology, essentially, it is a shared database, and data or information stored therein has the characteristics of "non-falsifiable", "whole trace", "traceable", "open transparent", "collective maintenance", etc. Based on the characteristics, the blockchain technology lays a solid 'trust' foundation, creates a reliable 'cooperation' mechanism and has wide application prospect.
The blockchain is first applied to the virtual currency example in the financial industry, namely the 'bitcoin' is an excellent representative of the blockchain, and the 'bitcoin' plays an important promotion role in the development of the blockchain technology for a long time.
The inventor finds that the blockchain technology is not only suitable for the financial industry in the process of implementing the embodiment of the invention, but also is very suitable for the intelligent Internet of things, in particular for the application in the intelligent home field as a decentralised distributed database.
The embodiment of the invention provides a blockchain system, which comprises one or more blockchain domains, intelligent household appliances and a control terminal, wherein the intelligent household appliances and the control terminal are registered through an intelligent gateway to form the blockchain domain; the control terminal is internally provided with a blockchain application software, and the blockchain application software is used for receiving a first control operation for remotely controlling the intelligent household appliance, analyzing the first control operation into a first general instruction, and counting the first general instruction into a block and synchronizing the first general instruction to the whole domain; the intelligent household appliance is internally provided with a block chain management device, and the block chain management device is used for converting a first general instruction into a first equipment native instruction and executing the first equipment native instruction; the first general instruction is sent to a blockchain management device of a corresponding intelligent household appliance through a network of the blockchain domain.
In the above blockchain system, the intelligent home appliance may be any home appliance having a networking function and supporting remote control, including but not limited to one or more of a smart tv, a washing machine, an air conditioner, a smart water heater, a refrigerator, and a camera, the control terminal may be a portable mobile terminal such as a smart phone, a tablet, etc., so as to send a control instruction to the intelligent home appliance at any time, and the intelligent gateway is generally referred to as a router.
In the above-mentioned blockchain system, the general instructions refer to instructions used inside the blockchain, including instructions generated by the blockchain application software, instructions interacted between the blockchain application software and the blockchain management device, and instructions stored and synchronized in the blockchain; the device native instructions are instructions developed by the manufacturer of the intelligent home appliance, i.e. instructions in the device. The intelligent home appliance can execute the general instructions after the general instructions are converted into the device native instructions, and the device native instructions can be used in the blockchain after the general instructions are converted into the general instructions.
In the above-mentioned blockchain system, by means of the device with the blockchain technology module (i.e. the blockchain management device) running on the intelligent household appliance, the intelligent household appliance and the control terminal (e.g. the smart phone) of the APP (i.e. the blockchain application software) capable of running the blockchain technology are constructed into a micro blockchain system, and the point-to-point control of the intelligent household appliance by the control terminal is realized by means of the blockchain technology without transferring by means of the cloud service platform, so that the flexibility of control can be improved.
In the above-mentioned blockchain system, a blockchain domain is generally formed by registering a control terminal and at least one intelligent home appliance through an intelligent gateway, and the control terminal can communicate with a blockchain management device in at least one intelligent home appliance in the blockchain domain through blockchain application software, so as to realize remote control of the at least one intelligent home appliance. And registering the intelligent household appliances and the control terminals in a plurality of residences of one household or a plurality of related households to form a plurality of blockchain domains, wherein the same control terminal can be registered in one or a plurality of blockchain domains of the blockchain system, and if the intelligent household appliances are registered in the plurality of blockchain domains, the intelligent household appliances in the plurality of blockchain domains can be remotely controlled.
FIG. 1 illustrates a schematic diagram of the architecture of a blockchain system in one embodiment. As shown in FIG. 1, the blockchain system includes 3 blockchain domains B-D, while the blockchain domain A is equivalent to the blockchain system formed by the blockchain domains B-D; each blockchain domain comprises a plurality of intelligent household appliances and at least one control terminal, and comprises an intelligent gateway, wherein the intelligent gateway can provide data connection of a network layer, the intelligent household appliances and the control terminals at the same geographic position or different geographic positions are registered into the same blockchain domain through the intelligent gateway, the intelligent household appliances and the control terminals only realize remote instruction interaction in the blockchain domain, the decentralization is realized, in terms of a micro-chain domain C, a mobile phone and the plurality of intelligent household appliances are registered through a router to form the micro-chain domain C, and the mobile phone can remotely control any intelligent household appliance in the micro-chain domain C; wherein, each intelligent household appliance is provided with a blockchain management device (not shown in the figure) and each control terminal is provided with blockchain application software (not shown in the figure); one control terminal may register to join a plurality of blockchain domains and control intelligent home appliances in the blockchain domains, for example, the mobile phone registered in the micro-chain domain C in fig. 1 is also registered in the micro-chain domains B and D.
In some alternative embodiments, the blockchain management device in the smart appliance is further configured to: receiving a second control operation initiated by touch control of the intelligent household appliance, analyzing the second control operation into a second equipment native instruction, and converting the second equipment native instruction into a second general instruction; counting the second general instruction into the block and synchronizing to the whole domain; and executing the second device native instructions. In these optional embodiments, the control operation may be directly initiated through the intelligent home appliance, and the instruction corresponding to the operation may also perform global synchronization, so that on the basis of implementing remote control of the intelligent home appliance through the control terminal and global synchronization of the remote control instruction, the instruction corresponding to the operation information of the intelligent home appliance may also be directly performed global synchronization, so that the control terminal may obtain the synchronization information conveniently.
In the foregoing embodiment, a blockchain system is constructed by using the blockchain principle, and a private and safe micro blockchain network which is decentralized, cloud-free and compatible with different manufacturer devices is effectively realized by using a free domain combination mode, so that the system is particularly suitable for an intelligent household appliance control scheme taking families as a unit, for example, a family has more than one set of houses, intelligent household appliances in multiple sets of houses can be registered into multiple blockchain domains to form a blockchain system, the intelligent household appliances in the houses can be controlled by one or more control terminals, or the intelligent household appliances can be directly controlled by using a front panel of the intelligent household appliances, and universal instructions can be synchronized in a universe mode by using a blockchain technology, thereby being beneficial to verifying the legitimacy of the instructions and avoiding illegal control.
FIG. 2 is a functional block diagram of a blockchain management device according to an embodiment of the present invention. The device is arranged in the intelligent household appliance and is a special embedded operating system software and hardware device supporting the block chain management function. As shown in fig. 2, the apparatus includes:
a blockchain module 210 for storing instruction records from global synchronization;
the instruction conversion module 220 is configured to receive a first general instruction sent by the blockchain application software, and convert the first general instruction into a first device native instruction;
the device management module 230 is configured to execute the first device native instruction according to the instruction record stored in the blockchain module.
In order to realize the remote control of the intelligent home appliance embedded with the blockchain management device, correspondingly, the blockchain application software runs in the control terminal, and the blockchain application software has the functional structure of the blockchain module 210 in the blockchain management device and also has the functional structure for providing a remote control interface. The functional structure of the blockchain module 210 in the blockchain application software is mainly used for recording a newly generated instruction into a current block and completing global synchronization of the instruction recording (namely, synchronizing the instruction recording into all intelligent household appliances and control terminals in a blockchain domain associated with a control terminal) so as to realize information synchronization and facilitate validity verification during instruction execution. FIG. 3 illustrates a block structure diagram in a blockchain system of the present invention. As shown in fig. 3, the block consists of a block header and a block recording area, wherein the block header consists of a block version number, a Hash value of a front block, a Hash value of a Merkle root node, a timestamp and an ID, when the ID is a block, the ID is used for marking unique identification information of the node, each formal block can store the Hash value of the front block, all the blocks form a micro block chain which cannot be tampered, and the safety of the whole micro block chain is ensured; and the universal instructions generated in the interaction process of the equipment in the block chain domain are recorded in the block recording area and are used for realizing remote and short-range control of the intelligent household appliance and verification of the instruction safety.
When the intelligent household appliance is remotely controlled through the control terminal, the blockchain application software in the control terminal receives a first control operation and analyzes the first control operation into a first general instruction, then the first general instruction is used as a latest record to be stored in a current block (i.e. a block with the height which is currently written not reaching the upper limit yet), global synchronization is performed, so that the latest record is synchronized in all blockchain domains (i.e. associated blockchain domains) of the control terminal, then the latest instruction record is synchronously recorded in a blockchain module 210 in a blockchain management device of the controlled target intelligent household appliance, and the blockchain module 210 stores the instruction record; the blockchain application software sends the first general instruction to the instruction conversion module 220 of the blockchain management device in the target intelligent home appliance to be controlled through a network (such as a local area network corresponding to a blockchain domain), and the instruction conversion module 220 converts the received first general instruction into a first device native instruction, namely into a native instruction which can be identified and corresponds to the target intelligent home appliance; then, the device management module 230 verifies the validity of the first general command according to the synchronous command record in the blockchain module 210, if the first general command record is legal, the first device native command is executed, the response to the first control operation is completed, the remote control of the intelligent home appliance through the control terminal is realized, the participation of the cloud service platform is not needed, and the point-to-point control can be performed.
In an alternative embodiment, in which the control operation is initiated directly through the smart appliance, the device management module 230 in the blockchain management apparatus further includes: the panel end application module is used for receiving a second control operation initiated by touch control of the intelligent household appliance and analyzing the second control operation into a second equipment original instruction; accordingly, the instruction conversion module 220 is further configured to: converting the second device native instructions into second general instructions; the blockchain module 210 is further configured to: counting the second general instruction into the block and synchronizing to the whole domain; the device management module 230 is further configured to: and executing the native instructions of the second device according to the instruction records stored by the blockchain module. In these optional embodiments, the second control operation directly starts from the control panel of the intelligent home appliance may also complete global synchronization of the second general instruction corresponding to the second control operation through a blockchain mechanism, so as to facilitate the subsequent execution of the second device native instruction through validity verification of the second general instruction.
FIG. 4 is a diagram illustrating the structure of the modules of the blockchain management device in one embodiment. As shown in fig. 4, the blockchain module 210, the instruction converting module 220, and the device management module 230 further include a plurality of sub-modules, respectively, it should be noted that, here, the network side application module in the blockchain module 210 shown in fig. 4 is a structure for providing a remote operation interface in the blockchain application software as a control terminal, and as far as this module does not exist in the blockchain management device, this module is shown here only for simultaneously describing the composition of the blockchain application software in one drawing, and the blockchain application software can be understood as the blockchain module 210 in fig. 4. The following will explain the control method of the intelligent home appliance provided by the present invention with reference to the structural composition of fig. 4:
fig. 5 shows a flowchart of a control method of an intelligent home appliance according to an embodiment of the present invention. The method is implemented based on the above blockchain system, and is specifically executed by the blockchain management device, and in this embodiment, the method is mainly described in a remote control manner.
As shown in fig. 5, the method comprises the steps of:
step S510: and receiving a first general instruction sent by the block chain application software, and converting the first general instruction into a first device native instruction.
Specifically, the native and generic instruction translation sub-module in the instruction translation module 210 in the blockchain management device translates the first generic instruction into a first device native instruction that can be used to control the target smart appliance.
Wherein the first general instruction is obtained by: and the user initiates a control operation activity, namely a first control operation, to the target intelligent household appliance through a network end operation interface (namely an interface displayed on the control terminal by the network end application module) of the blockchain application software. This action may be instantiated as a user controlling the state of a smart appliance through a blockchain APP (i.e., blockchain application software) on a control terminal (e.g., smart phone), such as remotely turning on a water heater through the phone APP. The network end application module in the block chain APP analyzes the first control operation into a first general instruction, the general instruction is designed for adapting to unique original instructions of different manufacturers, and developers of different intelligent household appliance manufacturers can establish corresponding relations from the original instructions to the general instructions through an instruction compiling tool. The blockchain APP may then send the first generic instruction to the blockchain management device of the target smart appliance over the network.
In addition, after the network end application module of the blockchain APP of the control terminal analyzes the first general instruction, the blockchain management module in the blockchain APP also records the general instruction string of the first general instruction into the blockchain storage area as the latest instruction record through the blockchain access control module, namely, the current block is counted; when a new record appears in the blockchain, a blockchain management module in the blockchain APP changes the record to the global synchronization, and the record is added at the same time as long as the record is registered to all intelligent household appliances in the same blockchain domain where the control terminal is positioned and nodes of the control terminal; if a plurality of new records appear at the same time, a common recognition mechanism is realized by adopting a time stamp comparison mode, the time is counted in advance and the time is counted in sequence, and finally a stable block is formed.
Step S520: judging whether the record corresponding to the first general instruction in the instruction record synchronized through the whole domain in the intelligent household appliance is legal or not; if yes, go to step S530; if not, step S550 is performed.
After the primary and general instruction conversion module obtains the primary instruction of the first device through conversion, the primary and general instruction conversion module sends the primary instruction and the primary instruction of the first device to the device management module 230 through the instruction interaction interface, and specifically sends the primary instruction and the primary instruction of the first device to the instruction management module in the device management module 230, the instruction management module judges the validity of the primary instruction in the synchronous record in the node corresponding to the intelligent household appliance through the Hash value of the Merkle root node, namely judges whether the primary instruction exists in the block, if yes, the primary instruction is legal, if not, the primary instruction of the first device is illegal, and then executes the primary instruction of the first device according to the judging result.
Step S530: the first device native instructions are executed.
If the first device native instruction is judged to be legal, further judging whether the first device native instruction is to be executed immediately; if the first device native instruction is to be executed immediately, executing the first device native instruction immediately; if not, the first device native instruction is executed when the set execution time is reached.
Specifically, the instruction management module judges whether the first equipment native instruction is immediately executed, if yes, the instruction management module immediately executes the first equipment native instruction through the equipment self-control module, if not, the instruction management module sets the execution time, and when the execution time is reached, the first equipment native instruction is executed through the equipment self-control module.
Step S540: after the execution is finished, the operation success information is fed back to the blockchain application software, so that the blockchain application software can display the notification of the operation success to the user.
After the device self-control module executes the first device native instruction, the device self-control module feeds back operation success information to the blockchain APP of the control terminal, and then the blockchain APP displays a notification of operation success to a user through a terminal operation interface. For example, it is shown that the water heater has been successfully powered on according to the user's operation on the cell phone.
Step S550: refusing to execute the first device native instruction and feeding back operation failure information to the blockchain application software.
If the remote control is illegal, feeding back operation failure information to the blockchain APP, and prompting the user of the remote control failure through a terminal operation interface.
According to the control method of the intelligent household appliance, point-to-point remote control of the intelligent household appliance can be achieved through the blockchain APP in the control terminal, validity verification can be conveniently conducted through global synchronization, and illegal remote control is avoided.
Fig. 6 shows a flowchart of a control method of an intelligent home appliance according to another embodiment of the present invention. The difference between this embodiment and the embodiment corresponding to fig. 5 is that this embodiment is mainly described in a manner of directly controlling the proximity of the smart home appliance.
As shown in fig. 6, the method comprises the steps of:
step S610: and receiving a second control operation initiated by the user for performing touch control on the intelligent household appliance, and analyzing the second control operation into a second equipment original instruction.
The user triggers the second control operation through a panel-end operation interface on the smart home (formed by a panel-end application module in the device management module 230), which may be exemplified by the user controlling the state of the smart home through a button panel on the smart home, such as pressing a power button on the water heater to turn on the power. The instruction management module in the device management module 230 then parses the second control operation into second device native instructions,
step S620: the second device native instructions are converted into second general purpose instructions.
The instruction management module in the device management module 230 sends the parsed second device native instruction to the native and general instruction conversion module in the instruction conversion module 220 through the instruction interaction interface, and the native and general instruction conversion module converts the second device native instruction into a second general instruction.
Step S630: the second general purpose instruction is counted as the latest record in the block and the latest record is synchronized to all nodes of the associated blockchain domain.
The blockchain management module in the blockchain module 210 records the second general instruction as the latest instruction record into the blockchain storage area, namely the current block, through the blockchain access control module; when new records appear in the blockchain, the blockchain management module synchronizes the record change to the universe, so that the record is added to each node in the blockchain system at the same time, and correspondingly, the record is added to the node corresponding to the intelligent household appliance, thereby facilitating subsequent validity verification.
Step S640: judging whether the record corresponding to the second general instruction in the instruction record synchronized through the whole domain in the intelligent household appliance is legal or not; if yes, go to step S650; if not, step S670 is performed.
After the primary and general instruction conversion module obtains the second general instruction through conversion, the second general instruction and the primary instruction of the second device are transmitted back to the instruction management module of the device management module 230, the instruction management module judges the validity of the second general instruction in the synchronous record in the node corresponding to the intelligent household appliance through the Hash value of the Merkle root node, namely, judges whether the second general instruction exists in the block, if yes, the second general instruction is legal, if not, the second general instruction is illegal, and then the primary instruction of the second device is executed according to the judging result.
Step S650: and executing the second device native instructions.
If the first device native instruction is judged to be legal, further judging whether the first device native instruction is to be executed immediately; if the first device native instruction is to be executed immediately, executing the second device native instruction immediately; if not, the second device native instruction is executed when the set execution time is reached.
Specifically, the instruction management module judges whether the second equipment native instruction is immediately executed, if yes, the instruction management module immediately executes the second equipment native instruction through the equipment self-control module, if not, the instruction management module sets the execution time, and when the execution time is reached, the second equipment native instruction is executed through the equipment self-control module.
Step S660: after the execution is finished, the operation success information is fed back to the front-end panel of the intelligent household appliance.
After the device automatic control module executes the primary instructions of the second device, the device automatic control module feeds back the successful operation information to the front panel (formed by the panel end application module) of the intelligent household appliance, so that the user can be prompted that the second control operation is successful.
Step S670: refusing to execute the primary instruction of the second equipment and feeding back operation failure information to the front-end panel of the intelligent household appliance.
If the operation failure information is judged to be illegal, the operation failure information is fed back, and the user is prompted to fail the short-range operation through the front-end panel.
According to the control method of the intelligent household appliance, the second control operation can be triggered through the front panel of the intelligent household appliance, and the validity check of the second general instruction can be conveniently carried out before the second equipment original instruction corresponding to the second control operation is responded through global synchronization, so that illegal short-range control is avoided.
It should be noted that, although in the above embodiments, two manners of remote control and short-range control are separately described in two embodiments corresponding to fig. 5 and 6, respectively, in actual implementation, the blockchain system may implement the two manners of control at the same time, that is, may implement the remote control and the short-range control at the same time.
The embodiment of the invention provides a non-volatile computer storage medium, which stores at least one executable instruction, and the computer executable instruction can execute the control method of the intelligent household appliance in any method embodiment.
Fig. 7 shows a schematic structural diagram of an intelligent home appliance according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the intelligent home appliance.
As shown in fig. 7, the smart home appliance may include: a processor 702, a communication interface (Communications Interface), a memory 706, and a communication bus 708.
Wherein: processor 702, communication interface 704, and memory 706 perform communication with each other via a communication bus 708. A communication interface 704 for communicating with network elements of other devices, such as clients or other servers. The processor 702 is configured to execute the program 710, and may specifically perform relevant steps in the above-described embodiment of a control method for a smart home appliance.
In particular, program 710 may include program code including computer-operating instructions.
The processor 702 may be a Central Processing Unit (CPU), or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the smart appliance may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 706 for storing programs 710. The memory 706 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 710 may be specifically configured to cause the processor 702 to:
receiving a first general instruction sent by the block chain application software, and converting the first block chain general instruction into a first device native instruction;
judging whether the record corresponding to the first general instruction in the instruction record synchronized through the whole domain in the intelligent household appliance is legal or not, and if so, executing a first equipment original instruction;
after the execution is finished, the operation success information is fed back to the blockchain application software, so that the blockchain application software can display the notification of the operation success to the user.
In an alternative, the program 710 further causes the processor 702 to:
judging whether the first device native instruction is to be executed immediately;
if the first device native instruction is to be executed immediately, executing the first device native instruction immediately; if not, the first device native instruction is executed when the set execution time is reached.
In an alternative, the program 710 further causes the processor 702 to:
receiving a second control operation initiated by a user for performing touch control on the intelligent household appliance, and analyzing the second control operation into a second equipment original instruction;
converting the second device native instructions into second general instructions;
counting the second general instruction as the latest record into a block, and synchronizing the latest record into all nodes of the associated blockchain domain;
judging whether the record corresponding to the second general instruction in the instruction record synchronized through the whole domain in the intelligent household appliance is legal or not, and if so, executing a second equipment original instruction;
after the execution is finished, the operation success information is fed back to the front-end panel of the intelligent household appliance.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It will be appreciated that the teachings of embodiments of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the embodiments of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., an embodiment of the invention that is claimed, requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). Embodiments of the present invention may also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the embodiments of the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. Embodiments of the invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specifically stated.

Claims (10)

1. A blockchain system, comprising: one or more blockchain domains, wherein the intelligent household appliance and the control terminal register through the intelligent gateway to form the blockchain domain; the control terminal performs point-to-point control on the intelligent household appliance without transferring by means of a cloud service platform; the control terminal is a portable mobile terminal;
the control terminal is internally provided with a blockchain application software, and the blockchain application software is used for receiving a first control operation for remotely controlling the intelligent household appliance, analyzing the first control operation into a first general instruction, and counting the first general instruction into a block and synchronizing the first general instruction to the whole domain; the general instruction refers to an instruction used inside a blockchain;
the intelligent household appliance is internally provided with a block chain management device, wherein the block chain management device is used for converting a first general instruction into a first equipment native instruction and executing the first equipment native instruction; the first general instruction is sent to a blockchain management device of the corresponding intelligent household appliance through a network of the blockchain domain.
2. The system of claim 1, wherein the same control terminal is registrable into one or more blockchain domains of a blockchain system.
3. The system of claim 1 or 2, wherein the blockchain management device is further to:
receiving a second control operation initiated by touch control of the intelligent household appliance, analyzing the second control operation into a second equipment native instruction, and converting the second equipment native instruction into a second general instruction;
counting the second general instruction into the block and synchronizing to the whole domain;
and executing the second device native instructions.
4. A blockchain management device, the device executing based on the blockchain system of any of claims 1-3, the device comprising:
the block chain module is used for storing instruction records synchronized through the whole domain;
the instruction conversion module is used for receiving a first general instruction sent by the blockchain application software and converting the first general instruction into a first equipment original instruction;
and the device management module is used for executing the first device native instruction according to the instruction record stored by the blockchain module.
5. The apparatus of claim 4, wherein the device management module further comprises: the panel end application module is used for receiving a second control operation initiated by touch control of the intelligent household appliance and analyzing the second control operation into a second equipment original instruction;
the instruction conversion module is further configured to: converting the second device native instructions into second general instructions;
the blockchain module is further to: counting the second general instruction into the block and synchronizing to the whole domain;
the device management module is further to: and executing the native instructions of the second device according to the instruction records stored by the blockchain module.
6. A control method of an intelligent home appliance, the method being executed based on the blockchain system of any of claims 1-3, the execution subject of the method being a blockchain management device, the method comprising:
receiving a first general instruction sent by the block chain application software, and converting the first block chain general instruction into a first device native instruction;
judging whether the record corresponding to the first general instruction in the instruction record synchronized through the whole domain in the intelligent household appliance is legal or not, and if so, executing a first equipment original instruction;
after the execution is finished, the operation success information is fed back to the blockchain application software, so that the blockchain application software can display the notification of the operation success to the user.
7. The method of claim 6, wherein after determining that the rule is valid, the method further comprises:
judging whether the first device native instruction is to be executed immediately;
the executing the first device native instructions further comprises: if the first device native instruction is to be executed immediately, executing the first device native instruction immediately; if not, the first device native instruction is executed when the set execution time is reached.
8. The method according to claim 6 or 7, wherein the method further comprises:
receiving a second control operation initiated by a user for performing touch control on the intelligent household appliance, and analyzing the second control operation into a second equipment original instruction;
converting the second device native instructions into second general instructions;
counting the second general instruction as the latest record into a block, and synchronizing the latest record into all nodes of the associated blockchain domain;
judging whether the record corresponding to the second general instruction in the instruction record synchronized through the whole domain in the intelligent household appliance is legal or not, and if so, executing a second equipment original instruction;
after the execution is finished, the operation success information is fed back to the front-end panel of the intelligent household appliance.
9. An intelligent appliance comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction, where the executable instruction causes the processor to perform an operation corresponding to the control method of the smart home appliance according to any one of claims 6 to 8.
10. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the method of controlling a smart appliance as claimed in any one of claims 6 to 8.
CN202011120016.8A 2020-10-19 2020-10-19 Block chain system, management device, control method of intelligent household appliance and intelligent household appliance Active CN114371628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011120016.8A CN114371628B (en) 2020-10-19 2020-10-19 Block chain system, management device, control method of intelligent household appliance and intelligent household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011120016.8A CN114371628B (en) 2020-10-19 2020-10-19 Block chain system, management device, control method of intelligent household appliance and intelligent household appliance

Publications (2)

Publication Number Publication Date
CN114371628A CN114371628A (en) 2022-04-19
CN114371628B true CN114371628B (en) 2023-11-10

Family

ID=81138388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011120016.8A Active CN114371628B (en) 2020-10-19 2020-10-19 Block chain system, management device, control method of intelligent household appliance and intelligent household appliance

Country Status (1)

Country Link
CN (1) CN114371628B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107942718A (en) * 2018-01-15 2018-04-20 天津大学 Intelligent home furnishing control method and system based on block chain
CN108431845A (en) * 2015-10-13 2018-08-21 交互网格公司 The use of distributed consensus control based on block chain
CN108563208A (en) * 2018-06-28 2018-09-21 马雷明 Intelligent domestic system and its control method
CN108809625A (en) * 2018-05-21 2018-11-13 爱图智能(深圳)有限公司 A kind of intelligent home control system based on block chain, method and device
CN109460643A (en) * 2018-10-22 2019-03-12 阿里巴巴集团控股有限公司 A kind of smart machine control method, device and equipment
WO2019081085A1 (en) * 2017-10-23 2019-05-02 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
WO2019120319A2 (en) * 2019-03-27 2019-06-27 Alibaba Group Holding Limited System and method for managing user interactions with a blockchain
WO2019201461A1 (en) * 2018-04-18 2019-10-24 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
EP3570489A1 (en) * 2018-05-18 2019-11-20 Siemens Aktiengesellschaft Device and method for transforming blockchain data blocks
CN110687821A (en) * 2019-11-14 2020-01-14 腾讯科技(深圳)有限公司 Intelligent home control system and method based on block chain
CN110719203A (en) * 2019-10-12 2020-01-21 腾讯云计算(北京)有限责任公司 Operation control method, device and equipment of intelligent household equipment and storage medium
CN111277610A (en) * 2020-02-24 2020-06-12 中移(杭州)信息技术有限公司 Gateway control system, method, intelligent device and intelligent device server
EP3673623A1 (en) * 2017-10-23 2020-07-01 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
CN111586056A (en) * 2020-05-09 2020-08-25 深圳伯图康卓智能科技有限公司 Intelligent equipment control and management system based on multistage block chain architecture

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018140830A1 (en) * 2017-01-27 2018-08-02 Walmart Apollo, Llc Managing smart appliances using blockchain technology
US11431520B2 (en) * 2018-10-29 2022-08-30 Sensormatic Electronics Llc Systems and methods of enabling blockchain-based building automation systems

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108431845A (en) * 2015-10-13 2018-08-21 交互网格公司 The use of distributed consensus control based on block chain
EP3673623A1 (en) * 2017-10-23 2020-07-01 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
WO2019081085A1 (en) * 2017-10-23 2019-05-02 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
CN107942718A (en) * 2018-01-15 2018-04-20 天津大学 Intelligent home furnishing control method and system based on block chain
WO2019201461A1 (en) * 2018-04-18 2019-10-24 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
EP3570489A1 (en) * 2018-05-18 2019-11-20 Siemens Aktiengesellschaft Device and method for transforming blockchain data blocks
CN108809625A (en) * 2018-05-21 2018-11-13 爱图智能(深圳)有限公司 A kind of intelligent home control system based on block chain, method and device
CN108563208A (en) * 2018-06-28 2018-09-21 马雷明 Intelligent domestic system and its control method
CN109460643A (en) * 2018-10-22 2019-03-12 阿里巴巴集团控股有限公司 A kind of smart machine control method, device and equipment
WO2019120319A2 (en) * 2019-03-27 2019-06-27 Alibaba Group Holding Limited System and method for managing user interactions with a blockchain
CN110622488A (en) * 2019-03-27 2019-12-27 阿里巴巴集团控股有限公司 System and method for managing user interaction with blockchains
CN110719203A (en) * 2019-10-12 2020-01-21 腾讯云计算(北京)有限责任公司 Operation control method, device and equipment of intelligent household equipment and storage medium
CN110687821A (en) * 2019-11-14 2020-01-14 腾讯科技(深圳)有限公司 Intelligent home control system and method based on block chain
CN111277610A (en) * 2020-02-24 2020-06-12 中移(杭州)信息技术有限公司 Gateway control system, method, intelligent device and intelligent device server
CN111586056A (en) * 2020-05-09 2020-08-25 深圳伯图康卓智能科技有限公司 Intelligent equipment control and management system based on multistage block chain architecture

Also Published As

Publication number Publication date
CN114371628A (en) 2022-04-19

Similar Documents

Publication Publication Date Title
CN104023050B (en) Equipment collaboration Multi-screen interaction system and its method under a kind of equipment cloud environment
CN110417783B (en) Data transmission method and device based on Internet of things, storage medium and terminal
CN101057460B (en) Server apparatus, mobile terminal
US20110314163A1 (en) Wireless communication network for smart appliances
CN113132185B (en) Equipment distribution network binding method, system, mobile terminal and storage medium
CN103312715B (en) A kind of home network system architecture of web oriented service
CN106027357A (en) Internet of things gateway, method for admitting home equipment into Internet of things platform and Internet of things system
CN106797392A (en) The issue and discovery of M2M IOT services
Gu et al. Design and implementation of UPnP-based surveillance camera system for home security
CN101305350A (en) Software architecture system and method for communication with, and management of, at least one component within a household appliance
CN109800008A (en) Configure update method and Related product
CN113259155B (en) Access method, device, gateway, medium and electronic equipment of Internet of things equipment
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
WO2011006364A1 (en) System and method for remote cooperation
JP5732530B2 (en) Intercommunication method, apparatus and system for intercommunication information on the Internet
CN103618967A (en) Method and device for interaction of mobile terminal and television end
CN112804730A (en) Equipment interconnection method and device, server, intelligent equipment and storage medium
CN105302564A (en) Online office software service control and implementation method
CN108696475A (en) A kind of distribution power automation terminal automatic registration method and device with safety certification
Wu et al. R-OSGi-based architecture of distributed smart home system
WO2014036902A1 (en) Method and apparatus for gateway management terminal
CN114371628B (en) Block chain system, management device, control method of intelligent household appliance and intelligent household appliance
TWI362002B (en) Method and computer program product for automated generation of message exchange pattern simulation code
CN106161157A (en) The building method of intelligent domestic system, device, intelligent domestic system and terminal
CN115903536A (en) Intelligent household appliance control system based on Internet of things

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