CN105872655B - Apparatus control method, device and electronic equipment - Google Patents
Apparatus control method, device and electronic equipment Download PDFInfo
- Publication number
- CN105872655B CN105872655B CN201610179438.XA CN201610179438A CN105872655B CN 105872655 B CN105872655 B CN 105872655B CN 201610179438 A CN201610179438 A CN 201610179438A CN 105872655 B CN105872655 B CN 105872655B
- Authority
- CN
- China
- Prior art keywords
- main control
- modulation code
- control device
- target
- controlled device
- 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/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/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/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 provides a kind of apparatus control method, device and electronic equipment, and this method is applied to main control device, comprising: sends information acquisition request to the first controlled device, user is carried in the information acquisition request and is directed to the operation information that main control device is made;The target information of the first controlled device transmission is received, the first controlled device is determined according to aforesaid operations information for assisting main control device to determine the target information of target modulation code;Target modulation code is determined according to above-mentioned target information;The control instruction for manipulating the second controlled device is generated based on above-mentioned target modulation code, and is sent to the second controlled device.It can be seen that, main control device in disclosed technique scheme can control another or multiple controlled devices by a controlled device, it realizes a main control device and controls multiple controlled devices, on the one hand confounding issues can be used caused by excessive to avoid by remote controler quantity, using more convenient, hardware cost on the other hand can be saved.
Description
Technical field
This disclosure relates to field of communication technology, in particular to a kind of apparatus control method, device and electronic equipment.
Background technique
With the development of communication technology, wireless remote control device is widely used in people's daily life, example
As the home equipment in domestic environment can be controlled by remote controler.In the related technology, each home equipment must be by
Remote controler matched with the home equipment is controlled, however as the increase of home equipment quantity in domestic environment, remote controler
Quantity also increasing, when remote controler quantity is excessive, user is easy to obscure when using remote controler, causes inconvenient for use.
Summary of the invention
To solve the above-mentioned problems, the disclosure provides a kind of apparatus control method, device and electronic equipment.
Specifically, the disclosure is achieved by the following technical solution:
According to the first aspect of the embodiments of the present disclosure, a kind of apparatus control method is provided, main control device, the side are applied to
Method includes:
Information acquisition request is sent to the first controlled device, wherein is carried user in the information acquisition request and is directed to
The operation information that the main control device is made;
Receive the target information that first controlled device is sent, wherein first controlled device is according to the operation
Information is determined for assisting the main control device to determine the target information of target modulation code;
Target modulation code is determined according to the target information;
The control instruction for manipulating the second controlled device is generated based on the target modulation code, and is sent to described second
Controlled device.
In one embodiment, the modulation code library of one or more types is stored in the main control device;The target letter
Breath includes following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code.
In one embodiment, the modulation code library in the main control device is obtained by following any modes:
The main control device presets the modulation code library of one or more types when leaving the factory;
When being communicated to connect for the first time with first controlled device, obtained from first controlled device one or more
The modulation code library of type.
In one embodiment, the target information includes:
Target modulation code.
In one embodiment, the modulation code is infrared code.
In one embodiment, the main control device is connect with first controlled device by Bluetooth-mode communication;It is described
Method further include:
The Connecting quantity adjustment instruction that the first controlled device is sent when receiving the information acquisition request is received,
In, the Connecting quantity adjustment instruction is for controlling each communication connection interval of the main control device in preset duration
Interval listens to the message of first controlled device;
According to the Connecting quantity adjustment instruction, will be locally located between each communication connection in the preset duration
The message of first controlled device is listened to every interval.
According to the second aspect of an embodiment of the present disclosure, a kind of apparatus control method is provided, the first controlled device, institute are applied to
The method of stating includes:
Receive the information acquisition request that main control device is sent, wherein carry user in the information acquisition request and be directed to
The operation information that the main control device is made;
According to the operation information, determine for assisting the main control device to determine the target information of target modulation code;
The target information is sent to the main control device, so that the main control device is generated according to the target information
For manipulating the control instruction of the second controlled device.
In one embodiment, the target information includes following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code;
Target modulation code.
In one embodiment, the target information are as follows: the mark in code library or target modulation code belonging to target modulation code
Mark;The method also includes:
When communicating to connect for the first time with the main control device, judge modulation code library whether is stored in the main control device;
It is not stored when having modulation code library in judging the main control device, the modulation code library of one or more types is sent out
Give the main control device.
In one embodiment, the modulation code is infrared code.
In one embodiment, the main control device is connect with first controlled device by Bluetooth-mode communication;It is described
Method further include:
When receiving the information acquisition request of main control device transmission, Connecting quantity tune is sent to the main control device immediately
Whole instruction, wherein the Connecting quantity adjustment instruction is used to control each communication of the main control device in preset duration and connects
Connect the message that interval interval listens to first controlled device.
According to the third aspect of an embodiment of the present disclosure, a kind of plant control unit is provided, main control device, the dress are applied to
It sets and includes:
Request sending module is configured as sending information acquisition request to the first controlled device, wherein the acquisition of information
User is carried in request is directed to the operation information that the main control device is made;
First receiving module is configured as receiving the target information that first controlled device is sent, wherein described first
Controlled device is determined according to the operation information for assisting the main control device to determine the target information of target modulation code;
Modulation code determining module is configured as determining target tune according to the target information that first receiving module receives
Code processed;
Directive generation module is configured as the target modulation code determined based on modulation code determining module generation and is used for
The control instruction of the second controlled device is manipulated, and is sent to second controlled device.
In one embodiment, the modulation code library of one or more types is stored in the main control device;The target letter
Breath includes following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code.
In one embodiment, described device further include:
Code library obtains module, is configured as obtaining the modulation code library of one or more types by following any modes:
The main control device presets the modulation code library of one or more types when leaving the factory;
When being communicated to connect for the first time with first controlled device, obtained from first controlled device one or more
The modulation code library of type.
In one embodiment, the target information includes:
Target modulation code.
In one embodiment, the modulation code is infrared code.
In one embodiment, the main control device is connect with first controlled device by Bluetooth-mode communication;It is described
Device further include:
Second receiving module is configured as receiving what the first controlled device was sent when receiving the information acquisition request
Connecting quantity adjustment instruction, and according to the Connecting quantity adjustment instruction, it is every in the preset duration by being locally located into
A communication connection interval interval listens to the message of first controlled device, wherein the Connecting quantity adjustment instruction is used
First controlled device is listened in controlling each communication connection interval interval of the main control device in preset duration
Message.
According to a fourth aspect of embodiments of the present disclosure, a kind of plant control unit is provided, the first controlled device, institute are applied to
Stating device includes:
Third receiving module is configured as receiving the information acquisition request that main control device is sent, wherein the acquisition of information
User is carried in request is directed to the operation information that the main control device is made;
Target information determining module is configured as being determined according to the operation information for assisting the main control device true
Set the goal the target information of modulation code;
First sending module is configured as the target information that the target information determining module is determined being sent to described
Main control device, so that the main control device generates the control instruction for manipulating the second controlled device according to the target information.
In one embodiment, the target information includes following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code;
Target modulation code.
In one embodiment, the target information are as follows: the mark in code library or target modulation code belonging to target modulation code
Mark;Described device further include:
Judgment module is configured as when communicating to connect for the first time with the main control device, judge be in the main control device
It is no to be stored with modulation code library;
Second sending module is configured as in the case where the judging result of the judgment module is no, will be a kind of or more
The modulation code library of seed type is sent to the main control device.
In one embodiment, the modulation code is infrared code.
In one embodiment, the main control device is connect with first controlled device by Bluetooth-mode communication;It is described
Device further include:
Third sending module is configured as when receiving the information acquisition request of main control device transmission, immediately to described
Main control device sends Connecting quantity adjustment instruction, wherein the Connecting quantity adjustment instruction exists for controlling the main control device
Each communication connection interval interval in preset duration listens to the message of first controlled device.
According to a fifth aspect of the embodiments of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Information acquisition request is sent to the first controlled device, wherein is carried user in the information acquisition request and is directed to
The operation information that the main control device is made;
Receive the target information that first controlled device is sent, wherein first controlled device is according to the operation
Information is determined for assisting the main control device to determine the target information of target modulation code;
Target modulation code is determined according to the target information;
The control instruction for manipulating the second controlled device is generated based on the target modulation code, and is sent to described second
Controlled device.
According to a sixth aspect of an embodiment of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the information acquisition request that main control device is sent, wherein carry user in the information acquisition request and be directed to
The operation information that the main control device is made;
According to the operation information, determine for assisting the main control device to determine the target information of target modulation code;
The target information is sent to the main control device, so that the main control device is generated according to the target information
For manipulating the control instruction of the second controlled device.
Main control device in the present embodiment can control another by a controlled device or multiple be controlled sets
It is standby, it realizes a main control device and controls multiple controlled devices, correspond in practical application, i.e., a remote controler can control more
On the one hand a home equipment can use confounding issues caused by excessive to avoid by remote controler quantity, use is more convenient, separately
On the one hand hardware cost can be saved.
The first controlled device in the present embodiment can assist main control device to complete the control to the second controlled device, realize
One main control device controls multiple controlled devices, corresponds in practical application, i.e., a remote controler can control multiple households
On the one hand equipment can use confounding issues caused by excessive to avoid by remote controler quantity, use is more convenient, on the other hand
Hardware cost can be saved.
The present embodiment can be according to the memory space of main control device, to determine being stored in modulation code inventory using which kind of means
In the main control device, it is capable of the memory space of reasonable utilization main control device.
It, can be only by the mark of modulation code or tune when the present embodiment is stored with corresponding modulation code library in main control device
The mark in code library belonging to code processed is sent to main control device, without complete modulation code is sent to main control device, to improve
Data transmission efficiency.
Main control device in the present embodiment can send in the preset duration after information acquisition request (such as 500 milliseconds
It is interior) it goes to listen to the message of the first controlled device in each interval, to avoid omitting the letter that the first controlled device is sent
Breath.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of disclosure application scenario diagram of apparatus control method shown according to an exemplary embodiment;
Fig. 2 is a kind of disclosure flow chart of apparatus control method shown according to an exemplary embodiment;
Fig. 3 is the application scenario diagram of the disclosure another apparatus control method shown according to an exemplary embodiment;
Fig. 4 is a kind of disclosure signaling process figure of apparatus control method shown according to an exemplary embodiment;
Fig. 5 is the signaling process figure of the disclosure another apparatus control method shown according to an exemplary embodiment;
Fig. 6 is a kind of disclosure block diagram of plant control unit shown according to an exemplary embodiment;
Fig. 7 is the block diagram of the disclosure another plant control unit shown according to an exemplary embodiment;
Fig. 8 is the block diagram of the disclosure another plant control unit shown according to an exemplary embodiment;
Fig. 9 is the block diagram of the disclosure another plant control unit shown according to an exemplary embodiment;
Figure 10 is the block diagram of the disclosure another plant control unit shown according to an exemplary embodiment;
Figure 11 is the block diagram of the disclosure another plant control unit shown according to an exemplary embodiment;
Figure 12 is an a kind of disclosure structural representation for plant control unit shown according to an exemplary embodiment
Figure.
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.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses.
The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority
Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps
It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure
A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from
In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination ".
With the development of communication technology, wireless remote control device is widely used in people's daily life, example
As the home equipment in domestic environment can be controlled by remote controler.In the related technology, each home equipment must be by
Remote controler matched with the home equipment is controlled, however as the increase of home equipment quantity in domestic environment, remote controler
Quantity also increasing, when remote controler quantity is excessive, user is easy to obscure when using remote controler, causes inconvenient for use.For
It solves the above problems, present disclose provides a kind of apparatus control method, device and electronic equipment.
In order to make it easy to understand, the exemplary application scene figure for combining the embodiment of the present disclosure to provide first below proposes the disclosure
The technical solution of confession is introduced.
As shown in Figure 1, Fig. 1 is a kind of disclosure applied field of apparatus control method shown according to an exemplary embodiment
Jing Tu, in the application scenarios, comprising: main control device, the first controlled device and the second controlled device, the main control device and first
Controlled device, the communication connection of the second controlled device.In a kind of feasible communication mode, which can be connected by bluetooth
The mode that connects and the first controlled device communicate to connect, the main control device can by way of infrared connection with the second controlled device
Communication connection, the main control device can by the remote control modes such as key, voice to the first controlled device and the second controlled device into
Row control.In practical applications, which may include: the blue Tooth remote controller with infrared emission head, smart phone, plate
Computer etc., which may include: smart television, second controlled device may include: set-top box, air-conditioning,
The home equipments such as bedside lamp, refrigerator, the disclosure do not limit this.
Next the apparatus control method applied to main control device side provided the disclosure is introduced.
As shown in Fig. 2, Fig. 2 is a kind of disclosure process of apparatus control method shown according to an exemplary embodiment
Figure is applied to main control device, which may comprise steps of:
In step 201, information acquisition request is sent to the first controlled device, carries user in the information acquisition request
The operation information made for main control device.
It should be noted that in view of the equipment for controlling home equipment in domestic environment is usually remote control equipment,
Therefore it will focus in the present embodiment and disclosed technique scheme be introduced by taking remote controler as an example.Certainly, in practical applications, main
Controlling equipment may be the other equipment such as smart phone, tablet computer, and the present embodiment does not limit this.
Remote controler when detecting that user makes operation to the remote controler, such as user press remote controler some key,
Or user to remote controler input phonetic control command etc. when, which can be to send acquisition of information to the first controlled device
The mode of request, inform the first controlled device: user is made which is operated for the remote controler, and to first controlled device
Request some information of corresponding aforesaid operations.
In a kind of feasible embodiment, main control device can be connected with the first controlled device by Bluetooth-mode communication
It connects, such as blue Tooth remote controller and smart television, when smart television, which is in DTV, plays interface, the key of blue Tooth remote controller
When " ↓ " is pressed, which can be sent to intelligent electricity for " ' ↓ ' is pressed " this key information by way of bluetooth
Depending on.Certainly, main control device can also be communicatively coupled by other connection types and the first controlled device, and the present embodiment is to this
Without limitation.
In step 202, the target information that the first controlled device is sent is received, first controlled device is according to aforesaid operations
Information is determined for assisting main control device to determine the target information of target modulation code.
By the relevant technologies it is found that the quantity of remote controler is excessive in domestic environment at present, cause user when using remote controler
It is easy to produce and obscures.Based on said circumstances, disclosed technique scheme can be come from this angle of the quantity of control remote controler
It solves the problems, such as present in the relevant technologies.It is feasible, it in the present embodiment, can be multiple by using a main control device control
The mode of controlled device, to reduce the purpose of remote controler number in domestic environment, to avoid excessively being made by remote controler quantity
At use confounding issues.
Further, in the present embodiment, other one can be controlled by means of a controlled device by main control device
The mode of a or multiple controlled devices, to achieve the purpose that control multiple controlled devices using a main control device.
Currently, the home equipment having in domestic environment belongs to infrared household electrical appliances (household electrical appliances controlled by infrared signal), has
Home equipment belongs to the household electrical appliances controlled by electromagnetic wave, and main control device will emit and above-mentioned household when controlling above-mentioned home equipment
The corresponding control signal of the device type of equipment, is just able to achieve the control to above-mentioned home equipment.
It is understood that infrared signal or electromagnetic signal that main control device directly generates, are only adjusted by specific
After code modulation processed, it could be identified by home equipment.It should be noted that a kind of home equipment usually corresponds to a modulation code library,
Multiple modulation codes are will record in the modulation code library, each modulation code can modulate a kind of control signal, in addition, above-mentioned household
The modulation code library of equipment is usually the modulation code library for being different from other home equipments.
From the step 201 in the present embodiment it is found that user is in the second controlled device of desired control, main control device can be directed to
Corresponding operation is made, some key of controlled device is such as pressed, this key information can be sent to the first quilt by main control device
Control equipment.In this step, the first controlled device can be believed after the key information for receiving main control device transmission according to the key
Breath is determined: the key information is corresponding, the correlation for controlling modulation code corresponding to the control signal of the second controlled device
Information.
Corresponding to the type of home equipment in current domestic environment, the modulation code in the present embodiment may include: for adjusting
The infrared code of infrared signal processed, the electromagnetism modulation code for modulated electromagnetic wave, the present embodiment do not limit this.
It should be noted that in a kind of feasible application scenarios, main control device and the first controlled device in the present embodiment
Communication mode, be to be different from the communication mode of main control device and the second controlled device, such as main control device and first controlled
By Bluetooth-mode communication between equipment, and pass through infrared or electromagnetic communication such as before main control device and the second controlled device
The communication of the another ways such as WiFi or ZigBee, but since main control device uses the second controlled device of another communication mode control
When, in this case it is not apparent that signal is modulated with which modulation code, needs to inform main control device by the first controlled device at this time
It which modulation code to generate the control instruction for the second controlled device using, is set to realize that main control device control second is controlled
It is standby.
In step 203, target modulation code is determined according to above-mentioned target information.
In step 204, the control instruction for manipulating the second controlled device is generated based on above-mentioned target modulation code, concurrently
Give the second controlled device.
Main control device is modulated signal using above-mentioned target modulation code, generates the control for manipulating the second controlled device
System instruction, and the control instruction is sent to the second controlled device, so that second controlled device is executed according to the control instruction
Corresponding movement.
As seen from the above-described embodiment, the main control device in the embodiment can control other one by a controlled device
A or multiple controlled devices realize a main control device and control multiple controlled devices, correspond in practical application, i.e., one
Remote controler can control multiple home equipments, on the one hand can ask to avoid being obscured by use of the remote controler quantity caused by excessive
Topic, use is more convenient, on the other hand can save hardware cost.
Based on embodiment shown in Fig. 2, in a kind of feasible embodiment, main control device passes through with the first controlled device
Bluetooth-mode communication, main control device can be communicated to connect with the second controlled device by infrared mode, at this point, above-mentioned modulation code
For infrared code.
Illustratively, as shown in figure 3, main control device, the first controlled device, the second controlled device are respectively as follows: with infrared hair
Penetrate the blue Tooth remote controller, TV, set-top box of head.
In the case that TV is in DTV broadcasting interface, key " ↓ " representative of blue Tooth remote controller is switched to next
Platform when user wants to switch to next, presses " ↓ " key of blue Tooth remote controller, since the cut bank of DTV is all
It is controlled by set-top box, therefore after above-mentioned " ↓ " key is pressed, key information is sent to TV by blue Tooth remote controller,
The title of the infrared code of corresponding key information " ↓ " or complete infrared code are sent to blue Tooth remote controller, Bluetooth remote control by TV
Device according to the information that TV returns determine key " ↓ " corresponding to infrared code, and modulate infrared signal with the infrared code, finally will
Modulated infrared signal is sent to set-top box, and set-top box makes a response after receiving above-mentioned signal, and television interfaces are also made accordingly
Interface variation, thus realize be switched to next.
By above embodiment as it can be seen that control of the remote controler completion to TV and set-top box can be used in the embodiment
System, saves hardware cost.
It should be noted that the second controlled device in the present embodiment is not limited to set-top box, in practical applications, can wrap
Include: any in domestic environment can be by the home equipment of infrared control such as by the air-conditioning of infrared control, refrigerator.It answers
It uses in practical internet product, which can be with are as follows: an application on TV is installed, which can control family
All electric appliances (such as infrared air-conditioning).User opens this application with blue Tooth remote controller, selects so-and-so air-conditioning, and then application interface is shown
The buttons such as temperature regulating, switch air-conditioning out, if user clicks height-regulating temperature, that above-mentioned application can be by corresponding infrared code
Blue Tooth remote controller is issued, blue Tooth remote controller is modulated by the infrared signal that above-mentioned infrared code goes out infrared hair again, and will
Modulated signal is sent to air-conditioning, and air-conditioning receives the signal and executes the operation that temperature is turned up.
Based on embodiment shown in Fig. 2, in a kind of feasible embodiment, main control device passes through with the first controlled device
Bluetooth-mode communication, main control device can be communicated to connect with the second controlled device by means of electromagnetic waves, such as second controlled sets
Standby is ZigBee equipment, at this point, main control device and second controlled device are by ZigBee communication, above-mentioned modulation code is for adjusting
The electromagnetism modulation code of electromagnetic wave processed.
Illustratively, main control device, the first controlled device, the second controlled device are respectively as follows: the bluetooth with ZigBee module
Remote controler, TV, set-top box, wherein set-top box is ZigBee equipment.
In the case that TV is in DTV broadcasting interface, key " ↓ " representative of blue Tooth remote controller is switched to next
Platform when user wants to switch to next, presses " ↓ " key of blue Tooth remote controller, since the cut bank of DTV is all
It is controlled by set-top box, therefore after above-mentioned " ↓ " key is pressed, key information is sent to TV by blue Tooth remote controller,
The title of the electromagnetism modulation code of corresponding key information " ↓ " or complete electromagnetism modulation code are sent to blue Tooth remote controller by TV,
Blue Tooth remote controller according to the information that TV returns determine key " ↓ " corresponding to electromagnetism modulation code, and with the electromagnetism modulation code tune
ZigBee signal processed, is finally sent to set-top box for modulated ZigBee signal, and set-top box makes sound after receiving above-mentioned signal
It answers, television interfaces also make corresponding interface variation, are switched to next to realize.
It should be noted that the second controlled device in the present embodiment is not limited to set-top box, in practical applications, can wrap
It includes: any air-conditioning, ice that can be such as controlled by ZigBee mode by the home equipment that ZigBee mode controls in domestic environment
Case etc..
In addition, it is contemplated that data volume is bigger when the first controlled device sends modulation code to main control device, and send modulation
When the mark in code library belonging to the mark or modulation code of code, data volume is smaller, therefore, can preferentially select to send out to main control device
Send modulation code mark or modulation code belonging to code library mark.At this time, it is necessary to corresponding tune is stored in main control device
Code library processed.
It is directed to the situation in storage modulation code library, in a kind of feasible embodiment, if the storage of main control device is empty
Between it is limited, can be obtained from first controlled device one or more when being communicated to connect for the first time with the first controlled device
The modulation code library of type.
Illustratively, after blue Tooth remote controller connects TV, judge that blue Tooth remote controller judges locally whether there be the red of set-top box
Outer code library, if it is not, to the corresponding infrared code library of television request set-top box.It top box or is changed distant in this way, only change planes later
When controlling device, just need to transmit corresponding infrared code library again.
Further, it is also possible to which the transport protocol for pre-establishing a set of modulation code library (for example overrides when updating modulation code library
Which old modulation code library), and be stored in blue Tooth remote controller.
It, can be in main control device if the memory space of main control device is bigger in another feasible embodiment
The modulation code library of preset one or more types when factory, it is not necessary to obtain modulation code library from the first controlled device again.
Illustratively, if remote controler memory space is very big, so that it may built-in some masters inside the memory of remote controler
The infrared code library for flowing common set-top box, when playing interface into DTV, TV tells which infrared code remote controler uses
The infrared code in which of library, this avoid TVs to give remote control transmission code library.
It can be seen that this implementation can be according to the memory space of main control device, to determine to use which kind of means by modulation code
Inventory is stored in the main control device, is capable of the memory space of reasonable utilization main control device.
Based on embodiment shown in Fig. 2, when main control device is connect with the first controlled device by Bluetooth-mode communication,
In a kind of feasible embodiment, apparatus control method provided in this embodiment can also include:
The Connecting quantity adjustment instruction that the first controlled device is sent when receiving the information acquisition request is received,
In, the Connecting quantity adjustment instruction is for controlling each communication connection interval of the main control device in preset duration
Interval listens to the message of first controlled device;
According to the Connecting quantity adjustment instruction, will be locally located between each communication connection in the preset duration
The message of first controlled device is listened to every interval.
It is understood that the relevant regulations in 4.0 agreement of bluetooth about bluetooth low energy device are pointed out: with Bluetooth remote control
The controlled device of equipment communication connection, which needs to listen to the Bluetooth remote control every a connection interval connection interval, to be set
Whether standby to have data to report, bluetooth remote control equipment longest slave postpones between slave latency*connection interval
Every one data packet of response controlled device or empty packet, to maintain to communicate to connect.However, if bluetooth remote control equipment exists
Parameter just is initiated the connection to the controlled device for communicating with connection behind the interval slave latency*connection Interval
The session of update, it is likely that the speed for causing Connecting quantity to update is slower, and then influences the transmission of bluetooth remote control equipment data
Ability.
In order to avoid omitting the information that the first controlled device is sent, main control device can be after sending information acquisition request
Go to listen to the message of the first controlled device in preset duration (such as in 500 milliseconds) in each interval.
It is when main control device is connect with the first controlled device by Bluetooth-mode communication based on embodiment shown in Fig. 2
Meet the transmission speed requirement of modulation code relevant information simultaneously, and reduce the power consumption of main control device, in another feasible reality
It applies in mode, apparatus control method provided in this embodiment can also include:
Main control device listens to the message of first controlled device by being locally located at interval of N*interval duration.Example
Such as, setting N is 2,3 or 4 ... etc..Specifically, ground can be arranged at interval of N*interval automatically by main control device
Duration listens to the message of first controlled device;Or it is by the first controlled device control main control device that the main control device is local
It is arranged to listen to the message of first controlled device at interval of N*interval duration, the present embodiment does not limit this.
It should be noted that the value of N and interval can be according to the response time of controlled device in present embodiment
Or the data volume transmitted determines, it is of course also possible to self-defining, the present embodiment do not limit this according to demand by user
It is fixed.
Corresponding to the method shown in Fig. 2 applied to main control device side, the disclosure is additionally provided to be controlled applied to first and be set
The apparatus control method of standby side, is below introduced this method.
As shown in figure 4, Fig. 4 is a kind of disclosure signaling flow of apparatus control method shown according to an exemplary embodiment
Cheng Tu, the apparatus control method applied to the first controlled device may comprise steps of:
In step 301, the information acquisition request that main control device is sent is received;Wherein, it is carried in the information acquisition request
There is user to be directed to the operation information that main control device is made.
Information acquisition request in the present embodiment is identical as the information acquisition request in embodiment illustrated in fig. 2, detail as per
Step 201 in embodiment illustrated in fig. 2, the present embodiment repeat no more this.
In step 302, it according to aforesaid operations information, determines for assisting main control device to determine the target of target modulation code
Information.
It should be noted that the effect of the modulation code in the present embodiment are as follows: main control device is sending infrared signal or electromagnetism
When person's wave, needing to be modulated above-mentioned signal using modulation code, modulated signal could be identified by the second controlled device,
Second controlled device can just make corresponding response.In addition, main control device is when controlling the second controlled device, it is necessary first to know
What the modulation code that road controls the second controlled device is, needs to obtain from the first controlled device for assisting main control device true at this time
Set the goal the target information of modulation code.
Each modulation code in multiple modulation code libraries and modulation code library is can recorde in the first controlled device in the present embodiment
The corresponding relationship for the operation made with user for main control device, for example there is record in TV: the key " ↓ " of remote controler and which
Modulation code is corresponding, and the key " ↑ " of remote controler is again corresponding with which modulation code.
Target information in embodiment may include following any: the mark in code library, mesh belonging to target modulation code
Mark mark, the target modulation code of modulation code.
In step 303, above-mentioned target information is sent to main control device;So that main control device is according to above-mentioned target information
Generate the control instruction for manipulating the second controlled device.
It is directed to the main control device for being stored with the modulation code library of one or more types, the first controlled device is receiving this
It, can be by code library belonging to the mark of target modulation code or target modulation code after the information acquisition request that main control device is sent
Mark is sent to the main control device;And it is directed to the not stored main control device for having modulation code library, the first controlled device is receiving
After the information acquisition request that the main control device is sent, complete target modulation code can be sent to main control device.
In view of factors such as data transmission efficiencys, when being stored with corresponding modulation code library in main control device, can will adjust
The mark in code library belonging to the mark of code processed or the modulation code is sent to main control device, without sending complete modulation code
To main control device, thus improve data transfer efficiency.
As seen from the above-described embodiment, the first controlled device in the embodiment can assist main control device to complete to the second quilt
The control for controlling equipment realizes a main control device and controls multiple controlled devices, corresponds in practical application, i.e. a remote controler
It can control multiple home equipments, on the one hand can use confounding issues caused by excessive to avoid by remote controler quantity, use
It is more convenient, it on the other hand can save hardware cost.
As shown in figure 5, Fig. 5 is the signaling of the disclosure another apparatus control method shown according to an exemplary embodiment
Flow chart, it is contemplated that the limited storage space of some main control devices, this method can also increase on the basis of the embodiment shown in fig. 4
Add following steps:
In step S300a, when communicating to connect for the first time with main control device, judge modulation whether is stored in main control device
Code library.
The present embodiment can in, to main control device send inquiry message by way of, to judge to be in main control device
It is no to be stored with modulation code library.
Illustratively, the second controlled device is infrared household electrical appliances, at this time can be by sending inquiry message to main control device
Form, to judge the infrared code library for whether being stored with the second controlled device in main control device.
It is not stored when having modulation code library in judging main control device in step S300b, by one or more types
Modulation code library is sent to main control device.
Modulation code in the present embodiment can be infrared code.
Illustratively, main control device, the first controlled device, the second controlled device are respectively as follows: the bluetooth with infrared emission head
Remote controler, TV, set-top box, blue Tooth remote controller and TV pass through red by Bluetooth-mode communication, blue Tooth remote controller with set-top box
Outside line communication.
In the case that TV is in DTV broadcasting interface, the key " ↑ " of blue Tooth remote controller, which represents, is switched to one
Platform when user wants to switch to a platform, presses " ↑ " key of blue Tooth remote controller, since the cut bank of DTV is all
It is controlled by set-top box, therefore after above-mentioned " ↑ " key is pressed, key information is sent to TV by blue Tooth remote controller,
The title of the infrared code of corresponding key information " ↑ " or complete infrared code are sent to blue Tooth remote controller, Bluetooth remote control by TV
Device according to the information that TV returns determine key " ↑ " corresponding to infrared code, and modulate infrared signal with the infrared code, finally will
Modulated infrared signal is sent to set-top box, and set-top box makes a response after receiving above-mentioned signal, and television interfaces are also made accordingly
Interface variation, thus realize be switched to a platform.
Based on Fig. 4 or any embodiment shown in fig. 5, in a kind of feasible embodiment, main control device and the first quilt
Control equipment can be connected by Bluetooth-mode communication;The above method can also include: at this time
When receiving the information acquisition request of main control device transmission, Connecting quantity tune is sent to the main control device immediately
Whole instruction, wherein the Connecting quantity adjustment instruction is used to control each communication of the main control device in preset duration and connects
Connect the message that interval interval listens to first controlled device.
Illustratively, by taking blue Tooth remote controller and TV as an example, user has pressed the key of blue Tooth remote controller, and blue Tooth remote controller will
After key information is sent to TV, blue Tooth remote controller enters sleep state, the no longer message (remote control is for power saving) of reception TV, electricity
Depending on that could communicate with blue Tooth remote controller after the latancy*interval time to be waited until, (that is extreme case modulated code is needed
It to be likely to issue blue Tooth remote controller so long).Therefore when into DTV interface, TV is wanted when blue Tooth remote controller is pressed
Key information sends over, and when TV is into DTV interface, notice blue Tooth remote controller is just told to enter DTV and play boundary
Face.Blue Tooth remote controller sends out when lifting of key in this way, TV energy when notice can be issued blue Tooth remote controller by communication device so that
Blue Tooth remote controller can be notified in time.It after blue Tooth remote controller knows this notice, often presses later, lift that manipulate number electric
Depending on key when, blue Tooth remote controller (such as 500 milliseconds) continuous each interval will go to listen the message of host for some time
(that is, latancy becomes 1), to receive the modulation code of TV quickly.
Based on Fig. 4 or any embodiment shown in fig. 5, when main control device and the first controlled device pass through Bluetooth-mode communication
When connection, in order to meet the transmission speed requirement of modulation code relevant information simultaneously, and the power consumption of main control device is reduced, in another kind
In feasible embodiment, apparatus control method provided in this embodiment can also include:
The main control device is locally located into control main control device listens to first quilt at interval of N*interval duration
Control the message of equipment.For example, setting N is 2,3 or 4 ... etc..
It should be noted that the value of N and interval can be according to the response time of controlled device in present embodiment
Or the data volume transmitted determines, it is of course also possible to self-defining, the present embodiment do not limit this according to demand by user
It is fixed.
It should be noted that although describing the operation of the method for the present invention in the accompanying drawings with particular order, this is not required that
Or hint must execute these operations in this particular order, or have to carry out operation shown in whole and be just able to achieve the phase
The result of prestige.On the contrary, the step of describing in flow chart can change and execute sequence.Additionally or alternatively, it is convenient to omit certain
Multiple steps are merged into a step and executed, and/or a step is decomposed into execution of multiple steps by step.
With it is aforementioned it is shown in Fig. 2 be applied to the embodiment of apparatus control method of main control device side it is corresponding, the disclosure also mentions
The embodiment of the plant control unit applied to main control device side is supplied.
As shown in fig. 6, Fig. 6 is a kind of disclosure block diagram of plant control unit shown according to an exemplary embodiment,
Applied to main control device, the apparatus may include:
Request sending module 610 is configured as sending information acquisition request to the first controlled device, wherein the information
User is carried in acquisition request is directed to the operation information that the main control device is made;
First receiving module 620 is configured as receiving the target information that first controlled device is sent, wherein described
First controlled device is determined according to the operation information for assisting the main control device to determine the target information of target modulation code;
Modulation code determining module 630 is configured as the target information received according to first receiving module 620 and determines
Target modulation code;
It is raw to be configured as the target modulation code determined based on the modulation code determining module 630 for directive generation module 640
At the control instruction for manipulating the second controlled device, and it is sent to second controlled device.
As seen from the above-described embodiment, the main control device in the embodiment can control other one by a controlled device
A or multiple controlled devices realize a main control device and control multiple controlled devices, correspond in practical application, i.e., one
Remote controler can control multiple home equipments, on the one hand can ask to avoid being obscured by use of the remote controler quantity caused by excessive
Topic, use is more convenient, on the other hand can save hardware cost.
It is described on the basis of which can be with embodiment shown in Fig. 6 in another embodiment that the disclosure provides
It can store the modulation code library of one or more types in main control device;The target information may include following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code.
As shown in fig. 7, Fig. 7 is the frame of the disclosure another plant control unit shown according to an exemplary embodiment
Figure, which can be on the basis of a upper embodiment, and described device can also include:
Code library obtains module 600, is configured as obtaining the modulation code of one or more types by following any modes
Library:
The main control device presets the modulation code library of one or more types when leaving the factory;
When being communicated to connect for the first time with first controlled device, obtained from first controlled device one or more
The modulation code library of type.
It is described on the basis of which can be with embodiment shown in Fig. 6 in another embodiment that the disclosure provides
Target information may include: target modulation code.
In another embodiment that the disclosure provides, which can based on any of the above embodiments, institute
Stating modulation code can be infrared code.
As shown in figure 8, Fig. 8 is the frame of the disclosure another plant control unit shown according to an exemplary embodiment
Figure, which can based on any of the above embodiments, and the main control device can lead to first controlled device
Cross Bluetooth-mode communication connection;Described device can also include:
Second receiving module 650 is configured as receiving the first controlled device hair when receiving the information acquisition request
The Connecting quantity adjustment instruction sent, and according to the Connecting quantity adjustment instruction, it will be locally located into the preset duration
Each communication connection interval interval listen to the message of first controlled device, wherein the Connecting quantity adjustment refers to
Enable that listen to described first controlled for controlling each communication connection interval interval of the main control device in preset duration
The message of equipment.
The embodiment of apparatus control method with aforementioned applications in the first controlled device side is corresponding, and the disclosure, which additionally provides, answers
The embodiment of plant control unit for the first controlled device side.
As shown in figure 9, Fig. 9 is the frame of the disclosure another plant control unit shown according to an exemplary embodiment
Figure is applied to the first controlled device, the apparatus may include:
Third receiving module 910 is configured as receiving the information acquisition request that main control device is sent, wherein the information
User is carried in acquisition request is directed to the operation information that the main control device is made;
Target information determining module 920 is configured as being determined according to the operation information for assisting the main control device
Determine the target information of target modulation code;
First sending module 930 is configured as the target information for determining the target information determining module 920 transmission
To the main control device, so that the main control device generates the control for manipulating the second controlled device according to the target information
Instruction.
As seen from the above-described embodiment, the first controlled device in the embodiment can assist main control device to complete to the second quilt
The control for controlling equipment realizes a main control device and controls multiple controlled devices, corresponds in practical application, i.e. a remote controler
It can control multiple home equipments, on the one hand can use confounding issues caused by excessive to avoid by remote controler quantity, use
It is more convenient, it on the other hand can save hardware cost.
It is described on the basis of which can be with embodiment shown in Fig. 9 in another embodiment that the disclosure provides
Target information may include following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code;
Target modulation code.
As shown in Figure 10, Figure 10 is the frame of the disclosure another plant control unit shown according to an exemplary embodiment
Figure, the embodiment can be on the basis of a upper embodiments, and the target information can be with are as follows: code library belonging to target modulation code
The mark of mark or target modulation code;Described device can also include:
Judgment module 940 is configured as judging in the main control device when communicating to connect for the first time with the main control device
Whether modulation code library is stored with;
Second sending module 950 is configured as in the case where the judging result of the judgment module 940 is no, by one
Kind or a plurality of types of modulation code libraries are sent to the main control device.
In another embodiment that the disclosure provides, which can be applied to the first controlled device any of the above-described
Embodiment on the basis of, the modulation code can be infrared code.
As shown in figure 11, Figure 11 is the frame of the disclosure another plant control unit shown according to an exemplary embodiment
Figure, which can be on the basis of any of the above-described embodiment for being applied to the first controlled device, and described device can also wrap
It includes:
Third sending module 960 is configured as when receiving the information acquisition request of main control device transmission, immediately to institute
It states main control device and sends Connecting quantity adjustment instruction, wherein the Connecting quantity adjustment instruction is for controlling the main control device
Each communication connection interval interval in preset duration listens to the message of first controlled device.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit
The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with
It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual
The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying
Out in the case where creative work, it can understand and implement.
Correspondingly, the disclosure additionally provides a kind of electronic equipment, comprising: processor;For the executable finger of storage processor
The memory of order;Wherein, the processor is configured to: to the first controlled device send information acquisition request, wherein the letter
User is carried in breath acquisition request is directed to the operation information that the main control device is made;First controlled device is received to send
Target information, wherein first controlled device is determined according to the operation information for assisting the main control device to determine
The target information of target modulation code;Target modulation code is determined according to the target information;It is generated and is used based on the target modulation code
In the control instruction of the second controlled device of manipulation, and it is sent to second controlled device.
Correspondingly, the disclosure additionally provides a kind of electronic equipment, comprising: processor;For the executable finger of storage processor
The memory of order;Wherein, the processor is configured to: receive main control device send information acquisition request, wherein the letter
User is carried in breath acquisition request is directed to the operation information that the main control device is made;According to the operation information, determines and use
In the target information for assisting the main control device to determine target modulation code;The target information is sent to the main control device,
So that the main control device generates the control instruction for manipulating the second controlled device according to the target information.
As shown in figure 12, Figure 12 is that the disclosure is shown according to an exemplary embodiment a kind of for plant control unit
1200 structural schematic diagram.For example, device 1200 can be mobile phone, computer, digital broadcast terminal, information receiving and transmitting set
It is standby, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant, aircraft etc..
Referring to Fig.1 2, device 1200 may include following one or more components: processing component 1202, memory 1204,
Power supply module 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module
1214 and communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing element 1202 may include one or more processors 1220 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds
Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module,
To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data
Example includes the instruction of any application or method for operating on device 1200, contact data, telephone book data,
Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 may include power management
System, one or more power supplys and other with for device 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 1208 includes the screen of one output interface of offer between device 1200 and user.Some
In embodiment, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
It may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensors
To sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action,
But also detection duration and pressure relevant to touch or slide.In some embodiments, multimedia component 1208
Including a front camera and/or rear camera.When equipment 1200 is in operation mode, such as screening-mode or video mode
When, front camera and/or rear camera can receive external multi-medium data.Each front camera and postposition camera shooting
Head can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat
Gram wind (MIC), when device 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication
Component 1216 is sent.In some embodiments, audio component 1210 further includes a loudspeaker, is used for output audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented
Estimate.For example, sensor module 1214 can detecte the state that opens/closes of equipment 1200, the relative positioning of component, such as institute
The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1
The position change of a component, the existence or non-existence that user contacts with device 600,1200 orientation of device or acceleration/deceleration and dress
Set 1200 temperature change.Sensor module 1214 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed
Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or their combination.It is exemplary at one
In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel
Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance
Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuit (ASIC), number
Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 1220 of device 1200 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
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 (24)
1. a kind of apparatus control method, which is characterized in that be applied to main control device, which comprises
Information acquisition request is sent to the first controlled device, wherein user is carried in the information acquisition request for described
The operation information that main control device is made;
Receive the target information that first controlled device is sent, wherein record there are multiple modulation in first controlled device
Pair for the operation information that each modulation code and the user make for the main control device in code library and each modulation code library
It should be related to, first controlled device is determined according to the operation information and the corresponding relationship for assisting the master control to set
The standby target information for determining target modulation code;
Target modulation code is determined according to the target information;
The control instruction for manipulating the second controlled device is generated based on the target modulation code, and it is controlled to be sent to described second
Equipment.
2. the method according to claim 1, wherein being stored with one or more types in the main control device
Modulation code library;The target information includes following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code.
3. according to the method described in claim 2, it is characterized in that, modulation code library in the main control device pass through it is following any
Kind mode obtains:
The main control device presets the modulation code library of one or more types when leaving the factory;
When communicating to connect for the first time with first controlled device, one or more types are obtained from first controlled device
Modulation code library.
4. the method according to claim 1, wherein the target information includes:
Target modulation code.
5. method according to any one of claims 1 to 4, which is characterized in that the modulation code is infrared code.
6. the method according to claim 1, wherein the main control device and first controlled device pass through indigo plant
Tooth mode communicates to connect;The method also includes:
Receive the Connecting quantity adjustment instruction that the first controlled device is sent when receiving the information acquisition request, wherein institute
Connecting quantity adjustment instruction is stated for controlling each communication connection interval interval of the main control device in preset duration
Listen to the message of first controlled device;
According to the Connecting quantity adjustment instruction, each communication connection interval in the preset duration will be locally located into
Interval listens to the message of first controlled device.
7. a kind of apparatus control method, which is characterized in that be applied to the first controlled device, which comprises
Receive the information acquisition request that main control device is sent, wherein user is carried in the information acquisition request for described
The operation information that main control device is made;
If in first controlled device record have in multiple modulation code libraries and each modulation code library each modulation code with it is described
The corresponding relationship for the operation information that user makes for the main control device, according to the operation information and the corresponding relationship,
It determines for assisting the main control device to determine the target information of target modulation code;
The target information is sent to the main control device, so that the main control device is used for according to target information generation
Manipulate the control instruction of the second controlled device.
8. the method according to the description of claim 7 is characterized in that the target information includes following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code;
Target modulation code.
9. according to the method described in claim 8, it is characterized in that, the target information are as follows: code library belonging to target modulation code
Mark or target modulation code mark;The method also includes:
When communicating to connect for the first time with the main control device, judge modulation code library whether is stored in the main control device;
It is not stored when having modulation code library in judging the main control device, the modulation code library of one or more types is sent to
The main control device.
10. method according to any one of claims 7 to 9, which is characterized in that the modulation code is infrared code.
11. the method according to the description of claim 7 is characterized in that the main control device passes through with first controlled device
Bluetooth-mode communication connection;The method also includes:
When receiving the information acquisition request of main control device transmission, Connecting quantity adjustment is sent to the main control device immediately and is referred to
It enables, wherein the Connecting quantity adjustment instruction is used to control between each communication connection of the main control device in preset duration
The message of first controlled device is listened to every interval.
12. a kind of plant control unit, which is characterized in that be applied to main control device, described device includes:
Request sending module is configured as sending information acquisition request to the first controlled device, wherein the information acquisition request
In carry user and be directed to the operation information made of the main control device;
First receiving module is configured as receiving the target information that first controlled device is sent, wherein described first is controlled
Record has each modulation code in multiple modulation code libraries and each modulation code library to set with the user for the master control in equipment
The corresponding relationship of the standby operation information made, first controlled device is according to the operation information and the corresponding relationship, really
Determine for assisting the main control device to determine the target information of target modulation code;
Modulation code determining module is configured as determining target modulation according to the target information that first receiving module receives
Code;
Directive generation module is configured as the target modulation code determined based on the modulation code determining module and generated for manipulating
The control instruction of second controlled device, and it is sent to second controlled device.
13. device according to claim 12, which is characterized in that be stored with one or more types in the main control device
Modulation code library;The target information includes following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code.
14. device according to claim 13, which is characterized in that described device further include:
Code library obtains module, is configured as obtaining the modulation code library of one or more types by following any modes:
The main control device presets the modulation code library of one or more types when leaving the factory;
When communicating to connect for the first time with first controlled device, one or more types are obtained from first controlled device
Modulation code library.
15. device according to claim 12, which is characterized in that the target information includes:
Target modulation code.
16. 2 to 15 described in any item devices according to claim 1, which is characterized in that the modulation code is infrared code.
17. device according to claim 12, which is characterized in that the main control device passes through with first controlled device
Bluetooth-mode communication connection;Described device further include:
Second receiving module is configured as receiving the connection that the first controlled device is sent when receiving the information acquisition request
Parameter adjustment instruction, and according to the Connecting quantity adjustment instruction, each communication being locally located into preset duration is connected
Connect the message that interval interval listens to first controlled device, wherein the Connecting quantity adjustment instruction is for controlling institute
It states each communication connection interval interval of the main control device in the preset duration and listens to disappearing for first controlled device
Breath.
18. a kind of plant control unit, which is characterized in that be applied to the first controlled device, described device includes:
Third receiving module is configured as receiving the information acquisition request that main control device is sent, wherein the information acquisition request
In carry user and be directed to the operation information made of the main control device;
Target information determining module, if being configured as record in first controlled device has multiple modulation code libraries and each institute
The corresponding relationship for stating the operation information that each modulation code and the user make for the main control device in modulation code library, according to institute
Operation information and the corresponding relationship are stated, is determined for assisting the main control device to determine the target information of target modulation code;
First sending module is configured as the target information that the target information determining module is determined being sent to the master control
Equipment, so that the main control device generates the control instruction for manipulating the second controlled device according to the target information.
19. device according to claim 18, which is characterized in that the target information includes following any:
The mark in code library belonging to target modulation code;
The mark of target modulation code;
Target modulation code.
20. device according to claim 19, which is characterized in that the target information are as follows: code belonging to target modulation code
The mark in library or the mark of target modulation code;Described device further include:
Judgment module is configured as when communicating to connect for the first time with the main control device, judges whether deposit in the main control device
Contain modulation code library;
Second sending module is configured as in the case where the judging result of the judgment module is no, by one or more classes
The modulation code library of type is sent to the main control device.
21. 8 to 20 described in any item devices according to claim 1, which is characterized in that the modulation code is infrared code.
22. device according to claim 18, which is characterized in that the main control device passes through with first controlled device
Bluetooth-mode communication connection;Described device further include:
Third sending module is configured as when receiving the information acquisition request of main control device transmission, immediately to the master control
Equipment sends Connecting quantity adjustment instruction, wherein the Connecting quantity adjustment instruction is for controlling the main control device default
Each communication connection interval interval in duration listens to the message of first controlled device.
23. a kind of electronic equipment characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Information acquisition request is sent to the first controlled device, wherein user is carried in the information acquisition request for master control
The operation information that equipment is made;
Receive the target information that first controlled device is sent, wherein record there are multiple modulation in first controlled device
Pair for the operation information that each modulation code and the user make for the main control device in code library and each modulation code library
It should be related to, first controlled device is determined according to the operation information and the corresponding relationship for assisting the master control to set
The standby target information for determining target modulation code;
Target modulation code is determined according to the target information;
The control instruction for manipulating the second controlled device is generated based on the target modulation code, and it is controlled to be sent to described second
Equipment.
24. a kind of electronic equipment characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Receive the information acquisition request that main control device is sent, wherein user is carried in the information acquisition request for described
The operation information that main control device is made;
If record has each modulation code and the user in multiple modulation code libraries and each modulation code library in the first controlled device
It is determined for the corresponding relationship for the operation information that the main control device is made according to the operation information and the corresponding relationship
For assisting the main control device to determine the target information of target modulation code;
The target information is sent to the main control device, so that the main control device is used for according to target information generation
Manipulate the control instruction of the second controlled device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610179438.XA CN105872655B (en) | 2016-03-25 | 2016-03-25 | Apparatus control method, device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610179438.XA CN105872655B (en) | 2016-03-25 | 2016-03-25 | Apparatus control method, device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105872655A CN105872655A (en) | 2016-08-17 |
CN105872655B true CN105872655B (en) | 2019-06-04 |
Family
ID=56624888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610179438.XA Active CN105872655B (en) | 2016-03-25 | 2016-03-25 | Apparatus control method, device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105872655B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110570645A (en) * | 2019-09-29 | 2019-12-13 | 百度在线网络技术(北京)有限公司 | Distributed infrared control system, method, device and storage medium |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107231605B (en) * | 2017-06-23 | 2019-10-08 | 中南大学 | The method with Bluetooth communication compatibility between flash memory IoT equipment and Android device of solution |
KR102567329B1 (en) * | 2018-09-13 | 2023-08-17 | 삼성전자주식회사 | Electronic apparatus and controlling method thereof |
CN111176699A (en) * | 2018-11-09 | 2020-05-19 | 深圳阿凡达智控有限公司 | Control method, control device, and computer storage medium |
WO2020237429A1 (en) * | 2019-05-24 | 2020-12-03 | 深圳市大疆创新科技有限公司 | Control method for remote control device, and remote control device |
CN110366019A (en) * | 2019-07-25 | 2019-10-22 | 四川长虹电器股份有限公司 | Smart machine remote control system based on MCU communication |
CN110493763A (en) * | 2019-08-29 | 2019-11-22 | 北京智芯微电子科技有限公司 | Controlled passive Bluetooth connecting method |
CN111343058B (en) * | 2020-02-07 | 2022-02-08 | 北京小米移动软件有限公司 | Device control method, device, control device and storage medium |
CN115202221A (en) * | 2021-04-13 | 2022-10-18 | 云米互联科技(广东)有限公司 | Controlled equipment control method and device based on master control equipment |
WO2023050952A1 (en) * | 2021-09-30 | 2023-04-06 | 海信视像科技股份有限公司 | Control apparatus and control method |
CN114785914A (en) * | 2022-03-15 | 2022-07-22 | 海信视像科技股份有限公司 | Display device, control apparatus, and device configuration method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010103988A (en) * | 2008-09-26 | 2010-05-06 | Revsonic Kk | Learning control device, remote control device, electronic apparatus, and program |
CN103489304A (en) * | 2013-09-13 | 2014-01-01 | 鸿富锦精密工业(武汉)有限公司 | Transfer equipment, transfer processing system and method |
-
2016
- 2016-03-25 CN CN201610179438.XA patent/CN105872655B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010103988A (en) * | 2008-09-26 | 2010-05-06 | Revsonic Kk | Learning control device, remote control device, electronic apparatus, and program |
CN103489304A (en) * | 2013-09-13 | 2014-01-01 | 鸿富锦精密工业(武汉)有限公司 | Transfer equipment, transfer processing system and method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110570645A (en) * | 2019-09-29 | 2019-12-13 | 百度在线网络技术(北京)有限公司 | Distributed infrared control system, method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105872655A (en) | 2016-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105872655B (en) | Apparatus control method, device and electronic equipment | |
EP3131258B1 (en) | Smart household equipment control methods and corresponding apparatus | |
US10453331B2 (en) | Device control method and apparatus | |
JP6488375B2 (en) | Device control method and apparatus | |
CN105451369B (en) | The Connecting quantity update method and device of low-power consumption bluetooth equipment | |
JP6503592B2 (en) | Home appliance control method and apparatus | |
RU2633099C2 (en) | Method and instrument for intelligent device control | |
EP3136793B1 (en) | Method and apparatus for awakening electronic device | |
JP2017526318A (en) | Method, apparatus, program and recording medium for controlling device | |
JP2016524371A (en) | Smart terminal control method, apparatus, program, and storage medium | |
CN106355852B (en) | Equipment control method and device | |
KR20140029609A (en) | Mobile terminal and controlling method therof, and recording medium thereof | |
KR20140076334A (en) | Apparatus and method for displaying contents in home network system | |
CN106205092B (en) | Electronic device and its control method, audio devices and its control method of supplying power to | |
US20090053997A1 (en) | Dynamic user interface for displaying connection status and method thereof | |
CN105338083A (en) | Interface display method and interface display device | |
CN104330996A (en) | Remote control method and device | |
JP2017527924A (en) | Home smart socket control method, apparatus, program, and recording medium | |
CN104111720A (en) | Electronic device control method and device and electronic device | |
CN104125687B (en) | Control method and device of intelligent lamp system as well as mobile terminal and intelligent lamp | |
CN105743749A (en) | Task reminding method, device and system | |
CN105279939B (en) | The switching method and device of operating mode | |
CN108605057A (en) | Display device, user terminal apparatus, system and its control method | |
CN112201242A (en) | Method and device for waking up equipment, electronic equipment and storage medium | |
CN106505374B (en) | A kind of fingerprint control device and its control method |
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 |