Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of method and control terminal of opertaing device power supply is provided.Can reduce power consumption, reduce user's operation complexity raising device intelligence.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of method of opertaing device power supply, comprising: the remote signal that receives the terminal transmission being connected with control terminal;
According to described remote signal, select the external unit corresponding with described remote signal, described external unit is connected with described opertaing device;
Control power supply to selected external unit output current.
Wherein, described according to described remote signal, select the external unit corresponding with described remote signal to comprise:
Described remote signal is carried out to dissection process, obtain and control power supply signal;
According to default control power supply signal and the corresponding relation of external unit, select the external unit corresponding with described control power supply signal.
Wherein, before the remote signal that the terminal being connected with control terminal in described reception sends, comprise:
The corresponding relation that at least one controls power supply signal and at least one external unit is set;
Wherein, the corresponding a kind of described external unit of a kind of described control power supply signal.
Wherein, before the remote signal that the terminal that described reception is connected with control terminal sends, comprise:
Establish a communications link with described terminal.
Wherein, described and described terminal establishes a communications link and comprises:
Send identification information by WIFI network;
Receive the binding application information that the terminal in described WIFI network is returned according to identification information;
According to described binding application information, set up WIFI communication connection with described terminal.
Correspondingly, the embodiment of the present invention also provides control terminal, comprising: receiving element, for receiving the remote signal of the terminal transmission being connected with control terminal;
Selected cell, for according to described remote signal, selects the external unit corresponding with described remote signal, and described external unit is connected with described opertaing device;
Control module, for controlling power supply to selected external unit output current.
Wherein, described selected cell comprises:
Resolve subelement, for described remote signal is carried out to dissection process, obtain and control power supply signal;
Chooser unit, for according to default control power supply signal and the corresponding relation of external unit, selects the external unit corresponding with described control power supply signal.
Wherein, described control terminal also comprises:
Setting unit, the corresponding relation of controlling power supply signal and at least one external unit at least one is set;
Wherein, the corresponding a kind of described external unit of a kind of described control power supply signal.
Wherein, described control terminal also comprises:
Set up communication unit, for establishing a communications link with described terminal.
Wherein, the described communication unit of setting up comprises:
Send subelement, for sending identification information by WIFI network;
Receive subelement, the binding application information of returning according to identification information for the terminal receiving in described WIFI network;
Set up communicator unit, for according to described binding application information, set up WIFI communication connection with described terminal.
Implement the embodiment of the present invention, there is following beneficial effect:
The embodiment of the present invention is by receiving remote signal, select the corresponding external unit of remote signal according to remote signal, and according to remote signal control power supply to selected external unit output current, thereby make user can indirectly control by the output of telepilot control power supply switching on and shutting down or the timed power on/off etc. of the selected external unit that be connected with power supply.This has reduced the power consumption of external unit, for user provides more how convenient, improves device intelligence and has improved user experience.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In the embodiment of the present invention, control terminal can be to comprise ARM (Advanced RISC Machines, advanced RISC processor) processor and MCU(Micro Control Unit, micro-control unit) opertaing device of controller.
As described in Figure 1, the method for a kind of opertaing device power supply described in the present embodiment comprises step:
S100, the remote signal that the terminal that reception is connected with control terminal sends.
In specific embodiment, receive the remote signal of the equipment transmission that Android Android operating system is installed, wherein, equipment can be handheld device, for example: mobile phone, panel computer etc. can be also other transmitting terminals, for example: notebook.Further, remote signal comprises the start of controlling external unit, controls the shutdown of external unit, the remote signal of the timed power on/off of control external unit etc.Further, can be the remote signal that arm processor receives the equipment transmission of Android operating system, wherein, the operating system of arm processor is Android operating system.
Preferably, the remote signal that remote signal is generated according to user's operation by the controlling application program of installing on equipment.For example: user selects the start of a certain external unit in controlling application program, controlling application program generates the remote signal of output of controlling a certain external unit power supply.Further, controlling application program can receive user the corresponding a certain external unit of a certain remote signal is set.For example: the corresponding remote signal 1 of external unit 1 is set, the corresponding remote signal 2 of external unit 2 etc. is set.
S101, according to described remote signal, selects the external unit corresponding with described remote signal, and described external unit is connected with described opertaing device.
In specific embodiment, receiving remote signal and remote signal is carried out to dissection process, obtaining and control power supply signal, wherein, can be that arm processor receives remote signal and remote signal is carried out to dissection process, obtains and controls power supply signal.
Further, arm processor is sent to next receiving processor by the control power supply signal of acquisition and processes, wherein, next receiving processor can be MCU processor, MCU controller comprises relay and the output port of power source under Control, MCU controller is according to default control power supply signal and the corresponding relation of external unit, the control power supply signal receiving is detected, obtain and control the external unit that power supply signal is controlled, and then the output port of power source being connected with controlled external unit is controlled.
Preferably, control power supply signal and can comprise starting-up signal 1, starting-up signal 2, starting-up signal 3 and off signal 4 and standby signal 5, external unit can comprise external unit 1, external unit 2, and external unit 3.If default control power supply signal is the corresponding external unit 1 of starting-up signal 1 with the corresponding relation of external unit, the external unit 2 of starting-up signal 2 correspondences, the external unit 3 of starting-up signal 3 correspondences, the corresponding external unit 1 of off signal 4, the corresponding external unit 1 of timing signal 5.If user need start shooting to external unit 1, the remote signal that sends starting-up signal 1 correspondence by terminal is to arm processor, arm processor is processed and is obtained starting-up signal 1 remote signal, and described starting-up signal 1 is sent to MCU controller, MCU controller is according to the external unit 1 of starting-up signal 1 correspondence, output port of power source external unit 1 being connected by pilot relay is carried out power supply output, and external unit 1 is opened.Same, if user need start shooting to external unit 2, user sends the remote signal of starting-up signal 2 correspondences by terminal, external unit 2 is opened.If user need carry out time opening to external unit 1, user sets timing by terminal, and the remote signal that sends timing signal 5 correspondences is to arm processor, telepilot is processed and obtained timing signal 5 be sent to MCU controller to arm processor, the timing that MCU controller carries according to timing signal 5, carrys out the output port of power source that pilot relay connects external unit 1 and carries out Timing power supply output.
Wherein, external unit comprises: the electrical equipment such as refrigerator, televisor, electric cooker.
S102, controls power supply to selected external unit output current.
In specific embodiment, can be MCU controller according to switching on and shutting down or the timed power on/off etc. of controlling power supply signal and carry out pilot relay and cut off or export indirectly to control connecting the power supply of output port of power source of object external unit the object external unit being connected with power supply.For example: when user is connected with the power lead of the electrical equipment such as electric cooker televisor with MCU controller, when user need to control cooking the time of electric cooker, user only need set opening time and end time by telepilot, the switch of the output port of power source that MCU controller connects according to the control timer electric cooker of setting, thereby timing is electric cooker power supply, indirectly control cooking the time of electric cooker, effectively lowered waste of energy.
As described in Figure 2, the method for a kind of opertaing device power supply described in the present embodiment comprises step:
S200, arranges at least one and controls the corresponding relation of power supply signal and at least one external unit.
In specific embodiment, at least one is set and controls power supply signal and the corresponding relation of at least one external unit and comprise the corresponding relation that the output port of power source that at least one control power supply signal is connected with at least one external unit power supply is set.For example: control power supply signal and comprise control power supply signal 1, control power supply signal 2, control power supply signal 3 etc., output port of power source comprises output port of power source 1, output port of power source 2, output port of power source 3 etc., can arrange and control power supply signal 1 corresponding power output port 1, control power supply signal 2 corresponding power output ports 2, control power supply signal 3 corresponding power output ports 3; Or, control power supply signal 1 corresponding power output port 1 and output port of power source 2.If user need control power supply signal 1 and control external unit 1, only external unit 1 need be received in the output port of power source of controlling power supply signal 1 correspondence, according to such method to set up, set the corresponding relation of controlling power supply signal and external unit.
S201, the remote signal that the terminal that reception is connected with control terminal sends.
S202, according to described remote signal, selects the external unit corresponding with described remote signal, and described external unit is connected with described opertaing device.
S203, controls power supply to selected external unit output current.
Wherein, step S101, step S101 and step S102 that step S201, step S202 and step S203 can embodiment shown in Figure 1, be not repeated herein.
As described in Figure 3, the method for a kind of opertaing device power supply described in the present embodiment comprises step:
S300, establishes a communications link with described terminal.
In specific embodiment, control terminal can access in WIFI network by Ethernet interface, and send identification information by WIFI network, this identification information identifies control terminal so that other-end identifies control terminal by this identification information and connects with control terminal, for example: utilize WIFI ID mark identification information, other-end connects by identification WIFI ID and control terminal, wherein, the arm processor that can be control terminal accesses in WIFI network by Ethernet interface, and sends identification information by WIFI network.Further, terminal can access in WIFI network by Ethernet interface equally, and according to user's the identification information that in WIFI network, search needs that is arranged on, in the time searching the identification information needing, terminal returns to binding application information to the arm processor of the control terminal that sends this identification information, and the arm processor of control terminal is set up WIFI communication connection according to the application information of binding and terminal.
S301, the remote signal that the terminal that reception is connected with control terminal sends.
S302, according to described remote signal, selects the external unit corresponding with described remote signal, and described external unit is connected with described opertaing device.
S303, controls power supply to selected external unit output current.
Wherein, step S101, step S101 and step S102 that step S301, step S302 and step S303 can embodiment shown in Figure 1, be not repeated herein.
Please refer to Fig. 5, is the first example structure schematic diagram of control terminal of the present invention.A kind of control terminal described in the present embodiment comprises:
Receiving element 100, for receiving the remote signal of the terminal transmission being connected with control terminal.
In specific embodiment, receiving element 100 receives the remote signal of the equipment transmission that Android Android operating system is installed, and wherein, equipment can be handheld device, for example: mobile phone, panel computer etc. can be also other transmitting terminals, for example: notebook.Further, remote signal comprises the start of controlling external unit, controls the shutdown of external unit, the remote signal of the timed power on/off of control external unit etc.Further, can be the remote signal that arm processor receives the equipment transmission of Android operating system, wherein, the operating system of arm processor is Android operating system.
Preferably, the remote signal that remote signal is generated according to user's operation by the controlling application program of installing on equipment.For example: user selects the start of a certain external unit in controlling application program, controlling application program generates the remote signal of output of controlling a certain external unit power supply.Further, controlling application program can receive user the corresponding a certain external unit of a certain remote signal is set.For example: the corresponding remote signal 1 of external unit 1 is set, the corresponding remote signal 2 of external unit 2 etc. is set.
Selected cell 200, for according to described remote signal, selects the external unit corresponding with described remote signal, and described external unit is connected with described opertaing device.
In specific embodiment, receiving remote signal and remote signal is carried out to dissection process, obtaining and control power supply signal, wherein, can be that arm processor receives remote signal and remote signal is carried out to dissection process, obtains and controls power supply signal.
Further, arm processor is sent to MCU processor by the control power supply signal of acquisition and processes, MCU controller comprises relay and the output port of power source under Control, MCU controller is according to default control power supply signal and the corresponding relation of external unit, the control power supply signal receiving is detected, obtain and control the external unit that power supply signal is controlled, and then the output port of power source being connected with controlled external unit is controlled.
Preferably, control power supply signal and can comprise starting-up signal 1, starting-up signal 2, starting-up signal 3 and off signal 4 and standby signal 5, external unit can comprise external unit 1, external unit 2, and external unit 3.If default control power supply signal is the corresponding external unit 1 of starting-up signal 1 with the corresponding relation of external unit, the external unit 2 of starting-up signal 2 correspondences, the external unit 3 of starting-up signal 3 correspondences, the corresponding external unit 1 of off signal 4, the corresponding external unit 1 of timing signal 5.If user need start shooting to external unit 1, the remote signal that sends starting-up signal 1 correspondence by terminal is to arm processor, arm processor is processed and is obtained starting-up signal 1 remote signal, and described starting-up signal 1 is sent to MCU controller, MCU controller is according to the external unit 1 of starting-up signal 1 correspondence, output port of power source external unit 1 being connected by pilot relay is carried out power supply output, and external unit 1 is opened.Same, if user need start shooting to external unit 2, user sends the remote signal of starting-up signal 2 correspondences by terminal, external unit 2 is opened.If user need carry out time opening to external unit 1, user sets timing by terminal, and the remote signal that sends timing signal 5 correspondences is to arm processor, telepilot is processed and obtained timing signal 5 be sent to MCU controller to arm processor, the timing that MCU controller carries according to timing signal 5, carrys out the output port of power source that pilot relay connects external unit 1 and carries out Timing power supply output.
Wherein, external unit comprises: the electrical equipment such as refrigerator, televisor, electric cooker.
Control module 300, for controlling power supply to selected external unit output current.
In specific embodiment, MCU controller is according to switching on and shutting down or the timed power on/off etc. of controlling power supply signal and carry out pilot relay and cut off or export indirectly to control connecting the power supply of output port of power source of object external unit the object external unit being connected with power supply.For example: when user is connected with the power lead of the electrical equipment such as electric cooker televisor with MCU controller, when user need to control cooking the time of electric cooker, user only need set opening time and end time by telepilot, the switch of the output port of power source that MCU controller connects according to the control timer electric cooker of setting, thereby timing is electric cooker power supply, indirectly control cooking the time of electric cooker, effectively lowered waste of energy.
Please refer to Fig. 4, is the second example structure schematic diagram of a kind of opertaing device of the present invention.A kind of opertaing device described in the present embodiment comprises:
Receiving element 100, selected cell 200 and control module 300.
Wherein, described control terminal also comprises:
Setting unit 400, the corresponding relation of controlling power supply signal and at least one external unit at least one is set.
In specific embodiment, at least one is set and controls power supply signal and the corresponding relation of at least one external unit and comprise the corresponding relation that the output port of power source that at least one control power supply signal is connected with at least one external unit power supply is set.For example: control power supply signal and comprise control power supply signal 1, control power supply signal 2, control power supply signal 3 etc., output port of power source comprises output port of power source 1, output port of power source 2, output port of power source 3 etc., can arrange and control power supply signal 1 corresponding power output port 1, control power supply signal 2 corresponding power output ports 2, control power supply signal 3 corresponding power output ports 3; Or, control power supply signal 1 corresponding power output port 1 and output port of power source 2.If user need control power supply signal 1 and control external unit 1, only external unit 1 need be received in the output port of power source of controlling power supply signal 1 correspondence, according to such method to set up, set the corresponding relation of controlling power supply signal and external unit.
Wherein, described selected cell 300 also comprises:
Resolve subelement 10, for described remote signal is carried out to dissection process, obtain and control power supply signal.
In specific embodiment, the parsing subelement 10 in arm processor receives remote signal and remote signal is carried out to dissection process, obtains and controls power supply signal.
Chooser unit 20, for according to default control power supply signal and the corresponding relation of external unit, selects the external unit corresponding with described control power supply signal.
In specific embodiment, the chooser unit 20 of MCU processor receives the control power supply signal of arm processor acquisition and processes, MCU controller comprises relay and the output port of power source under Control, MCU controller is according to default control power supply signal and the corresponding relation of external unit, the control power supply signal receiving is detected, obtain and control the external unit that power supply signal is controlled, and then the output port of power source being connected with controlled external unit is controlled.
Preferably, control power supply signal and can comprise starting-up signal 1, starting-up signal 2, starting-up signal 3 and off signal 4 and standby signal 5, external unit can comprise external unit 1, external unit 2, and external unit 3.If default control power supply signal is the corresponding external unit 1 of starting-up signal 1 with the corresponding relation of external unit, the external unit 2 of starting-up signal 2 correspondences, the external unit 3 of starting-up signal 3 correspondences, the corresponding external unit 1 of off signal 4, the corresponding external unit 1 of timing signal 5.If user need start shooting to external unit 1, the remote signal that sends starting-up signal 1 correspondence by terminal is to arm processor, arm processor is processed and is obtained starting-up signal 1 remote signal, and described starting-up signal 1 is sent to MCU controller, MCU controller is according to the external unit 1 of starting-up signal 1 correspondence, output port of power source external unit 1 being connected by pilot relay is carried out power supply output, and external unit 1 is opened.Same, if user need start shooting to external unit 2, user sends the remote signal of starting-up signal 2 correspondences by terminal, external unit 2 is opened.If user need carry out time opening to external unit 1, user sets timing by terminal, and the remote signal that sends timing signal 5 correspondences is to arm processor, telepilot is processed and obtained timing signal 5 be sent to MCU controller to arm processor, the timing that MCU controller carries according to timing signal 5, carrys out the output port of power source that pilot relay connects external unit 1 and carries out Timing power supply output.
Wherein, external unit comprises: the electrical equipment such as refrigerator, televisor, electric cooker.
Please refer to Fig. 4, is the second example structure schematic diagram of a kind of opertaing device of the present invention.A kind of opertaing device described in the present embodiment comprises:
Receiving element 100, selected cell 200 and control module 300.
Wherein, described control terminal also comprises:
Set up communication unit 500, for establishing a communications link with described terminal.
In specific embodiment, the setting up communication unit 500 and can access in WIFI network by Ethernet interface of control terminal, and send identification information by WIFI network, this identification information identifies control terminal so that other-end identifies control terminal by this identification information and connects with control terminal, for example: utilize WIFI ID mark identification information, other-end connects by identification WIFI ID and control terminal.Wherein, can be that the arm processor of control terminal accesses in WIFI network by Ethernet interface, and send identification information by WIFI network.Further, terminal can access in WIFI network by Ethernet interface equally, and according to user's the identification information that in WIFI network, search needs that is arranged on, in the time searching the identification information needing, terminal returns to binding application information to the arm processor of the control terminal that sends this identification information, and the arm processor of control terminal is set up WIFI communication connection according to the application information of binding and terminal.
Wherein, the described communication unit 500 of setting up comprises:
Send subelement 30, for sending identification information by WIFI network.
In specific embodiment, the transmission subelement 30 of control terminal can access in WIFI network by Ethernet interface, and send identification information by WIFI network, this identification information identifies control terminal so that other-end identifies control terminal by this identification information and connects with control terminal, for example: utilize WIFI ID mark identification information, other-end connects by identification WIFI ID and control terminal, wherein, the arm processor that can be control terminal accesses in WIFI network by Ethernet interface, and send identification information by WIFI network.
Receive subelement 40, the binding application information of returning according to identification information for the terminal receiving in described WIFI network.
In specific embodiment, can be that the arm processor of control terminal is received in the binding application information of returning when terminal in WIFI network searches the identification information of control terminal according to user's setting, verify this binding application information and detect and whether bind this terminal.
Set up communicator unit 50, for according to described binding application information, set up WIFI communication connection with described terminal.
In specific embodiment, in the time that the terminal receiving in WIFI network is searched binding application information that the identification information of control terminal returns and is verified according to user's setting, the arm processor of control terminal and terminal are set up WIFI communication connection.
By the description of above-described embodiment, the present invention has the following advantages:
The embodiment of the present invention is by receiving remote signal, select the corresponding external unit of remote signal according to remote signal, and according to remote signal control power supply to selected external unit output current, thereby make user can indirectly control by the output of telepilot control power supply switching on and shutting down or the timed power on/off etc. of the selected external unit that be connected with power supply.This has reduced the power consumption of external unit, for user provides more how convenient, improves device intelligence and has improved user experience.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.