CN109788009A - Exchange method and internet of things equipment for internet of things equipment - Google Patents

Exchange method and internet of things equipment for internet of things equipment Download PDF

Info

Publication number
CN109788009A
CN109788009A CN201711113144.8A CN201711113144A CN109788009A CN 109788009 A CN109788009 A CN 109788009A CN 201711113144 A CN201711113144 A CN 201711113144A CN 109788009 A CN109788009 A CN 109788009A
Authority
CN
China
Prior art keywords
task
equipment
module
main module
internet
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
CN201711113144.8A
Other languages
Chinese (zh)
Other versions
CN109788009B (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.)
Qingdao Haier Smart Technology R&D Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Smart Technology R&D 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 Qingdao Haier Smart Technology R&D Co Ltd filed Critical Qingdao Haier Smart Technology R&D Co Ltd
Priority to CN201711113144.8A priority Critical patent/CN109788009B/en
Publication of CN109788009A publication Critical patent/CN109788009A/en
Application granted granted Critical
Publication of CN109788009B publication Critical patent/CN109788009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of exchange methods for internet of things equipment, belong to internet of things field.This method comprises: broadcasting the task identification of the task after this equipment is connected to task, and receive the task identification of other equipment broadcast;When the task identification of other device broadcasts is identical as the task identification of the task, negotiates with other equipment, determine the strategy for executing the task.The present invention is completed the same assignment instructions by individual equipment by the theory of Internet of Things, or is cooperateed with and completed by multiple equipment, ensure that in task implementation procedure be not in repetitive operation.The invention also discloses a kind of internet of things equipment.

Description

Exchange method and internet of things equipment for internet of things equipment
Technical field
The present invention relates to internet of things field, in particular to a kind of exchange method and Internet of Things for internet of things equipment Equipment.
Background technique
With the development of science and technology, the electronic equipment at present in family is more and more, such as washing machine, refrigerator, TV, air-conditioning Deng, and each equipment has corresponding remote controler, and prior art discloses a kind of smart home control devices, can be with family In multiple equipment connection and comprehensively control is carried out to the multiple equipment of connection, avoid corresponding remote controler and electronic equipment it Between single control bring it is inconvenient.Since smart home control device bring convenience is increasingly significant, for kitchen in family, crouch Room, the different subregions such as parlor, user can select to use multiple smart home control devices.Currently, multiple Intelligent housings are set It cannot achieve communication between standby, when the meeting when receiving same command signal (such as: voice signal) of multiple smart home control devices Relevant operation is executed respectively, necessarily with the presence of some smart home control device maloperation.
Summary of the invention
The embodiment of the invention provides a kind of exchange methods and internet of things equipment for internet of things equipment, it is intended to solve more It can not cooperate between a smart machine and be repeated caused by completion task.In order to which some aspects of the embodiment to disclosure have one Simple summary is shown below in a basic understanding.The summarized section is not extensive overview, nor to determine crucial/weight It wants component or describes the protection scope of these embodiments.Its sole purpose is that some concepts are presented with simple form, with This preamble as following detailed description.
According to a first aspect of the embodiments of the present invention, a kind of exchange method for internet of things equipment is provided, comprising: this After equipment is connected to task, the task identification of the task is broadcasted, and receives the task identification of other equipment broadcast;When other equipment When the task identification of broadcast is identical as the task identification of the task, negotiates with other equipment, determine and execute the task Strategy.
Optionally, the strategy for executing the task, comprising: when this equipment has function category corresponding with the task Property when, the task is executed by this equipment or the other equipment, or described in being executed as this equipment and other equipment collaborations Task;When this equipment does not have functional attributes corresponding with the task, the task is executed by other equipment.
Optionally, negotiate described with other equipment, before determining the strategy for executing the task, further includes: broadcast The functional attributes of this equipment, and receive the functional attributes of the other equipment broadcast.
Optionally, the task is executed by this equipment, comprising: execute described appoint by the main module of this equipment or from module Business, alternatively, by the main module and described executing the task from module cooperative;Wherein, described to be used to acquire voice from module And pass through main module and PERCOM peripheral communication;The main module is used to transmit information with PERCOM peripheral communication.
Optionally, described to execute the task by the main module of this equipment or from module, alternatively, by the main module and institute It states from module cooperative and executes the task, comprising: when the main module of this equipment has functional attributes corresponding with the task, By the main module or it is described execute the task from module, or execute the task by the main module and from module cooperative; When the main module does not have functional attributes corresponding with the task, the task is executed from module by described.
Optionally, further includes: obtain the main module and the functional attributes from module.
Optionally, when executing the task by the main module and from module cooperative, further includes: according to the main module With the resource service condition from module, the main module and the task amount from module are deployed, with the balanced main mould Block and the operating load from module.
Optionally, in this device power-up, determine that one in two identical submodules of this equipment is main module, it is another A is from module.
Optionally, the agreement (Internet Protocol, IP) interconnected between network is obtained according to described two submodules The time of IP determines one in described two submodules as main module, another is from module.
Optionally, the submodule for first obtaining IP is main module, another is from module.
Optionally, determine that each submodule obtains based on Network Time Protocol (Network Time Protocol, the NTP) time Take the time of IP.
According to a second aspect of the embodiments of the present invention, a kind of internet of things equipment is provided, comprising: main module and center control are single Member, wherein the main module includes: the first communication unit, is used for and PERCOM peripheral communication, and the task is broadcasted after being connected to task Task identification;The central control unit, for receiving the task mark of other equipment broadcast by first communication unit Know, and when there is the task identification of other device broadcasts identical as the task identification of the task, negotiate with other equipment, Determine the strategy for executing the task.
Optionally, the strategy for executing the task includes: when this equipment has function category corresponding with the task Property when, the task is executed by this equipment or the other equipment, or described in being executed as this equipment and other equipment collaborations Task;When this equipment does not have functional attributes corresponding with the task, the task is executed by other equipment.
Optionally, the central control unit is also used to judge whether this equipment has function category corresponding with the task Property;The main module further includes the first execution unit, for task to be individually performed or executes task with other module cooperatives.
Optionally, first execution unit is used for when the main module has functional attributes corresponding with task, single It solely executes task or executes task with other module cooperatives.
Optionally, first communication unit is also used to before the central control unit and other equipment are negotiated, The functional attributes of main module are broadcasted, and receive the functional attributes of the other equipment broadcast.
Optionally, the equipment further includes from module;It is described to include the second communication unit from module, in the center Before control unit and other equipment are negotiated, the broadcast functional attributes from module.
Optionally, it is described from module further include the second execution unit, for be individually performed task or with it is described first execute Unit is performed in unison with task.
Optionally, second execution unit be used for it is described have functional attributes corresponding with task from module when, it is single Only execution task is performed in unison with task with first execution unit.
Optionally, the central control unit is also used in this device power-up, determines two identical submodules of this equipment One in block is main module, another is from module.
Optionally, the time that the central control unit is also used to obtain IP according to described two submodules determines described two One in a submodule is main module, another is from module.
Optionally, the central control unit determines that the submodule for first obtaining IP is main module, another is from module.
Optionally, the central control unit determines that each submodule obtains the time of IP based on the NTP time.
Optionally, the central control unit be also used to according to the main module and it is described from the resource of module using feelings Condition deploys the main module and the task amount from module, with the balanced main module and the operating load from module.
Technical solution provided in an embodiment of the present invention can include the following benefits:
The task identification of this equipment received task instruction is broadcasted, and obtains the task identification of other equipment broadcast, really Whether have the equipment that receives same task, when there is the equipment for getting same task mark, negotiate to hold between equipment if recognizing The corresponding task of row assignment instructions is completed the same assignment instructions by individual equipment, Huo Zheyou by the theory of Internet of Things Multiple equipment collaboration is completed, and ensure that in task implementation procedure be not in repetitive operation.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of process signal of exchange method for internet of things equipment shown according to an exemplary embodiment Figure;
Fig. 2 is a kind of process signal of exchange method for internet of things equipment shown according to an exemplary embodiment Figure;
Fig. 3 is a kind of structural block diagram of internet of things equipment shown according to an exemplary embodiment;
Fig. 4 is a kind of structural block diagram of internet of things equipment shown according to an exemplary embodiment;
Fig. 5 is a kind of structural block diagram of internet of things equipment shown according to an exemplary embodiment.
Specific embodiment
The following description and drawings fully show specific embodiments of the present invention, to enable those skilled in the art to Practice them.Other embodiments may include structure, logic, it is electrical, process and other change.Embodiment Only represent possible variation.Unless explicitly requested, otherwise individual components and functionality is optional, and the sequence operated can be with Variation.The part of some embodiments and feature can be included in or replace part and the feature of other embodiments.This hair The range of bright embodiment includes equivalent obtained by the entire scope of claims and all of claims Object.Herein, each embodiment individually or can be indicated generally with term " invention ", and it is convenient that this is used for the purpose of, And if in fact disclosing the invention more than one, the range for being not meant to automatically limit the application is any single invention Or inventive concept.Herein, relational terms such as first and second and the like be used only for by an entity or operation with Another entity or operation distinguish, and without requiring or implying, there are any actual relationships between these entities or operation Or sequence.Moreover, the terms "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, thus So that process, method or equipment including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, method or the intrinsic element of equipment.In the feelings not limited more Under condition, the element that is limited by sentence "including a ...", it is not excluded that in process, method or equipment including the element In there is also other identical elements.Each embodiment herein is described in a progressive manner, and each embodiment stresses Be the difference from other embodiments, the same or similar parts in each embodiment may refer to each other.For implementing For method, product etc. disclosed in example, since it is corresponding with method part disclosed in embodiment, so the comparison of description is simple Single, reference may be made to the description of the method.
Internet of Things is expansion application and the Network stretch of communication network and internet, it utilizes cognition technology and intelligent apparatus pair Physical world carries out perception identification, is interconnected by network transmission, is calculated, is handled and knowledge excavation, realize people and object, object with Object information exchange and seamless link reach to physical world real-time control, accurate management and science decision purpose.Nowadays, object Networking has penetrated into the every aspect of human lives, and the application in human society is also varied.
With the development of science and technology, function of loudspeaker box constantly upgrades, existing intelligent sound box, become a kind of consumer with voice into One tool of row online, such as requesting songs, online shopping, or understand weather forecast, while can also be to smart home Equipment is controlled, for example, open curtain, setting refrigerator temperature, allow in advance water heater heating etc..
Internet of things equipment in the embodiment of the present invention can be intelligent sound box, but be not limited only to intelligent sound box, Ke Yiwei Other other intelligent control devices that phonetic accessing internet may be implemented or a variety of smart home devices are controlled.In the present invention In embodiment, it is related to two and more than two intelligent control devices, in specific embodiment, is said by taking intelligent sound box as an example It is bright.Wherein, it can be interconnected between each intelligent control device, and each intelligent control device can be to one or more intelligent families It occupies equipment to be controlled, has fully demonstrated the application to Internet of Things.
In the embodiment of the present invention, the functional attributes of each internet of things equipment are not necessarily identical, wherein functional attributes can be real Existing function.The basic function module that each internet of things equipment includes is identical, but the function of specifically may be implemented may be identical, It may be different.
As shown in Figure 1, being the exchange method for internet of things equipment shown in an exemplary embodiment according to the present invention Flow chart.In the present embodiment, which includes:
Step S101: after this equipment is connected to task, broadcasting the task identification of the task, and receives other equipment broadcast Task identification.
Step S102: when the task identification of other device broadcasts is identical as the task identification of the task, with it is described its Its equipment is negotiated, and determines the strategy for executing the task.
Wherein, it communicates with one another between this equipment and other equipment, this equipment is any in the internet of things equipment to communicate with one another One, and other equipment are the other equipment in the internet of things equipment to communicate with one another.
It is limited to the influence of the use environment of each internet of things equipment, there are the feelings that multiple equipment receives same task simultaneously Condition, at this point, may make troubles to user if two intelligent sound boxes are performed simultaneously same task.
Such as: a certain domestic consumer has issued a phonetic order " play song * * " in kitchen, kitchen and parlor Intelligent sound box has received the task and plays simultaneously, if parlor has guest to see TV in parlor in talk or someone, Puzzlement can be brought to the user at this time in parlor.
Therefore, after a certain equipment receives task, the task identification of this equipment received task is broadcasted, meanwhile, Also receive other equipment broadcast task identification, when there are same task mark, with send the same task mark other One or more other equipment are negotiated, and determine the strategy of the task.
In the present embodiment, the task identification of this equipment received task instruction is broadcasted, and obtains other equipment broadcast Task identification, be confirmed whether there is the equipment for receiving same task, when exist get same task mark equipment when, if Negotiate to execute the corresponding task of assignment instructions between standby, by the theory of Internet of Things, for the same assignment instructions by individually setting It is standby to complete, or cooperateed with and completed by multiple equipment, it ensure that in task implementation procedure be not in repetitive operation.
In some embodiments, for convenient for same task is identified and is negotiated between each internet of things equipment determine execution The strategy of the task, each internet of things equipment are stored with identical task attribution table, including: assignment instructions and task mark Know.Such as: it include one " 0005, pause plays " in task attribution table, i.e. the corresponding instruction of task identification is that " pause is broadcast It puts ".In step s101, after internet of things equipment receives task, the task identification is broadcasted.Basis is appointed between each internet of things equipment Business mark 0005 can determine that being negotiated to execute of the task is that " pause plays."
In aforementioned any embodiment, for convenient in step S102 and receive between the internet of things equipment of same task into The strategy for executing the task is negotiated and determined to row, and in step s101, internet of things equipment broadcasts this equipment after receiving task Device identification, Negotiation object is determined according to device identification between each internet of things equipment.Wherein, device identification is that equipment is exclusive The address media access control (Media Access Control, MAC).
As shown in Fig. 2, being the exchange method for internet of things equipment shown in an exemplary embodiment according to the present invention Flow chart.Include:
Step S201: after this equipment is connected to task, broadcasting the task identification of the task, and receives other equipment broadcast Task identification.
Step S202: when the task identification of other device broadcasts is identical as the task identification of the task, with it is described its Its equipment is negotiated, and is determined when this equipment has functional attributes corresponding with the task, executes the task by this equipment, or The task is executed by this equipment and other equipment collaborations, when this equipment does not have functional attributes corresponding with the task When, the task is executed by other equipment.
In some embodiments, to hold consultation convenient for being connected between the equipment of same task, described appoint is executed to determine The strategy of business, this is used for the exchange method of internet of things equipment, before determining the strategy for executing the task, further includes: broadcast The functional attributes of this equipment, and receive the functional attributes of the other equipment broadcast.Specific embodiment has very much, some In embodiment, the functional attributes of this equipment are broadcasted at the beginning of each equipment establishes mutual link relation, receive other equipment broadcast Functional attributes.In some embodiments, after this equipment is connected to task, the functional attributes of this equipment are broadcasted and receive other setting The functional attributes of standby broadcast.
Wherein, the form of internet device broadcast capability attribute has very much, but no matter according to which kind of forms of broadcasting, Dou Nengti Reveal the current state of this equipment, it can which kind of function realized.In some embodiments, internet device broadcasts a function Attribute list, which includes all functional attributes of the internet device, wherein it is current to be labelled with each functional attributes Occupied state, i.e., which function currently realized, which function can also be realized.In some embodiments, internet device Only broadcast this equipment unappropriated functional attributes of institute at present.Wherein, the institute that functional attributes table can be realized for this equipment Functional list.
In some embodiments, each internet device includes a main module and one from module.Avoid single module There is system overload during execution multiple tasks at the same time or system is stuck, user demand can not be timely responded to, reduce user Experience.Each internet device includes a central control unit, according to main module and from the resource service condition of module, is deployed The main module and the task amount from module, with the balanced main module and the operating load from module.It is such as aforementioned In embodiment by this equipment execute task when or when thering is equipment and other equipment to be performed in unison with task, by this equipment main module or Task is executed from module, alternatively, by the main module and described executing the task from module cooperative.Wherein, it is used for from module It acquires voice and passes through main module and PERCOM peripheral communication, main module is used for and PERCOM peripheral communication transmits information.
Be illustrated below with reference to specific embodiment: user issues phonetic order " it is very sweet to play song ", Internet of Things The voice of the slave module acquisition user of equipment, is sent to cloud server by main module, server is to the language acquired from module Sound carries out semantic analysis, and generates task message, is sent to internet of things equipment.When the main module of this internet of things equipment receives this When task " it is very sweet to play song ", broadcasting tasks mark or task definition, and receive what other internet of things equipment were sent Task identification or task definition are judged whether there is the other equipment for receiving same task by central control unit, when being not present When receiving the other equipment of same task, is executed by main module or from module, receive other of same task if it exists It when equipment, is held consultation by central control unit and other internet of things equipment, when determination executes the task by this equipment, in Centre control unit determination is played by main module, or by playing from module, or plays L channel by main module, is played from module right Sound channel.
In some embodiments, the task is executed by the main module of this equipment or from module, alternatively, by the main module The task is executed from module cooperative with described, is specifically included: when the main module of this equipment has function corresponding with the task Can attribute when, by the main module or it is described execute the task from module, or executed by the main module and from module cooperative The task executes described appoint from module by described when the main module does not have functional attributes corresponding with the task Business.Central control unit in internet device is distributed according to main module and from the current functional attributes of module by the main mould Block or it is described execute the task from module, or execute the task by the main module and from module cooperative.
In some embodiments, the task is executed by the main module of this equipment or from module, alternatively, by the main module The task is executed from module cooperative with described, is specifically included, when the main module of this equipment has function corresponding with the task Energy attribute when not having functional attributes corresponding with the task from module, executes the task by the main module;When described Main module and when all having functional attributes corresponding with the task from module, according to the main module and described current from module Resource service condition determine by the main module or it is described execute the task from module, or by the main module and it is described from Module cooperative executes the task;When the main module does not have functional attributes corresponding with the task, by described from mould Block executes the task.When executing the task by the main module and from module cooperative, further includes: according to the main module With the resource service condition from module, the main module and the task amount from module are deployed, with the balanced main mould Block and the operating load from module.Wherein, the central control unit in internet device, available main module and from mould The current resource service condition of block, when main module and when from module all having functional attributes corresponding with the task, if main Currently a large amount of resource is occupied for module, then by executing the task of newest acquisition from module, or by main module executes newest obtain Smaller portions in taking for task, rest part from module then by executing.Specifically, being used according to main module and from the resource of module Ratio deploy task amount accordingly, the ratio that the task amount of allotment and the resource use is inversely proportional.
In some embodiments, which is distributing master according to main module and from the current functional attributes of module Before module and sharing from module for task, the main module and the functional attributes from module are obtained.Wherein, acquisition side There are many kinds of formulas, and main module and the functional attributes table from module can be read directly, or receives main module and broadcast from module Functional attributes table.In some embodiments, each module broadcasts the functional attributes table of the module, which includes the mould Which function all functional attributes of block currently realize wherein being labelled with the current occupied state of each functional attributes, also Which function may be implemented.In some embodiments, each module only broadcasts the module unappropriated functional attributes of institute at present. No matter according to which kind of forms of broadcasting, the current state of this equipment can be embodied, it can which kind of function realized.
In some embodiments, when executing the task by the main module and from module cooperative, in internet device The unit for coordinating computational resource allocation between two modules is distinguished according to main module and from the calculation amount size that module executes task To main module and from module assignment computing resource.
In some embodiments, the main module of each internet device and from module be two identical modules, i.e., two Module is upper completely the same in the type of component, quantity and layout, can only have differences when executing function.Main module and from Module determines at the beginning of internet device is switched on.
Wherein, determine one in described two submodules for main mould according to the time that described two submodules obtain IP Block, another is from module.In some embodiments, determine that the submodule for first obtaining IP is main module, another is from module. In some embodiments, determine that first obtaining the submodule of IP is from module, another is main module.It wherein, is guarantee two two A submodule obtains the synchronism of the time of IP, determines that each submodule obtains the time of IP based on the NTP time.
It is internet device provided in an embodiment of the present invention as follows, for executing method described in above-described embodiment.
As shown in figure 3, being the structural block diagram of the internet of things equipment shown in an exemplary embodiment according to the present invention, comprising: Main module 31 and central control unit 32 for communication with the outside, wherein main module 31 includes the first communication unit 311。
In the present embodiment, the first communication unit 311 is used for and PERCOM peripheral communication, and the task is broadcasted after being connected to task Task identification.First communication unit 311 can receive the message from other equipment or cloud server.
Central control unit 32 is used to receive the task identification of other equipment broadcast by the first communication unit 311, and works as Have the task identification of other device broadcasts it is identical as the task identification of the task when, negotiate with the other equipment, determination is held The strategy of the row task.
Internet of things equipment provided in this embodiment, may be implemented two and more than two realize communicates with one another, concrete application In the process, it may be implemented to reciprocally negotiate in multiple equipment while in the case where receive same task, complete task, avoid more A equipment response, causes repeating for task.
In the present embodiment, the task identification of this equipment received task instruction is broadcasted, and obtains other equipment broadcast Task identification, be confirmed whether there is the equipment for receiving same task, when exist get same task mark equipment when, if Negotiate to execute the corresponding task of assignment instructions between standby, by the theory of Internet of Things, for the same assignment instructions by individually setting It is standby to complete, or cooperateed with and completed by multiple equipment, it ensure that in task implementation procedure be not in repetitive operation.
In some embodiments, for convenient for same task is identified and is negotiated between each internet of things equipment determine execution The strategy of the task, each internet of things equipment are stored with task attribution table, including: assignment instructions and task identification.When After receiving task, the corresponding task identification of the task is obtained by central control unit 32 and is broadcasted by the first communication unit 311 It goes out.Such as: " 0005, pause plays ", when receiving the assignment instructions of " pause plays ", i.e., broadcasting tasks identify 0005. It in some embodiments, is the memory space for reducing occupancy, after each internet of things equipment is connected to task, the task of direct broadcasting tasks Instruction, without distributing task identification for assignment instructions.In some embodiments, in step s101, internet of things equipment directly connects The task identification that cloud server is sent is received, and is directly broadcasted task identification.
In aforementioned any embodiment, for convenient for central control unit 32 with receive same task internet of things equipment it Between hold consultation and determine the strategy for executing the task, internet of things equipment passes through the first communication unit 311 after receiving task It broadcasts the device identification of this equipment, Negotiation object is determined according to device identification between each internet of things equipment.Wherein, device identification is The exclusive physical address of equipment.
In some embodiments, the strategy for executing the task include: when this equipment have it is corresponding with the task Functional attributes when, the task is executed by this equipment or the other equipment, or by this equipment and other equipment collaborations Execute the task;When this equipment does not have functional attributes corresponding with the task, as described in other equipment execution Task.
In some embodiments, the first communication unit 311, which is also used to determine in central control unit 32, executes the task Strategy before, broadcast the functional attributes of this equipment, and receive the functional attributes of other equipment broadcast.Specific embodiment party Formula has very much, in some embodiments, the functional attributes of this equipment is broadcasted at the beginning of each equipment establishes mutual link relation, are connect Receive the functional attributes of other equipment broadcast.In some embodiments, after this equipment is connected to task, the function category of this equipment is broadcasted Property and receive other equipment broadcast functional attributes.
In some embodiments, internet device only includes module of the main module 31 as execution task, then main module 31 The functional attributes of the functional attributes, that is, main module 31 of this equipment of broadcast.
In some embodiments, internet device includes main module 31 and other modules as execution task, then main mould Block 31 broadcast this equipment functional attributes be 31 sum of main module other as execution task module functional attributes.
In some embodiments, it is corresponding with the task to be also used to judge whether this equipment has for central control unit 32 Functional attributes.As shown in figure 4, main module 31 further includes the first execution unit 311, for be individually performed task or with other modules It is performed in unison with task.
In some embodiments, the first execution unit 311 is used to have functional attributes corresponding with task in main module 31 When, task is individually performed or executes task with other module cooperatives.
As shown in figure 5, being the structural block diagram of the internet of things equipment shown in an exemplary embodiment according to the present invention, comprising: Main module 31 for communication with the outside, central control unit 32 and from module 33.Wherein, main module 31 includes first logical Believe unit 311 and the first execution unit 312, includes the second communication unit 331 and the second execution unit 332 from module.
It in the present embodiment, is two identical submodules, i.e., two in internet of things equipment from module 33 and main module 31 Module is upper completely the same in the type of component, quantity and layout, can only have differences when executing function.Main module and from Module determines at the beginning of internet device is switched on.Occurs system mistake during avoiding single module from executing multiple tasks at the same time It carries or system is stuck, user demand can not be timely responded to, reduce user experience.Central control unit 32 can be used to coordinate two The distribution of task computation amount between a module, equilibrium assignment main module 31 and being shared from module 33 for task.
Second communication unit 331 determines the strategy of execution task for negotiating in central control unit 32 and other equipment Before, broadcast the functional attributes from module 31.
When central control unit 32 and other internet of things equipment are negotiated to determine that determination ought originally be set when executing task by this equipment When standby main module has functional attributes corresponding with task, is executed and appointed by the first execution unit 312 or the second execution unit 332 Business, or task is performed in unison with by the first execution unit 312 and the second execution unit 332, when main module does not have and the task pair When the functional attributes answered, task is executed by the second execution unit 332.
In some embodiments, first execution unit 312 and the second execution unit 332 are broadcast unit, for broadcasting Playback frequency.In some embodiments, first execution unit 312 and the second execution unit 332 include for playing audio Broadcast unit.
In some embodiments, when main module 31 has functional attributes corresponding with task, do not have from module 33 and institute When stating the corresponding functional attributes of task, the task is executed by main module 31;All have when main module 31 and from module 33 and institute When stating the corresponding functional attributes of task, determine according to main module 31 and from the current resource service condition of module 33 by main module 31 Or the task is executed from module 33, or be performed in unison with the task by main module 31 and from module 33;When main module 31 does not have When standby functional attributes corresponding with the task, by executing the task from module 33.It is assisted when by main module 31 and from module 33 When with executing the task, further includes: according to main module 31 and from the resource service condition of module 33, deploy main module 31 and from The task amount of module 33, with balanced main module 31 and from the operating load of module 33.Wherein, the center control in internet device Unit 32, available main module 31 and the current resource service condition from module 33, when main module 31 and from module 33 all When having functional attributes corresponding with the task, if the current a large amount of resource of main module 31 is occupied, by holding from module 33 The task of the newest acquisition of row, or execute smaller portions in the task of newest acquisition by main module 31, rest part is then by from mould Block 33 executes.Specifically, task amount is deployed accordingly according to main module 31 and from the ratio that the resource of module 33 uses, allotment The ratio that task amount and the resource use is inversely proportional.
In some embodiments, from module 33 further include: acquisition unit, for acquiring voice and by the first communication unit 311 and PERCOM peripheral communication.The acquisition unit is mainly used for receiving the phonetic order of user, and is put by the first communication unit 311 to cloud Server is held, semantic analysis is carried out by cloud server and generates task, and then is sent to internet of things equipment.
In the aforementioned embodiment, the master in internet of things equipment in two identical submodules is determined in this device power-up From relationship.Wherein, determine that one in two submodules is main module 31 according to the time that two submodules obtain IP, another For from module 33.In some embodiments, determine that the submodule for first obtaining IP is main module 31, another is from module 33.? In some embodiments, determine that the submodule for first obtaining IP is from module 33, another is main module 31.It wherein, is guarantee two Two submodules obtain the synchronism of the time of IP, determine that each submodule obtains the time of IP based on the NTP time.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory of instruction, above-metioned instruction can be executed by processor to complete previously described method.Above-mentioned non-transitory meter Calculation machine readable storage medium storing program for executing can be read-only memory (Read Only Memory, ROM), random access memory (Random Access Memory, RAM), tape and light storage device etc..
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Those of skill in the art Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.It is apparent to those skilled in the art that for convenience and simplicity of description, foregoing description The specific work process of system, device and unit, can refer to corresponding processes in the foregoing method embodiment, no longer superfluous herein It states.
In embodiments disclosed herein, it should be understood that disclosed method, product (including but not limited to device, set It is standby etc.), it may be implemented in other ways.For example, the apparatus embodiments described above are merely exemplary, for example, The division of the unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple Unit or assembly can be combined or can be integrated into another system, or some features can be ignored or not executed.It is another Point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, device or The indirect coupling or communication connection of unit can be electrical property, mechanical or other forms.It is described single as illustrated by the separation member Member may or may not be physically separated, and component shown as a unit may or may not be physics Unit, it can it is in one place, or may be distributed over multiple network units.It can select according to the actual needs Some or all of unit therein achieves the purpose of the solution of this embodiment.In addition, in each embodiment of the present invention each Functional unit can integrate in one processing unit, is also possible to each unit and physically exists alone, can also be two or two A above unit is integrated in one unit.
It should be understood that the invention is not limited to the process and structure that are described above and are shown in the accompanying drawings, And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is only limited by the attached claims System.

Claims (10)

1. a kind of exchange method for internet of things equipment characterized by comprising
After this equipment is connected to task, the task identification of the task is broadcasted, and receives the task identification of other equipment broadcast;
When the task identification of other device broadcasts is identical as the task identification of the task, negotiate with other equipment, really Surely the strategy of the task is executed.
2. the method as described in claim 1, which is characterized in that the strategy for executing the task, comprising:
When this equipment has functional attributes corresponding with the task, described appoint, is executed by this equipment or other equipment Business, or the task is executed by this equipment and other equipment collaborations;
When this equipment does not have functional attributes corresponding with the task, the task is executed by other equipment.
3. the method as described in weighing and require 2, which is characterized in that the task is executed by this equipment, or by this equipment and it is described its When its equipment collaboration executes the task, comprising:
Task is executed by the main module of this equipment or from module, alternatively, being appointed by the main module and described execute from module cooperative Business;Wherein, described to be used to acquire voice from module and pass through main module and PERCOM peripheral communication;The main module is used for and PERCOM peripheral communication Transmit information.
4. method as claimed in claim 3, which is characterized in that described to execute described appoint by the main module of this equipment or from module Business, alternatively, by the main module and described executing the task from module cooperative, comprising:
When the main module of this equipment has functional attributes corresponding with the task, described hold by the main module or from module The row task, or the task is executed by the main module and from module cooperative;
When the main module does not have functional attributes corresponding with the task, the task is executed from module by described.
5. method as claimed in claim 3, which is characterized in that in this device power-up, determine two identical sons of this equipment One in module is main module, another is from module.
6. a kind of internet of things equipment characterized by comprising main module and central control unit, wherein the main module packet It includes:
First communication unit, is used for and PERCOM peripheral communication, and the task identification of the task is broadcasted after being connected to task;
The central control unit for receiving the task identification of other equipment broadcast by first communication unit, and is worked as Have the task identification of other device broadcasts it is identical as the task identification of the task when, negotiate with the other equipment, determination is held The strategy of the row task.
7. equipment as claimed in claim 6, which is characterized in that the strategy for executing the task includes:
When this equipment has functional attributes corresponding with the task, described appoint, is executed by this equipment or other equipment Business, or the task is executed by this equipment and other equipment collaborations;
When this equipment does not have functional attributes corresponding with the task, the task is executed by other equipment.
8. equipment as claimed in claim 7, which is characterized in that the central control unit is also used to judge whether this equipment has Standby functional attributes corresponding with the task;The main module further includes the first execution unit, for be individually performed task or with Other module cooperatives execute task.
9. equipment as claimed in claim 8, which is characterized in that further include from module;It is described to include the second communication unit from module Member, for broadcasting the functional attributes from module before the central control unit and other equipment are negotiated.
10. equipment as claimed in claim 9, which is characterized in that it is described from module further include the second execution unit, for independent Execution task is performed in unison with task with first execution unit.
CN201711113144.8A 2017-11-13 2017-11-13 Interaction method for Internet of things equipment and Internet of things equipment Active CN109788009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711113144.8A CN109788009B (en) 2017-11-13 2017-11-13 Interaction method for Internet of things equipment and Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711113144.8A CN109788009B (en) 2017-11-13 2017-11-13 Interaction method for Internet of things equipment and Internet of things equipment

