Background technology
In daily life, the charging Payment Methods of people's domestic water electricity consumption mainly have two kinds, and a kind of is traditional first useRear way of paying, the monthly payment charges for water and electricity mode that i.e. general family life is common, is also that current great majority water power from the beginning providesThe mode that side is widely used, is mainly measured by common water meter or consumer unit, and periodically row staff visits to make a copy of and makesBy information, further according to water power price charging and collection of charges.Which disadvantageously, data transcription, fee are difficult,Service condition is difficult to control, be not easy to water power price adjustment, human cost is high and workload is excessive etc..Another kind be school,The IC-card that the large-scale collective such as factory place uses is deducted fees mode, in advance storage charges use in IC-card, carries out according to service conditionDeducting fees, but the expense prestored can be cut off the water and electricity supply after having spent immediately, user need to shift to an earlier date budget, and hold IC-card and fill to appointed placeValue, then after carrying out corresponding user profile input and certification, could recover the use of normal water power.IC-card and water controller for electric consumptionWhen carrying out data exchange, there is artificial unreliable factor, water price can not the shortcoming of real-time monitoring.Along with technology of Internet of thingsDevelopment, manufacturer releases intelligentized water power feed system, changes traditional artificial treatment and IC-card is deducted fees mode, logicalCross mobile terminal to be connected with water controller for electric consumption, it is achieved corresponding water power uses and controls, and carry out that real time settlement is deducted fees and wait operating.
In the water power feed system of prior art, mobile terminal is typically connected with water controller for electric consumption by wireless network, entersRow data communication, it is achieved control operation accordingly.Connect to realize wireless network, need to set up corresponding signal access point,Such as the radio network router commonly used, but in practical service environment, it is more weak that water controller for electric consumption is typically in signalSignal blind zone, wireless network signal is unstable, causes carrying out normal water power and controls operation, allows intelligentized water power supplyThe effect of convenient use can not be played to system, do not met the demand of intelligentized control method now.
Summary of the invention
Present invention aim at providing a kind of Novel intelligent water based on acoustic communication and/or electric control system and control method thereof,Change traditional communication mode, and solve the intelligent water power feed system of prior art, the wireless communication of employing simultaneouslyIn, the wireless network signal existed sets up the problem such as threshold and poor signal quality, provides the user strong adaptability, stabilityHigh intelligent wireless water power control system, allows life water power use the most convenient easy-to-use.
Be given in order to achieve the above object, technical scheme:
A kind of intelligent water based on acoustic communication and/or electric control system, whole with mobile including intelligent water and/or controller for electric consumptionEnd, described mobile terminal is provided with sound wave output module and sound wave receiver module, audio codec and the control of transmitting-receiving acoustic signalsInstruction input module processed;Described intelligent water and/or controller for electric consumption include controlling valve, accounting module, controller and sound waveCommunication module;Described audio codec for being converted to acoustic signals by control instruction, and passes through sound wave output module harmonyRipple receiver module, carries out acoustic signals communication connection with described acoustic communication module;The sound that described acoustic communication module will receiveRipple signal is converted into control instruction, and valve and accounting module are controlled by described controller according to the control instruction after conversion,Realize water and/or electricity charging and make-break operation.
Further, control instruction is converted to the audio signal of 4KHz to 20KHz by the audio codec of described mobile terminal.General people's routine use and the audio signal that sound frequency is 22KHz range above answered, in order to native system can independently be transportedOK, exempting the interference of other acoustic signals, acoustic signals is converted into the specific of 4KHz to 20KHz by described audio codecFrequency audio signal, allows it form single sound wave frequency range passage, is communicatively coupled, it is to avoid by other acoustic signals institute shadowsRing, it is ensured that communication quality.
On the basis of the above, the audio frequency of the audio codec of the acoustic signals frequency of described acoustic communication module and mobile terminalSignal matches, and forms the communication connection mutually echoed.
The communication range of intelligent water of the present invention and/or electric control system is made improvements, described mobile terminal and intelligent water and/or electricityThe acoustic signals transmission controlling device is provided with particular range, and described particular range is the distance of 10 to 30 centimetres, it is to avoid by itHe is disturbed by acoustic signals, in order to strengthen mobile terminal and intelligent water and/or the point-to-point pairing stable connection of controller for electric consumptionProperty.
Further, the intelligent water of the present invention and/or electric control system include water-control device and/or electric control gear, described automatically controlledDevice is consumer unit or supplies electric brake, and described water-control device is water meter or the controller of water dispenser equipment, is effectively improved native systemCompatibility, make the scope of application of native system more extensive, more universal.
Further, described mobile terminal is smart mobile phone, panel computer or intelligent watch, in order to Nowadays mobile terminalsThe development of equipment, is applicable to install the intelligent mobile terminals such as the intelligence smart mobile phone of APP program, panel computer on the marketEquipment, the intelligent watch equipment of the most up-to-date release, it is greatly improved the suitability of native system.
Internet of Things application to intelligent water of the present invention and/or electric control system is improved further, and also includes cloud server,Described cloud server storage have the user profile of mobile terminal, described user profile include water and/or electricity usage amount data andDeducting fees data, in order to coordinate the payment function of Nowadays mobile terminals, user has only to use mobile terminal just can carry out accordinglyThe real-time query of water power use and delivery operation.
On the basis of the above, described mobile terminal is provided with network communication module, and is taken with high in the clouds by described network communication moduleBusiness device connects, and described network communication module includes the 3G/4G module of mobile operator and/or wireless WIFI module.Be conducive toSet up stable communication connection between mobile terminal and cloud server, carry out corresponding information query and statistics and clearing are deducted fees behaviourMake.
Present invention also offers a kind of described intelligent water and/or the control method of electric control system, at least comprise the steps:
Q1: the control instruction input module of operation mobile terminal, opens sound wave linkage function, selects to continuously send out acoustic signalsIntelligent water and/or controller for electric consumption, and set up communication connection;
Q2: inputting control instruction by control instruction input module, control instruction is converted to sound wave by described audio codecSignal, and send from the sound wave output module of mobile terminal;
The acoustic communication module of Q3: described intelligent water and/or controller for electric consumption receives described acoustic signals, and is turned by acoustic signalsChange control instruction into and be sent to controller;
Q4: described controller, according to the control instruction after conversion, carries out on-off control to valve, carries out controlling accounting moduleBilling operation;
The use data of water and/or electricity are converted into acoustic signals, Xiang Yi by acoustic communication module by Q5: described controller in real timeDynamic terminal sends;
The acoustic receiver module of Q6: described mobile terminal receives described acoustic signals, and by described audio codec by soundRipple signal is converted into and uses data in real time;
Q7: described mobile terminal uses data in real time according to receive, by network signal or the wireless WIFI of mobile operatorSignal uploads to cloud server, operation of settling accounts accordingly and deduct fees.
Further, before above-mentioned steps Q1, also include that the judgement of running status is walked by described intelligent water and/or controller for electric consumptionSuddenly, described judgement step includes:
P1: the controller of described intelligent water and/or controller for electric consumption is to described valve, accounting module and acoustic communication moduleRunning status carries out record;
P2: if described valve, accounting module and acoustic communication module are when operating state, state will be remained on;If notIt is in running status, then jumps to step P3;
P3: described controller sends the controlled invitation signal of request, and invitation signal is converted into sound by described acoustic communication moduleRipple signal persistently sends out, and waits the connection response of standby communication terminal.
Carry out judgement process by the above-mentioned running status to intelligent water and/or controller for electric consumption, allow intelligent water and/or electric controlThe service condition that device analysis is current, as do not used, will send use invitation signal, in order to follow-up user uses,It is effectively improved the practicality of this intelligent water and/or electric control system.
Present invention intelligent water based on acoustic communication and/or electric control system and control method thereof, compared with prior art, describedIntelligent water and/or controller for electric consumption have special conversion and the acoustic communication module of transmitting-receiving acoustic signals, with the control of mobile terminalInstruction input module and audio codec match, and use acoustic signals communication mode, carry out wireless connections and data passDefeated, mobile terminal is not required to be connected with intelligent water and/or controller for electric consumption with traditional wireless network, efficiently solves prior artIn, when using wireless network to connect, build the threshold problem of wireless network signal access point, and due to water and/or electric controlDevice is in the signal blind zone that signal is more weak, causes the ropy problem of wireless network signal.During use, it is only necessary to by movingThe control instruction input module of dynamic terminal controls operation accordingly, allows the audio codec of mobile terminal by control instructionThe special audio acoustic signals being converted into 4KHz to 20KHz sends, described intelligent water and/or the acoustic communication of controller for electric consumptionModule cooperatively receives and dispatches described special audio acoustic signals, it is to avoid is affected by other acoustic signals, and is turned by acoustic signalsChange meeting control instruction, allow controller, according to control instruction, valve and accounting module are carried out corresponding charging and make-break operation, it is achievedWireless connections and Based Intelligent Control, provide the user stable connection, and easy to operate water power uses and controls environment.
It addition, the intelligent water of the present invention and/or electric control system, compared with NFC technique connected mode of the prior art, byConnecting in NFC mode and need to match accordingly authentication operation, the distance of data transmission is short, and not all mobile endEnd all has NFC hardware module, and NFC mode connects and there is limitation.Native system is connected by acoustic signals and transmits data,Match bigger than NFC of authentication operation, more convenient operation, and signal transmission ranges before need not connect accordingly, haveThe service efficiency of wireless connections is strengthened on effect ground, makes user operation more convenient easy-to-use.
Detailed description of the invention
A kind of intelligent water based on acoustic communication of the accompanying drawings present invention and/or electric control system and control method thereof.
As it is shown in figure 1, this intelligent water and/or electric control system, including mobile terminal and intelligent water and/or controller for electric consumption,Described mobile terminal is provided with the transmitting-receiving sound wave output module of acoustic signals and sound wave receiver module, audio codec and control refer toMaking input module, described control instruction input module is preferably the intelligent APP of mobile terminal;Described intelligent water and/or automatically controlledDevice processed includes controlling valve, accounting module, controller and acoustic communication module;Described audio codec will be for controllingInstruction processed is converted to acoustic signals, and by sound wave output module and sound wave receiver module, carries out with described acoustic communication moduleAcoustic signals communicates to connect;The acoustic signals of reception is converted into control instruction, described controller root by described acoustic communication moduleAccording to the control instruction after conversion, valve and accounting module are controlled, it is achieved water and/or electricity charging and make-break operation.
Wherein, control instruction is converted to the audio signal of 4KHz to 20KHz by the audio codec of described mobile terminal.OneAs people's routine use and the audio signal that sound frequency is 22KHz range above answered, for native system energy independent operating,Exempting the interference of other acoustic signals, acoustic signals is converted into the characteristic frequency of 4KHz to 20KHz by described audio codecAudio signal, allows it form single sound wave frequency range passage, is communicatively coupled, it is to avoid institute is affected by other acoustic signals,Ensure communication quality.
Meanwhile, the acoustic signals frequency of the acoustic communication module of described intelligent water and/or controller for electric consumption is described specific tooThe acoustic signals of frequency, in order to cooperate, forms the communication connection mutually echoed.
Preferably, make to optimize to the communication range of this intelligent water and/or electric control system, described mobile terminal and intelligent water and/Or the acoustic signals transmission of controller for electric consumption is provided with particular range, described particular range is the distance of 10 to 30 centimetres, it is to avoidDisturbed by other acoustic signals, in order to strengthen mobile terminal and be connected surely with the point-to-point pairing of intelligent water and/or controller for electric consumptionQualitative.
Preferably, this intelligent water and/or electric control system including water-control device and/or electric control gear, described electric control gear canIt is preferably consumer unit or for electric brake, described water-control device is preferably the water tap water meter of daily life, or can be straightConnect the water dispenser drunk or corresponding drinking equipment.Be effectively improved the compatibility of native system, allow native system the scope of application moreExtensively, more universal.
Described mobile terminal is preferably smart mobile phone, panel computer or intelligent watch, in order to Nowadays mobile terminals equipmentDevelopment, is applicable to install the intelligent mobile terminal equipment such as the intelligence smart mobile phone of APP program, panel computer on the market,The intelligent watch equipment of the most up-to-date release, is greatly improved the suitability of native system.
Preferably, should be used as to optimize to the Internet of Things of this intelligent water and/or electric control system, described intelligent water and/or electric controlSystem also includes that cloud server, described cloud server storage have the user profile of mobile terminal, described user profile to includeWater and/or electricity usage amount data and data of deducting fees, in order to coordinate the payment function of Nowadays mobile terminals, user has only to useMobile terminal just can carry out real-time query and the delivery operation of corresponding water power use.
Preferably, described mobile terminal is provided with network communication module, and is connected with cloud server by described network communication moduleConnecing, described network communication module includes the 3G/4G module of mobile operator and/or wireless WIFI module, is conducive to mobile wholeHold and set up stable communication connection between cloud server, carry out corresponding information query and statistics and clearing are deducted fees operation.
As in figure 2 it is shown, the present invention applies the control method of described intelligent water and/or electric control system, step includes: operation movesThe control instruction input module of dynamic terminal, opens sound wave linkage function, selects to continuously send out intelligent water and/or the electricity of acoustic signalsControl device, and set up communication connection;Inputting control instruction by control instruction input module, described audio codec willControl instruction is converted to acoustic signals, and sends from the sound wave output module of mobile terminal;Described intelligent water and/or electric control dressThe acoustic communication module put receives described acoustic signals, and acoustic signals is converted into control instruction is sent to controller;DescribedController, according to the control instruction after conversion, carries out on-off control to valve, carries out billing operation to controlling accounting module;InstituteState controller in real time by the use data of water and/or electricity, be converted into acoustic signals by acoustic communication module, send out to mobile terminalGo out;The acoustic receiver module of described mobile terminal receives described acoustic signals, and is believed by sound wave by described audio codecNumber it is converted into and to use data in real time;Described mobile terminal uses data in real time according to receive, by the net of mobile operatorNetwork signal or wireless WIFI signal upload to cloud server, operation of settling accounts accordingly and deduct fees.
In order to improve the practicality of this intelligent water and/or electric control system, as it is shown on figure 3, mobile terminal and intelligent water and/Or before controller for electric consumption sets up connection, also include described intelligent water and/or the controller for electric consumption judgement step to running status, instituteState and judge that step includes: the controller of described intelligent water and/or controller for electric consumption is logical to described valve, accounting module and sound waveThe running status of letter module carries out record;If described valve, accounting module and acoustic communication module are when operating state, willRemain on state;As being not at running status, described controller sends the controlled invitation signal of request, and described sound wave leads toInvitation signal is converted into acoustic signals and persistently sends out by letter module, waits the connection response of standby communication terminal.
The announcement of book and teaching according to the above description, above-mentioned embodiment can also be entered by those skilled in the art in the inventionRow change and amendment.Therefore, the invention is not limited in detailed description of the invention disclosed and described above, to the present inventionA little modifications and changes should also be as falling in the scope of the claims of the present invention.Although additionally, this specification employingSome specific terms, but these terms are merely for convenience of description, and the present invention does not constitute any restriction.