CN107257308A - A kind of control method of smart machine, smart machine and storage medium - Google Patents
A kind of control method of smart machine, smart machine and storage medium Download PDFInfo
- Publication number
- CN107257308A CN107257308A CN201710659888.3A CN201710659888A CN107257308A CN 107257308 A CN107257308 A CN 107257308A CN 201710659888 A CN201710659888 A CN 201710659888A CN 107257308 A CN107257308 A CN 107257308A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- control
- smart machine
- control data
- notify
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000015654 memory Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 3
- 241001269238 Data Species 0.000 claims 1
- 230000004044 response Effects 0.000 description 13
- 238000001514 detection method Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000006399 behavior Effects 0.000 description 3
- 230000000739 chaotic effect Effects 0.000 description 3
- 230000001276 controlling effect Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 238000005406 washing Methods 0.000 description 2
- 206010000210 abortion Diseases 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
- H04L12/2821—Avoiding conflicts related to the use of home appliances
-
- 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/4222—Remote control device emulator integrated into a non-television apparatus, e.g. a PDA, media center or smart toy
-
- 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/42221—Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
-
- 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/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
-
- 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 stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L2012/284—Home automation networks characterised by the type of medium used
- H04L2012/2841—Wireless
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Automation & Control Theory (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of control method of smart machine, smart machine and storage medium, this method includes:Receive the second control data of the second mobile terminal;Detect whether the smart machine has received the first control data of the first mobile terminal;If so, then according to default negotiation rules, being controlled power with first mobile terminal and second mobile terminal and consulting, obtain control negotiation result;According to the control negotiation result, selection continues to receive first control data, or selection terminates first control data, and the control of the smart machine is transferred into second mobile terminal.The present invention solve multiple mobile terminals at the same time operational control same smart machine when, what is produced between the mobile terminal that user is held interferes the problem of influence, smart machine resource reasonable coordination are distributed, the problem of improving stability of the smart machine under multi-user's mode of operation.
Description
Technical field
The present invention relates to electronic equipment control field, more particularly to a kind of control method of smart machine, smart machine and
Storage medium.
Background technology
In recent years, mobile broadband technology and smart machine technology are developed rapidly, and such as mobile phone and flat board mobile terminal are progressively
Enter huge numbers of families.Wireless wifi functions also turn into various mobile terminals and such as set top box, intelligent refrigerator, intelligence laundry already
The standard configuration of the various smart machines such as machine and intelligent television, the function of intelligent terminal and operation also intelligent and hommization increasingly.
When the various mobile terminals such as mobile phone utilize wireless wifi, pass through the various smart machines such as wireless router and set top box
Set up after wireless communication connection, user can intelligently be set by mobile terminals such as mobile phones on its touch-screen to such as set top box etc.
It is standby to carry out operational control, so as to change traditional control method of the user by smart machines such as remote controller operation such as set top boxes.
But, generally there are multiple mobile terminals in one family, when the operational control simultaneously of these mobile terminals is same simultaneously
During intelligent terminal, there will necessarily be the technical problem for how coordinating control.
The content of the invention
The observation control technology scheme that existing smart machine is used at present, is not all accounted for when multiple mobile terminals are same
When operational control same such as set top box smart machine when, how to be controlled the coordination problem of power.For example, working as mobile terminal
When A carries out operational control to set top box, mobile terminal B also has accessed when such, and does not know completely in mobile terminal B
Road mobile terminal A just in operational control set top box, and no process mobile terminal A authorize in the case of, if also directly it is right
Set top box carries out operational control, then mobile terminal B will directly influence A pairs of mobile terminal to the operational control result of set top box
The normal of set top box is used.Now, if mobile terminal C is also accessed into, then mobile terminal C is not passing through mobile terminal
In the case of A and B mandates, if direct operational control, its operational control result can also be carried out to smart machines such as set top boxes
It would necessarily affect usage experiences of the mobile terminal A and B to smart machines such as set top boxes.
As the above analysis, the prior art of the smart machine such as mobile terminal operational control such as set top box is a kind of unordered
Random control mode, under these conditions, easily there arises a problem that, i.e., the operation of one user (such as party A-subscriber) is not being known
In the case of feelings, it may arbitrarily be upset by the operation of another user (such as party B-subscriber), cause operation of the user to STB terminal
It is completely out of control.
In view of this, the purpose of the present invention is to propose to a kind of control method of smart machine, smart machine and storage medium,
With solve multiple mobile terminals at the same time operational control same smart machine when, produce between the mobile terminal that user is held
The problem of influence, smart machine resource reasonable coordination are distributed is interfered, smart machine is improved under multi-user's mode of operation
The problem of stability.
To achieve the above object, the present invention is adopted the following technical scheme that:
In a first aspect, the embodiments of the invention provide a kind of control method of smart machine, including:
Receive the second control data of the second mobile terminal;
Detect whether the smart machine has received the first control data of the first mobile terminal;
If so, being then controlled according to default negotiation rules with first mobile terminal and second mobile terminal
Power is consulted, and obtains control negotiation result;
According to the control negotiation result, selection continues to receive first control data, or selects termination described
First control data, and receive second control data of second mobile terminal.
Further, it is described then according to default negotiation rules, with first mobile terminal and second mobile terminal
Being controlled the step of power is consulted includes:
Send first to consult to notify to first mobile terminal, described first consults to notify to be used to notify described first to move
Dynamic terminal, the smart machine receives second control data;
Send the first control and consult request to first mobile terminal, the first control negotiation request is used for please
First mobile terminal is asked temporarily to interrupt the control to the smart machine;
Send second to consult to notify to second mobile terminal, described second consults to notify to be used to notify described second to move
Dynamic terminal, the smart machine has currently received first control data, and first control please be waited to consult request knot
Really.
Further, described according to the negotiation result, selection continues to receive first control data, or selection is eventually
Only first control data, and include the step of receive second control data of second mobile terminal:
If the negotiation result is first mobile terminal not interrupt right control, selection continues to receive first control
System request;Or
If the negotiation result is the first mobile terminal interrupt right control, selection terminates first control please
Ask, and receive second control data of second mobile terminal;Or
If the negotiation result be first mobile terminal in preset time, be not responding to the control and consult, then
Selection terminates first control data, and receives second control data of second mobile terminal.
Further, before the step of selection terminates first control data, in addition to:
Field data of first mobile terminal to the current operation scene of the smart machine is preserved, wherein, work as institute
When stating the first mobile terminal and obtaining the control of the smart machine again, the field data is utilized, recovers the current behaviour
Make scene.
Further, after the step of selection continues to receive first control data, in addition to:
The control of second mobile terminal is obtained into priority update to obtain to the control of first mobile terminal
After taking priority;
After the first control data described in first terminating mobile terminal is detected, obtain preferential according to the control
Level, preferentially sends the 4th to second mobile terminal and consults to notify;
Consult to notify according to the described 4th, notify second mobile terminal, the institute to be subjected such as the smart machine is in
State the state of the second mobile terminal control.
Further, the step of control by the smart machine transfers second mobile terminal includes:
The 6th negotiation is sent to notify to second mobile terminal;
Consult to notify by the described 6th, make second mobile terminal from the control negotiation state, into can
Control the state of the smart machine.
Further, if the negotiation result be first mobile terminal in preset time, be not responding to described
Control is consulted, then selection terminates first control data, and receives second control of second mobile terminal
After the step of request, in addition to:
The 3rd negotiation is sent to notify to first mobile terminal;
Consult to notify according to the described 3rd, notify first mobile terminal, the control of the smart machine from
First mobile terminal is assigned to second mobile terminal.
Second aspect, the embodiments of the invention provide a kind of smart machine, including memory, processor and is stored in storage
On device and the computer program that can run on a processor, such as first party is realized described in the computing device during computer program
The control method of any described smart machine in face.
The third aspect, the embodiments of the invention provide a kind of storage medium for including computer executable instructions, the meter
Calculation machine executable instruction as computer processor being performed to realize a kind of smart machine as described in any in first aspect
Control method.
The beneficial effects of the invention are as follows:Control method, smart machine and the storage for a kind of smart machine that the present invention is provided
Medium, by the way that after the second control data of the second mobile terminal is received, whether detection smart machine has received the first movement
First control data of terminal, if so, then being controlled according to default negotiation rules with the first mobile terminal and the second mobile terminal
System power is consulted, and obtains control negotiation result, according to control negotiation result, is selected the technological means of mobile terminal, is solved
In the prior art, the multiple mobile terminals of one family simultaneously operational control same smart machine when, user passes through mobile terminal control
Since the operation of smart machine processed disturbed and operated a uncertain position the problem of, a user (such as party A-subscriber)
Operation may arbitrarily be upset by the operation of another user (such as party B-subscriber) in the case of unwitting, cause user to such as machine top
The operation of the smart machines such as box is completely out of control, so as to bring extremely bad Consumer's Experience.
With in the prior art, a kind of unordered random controlling party of the smart machine such as mobile terminal operational control such as set top box
Formula is compared, the technical scheme that the present invention is provided, and can consult the sound of request according to control under multi-user operation control scene
Should, according to default negotiation rules, coordinate the control data of different mobile terminal, ensure that multi-user has to smart machine
Sequence is controlled, to avoid when multi-user operation is controlled, and the situation of out of control or chaotic control is operated to smart machine, coordinates multiple use
Control of the family to smart machine, lifts Consumer's Experience indirectly.
Brief description of the drawings
The exemplary embodiment of the present invention will be described in detail by referring to accompanying drawing below, makes one of ordinary skill in the art
Become apparent from the above-mentioned and other feature and advantage of the present invention, accompanying drawing:
Fig. 1 is a kind of schematic flow sheet of the control method for smart machine that the embodiment of the present invention one is provided;
Fig. 2 is a kind of schematic flow sheet of the control method for smart machine that the embodiment of the present invention two is provided;
Fig. 3 is a kind of schematic flow sheet of the control method for smart machine that the embodiment of the present invention three is provided;
Fig. 4 is a kind of structured flowchart for smart machine that the embodiment of the present invention four is provided.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It may be appreciated
It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for explanation
, for the ease of description, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.In situation about not conflicting
Under, the feature in the embodiment of the present invention and embodiment can be mutually combined.
Embodiment one
A kind of control method of smart machine provided in an embodiment of the present invention.This method is applied to multiple mobile terminals same
When the same smart machine of operational control situation, this method can be by such as intelligent air condition, STB terminal and intelligent washing machine etc.
The smart machine of intelligent control can be carried out to perform.Specifically can be by being deployed in smart machine and/device software and/or hard
The mode of part is realized.Below with STB terminal control to illustrate, as shown in figure 1, this method includes:
Step 110, the second control data for receiving the second mobile terminal.
Mobile terminal can be the Portable intelligent terminals such as mobile phone, flat board, and smart machine can be intelligent air condition, set top box
The terminal device such as terminal and intelligent washing machine.Mobile terminal can wirelessly be passed with smart machine by wireless router, bluetooth etc.
Transfer device carries out UNICOM and data interaction.
Second mobile terminal can be that any one does not set up the handheld terminal that network control is connected with STB terminal,
Such as:Mobile phone and flat board.
After the second mobile terminal sends control data, the second control that STB terminal receives the second mobile terminal please
Ask.
Whether step 120, detection smart machine have received the first control data of the first mobile terminal.
First control data refers to that the control data that the first mobile terminal is sent to smart machine is instructed, and is connect in smart machine
By after, the first mobile terminal can be controlled to smart machine.
First mobile terminal can set up the handheld terminal that network control is connected with STB terminal.
After the second mobile terminal control data is received, STB terminal needs to detect whether there is the first movement eventually
Hold, and network control has been established with the first mobile terminal and be connected.
Step 130, if so, then according to default negotiation rules, being controlled with the first mobile terminal and the second mobile terminal
Power is consulted, and obtains control negotiation result.
If STB terminal has received the first control data of the first mobile terminal, now in the presence of the second mobile terminal to machine
Set top box terminal sends control data, and STB terminal passes through nothing after the control data of the second mobile terminal transmission is received
The radio transmission apparatus such as line router or bluetooth sends control and consults request to the first mobile terminal and the second mobile terminal, carries out
Control is consulted;Obtain the control negotiation result of the first mobile terminal and the second mobile terminal.
Exemplarily, default negotiation rules can be:After the second mobile terminal, which is sent, waits negotiation instruction, the first movement
When terminal sends not assignment controller instruction, the control of the first mobile terminal is received;Consult when the second mobile terminal sends to wait
Instruction, when the first mobile terminal sends assignment controller instruction, receives the control of the second mobile terminal;When the second mobile terminal hair
Send wait to consult instruction, when the first mobile terminal is without response, receive the control of the first mobile terminal;When the second mobile terminal is sent
When being not to wait for consulting instruction, the control of the first mobile terminal is received.
Step 140, according to control negotiation result, selection continues to receive the first control data, or selection terminates first
Control data, and receive the second control data of the second mobile terminal.
The response that the second mobile terminal and the first mobile terminal consult request to control is taken over respectively, the second mobile terminal
Response includes:Wait and consult and be not to wait for consult;The response of first mobile terminal includes:Transfer the possession of control, not assignment controller
With without response, wherein, no response is probably because the first mobile terminal can not network or user's operation is in offline and do not have
Use the first mobile terminal.
A kind of control method of smart machine provided in an embodiment of the present invention, is receiving the second control of the second mobile terminal
After request, whether detection smart machine has received the first control data of the first mobile terminal, if so, then according to default negotiation
Rule, is controlled power with the first mobile terminal and the second mobile terminal and consults, control negotiation result is obtained, according to control
Negotiation result, selection continues to receive the first control data, or selection terminates the first control data, and receives the second movement eventually
Second control data at end.Because existing smart machine can not hold consultation processing to multiple mobile terminals, in multi-user
Under operational control scene, generally using a kind of unordered random control mode, it is easy to cause the operation of a mobile terminal to exist
It can arbitrarily be upset by the operation of another mobile terminal in the case of unwitting, cause mobile terminal to operate STB terminal and lose
The situation of control, compared with prior art, the embodiment of the present invention can be consulted to advise under multi-user operation control scene according to default
Then, control negotiation result is obtained, coordinates the control data of different mobile terminal, ensure that multi-user is carried out to smart machine
Control in order, to avoid when multi-user operation is controlled, the situation of out of control or chaotic control is operated to smart machine, is coordinated multiple
Control of the user to smart machine, lifts Consumer's Experience indirectly.
Embodiment two
The present embodiment is further optimized on the basis of above-described embodiment to step 130.As shown in Fig. 2 should
Method includes:
Step 210, the second control data for receiving the second mobile terminal.
Whether step 220, detection smart machine have received the first control data of the first mobile terminal.
Step 230, if so, sending first consult to notify to the first mobile terminal, first consults to notify to be used to notify first
Mobile terminal, smart machine receives the second control data.
Send first consult notify to the first mobile terminal purpose be in order to notify the first mobile terminal, its control end
Smart machine have received the second control data of the second mobile terminal transmission.
Consult to notify by sending first, the information of control smart machine mobile terminal can will be asked to be sent to and controlled
The mobile terminal of smart machine processed so that, enable to control smart machine mobile terminal be apparent from it is to be accessed
The information of mobile terminal, so as to judge whether temporarily to interrupt the control to intelligent terminal.
Step 240, transmission the first control negotiation request are to the first mobile terminal, and the first control consults request for asking
The first mobile terminal is asked temporarily to interrupt the control to smart machine.
Send the first control and consult request to the first mobile terminal, held consultation with the first mobile terminal, if can be with
Temporarily interrupt the control to smart machine.
Consult request by sending the first control, held consultation with the first mobile terminal, solicit the first mobile terminal use
The opinion at family, make user know in the case of selected, it is ensured that the user's right of the first mobile terminal user, lifting user
Satisfaction.
Step 250, transmission second are consulted to notify that the second negotiation notice is for notifying the second movement whole to the second mobile terminal
End, smart machine has currently received the first control data, and the first control please be waited to consult request results.
Second is sent to consult to notify to the second mobile terminal, make the second mobile terminal user know smart machine by
First mobile terminal is controlled, it is impossible to is received its control data in time, it is necessary to be held consultation with the first mobile terminal, is asked the second movement
Terminal waits negotiation result, in the case where the second mobile terminal user knows, and can choose whether to wait, it is to avoid blindly wait
The bad experience brought to user.
Step 260, according to control negotiation result, selection continues to receive the first control data, or selection terminates first
Control data, and receive the second control data of the second mobile terminal.
Further, before the step of selection terminates the first control data, in addition to:The first mobile terminal is preserved to intelligence
The field data at the current operation scene of energy equipment, wherein, when the first mobile terminal obtains the control of smart machine again,
Using field data, recover current operation scene.
Memory cell on STB terminal can be stored to box end real time execution scene state, can be moved first
Storage is marked in operation presence states when the facility information and its operational control STB terminal of dynamic terminal, operation here
Presence states can be real-time scene information when user operates STB terminal by mobile terminal;Exemplarily, if
Programme televised live is played, then records the channel number for playing program and the volume of its output, if local program is played,
Then record and playing storage location, reproduction time progress and output volume size where program, if internet program is broadcast
Put, then the network address, reproduction time progress and the output volume size played where program are recorded, if picture phase
Volume, then record the positional information shown where picture file, if web page browsing state, then record current web page place
The network address, these operation presence states information and the facility information of mobile terminal are stored in memory cell in the lump, convenient
Mobile terminal recovery operation is transferred when live.
A kind of control method of smart machine provided in an embodiment of the present invention, is receiving the second control of the second mobile terminal
Request, detection smart machine has received after the first control data of the first mobile terminal, sends first and consults to notify to basis
First mobile terminal, is notified according to the first mobile terminal, is received according to smart machine according to the second control data, is sent first
Control consults request to according to the first mobile terminal, and request is temporarily interrupted to according to smart machine according to the first mobile terminal
Control, sends second and consults to notify that notice is worked as according to the second mobile terminal according to smart machine to according to the second mobile terminal
It is preceding to have received according to the first control data, it please wait and request results are consulted according to the first control, be consulted according to the first control
Request results, redefine control.The embodiment of the present invention can be assisted under multi-user operation control scene by sending first
Business notifies and the second negotiation notifies to be controlled power to the second mobile terminal and control consults to notify, the first control of transmission association
Consult and request to ask and be controlled power negotiation to the first mobile terminal, realize the coordination to different mobile terminal control data, it is ensured that many
User is controlled smart machine in order, to avoid when multi-user operation is controlled, and out of control or confusion is operated to smart machine
The situation of control, coordinates control of multiple users to smart machine, Consumer's Experience is lifted indirectly.
Embodiment three
The present embodiment has carried out specific optimization on the basis of above-described embodiment to the processing procedure after negotiation.Such as Fig. 3 institutes
Show, this method includes:
Step 310, the second control data for receiving the second mobile terminal.
Whether step 320, detection smart machine have received the first control data of the first mobile terminal.
Step 330, if so, then according to default negotiation rules, being controlled with the first mobile terminal and the second mobile terminal
Power is consulted, and obtains control negotiation result.
If step 340, negotiation result are the first mobile terminal not interrupt right control, selection continues the control of receiving first please
Ask;Or if negotiation result is the first mobile terminal interrupt right control, selection terminates the first control data, and receives second
Second control data of mobile terminal;If or negotiation result be the first mobile terminal in preset time, be not responding to control
Consult, then selection terminates the first control data, and receives the second control data of the second mobile terminal.
Further, after the step of selection continues to receive the first control data, in addition to:
The control of second mobile terminal is obtained into priority update to the control acquisition priority of the first mobile terminal
Afterwards;
After first the first control data of terminating mobile terminal is detected, priority is obtained according to control, preferentially to the
Two mobile terminals, which send the 4th, to be consulted to notify;
Consult to notify according to the 4th, notify the second mobile terminal, the second mobile terminal control to be subjected such as smart machine is in
The state of system.
By setting priority, it ensure that user obtains the control to smart machine successively, make each mobile terminal
Smart machine can in order be controlled, ensure the rights and interests of each mobile terminal user.
Further, the step of control of smart machine being transferred into the second mobile terminal includes:
The 6th negotiation is sent to notify to the second mobile terminal;
Consult to notify by the 6th, make the second mobile terminal from control negotiation state, entrance can control smart machine
State.
Further, if negotiation result be the first mobile terminal in preset time, be not responding to control negotiation, then select
After the step of terminating the first control data, and receive the second control data of the second mobile terminal, in addition to:
The 3rd negotiation is sent to notify to the first mobile terminal;
Consult to notify according to the 3rd, notify the first mobile terminal, the control of smart machine is from the first mobile terminal
The second mobile terminal is given.
If the first mobile terminal does not send any negotiation result in preset time, the first mobile terminal may come out
Band line or off-line state, illustrate that the first mobile terminal has lost the control to smart machine, smart machine is gone out without control
State, now, smart machine can receive the control data of other mobile terminals.Preferably, preset time can be 30s or
60s.By the judgement to preset time, can effectively avoid the first mobile terminal band line or it is offline when, intelligence is occupied for a long time
The control of energy terminal, causes other mobile terminals to obtain intelligent terminal control in time, causes intelligent terminal long-term
Take, it is impossible to the phenomenon of control, be unfavorable for user and use, Consumer's Experience is reduced indirectly.
The implementation of the present invention is illustrated for convenience, is illustrated now by taking set top box as an example, now, in one family
There are two Member Users A and user B, they operate with same STB terminal by mobile terminal, by above-mentioned
Exemplified by application scenarios, the implementation process of the present invention is elaborated.
STB terminal exposes the process of equipment of itself information to mobile terminal.Serve end program on STB terminal will
The facility information of itself, such as:Device name, IP address, port numbers and resource type of access etc. can be provided, constitute network data
Bag, lasting transmission is carried out by wireless router at regular intervals;Set top box present in search by mobile terminal network
Terminal device, the mobile terminal client terminal program that user A, B are used receives STB terminal hair by setting up network intercepting task
The broadcast data packet sent, specific facility information present in network is obtained by parsing the packet received, and with list of devices
Form be presented in client;Now, mobile terminal can carry out operational control to STB terminal, and mobile terminal A is from visitor
STB terminal equipment is selected in the list of devices of family end program, and net is set up by wireless router with STB terminal equipment
Network is connected, and the touch-control interactive interface that user A is presented by mobile terminal A client-side program is touched or clicked on behaviour
Make, mobile terminal A client-side program will be touched or clicking operation is changed according to the direction of touch and the positional information of click
It is transmitted into packet, and by web socket to STB terminal;STB terminal sends control instruction to user terminal,
Network intercepting task is created in STB terminal, is responsible for the packet that the hand-held end equipment of real-time reception is sended over, by unpacking
After parsing, obtain the specifying information of packet sender mobile terminal A equipment, these information include MAC Address, IP address and
The network port number used is communicated, while obtaining the control instruction information of packet carrying, these information are in STB terminal
Sensing such as moves left, moved right, moving up, moving down, determining, returning, exiting at the control instruction, and STB terminal will be controlled
Command sequence processed is sent to the control unit of STB terminal, control unit response control command sequence successively, realizes to machine top
The scheduling controlling of box resource, these scheduling controllings include:The broadcasting of programme televised live, the broadcasting of local program, internet program are broadcast
Put, the browsing of picture albums, the presentation of webpage, the control of volume and set-top box application are called.
When mobile terminal B device is linked into network, by its client-side program, request is initiated STB terminal to operate
Control data, STB terminal is received after the control data of B device, detection and the mobile terminal itself established a connection
Equipment situation, finds that mobile terminal A equipment is existing by detecting, then sends a notification message first and give mobile terminal B, inform shifting
Dynamic terminal B currently has mobile terminal A equipment to use STB terminal resource, it is expected that mobile terminal B waits STB terminal
With the negotiation result of mobile terminal A equipment, and send a notification message and give mobile terminal A, inform mobile terminal A currently have it is mobile eventually
Hold B device request to use STB terminal resource, expect mobile terminal A temporary transfer controls, and behaviour is preserved for mobile terminal A
Vertical presence states.
Mobile terminal A is received after the resource negotiation request of STB terminal transmission, and user A connects according to own situation selection
By either selection is refused or (such as client A has left, mobile terminal A and set-top box terminal network connect due to other reasonses
Connect failure), mobile terminal A does not have response in the range of the time threshold of agreement, according to above-mentioned three kinds of situations, in mobile terminal B
Wait in the case of consulting, STB terminal can respectively be handled as follows according to three kinds of type of messages:
After mobile terminal A selects to receive, STB terminal is received after this type of receiveing the response, and it is single that box end starts storage
Member, mobile terminal A real time execution scene state is preserved in time, the content specifically preserved includes, if live section
Mesh is played, then records the channel number for playing program and the volume of its output, if local program is played, then record
Storage location, reproduction time progress and the output volume size where program are being played, if internet program is played, is then being remembered
The network address, reproduction time progress and the output volume size where program are being played in record, if picture albums, are then recorded
The positional information where picture file is being shown, if web page browsing state, then the network where current web page is being recorded
Location etc., then notifies mobile terminal B, and box end resource is in ready state, can initiate operational control to box end resource;Move
Dynamic terminal B is received after the response notification of STB terminal, is jumped out from cycle of states Wait Screen is responded, is entered access customer operational control
Own resource administration authority is given mobile terminal B and is called and controls by interface, STB terminal, and user B is by mobile whole
The touch-control interactive interface that client-side program on the B of end is presented, is touched or clicking operation, mobile terminal B client
Program will be touched or clicking operation is converted into packet according to the direction of touch and the positional information of click, and pass through network set
Connect word to be transmitted to STB terminal, STB terminal provides resource for mobile terminal B by foregoing description operating process and adjusted
Degree and data transport service.
After mobile terminal A selects to refuse, STB terminal is received after this type of receiveing the response, and box end turns this message
Mobile terminal B is issued, mobile terminal B is received after this type of message, remain running in response cycle of states waiting process, and bullet
Go out to select prompted dialog frame, inform that user's B current boxs end resource is used by another user A, ask user B selections to continue
Wait idling-resource or terminate this request, user B continues waiting for operating with ending request according to own situation selection;When with
When B selections in family are continued waiting for, box end receives user B this selection message, records, while mobile terminal B is dispatched into box
The priority of end resource is improved to user A, and when box end, which detects user A, exits box end resource request, box end is preferentially right
Mobile terminal B sends a notification message, and informs that its box end resource is in ready state, can initiate box end resource operation control
After system, the notified message of mobile terminal B, scheduling and control to box end resource just can be realized;When mobile terminal B selections are exited
When, it is not necessary to send this request service that any message can unilaterally terminate to be initiated by mobile terminal B to box end.
After STB terminal sends resource negotiation request message to mobile terminal A, mobile terminal A is in preset time range
When inside not having response, mobile terminal A real time execution scene state is preserved in time, mobile terminal B, box end is then notified
Resource is in ready state, can initiate operational control to box end resource;Simultaneously notification type is sent to mobile terminal A
Message, informs that mobile terminal A has handed to another mobile terminal B to the control of set top box resource and used, if mobile terminal A
When reusing STB terminal resource, please request is initiated to STB terminal again.Said process, mobile terminal A and B are realized
To STB terminal scheduling of resource and control.
A kind of control method of smart machine provided in an embodiment of the present invention, is receiving the second control of the second mobile terminal
After request, whether detection smart machine has received the first control data of the first mobile terminal, if so, then according to default negotiation
Rule, is controlled power with the first mobile terminal and the second mobile terminal and consults, control negotiation result is obtained, if negotiation result
For the first mobile terminal not interrupt right control, then selection continues to receive the first control data;If or negotiation result is the first shifting
Dynamic terminal aborts control, then selection terminates the first control data, and receives the second control data of the second mobile terminal;Or
If person's negotiation result be the first mobile terminal in preset time, be not responding to control negotiation, then selection terminate first control please
Ask, and receive the second control data of the second mobile terminal.The embodiment of the present invention is controlled in multi-user operation under scene, according to
Control negotiation result, selects mobile terminal, coordinates the control data of different mobile terminal, ensure that multi-user sets to intelligence
It is standby to be controlled in order, to avoid when multi-user operation is controlled, the situation of out of control or chaotic control, association are operated to smart machine
Control of multiple users to smart machine is adjusted, Consumer's Experience is lifted indirectly.
Example IV
Fig. 4 is a kind of structural representation for smart machine that the embodiment of the present invention three is provided.As shown in figure 4, the intelligence is set
It is standby to include:Processor 410, memory 420, input unit 430 and output device 440;Processor in equipment/terminal/server
410 quantity can be one or more, in Fig. 4 by taking a processor 410 as an example;Processor in equipment/terminal/server
410th, memory 420, input unit 430 and output device 440 can be connected by bus or other modes, to pass through in Fig. 4
Exemplified by bus connection.
Memory 420 can perform journey as a kind of computer-readable recording medium available for storage software program, computer
Corresponding programmed instruction/the module of method of smart machine in sequence and module, such as embodiment of the present invention.Processor 410 passes through
Operation is stored in software program, instruction and module in memory 420, so as to perform the various work(of equipment/terminal/server
It can apply and data processing, that is, realize above-mentioned smart machine method.
Memory 420 can mainly include storing program area and storage data field, wherein, storing program area can store operation system
Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to terminal.This
Outside, memory 420 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can enter one
Step includes the memory remotely located relative to processor 410, and these remote memories can pass through network connection to equipment/end
End/server.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and its group
Close.
Input unit 430 can be used for the numeral or character information for receiving input, and generation and the user of smart machine to set
Put and the input of key signals that function control is relevant.Output device 440 may include the display devices such as display screen.
A kind of smart machine that the present embodiment is provided, can perform a kind of smart machine that any embodiment of the present invention is provided
Control method, possess corresponding function and beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to this
A kind of control method for smart machine that invention any embodiment is provided.
Embodiment five
The embodiment of the present invention five also provides a kind of storage medium for including computer executable instructions, and computer is executable to be referred to
Make when being performed by computer processor for performing a kind of method of smart machine control, this method includes:
Receive the second control data of the second mobile terminal;
Whether detection smart machine has received the first control data of the first mobile terminal;
If so, then according to default negotiation rules, being controlled power with the first mobile terminal and the second mobile terminal and consulting, obtain
To control negotiation result;
According to control negotiation result, selection continues to receive the first control data, or selection terminates the first control data,
And receive the second control data of the second mobile terminal.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer
The method operation that executable instruction is not limited to the described above, can also carry out the smart machine that any embodiment of the present invention is provided
Method in associative operation.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
Can be realized by software and required common hardware, naturally it is also possible to realized by software or hardware, but in many cases before
Person is more preferably embodiment.Understood based on such, technical scheme is substantially made to prior art in other words
The part of contribution can be embodied in the form of software product, and the computer software product can be stored in computer-readable deposit
In storage media, such as floppy disk, read-only storage (Read-Only Memory, ROM), the random access memory of computer
(Random Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are to cause one
Computer equipment (can be personal computer, server, or network equipment etc.) is performed described in each embodiment of the invention
Method.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (9)
1. a kind of control method of smart machine, it is characterised in that including:
Receive the second control data of the second mobile terminal;
Detect whether the smart machine has received the first control data of the first mobile terminal;
If so, being then controlled power association with first mobile terminal and second mobile terminal according to default negotiation rules
Business, obtains control negotiation result;
According to the control negotiation result, selection continues to receive first control data, or selection terminates described first
Control data, and receive second control data of second mobile terminal.
2. according to the method described in claim 1, it is characterised in that described then according to default negotiation rules, moved with described first
Dynamic terminal and second mobile terminal, which are controlled the step of power is consulted, to be included:
Send first to consult to notify to first mobile terminal, described first consults to notify to be used to notify first movement eventually
End, the smart machine receives second control data;
Send the first control and consult request to first mobile terminal, first control, which consults request, to be used to ask institute
State the first mobile terminal temporarily control of the interruption to the smart machine;
Send second to consult to notify to second mobile terminal, described second consults to notify to be used to notify second movement eventually
End, the smart machine has currently received first control data, and first control please be waited to consult request results.
3. according to the method described in claim 1, it is characterised in that described according to the negotiation result, selection continues to receive institute
State the first control data, or selection terminates first control data, and receive described the of second mobile terminal
The step of two control datas, includes:
If the negotiation result is first mobile terminal not interrupt right control, selection continues receiving first control please
Ask;Or
If the negotiation result is the first mobile terminal interrupt right control, selection terminates first control data, with
And receive second control data of second mobile terminal;Or
If the negotiation result be first mobile terminal in preset time, be not responding to the control and consult, then select
First control data is terminated, and receives second control data of second mobile terminal.
4. according to the method described in claim 1, it is characterised in that the step of selection terminates first control data it
Before, in addition to:
Field data of first mobile terminal to the current operation of smart machine scene is preserved, wherein, when described the
When one mobile terminal obtains the control of the smart machine again, using the field data, recover the current operation and show
.
5. method according to claim 3, it is characterised in that continue to receive first control data in the selection
After step, in addition to:
The control acquisition that the control of second mobile terminal is obtained into priority update to first mobile terminal is excellent
After first level;
After the first control data described in first terminating mobile terminal is detected, priority is obtained according to the control,
It is preferential to send the 4th negotiation notice to second mobile terminal;
Consult to notify according to the described 4th, notify second mobile terminal, the smart machine is in etc. to be subjected described the
The state of two mobile terminals control.
6. method according to claim 3, it is characterised in that the control by the smart machine transfers described
The step of second mobile terminal, includes:
The 6th negotiation is sent to notify to second mobile terminal;
Consult to notify by the described 6th, make second mobile terminal from the control negotiation state, entrance can be controlled
The state of the smart machine.
7. method according to claim 3, it is characterised in that if the negotiation result is first mobile terminal
In preset time, it is not responding to the control and consults, then selection terminates first control data, and receives described second
After the step of second control data of mobile terminal, in addition to:
The 3rd negotiation is sent to notify to first mobile terminal;
Consult to notify according to the described 3rd, notify first mobile terminal, the control of the smart machine is from described
First mobile terminal has given second mobile terminal.
8. a kind of smart machine, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, it is characterised in that realized described in the computing device during computer program as described in any in claim 1~7
Smart machine control method.
9. a kind of storage medium for including computer executable instructions, the computer executable instructions are by computer processor
Perform to realize a kind of control method of smart machine as described in any in claim 1~7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710659888.3A CN107257308A (en) | 2017-08-04 | 2017-08-04 | A kind of control method of smart machine, smart machine and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710659888.3A CN107257308A (en) | 2017-08-04 | 2017-08-04 | A kind of control method of smart machine, smart machine and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107257308A true CN107257308A (en) | 2017-10-17 |
Family
ID=60026179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710659888.3A Pending CN107257308A (en) | 2017-08-04 | 2017-08-04 | A kind of control method of smart machine, smart machine and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107257308A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542377A (en) * | 2018-11-16 | 2019-03-29 | 深圳时空数字科技有限公司 | Smart machine, display equipment, storage equipment and screen display interactive control method |
CN110099119A (en) * | 2019-05-07 | 2019-08-06 | 百度在线网络技术(北京)有限公司 | Data sharing method and device |
CN110244607A (en) * | 2019-05-30 | 2019-09-17 | 中山市铧禧电子科技有限公司 | A kind of the control restriction method and storage medium, gas utensil of wireless controlled plant |
WO2021027436A1 (en) * | 2019-08-12 | 2021-02-18 | 珠海格力电器股份有限公司 | Method for controlling device, and server |
CN115314331A (en) * | 2022-06-28 | 2022-11-08 | 青岛海尔科技有限公司 | Control method and device of intelligent terminal, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101547190A (en) * | 2008-03-28 | 2009-09-30 | 华为技术有限公司 | Method and system for controlling media stream and logic entity |
CN101951368A (en) * | 2010-09-10 | 2011-01-19 | 深圳市同洲电子股份有限公司 | Service authority control method, terminal and system based on subnet |
US20110054641A1 (en) * | 2009-09-02 | 2011-03-03 | Samsung Electronics Co., Ltd. | Controlling device, controlled device, controlling system, and method for providing controlling authority |
CN105223913A (en) * | 2014-06-30 | 2016-01-06 | 青岛海尔智能家电科技有限公司 | The method controlled for equipment and device |
-
2017
- 2017-08-04 CN CN201710659888.3A patent/CN107257308A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101547190A (en) * | 2008-03-28 | 2009-09-30 | 华为技术有限公司 | Method and system for controlling media stream and logic entity |
US20110054641A1 (en) * | 2009-09-02 | 2011-03-03 | Samsung Electronics Co., Ltd. | Controlling device, controlled device, controlling system, and method for providing controlling authority |
CN101951368A (en) * | 2010-09-10 | 2011-01-19 | 深圳市同洲电子股份有限公司 | Service authority control method, terminal and system based on subnet |
CN105223913A (en) * | 2014-06-30 | 2016-01-06 | 青岛海尔智能家电科技有限公司 | The method controlled for equipment and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109542377A (en) * | 2018-11-16 | 2019-03-29 | 深圳时空数字科技有限公司 | Smart machine, display equipment, storage equipment and screen display interactive control method |
CN110099119A (en) * | 2019-05-07 | 2019-08-06 | 百度在线网络技术(北京)有限公司 | Data sharing method and device |
CN110244607A (en) * | 2019-05-30 | 2019-09-17 | 中山市铧禧电子科技有限公司 | A kind of the control restriction method and storage medium, gas utensil of wireless controlled plant |
WO2021027436A1 (en) * | 2019-08-12 | 2021-02-18 | 珠海格力电器股份有限公司 | Method for controlling device, and server |
CN115314331A (en) * | 2022-06-28 | 2022-11-08 | 青岛海尔科技有限公司 | Control method and device of intelligent terminal, storage medium and electronic device |
CN115314331B (en) * | 2022-06-28 | 2024-04-19 | 青岛海尔科技有限公司 | Control method and device of intelligent terminal, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107257308A (en) | A kind of control method of smart machine, smart machine and storage medium | |
EP3627336B1 (en) | Method and apparatus for sharing contents between devices | |
CN102325144B (en) | Method and system for interconnection between media equipment and multimedia equipment | |
CN103297557B (en) | Method and apparatus for distributing IP address within a wireless communication network | |
US20160309220A1 (en) | User terminal device and content sharing method thereof | |
CN107294793A (en) | Replacement method, device, equipment and the storage medium of intelligent home device | |
CN102801758B (en) | The remote system of terminal, remote operation method | |
CN103716901B (en) | Method, system and the relevant device connected between equipment | |
JP2002521925A5 (en) | ||
CN102421028B (en) | Control method for intelligent television (TV), intelligent TV, remote control device and intelligent TV control system | |
CN102724577A (en) | Method and system for television control and operation based on handheld equipment | |
CN102364957A (en) | Method, device and equipment for playing internet videos | |
CN108933948A (en) | A kind of video playing progress synchronous method and device | |
CN107454615B (en) | Set top box double-wifi control method | |
CN111580764A (en) | Screen sharing method, device, equipment and storage medium of intelligent interactive tablet | |
JPWO2016103546A1 (en) | Information processing apparatus, information processing method, and program | |
CN106559702B (en) | Multi-screen interaction method and system, home gateway | |
CN107820289A (en) | A kind of WIFI network switching method, device, terminal and medium | |
CN101156379A (en) | Method and system for selecting service quality policy | |
CN103731562B (en) | For the method and apparatus of smart machine Adaptive matching bluetooth equipment | |
CN113741762A (en) | Multimedia playing method, device, electronic equipment and storage medium | |
CN106789488B (en) | Intelligent household equipment management method and device | |
US9654529B2 (en) | Method, apparatus and system for implementing service control of home network device | |
CN102541499A (en) | Managing method and device of local computer equipment | |
CN104811334B (en) | The management method of more CEC communication apparatus |
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: 20171017 |
|
RJ01 | Rejection of invention patent application after publication |