CN106647306A - Smart device control method and device - Google Patents
Smart device control method and device Download PDFInfo
- Publication number
- CN106647306A CN106647306A CN201611242259.2A CN201611242259A CN106647306A CN 106647306 A CN106647306 A CN 106647306A CN 201611242259 A CN201611242259 A CN 201611242259A CN 106647306 A CN106647306 A CN 106647306A
- Authority
- CN
- China
- Prior art keywords
- control
- account
- smart machine
- targeted customer
- specified
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention discloses a smart device control method and device, belonging to the smart home technology field. The method comprises: receiving a control instruction sent by a target user account, wherein the control instruction carries device identification of the smart deice to be controlled; based on the device identification, determining whether the target user account has an assigned control authority or not, wherein the assigned control authority is the authority of controlling the smart device to execute the control operation corresponding to the control instruction; and when the target user account has the assigned control authority, forwarding the control instruction to the smart device, wherein the control instruction is configured to control the smart device to execute the control operation corresponding to the control instruction. Therefore, the smart device control method and device restrict the control authority of the target user account for a certain function or a certain operation of the smart device so as to improve the safety of the control operation.
Description
Technical field
It relates to Smart Home technical field, more particularly to a kind of control method and device of smart machine.
Background technology
With the fast development of smart home technology, various smart machines are occurred in that, for example, intelligent closestool, intelligence
Energy lighting apparatus, intelligent humidifier etc..At present, user can control smart machine by the terminal of such as mobile phone or the like,
For example, terminal can send control instruction by server to smart machine, and in the smart machine intelligent chip is commonly configured with,
When the control instruction is received, the corresponding control operation of the control instruction is performed by the intelligent chip.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of control method and device of smart machine.
First aspect, there is provided a kind of control method of smart machine, methods described includes:
The control instruction that targeted customer's account sends is received, setting for smart machine to be controlled is carried in the control instruction
Standby mark;
Based on the device identification, judge whether targeted customer's account has specified control authority, the specified control
Authority processed is the authority that the control smart machine performs the corresponding control operation of the control instruction;
When targeted customer's account has the specified control authority, refer to the smart machine forwarding control
Order, the control instruction is used to control the corresponding control operation of the smart machine execution control instruction.
Alternatively, it is described based on the device identification, judge whether targeted customer's account has specified control authority,
Including:
Based on the device identification and targeted customer's account, from the specified permissions list of storage corresponding control is inquired about
Rights parameters processed, the specified permissions list is used for storage device identification, user account and the corresponding control of the user account
Corresponding relation between rights parameters three;
Based on the control authority parameter for inquiring, judge targeted customer's account whether with specified control power
Limit.
Alternatively, it is described based on the control authority parameter for inquiring, judge whether targeted customer's account has described
Specified control authority, including:
When specified control rights parameters are included in the control authority parameter for inquiring, targeted customer's account tool is determined
There is the specified control authority, the specified control rights parameters are used to indicate the specified control authority.
Alternatively, it is described to receive before the control instruction that targeted customer's account sends, also include:
Priority assignation instruction is received, in the priority assignation instruction targeted customer's account, the smart machine are carried
Device identification and the corresponding control authority parameter of targeted customer's account;
Targeted customer's account, the device identification of the smart machine and the institute carried during the priority assignation is instructed
State the corresponding control authority parameter correspondence of targeted customer's account to store into the specified permissions list.
Alternatively, it is described to forward after the control instruction to the smart machine, also include:
Forwarding success notification message is sent to targeted customer's account, the forwarding success notification message is used to indicate
The control instruction is successfully forwarded to the smart machine.
Second aspect, there is provided a kind of control device of smart machine, described device includes:
First receiver module, for receiving the control instruction of targeted customer's account transmission, carries in the control instruction and treats
The device identification of the smart machine of control;
Judge module, for the device identification received based on first receiver module, judges the targeted customer
Whether account has specified control authority, and the specified control authority performs the control instruction pair for the control smart machine
The authority of the control operation answered;
Forwarding module, for determining that targeted customer's account has the specified control authority when the judge module
When, forward the control instruction, the control instruction to be used to control the smart machine execution control to the smart machine
The corresponding control operation of system instruction.
Alternatively, the judge module includes:
Inquiry submodule, for based on the device identification and targeted customer's account, from the specified authority row of storage
Corresponding control authority parameter is inquired about in table, the specified permissions list is used for storage device identification, user account and the use
Corresponding relation between the corresponding control authority parameter three of family account;
Judging submodule, for based on the control authority parameter for inquiring, judging whether targeted customer's account has
The specified control authority.
Alternatively, the judging submodule is used for:
When specified control rights parameters are included in the control authority parameter for inquiring, targeted customer's account tool is determined
There is the specified control authority, the specified control rights parameters are used to indicate the specified control authority.
Alternatively, described device also includes:
Second receiver module, for receiving priority assignation instruction, in the priority assignation instruction targeted customer is carried
Account, the device identification of the smart machine and the corresponding control authority parameter of targeted customer's account;
Memory module, for the targeted customer's account, the smart machine that carry during the priority assignation is instructed
Device identification corresponding with the corresponding control authority parameter of targeted customer's account store into the specified permissions list.
Alternatively, described device also includes:
Sending module, for sending forwarding success notification message, the forwarding success notification to targeted customer's account
Message is used to indicate successfully to forward the control instruction to the smart machine.
The third aspect, there is provided a kind of control device of smart machine, described device includes:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
The control instruction that targeted customer's account sends is received, setting for smart machine to be controlled is carried in the control instruction
Standby mark;
Based on the device identification, judge whether targeted customer's account has specified control authority, the specified control
Authority processed is the authority that the control smart machine performs the corresponding control operation of the control instruction;
When targeted customer's account has the specified control authority, refer to the smart machine forwarding control
Order, the control instruction is used to control the corresponding control operation of the smart machine execution control instruction.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:When receiving targeted customer's account
During to the control instruction of smart machine, based on the device identification that the control instruction is carried, judge whether targeted customer's account has
Have and control the authority that the smart machine performs the corresponding control operation of the control instruction, only when it is determined that targeted customer's account tool
When having the authority, just the control instruction is transmitted to into the smart machine, thus, setting to the intelligence by limited target user account
Standby certain function or the control authority of certain operation, improve the security of control operation.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement for meeting the disclosure
Example, and be used to explain the principle of the disclosure together with specification.
Figure 1A is a kind of implementation environment schematic diagram according to an exemplary embodiment.
Figure 1B is a kind of flow chart of the control method of the smart machine according to an exemplary embodiment.
Fig. 2 is the flow chart of the control method for implementing a kind of smart machine for exemplifying according to another exemplary.
Fig. 3 A are a kind of block diagrams of the control device of the smart machine according to an exemplary embodiment.
Fig. 3 B are the block diagrams of the control device of another kind of smart machine according to an exemplary embodiment.
Fig. 3 C are the block diagrams of the control device of another kind of smart machine according to an exemplary embodiment.
Fig. 4 is a kind of block diagram of the control device 400 of the smart machine according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Before explanation explained in detail is carried out to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given
Explanation.At present, smart machine can be controlled by the terminal of such as mobile phone or the like, however, the intelligence provided in correlation technique
In the control method of energy equipment, any user can be controlled to the smart machine, cause with security hidden trouble.For
This, the embodiment of the present disclosure provides a kind of control method of smart machine, can improve the security of control operation.
Figure 1A is refer to, the Figure 1A is a kind of implementation environment schematic diagram according to an exemplary embodiment.The enforcement
Mainly include terminal 110, server 120 (or router) and smart machine 130 in environment.The server 120 can pass through
Cable network or wireless network are connected respectively with the terminal 110 and the smart machine 130.
Wherein, the terminal 110 can be used for controlling the smart machine 130, and for example, the terminal 110 can be by the service
Device 120 to the smart machine 130 sends control instruction, to be controlled to the smart machine 120.Wherein, the terminal 110 can be with
For such as mobile phone, panel computer, computer or the like equipment, the embodiment of the present disclosure is not limited this.
Wherein, the server 120 is mainly used in realizing the control method of the smart machine described in Figure 1B and Fig. 2 embodiments,
The server 120 can be for a server, or by the integrated server cluster of multiple servers, the embodiment of the present disclosure
This is not limited.
Wherein, intelligent chip and communication module can be configured with the smart machine 130, or be configured with communication work(
The intelligent chip of energy.Wherein, the smart machine 130 can perform the corresponding control behaviour of various control instructions by the intelligent chip
Make, in addition, the smart machine 130 can pass through to set up connection, for example, the smart machine between the communication module and miscellaneous equipment
130 can pass through to set up connection between the communication module and the server 120.Certainly, carry if the smart machine 130 is configured with
The intelligent chip of communication function, then the smart machine 130 can be by setting up connection between the communication function and miscellaneous equipment.Its
In, the smart machine 130 can be intelligent switch, intelligent closestool, intelligent air condition, Intelligent illumination device, intelligent microwave oven (as schemed
Shown in 1A) etc., the embodiment of the present disclosure is not limited this.
Figure 1B is a kind of flow chart of the control method of the smart machine according to an exemplary embodiment, such as Figure 1B institutes
Show, the control method of the smart machine is used in server, comprises the following steps.
In a step 101, the control instruction that targeted customer's account sends is received, intelligence to be controlled is carried in the control instruction
The device identification of energy equipment.
In a step 102, based on the device identification, judge whether targeted customer's account has specified control authority, should
Specified control authority is to control the authority that the smart machine performs the corresponding control operation of the control instruction.
In step 103, when targeted customer's account has the specified control authority, to the smart machine control is forwarded
System instruction, the control instruction performs the corresponding control operation of the control instruction for controlling the smart machine.
In the disclosed embodiments, when targeted customer's account is received to the control instruction of smart machine, based on the control
The device identification that system instruction is carried, judges whether the smart machine performs the control instruction pair to targeted customer's account with control
The authority of the control operation answered, only when it is determined that targeted customer's account has the authority, is just transmitted to the control instruction
The smart machine, thus, by limited target user account to certain function of the smart machine or the control of certain operation
Authority, improves the security of control operation.
Alternatively, based on the device identification, judge whether targeted customer's account has specified control authority, including:
Based on the device identification and targeted customer's account, from the specified permissions list of storage corresponding control is inquired about
Limit parameter, the specified permissions list is used for the corresponding control authority parameter of storage device identification, user account and the user account
Corresponding relation between three;
Based on the control authority parameter for inquiring, judge whether targeted customer's account has the specified control authority.
Alternatively, based on the control authority parameter for inquiring, judge whether targeted customer's account has the specified control
Authority, including:
When specified control rights parameters are included in the control authority parameter for inquiring, determine that targeted customer's account has
The specified control authority, the specified control rights parameters are used to indicate the specified control authority.
Alternatively, before receiving the control instruction that targeted customer's account sends, also include:
Priority assignation instruction is received, in the priority assignation instruction targeted customer's account, the equipment of the smart machine are carried
Mark and the corresponding control authority parameter of targeted customer's account;
Targeted customer's account, the device identification of the smart machine and the target for carrying in the priority assignation instruction are used
Account corresponding control authority parameter correspondence in family is stored into the specified permissions list.
Alternatively, forward after the control instruction to the smart machine, also include:
Forwarding success notification message is sent to targeted customer's account, the forwarding success notification message is used to indicate to this
Smart machine successfully forwards the control instruction.
Above-mentioned all optional technical schemes, can be according to the alternative embodiment for arbitrarily combining to form the disclosure, disclosure reality
Apply example no longer to repeat this one by one.
Fig. 2 is the flow chart of the control method for implementing a kind of smart machine for exemplifying according to another exemplary, such as Fig. 2 institutes
Show, the control method of the smart machine is used in server, and the control method of the smart machine is comprised the following steps:
In step 201, the control instruction that targeted customer's account sends is received, intelligence to be controlled is carried in the control instruction
The device identification of energy equipment.
Wherein, the device identification can be used for one smart machine of unique mark.
As it was noted above, the control instruction can be sent by terminal, further, the control instruction can be by the terminal
Send to the server after the first transmission instruction is received.Wherein, the first transmission instruction can be triggered by user, the user
Can be triggered by assigned operation, the assigned operation can for clicking operation, slide etc., the embodiment of the present disclosure to this not
Limit.
For example, in a kind of possible implementation, smart machine control application, Yong Huke can be installed in the terminal
To be logged on in the smart machine control application by targeted customer's account.The smart machine control application can show intelligence
List of devices, the smart machine list is used to store the device identification of various smart machines.User can according to the actual requirements from
The smart machine for wanting to control is selected in the smart machine list, after terminal detects user selects certain smart machine, is shown
Multiple function control options of the selected smart machine, each the function control option in the plurality of function control option with
Every kind of function of the smart machine is corresponded.User can click on according to the function of actually wanting to control smart machine execution
Arbitrary function control option sends instruction to trigger above-mentioned first.The terminal is received after the first transmission instruction, to the service
Device sends the control instruction.
For another example, if the smart machine list that the control application of above-mentioned smart machine shows includes intelligent switch, intelligent closestool
And intelligent microwave oven, and user wants to be controlled intelligent switch therein, then can select from the smart machine list
The intelligent switch, wherein, the intelligent switch may have open function, closing function and state read functions.Afterwards, terminal shows
Show multiple function control options of intelligent switch, the plurality of function choosing-item includes opening option, the off option and status poll choosing
.If user wants to open the intelligent switch by terminal, then can click on the unlatching option to trigger above-mentioned first
Send instruction.Correspondingly, after terminal receives the first transmission instruction, to server the control instruction is sent.For example, the control
Instruction can be { " params ":["on"],"id":1,"method":" set_power " }, wherein, " params ":["on"]
Represent that current control instruction is indicated for opening the intelligent switch, " method ":" set_power " represents the control instruction
It is for intelligent switch, " id ":1 device identification that can be used to indicate that the intelligent switch.
Certainly, it should be noted that above-mentioned is only to control application and by the intelligence to be provided with smart machine in terminal
Equipment is illustrated as a example by controlling application to control the smart machine, in another embodiment, can also pass through other sides
Controlling the smart machine, the embodiment of the present disclosure is not limited this formula.
In step 202., based on the device identification, judge whether targeted customer's account has specified control authority, should
Specified control authority is to control the authority that the smart machine performs the corresponding control operation of the control instruction.
In the disclosed embodiments, for the security of control operation, server is receiving the transmission of targeted customer's account
Control instruction after, immediately the control instruction will not be transmitted to into the smart machine, but school is carried out to targeted customer's account
Test, that is, judge whether targeted customer's account has the power that the smart machine performs the corresponding control operation of the control instruction that controls
Limit.
In the disclosed embodiments, can be had with the smart machine in advance in the server by specified user
Function or the operation being able to carry out arrange the control authority of different user account for granularity.Wherein, the specified user can be
The owner of the smart machine.
For example, for intelligent switch, intelligent switch generally has open function, closing function, state read functions
Deng, can be granularity according to the function of the intelligent switch for different user account, it is each user account distributes different controls
Authority processed.For example, for user account A and user account B, the control authority that can distribute to user account A is:Can open
The intelligent switch is opened, the intelligent switch can be closed again, and the state of the intelligent switch can also be read, and distribute to user's account
The control authority of number B can be:It is merely able to open the intelligent switch.
Thus, server can be according to the prior different user account for arranging to the smart machine difference in functionality or operation
Control authority, based on the device identification carried in control instruction, judge that whether targeted customer's account has and control the intelligence
Equipment performs the authority of the corresponding control operation of the control instruction.
Wherein, based on the device identification, judge targeted customer's account whether have specified control authority can include as
Under (1)-(2) realize process:
(1) based on the device identification and targeted customer's account, from the specified permissions list of storage corresponding control is inquired about
Rights parameters processed, the specified permissions list is used for storage device identification, user account and the corresponding control authority of the user account
Corresponding relation between parameter three.
Device identification, user account and the user account corresponding control authority parameter can be set in advance in the server
Corresponding relation between three, and store into specified permissions list.In addition, the server can be with device identification and user's account
Number as index, thus, server i.e. can be based on control instruction in carry device identification and targeted customer's account, from storage
The specified permissions list in inquire about corresponding control authority parameter.For example, the specified permissions list can be as shown in table 1:
Table 1
For example, if the device identification of the smart machine is EP1, targeted customer's account is UE1, then based on the device identification
EP1 and targeted customer's account UE1, can inquire corresponding control authority parameter including " on " from the specified permissions list,
" off " and " read ".
Table 1 is only to schematically illustrate a kind of specified permissions list, and in actual applications, the specified permissions list may be used also
To exist in other forms, the embodiment of the present disclosure is not limited this.
(2) based on the control authority parameter for inquiring, judge whether targeted customer's account has the specified control authority.
Further, when specified control rights parameters are included in the control authority parameter for inquiring, determine that the target is used
Family account has the specified control authority, and the specified control rights parameters are used to indicate the specified control authority.
Based on the device identification and targeted customer's account, from the specified permissions list of storage corresponding control is inquired about
Limit parameter potentially includes one, it is also possible to including multiple, and whether server can be inquired about from the control authority parameter for inquiring
Include the specified control rights parameters for indicating the specified control authority.If included in the control authority parameter for inquiring
There are the specified control rights parameters, then can determine that targeted customer's account has the specified control authority, whereas if inquiry
To control authority parameter in not comprising there is the specified control rights parameters, then can determine that targeted customer's account does not have should
Specified control authority.
For example, if corresponding control authority parameter is inquired about from the specified permissions list of storage including " on ", " off " and
" read ", and the specified control rights parameters for indicating the specified control authority are " on ", then can determine the targeted customer
Account has the specified control authority.
Further, as it was noted above, before the control instruction that targeted customer account sends is received, can be by specified use
Family in the server can the function having with the smart machine in advance or the operation that is able to carry out as granularity, difference is set
The control authority of user account, it implements process includes:Priority assignation instruction is received, carrying in the priority assignation instruction should
Targeted customer's account, the device identification of the smart machine and the corresponding control authority parameter of targeted customer's account, by the authority
Targeted customer's account, the device identification of the smart machine and the corresponding control of targeted customer's account carried in instruction is set
Rights parameters correspondence is stored into the specified permissions list.
Wherein, the priority assignation instruction can be sent from terminal to the server, and further, the terminal can received
When sending instruction to second, the priority assignation instruction is sent to the server, wherein, the second transmission instruction can be by specified use
Family is triggered, and the specified user can be triggered by above-mentioned assigned operation.
For example, the specified user can be logged on in smart machine control application by specifying user account, and the intelligence sets
Standby control application provides smart machine list, and the smart machine list is used to store the device identification of various smart machines.In addition,
Smart machine control application can also be provided with multiple priority assignation options, each priority assignation option and each smart machine
Correspond.User can according to the actual requirements click on the corresponding priority assignation option of above-mentioned smart machine and arrange interface to trigger
Show instruction, when the smart machine control application receives the setting showing interface to be instructed, show permission configuration interface, such as
This, the specified user, for different user account, can arrange each user account to the intelligence in the permission configuration interface
The control authority of each function of equipment.
Further, multiple control authority parameters and the mesh of the smart machine can be provided with the permission configuration interface
Mark user account, the specified user can be according to the actual requirements targeted customer's account addition control authority parameter.In addition,
It is also provided with confirming setting options in the permission configuration interface, the specified user is targeted customer's account addition control authority ginseng
After number, the confirmation setting options can be clicked on to trigger the second transmission instruction.
Terminal is received after the second transmission instruction, and to the server sending permission instruction is arranged, priority assignation instruction
Middle carrying targeted customer's account, the device identification of the smart machine and the corresponding control authority parameter of targeted customer's account.
For example, if the smart machine is intelligent switch, targeted customer's account is UE1, and the device identification of the intelligent switch is EP1, is
The control authority parameter that targeted customer's account is arranged includes " on ", " off " and " read ", wherein, " read " is right for indicating
The intelligent switch has the authority that state reads.Then the server is corresponding by UE1, the EP1 and " on ", " off " and " read "
Store into above-mentioned specified permissions list, its existence form may refer to above-mentioned table 1.
The server is received after the priority assignation instruction, the targeted customer's account that will be carried in the priority assignation instruction
Number, the device identification of the smart machine is corresponding with the corresponding control authority parameter of targeted customer's account stores to the specified authority
In list.
The embodiment of the present disclosure is only to include carrying out illustrating as a example by " on ", " off " and " read " by the control authority parameter
Bright, during actually realizing, the control authority parameter is also possible that other parameters, for example, it is also possible to include " none ",
" write " etc., wherein, " none " is used to represent that lack of competence is read out or writes to the smart machine that " write " to be used for table
Show that there is the control authority for reading or writing to the smart machine.
During actually realizing, the data type of above-mentioned various parameters can be configured, for example, can will be above-mentioned
The data type of various parameters is set to enumeration type (enum), and the embodiment of the present disclosure is not limited this.
In addition, also, it should be noted that above-mentioned specified user trigger this second send instruction realize that process is only example
Property, in another embodiment, it is also possible to realize process by other to trigger the second transmission instruction, the embodiment of the present disclosure pair
This is not limited.
In step 203, when targeted customer's account has the specified control authority, to the smart machine control is forwarded
System instruction, the control instruction performs the corresponding control operation of the control instruction for controlling the smart machine.
When targeted customer's account has the specified control authority, illustrate that targeted customer's account can control the intelligence
Equipment performs the corresponding control operation of the control instruction, therefore, the control instruction is transmitted to the smart machine by server.It is such as front
Literary described, smart machine is configured with intelligent chip, and the smart machine is received after the control instruction, and being performed by the intelligent chip should
The corresponding control operation of control instruction.
For example, as a example by described herein above, if the smart machine is intelligent switch, the control instruction is used to indicate that inquiry should
The current state of intelligent switch, then when targeted customer's account has the specified control authority, the control instruction is transmitted to
The intelligent switch.Correspondingly, after the intelligent switch receives the control instruction of server forwarding, by the intelligence that itself is configured
Chip reads current state, and the state for reading is passed through into the server feedback to the terminal.
In a kind of possible implementation, the intelligent switch can feed back current shape by the form of reporting message
State, for example, the reporting message can be { " method ":"prop.power","id":1,"params":[" on "] }, wherein,
By " " params ":[" on "] " understands that the current state of the intelligent switch is opening.
Explanation is needed exist for, in actual application, in order to improve the intuitive of display, the terminal is received
After stating reporting message, the reporting message can be analyzed, and it is corresponding to directly display current state according to analysis result
Text prompt message, for example, the terminal can directly display the text prompt message of such as " opening " etc.
So far, the control method of the smart machine of embodiment of the present disclosure offer is provided.In addition, in practical application scene
In, seeing whether successfully the control instruction to be transmitted to into smart machine for the ease of user, the embodiment of the present disclosure is also provided
Following steps 204 implementations.
In step 204, forwarding success notification message is sent to targeted customer's account, the forwarding success notification message is used
The control instruction is successfully forwarded in instruction to the smart machine.
That is to say, see whether successfully the control instruction to be transmitted to into the smart machine for the ease of user, work as clothes
Business device determines that targeted customer's account has specified control authority and successfully the control instruction is transmitted to after the smart machine, can
To send forwarding success notification message to targeted customer's account, for example, the forwarding success notification message includes " OK " parameter.
Correspondingly, terminal receives the forwarding success notification message by targeted customer's account, in a kind of possible realization
In mode, terminal can show the forwarding success notification message by the control application of above-mentioned smart machine, so so that Yong Huke
Successfully forwarded the control instruction to the smart machine to know.
Certainly, during actually realizing, if the server determine that targeted customer's account does not have the specified control power
In limited time, it is also possible to send retransmission failure notification message to targeted customer's account, the retransmission failure notification message is used to indicate not
Successfully the control instruction can be transmitted to into the smart machine.This manner it is also possible to so that user understands in time server to the control
The disposition of instruction.
In the disclosed embodiments, when targeted customer's account is received to the control instruction of smart machine, based on the control
The device identification that system instruction is carried, judges whether the smart machine performs the control instruction pair to targeted customer's account with control
The authority of the control operation answered, only when it is determined that targeted customer's account has the authority, is just transmitted to the control instruction
The smart machine, thus, by limited target user account to certain function of the smart machine or the control of certain operation
Authority, improves the security of control operation.
Fig. 3 A are a kind of block diagrams of the control device of the smart machine according to an exemplary embodiment.Reference picture 3A,
The device includes the first receiver module 310, judge module 320 and forwarding module 330.
First receiver module 310, for receiving the control instruction of targeted customer's account transmission, carries in the control instruction and treats
The device identification of the smart machine of control;
Judge module 320, for the device identification received based on first receiver module 310, judges the targeted customer
Whether account has specified control authority, and the specified control authority performs the corresponding control of the control instruction to control the smart machine
The authority of system operation;
Forwarding module 330, for determining that targeted customer's account has the specified control authority when the judge module 320
When, the control instruction is forwarded to the smart machine, the control instruction performs control instruction correspondence for controlling the smart machine
Control operation.
Alternatively, the judge module 320 includes:
Inquiry submodule, for based on the device identification and targeted customer's account, from the specified permissions list of storage
Corresponding control authority parameter is inquired about, the specified permissions list is used for storage device identification, user account and the user account pair
Corresponding relation between the control authority parameter three for answering;
Judging submodule, is somebody's turn to do for based on the control authority parameter for inquiring, judging whether targeted customer's account has
Specified control authority.
Alternatively, the judging submodule is used for:
When specified control rights parameters are included in the control authority parameter for inquiring, determine that targeted customer's account has
The specified control authority, the specified control rights parameters are used to indicate the specified control authority.
Alternatively, Fig. 3 B are refer to, the device also includes:
Second receiver module 340, for receiving priority assignation instruction, in the priority assignation instruction targeted customer's account is carried
Number, the device identification of the smart machine and the corresponding control authority parameter of targeted customer's account;
Memory module 350, for targeted customer's account for carrying in priority assignation instruction, the smart machine to be set
Standby mark is corresponding with the corresponding control authority parameter of targeted customer's account to be stored into the specified permissions list.
Alternatively, Fig. 3 C are refer to, the device also includes:
Sending module 360, for sending forwarding success notification message to targeted customer's account, the forwarding success notification disappears
Cease for indicating successfully to forward the control instruction to the smart machine.
In the disclosed embodiments, when targeted customer's account is received to the control instruction of smart machine, based on the control
The device identification that system instruction is carried, judges whether the smart machine performs the control instruction pair to targeted customer's account with control
The authority of the control operation answered, only when it is determined that targeted customer's account has the authority, is just transmitted to the control instruction
The smart machine, thus, by limited target user account to certain function of the smart machine or the control of certain operation
Authority, improves the security of control operation.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the control device 400 of the smart machine according to an exemplary embodiment.For example, fill
Put 400 and may be provided in a server.With reference to Fig. 4, device 400 includes process assembly 422, and it further includes one or many
Individual processor, and the memory resource by representated by memory 432, can be by the finger of the execution of process assembly 422 for storage
Order, such as application program.In memory 432 store application program can include it is one or more each correspond to
The module of one group of instruction.Additionally, process assembly 422 is configured to execute instruction, to perform described in above-mentioned Figure 1B or Fig. 2 embodiments
Smart machine control method.
Device 400 can also include that a power supply module 426 is configured to the power supply of performs device 400, and one has
Line or radio network interface 450 are configured to for device 400 to be connected to network, and input and output (I/O) interface 458.Dress
Putting 400 can operate based on the operating system for being stored in memory 432, such as Windows ServerTM, Mac OS XTM,
UnixTM,LinuxTM, FreeBSDTMOr it is similar.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and
And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.
Claims (11)
1. a kind of control method of smart machine, it is characterised in that methods described includes:
The control instruction that targeted customer's account sends is received, the equipment mark of smart machine to be controlled is carried in the control instruction
Know;
Based on the device identification, judge whether targeted customer's account has specified control authority, the specified control power
It is limited to control the authority that the smart machine performs the corresponding control operation of the control instruction;
When targeted customer's account has the specified control authority, the control instruction is forwarded to the smart machine,
The control instruction is used to control the corresponding control operation of the smart machine execution control instruction.
2. the method for claim 1, it is characterised in that described based on the device identification, judges the targeted customer
Whether account has specified control authority, including:
Based on the device identification and targeted customer's account, from the specified permissions list of storage corresponding control is inquired about
Limit parameter, the specified permissions list is used for storage device identification, user account and the corresponding control authority of the user account
Corresponding relation between parameter three;
Based on the control authority parameter for inquiring, judge whether targeted customer's account has the specified control authority.
3. method as claimed in claim 2, it is characterised in that described based on the control authority parameter for inquiring, judges described
Whether targeted customer's account has the specified control authority, including:
When specified control rights parameters are included in the control authority parameter for inquiring, determine that targeted customer's account has institute
Specified control authority is stated, the specified control rights parameters are used to indicate the specified control authority.
4. method as claimed in claim 2 or claim 3, it is characterised in that the control instruction that the reception targeted customer account sends
Before, also include:
Receive priority assignation instruction, targeted customer's account, the smart machine are carried in priority assignation instruction and is set
Standby mark and the corresponding control authority parameter of targeted customer's account;
Targeted customer's account, the device identification of the smart machine and the mesh carried during the priority assignation is instructed
The corresponding control authority parameter correspondence of mark user account is stored into the specified permissions list.
5. the method for claim 1, it is characterised in that it is described to the smart machine forward the control instruction it
Afterwards, also include:
Forwarding success notification message is sent to targeted customer's account, the forwarding success notification message is used to indicate to institute
State smart machine and successfully forward the control instruction.
6. a kind of control device of smart machine, it is characterised in that described device includes:
First receiver module, for receiving the control instruction of targeted customer's account transmission, carries to be controlled in the control instruction
Smart machine device identification;
Judge module, for the device identification received based on first receiver module, judges targeted customer's account
Whether there is specified control authority, it is corresponding that the specified control authority performs the control instruction for the control smart machine
The authority of control operation;
Forwarding module, for when the judge module determines that targeted customer's account has the specified control authority, to
The smart machine forwards the control instruction, the control instruction to be used to control the smart machine execution control instruction
Corresponding control operation.
7. device as claimed in claim 6, it is characterised in that the judge module includes:
Inquiry submodule, for based on the device identification and targeted customer's account, from the specified permissions list of storage
Corresponding control authority parameter is inquired about, the specified permissions list is used for storage device identification, user account and user's account
Corresponding relation between number corresponding control authority parameter three;
Judging submodule, for based on the control authority parameter for inquiring, judging it is described whether targeted customer's account has
Specified control authority.
8. device as claimed in claim 7, it is characterised in that the judging submodule is used for:
When specified control rights parameters are included in the control authority parameter for inquiring, determine that targeted customer's account has institute
Specified control authority is stated, the specified control rights parameters are used to indicate the specified control authority.
9. device as claimed in claim 7 or 8, it is characterised in that described device also includes:
Second receiver module, for receiving priority assignation instruction, carry in the priority assignation instruction targeted customer's account,
The device identification of the smart machine and the corresponding control authority parameter of targeted customer's account;
Memory module, sets for targeted customer's account for carrying during the priority assignation is instructed, the smart machine
Standby mark is corresponding with the corresponding control authority parameter of targeted customer's account to be stored into the specified permissions list.
10. device as claimed in claim 6, it is characterised in that described device also includes:
Sending module, for sending forwarding success notification message, the forwarding success notification message to targeted customer's account
For indicating successfully to forward the control instruction to the smart machine.
11. a kind of control devices of smart machine, it is characterised in that described device includes:
Processor;
For storing the memory of processor executable;
Wherein, the processor is configured to:
The control instruction that targeted customer's account sends is received, the equipment mark of smart machine to be controlled is carried in the control instruction
Know;
Based on the device identification, judge whether targeted customer's account has specified control authority, the specified control power
It is limited to control the authority that the smart machine performs the corresponding control operation of the control instruction;
When targeted customer's account has the specified control authority, the control instruction is forwarded to the smart machine,
The control instruction is used to control the corresponding control operation of the smart machine execution control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611242259.2A CN106647306A (en) | 2016-12-29 | 2016-12-29 | Smart device control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611242259.2A CN106647306A (en) | 2016-12-29 | 2016-12-29 | Smart device control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106647306A true CN106647306A (en) | 2017-05-10 |
Family
ID=58836323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611242259.2A Pending CN106647306A (en) | 2016-12-29 | 2016-12-29 | Smart device control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106647306A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107612941A (en) * | 2017-10-31 | 2018-01-19 | 广东小天才科技有限公司 | A kind of method, apparatus of rights management, equipment and storage medium |
CN107965024A (en) * | 2017-11-24 | 2018-04-27 | 厦门优胜卫厨科技有限公司 | Server communications method and intellectual water closet control method and device |
CN108491174A (en) * | 2018-02-01 | 2018-09-04 | 西安万像电子科技有限公司 | Picture transmission method, apparatus and system |
CN109101797A (en) * | 2018-08-20 | 2018-12-28 | 珠海格力电器股份有限公司 | Smart machine control method, smart machine and server |
CN109445291A (en) * | 2018-10-19 | 2019-03-08 | 珠海格力电器股份有限公司 | A kind of method, apparatus remotely controlled, intelligent closestool and storage medium |
CN109525537A (en) * | 2017-09-19 | 2019-03-26 | 中兴通讯股份有限公司 | A kind of control method and device accessing smart home system |
WO2019101129A1 (en) * | 2017-11-24 | 2019-05-31 | 厦门优胜卫厨科技有限公司 | Control method and device for smart seated toilet |
CN109871677A (en) * | 2019-03-19 | 2019-06-11 | 苏州迈荣祥信息科技有限公司 | Intelligent switch control system and method |
CN110333663A (en) * | 2019-07-02 | 2019-10-15 | 珠海格力电器股份有限公司 | The method, system and computer storage media of smart home administration authority are set |
WO2021207942A1 (en) * | 2020-04-14 | 2021-10-21 | Oppo广东移动通信有限公司 | Method and apparatus for controlling device in internet of things, and gateway device and storage medium |
CN114244591A (en) * | 2021-12-07 | 2022-03-25 | 大连九锁网络有限公司 | Method and system for shutting down operating system with intelligent terminal safety protection |
CN115242425A (en) * | 2022-05-31 | 2022-10-25 | 北京北信源软件股份有限公司 | Household equipment control method and device, computer equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104283745A (en) * | 2014-09-12 | 2015-01-14 | 小米科技有限责任公司 | Method, device and system for controlling intelligent household equipment |
CN104615004A (en) * | 2014-12-31 | 2015-05-13 | 北京海尔广科数字技术有限公司 | Intelligent household electrical appliance operating authorization control method and device |
CN104808501A (en) * | 2015-03-31 | 2015-07-29 | 小米科技有限责任公司 | Intelligent scene deleting method and device |
CN105353629A (en) * | 2015-11-16 | 2016-02-24 | 西宁家家慧电子科技有限公司 | Smart household controller |
CN105629744A (en) * | 2015-04-30 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Control method of smart home, control system, terminal and smart home system |
CN106161385A (en) * | 2015-04-15 | 2016-11-23 | 腾讯科技(上海)有限公司 | The long-range control method of a kind of equipment and device |
CN106209800A (en) * | 2016-06-30 | 2016-12-07 | 北京小米移动软件有限公司 | Equipment Authority sharing method and apparatus |
-
2016
- 2016-12-29 CN CN201611242259.2A patent/CN106647306A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104283745A (en) * | 2014-09-12 | 2015-01-14 | 小米科技有限责任公司 | Method, device and system for controlling intelligent household equipment |
CN104615004A (en) * | 2014-12-31 | 2015-05-13 | 北京海尔广科数字技术有限公司 | Intelligent household electrical appliance operating authorization control method and device |
CN104808501A (en) * | 2015-03-31 | 2015-07-29 | 小米科技有限责任公司 | Intelligent scene deleting method and device |
CN106161385A (en) * | 2015-04-15 | 2016-11-23 | 腾讯科技(上海)有限公司 | The long-range control method of a kind of equipment and device |
CN105629744A (en) * | 2015-04-30 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Control method of smart home, control system, terminal and smart home system |
CN105353629A (en) * | 2015-11-16 | 2016-02-24 | 西宁家家慧电子科技有限公司 | Smart household controller |
CN106209800A (en) * | 2016-06-30 | 2016-12-07 | 北京小米移动软件有限公司 | Equipment Authority sharing method and apparatus |
Non-Patent Citations (2)
Title |
---|
王志良编著: "《物联网控制基础》", 31 March 2014, 西安电子科技大学出版社 * |
黄瑞编著: "《电工电子实用技能训练教程》", 31 January 2012, 同济大学出版社 * |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525537A (en) * | 2017-09-19 | 2019-03-26 | 中兴通讯股份有限公司 | A kind of control method and device accessing smart home system |
CN107612941A (en) * | 2017-10-31 | 2018-01-19 | 广东小天才科技有限公司 | A kind of method, apparatus of rights management, equipment and storage medium |
CN107612941B (en) * | 2017-10-31 | 2021-01-29 | 广东小天才科技有限公司 | Authority management method, device, equipment and storage medium |
CN107965024A (en) * | 2017-11-24 | 2018-04-27 | 厦门优胜卫厨科技有限公司 | Server communications method and intellectual water closet control method and device |
US11587431B2 (en) | 2017-11-24 | 2023-02-21 | Xiamen Axent Corporation Limited | Control method and device for smart seated toilet |
WO2019101130A1 (en) * | 2017-11-24 | 2019-05-31 | 厦门优胜卫厨科技有限公司 | Server communication method, intelligent toilet control method, and apparatuses |
WO2019101129A1 (en) * | 2017-11-24 | 2019-05-31 | 厦门优胜卫厨科技有限公司 | Control method and device for smart seated toilet |
CN108491174A (en) * | 2018-02-01 | 2018-09-04 | 西安万像电子科技有限公司 | Picture transmission method, apparatus and system |
CN109101797A (en) * | 2018-08-20 | 2018-12-28 | 珠海格力电器股份有限公司 | Smart machine control method, smart machine and server |
CN109445291B (en) * | 2018-10-19 | 2020-11-24 | 珠海格力电器股份有限公司 | Remote control method and device, intelligent closestool and storage medium |
CN109445291A (en) * | 2018-10-19 | 2019-03-08 | 珠海格力电器股份有限公司 | A kind of method, apparatus remotely controlled, intelligent closestool and storage medium |
CN109871677A (en) * | 2019-03-19 | 2019-06-11 | 苏州迈荣祥信息科技有限公司 | Intelligent switch control system and method |
CN109871677B (en) * | 2019-03-19 | 2022-10-25 | 珠海微褀科技有限公司 | Intelligent switch control system and method |
CN110333663A (en) * | 2019-07-02 | 2019-10-15 | 珠海格力电器股份有限公司 | The method, system and computer storage media of smart home administration authority are set |
CN110333663B (en) * | 2019-07-02 | 2021-04-23 | 珠海格力电器股份有限公司 | Method and system for setting intelligent household management authority and computer storage medium |
WO2021207942A1 (en) * | 2020-04-14 | 2021-10-21 | Oppo广东移动通信有限公司 | Method and apparatus for controlling device in internet of things, and gateway device and storage medium |
CN114244591A (en) * | 2021-12-07 | 2022-03-25 | 大连九锁网络有限公司 | Method and system for shutting down operating system with intelligent terminal safety protection |
CN114244591B (en) * | 2021-12-07 | 2024-03-26 | 大连九锁网络有限公司 | Method and system for shutting down operation system with intelligent terminal safety protection function |
CN115242425A (en) * | 2022-05-31 | 2022-10-25 | 北京北信源软件股份有限公司 | Household equipment control method and device, computer equipment and storage medium |
CN115242425B (en) * | 2022-05-31 | 2024-03-26 | 北京北信源软件股份有限公司 | Household equipment control method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106647306A (en) | Smart device control method and device | |
CN112073471B (en) | Control method and device of equipment, storage medium and electronic device | |
US5513324A (en) | Method and apparatus using network variables in a multi-node network | |
EP1607922A1 (en) | Home security system | |
CN108702389A (en) | For being remotely controlled IOT(Internet of Things)The framework of equipment | |
CN106302042A (en) | The control method of smart machine, device and server | |
CN107566229A (en) | The packet control process of intelligent domestic system | |
CN105721175A (en) | Group processing method, group file processing method, and group file processing device | |
CN104346198B (en) | Information processing unit, server unit, information processing method and storage equipment | |
CN105577495A (en) | Control method and device of smart home devices | |
CN106411517A (en) | Password resetting method and device | |
CN105629908A (en) | Internet of things equipment control method and device | |
JP2002290606A (en) | Radio communication terminal and selection method of connection device in radio network system | |
CN101465839A (en) | Transmission control method and apparatus for serial data | |
CN105812413A (en) | Communication method and device | |
CN102868766B (en) | A kind of mthods, systems and devices for realizing remote control | |
CN103209082A (en) | Method, device and system for gateway device diagnosis | |
CN112311633B (en) | Distribution network control method, distribution network control device, household appliance and storage medium | |
TR201816238T4 (en) | Control management of electrical equipment that can be controlled by infrared control signals. | |
CN105068430B (en) | Household appliance set operation method and device | |
CN105207866A (en) | Communication method of control terminal based on air conditioning control network and air conditioning control network | |
CN114615307B (en) | Equipment control method, control terminal and server equipment | |
CN102025576A (en) | Home automation system and control method thereof | |
CN108419111A (en) | A kind of apparatus control method, remote control equipment, mobile terminal and control system | |
CN104462002A (en) | Information processing method 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |
|
RJ01 | Rejection of invention patent application after publication |