CN104142644A - Socket control methods and device - Google Patents

Socket control methods and device Download PDF

Info

Publication number
CN104142644A
CN104142644A CN201410350746.5A CN201410350746A CN104142644A CN 104142644 A CN104142644 A CN 104142644A CN 201410350746 A CN201410350746 A CN 201410350746A CN 104142644 A CN104142644 A CN 104142644A
Authority
CN
China
Prior art keywords
socket
steering order
control
module
timing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410350746.5A
Other languages
Chinese (zh)
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.)
BEIJING NEWMINE TENGFEI TECHNOLOGY Co Ltd
Original Assignee
BEIJING NEWMINE TENGFEI 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 BEIJING NEWMINE TENGFEI TECHNOLOGY Co Ltd filed Critical BEIJING NEWMINE TENGFEI TECHNOLOGY Co Ltd
Priority to CN201410350746.5A priority Critical patent/CN104142644A/en
Publication of CN104142644A publication Critical patent/CN104142644A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The embodiment of the invention relates to socket control methods and device. The control method of a mobile terminal side includes the steps that a socket control instruction input by a user is received, audio coding processing is conducted on the socket control instruction, audio coding data are generated, and the audio coding data are converted into audio signals to be output. The control method of a socket side includes the steps that an audio signal is received and converted into audio coding data, the audio coding data are decoded, a socket control instruction is generated, and corresponding socket control operation is executed according to the socket control instruction. According to the socket control methods and device, a mobile terminal sends the audio signal to control a socket so that the control over the socket can be more convenient, the audio signal serves as the carrier of the socket control instruction so that more complex control instructions can be transmitted, compared with a manner that the only the amplitude of sounds is used as a control condition in the prior art, the influences of surroundings on the socket are small, and stability is higher.

Description

