CN105611358B - The control method and device of smart machine - Google Patents
The control method and device of smart machine Download PDFInfo
- Publication number
- CN105611358B CN105611358B CN201510998556.9A CN201510998556A CN105611358B CN 105611358 B CN105611358 B CN 105611358B CN 201510998556 A CN201510998556 A CN 201510998556A CN 105611358 B CN105611358 B CN 105611358B
- Authority
- CN
- China
- Prior art keywords
- smart machine
- remote control
- connection
- user
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4126—The peripheral being portable, e.g. PDAs or mobile phones
- H04N21/41265—The peripheral being portable, e.g. PDAs or mobile phones having a remote control device for bidirectional communication between the remote control device and client device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/4221—Dedicated function buttons, e.g. for the control of an EPG, subtitles, aspect ratio, picture-in-picture or teletext
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
- H04N21/43637—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
Abstract
The disclosure is directed to a kind of control method and device of smart machine, belong to smart home field.The disclosure is when detecting the specified operation of user, disconnect the connection between the first smart machine, retain the unpaired message of the first smart machine, remote control equipment broadcasting packet, receive the second smart machine establishes connection request, according to the unpaired message of the first smart machine, judge whether the second smart machine and the first smart machine are the same equipment, if the second smart machine and the first smart machine are not same equipment, then establish the connection between the second smart machine, by the connection between the second smart machine, the second smart machine is controlled.When user wants to control multiple smart machines using a remote control equipment, it only needs to pass through the specified operation to remote control equipment, it can be realized and establish connection between different intelligent equipment, to realize the control to different intelligent equipment, improve the convenience of operation.
Description
Technical field
This disclosure relates to smart home field, in particular to a kind of control method and device of smart machine.
Background technique
With the fast development of network technology, smart machine is more more and more universal into people's lives.For example, smart television
The smart machines such as machine, intelligent sound and intelligent air condition have entered into huge numbers of families.During to smart machine use, use
There is the demand controlled smart machine at family.
In the related art, the control of smart machine is typically only capable to be one-to-one form.That is, manufacturer is usually every out
One smart machine configures a remote control equipment, and user can control smart machine by the remote control equipment, for example, right
In intelligent TV set, it is commonly configured with a blue Tooth remote controller, user can use the blue Tooth remote controller to control smart television
Machine.
Summary of the invention
The embodiment of the present disclosure provides a kind of control method and device of smart machine.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of control method of smart machine is provided, comprising:
When detecting the specified operation of user, the connection between the first smart machine is disconnected, retains first intelligence
The unpaired message of energy equipment;
Broadcasting packet, the message are used to indicate remote control equipment and are in not-connected status;
The connection request of establishing of the second smart machine is received, the connection request of establishing is being connect by second smart machine
Transmission when receiving the message;
According to the unpaired message of first smart machine, second smart machine and first smart machine are judged
It whether is the same equipment;
If second smart machine and first smart machine are not same equipment, establish and second intelligence
Connection between equipment;
By the connection between second smart machine, second smart machine is controlled.
In the first possible implementation of the first aspect of the embodiment of the present disclosure, the method also includes:
If second smart machine and first smart machine are same equipment, ignore and described establish connection and ask
It asks.
In second of possible implementation of the first aspect of the embodiment of the present disclosure, the method also includes:
If repeatedly receiving the connection request of establishing of second smart machine in the first preset duration, and described second
Smart machine and first smart machine are same equipment, then establish the connection between first smart machine.
In the third possible implementation of the first aspect of the embodiment of the present disclosure, the method also includes:
If do not receive any second smart machine in the second preset duration establishes connection request, re-establish with
Connection between first smart machine;Or,
If receive first smart machine after third preset duration establishes connection request, re-establish and institute
State the connection between the first smart machine.
In the 4th kind of possible implementation of the first aspect of the embodiment of the present disclosure, it is described by described with described the
Connection between two smart machines, carrying out control to second smart machine includes:
When detecting user on the remote control equipment to the power-off operation of second smart machine, to described second
Smart machine sends shutdown command, so that second smart machine shuts down in response to the shutdown command;
When detecting user on the remote control equipment to the power-on operation of second smart machine, establish with it is described
Connection between second smart machine, and power-on instruction is sent to second smart machine, so that second smart machine
It is booted up in response to the power-on instruction.
In the 5th kind of possible implementation of the first aspect of the embodiment of the present disclosure, the method also includes:
When detecting reset operation of the user on the remote control equipment, the unpaired message saved is deleted.
In the 6th kind of possible implementation of the first aspect of the embodiment of the present disclosure, the method also includes:
When detecting that the remote control equipment is flipped, the specified operation of user is confirmly detected;Or,
When detecting the user to the trigger action of specified button on the remote control equipment, confirmly detect user's
Specified operation;Or,
When detecting the trigger action that the user combines specified button on the remote control equipment, use is confirmly detected
The specified operation at family.
According to the second aspect of an embodiment of the present disclosure, a kind of control device of smart machine is provided, comprising:
Module is disconnected, for disconnecting the connection between the first smart machine when detecting the specified operation of user, is protected
Stay the unpaired message of first smart machine;
Broadcast module, is used for broadcasting packet, and the message is used to indicate remote control equipment and is in not-connected status;
Receiving module, for receiving the connection request of establishing of the second smart machine, the connection request of establishing is by described
The transmission when receiving the message of two smart machines;
Judgment module judges second smart machine and institute for the unpaired message according to first smart machine
State whether the first smart machine is the same equipment;
Module is established, for establishing when second smart machine and first smart machine are not same equipment
With the connection between second smart machine;
Control module, for the connection described between second smart machine, to second smart machine
It is controlled.
In the first possible implementation of the second aspect of the embodiment of the present disclosure, the module of establishing is also used to
When second smart machine and first smart machine are same equipment, ignore and described establish connection request.
In second of possible implementation of the second aspect of the embodiment of the present disclosure, the module of establishing is also used to
The connection request of establishing of second smart machine, and second smart machine and institute are repeatedly received in first preset duration
When to state the first smart machine be same equipment, the connection between first smart machine is established.
In the third possible implementation of the second aspect of the embodiment of the present disclosure, the module of establishing is also used to:
It does not receive when establishing connection request of any second smart machine in the second preset duration, re-establishes and institute
State the connection between the first smart machine;Or,
When establishing connection request of first smart machine is received after third preset duration, re-establish with it is described
Connection between first smart machine.
In the 4th kind of possible implementation of the second aspect of the embodiment of the present disclosure, the control module is used for:
When detecting user on the remote control equipment to the power-off operation of second smart machine, to described second
Smart machine sends shutdown command, so that second smart machine shuts down in response to the shutdown command;
It is described to establish mould when detecting user on the remote control equipment to the power-on operation of second smart machine
Block establishes the connection between second smart machine, and the control module sends booting to second smart machine and refers to
It enables, so that second smart machine is booted up in response to the power-on instruction.
In the 5th kind of possible implementation of the second aspect of the embodiment of the present disclosure, described device further include:
Removing module, for when detecting reset operation of the user on the remote control equipment, what deletion had saved to match
To information.
In the 6th kind of possible implementation of the second aspect of the embodiment of the present disclosure, described device further includes determining mould
Block, the determining module are used for:
When detecting that the remote control equipment is flipped, the specified operation of user is confirmly detected;Or,
When detecting the user to the trigger action of specified button on the remote control equipment, confirmly detect user's
Specified operation;Or,
When detecting the trigger action that the user combines specified button on the remote control equipment, use is confirmly detected
The specified operation at family.
According to the third aspect of an embodiment of the present disclosure, a kind of control device of smart machine is provided, comprising:
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is used for:
When detecting the specified operation of user, the connection between the first smart machine is disconnected, retains first intelligence
The unpaired message of energy equipment;
Broadcasting packet, the message are used to indicate remote control equipment and are in not-connected status;
The connection request of establishing of the second smart machine is received, the connection request of establishing is being connect by second smart machine
Transmission when receiving the message;
According to the unpaired message of first smart machine, second smart machine and first smart machine are judged
It whether is the same equipment;
If second smart machine and first smart machine are not same equipment, establish and second intelligence
Connection between equipment;
By the connection between second smart machine, second smart machine is controlled.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
When detecting the specified operation of user, the connection between the first smart machine is disconnected, retains the first intelligence and sets
Standby unpaired message, remote control equipment broadcasting packet, the message are used to indicate remote control equipment and are in not-connected status, receive the second intelligence
Energy equipment establishes connection request, this establishes connection request transmission when receiving message by the second smart machine, according to first
The unpaired message of smart machine judges whether the first smart machine and the second smart machine are the same equipment, if the second intelligence
Equipment and the first smart machine are not same equipment, then establish the connection between the second smart machine, by with the second intelligence
Connection between equipment controls the second smart machine.When user wants to set multiple intelligence using a remote control equipment
For when being controlled, it is only necessary to by the specified operation to remote control equipment, the company of foundation between different intelligent equipment can be realized
It connects, to realize the control to different intelligent equipment, improves the convenience of operation.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of control method flow chart of smart machine shown according to an exemplary embodiment.
Fig. 2 is a kind of control method flow chart of the smart machine shown according to another exemplary embodiment.
Fig. 3 is a kind of control device block diagram of smart machine shown according to an exemplary embodiment.
Fig. 4 is a kind of control device block diagram of the smart machine shown according to another exemplary embodiment.
Fig. 5 is a kind of block diagram of the control device 500 of smart machine shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of control method flow chart of smart machine shown according to an exemplary embodiment.The smart machine
Control method may include the following steps:
In a step 101, when detecting the specified operation of user, the connection between the first smart machine is disconnected, is protected
Stay the unpaired message of the first smart machine.
In a step 102, broadcasting packet, the message are used to indicate remote control equipment and are in not-connected status.
In step 103, receive the second smart machine establishes connection request, this is established connection request and is set by the second intelligence
The standby transmission when receiving message.
At step 104, according to the unpaired message of the first smart machine, judge the first smart machine and the second smart machine
It whether is the same equipment.
In step 105, it if the second smart machine and the first smart machine are not same equipment, establishes and the second intelligence
Connection between equipment.
In step 106, by the connection between the second smart machine, the second smart machine is controlled.
The embodiment of the present disclosure provide method, when detecting the specified operation of user, disconnect with the first smart machine it
Between connection, retain the unpaired message of the first smart machine, remote control equipment broadcasting packet, which is used to indicate at remote control equipment
In not-connected status, receive the second smart machine establishes connection request, this is established connection request and is being connect by the second smart machine
Transmission when receiving message judges whether are the first smart machine and the second smart machine according to the unpaired message of the first smart machine
For the same equipment, if the second smart machine and the first smart machine are not same equipment, establish with the second smart machine it
Between connection the second smart machine is controlled by the connection between the second smart machine.When user wants to use one
When a remote control equipment controls multiple smart machines, it is only necessary to by the specified operation to remote control equipment, can be realized with
Connection is established between different intelligent equipment, to realize the control to different intelligent equipment, improves the convenience of operation.
Based on the method for above-mentioned offer, in one possible implementation, the method also includes:
If second smart machine and first smart machine are same equipment, ignore and described establish connection and ask
It asks.
It is above-mentioned when determining the second smart machine and the first smart machine is same equipment, ignore received foundation and connect
Connect request, it is ensured that the connection of remote control equipment and the second smart machine switches successfully, prevent remote control equipment again with the first intelligence
Energy equipment establishes connection, causes to connect handover failure.
In alternatively possible implementation, the method also includes:
If repeatedly receiving the connection request of establishing of second smart machine in the first preset duration, and described second
Smart machine and first smart machine are same equipment, then establish the connection between first smart machine.
If the above-mentioned connection request of establishing for repeatedly receiving the first smart machine whithin a period of time, establish with this first
Connection between smart machine, so that remote control equipment still can be to this in the case where user accidentally triggers specified operation
First smart machine is controlled.
In alternatively possible implementation, the method also includes:
If do not receive any second smart machine in the second preset duration establishes connection request, re-establish with
Connection between first smart machine;Or,
If receive first smart machine after third preset duration establishes connection request, re-establish and institute
State the connection between the first smart machine.
If the above-mentioned connection request of establishing for not receiving any second smart machine always whithin a period of time, or at one section
The connection request of establishing that the first smart machine is received after time then re-establishes the company between first smart machine
It connects, so that remote control equipment can still carry out first smart machine in the case where user accidentally triggers specified operation
Control.
It is described by the connection between second smart machine in alternatively possible implementation, it is right
Second smart machine carries out control
When detecting user on the remote control equipment to the power-off operation of second smart machine, to described second
Smart machine sends shutdown command, so that second smart machine shuts down in response to the shutdown command;
When detecting user on the remote control equipment to the power-on operation of second smart machine, establish with it is described
Connection between second smart machine, and power-on instruction is sent to second smart machine, so that second smart machine
It is booted up in response to the power-on instruction.
It is above-mentioned during controlling the second smart machine, when detect user on remote control equipment shutdown behaviour
When making, shutdown command is sent to the second smart machine, and detecting user in the power-on operation on remote control equipment, according to pass
The unpaired message between the second smart machine saved before machine determines the second smart machine, and builds with second smart machine
Vertical connection enables remote control equipment to control second smart machine booting.
In alternatively possible implementation, the method also includes:
When detecting reset operation of the user on the remote control equipment, the unpaired message saved is deleted.
It is above-mentioned to delete the unpaired message saved when detecting reset operation of the user on remote control equipment, so that
Remote control equipment can re-establish the connection between smart machine, so as to accurately control pair that user actually wants to control
As improving the accuracy of control.
In alternatively possible implementation, the method also includes:
When detecting that the remote control equipment is flipped, the specified operation of user is confirmly detected;Or,
When detecting the user to the trigger action of specified button on the remote control equipment, confirmly detect user's
Specified operation;Or,
When detecting the trigger action that the user combines specified button on the remote control equipment, use is confirmly detected
The specified operation at family.
It is above-mentioned control so that remote control equipment confirmly detects the specified operation of user, to be increased by different modes
The mode of system, improves user experience.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination
It repeats one by one.
Fig. 2 is a kind of control method flow chart of the smart machine shown according to another exemplary embodiment, the present embodiment
It is illustrated by taking the interaction of remote control equipment and smart machine as an example.The control method of the smart machine may include following several steps
It is rapid:
In step 201, when detecting the specified operation of user, remote control equipment is disconnected between the first smart machine
Connection retains the unpaired message of the first smart machine.
In actual application, remote control equipment usually requires to come real by establishing connection between the first smart machine
Now the first smart machine is controlled.Wherein, remote control equipment can be according to the address information of the first smart machine, with the first intelligence
Connection can be established between equipment.Wherein, address information can be MAC (Media Access Control, media access control)
Address, or IP (Internet Protocol, network protocol) address.Wherein, above-mentioned remote control equipment can be such as blue
The equipment such as tooth remote controler, Digiplex.For example, then being established and being connected according to MAC Address when remote control equipment is blue Tooth remote controller
It connects.
The method that the embodiment of the present disclosure provides, will control multiple smart machines by a remote control equipment.When detecting
When the specified operation of user, illustrate that user wants the control object of switching remote control equipment, remote control equipment is disconnected to be set with the first intelligence
Connection between standby, into state to be paired.What needs to be explained here is that being disconnected in remote control equipment and the first smart machine
When, connection is established with the first smart machine again for the ease of remote control equipment, also, be convenient for judging that institute is received in subsequent step
Establish whether connection request is sent by the first smart machine, remote control equipment remains the unpaired message of the first smart machine.This is matched
It may include the address information of the first smart machine and/or the device identification of the first smart machine to information.
Wherein, different according to the type of the specified operation of user, confirmly detect user specified operation may include as
Under any possible implementation:
In the first possible implementation, when detecting that remote control equipment is flipped, confirmly detect user's
Specified operation.
In above-mentioned possible implementation, gravity sensor is configured on remote control equipment, the gravity sensor is for examining
User is surveyed to rotary movement performed by remote control equipment.When the gravity sensor detects the rotary movement of user, remote control is set
It is standby to can determine that user wants to switch over current connection, that is, confirmly detect the specified operation of user.For example, when detection
When the face down of remote control equipment being overturn one time to user, it is determined that detect the specified operation of user.
In the second possible implementation, when detecting user to the trigger action of specified button on remote control equipment
When, confirmly detect the specified operation of user.
In above-mentioned possible implementation, the key of handoff functionality is provided on remote control equipment, user can pass through
The key is triggered, realizes the switching of connection.When remote control equipment detects trigger action of the user to the key, confirmly detect
The specified operation of user.In one possible implementation, it is provided on remote control equipment there are two the key with handoff functionality,
Two keys are respectively used to a upward paired device or switch to next paired device.Specifically, in remote control equipment,
By the storage form of list, the unpaired message of multiple smart machines is saved, user can press by triggering this two respectively
Key, a upper unpaired message or next unpaired message in selective listing, it is thus possible to realize between different intelligent equipment
Establish connection.
In the third possible implementation, as the triggering behaviour for detecting that user combines specified button on remote control equipment
When making, the specified operation of user is confirmly detected.
In the possibility implementation of above-mentioned offer, specified button combination may include that two specified buttons or two or more refer to
Determine key.In one possible implementation, user can trigger specified button combination simultaneously, correspondingly, when detecting
When user triggers specified button combination simultaneously, remote control equipment confirmly detects the specified operation of user, for example, specified button combines
Confirmly detect user's when detecting user while triggering home key and ok key including home key and ok key
Specified operation.In alternatively possible implementation, user can also be according to preset order, the continuous trigger specified button group
It closes, correspondingly, when remote control equipment detects that user according to preset order, when the continuous trigger specified button combines, determines detection
To the specified operation of user, wherein preset order can be by remote control equipment default setting, can also be by user according to actual needs
Customized setting, for example, specified button combination includes home key and ok key, preset order is first triggering home key, then
Ok key is triggered, when detecting the successive continuous trigger home key of user and ok key, it is determined that detect the finger of user
Fixed operation.
Certainly, it should be noted that three kinds of possible implementations of above-mentioned offer be only it is exemplary, other possible
In embodiment, remote control equipment can also confirmly detect the specified operation of user otherwise, and the disclosure does not limit this
It is fixed.
In step 202, remote control equipment broadcasting packet, the message are used to indicate remote control equipment and are in not-connected status.
When remote control equipment disconnects the connection between the first smart machine, remote control equipment enters waiting connection status, and
And remote control equipment broadcasting packet, to notify the second smart machine of surrounding, remote control equipment, which is not established with any equipment currently, to be connected
It connects.Wherein, the second smart machine can be the equipment with the first smart machine same type, for example, the first smart machine is intelligence
Television set, the second smart machine are also intelligent TV set.Certainly, the second smart machine can also be different from the second smart machine
The equipment of type, for example, the first smart machine is intelligent TV set, the second smart machine is the set-top box of the intelligent TV set.
Wherein, the address information of remote control equipment can also be carried in the message, so that the second smart machine passes through the address
Information establishes connection request to remote control equipment transmission.
In step 203, the second smart machine receives the message.
In step 204, according to message, the second smart machine establishes connection request to remote control equipment transmission.
Wherein, which can be the message for carrying specific field.It is taken in message specific bit for example, the specific field refers to
Value is 1 or 0.
When second smart machine receives the message of remote control equipment transmission, according to the ground of the remote control equipment carried in the message
Location information establishes connection request to remote control equipment transmission.Wherein, this, which is established, can carry the second smart machine in connection request
The device identification of address information and/or the second smart machine, the device identification of second smart machine for unique identification this
Two smart machines.
In step 205, remote control equipment receives the second smart machine and establishes connection request, according to the first smart machine
Unpaired message judges whether the second smart machine and the first smart machine are same equipment, if not, executing step 206.
In actual application, when remote control equipment broadcasting packet, the first smart machine may also receive the message,
When the first smart machine receives the message, it can also be sent to remote control equipment and establish connection request.Therefore, when remote control equipment connects
Receive when establishing connection request of the second smart machine transmission, need to judge the second smart machine and the first smart machine whether be
Same equipment.
As described above, according to the information carried in connection request difference is established, judge the second smart machine and the first intelligence
It may include following any possible implementation that whether energy equipment, which is same equipment:
In the first possible implementation, remote control equipment establishes the address information carried in connection request according to this,
The no for same equipment of second smart machine and the first smart machine is judged, when this establishes the address letter carried in connection request
When ceasing identical as the address information of the first smart machine, it is determined that the second smart machine and the first smart machine are same equipment,
Otherwise, it is determined that the second smart machine and the first smart machine are not same equipment.
In the second possible implementation, remote control equipment can also be according to establishing the second intelligence carried in connection request
The device identification of energy equipment, judges whether the second smart machine and the first smart machine are same equipment, when the second smart machine
Device identification it is identical as the device identification of the first smart machine when, can determine that the second smart machine is with the first smart machine
Otherwise same equipment can determine the second smart machine and the first smart machine not be same equipment.
In step 206, if the second smart machine and the first smart machine are not same equipment, remote control equipment establish with
Connection between second smart machine.
If determining the second smart machine by judgement and the first smart machine being same equipment, then ignores and establish connection and ask
It asks.Specifically, if determining that the second smart machine and the first smart machine are same equipment, remote control equipment can after judgement
Connection request is established not handle this, avoids re-establishing with the first smart machine and connect, to guarantee to switch successfully.If the
Two smart machines and the first smart machine are not same equipment, then remote control equipment can be by establishing between the second smart machine
The control to the second smart machine is realized in connection.
It in one possible implementation, can be with when remote control equipment completes the connection between the second smart machine
Message is successfully established to second smart machine transmission, and the second smart machine receives after this is successfully established message, shows currently
Show and show that this is successfully established message in interface, user is allowed to determine that remote control equipment is established with which the second smart machine
Connection, so as to increase user experience.
In one possible implementation, after remote control equipment and the second smart machine establish connection, when detecting use
The unpaired message saved is deleted in the reset operation on remote control equipment in family.Specifically, in order to guarantee remote control equipment just for
Second smart machine is controlled, and the resetting key that user can also be provided by remote control equipment has saved remote control equipment
The unpaired message of the first smart machine deleted.For example, being provided with " menu " and " home " key on remote control equipment, work as inspection
When measuring user while triggering above-mentioned two key, remote control equipment deletes the unpaired message of the first smart machine saved.
In real life, if only one smart machine of user, and the remote control equipment of user has the function of switching connection
Can, user is during using remote control equipment, it is possible to accidentally trigger the handoff functionality on remote control equipment.In this feelings
Under condition, if as described above, when remote control equipment detects the second smart machine and the first smart machine is same equipment, remote control
Equipment, which is ignored, establishes connection request, in this way, will lead to the first smart machine cannot establish connection with remote control equipment always.For this purpose,
In the present embodiment, the case where establishing connection request also according to practical reception is different, re-establishes between the first smart machine
Connection.
Specifically, according to receive the transmission of the first smart machine the case where establishing connection request it is different, may include as
Under any possible implementation:
In the first possible implementation, if repeatedly receiving building for the second smart machine in the first preset duration
Vertical connection request, and the second smart machine and the first smart machine are same equipment, then establish between the first smart machine
Connection.Wherein, the first preset duration can also be set by remote control equipment default setting by user is customized according to actual needs
It sets.
In the second possible implementation, if not receiving any second smart machine in the second preset duration
Connection request is established, then re-establishes the connection between the first smart machine.Wherein, the second preset duration can be set by remote control
Standby default setting, can also be by user's customized setting according to actual needs.
In the third possible implementation, if the foundation for receiving the first smart machine after third preset duration connects
Request is connect, then re-establishes the connection between the first smart machine.Wherein, third preset duration can be defaulted by remote control equipment
Setting, can also be by user's customized setting according to actual needs.
So, it is ensured that in the case where user accidentally triggers specified operation, remote control equipment still can again with
First smart machine establishes connection, and realization controls first smart machine, ensure that the reliability of control.
In step 207, by the connection between the second smart machine, remote control equipment sends to the second smart machine and controls
System instruction.
Wherein, control instruction may include shutdown command, power-on instruction, volume adjustment instruction etc..When detecting that user exists
When on remote control equipment to the power-off operation of the second smart machine, shutdown command is sent to the second smart machine, so that the second intelligence
Equipment is shut down in response to shutdown command.
After remote control equipment sends shutdown command to the second smart machine, the connection between the second smart machine is disconnected,
Also, when for booting next time, remote control equipment can send power-on instruction to second smart machine, and remote control equipment will save the
Two smart machine unpaired messages.
When detecting user on remote control equipment to the power-on operation of the second smart machine, remote control equipment is established and second
Connection between smart machine, and power-on instruction is sent to the second smart machine, so that the second smart machine refers in response to booting
Order boots up.Wherein, the connection that remote control equipment is established between the second smart machine may include following any possible
Implementation:
In the first possible implementation, when detecting booting of the user on remote control equipment to the second smart machine
When operation, remote control equipment is established between the second smart machine according to the unpaired message of the second smart machine pre-saved
Connection, and by the connection, power-on instruction is sent to the second smart machine.
In the second possible implementation, when detecting booting of the user on remote control equipment to the second smart machine
When operation, remote control equipment, which can broadcast, establishes connection request message, this establishes in connection request message the ground for carrying remote control equipment
The unpaired message of location information and the second smart machine, so that the second smart machine, which receives this, establishes connection request message
When, connection request message is established according to this, establishes the connection between remote control equipment, and return to successful matching to remote control equipment and disappear
Breath.After remote control equipment receives successful matching message, power-on instruction can be sent to the second smart machine by the connection.
In a step 208, the second smart machine receives the control instruction that remote control equipment is sent, and in response to the control instruction
Carry out corresponding operation.
Second smart machine receives the control instruction that remote control equipment is sent, and according to the control instruction, executes and the control
Instruct corresponding operation.For example, the second smart machine executes shutdown behaviour if receiving the shutdown command of remote control equipment transmission
Make.
The embodiment of the present disclosure provide method, when detecting the specified operation of user, disconnect with the first smart machine it
Between connection, remote control equipment broadcasting packet, which is used to indicate remote control equipment and is in unpaired state, receive the second intelligence and sets
Standby establishes connection request, this establishes connection request transmission when receiving message by the second smart machine, if the second intelligence is set
Standby with the first smart machine is not same equipment, then establishes the connection between the second smart machine, by setting with the second intelligence
Connection between standby, controls the second smart machine.When user wants using a remote control equipment to multiple smart machines
When being controlled, it is only necessary to by the specified operation to remote control equipment, it can be realized and establish connection between different intelligent equipment,
To realize the control to different intelligent equipment, the convenience of operation is improved.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device
Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 3 is a kind of control device block diagram of smart machine shown according to an exemplary embodiment, the smart machine
Control device being implemented in combination with by software, hardware or both.The control device of the smart machine may include:
Module 310 is disconnected, for disconnecting the company between the first smart machine when detecting the specified operation of user
It connects, retains the unpaired message of first smart machine;
Broadcast module 320, is used for broadcasting packet, and the message is used to indicate remote control equipment and is in not-connected status;
Receiving module 330, for receiving the connection request of establishing of the second smart machine, the connection request of establishing is by described
The transmission when receiving the message of second smart machine;
Judgment module 340, for the unpaired message according to first smart machine, judge second smart machine with
Whether first smart machine is the same equipment;
Module 350 is established, for building when second smart machine and first smart machine are not same equipment
Connection between vertical and described second smart machine;
Control module 360, for being set to second intelligence by the connection between described and described second smart machine
It is standby to be controlled.
The embodiment of the present disclosure provide device, when detecting the specified operation of user, disconnect with the first smart machine it
Between connection, retain the unpaired message of the first smart machine, remote control equipment broadcasting packet, which is used to indicate at remote control equipment
In not-connected status, receive the second smart machine establishes connection request, this is established connection request and is being connect by the second smart machine
Transmission when receiving message judges whether are the first smart machine and the second smart machine according to the unpaired message of the first smart machine
For the same equipment, if the second smart machine and the first smart machine are not same equipment, establish with the second smart machine it
Between connection the second smart machine is controlled by the connection between the second smart machine.When user wants to use one
When a remote control equipment controls multiple smart machines, it is only necessary to by the specified operation to remote control equipment, can be realized with
Connection is established between different intelligent equipment, to realize the control to different intelligent equipment, improves the convenience of operation.
Based on the device of above-mentioned offer, referring to FIG. 4, in one possible implementation, it is described to establish module 350 also
Described connection request is established for ignoring when second smart machine and first smart machine are same equipment.
In alternatively possible implementation, the module 350 of establishing is also used to repeatedly connect in the first preset duration
The connection request of establishing of second smart machine is received, and second smart machine and first smart machine are same
When equipment, the connection between first smart machine is established.
In alternatively possible implementation, the module 350 of establishing is also used to:
It does not receive when establishing connection request of any second smart machine in the second preset duration, re-establishes and institute
State the connection between the first smart machine;Or,
When establishing connection request of first smart machine is received after third preset duration, re-establish with it is described
Connection between first smart machine.
In alternatively possible implementation, the control module 360 is used for:
When detecting user on the remote control equipment to the power-off operation of second smart machine, to described second
Smart machine sends shutdown command, so that second smart machine shuts down in response to the shutdown command;
It is described to establish mould when detecting user on the remote control equipment to the power-on operation of second smart machine
Block 350 establishes the connection between second smart machine, and the control module 360 is opened to second smart machine transmission
Machine instruction, so that second smart machine is booted up in response to the power-on instruction.
In alternatively possible implementation, described device further include:
Removing module 370 is deleted and have been saved for when detecting reset operation of the user on the remote control equipment
Unpaired message.
In alternatively possible implementation, described device further includes determining module 380, and the determining module 380 is used
In:
When detecting that the remote control equipment is flipped, the specified operation of user is confirmly detected;Or,
When detecting the user to the trigger action of specified button on the remote control equipment, confirmly detect user's
Specified operation;Or,
When detecting the trigger action that the user combines specified button on the remote control equipment, use is confirmly detected
The specified operation at family.
It should be noted is that the control device of smart machine provided by the above embodiment is in the control for realizing smart machine
When method processed, only with the division progress of above-mentioned each functional module for example, in practical application, can according to actual needs and
Above-mentioned function distribution is completed by different functional modules, i.e., the content structure of equipment is divided into different functional modules, with
Complete all or part of function described above.In addition, wherein modules execute behaviour about the device in above-described embodiment
The concrete mode of work is described in detail in the embodiment of the method, and no detailed explanation will be given here.
Fig. 5 is a kind of block diagram of the control device 500 of smart machine shown according to an exemplary embodiment.For example, dress
Setting 500 may be provided as a remote control equipment.Referring to Fig. 5, device 500 includes processing component 522, further comprise one or
Multiple processors, and the memory resource as representated by memory 532, for storing the finger that can be executed by processing component 522
It enables, such as application program.The application program stored in memory 532 may include it is one or more each correspond to
The module of one group of instruction.In addition, processing component 522 is configured as executing instruction, to execute above-mentioned Fig. 1 or embodiment illustrated in fig. 2
The control method of the smart machine of offer.
Device 500 can also include the power management that a power supply module 526 is configured as executive device 500, and one has
Line or radio network interface 550 are configured as device 500 being connected to network and input and output (I/O) interface 558.Dress
Setting 500 can operate based on the operating system for being stored in memory 532, such as Windows ServerTM, Mac OS XTM,
UnixTM,LinuxTM, FreeBSDTMOr it is similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (14)
1. a kind of control method of smart machine, which is characterized in that the described method includes:
When detecting the specified operation of user, the connection between the first smart machine is disconnected, retains first intelligence and sets
Standby unpaired message;
Broadcasting packet, the message are used to indicate remote control equipment and are in not-connected status;
The connection request of establishing of the second smart machine is received, the connection request of establishing is being received by second smart machine
It is sent when the message;
According to the unpaired message of first smart machine, judge whether are second smart machine and first smart machine
For the same equipment;
If second smart machine and first smart machine are not same equipment, establish and second smart machine
Between connection;
By the connection between second smart machine, second smart machine is controlled;
The method also includes:
If second smart machine and first smart machine are same equipment, ignore and described establish connection request.
2. the method according to claim 1, wherein the method also includes:
If repeatedly receiving the connection request of establishing of second smart machine in the first preset duration, and second intelligence
Equipment and first smart machine are same equipment, then establish the connection between first smart machine.
3. the method according to claim 1, wherein the method also includes:
If do not receive any second smart machine in the second preset duration establishes connection request, re-establish with it is described
Connection between first smart machine;Or,
If receive first smart machine after third preset duration establishes connection request, re-establish and described
Connection between one smart machine.
4. the method according to claim 1, wherein it is described by described between second smart machine
Connection, carrying out control to second smart machine includes:
When detecting user on the remote control equipment to the power-off operation of second smart machine, to second intelligence
Equipment sends shutdown command, so that second smart machine shuts down in response to the shutdown command;
When detecting user on the remote control equipment to the power-on operation of second smart machine, establish and described second
Connection between smart machine, and power-on instruction is sent to second smart machine, so that second smart machine responds
It is booted up in the power-on instruction.
5. the method according to claim 1, wherein the method also includes:
When detecting reset operation of the user on the remote control equipment, the unpaired message saved is deleted.
6. the method according to claim 1, wherein the method also includes:
When detecting that the remote control equipment is flipped, the specified operation of user is confirmly detected;Or,
When detecting the user to the trigger action of specified button on the remote control equipment, the specified of user is confirmly detected
Operation;Or,
When detecting the trigger action that the user combines specified button on the remote control equipment, confirmly detect user's
Specified operation.
7. a kind of control device of smart machine, which is characterized in that described device includes:
Module is disconnected, for disconnecting the connection between the first smart machine when detecting the specified operation of user, retains institute
State the unpaired message of the first smart machine;
Broadcast module, is used for broadcasting packet, and the message is used to indicate remote control equipment and is in not-connected status;
Receiving module, for receiving the connection request of establishing of the second smart machine, the connection request of establishing is by second intelligence
It can equipment transmission when receiving the message;
Judgment module judges second smart machine and described for the unpaired message according to first smart machine
Whether one smart machine is the same equipment;
Module is established, for when second smart machine and first smart machine are not same equipment, establishing and institute
State the connection between the second smart machine;
Control module, for being carried out to second smart machine by the connection between described and described second smart machine
Control;
Wherein, the module of establishing is also used to when second smart machine and first smart machine are same equipment,
Ignore and described establishes connection request.
8. device according to claim 7, which is characterized in that it is described establish module be also used to it is more in the first preset duration
The secondary connection request of establishing for receiving second smart machine, and second smart machine is with first smart machine
When same equipment, the connection between first smart machine is established.
9. device according to claim 7, which is characterized in that the module of establishing is also used to:
It does not receive when establishing connection request of any second smart machine in the second preset duration, re-establishes and described
Connection between one smart machine;Or,
When establishing connection request of first smart machine is received after third preset duration, is re-established and described first
Connection between smart machine.
10. device according to claim 7, which is characterized in that the control module is used for:
When detecting user on the remote control equipment to the power-off operation of second smart machine, to second intelligence
Equipment sends shutdown command, so that second smart machine shuts down in response to the shutdown command;
When detecting user on the remote control equipment to the power-on operation of second smart machine, the module of establishing is built
Connection between vertical and described second smart machine, the control module send power-on instruction to second smart machine, make
Second smart machine is obtained to boot up in response to the power-on instruction.
11. device according to claim 7, which is characterized in that described device further include:
Removing module, for when detecting reset operation of the user on the remote control equipment, deleting the pairing letter saved
Breath.
12. device according to claim 7, which is characterized in that described device further includes determining module, the determining module
For:
When detecting that the remote control equipment is flipped, the specified operation of user is confirmly detected;Or,
When detecting the user to the trigger action of specified button on the remote control equipment, the specified of user is confirmly detected
Operation;Or,
When detecting the trigger action that the user combines specified button on the remote control equipment, confirmly detect user's
Specified operation.
13. a kind of control device of smart machine characterized by comprising
Processor;
For storing the memory of the executable instruction of the processor;
Wherein, the processor is used for:
When detecting the specified operation of user, the connection between the first smart machine is disconnected, retains first intelligence and sets
Standby unpaired message;
Broadcasting packet, the message are used to indicate remote control equipment and are in not-connected status;
The connection request of establishing of the second smart machine is received, the connection request of establishing is being received by second smart machine
It is sent when the message;
According to the unpaired message of first smart machine, judge whether are second smart machine and first smart machine
For the same equipment;
If second smart machine and first smart machine are not same equipment, establish and second smart machine
Between connection;
By the connection between second smart machine, second smart machine is controlled;
The processor is also used to: if second smart machine and first smart machine are same equipment, ignoring institute
It states and establishes connection request.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program, the computer program realize method and step described in any one of claims 1-6 when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510998556.9A CN105611358B (en) | 2015-12-26 | 2015-12-26 | The control method and device of smart machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510998556.9A CN105611358B (en) | 2015-12-26 | 2015-12-26 | The control method and device of smart machine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105611358A CN105611358A (en) | 2016-05-25 |
CN105611358B true CN105611358B (en) | 2018-12-18 |
Family
ID=55990849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510998556.9A Active CN105611358B (en) | 2015-12-26 | 2015-12-26 | The control method and device of smart machine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105611358B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108668266A (en) * | 2018-04-19 | 2018-10-16 | 浙江东胜物联技术有限公司 | One kind one matches two blue Tooth remote controllers |
CN110288820A (en) * | 2019-07-31 | 2019-09-27 | 歌尔股份有限公司 | A kind of connection method of remote control equipment and host |
CN112270824B (en) * | 2020-10-22 | 2022-06-03 | 尚科宁家(中国)科技有限公司 | Pairing request terminal, random code-based remote control system and control method thereof |
CN114840156A (en) * | 2021-01-30 | 2022-08-02 | 华为技术有限公司 | Multi-screen equipment control method and communication system |
CN113965895B (en) * | 2021-12-16 | 2022-09-02 | 深圳市晨北科技有限公司 | Bluetooth connection switching method, equipment and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100507969C (en) * | 2006-08-15 | 2009-07-01 | 何进 | Selective intelligent remote control system and method |
CN101478461A (en) * | 2008-11-06 | 2009-07-08 | 上海电器科学研究所(集团)有限公司 | Portable remote controller and method for controlled object arbitrary selection |
CN102117535A (en) * | 2009-12-31 | 2011-07-06 | 宏碁股份有限公司 | Method for setting connection of remote controller and remote controller using method |
CN103905492A (en) * | 2012-12-27 | 2014-07-02 | 鸿富锦精密工业(深圳)有限公司 | Electronic-device remote-control system and method |
EP2897373A1 (en) * | 2014-01-15 | 2015-07-22 | Tellyo Oy | A system and a method for sharing television content |
CN104751617A (en) * | 2015-04-08 | 2015-07-01 | 江苏惠通集团有限责任公司 | Remote controller and main machine connecting method and remote control device |
-
2015
- 2015-12-26 CN CN201510998556.9A patent/CN105611358B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN105611358A (en) | 2016-05-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105611358B (en) | The control method and device of smart machine | |
US11310730B2 (en) | Method of connecting to network for home appliance, home appliance, and method of connecting to network for home appliance system | |
CN103458399B (en) | Intelligent WIFI module and method for configuring device supporting WIFI connection into WIFI network | |
CN105208583B (en) | Method and device for configuring intelligent household electrical appliance to access network and intelligent equipment | |
CN103686674A (en) | Network access method, intelligent terminal and WiFi access equipment | |
CN104540091A (en) | Automatic pairing system and automatic pairing method based on bluetooth equipment | |
US20130271672A1 (en) | Television manipulation method, handheld device, television, and television manipulation system | |
CN103686292A (en) | Startup and shutdown method and device for intelligent electronic device | |
CN103765826A (en) | Communication apparatus, communication system, communication method, control program, recording medium, and television receiving system | |
KR101101797B1 (en) | Wireless terminal and method for managing network connection using the same | |
KR101832632B1 (en) | Remote control system, in-home device, relay apparatus, device management method, and program | |
CN104750237A (en) | Multi-screen interactive connection method and device as well as electronic equipment | |
WO2015062526A1 (en) | Wireless login-based remote control method and apparatus | |
US8903987B2 (en) | Communication apparatus and method for controlling communication apparatus | |
CN109729512A (en) | A kind of Bluetooth pairing methods, device, terminal and storage medium | |
CN112118538A (en) | Method and device for device information interaction between terminals | |
CN106707978B (en) | Method for transferring intelligent household control right through address book and address book | |
WO2017148060A1 (en) | Switching method and system for working mode of remote controller, and related device | |
CN104599473A (en) | Switching method and switching device of wireless communication mode | |
CN105807627A (en) | Control method and device of household appliance and mobile terminal | |
CN114339789A (en) | AP distribution network processing method and device | |
CN102571510B (en) | Communication system and method based on portable mobile terminal | |
WO2023274107A1 (en) | Bandwidth switching method and apparatus, device, and readable storage medium | |
CN112020062A (en) | Communication control method and system for household appliance | |
WO2021244519A1 (en) | Wi-fi control method and apparatus, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |