Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
The concept explained or limited in the present embodiment is suitable for following all embodiments.
Smart machine mentioned in the application, Internet of Things can be accessed by referring to, and contactless information can be used and pass
Defeated mode receives to control the equipment to execute corresponding function, such as:All kinds of household appliances, wireless gate lock in smart home system,
Computer, smart phone, tablet computer, all kinds of intelligent wearable devices and all kinds of electronic therapeutic instruments are (such as:Pacemaker)
Deng.
For above-mentioned smart machine, corresponding wireless signal can receive (such as:Control signal) it executes accordingly
Operation, under different scenes, these operations have different security levels, such as:In smart home system, air-conditioning according to
The operation that signal carries out " starting/stopping " being controlled, the security level of the operation is rudimentary;Pacemaker according to control signal into
The operation of row " starting/stopping ", it is likely that constitute a threat to the personal safety of user, then the security level of the operation is height
Grade.When the higher operation of smart machine execution security level, then may constitute a threat to the safety of user, especially intelligence is set
The standby received control signal of institute is wireless signal, and wireless signal is easy in long-range interception and to be replicated by back street operators, this
Sample one, back street operators can remotely control smart machine.
Therefore, in the embodiment of the present application, safety switch can be set for smart machine, and the safety switch is for controlling the intelligence
The state switching of energy equipment.Wherein, safety switch described in the embodiment of the present application refers to physical switch, rather than software switch.It needs
It it is noted that the safety switch can be triggered electrically, can also be triggered, not made herein specific by the actuation of keys of user
It limits.
The switch state of the safety switch includes at least first state and the second state, specifically, when the safety open
When closing in first state, the smart machine executes corresponding operating according to the control signal received, and works as the safety open
When closing in the second state, the smart machine refusal executes corresponding operating according to the control signal received.That is, institute
State the first state of safety switch, it is believed that it is the open state for allowing to execute operation, and the second shape of the safety switch
State, it is believed that be the state that refusal executes operation.In view of the various physical switch in practical application usually have disconnected open and close
Two states are closed, then, as one of the embodiment of the present application mode, the first state of the safety switch can be closure
Second state of state, the safety switch can be off-state, under another way, the first state of the safety switch
It can be off-state, and the second state of the safety switch is closed state.Herein and it is not especially limited.
Certainly, in practical applications, it can set more for the switch state of safety switch according to the needs of practical application
Kind state, different switch states can execute the operation of different security levels, not constitute the restriction to the application here.
When smart machine is in first state, which can receive the higher control signal of security level, and root
The higher operation of security level is executed according to the control signal, in this case, if the safety switch on the smart machine
Switch motion does not occur, then, which will persistently keep the first state, that is to say, that any operation person is (especially
Back street operators) the higher control signal of security level can be issued to the smart machine, it controls the smart machine and executes peace
The congruent higher operation of grade is also possible to cause security threat to the user of the normal use smart machine.
Therefore, in the embodiment of the present application, it is additionally provided with timer in the smart machine, specifically, which uses
In starting timing when the smart machine switches to first state from the second state, and after timing to preset duration, issue
State switching signal makes the smart machine switch to the second state.That is, the safety switch is switching to the first shape
After state, the first state can be maintained at for a period of time, user can send safety etc. to smart machine in the period
The higher control signal of grade, after a period of time, which will automatically switch to the second state, and smart machine cannot also connect
Receive the higher control signal of security level.The duration of safety switch in the first state is longer, receives illegal operation
A possibility that control signal of person, is higher, therefore in practical applications, preset timing section can be in the timer
The durations such as 5s, 10s shorter period.
On the basis of the above-mentioned smart machine for being provided with safety switch and timer, one kind is provided in the embodiment of the present application
The control method of smart machine, to promote safety when operating to smart machine, as shown in Figure 1.
Fig. 1 is the control process of smart machine provided by the embodiments of the present application, and specific step is as follows:
S101, smart machine receive control signal.
In above-mentioned steps S101, the control signal can be issued by control equipment corresponding with the smart machine,
In, the control equipment include but is not limited to remote controler, each Terminal Type with distant control function (such as:Smart phone, tablet computer
Equal intelligent mobile terminals).The control signal is specifically as follows all kinds of wireless control for meeting information transmission mode in Internet of Things
Signal.
S102, judges whether the safety switch is in first state, if so, thening follow the steps S103, otherwise, then executes
Step S104.
Receive it is described control signal when, the smart machine will judge the state of the safety switch immediately.By
It is physical switch in the safety switch, therefore judges whether the safety switch is in first state, that is, judge the safety
Whether switch disconnects (or closure).
S103, the smart machine execute corresponding operating according to the control signal.
When the safety switch is in first state, indicate that the smart machine can permit the control signal into
The higher control operation of row security level,
S104, the smart machine refusal execute corresponding operating according to the control signal.
When the safety switch is not in first state, pacified then smart machine just will not allow to control signal
The complete higher control operation of rank.
Through the above steps, after smart machine receives control signal, it will judge the peace being arranged on the smart machine
When the state of full switch, only safety switch are in the state for allowing to execute the higher operation of security level, smart machine just meeting
Corresponding operation is executed according to the control signal received, otherwise, smart machine refusal executes operation, thus, so that intelligence is set
Probability by the control to back street operators substantially reduces, and effectively improves smart machine according to control signal and executes operation
Safety.
Certainly, for smart machine, and not all control signal requires under the open state of safety switch
It can just be controlled, such as:In smart home system, the control signal of air-conditioning " unlatching/closing " is controlled, the peace of signal is controlled
Full rank is rudimentary.This kind control signal can't usually threaten to the safety of user, that is to say, that for safety level
Not lower control signal, smart machine is after receiving this kind of control signals, it may not be necessary to judge safety switch
State, and directly corresponding operating can be executed according to the control signal.
It therefore in the embodiment of the present application, further include the safety of the determining control signal before above-mentioned steps S102
Rank is greater than default secure threshold.Wherein, it to the division of the security level of the control signal, can preset.
Such as:For the intelligent water heater in smart home system, presets and control its leaving water temperature 20 DEG C~37
DEG C control signal security level be 1, control leaving water temperature 38 DEG C~50 DEG C control signal security level be 2, control
The security level that coolant-temperature gage is produced in 51 DEG C~59 DEG C of control signal is 3, and control leaving water temperature is believed in 60 DEG C or more of control
Number security level be 4.Assuming that intelligent water heater receives the control signal that certain controls leaving water temperature, (the control signal is corresponding
Leaving water temperature is 52 DEG C), then, intelligent water heater can determine the safety level of the control signal, that is, the control signal
Security level is 3.
It can be seen from the above example that, smart machine can according to the control signal received, according to the security level divided in advance,
It is assured that out the corresponding security level of control signal, can be compared later with default secure threshold, determine the control
Whether the security level of signal processed is greater than the default secure threshold.Continuation of the previous cases, it is assumed that the default secure threshold of intelligent water heater
It is 2, then, the security level (security level 3) of the control signal received by the intelligent water heater is greater than its default peace
Full threshold value, at this point, intelligent water heater will judge the state of safety switch, if safety switch is in first state, the Intelligent hot
Leaving water temperature can be adjusted to 52 DEG C by hydrophone, if safety switch is not at first state, then the intelligent water heater is not adjusted
Water temperature.
There is also the need to explanations, in order to increase safety, in the embodiment of the present application, when smart machine receives peace
When the higher control signal of full rank, smart machine can using by the way of silence according to control signal execution corresponding operating,
That is, when the smart machine executes corresponding operating according to the control signal, not feedback response signal.Certainly, aforesaid way
The restriction to the application is not constituted.
Only when smart machine determines the security level of received control signal greater than default secure threshold,
Step S101~S104 as shown in Figure 1 can be executed.And when smart machine determines the security level of control signal no more than pre-
If when secure threshold, the smart machine will judge whether the control equipment for issuing the control signal has described in permission control
Smart machine, if so, executing corresponding operating according to the control signal, otherwise, then refusal is executed according to the control signal
Corresponding operating.
Control signal lower for security level, although smart machine can be executed directly accordingly according to the control signal
Operation, still, in practical applications in some cases, same control equipment may can also control the intelligence of other same model
Energy equipment, such as:There is the smart television of model I in user A and B family, the smart television of the model is by being installed on intelligence
Control application on mobile phone terminal is controlled, then, user A is applied using the control, so that it may control being somebody's turn to do in user B family
The smart television of model I.Such situation can constitute certain security risk to user.This is just needed using above-mentioned steps,
The permission of control signal is judged.In the embodiment of the present application, judge whether issue the control equipment for controlling signal
With permission, there are many modes, specifically can be using medium access control (the Media Access for pre-saving control equipment
Control, Mac) address mode, that is, smart machine will pre-save some MAC Address, when the smart machine receives
When controlling signal, it according to the control facility information carried in control signal, will judge to issue the control equipment for controlling signal
The MAC Address that whether is pre-saved with the smart machine of MAC Address match, if matching, show that the control equipment has power
Limit shows that the control equipment does not have permission if mismatching.It is, of course, also possible to not made herein specific using other modes
It limits.
It uses the example above, it is assumed that the intelligence of user B itself has been pre-saved for the smart television of the model I in user B family
The MAC Address of energy mobile phone, then, when user A is issued using the control application on its smart phone to the smart television of the user B
When controlling signal, which will judge according to the MAC Address of the smart phone carried in the control signal, then,
The corresponding MAC Address of control signal and the MAC Address that the smart television pre-saves are inconsistent, then the smart television refuses root
Operation is executed according to the control signal.
In conjunction with above-mentioned steps, the concrete application of the control method of smart machine is as follows in the application:
S201, smart machine receive control signal.
S202, smart machine judge whether the security level of the control signal is greater than default secure threshold, if so, holding
Otherwise row step 203 thens follow the steps S204.
S203, smart machine judge whether the safety switch is in first state, if so, S205 is thened follow the steps, it is no
Then, S206 is thened follow the steps.
S204, smart machine judge whether the control equipment for issuing the control signal there is permission to control the intelligence and set
It is standby, if so, thening follow the steps S205, otherwise, then follow the steps S206.
S205, smart machine execute corresponding operating according to the control signal.
S206, smart machine refusal execute corresponding operating according to the control signal.
In addition, in addition to above-mentioned safety switch and the timer of being arranged on intelligent devices is higher to smart machine progress safety
Control mode except, in some scenes provided by the embodiment of the present application, letter can also be set on the smart machine
Number shielding element.Shielding mode used by the signal shielding element can be there are many mode.
Under a kind of mode, the signal shielding element can be the signal shielding device with signal interference function, that is,
The signal shielding element issues multiple frequency range (such as:1805~1880MHz) interference signal, only with the smart machine phase
The control equipment matched, the control signal for issuing assigned frequency just can control the smart machine, and control equipment for other
(such as:Illegal control equipment) the control signal that is issued will shield by the shielding element.
Under another way, it is contemplated that in practical applications, smart machine is receiving radiation scope when controlling signal
Larger (that is, control signal that smart machine can receive different directions), so, back street operators can easier exist
Any position issues illegal control signal to smart machine, and smart machine is caused to be controlled, and threatens to user security.
Therefore, the signal shielding element can be the radiation scope that the signal of (or sending) is received for limiting the smart machine
Device (such as:Shielding case), which is limited in the radiation scope of signal in specified range the (radiation scope
Can be adjusted according to the needs of practical application, not make specific restriction here), thus, when accordingly, control equipment is issued
When controlling the smart machine, which must fall into the radiation scope control signal, and smart machine just can be with
Receive the control signal, and the control signal for being issued from other directions, it will be shielded by the signal shielding element.
The mode of the above-mentioned shielding element of device signal on intelligent devices, can also be effectively ensured and control to smart machine
Safety when processed so that smart machine only receives the control of user, and can effectively shield other operator institutes of non-user
The control signal of sending.Certainly, aforesaid way does not constitute the restriction to the application.
The above are the control methods of smart machine provided by the embodiments of the present application, are based on same thinking, and the application is implemented
Example also provides a kind of smart machine.
The smart machine includes safety switch, wherein the state of the safety switch includes at least first state and the
Two-state, when the safety switch is in first state, the smart machine executes corresponding according to the control signal received
Operation, when the safety switch is in the second state, the smart machine refusal executes phase according to the control signal received
It should operate.
It should be noted that the first state is closed state, second state is off-state;Alternatively, described
First state is off-state, and second state is closed state.
Under a kind of mode in the embodiment of the present application, the smart machine further includes timer, in the safety
Switch starts timing when being switched to first state by the second state, and after timing to preset duration, issues state switching signal,
The safety switch is set to switch to the second state.
In addition, the embodiment of the present application also provides a kind of control device of smart machine, as shown in Figure 3.
The control device of smart machine in Fig. 3 includes:Receiving module 301 and judging treatmenting module 302, wherein
The receiving module 301 is used to indicate smart machine and receives control signal.
The judging treatmenting module 302, for judging whether the safety switch is in first state, if so, instruction
The smart machine executes corresponding operating according to the control signal, otherwise, then indicates the smart machine refusal according to
It controls signal and executes corresponding operating.
Specifically, the judging treatmenting module 302 is also used to determine that the security level of the control signal is greater than default peace
Full threshold value.The judging treatmenting module 302 is specifically used for indicating that the smart machine executes corresponding operating according to the control signal
When, not feedback response signal.
In the embodiment of the present application, the judging treatmenting module 302 is also used to when the safety level for determining the control signal
When Bu great Yu not preset secure threshold, indicate that the smart machine judges whether the control equipment for issuing the control signal has
Permission controls the smart machine, otherwise then refuses according to if so, executing corresponding operating according to the control signal
It controls signal and executes corresponding operating.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.