The control method of socket and control device
Technical field
The present invention relates to intelligent socket device technical field, particularly a kind of control method of socket and control device.
Background technology
Smart jack is the important component part of Smart Home, there is close relationship with people's life, sound control socket belongs to a kind of smart jack, but, existing sound control socket, being unlatching or the closing function of carrying out socket according to the amplitude of the sound receiving mostly, there is following drawback in this method:
Socket receives any sound, as long as reach its default amplitude, socket can be opened or be closed, but in our living environment, exist various noises, and there is the noise that a lot of amplitudes are higher, thereby can cause continually the unlatching of socket or close, make socket in not controlled state; Socket is unlocked easily or closes, and can cause the unlatching without reason of consumer or close, and affects the serviceable life of consumer, and the storage security of user profile or data; In addition, the on off state that also affects consumer is opened or closed to socket easily, has some unnecessary living safety hidden danger.
Summary of the invention
Embodiments of the invention provide a kind of control method and control device of socket, and the sound signal that comprises socket steering order of sending by mobile terminal, controls socket, with the object that reaches accurately, easily socket is controlled.
For achieving the above object, embodiments of the invention adopt following technical scheme:
The control method that the invention provides a kind of socket, comprising:
Mobile terminal receives the socket steering order of user's input, and this socket steering order is carried out to audio coding processing, generates coded audio data, and this coded audio data is converted to sound signal output.
Preferably, described socket steering order comprises the identification information corresponding with socket to be controlled.
Preferably, described socket steering order comprises socket switch control information.
Preferably, described socket steering order also comprises switch timing information.
The present invention also provides a kind of control method of socket, comprising:
Received audio signal is also converted to coded audio data, to the processing of decoding of this coded audio data, generates socket steering order, according to described socket steering order, carries out corresponding socket control operation.
Preferably, in described socket steering order, comprise the identification information corresponding with socket to be controlled, described according to socket steering order, carry out before corresponding socket control operation and also comprise: identification information described and that socket to be controlled is corresponding and self the identification information of working as front socket storage are compared, if unanimously, according to socket steering order, carry out corresponding socket control operation.
Preferably, described socket steering order comprises switch control information, described according to socket steering order, carries out corresponding socket control operation and comprises: according to described switch control information, carry out the switching manipulation of socket.
Preferably, described socket steering order also comprises switch timing information, described according to socket steering order, carrying out corresponding socket control operation comprises: getting after this switch timing information, start timing operation, after timing time reaches the timing comprising in described switch timing information, according to described switch control information, carry out the switching manipulation of socket.
The present invention also provides a kind of control device of socket, and wherein, described control device is arranged in mobile terminal, comprising:
Command reception module, for receiving the socket steering order of user's input;
Audio coding module, carries out audio coding processing for the described socket steering order that described command reception module is received, and generates coded audio data;
The first audio conversion module, is converted to sound signal for the described coded audio data that described audio coding module is generated;
Audio frequency output module, exports for the sound signal that described the first audio conversion module is changed out.
Preferably, described socket steering order comprises the identification information corresponding with socket to be controlled.
Preferably, described socket steering order comprises socket switch control information.
Preferably, described socket steering order also comprises switch timing information.
Preferably, described command reception module is the application program module being arranged on described mobile terminal, the speaker circuit that described audio frequency output module is mobile terminal.
The present invention also provides a kind of control device of socket, comprising:
Audio frequency receiver module, for received audio signal;
The second audio conversion module, is converted to coded audio data for the sound signal that described audio frequency receiver module is received;
Audio decoder module, for the coded audio data that described the second audio conversion module the is obtained processing of decoding, generates socket steering order;
Control execution module, for the described socket steering order generating according to described audio decoder module, carry out corresponding socket control operation.
Preferably, in described socket steering order, comprise the identification information corresponding with socket to be controlled, described control device also comprises: mark comparison module, for identification information described and that socket to be controlled is corresponding and described self identification information of working as front socket storage are compared, if consistent, trigger described control execution module and carry out socket control operation.
Preferably, described socket steering order comprises switch control information, described according to socket steering order, carries out corresponding socket control operation and comprises: according to described switch control information, carry out the switching manipulation of socket.
Preferably, described socket steering order also comprises switch timing information, described control execution module also comprises: timing comparing unit, for in the time that described control execution module gets described switch timing information, start timing operation, the timing comprising in timing time and described switch timing information is compared; Control performance element, for the timing that comprises with described switch timing information at timing time described in described timing comparing unit consistent, according to described switch control information, the switching manipulation of execution socket.
The control method of a kind of socket that the embodiment of the present invention provides and control device, send sound signal to control socket by mobile terminal, makes socket control operation more convenient; Further, the present invention adopts the carrier of sound signal as socket steering order, can transmit more complicated steering order, and compared to existing technology merely using the amplitude of sound as controlled condition mode, it is less that socket is subject to the impact of surrounding environment, and stability is higher; In addition, in socket steering order, can comprise the identification information corresponding with socket to be controlled, can realize the control to particular outlet, reduce because of the controlled generation that causes unnecessary living safety hidden danger of non-socket to be controlled; In socket steering order, can comprise switch timing information, on off state timing controlled according to user's need for electricity to socket, can reduce like this power consumption of consumer, the Electrical Safety that improves user reduces potential safety hazard, can also make user power utilization become more " personalization ".
Brief description of the drawings
Fig. 1 is the process flow diagram of the control method of the mobile terminal side of the embodiment of the present invention one.
Fig. 2 is the process flow diagram of the control method of the socket side of the embodiment of the present invention one.
Fig. 3 is the structural representation of the control device of the mobile terminal side of the embodiment of the present invention two.
Fig. 4 is one of structural representation of the control device of the socket side of the embodiment of the present invention two.
Fig. 5 be the control device of the socket side of the embodiment of the present invention two structural representation two.
Fig. 6 be the control device of the socket side of the embodiment of the present invention two structural representation three.
Fig. 7 is the electrical block diagram that the audio frequency of the socket side of the embodiment of the present invention receives, changes and decode.
Fig. 8 is the electrical block diagram that the systems control division of the socket side of the embodiment of the present invention divides.
Fig. 9 is the on-off circuit structural representation of the socket of the socket side of the embodiment of the present invention.
Figure 10 is the manual trigger switch electrical block diagram of the socket side of the embodiment of the present invention.
Figure 11 is the working state indicating circuit structural representation of the socket side of the embodiment of the present invention.
Embodiment
Control method and control device below in conjunction with accompanying drawing to a kind of socket of the embodiment of the present invention are clearly and completely described.
The present embodiment relates to a kind of control method and control device of socket, and its major technique thought is the sound signal that comprises socket steering order of sending by mobile terminal, and socket is controlled.Below will describe respectively from mobile terminal side and two aspects of socket side.
Embodiment mono-
Fig. 1 shows the process flow diagram of the control method of the mobile terminal side of the embodiment of the present invention one, and with reference to Fig. 1, at mobile terminal side, the control method of the socket of the embodiment of the present invention, comprising:
Step 11: mobile terminal receives the socket steering order of user's input.The control method of the present embodiment, can be by an APP for socket control (application program) is installed on mobile terminal, this APP have for the interactive interface of user interactions, thereby receive user's steering order.
Step 12: mobile terminal carries out audio coding processing to this socket steering order, generates coded audio data.Audio coding processing can be by realizing for the APP of socket control, and the existing audio coding program in mobile terminal system of also can calling is carried out audio coding.This audio coding process can complete in the main control chip of mobile terminal.
Step 13: this coded audio data is converted to sound signal output by mobile terminal.Particularly, the processing that this coded audio data is converted to sound signal is mainly to carry out digital-to-analog conversion, can complete by the audio conversion module of mobile terminal, and the output of sound signal can complete by the speaker circuit of mobile terminal.
With mobile terminal side accordingly, Fig. 2 shows the process flow diagram of the control method of the socket side of the embodiment of the present invention one, with reference to Fig. 2, in socket side, the control method of the socket of the embodiment of the present invention can comprise:
Step 21: received audio signal.For the sound signal that mobile terminal receive sends, corresponding sound signal receiving-member need to be set on socket, generally can adopt Mike to make the parts of received audio signal.As shown in Figure 7, sound signal receiving-member can comprise Mike MICROPHONE and capacitor C 133, capacitor C 134 (generally can adopt 102 electric capacity, i.e. the electric capacity of 1000PF), and capacitor C 133 and capacitor C 134 Main Functions are isolated DC signals.
Step 22: sound signal is converted to coded audio data.Receiving after sound signal, needing this simulating signal be converted to digital signal, be converted to coded audio data, particularly, can adopt chip HT9032D as shown in Figure 7 to complete the function of digital-to-analog conversion.
Step 23: to the processing of decoding of this coded audio data, generate socket steering order.Decode operation in this step can complete by chip HT9032D as shown in Figure 7, this integrated chip digital-to-analog conversion and decoding function, the master chip (for example, single-chip microcomputer STC12C5201AD) that just the socket steering order of generation can be sent to systems control division to divide after decoding.
Step 24: according to socket steering order, carry out corresponding socket control operation.The master chip that this operation just can be divided by systems control division completes, and the various piece of this master chip gang socket can the various controls including switch to socket.
By above-mentioned steps 11-13, socket steering order, with the form of sound signal, is sent from mobile terminal, and by above-mentioned steps 21-24, socket side receives this sound signal, just can executivecontrol function after decoding.The control method of the socket of the present embodiment, has utilized hardware and the software systems of existing mobile terminal, and socket control command code is become to voice data, then exports by the loudspeaker of mobile terminal itself, can control socket easily.Carrier using sound signal as steering order, can transmit more complicated steering order, and compared to existing technology merely using the amplitude of sound as controlled condition mode, it is less that socket is subject to the impact of surrounding environment, stability is higher.
Above-described embodiment, the APP of mobile terminal can carry out man-to-man control to socket, also can realize the control of one-to-many.Further, in order to allow the mobile terminal can the multiple sockets of differentiated control, socket steering order can comprise the identification information corresponding with socket to be controlled.Particularly, can set an identification information for each socket, this identification information can just be stored in each socket in the time dispatching from the factory, mobile terminal is by APP during to the controlling of socket, can input the identification information of socket to be controlled at the interactive interface of mobile terminal APP, also can be in the time that the APP of mobile terminal be arranged, the identification information of the several sockets that will control pre-enters and stores in the database that the APP of mobile terminal is corresponding, in the time that controlling, needs select, to realize the switch control to socket specific to be controlled.
In this case, in socket side, increase the comparison of the identification information in socket steering order has been processed to operation, according to socket steering order, carry out before corresponding socket control operation and can also comprise: identification information described and that socket to be controlled is corresponding and described self identification information of working as front socket storage are compared, if unanimously, according to socket steering order, carry out corresponding socket control operation.
For instance, on mobile terminal, input the identification information #1234 of a socket to be controlled, the socket that the steering order of sending is only #1234 for self identification information of socket storage is controlled, the socket that self identification information of socket storage is #1234 is receiving after sound signal, decode corresponding identification information, after consistent with the self identification information comparison of this locality storage, just can be according to the steering order of mobile terminal APP end, carry out corresponding operation, and be not the socket of #1234 for identification information, can not carry out steering order.
The APP of above-mentioned mobile terminal controls specific socket to be controlled by identification information, and user can be according to the demand of oneself selectively, control socket easily and accurately; Can avoid the sound signal that the APP of mobile terminal sends to control non-socket to be controlled, reduce because of the controlled generation that causes unnecessary living safety hidden danger of non-socket to be controlled.
For socket steering order above-mentioned, can comprise socket switch control information, in socket side, receive after this socket steering order that comprises socket switch control information, according to switch control information, carry out the switching manipulation of socket.On the basis of switch control information, socket steering order can also comprise switch timing information, to realize the time switch operation to socket, in this case, described according to socket steering order, carrying out corresponding socket control operation can comprise: getting after this switch timing information, start timing operation, after timing time reaches the timing comprising in switch timing information, according to switch control information, carry out the switching manipulation of socket.
In actual applications, if the APP of mobile terminal receives only the socket steering order that comprises socket switch control information of user's input, the socket that receives this steering order only need be carried out unlatching or the shutoff operation of socket.If the APP of mobile terminal receives the socket steering order that comprises socket switch information and switch timing information simultaneously, can will start timing as trigger condition to identify switch timing information, in the time reaching timing, carry out unlatching or the shutoff operation of this socket.This timing (for example operates the master chip that can be divided by systems control division, single-chip microcomputer STC12C5201AD) complete, for example, the timeing closing information that socket steering order comprises is 5 minutes, wish to close socket after 5 minutes, receive after this instruction when controlling execution module, start timing operation, every timing is (for example time of day is 1 second) once, present timing time and timing are compared, if both are inconsistent, continue timing operation, if both are consistent, be that timing time equals 5 minutes, control execution module this socket switch information of socket of closing that gauge tap module comprises according to socket steering order, the operation of socket is closed in execution.
For the function of above-mentioned this time switch of socket, it is convenient to have brought to user's daily consumption habit, between user needs at a time, after section, use when certain consumer, open socket after can setting this time, switch on and start consumer thereby control consumer; Between user needs at a time, after section, close certain consumer, can set associative operation instruction, control socket and close after this time period, cut off consumer energising.Like this, can reduce the power consumption of consumer, the Electrical Safety that improves user reduces potential safety hazard, can also make user power utilization become more " personalization ".
Embodiment bis-
Accordingly, the present embodiment is provided for the control device of the socket of the control method of applying above-described embodiment one.
As Fig. 3 shows the structural representation of the control device of mobile terminal side, with reference to Fig. 3, at mobile terminal side, the control device of the socket of the embodiment of the present invention, comprise command reception module 31, audio coding module 32, the first audio conversion module 33 and audio frequency output module 34, wherein
Command reception module 31 is for receiving the socket steering order of user's input; Audio coding module 32 is carried out audio coding processing for the socket steering order that command reception module 31 is received, and generates coded audio data; The first audio frequency output module 33 is converted to sound signal output for the coded audio data that audio coding module 32 is generated; Audio frequency output module 34, exports for the sound signal that the first audio conversion module 33 is changed out.
Wherein, command reception module 31 can be for being arranged on the application program module on described mobile terminal, for example, command reception module 31 can be that an APP for the control of socket is installed on mobile terminal, this APP have for the interactive interface of user interactions, thereby receive user's steering order; Audio coding module 32 is encoded and is processed and can be realized by the APP of the control for socket, and the existing audio coding program in mobile terminal system of also can calling is carried out audio coding.Audio frequency output module 34 can be the speaker circuit of mobile terminal.
The control device of the socket side corresponding with the control device of the socket of above-mentioned mobile terminal side, Fig. 4 shows one of structural representation of the control device of socket side of the present invention, with reference to Fig. 4, in socket side, the control device of the socket of the embodiment of the present invention comprises audio frequency receiver module 41, the second audio conversion module 42, audio decoder module 43 and control execution module 44, wherein:
Audio frequency receiver module 41 is for received audio signal; The second audio conversion module 42 is converted to coded audio data for the sound signal that audio frequency receiver module 41 is received; Audio decoder module 43, for the coded audio data that described the second audio conversion module 42 the is obtained processing of decoding, generates socket steering order; Control the socket steering order of execution module 44 for generating according to described audio decoder module 43, carry out corresponding socket control operation.
Preferably, above-mentioned audio frequency receiver module 41, the audio frequency that the second audio conversion module 42 and audio decoder module 43 concentrate on the socket side shown in Fig. 7 receives, in the circuit structure of conversion and decoding, wherein, audio frequency receiver module 41 is made up of the Mike MICROPHONE in Fig. 7, the sound signal that Mike MICROPHONE mobile terminal receive side is sent, and by this audio signal transmission to chip HT9032D, chip HT9032D carries out audio frequency conversion and audio decoder processing to described sound signal, and (for example will carry out master chip that decoded audio data decoder exported and be transferred to control system by pin 1 ' (DOUT), single-chip microcomputer STC12C5201AD, and following examples are all described taking single-chip microcomputer STC12C5201AD as preferred embodiment).In Fig. 7, Mike MICROPHONE (generally can adopt 102 electric capacity by capacitor C 133 and capacitor C 134, be the electric capacity of 1000PF) be connected with pin 3 ' with pin 4 ' of chip HT9032D respectively, capacitor C 133 and capacitor C 134 Main Functions are isolated DC signals; In addition, the R1 in circuit (2 kilohms) and R2 (2 kilohms) are respectively pull-up resistor and pull down resistor; Pin 5 ' (PDWN) of chip HT9032D are connected with the pin 7 of master chip STC12C5201AD, and for the control of chip HT9032D pattern, in the time that this pin is high level, chip HT9032D enters PowerDown (sleep) pattern; In the time that this pin is low level, enter PowerUP pattern; When pin 5 ' (PDWN) of chip HT9032D are low level, chip HT9032D just can enter conversion work, after coded audio data has read, pin 5 ' (PDWN) become high level automatically again, chip HT9032D enters PowerDown (sleep) pattern, reduces the power consumption of chip HT9032D; And this pin is connected with power supply (VCC) by resistance R 3 (10 kilohms); Pin 6 ' (VSS) ground connection; Between pin 7 ' and pin 8 ', be connected with a crystal oscillator SCYS1 (concussion frequency 3.579545MHZ), form a clock circuit, for chip HT9032D provides the clock frequency of 3.58MHZ; Pin 2 ' (VDD) are connected to power supply (VCC) and provide working power for chip HT9032D.
Controlling execution module 44 is made up of control system master chip STC12C5201AD, the pin 2 (RXD/3.0) of master chip STC12C5201AD is connected with pin 1 ' (DOUT) of said chip HT9032D, receive the audio data decoder of being exported by chip HT9032D, obtain socket steering order wherein, according to the socket switch circuit of the socket side shown in this instruction control chart 9, socket is carried out and opened or shutoff operation, the triode Q1 of the on-off circuit shown in Fig. 9 (for example, triode 2N5551) base stage be connected with the pin 12 (P1.2/ADC2) of master chip STC12C5201AD by resistance R 8 (5.1 kilohms), pin 7 is connected with pin 5 ' of chip HT9032D, for chip HT9032D being carried out to pattern control (being connected with the pin 7 of master chip STC12C5201AD with pin 5 ' (PDWN) of said chip HT9032D that chip HT9032D is carried out to pattern control is consistent).In addition, the pin 1 of master chip STC12C5201AD is by electrochemical capacitor C7 (105 electric capacity, be that capacitance is the electric capacity of 1UF) be connected with power supply (VCC), be connected with ground (GND) by a resistance R 4 (10 kilohms); Pin 4 (XTAL2) and pin 5 (XTAL1) are connected to a clock circuit, for master chip, STC12C5201AD provides clock signal, this clock circuit comprises resistance R 5 (100 ohm), R6 (1 megohm), capacitor C 8, C9 (capacitance is 22PF) and crystal oscillator X1, and capacitor C 8 as shown in Figure 8, C9 link ground connection (GND); Pin 10 (P1.0/ADC0) and pin 11 (P1.0/ADC1) are connected with KEY1 and the KEY2 end of manual triggers module as shown in figure 10 respectively, for manually opened or close socket; Pin 12 (P1.0/ADC2) is connected with on-off circuit module as shown in Figure 9, carries out and opens or shutoff operation with gauge tap circuit; Pin 13 (P1.0/ADC5) is connected with the LED1 end of indicating module as shown in figure 11, can be for showing the duty of socket; Pin 16 (VCC) connects power supply (VCC) provides working power for master chip STC12C5201AD.The syndeton of master chip STC12C5201AD has from the above mentioned formed the control execution module of the socket of the present embodiment, to the various control of carrying out of socket.In addition, the above-mentioned on-off circuit as shown in Figure 9 of mentioning for controlling socket switch state, can be by the electrochemical capacitor C10 connecting between triode Q1 (2N5551) and emitter and collector thereof, relay unit J1 (relay J, relay pin A1, pin A2, stationary contact A3 and moving contact A4), resistance R 9 (51 ohm) and diode ZD1 composition, wherein, L shown in Fig. 9 is socket input live wire connectivity port, L1 is the connectivity port of socket output live wire, in the time of stationary contact A3 and moving contact A4 adhesive, L and L1 are communicated with, the jack of socket is in "on" position, in the time of stationary contact A3 and moving contact A4 release, L is connected disconnection with L1, and the jack of socket is in dump state.
As shown in Figure 5, on the basis of above-mentioned Fig. 4, the control device of socket side can also comprise mark comparison module 45, for the identification information corresponding with socket to be controlled and self the identification information when front socket storage are compared, if consistent, trigger 44 gauge tap circuit of control execution module socket is carried out to switching manipulation.The above-mentioned functions of mark comparison module 45 can complete in master chip STC12C5201AD.
As shown in Figure 6, on the basis of above-mentioned Fig. 4, the control execution module 44 of the control device of socket can also comprise timing comparing unit 441 and control performance element 442.
Timing comparing unit 441, in the time that control execution module gets described switch timing information, starts timing operation, and the timing comprising in timing time and switch timing information is compared.
Control performance element 442, for when timing comparing unit timing time and the timing comprising in switch timing information consistent, according to switch control information, the switching manipulation of execution socket.
It should be noted that, timing comparing unit 441 all can complete with the corresponding function of controlling performance element 442 in the master chip STC12C5201AD of control system.Particularly, timing comparing unit 441 starts timing to identify switch timing information as trigger condition, every timing is (for example time of day is 1 second) once, present timing time and timing are compared, if both are inconsistent, continue timing operation, if both are consistent, trigger control performance element 442 and send switching control instruction, with the socket switch circuit of controlling socket side as shown in Figure 9, socket is carried out to switching manipulation.
Usually, the socket relating in the present embodiment is the same with common socket, also comprises manual triggers circuit module as shown in figure 10 and indicating circuit module as shown in figure 11.Wherein, manual triggers circuit module shown in Figure 10 comprises switch S 1 and S2, the KEY2 of its switch and KEY1 end are connected with pin 11 (P1.0/ADC1) with the pin 10 (P1.0/ADC0) of the master chip STC12C5201AD of control system, and the other end is ground connection (GND); Indicating circuit module shown in Figure 11 comprises resistance R 7 (5.1 kilohms), light emitting diode D1, the LED1 end of circuit is connected with the pin 13 (P1.0/ADC5) of control system master chip STC12C5201AD, and the other end connects power supply (VCC).
The related mobile terminal of the embodiment of the present invention can be general smart mobile phone, or possesses any mobile terminal of basic audio coding, data-switching and audio output function.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (17)

1. a control method for socket, is characterized in that, comprising:
Mobile terminal receives the socket steering order of user's input, and this socket steering order is carried out to audio coding processing, generates coded audio data, and this coded audio data is converted to sound signal output.
2. the control method of socket as claimed in claim 1, is characterized in that, described socket steering order comprises the identification information corresponding with socket to be controlled.
3. the control method of socket as claimed in claim 1 or 2, is characterized in that, described socket steering order comprises socket switch control information.
4. the control method of socket as claimed in claim 3, is characterized in that, described socket steering order also comprises switch timing information.
5. a control method for socket, is characterized in that, comprising:
Received audio signal is also converted to coded audio data, to the processing of decoding of this coded audio data, generates socket steering order, according to described socket steering order, carries out corresponding socket control operation.
6. the control method of socket as claimed in claim 5, it is characterized in that, in described socket steering order, comprise the identification information corresponding with socket to be controlled, described according to socket steering order, carry out before corresponding socket control operation and also comprise: identification information described and that socket to be controlled is corresponding and self the identification information of working as front socket storage are compared, if unanimously, according to socket steering order, carry out corresponding socket control operation.
7. the control method of the socket as described in claim 5 or 6, it is characterized in that, described socket steering order comprises switch control information, described according to socket steering order, carrying out corresponding socket control operation comprises: according to described switch control information, carry out the switching manipulation of socket.
8. the control method of socket as claimed in claim 7, it is characterized in that, described socket steering order also comprises switch timing information, described according to socket steering order, carrying out corresponding socket control operation comprises: getting after described switch timing information, starting timing operation, after timing time reaches the timing comprising in described switch timing information, according to described switch control information, carry out the switching manipulation of socket.
9. a control device for socket, described control device is arranged in mobile terminal, it is characterized in that, comprising:
Command reception module, for receiving the socket steering order of user's input;
Audio coding module, carries out audio coding processing for the described socket steering order that described command reception module is received, and generates coded audio data;
The first audio conversion module, is converted to sound signal for the described coded audio data that described audio coding module is generated;
Audio frequency output module, exports for the sound signal that described the first audio conversion module is changed out.
10. the control device of socket as claimed in claim 9, is characterized in that, described socket steering order comprises the identification information corresponding with socket to be controlled.
The control device of 11. sockets as described in claim 9 or 10, is characterized in that, described socket steering order comprises socket switch control information.
The control device of 12. sockets as claimed in claim 11, is characterized in that, described socket steering order also comprises switch timing information.
The control device of 13. sockets as claimed in claim 9, is characterized in that, described command reception module is the application program module being arranged on described mobile terminal, the speaker circuit that described audio frequency output module is mobile terminal.
The control device of 14. 1 kinds of sockets, is characterized in that, comprising:
Audio frequency receiver module, for received audio signal;
The second audio conversion module, is converted to coded audio data for the sound signal that described audio frequency receiver module is received;
Audio decoder module, for the coded audio data that described the second audio conversion module the is obtained processing of decoding, generates socket steering order;
Control execution module, for the described socket steering order generating according to described audio decoder module, carry out corresponding socket control operation.
The control device of 15. sockets as claimed in claim 14, is characterized in that, in described socket steering order, comprises the identification information corresponding with socket to be controlled, and described control device also comprises:
Mark comparison module, for identification information described and that socket to be controlled is corresponding and self the identification information when front socket storage are compared, if unanimously, triggers the control operation of described control execution module execution socket.
The control device of 16. sockets as described in claims 14 or 15, it is characterized in that, described socket steering order comprises switch control information, described according to socket steering order, carrying out corresponding socket control operation comprises: according to described switch control information, carry out the switching manipulation of socket.
The control device of 17. sockets as claimed in claim 16, is characterized in that, described socket steering order also comprises switch timing information, and described control execution module comprises:
Timing comparing unit, in the time that described control execution module gets described switch timing information, starts timing operation, and the timing comprising in timing time and described switch timing information is compared;
Control performance element, for the timing that comprises with described switch timing information at timing time described in described timing comparing unit consistent, according to described switch control information, the switching manipulation of execution socket.
CN201410350746.5A 2014-07-22 2014-07-22 Socket control methods and device Pending CN104142644A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410350746.5A CN104142644A (en) 2014-07-22 2014-07-22 Socket control methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410350746.5A CN104142644A (en) 2014-07-22 2014-07-22 Socket control methods and device

Publications (1)

Publication Number Publication Date
CN104142644A true CN104142644A (en) 2014-11-12

Family

ID=51851857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410350746.5A Pending CN104142644A (en) 2014-07-22 2014-07-22 Socket control methods and device

Country Status (1)

Country Link
CN (1) CN104142644A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597205A (en) * 2019-09-16 2019-12-20 上海庆科信息技术有限公司 Control method and device of intelligent power strip, processor and intelligent power strip
CN110850737A (en) * 2019-11-12 2020-02-28 上海庆科信息技术有限公司 Socket and timing method, system and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597205A (en) * 2019-09-16 2019-12-20 上海庆科信息技术有限公司 Control method and device of intelligent power strip, processor and intelligent power strip
CN110850737A (en) * 2019-11-12 2020-02-28 上海庆科信息技术有限公司 Socket and timing method, system and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN208094766U (en) Intelligent sound box
CN105700364A (en) Intelligent household control method and wearable equipment
CN104852957A (en) Internet of Things-oriented smart home service system
CN108388225A (en) Intelligent home voice interactive intelligence terminal
CN103186232A (en) Voice keyboard device
CN103118209B (en) A kind of mobile phone controls the method for household electrical appliance
CN112513786A (en) Electronic device and control method thereof
CN205377906U (en) Intelligence house speech control host computer
CN110503955B (en) Intelligent voice control system
CN109348369A (en) A kind of sound system and its control method
CN104142644A (en) Socket control methods and device
CN107872233A (en) A kind of modulating emission circuit and FM transmission method
CN205448009U (en) Embedded touch intelligent cabinet air conditioner
CN204118392U (en) The control device of socket
CN208652928U (en) Electric heater and its wisdom interactive voice response system based on artificial intelligence interaction technique
CN202975730U (en) Single live wire control module
CN201788408U (en) Handheld control device for intelligent household control system
CN203813910U (en) Energy-saving type visual intercom indoor unit
CN203012954U (en) Remote controller with audio playing function
CN103366476A (en) Wireless remote control 626 alarm
CN112162493A (en) Network-based home intelligent system
CN210225441U (en) Internet of things safety system supporting WIFI and GSM
CN204114885U (en) Lighting device and the voice broadcasting system based on this device
CN205566667U (en) Communication level control circuit
CN2814810Y (en) Radio calling responder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141112