Publications (2)

Publication Number Publication Date
CN109788009A true CN109788009A (en) 2019-05-21
CN109788009B CN109788009B (en) 2021-11-26

Family

ID=66484815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711113144.8A Active CN109788009B (en) 2017-11-13 2017-11-13 Interaction method for Internet of things equipment and Internet of things equipment

Country Status (1)

Country Link
CN (1) CN109788009B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1914655A2 (en) * 1996-08-30 2008-04-23 Intertrust Technologies Corp Systems and methods for secure transaction management and electronic rights protection
CN103905894A (en) * 2014-03-06 2014-07-02 北京国电通网络技术有限公司 Intelligent domestic electric appliance control method and system and intelligent set top box
US20150109128A1 (en) * 2012-09-21 2015-04-23 Google Inc. Visitor feedback to visitor interaction with a doorbell at a smart-home
CN105511287A (en) * 2016-01-27 2016-04-20 珠海格力电器股份有限公司 Intelligent household appliance control method, device and system
CN105830503A (en) * 2013-12-20 2016-08-03 三星电子株式会社 Connection method for smart home device and apparatus thereof
CN106601248A (en) * 2017-01-20 2017-04-26 浙江小尤鱼智能技术有限公司 Smart home system based on distributed voice control
CN106970535A (en) * 2017-03-30 2017-07-21 联想(北京)有限公司 A kind of control method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1914655A2 (en) * 1996-08-30 2008-04-23 Intertrust Technologies Corp Systems and methods for secure transaction management and electronic rights protection
US20150109128A1 (en) * 2012-09-21 2015-04-23 Google Inc. Visitor feedback to visitor interaction with a doorbell at a smart-home
CN105830503A (en) * 2013-12-20 2016-08-03 三星电子株式会社 Connection method for smart home device and apparatus thereof
CN103905894A (en) * 2014-03-06 2014-07-02 北京国电通网络技术有限公司 Intelligent domestic electric appliance control method and system and intelligent set top box
CN105511287A (en) * 2016-01-27 2016-04-20 珠海格力电器股份有限公司 Intelligent household appliance control method, device and system
CN106601248A (en) * 2017-01-20 2017-04-26 浙江小尤鱼智能技术有限公司 Smart home system based on distributed voice control
CN106970535A (en) * 2017-03-30 2017-07-21 联想(北京)有限公司 A kind of control method and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MATTEO CABRAS: "A novel Smart Home Energy Management system: Cooperative neighbourhood and adaptive renewable energy usage", 《2015 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC)》 *
汤鹏志: "可证安全的智能家居远程代理控制协议", 《计算机工程与设计》 *

