CN103728959A - Intelligent socket control method and intelligent socket controller - Google Patents

Intelligent socket control method and intelligent socket controller Download PDF

Info

Publication number
CN103728959A
CN103728959A CN201410020475.7A CN201410020475A CN103728959A CN 103728959 A CN103728959 A CN 103728959A CN 201410020475 A CN201410020475 A CN 201410020475A CN 103728959 A CN103728959 A CN 103728959A
Authority
CN
China
Prior art keywords
protocol
input end
protocol instructions
control data
instructions
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.)
Granted
Application number
CN201410020475.7A
Other languages
Chinese (zh)
Other versions
CN103728959B (en
Inventor
傅强
王湛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUNRISE TECHNOLOGY Co Ltd
Original Assignee
SUNRISE TECHNOLOGY Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by SUNRISE TECHNOLOGY Co Ltd filed Critical SUNRISE TECHNOLOGY Co Ltd
Priority to CN201410020475.7A priority Critical patent/CN103728959B/en
Publication of CN103728959A publication Critical patent/CN103728959A/en
Application granted granted Critical
Publication of CN103728959B publication Critical patent/CN103728959B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

An embodiment of the invention provides an intelligent socket control method and an intelligent socket controller. Control data comprising a protocol instruction which is corresponding to the input end is read to determine the type of the input end, a corresponding protocol instruction is loaded and the output is controlled, and accordingly the technical problem that a technology that a communication protocol is converted through a controller cannot go deep into ordinary users and families to be utilized is solved. The intelligent socket control method includes that the controller reads the input control data which comprises the protocol instruction which is corresponding to the input end; the controller determines the type of the input end according to the protocol instruction and a power line carrier protocol instruction is loaded to the control data and the output is controlled if the input end is the first input end; and or the controller determines the type of the input end according to the protocol instruction and a preset protocol instruction is loaded to the control data and the output is controlled if the input end is the power supply end.

Description

A kind of smart jack control method and intelligent socket controller
Technical field
The present invention relates to field of electric control, relate in particular to a kind of smart jack control method and smart jack control device.
Background technology
Controller, refer to according to predefined procedure and change the wiring of main circuit or control circuit and change the device that in circuit, resistance value is controlled, for example microprogram control unit, copy exactly the method for common problem program, operating control signal is weaved into so-called " micro-order ", when machine moves, these micro-orders are read on another ground of controller, thereby produce the needed various operating control signals of full machine, make corresponding component carry out the operation of defined, at present controller is applied in to the technology of electronic product, be of a great variety, especially the technology of communication protocol being changed by controller also receives much concern.
The prior art of controller converts communications agreement need to be carried out instruction implantation by long-range The Cloud Terrace and be carried out control operation to controller, make the too complexity of process of controlling, and the threshold of control technology is higher, thereby, caused and controlled and the intelligent realization that cannot run neck and neck, meanwhile, such technology cannot be goed deep into domestic consumer and family.
In order to solve above-mentioned technical matters, allow the technology of controller converts communications agreement go deep into domestic consumer and family, become those skilled in the art and fall over each other the research topic of contending.
Summary of the invention
The embodiment of the present invention provides a kind of smart jack control method and intelligent socket controller, by reading the control data that include the protocol instructions corresponding with input end, judge input end type, and carry out corresponding protocol instructions loading and control output, solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used.
A kind of smart jack control method providing in the embodiment of the present invention, comprising:
Controller reads the control data of input, and described control packet contains the protocol instructions corresponding with input end;
Controller judges described input end type by described protocol instructions;
Controller judges described input end type by described protocol instructions, if first input end loads power line carrier protocol instructions and controls output described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads preset protocol instructions and controls output described control data.
Preferably, controller judges described input end type by described protocol instructions, if first input end specifically comprises described control data loading power line carrier protocol instructions control output:
Controller judges described input end type by described protocol instructions, if wired input end loads power line carrier protocol instructions and controls output described control data;
Or/and
Controller judges described input end type by described protocol instructions, if wireless input end loads power line carrier protocol instructions and controls output described control data.
Preferably, controller judges described input end type by described protocol instructions, if power end, to described control data load preset protocol instructions and control output specifically comprise:
Controller judges described input end type by described protocol instructions, if power end loads wired communication protocol instruction and controls output described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads wireless communication protocol instruction and controls output described control data.
Preferably, controller judges described input end type by described protocol instructions, if wired input end specifically comprises described control data loading power line carrier protocol instructions control output:
Controller judges described input end type by described protocol instructions, if Ethernet input end loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if serial ports input end loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if cable LAN input end loads power line carrier protocol instructions and exports by power end control described control data.
Preferably, controller judges described input end type by described protocol instructions, if wireless input end specifically comprises described control data loading power line carrier protocol instructions control output:
Controller judges described input end type by described protocol instructions, if WLAN (wireless local area network) input end loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if zigbee input end loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if rf inputs loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if infrared input end loads power line carrier protocol instructions and exports by power end control described control data.
Preferably, controller judges described input end type by described protocol instructions, if power end specifically comprises described control data loading wired communication protocol instruction control output:
Controller judges described input end type by described protocol instructions, if power end loads Ethernet protocol instruction and exports by netting twine control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads serial port protocol instruction and exports by serial ports control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads wired LAN protocol instruction and exports by netting twine control described control data.
Preferably, controller judges described input end type by described protocol instructions, if power end specifically comprises described control data loading wired communication protocol instruction control output:
Controller judges described input end type by described protocol instructions, if power end loads protocol of wireless local area network instruction and exports by built-in aerial control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads zigbee protocol instructions and exports by built-in aerial control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads radio frequency protocol instruction and exports by built-in aerial control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads infrared protocol instruction to described control data and exports by infrared end control.
A kind of intelligent socket controller that the embodiment of the present invention provides, is applied in socket and uses, and comprising:
Read module, for reading the control data of input, described control packet contains the described protocol instructions corresponding with input end;
Judge module, judges described input end type by described protocol instructions for controller;
Wherein, judge module comprises:
First loads submodule, if for first input end, described control data is loaded power line carrier protocol instructions and controls output;
Or/and
Second loads submodule, if for power end, described control data is loaded preset protocol instructions and controls output.
Preferably, the first loading submodule specifically comprises:
The first power line carrier instruction module, after judging described input end type according to described protocol instructions by described judge module, if wired input end loads power line carrier protocol instructions and controls output described control data;
Wherein, described the first power line carrier instruction module specifically comprises: the first Ethernet protocol module or/and first serial protocol module or/and the first cable LAN protocol module;
Or/and
The second power line carrier instruction module, after judging described input end type according to described protocol instructions by described judge module, if wireless input end loads power line carrier protocol instructions and controls output described control data;
Wherein, described the second power line carrier instruction module specifically comprises: the first protocol of wireless local area network module or/and a zigbee protocol module or/and the first radio frequency protocol module or/and the first infrared protocol module.
Preferably, the second loading submodule specifically comprises:
The first prepositioned instruction module, after judging described input end type according to described protocol instructions by described judge module, if power end loads wired communication protocol instruction and controls output described control data;
Wherein, described the first prepositioned instruction module specifically comprises: the second Ethernet protocol module or/and second serial protocol module or/and the second cable LAN protocol module;
Or/and
The second prepositioned instruction module, after judging described input end type according to described protocol instructions by described judge module, if power end loads wireless communication protocol instruction and controls output described control data;
Wherein, described the second prepositioned instruction module specifically comprises: the second protocol of wireless local area network module or/and the 2nd zigbee protocol module or/and the second radio frequency protocol module or/and the second infrared protocol module.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
A kind of smart jack control method and intelligent socket controller that the embodiment of the present invention provides, wherein, method comprises: first, controller reads the control data of input, control packet and contain the protocol instructions corresponding with input end, then, controller judges input end type by protocol instructions, if first input end, paired domination number is according to loading power line carrier protocol instructions and controlling output; Or/and controller judges input end type by protocol instructions, if power end, paired domination number is according to loading preset protocol instructions and controlling output.In the present embodiment, by reading the control data that include the protocol instructions corresponding with input end, judge input end type, and carry out corresponding protocol instructions loading and control output, can make ordinary family user by inserting smart jack, just realize electric supply and obtain and control the dual-use function of the input and output of different communication protocol, therefore, further solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used, meanwhile, also greatly reduce financial cost.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic flow sheet of an embodiment of a kind of smart jack control method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of another embodiment of a kind of smart jack control method that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of another embodiment of a kind of smart jack control method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of an embodiment of a kind of intelligent socket controller that Fig. 4 provides for the embodiment of the present invention;
The structural representation of another embodiment of a kind of intelligent socket controller that Fig. 5 provides for the embodiment of the present invention;
The structural representation of another embodiment of a kind of intelligent socket controller that Fig. 6 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of smart jack control method and intelligent socket controller, by reading the control data that include the protocol instructions corresponding with input end, judge input end type, and carry out corresponding protocol instructions loading and control output, solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiment, but not whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, an embodiment of a kind of smart jack control method that the embodiment of the present invention provides comprises:
101, controller reads the control data of input;
In the present embodiment, when user need to be provided with the control data output that the smart jack control of controller reads by use, be understandable that, this control packet contains the protocol instructions corresponding with input end, this protocol instructions can be communication protocol instruction, now, first controller need to read the control data of input end input.
It should be noted that, these control data can also be to be no less than two to control data parallel input, and this is no less than two control data and includes respectively the protocol instructions corresponding from different input ends, and this protocol instructions will describe in subsequent embodiment, no longer specifically repeat herein.
102, controller judges input end type by protocol instructions, if first input end performs step 103, if power end performs step 104;
When controller read input end input include the control data with the corresponding protocol instructions of input end after, need to judge by aforesaid protocol instructions the type of this control data input pin, if the type of this control data input pin is first input end, perform step 103, if the type of this control data input pin is power end, perform step 104.
It should be noted that, above-mentioned first input end specific descriptions can be described in detail in follow-up embodiment, therefore, just repeat no more herein.
103, paired domination number is according to loading power line carrier protocol instructions and controlling output;
In the present embodiment, after judging that by aforesaid protocol instructions the type of control data input pin is first input end, paired domination number is according to loading power line carrier protocol instructions and controlling output, be understandable that controller can be the interface output by the agreement output terminal corresponding with possessing power line carrier protocol instructions by the control data output that loads power line carrier protocol instructions, by line of electric force, transferring to external unit again receives, this external unit can be for example PC end, or interpreter, specifically do not limit herein.
It should be noted that, when loading power line carrier protocol instructions, can be that the protocol instructions having comprised in advance of paired domination number certificate is replaced.
104, paired domination number is according to loading preset protocol instructions and controlling output;
After judging that by aforesaid protocol instructions the type of control data input pin is power end, it should be noted that aforesaid protocol instructions can be power line carrier protocol instructions, paired domination number is according to loading preset protocol instructions and controlling output, be understandable that controller can be to export external unit to by the interface of the agreement output terminal corresponding with possessing preset protocol instructions by the control data output that loads preset protocol instructions, this external unit can be for example PC end, or interpreter, specifically do not limit herein.
It should be noted that, when loading preset protocol instructions, can be that the protocol instructions having comprised in advance of paired domination number certificate is replaced, and the specific descriptions of this preset protocol instructions will describe in follow-up embodiment, therefore, no longer specifically repeat herein.
Should be noted that, in the present embodiment, the control data of the input of reading when aforesaid step 101 middle controller, for including being respectively no less than two and controlling after data of the protocol instructions corresponding from different input ends, aforesaid step 102 is when judging input end type by protocol instructions, can further include and judge that the type of input end can be to judge that first input end and power end exist simultaneously, then perform step 103 and 104 simultaneously.
A kind of smart jack control method and intelligent socket controller that the embodiment of the present invention provides, wherein, method comprises: controller reads the control data of input, control packet and contain the protocol instructions corresponding with input end, controller judges input end type by protocol instructions, if first input end, paired domination number is according to loading power line carrier protocol instructions output, if or/and power end, paired domination number is according to loading preset protocol instructions output.In the present embodiment, by reading the control data that include the protocol instructions corresponding with input end, judge input end type, and carry out corresponding protocol instructions loading and control output, can make ordinary family user by inserting smart jack, just realize electric supply and obtain and control the dual-use function of the input and output of different communication protocol, therefore, further solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used, meanwhile, also greatly reduce financial cost.
Be the detailed description that the process of the smart jack control method to providing in the embodiment of the present invention is carried out above, will specifically set forth the method that judges input end type below, in actual applications, input end has multiple, will describe respectively below.
One, wired input end;
Refer to Fig. 2, another embodiment of a kind of smart jack control method that the embodiment of the present invention provides comprises:
201, controller reads the control data of input;
In the present embodiment, when user need to be provided with the control data output that the smart jack control of controller reads by use, be understandable that, this control packet contains the protocol instructions corresponding with input end, this protocol instructions can be communication protocol instruction, now, first controller need to read the control data of input end input.
It should be noted that, these control data can also be to be no less than two to control data parallel input, and this is no less than two control data and includes respectively the protocol instructions corresponding from different input ends, and this protocol instructions will describe in subsequent embodiment, no longer specifically repeat herein.
202, controller judges input end type by protocol instructions, if wired input end performs step 203, if power end performs step 204 or 205;
When controller read input end input include the control data with the corresponding protocol instructions of input end after, need to judge by aforesaid protocol instructions the type of this control data input pin, if the type of this control data input pin is wired input end, perform step 203, if the type of this control data input pin is power end, perform step 204 or 205.
203, paired domination number is according to loading power line carrier protocol instructions and controlling output;
In the present embodiment, after judging that by aforesaid protocol instructions the type of control data input pin is wired input end, paired domination number is according to loading power line carrier protocol instructions and controlling output, be understandable that controller can be the interface output by the agreement output terminal corresponding with possessing power line carrier protocol instructions by the control data output that loads power line carrier protocol instructions, can be for example by line of electric force, to transfer to external unit to receive, this external unit can be for example PC end, or interpreter, specifically do not limit herein.
Be understandable that, aforesaid protocol instructions judges that the type of control data input pin is wired input end, can be specifically to judge that by Ethernet protocol instruction the type of control data input pin is to judge that the type of control data input pin is Ethernet input end;
Can also be to judge that by serial port protocol instruction the type of control data input pin is to judge that the type of control data input pin is serial ports input end;
Or, by cable LAN protocol instructions, judge that the type of control data input pin is to judge that the type of control data input pin is cable LAN input end.
It should be noted that, when loading power line carrier protocol instructions, can be that the protocol instructions having comprised in advance of paired domination number certificate is replaced.
204, paired domination number is according to loading wired communication protocol instruction and controlling output;
After judging that by aforesaid protocol instructions the type of control data input pin is power end, it should be noted that aforesaid protocol instructions can be power line carrier protocol instructions, paired domination number is according to loading wired communication protocol instruction and controlling output, be understandable that controller can be to export external unit to by the interface of the agreement output terminal corresponding with possessing wired communication protocol instruction by the control data output that loads wired communication protocol instruction, this possesses the corresponding agreement output terminal of wired communication protocol instruction can be for example netting twine port, or serial ports, specifically do not limit herein, this external unit can be for example PC end, or interpreter, specifically do not limit herein.
It should be noted that, when loading wired communication protocol instruction, can be that the protocol instructions having comprised in advance of paired domination number certificate is replaced.
Be understandable that, aforesaid wired communication protocol instruction can be Ethernet protocol instruction, can be serial port protocol instruction, or cable LAN protocol instructions.
205, paired domination number is according to loading wireless communication protocol instruction and controlling output.
After judging that by aforesaid protocol instructions the type of control data input pin is power end, it should be noted that aforesaid protocol instructions can be power line carrier protocol instructions, paired domination number is according to loading wireless communication protocol instruction and controlling output, be understandable that controller can be to export external unit to by the interface of the agreement output terminal corresponding with possessing wireless communication protocol instruction by the control data output that loads wireless communication protocol instruction, this possesses the corresponding agreement output terminal of wireless communication protocol instruction can be for example built-in aerial, or infrared emission end, specifically do not limit herein, this external unit can be for example PC end, or interpreter, specifically do not limit herein.
It should be noted that, when loading wireless communication protocol instruction, can be that the protocol instructions having comprised in advance of paired domination number certificate is replaced.
Be understandable that, aforesaid wireless communication protocol instruction can be protocol of wireless local area network instruction, it can be zigbee protocol instructions, it can also be radio frequency protocol instruction, or infrared protocol instruction, this radio frequency protocol instruction can be 433MHz protocol instructions, can be 868MHZ protocol instructions, can also be 315MHZ protocol instructions, or 915MHZ protocol instructions.
Should be noted that, in the present embodiment, the control data of the input of reading when aforesaid step 201 middle controller, for including being respectively no less than two and controlling after data of the protocol instructions corresponding from different input ends, when aforesaid step 202 judges input end type by protocol instructions, can further include and judge that the type of input end can be to judge that wired input end and power end exist simultaneously, then perform step 203 and 204 simultaneously, or perform step 203 and 205 simultaneously.
In the present embodiment, by reading the control data that include the protocol instructions corresponding with input end, judge input end type, and carry out corresponding protocol instructions loading and control output, can make ordinary family user by inserting smart jack, just realize electric supply and obtain and control the dual-use function of the input and output of different communication protocol, therefore, further solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used, meanwhile, also greatly reduce financial cost, simultaneously, judge that input end is after power end, can load as required wired communication protocol or wireless communication protocol by wired mode or wireless mode control output, make intelligent further perfect.
Two, wireless communications mode;
Refer to Fig. 3, another embodiment of a kind of smart jack control method that the embodiment of the present invention provides comprises:
301, controller reads the control data of input;
In the present embodiment, when user need to be provided with the control data output that the smart jack control of controller reads by use, be understandable that, this control packet contains the protocol instructions corresponding with input end, this protocol instructions can be communication protocol instruction, now, first controller need to read the control data of input end input.
It should be noted that, these control data can also be to be no less than two to control data parallel input, and this is no less than two control data and includes respectively the protocol instructions corresponding from different input ends, and this protocol instructions will describe in subsequent embodiment, no longer specifically repeat herein.
302, controller judges input end type by protocol instructions, if wireless input end performs step 303, if power end performs step 304 or 305;
When controller read input end input include the control data with the corresponding protocol instructions of input end after, need to judge by aforesaid protocol instructions the type of this control data input pin, if the type of this control data input pin is wireless input end, perform step 303, if the type of this control data input pin is power end, perform step 304 or 305.
303, paired domination number is according to loading power line carrier protocol instructions and controlling output;
In the present embodiment, after judging that by aforesaid protocol instructions the type of control data input pin is wireless input end, paired domination number is according to loading power line carrier protocol instructions and controlling output, be understandable that controller can be the interface output by the agreement output terminal corresponding with possessing power line carrier protocol instructions by the control data output that loads power line carrier protocol instructions, can be for example by line of electric force, to transfer to external unit to receive, this external unit can be for example PC end, or interpreter, specifically do not limit herein.
Be understandable that, aforesaid protocol instructions judges that the type of control data input pin is wireless input end, can be specifically to judge that by protocol of wireless local area network instruction the type of control data input pin is to judge that the type of control data input pin is WLAN (wireless local area network) input end;
Can also be to judge that by zigbee protocol instructions the type of control data input pin is to judge that the type of control data input pin is zigbee input end;
Can also be, by radio frequency protocol instruction, judge that the type of control data input pin is to judge that the type of control data input pin is rf inputs, wherein radio frequency protocol instruction can also further include 433MHz protocol instructions, 868MHZ protocol instructions, 315MHZ protocol instructions, or 915MHZ protocol instructions;
Or, by infrared protocol instruction, judge that the type of control data input pin is to judge that the type of control data input pin is infrared input end.
It should be noted that, when loading power line carrier protocol instructions, can be that the protocol instructions having comprised in advance of paired domination number certificate is replaced.
304, paired domination number is according to loading wired communication protocol instruction and controlling output;
After judging that by aforesaid protocol instructions the type of control data input pin is power end, it should be noted that aforesaid protocol instructions can be power line carrier protocol instructions, paired domination number is according to loading wired communication protocol instruction and controlling output, be understandable that controller can be to export external unit to by the interface of the agreement output terminal corresponding with possessing wired communication protocol instruction by the control data output that loads wired communication protocol instruction, this possesses the corresponding agreement output terminal of wired communication protocol instruction can be for example netting twine port, or serial ports, specifically do not limit herein, this external unit can be for example PC end, or interpreter, specifically do not limit herein.
It should be noted that, when loading wired communication protocol instruction, can be that the protocol instructions having comprised in advance of paired domination number certificate is replaced.
Be understandable that, aforesaid wired communication protocol instruction can be Ethernet protocol instruction, can be serial port protocol instruction, or cable LAN protocol instructions.
305, paired domination number is according to loading wireless communication protocol instruction and controlling output.
After judging that by aforesaid protocol instructions the type of control data input pin is power end, it should be noted that aforesaid protocol instructions can be power line carrier protocol instructions, paired domination number is according to loading wireless communication protocol instruction and controlling output, be understandable that controller can be to export external unit to by the interface of the agreement output terminal corresponding with possessing wireless communication protocol instruction by the control data output that loads wireless communication protocol instruction, this possesses the corresponding agreement output terminal of wireless communication protocol instruction can be for example built-in aerial, or infrared emission end, specifically do not limit herein, this external unit can be for example PC end, or interpreter, specifically do not limit herein.
It should be noted that, when loading wireless communication protocol instruction, can be that the protocol instructions having comprised in advance of paired domination number certificate is replaced.
Be understandable that, aforesaid wireless communication protocol instruction can be protocol of wireless local area network instruction, it can be zigbee protocol instructions, it can also be radio frequency protocol instruction, or infrared protocol instruction, this radio frequency protocol instruction can be 433MHz protocol instructions, can be 868MHZ protocol instructions, can also be 315MHZ protocol instructions, or 915MHZ protocol instructions.
Should be noted that, in the present embodiment, the control data of the input of reading when aforesaid step 101 middle controller, for including being respectively no less than two and controlling after data of the protocol instructions corresponding from different input ends, when aforesaid step 302 judges input end type by protocol instructions, can further include and judge that the type of input end can be to judge that wireless input end and power end exist simultaneously, then perform step 303 and 304 simultaneously, or perform step 303 and 305 simultaneously.
In the present embodiment, by reading the control data that include the protocol instructions corresponding with input end, judge input end type, and carry out corresponding protocol instructions loading and control output, can make ordinary family user by inserting smart jack, just realize electric supply and obtain and control the dual-use function of the input and output of different communication protocol, therefore, further solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used, meanwhile, also greatly reduce financial cost, simultaneously, judge that input end is after power end, can load as required wired communication protocol or wireless communication protocol by wired mode or wireless mode control output, make intelligent further perfect.
Refer to Fig. 4, an embodiment of a kind of intelligent socket controller that the embodiment of the present invention provides comprises:
Read module 401, for reading the control data of input, controls packet and contains the protocol instructions corresponding with input end;
Judge module 402, judges input end type by protocol instructions for controller;
Wherein, judge module comprises:
First loads submodule 4021, if for first input end, paired domination number is according to loading power line carrier protocol instructions and controlling output;
Or/and
Second loads submodule 4022, if for power end, paired domination number is according to loading preset protocol instructions and controlling output.
Should be noted that, the intelligent socket controller that the embodiment of the present invention provides is applied in socket and uses.
In the present embodiment, by read module 401, read the control data that include the protocol instructions corresponding with input end, judge module 402 judges input end type, and by the first loading submodule 4021 or/and second load submodule 4022 carry out corresponding protocol instructions loading and control output, can make ordinary family user by inserting smart jack, just realize electric supply and obtain and control the dual-use function of the input and output of different communication protocol, therefore, further solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used, meanwhile, also greatly reduce financial cost.
That each module of the intelligent socket controller in the embodiment of the present invention is described in detail above, below the function of the first power line carrier instruction module to the first loading submodule is described in detail, refer to Fig. 5, another embodiment of a kind of intelligent socket controller that the embodiment of the present invention provides comprises:
Read module 501, for reading the control data of input, controls packet and contains the protocol instructions corresponding with input end;
Judge module 502, judges input end type by protocol instructions for controller;
Wherein, judge module comprises:
First loads submodule 5021, if for first input end, paired domination number is according to loading power line carrier protocol instructions and controlling output;
Wherein, the first loading submodule 5021 can further include:
The first power line carrier instruction module 50211, after input end type being judged according to protocol instructions by judge module, if wired input end, paired domination number is according to loading power line carrier protocol instructions and controlling output;
The first power line carrier instruction module 50211 specifically comprises:
The first Ethernet protocol module 11, for by protocol instructions, input end type being judged, if Ethernet input end, paired domination number is according to loading power line carrier protocol instructions and exporting by power end control;
First serial protocol module 12, for by protocol instructions, input end type being judged, if serial ports input end, paired domination number is according to loading power line carrier protocol instructions and exporting by power end control;
The first cable LAN protocol module 13, for by protocol instructions, input end type being judged, if cable LAN input end, paired domination number is according to loading power line carrier protocol instructions and exporting by power end control.
Or/and
Second loads submodule 5022, if for power end, paired domination number is according to loading preset protocol instructions and controlling output.
Wherein, the second loading submodule 5022 can further include: the first prepositioned instruction module 50221 is or/and the second prepositioned instruction module 50222;
The first prepositioned instruction module 50221, after input end type being judged according to protocol instructions by judge module 502, if power end, paired domination number is according to loading wired communication protocol instruction and controlling output;
Wherein, the first prepositioned instruction module 50221 specifically comprises: the second Ethernet protocol module 21, and for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading Ethernet protocol instruction and exporting by netting twine control;
Second serial protocol module 22, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading serial port protocol instruction and exporting by serial ports control;
The second cable LAN protocol module 23, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading wired LAN protocol instruction and exporting by netting twine control.
The second prepositioned instruction module 50222, after input end type being judged according to protocol instructions by judge module 502, if power end, paired domination number is according to loading wireless communication protocol instruction and controlling output;
Wherein, the second prepositioned instruction module 50222 specifically comprises: the second protocol of wireless local area network module 31, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading protocol of wireless local area network instruction and exporting by built-in aerial control;
The 2nd zigbee protocol module 32, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading zigbee protocol instructions and exporting by built-in aerial control;
The second radio frequency protocol module 33, for controller, by protocol instructions, input end type is judged, if power end, paired domination number is according to loading radio frequency protocol instruction and exporting by built-in aerial control, it should be noted that, this radio frequency protocol instruction can be 433MHz protocol instructions, can be 868MHZ protocol instructions, can also be 315MHZ protocol instructions, or 915MHZ protocol instructions;
The second infrared protocol module 34, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading infrared protocol instruction and exporting by infrared end control.
Should be noted that, the intelligent socket controller that the embodiment of the present invention provides is applied in socket and uses.
In the present embodiment, by read module 501, read the control data that include the protocol instructions corresponding with input end, judge module 502 first power line carrier instruction modules 50212 judge that input end is wired input end, and by the first loading submodule 5021 or/and second load submodule 5022 carry out corresponding protocol instructions loading and control output, can make ordinary family user by inserting smart jack, just realize electric supply and obtain and control the dual-use function of the input and output of different communication protocol, therefore, further solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used, meanwhile, also greatly reduce financial cost, simultaneously, judge that input end is after power end, can be as required by the first prepositioned instruction module 50221 or the second prepositioned instruction module 50222, load wired communication protocol or wireless communication protocol by wired mode or wireless mode control output, make intelligent further perfect.
The function that is the first power line carrier instruction module to the first loading submodule is above described in detail, to be described in detail the second power line carrier instruction module below, refer to Fig. 6, another embodiment of a kind of intelligent socket controller that the embodiment of the present invention provides comprises:
Read module 601, for reading the control data of input, controls packet and contains the protocol instructions corresponding with input end;
Judge module 602, judges input end type by protocol instructions for controller;
Wherein, judge module 602 comprises:
First loads submodule 6021, if for first input end, paired domination number is according to loading power line carrier protocol instructions and controlling output;
Wherein, the first loading submodule 6021 can further include:
The second power line carrier instruction module 60212, after input end type being judged according to protocol instructions by judge module 602, if wireless input end, paired domination number is according to loading power line carrier protocol instructions and controlling output;
Wherein, the second power line carrier instruction module 60212 specifically comprises: the first protocol of wireless local area network module 41, for input end type being judged by protocol instructions, if WLAN (wireless local area network) input end, paired domination number is according to loading power line carrier protocol instructions and exporting by power end control;
The one zigbee protocol module 42, for by protocol instructions, input end type being judged, if zigbee input end, paired domination number is according to loading power line carrier protocol instructions and exporting by power end control
The first radio frequency protocol module 43, for controller, by protocol instructions, input end type is judged, if rf inputs, paired domination number is according to loading power line carrier protocol instructions and exporting by power end control, be understandable that, this rf inputs can be 433MHz input end, can be 868MHZ input end, can also be 315MHZ input end, or 915MHZ input end;
The first infrared protocol module 44, for by protocol instructions, input end type being judged, if infrared input end, paired domination number is according to loading power line carrier protocol instructions and exporting by power end control.
Or/and
Second loads submodule 6022, if for power end, paired domination number is according to loading preset protocol instructions and controlling output.
Wherein, the second loading submodule 6022 can further include: the first prepositioned instruction module 60221 is or/and the second prepositioned instruction module 60222;
The first prepositioned instruction module 60221, after input end type being judged according to protocol instructions by judge module 602, if power end, paired domination number is according to loading wired communication protocol instruction and controlling output;
Wherein, the first prepositioned instruction module 60221 specifically comprises: the second Ethernet protocol module 51, and for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading Ethernet protocol instruction and exporting by netting twine control;
Second serial protocol module 52, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading serial port protocol instruction and exporting by serial ports control;
The second cable LAN protocol module 53, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading wired LAN protocol instruction and exporting by netting twine control.
The second prepositioned instruction module 60222, after input end type being judged according to protocol instructions by judge module 602, if power end, paired domination number is according to loading wireless communication protocol instruction and controlling output;
Wherein, the second prepositioned instruction module 60222 specifically comprises: the second protocol of wireless local area network module 61, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading protocol of wireless local area network instruction and exporting by built-in aerial control;
The 2nd zigbee protocol module 62, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading zigbee protocol instructions and exporting by built-in aerial control;
The second radio frequency protocol module 63, for controller, by protocol instructions, input end type is judged, if power end, paired domination number is according to loading radio frequency protocol instruction and exporting by built-in aerial control, it should be noted that, this radio frequency protocol instruction can be 433MHz protocol instructions, can be 868MHZ protocol instructions, can also be 315MHZ protocol instructions, or 915MHZ protocol instructions;
The second infrared protocol module 64, for by protocol instructions, input end type being judged, if power end, paired domination number is according to loading infrared protocol instruction and exporting by infrared end control.
Should be noted that, the intelligent socket controller that the embodiment of the present invention provides is applied in socket and uses.
In the present embodiment, by read module 601, read the control data that include the protocol instructions corresponding with input end, judge module 602 second power line carrier instruction modules 60211 judge that input end is wireless input end, and by the first loading submodule 6021 or/and second load submodule 6022 carry out corresponding protocol instructions loading and control output, can make ordinary family user by inserting smart jack, just realize electric supply and obtain and control the dual-use function of the input and output of different communication protocol, therefore, further solve controller converts communications protocol technology and goed deep into the technical matters that domestic consumer and family are used, meanwhile, also greatly reduce financial cost, simultaneously, judge that input end is after power end, can be as required by the first prepositioned instruction module 60221 or the second prepositioned instruction module 60222, load wired communication protocol or wireless communication protocol by wired mode or wireless mode control output, make intelligent further perfect.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If described integrated unit is realized and during as production marketing independently or use, can be stored in a computer read/write memory medium using the form of SFU software functional unit.Based on such understanding, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a smart jack control method, is characterized in that, comprising:
Controller reads the control data of input, and described control packet contains the protocol instructions corresponding with input end;
Controller judges described input end type by described protocol instructions, if first input end loads power line carrier protocol instructions and controls output described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads preset protocol instructions and controls output described control data.
2. method according to claim 1, is characterized in that, controller judges described input end type by described protocol instructions, if first input end specifically comprises described control data loading power line carrier protocol instructions control output:
Controller judges described input end type by described protocol instructions, if wired input end loads power line carrier protocol instructions and controls output described control data;
Or/and
Controller judges described input end type by described protocol instructions, if wireless input end loads power line carrier protocol instructions and controls output described control data.
3. method according to claim 1, is characterized in that, controller judges described input end type by described protocol instructions, if power end, to described control data load preset protocol instructions and control output specifically comprise:
Controller judges described input end type by described protocol instructions, if power end loads wired communication protocol instruction and controls output described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads wireless communication protocol instruction and controls output described control data.
4. method according to claim 2, is characterized in that, controller judges described input end type by described protocol instructions, if wired input end specifically comprises described control data loading power line carrier protocol instructions control output:
Controller judges described input end type by described protocol instructions, if Ethernet input end loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if serial ports input end loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if cable LAN input end loads power line carrier protocol instructions and exports by power end control described control data.
5. method according to claim 2, is characterized in that, controller judges described input end type by described protocol instructions, if wireless input end specifically comprises described control data loading power line carrier protocol instructions control output:
Controller judges described input end type by described protocol instructions, if WLAN (wireless local area network) input end loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if zigbee input end loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if rf inputs loads power line carrier protocol instructions and exports by power end control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if infrared input end loads power line carrier protocol instructions and exports by power end control described control data.
6. method according to claim 3, is characterized in that, controller judges described input end type by described protocol instructions, if power end specifically comprises described control data loading wired communication protocol instruction control output:
Controller judges described input end type by described protocol instructions, if power end loads Ethernet protocol instruction and exports by netting twine control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads serial port protocol instruction and exports by serial ports control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads wired LAN protocol instruction and exports by netting twine control described control data.
7. method according to claim 3, is characterized in that, controller judges described input end type by described protocol instructions, if power end specifically comprises described control data loading wired communication protocol instruction control output:
Controller judges described input end type by described protocol instructions, if power end loads protocol of wireless local area network instruction and exports by built-in aerial control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads zigbee protocol instructions and exports by built-in aerial control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads radio frequency protocol instruction and exports by built-in aerial control described control data;
Or/and
Controller judges described input end type by described protocol instructions, if power end loads infrared protocol instruction to described control data and exports by infrared end control.
8. an intelligent socket controller, is applied in socket and uses, and it is characterized in that, comprising:
Read module, for reading the control data of input, described control packet contains the described protocol instructions corresponding with input end;
Judge module, judges described input end type by described protocol instructions for controller;
Wherein, judge module comprises:
First loads submodule, if for first input end, described control data is loaded power line carrier protocol instructions and controls output;
Or/and
Second loads submodule, if for power end, described control data is loaded preset protocol instructions and controls output.
9. intelligent socket controller according to claim 8, is characterized in that, first loads submodule specifically comprises:
The first power line carrier instruction module, after judging described input end type according to described protocol instructions by described judge module, if wired input end loads power line carrier protocol instructions and controls output described control data;
Wherein, described the first power line carrier instruction module specifically comprises: the first Ethernet protocol module or/and first serial protocol module or/and the first cable LAN protocol module;
Or/and
The second power line carrier instruction module, after judging described input end type according to described protocol instructions by described judge module, if wireless input end loads power line carrier protocol instructions and controls output described control data;
Wherein, described the second power line carrier instruction module specifically comprises: the first protocol of wireless local area network module or/and a zigbee protocol module or/and the first radio frequency protocol module or/and the first infrared protocol module.
10. intelligent socket controller according to claim 8, is characterized in that, second loads submodule specifically comprises:
The first prepositioned instruction module, after judging described input end type according to described protocol instructions by described judge module, if power end loads wired communication protocol instruction and controls output described control data;
Wherein, described the first prepositioned instruction module specifically comprises: the second Ethernet protocol module or/and second serial protocol module or/and the second cable LAN protocol module;
Or/and
The second prepositioned instruction module, after judging described input end type according to described protocol instructions by described judge module, if power end loads wireless communication protocol instruction and controls output described control data;
Wherein, described the second prepositioned instruction module specifically comprises: the second protocol of wireless local area network module or/and the 2nd zigbee protocol module or/and the second radio frequency protocol module or/and the second infrared protocol module.
CN201410020475.7A 2014-01-16 2014-01-16 Intelligent socket control method and intelligent socket controller Active CN103728959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410020475.7A CN103728959B (en) 2014-01-16 2014-01-16 Intelligent socket control method and intelligent socket controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410020475.7A CN103728959B (en) 2014-01-16 2014-01-16 Intelligent socket control method and intelligent socket controller

Publications (2)

Publication Number Publication Date
CN103728959A true CN103728959A (en) 2014-04-16
CN103728959B CN103728959B (en) 2017-01-11

Family

ID=50453074

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410020475.7A Active CN103728959B (en) 2014-01-16 2014-01-16 Intelligent socket control method and intelligent socket controller

Country Status (1)

Country Link
CN (1) CN103728959B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910744A (en) * 2019-12-03 2021-06-04 北京沃东天骏信息技术有限公司 Intelligent device control method and device, storage medium and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090257754A1 (en) * 2008-04-14 2009-10-15 Cisco Technology, Inc. Form factor adapter module
CN202259964U (en) * 2011-04-07 2012-05-30 张宇 Intelligent socket
CN202495966U (en) * 2012-03-07 2012-10-17 陕西科技大学 Embedded configurable multi-protocol communication network converter
CN102780705A (en) * 2012-08-10 2012-11-14 浙江工业大学 Ethernet-(controller area network) CAN protocol converter
CN202632072U (en) * 2012-05-07 2012-12-26 广东明家科技股份有限公司 Intelligent control socket system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090257754A1 (en) * 2008-04-14 2009-10-15 Cisco Technology, Inc. Form factor adapter module
CN202259964U (en) * 2011-04-07 2012-05-30 张宇 Intelligent socket
CN202495966U (en) * 2012-03-07 2012-10-17 陕西科技大学 Embedded configurable multi-protocol communication network converter
CN202632072U (en) * 2012-05-07 2012-12-26 广东明家科技股份有限公司 Intelligent control socket system
CN102780705A (en) * 2012-08-10 2012-11-14 浙江工业大学 Ethernet-(controller area network) CAN protocol converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910744A (en) * 2019-12-03 2021-06-04 北京沃东天骏信息技术有限公司 Intelligent device control method and device, storage medium and electronic device

Also Published As

Publication number Publication date
CN103728959B (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN104115137B (en) Self selectives of the PCIe SMBus from address
CN102651165A (en) Wireless learning type infrared repeating system and working method thereof
CN204404559U (en) A kind of cloud water-heater system based on Wi-Fi communication
CN101252757A (en) Wireless communication system, wireless communication module and wireless communication device
CN104578277A (en) Method for charging electronic equipment and electronic equipment
CN103838612A (en) Device, method and system for burning firmware by factory
CN107508354A (en) A kind of charging method and mobile terminal
CN103400096B (en) Double-purpose card reader, NFC-SIM card reader and method of testing thereof
CN106101989A (en) A kind of method selecting safe unit and mobile terminal
CN109842428A (en) A kind of WiFi chip and adaptive approach
CN104868573A (en) Power adapter and quick charging switching method
CN104617643A (en) Charging method, equipment to be charged, power supply equipment and charging system
CN106341393A (en) Method and system for making modules of wisdom platform compatible
CN106301409A (en) A kind of power amplification circuit, mobile terminal and method
CN104485712A (en) Charging method and electronic equipment
CN103728959A (en) Intelligent socket control method and intelligent socket controller
CN102014528A (en) Wireless internet equipment, system and method
CN103369711A (en) Communication connection establishment method and terminal device
CN106356907A (en) Domestic power supply system and operation method thereof
CN103746725A (en) Design method of network switching socket and network switching socket
CN101316416B (en) Two-card two-standby mobile phone chip communication system and communication method
CN104809091B (en) A kind of switching device
CN104899164A (en) Address addressing method for integrated circuit bus and integrated circuit bus equipment and system
CN108111222A (en) infrared emission control device and method
CN210123977U (en) Relay cable and augmented reality system

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