CN114371628A - 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
CN114371628A
CN114371628A CN202011120016.8A CN202011120016A CN114371628A CN 114371628 A CN114371628 A CN 114371628A CN 202011120016 A CN202011120016 A CN 202011120016A CN 114371628 A CN114371628 A CN 114371628A
Authority
CN
China
Prior art keywords
instruction
block chain
intelligent household
household appliance
blockchain
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.)
Granted
Application number
CN202011120016.8A
Other languages
Chinese (zh)
Other versions
CN114371628B (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

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
    • 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 an intelligent household appliance and the intelligent household appliance, wherein the method comprises the following steps: receiving a first general instruction sent by the block chain application software, and converting the first general instruction into a first equipment native instruction; judging whether a record corresponding to the first general instruction in the instruction records from the intelligent household appliance through global synchronization is legal or not, and if so, executing a first equipment native instruction; after the execution is finished, the operation success information is fed back to the block chain application software, so that the block chain application software can show a notification of successful operation to a user. According to the scheme of the invention, the control terminal in the blockchain system can directly carry out remote control on the intelligent household appliances in the corresponding blockchain domain through blockchain application software without transfer of a cloud service platform, so that the flexibility and stability of control can be improved, and the validity check can be carried out through global synchronous instruction recording, thereby avoiding illegal control.

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 block chains, in particular to a block chain system, a management device, a control method of an intelligent household appliance and the intelligent household appliance.
Background
In the internet era, smart homes have gradually entered thousands of households as an important component in the field of smart internet. The intelligent home is characterized in that a home is used as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, an efficient management system of home facilities and family schedule affairs is constructed, home safety, convenience, comfortableness and artistry are improved, and an environment-friendly and energy-saving living environment is realized.
In the field of intelligent home interconnection, due to the limitation of a traditional technical architecture, the current cloud control field of the intelligent home mostly adopts a centralized cloud service end and cloud control end mode to set and operate equipment, a manufacturer of each intelligent home equipment or a developer of an application integration scheme needs to build a cloud service platform for the intelligent home equipment to enable the intelligent home equipment to register a network address so as to establish connection with a user control end for supporting the application of specific intelligent home equipment, and when the cloud service platform cannot be connected due to various reasons, a user loses the remote control right of the equipment.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a blockchain system, a management apparatus, a control method of an intelligent home appliance, and an intelligent home appliance that overcome or at least partially solve the above problems.
According to an aspect of an embodiment of the present invention, there is provided a blockchain system including: the intelligent household appliance and the control terminal are registered through the intelligent gateway to form a block chain domain; wherein the content of the first and second substances,
the control terminal runs a blockchain application software which 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, recording the first general instruction into a block and synchronizing the block with the universe;
the intelligent household appliance runs a block chain management device, and the block chain management device is used for converting the first general instruction into a first equipment native instruction and executing the first equipment native instruction; and the first general instruction is sent to the corresponding block chain management device of the intelligent household appliance through the network of the block chain domain.
According to another aspect of the embodiments of the present invention, there is provided a block chain management apparatus, including:
the block chain module is used for storing the instruction records from the global synchronization;
the instruction conversion module is used for receiving a first general instruction sent by the block chain application software and converting the first general instruction into a first equipment native instruction;
and the equipment management module is used for executing the first equipment native instruction according to the instruction record stored by the block chain module.
According to another aspect of the present invention, there is provided a method for controlling an intelligent appliance, the method being performed by the above block chain management apparatus, and including:
receiving a first general instruction sent by the block chain application software, and converting the first general instruction into a first equipment native instruction;
judging whether a record corresponding to the first general instruction in the instruction records from the intelligent household appliance through global synchronization is legal or not, and if so, executing a first equipment native instruction;
after the execution is finished, the operation success information is fed back to the block chain application software, so that the block chain application software can show a notification of successful operation to a user.
According to still another aspect of the embodiments of the present invention, there is provided an intelligent home appliance, including: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication 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 a further aspect of the embodiments of the present invention, there is provided a computer storage medium, in which at least one executable instruction is stored, and the executable instruction causes a processor to perform an operation corresponding to the above-mentioned control method for an intelligent appliance.
According to the block chain system, the management device, the control method of the intelligent household appliance and the intelligent household appliance, a device with a block chain technology module, namely a block chain management device, which runs on the intelligent household appliance is used for constructing the intelligent household appliance and a control terminal of an APP (block chain application software) capable of running the block chain technology into a micro block chain system, so that the point-to-point control of the control terminal on the intelligent household appliance is realized by means of the block chain technology, the transfer is not required by means 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 responding to the instruction through global synchronization, and illegal control is avoided.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the embodiments of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
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 embodiments of the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a block chain system diagram according to an embodiment;
fig. 2 shows a functional block diagram of a blockchain management apparatus according to an embodiment of the present invention;
FIG. 3 illustrates a block structure diagram in the block chaining system of the present invention;
FIG. 4 is a block diagram illustrating the components of the blocks of the blockchain management device in one embodiment;
fig. 5 is a flowchart illustrating a method for controlling an intelligent appliance according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for controlling an intelligent appliance according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an intelligent home appliance according to 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 invention are shown in the drawings, it should be understood that the invention can 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 a block chain technique, and for the convenience of understanding the following embodiments, the block chain technique is first described:
the block chain is a term in the technical field of information, and essentially, the block chain is a shared database, and data or information stored in the shared database has the characteristics of unforgeability, whole-course trace, traceability, public transparency, collective maintenance and the like. Based on the characteristics, the block chain technology lays a solid 'trust' foundation, creates a reliable 'cooperation' mechanism and has wide application prospect.
In the virtual currency example of the block chain, which is applied to the financial industry at first, "bitcoin" is an excellent representative, and plays an important role in promoting the development of the block chain technology for a long time.
The inventor finds that the block chain technology is not only suitable for the financial industry, but also very suitable for the intelligent internet of things as a decentralized distributed database, and particularly suitable for the application in the field of intelligent home.
The embodiment of the invention provides a block chain system, which comprises one or more block chain domains, wherein intelligent household appliances and a control terminal are registered through an intelligent gateway to form the block chain domains; the control terminal runs a blockchain application software which 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, recording the first general instruction into a block and synchronizing the first general instruction to the universe; the intelligent household appliance runs a block chain management device which is used for converting the first general instruction into a first equipment native instruction and executing the first equipment native instruction; and the first general command is sent to the corresponding block chain management device of the intelligent household appliance through the network of the block chain domain.
In the above block chain system, the intelligent household appliance may be any household appliance having a networking function and supporting remote control, including but not limited to one or more of an intelligent television, a washing machine, an air conditioner, an intelligent water heater, a refrigerator and a camera, the control terminal may be a portable mobile terminal such as a smart phone and a tablet so as to send a control instruction to the intelligent household appliance at any time, and the intelligent gateway is usually a router.
In the above blockchain system, the general instruction refers to an instruction used inside a blockchain, and includes an instruction generated by blockchain application software, an instruction for interaction between the blockchain application software and the blockchain management device, and an instruction stored and synchronized in the blockchain; the device native command is a command developed by an intelligent household appliance manufacturer, namely a command in the device. The general instruction can be executed by the intelligent household appliance after being converted into the device native instruction, and the device native instruction can be used in the block chain after being converted into the general instruction.
In the block chain system, a device (namely a block chain management device) with a block chain technology module, which runs on an intelligent household appliance, is used for constructing a micro block chain system by the intelligent household appliance and a control terminal (for example, a smart phone) which can run an APP (namely block chain application software) of the block chain technology, so that the point-to-point control of the control terminal on the intelligent household appliance is realized by means of the block chain technology, and the transfer is not required by means of a cloud service platform, and the control flexibility can be improved.
In the above-mentioned blockchain system, a control terminal and at least one intelligent appliance are usually registered through an intelligent gateway to form a blockchain domain, and the control terminal can communicate with a blockchain management device in at least one intelligent appliance in the blockchain domain through blockchain application software to realize remote control of the at least one intelligent appliance. And registering intelligent household appliances and control terminals in multiple residences of one household or multiple related households to form multiple blockchain domains, wherein the same control terminal can be registered in one or multiple blockchains of a blockchain system, and if the same control terminal is registered in multiple blockchains, the intelligent household appliances in the multiple blockchain domains can be remotely controlled.
Fig. 1 is a schematic diagram showing a block chain system in one embodiment. As shown in FIG. 1, the blockchain system comprises 3 blockchain domains including the micro-chain domains B-D, and the micro-chain domain A corresponds to the blockchain system composed of the micro-chain domains B-D; each block chain domain comprises a plurality of intelligent household appliances and at least one control terminal and comprises an intelligent gateway, the intelligent gateway can provide data connection on a network layer, the intelligent household appliances and the control terminals in the same geographical position or different geographical positions are registered into the same block chain domain through the intelligent gateway, the intelligent household appliances and the control terminals only realize remote instruction interaction in the block chain domain, decentralized is realized, in terms of a micro chain domain C, a mobile phone and the intelligent household appliances are registered through a router to form a micro chain domain C, and the mobile phone can remotely control any intelligent household appliance in the micro chain domain C; a block chain management device (not shown in the figure) is operated in each intelligent household appliance, and block chain application software (not shown in the figure) is operated in each control terminal; for example, a 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 optional embodiments, the blockchain management device in the intelligent 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; recording the second general instruction into the block and synchronizing to the universe; executing the second device native instruction. In these optional embodiments, the control operation may be directly initiated by the smart appliance, and the instruction corresponding to the operation may also be subjected to global synchronization, so that on the basis of remotely controlling the smart appliance through the control terminal and performing global synchronization on the remote control instruction, the instruction corresponding to the operation information of the smart appliance may also be directly subjected to global synchronization, so that the control terminal may obtain the synchronization information.
In the embodiment, a blockchain system is constructed by a blockchain principle, and a private and safe miniature blockchain network compatible with different manufacturer devices is effectively realized by a free domain combination mode, so that a decentralization and cloud removal platform is effectively realized, the blockchain network is particularly suitable for an intelligent household appliance control scheme taking a family as a unit, if one 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 the blockchain system, the intelligent household appliances in the houses are controlled by one or more control terminals, or the intelligent household appliances can be directly controlled by a front panel of the intelligent household appliances, and universal instructions can be subjected to global synchronization by using a blockchain technology, so that the legality verification of the instructions is facilitated, and illegal control is avoided.
Fig. 2 shows a functional block diagram of a blockchain management apparatus according to an embodiment of the present invention. The device is arranged in an intelligent household appliance and is a special embedded operating system software and hardware device supporting a 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 household appliance embedded with the blockchain management device, correspondingly, blockchain application software is operated in the control terminal, and the blockchain application software has a functional structure of the blockchain module 210 in the blockchain management device and a 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 record (i.e., synchronizing the instruction record into all the intelligent home appliances and control terminals in the blockchain domain associated with the control terminal), so as to implement information synchronization and facilitate validity check during instruction execution. Fig. 3 shows a block structure diagram in the block chain system of the present invention. As shown in fig. 3, a block is composed of a block header and a block recording area, where the block header is composed of a block version number, a Hash value of a previous block, a Hash value of a root node of a Merkle, a timestamp, and an ID, where the ID is unique identification information for marking the node when the block is generated, each formal block stores the Hash value of the previous block, and all blocks form a micro block chain that cannot be tampered with, so as to ensure the safety of the whole micro block chain; and general instructions generated in the interaction process of the equipment in the block chain domain are recorded in the block recording area, so that the remote and near control of the intelligent household appliance and the verification of the instruction safety are realized.
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 stored in a current block (namely, a block with the currently written height not reaching the upper limit) as a latest record, global synchronization is carried out, the latest record is synchronized in all blockchain domains (namely, associated blockchain domains) where the control terminal is located, the latest instruction record can be synchronized in the blockchain module 210 in the blockchain management device of the controlled target intelligent household appliance, and the blockchain module 210 only needs to store the instruction record; and the blockchain application software sends the first general instruction to the instruction conversion module 220 of the blockchain management device in the target intelligent household appliance to be controlled through a network (for example, 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, that is, a native instruction which can be identified and corresponds to the target intelligent household appliance; then, the device management module 230 verifies the validity of the first general instruction according to the synchronous instruction record in the blockchain module 210, and if the first general instruction is legal, executes the first device native instruction to complete the response to the first control operation, thereby implementing remote control of the intelligent household appliance through the control terminal, and performing point-to-point control without participation of a cloud service platform.
In an alternative embodiment, where the control operation is initiated directly by the smart appliance, the device management module 230 in the blockchain management apparatus 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 native instruction; accordingly, the instruction conversion module 220 is further configured to: converting the second device native instruction into a second general instruction; the block chain module 210 is further configured to: recording the second general instruction into the block and synchronizing to the universe; the device management module 230 is further configured to: and executing the second equipment native instruction according to the instruction record stored by the block chain module. In these optional embodiments, the second control operation directly starting from the control panel of the intelligent 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 subsequent execution of the second device native instruction through validity check of the second general instruction.
Fig. 4 is a block chain management apparatus according to an embodiment of the present invention. As shown in fig. 4, the blockchain module 210, the instruction conversion module 220, and the device management module 230 each further include a plurality of sub-modules, and it should be noted that, a network-side application module in the blockchain module 210 shown in fig. 4 is a configuration for providing a remote operation interface in blockchain application software serving as a control terminal, but this module does not exist in the blockchain management apparatus, and is shown here only for explaining the composition of blockchain application software in one figure, and the blockchain application software can be understood as the blockchain module 210 in fig. 4. The control method of the intelligent household appliance provided by the invention will be described below with reference to the structural components of fig. 4:
fig. 5 is a flowchart illustrating a method for controlling an intelligent 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 blockchain application software, and converting the first blockchain general instruction into a first equipment native instruction.
Specifically, the native and generic command conversion module in the command conversion module 210 in the blockchain management device converts the first generic command into a first device native command that can be used to control the target smart appliance.
Wherein the first general instruction is obtained by: a user initiates a control operation activity, namely a first control operation, to a target intelligent household appliance through a network-side operation interface (namely, an interface displayed on a control terminal by a network-side application module) of the blockchain application software. This action can be instantiated as the user controlling the state of a certain smart appliance through a blockchain APP (i.e. blockchain application software) on a control terminal (e.g. a smart phone), such as remotely turning on a water heater through the cell phone APP. The network end application module in the block chain APP resolves the first control operation into a first general instruction, the general instruction is designed to adapt to unique native instructions of different manufacturers, and developers of different intelligent household appliance manufacturers can establish a corresponding relation from the native instructions to the general instruction through an instruction compiling tool. Then, the blockchain APP may send the first general instruction to the blockchain management device of the target intelligent appliance through the network.
In addition, after the network side application module of the block chain APP of the control terminal analyzes the first general instruction, the block chain management module in the block chain APP also records the general instruction string of the first general instruction as the latest instruction record into the block chain storage area through the block chain access control module, that is, the general instruction string is counted into the current block; when a new record appears in the blockchain, the blockchain management module in the blockchain APP changes the record to global synchronization, and the record is added to all the intelligent household appliances and the nodes of the control terminal in the same blockchain where the control terminal is located; if a plurality of new records appear simultaneously, a consensus mechanism is realized by adopting a timestamp comparison mode, the records in the front time are counted in advance, the records in the back time are 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 records from the intelligent household appliance through global synchronization is legal or not; if yes, go to step S530; if not, go to step S550.
After the native and general instruction conversion module converts the first device native instruction, the first general instruction and the first device native instruction are sent to the device management module 230 through the instruction interaction interface, and are specifically sent to the instruction management module in the device management module 230, the instruction management module judges the validity of the first general instruction in the synchronous record in the node corresponding to the intelligent household appliance through the Hash value of the Merkle root node, that is, judges whether the first general instruction exists in the block, if so, the first general instruction is legal, if not, the first general instruction is illegal, and then the first device native instruction is executed according to the judgment result.
Step S530: a first device native instruction is 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 equipment native instruction is to be executed immediately, executing the first equipment native instruction immediately; if not, executing the first device native instruction when the set execution time is reached.
Specifically, the instruction management module judges whether the first device native instruction is executed immediately, if so, the instruction management module immediately executes the first device native instruction through the device automatic control module, if not, the instruction management module sets execution time, and when the execution time is reached, the device automatic control module executes the first device native instruction.
Step S540: after the execution is finished, the operation success information is fed back to the block chain application software, so that the block chain application software can show a notification of successful operation to a user.
After the device automatic control module executes the first device native instruction, feeding back operation success information to the block chain APP of the control terminal, and then displaying a notification of successful operation to a user through a terminal operation interface by the block chain APP. For example, showing that a water heater has successfully turned on power according to a user's operation on a cell phone.
Step S550: and refusing to execute the first equipment native instruction and feeding back operation failure information to the blockchain application software.
And if the remote control is judged to be illegal, feeding back operation failure information to the block chain APP, and prompting the user that the remote control fails at this time through a terminal operation interface.
According to the control method of the intelligent household appliance provided by the embodiment, the point-to-point remote control of the intelligent household appliance can be realized through the block chain APP in the control terminal, the validity check can be conveniently carried out through global synchronization, and illegal remote control is avoided.
Fig. 6 is a flowchart illustrating a method for controlling an intelligent appliance according to another embodiment of the present invention. The present embodiment is different from the embodiment corresponding to fig. 5 in that the present embodiment is mainly described in a manner of directly performing short-range control on an intelligent home appliance.
As shown in fig. 6, the method comprises the steps of:
step S610: and receiving a second control operation initiated by the touch of the user on the intelligent household appliance, and analyzing the second control operation into a second equipment native instruction.
The user triggers the second control operation through the panel-side operation interface (formed by the panel-side application module in the device management module 230) on the smart appliance, which may be instantiated as the user controlling the state of the smart appliance through the button panel on the smart appliance, for example, pressing a power button on the water heater to turn on the power. The command management module in the device management module 230 then parses the second control operation into a second device native command,
step S620: the second device native instruction is converted into a second general instruction.
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 the second general instruction.
Step S630: the second general instruction is counted as the most recent record in the block and the most recent 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, i.e. the current block, through the blockchain access control module; when a new record appears in the blockchain, the blockchain management module changes the record to be synchronous to the universe, so that each node in the blockchain system is added with the record at the same time, and correspondingly, the corresponding node of the intelligent household appliance is also added with the record, thereby facilitating the subsequent validity check.
Step S640: judging whether the record corresponding to the second general instruction in the instruction record of the intelligent household appliance through the universe synchronization is legal or not; if yes, go to step S650; if not, go to step S670.
The native and generic instruction conversion module converts the second generic instruction to obtain a second generic instruction, and then transmits the second generic instruction and the second device native instruction back to the instruction management module of the device management module 230, and the instruction management module determines the validity of the second generic instruction in the synchronous record in the node corresponding to the intelligent household appliance by using the Hash value of the Merkle root node, i.e., determines whether the second generic instruction exists in the block, if so, the second generic instruction is valid, and if not, the second generic instruction is invalid, and then executes the second device native instruction according to the determination result.
Step S650: executing the second device native instruction.
If the second device native instruction is judged to be legal, further judging whether the second device native instruction is to be executed immediately; if the second device native instruction is to be executed immediately, executing the second device native instruction immediately; and if the execution is not to be performed immediately, executing the second equipment native instruction when the set execution time is reached.
Specifically, the instruction management module determines whether the native instruction of the second device is executed immediately, if so, the instruction management module immediately executes the native instruction of the second device through the device automatic control module, and if not, the instruction management module sets an execution time, and when the execution time is reached, the native instruction of the second device is executed through the device automatic control module.
Step S660: and after the execution is finished, feeding back operation success information to the front panel of the intelligent household appliance.
After the device automatic control module executes the native instruction of the second device, the device automatic control module feeds back operation success information to a front panel (formed by a panel end application module) of the intelligent household appliance, and then the user can be prompted that the second control operation is successfully operated.
Step S670: and refusing to execute the native instruction of the second equipment and feeding back operation failure information to the front panel of the intelligent household appliance.
If the short-range operation is judged to be illegal, operation failure information is fed back, and the user is prompted to fail in the short-range operation through the front panel.
According to the control method of the intelligent household appliance provided by the embodiment, the second control operation can be triggered through the front panel of the intelligent household appliance, and the validity of the second general instruction can be conveniently checked through global synchronization before the second general instruction of the second device corresponding to the second control operation is responded, so that illegal short-range control is avoided.
It should be noted that, although in the above embodiments, the remote control and the short-range control are separately described in the two embodiments corresponding to fig. 5 and fig. 6, in practice, the blockchain system may implement the above two control manners at the same time, that is, the remote control and the short-range control at the same time.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein at least one executable instruction is stored in the computer storage medium, and the computer executable instruction can execute the control method of the intelligent household appliance in any method embodiment.
Fig. 7 is a schematic structural diagram of an intelligent home appliance according to an embodiment of the present invention, where the specific embodiment of the present invention does not limit specific implementations of the intelligent home appliance.
As shown in fig. 7, the smart appliance may include: a processor (processor)702, a Communications Interface 704, a memory 706, and a communication bus 708.
Wherein: the processor 702, communication interface 704, and memory 706 communicate 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 execute the relevant steps in the above-described embodiment of the method for controlling an intelligent appliance for an intelligent appliance.
In particular, the program 710 may include program code that includes computer operating instructions.
The processor 702 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The intelligent household appliance comprises one or more processors which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
The memory 706 stores a program 710. The memory 706 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 710 may specifically be used to cause the processor 702 to perform the following operations:
receiving a first general instruction sent by the block chain application software, and converting the first general instruction into a first equipment native instruction;
judging whether a record corresponding to the first general instruction in the instruction records from the intelligent household appliance through global synchronization is legal or not, and if so, executing a first equipment native instruction;
after the execution is finished, the operation success information is fed back to the block chain application software, so that the block chain application software can show a notification of successful operation to a user.
In an optional manner, the program 710 further causes the processor 702 to:
judging whether the native instruction of the first device needs to be executed immediately;
if the first equipment native instruction is to be executed immediately, executing the first equipment native instruction immediately; if not, executing the first device native instruction when the set execution time is reached.
In an optional manner, the program 710 further causes the processor 702 to:
receiving a second control operation initiated by the touch of the user on the intelligent household appliance, and analyzing the second control operation into a second equipment native instruction;
converting the second device native instruction into a second general instruction;
recording the second general instruction as a latest record into a block, and synchronizing the latest record into all nodes of an associated blockchain domain;
judging whether the record corresponding to the second general instruction in the instruction record of the intelligent household appliance through the universe synchronization is legal or not, and if so, executing a second equipment native instruction;
and after the execution is finished, feeding back operation success information to the front 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 constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of embodiments of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best modes of embodiments of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, 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 foregoing 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 interpreted as reflecting an intention that: that is, the claimed embodiments of the invention require 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 device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. 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. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements 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 included in other embodiments, rather than other features, 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 may be used in any combination.
The 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 a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. Embodiments of the invention may also be implemented as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing embodiments of the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or 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 usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. A blockchain system, comprising: the intelligent household appliance and the control terminal are registered through the intelligent gateway to form a block chain domain; wherein the content of the first and second substances,
the control terminal runs a blockchain application software which 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, recording the first general instruction into a block and synchronizing the block with the universe;
the intelligent household appliance runs a block chain management device, and the block chain management device is used for converting the first general instruction into a first equipment native instruction and executing the first equipment native instruction; and the first general instruction is sent to the corresponding block chain management device of the intelligent household appliance through the network of the block chain domain.
2. The system of claim 1, wherein the same control terminal is registerable 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 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;
recording the second general instruction into the block and synchronizing to the universe;
executing the second device native instruction.
4. A blockchain management apparatus, comprising:
the block chain module is used for storing the instruction records from the global synchronization;
the instruction conversion module is used for receiving a first general instruction sent by the block chain application software and converting the first general instruction into a first equipment native instruction;
and the equipment management module is used for executing the first equipment native instruction according to the instruction record stored by the block chain 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 native instruction;
the instruction conversion module is further configured to: converting the second device native instruction into a second general instruction;
the block chain module is further to: recording the second general instruction into the block and synchronizing to the universe;
the device management module is further to: and executing the second equipment native instruction according to the instruction record stored by the block chain module.
6. A control method of an intelligent appliance, the method being performed by the blockchain management device of claim 4 or 5, comprising:
receiving a first general instruction sent by the block chain application software, and converting the first general instruction into a first equipment native instruction;
judging whether a record corresponding to the first general instruction in the instruction records from the intelligent household appliance through global synchronization is legal or not, and if so, executing a first equipment native instruction;
after the execution is finished, the operation success information is fed back to the block chain application software, so that the block chain application software can show a notification of successful operation to a user.
7. The method of claim 6, wherein after determining legitimacy, the method further comprises:
judging whether the native instruction of the first device needs to be executed immediately;
the executing the first device native instructions further comprises: if the first equipment native instruction is to be executed immediately, executing the first equipment native instruction immediately; if not, executing the first device native instruction when the set execution time is reached.
8. The method of claim 6 or 7, wherein the method further comprises:
receiving a second control operation initiated by the touch of the user on the intelligent household appliance, and analyzing the second control operation into a second equipment native instruction;
converting the second device native instruction into a second general instruction;
recording the second general instruction as a latest record into a block, and synchronizing the latest record into all nodes of an associated blockchain domain;
judging whether the record corresponding to the second general instruction in the instruction record of the intelligent household appliance through the universe synchronization is legal or not, and if so, executing a second equipment native instruction;
and after the execution is finished, feeding back operation success information to the front panel of the intelligent household appliance.
9. An intelligent appliance, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the control method of the intelligent household appliance according to any one of claims 6-8.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the control method of an intelligent appliance according to 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 true CN114371628A (en) 2022-04-19
CN114371628B 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 (16)

* 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
US20180219676A1 (en) * 2017-01-27 2018-08-02 Walmart Apollo, Llc Managing smart appliances using blockchain technology
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
US20200136847A1 (en) * 2018-10-29 2020-04-30 Sensormatic Electronics Llc Systems and methods of enabling blockchain-based building automation systems
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

Patent Citations (17)

* 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
US20180219676A1 (en) * 2017-01-27 2018-08-02 Walmart Apollo, Llc Managing smart appliances using blockchain technology
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
US20200136847A1 (en) * 2018-10-29 2020-04-30 Sensormatic Electronics Llc Systems and methods of enabling blockchain-based building automation systems
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
CN114371628B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN100586073C (en) Simple and dynamic configuration of network devices
WO2021135299A1 (en) Binding method and system for device network configuration, and mobile terminal and storage medium
CN101305350A (en) Software architecture system and method for communication with, and management of, at least one component within a household appliance
CN103202000A (en) Discovery of electronic devices in a combined network
CN103298147B (en) Realize the methods, devices and systems at computing equipment side radio management mobile terminal
CN112235594B (en) Live broadcast and microphone connecting method and device, computer readable medium and electronic equipment
CN104348903A (en) Communication system for establishing P2P connections and the corresponding devices
CN111556500A (en) Technology for distributing network and authenticating WiFi (wireless fidelity) of equipment through WeChat applet
CN113225744B (en) Intelligent device ad hoc network method, intelligent networking system and storage medium
CN112804730B (en) Equipment interconnection method, device, server, intelligent equipment and storage medium
EP3993338A1 (en) Device binding method and apparatus, and electronic device
JP2009135783A (en) Communication adapter and connection information setting method thereof
WO2020133495A1 (en) Smart device management method, mobile terminal, and system
WO2020168568A1 (en) Data processing method and apparatus, electronic device and readable storage medium
WO2016027561A1 (en) Network system, sound output method, server, communication terminal, and electrical device
WO2023024752A1 (en) Network optimization method and apparatus, and electronic device
CN105208030A (en) Wireless network roaming method
CN107103668A (en) A kind of gate control system information transferring method, device and server
CN114488828A (en) Control method and device of intelligent home system and intelligent home system
JP2005109748A (en) Household electric appliance remote control system, service providing server, and household electric appliance remote control method
CN114371628B (en) Block chain system, management device, control method of intelligent household appliance and intelligent household appliance
WO2023226768A1 (en) Device control method and apparatus, device, and storage medium
US20170094035A1 (en) Management method and management device
JP4385792B2 (en) Power line communication terminal device, power line communication method, and power line communication system
CN113596030A (en) Equipment network distribution method and device, storage medium and electronic equipment

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