Also Published As

Publication number Publication date
CN109788009B (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN103312715B (en) A kind of home network system architecture of web oriented service
CN103616876B (en) The establishment method of a kind of intelligence household centralized control equipment and intelligence home scene pattern
CN104902424A (en) Control method, device and system for wireless intelligent equipment
EP2912777B1 (en) Multi-instance powerline communication system
CN107079181A (en) Distributed/unstructured service management framework of cooperation for Wireless Display platform
CN105703979A (en) Device linkage method, device for device linkage and network device for device linkage
CN106533860A (en) Intelligent household interaction software bus system and realization method
CN106027357A (en) Internet of things gateway, method for admitting home equipment into Internet of things platform and Internet of things system
CN101820527A (en) Content player and receiving system, content reproducing method and the system and program
CN101102248A (en) Service collaboration method between devices in home network
CN107113892A (en) A kind of method and device of gateway device automatic network-building
CN109002405A (en) A kind of industrial field bus virtualization system, method and apparatus
CN102291259A (en) Low-voltage power line communication network layer management method based on multi-master station mode
CN104935484A (en) Method and apparatus for calling appliance service via gateways
CN105099835A (en) Linkage establishing method and device
CN109788009A (en) Exchange method and internet of things equipment for internet of things equipment
CN110380944A (en) A kind of electronic equipment and its control method
CN104777754A (en) Virtual device establishing method and device
CN109379268B (en) Virtual private network creating method and device and server
CN106851685A (en) A kind of method and system of control mobile terminal bandwidth
Jatzkowski et al. Self-reconfiguration of real-time communication in cyber-physical systems
CN102006266A (en) Method for configuring service quality parameter, remote access server and system
CN100481823C (en) Intermediate unit for home network and device interconnecting-interoperating method
CN107465750A (en) A kind of intelligent home control system and method based on high in the clouds processing
CN109429340A (en) A kind of wireless communications method and device

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
TR01 Transfer of patent right

Effective date of registration: 20211220

Address after: 266101 Haier Road, Laoshan District, Qingdao, Qingdao, Shandong Province, No. 1

Patentee after: QINGDAO HAIER SMART TECHNOLOGY R&D Co.,Ltd.

Patentee after: Haier Zhijia Co., Ltd

Address before: 266101 Haier Road, Laoshan District, Qingdao, Qingdao, Shandong Province, No. 1

Patentee before: QINGDAO HAIER SMART TECHNOLOGY R&D Co.,Ltd.

TR01 Transfer of patent right