Content of the invention
The present invention is based on the problems referred to above, it is proposed that a kind of new technical scheme, and plantation equipment has to be carried out with terminalThe function of interactive voice, so as to lift the practicality of plantation equipment.
In view of this, a first aspect of the present invention proposes a kind of plantation equipment, including:Mike, voice playing module,Coding/decoding module and communication module, wherein, the mike is used for gathering the voice messaging of user, and the coding/decoding module is used forThe voice messaging collected by the mike is encoded, and the communication module is used for sending encoded voice messagingTo server, so that encoded voice messaging is transmitted to terminal by the server;And the communication module is additionally operable toThe voice messaging for sending from the terminal is received, the coding/decoding module is additionally operable to the voice letter to sending from the terminalBreath is decoded, and the voice playing module is used for playing the voice messaging through decoding.
In the technical scheme, by arranging mike and voice playing module on plantation equipment, to pass through mikeCollection voice messaging is simultaneously sent to terminal, and play the voice messaging come self terminal by voice playing module, so as to realizeInteractive voice between plantation equipment and terminal, improves the practicality of plantation equipment.Accordingly even when the head of a family is not in plantation equipmentSide, remotely can carry out voice interface by terminal with child, so as to ensure that the head of a family can be linked up with child in timeInteraction is increasing the knowledge of plants of child.
In technique scheme, it is preferable that the coding/decoding module is specifically for when the language that the mike is collectedWhen message breath is not default control information, the voice messaging collected by the mike is encoded;The speech playModule is specifically for when the voice messaging through decoding is not the default control information, playing the voice through decodingInformation;And also include:Processing module, the voice messaging or the voice through decoding for collecting when the mike is believedWhen breath is the default control information, operation corresponding with the default control information is executed.
In the technical scheme, as user may be controlled to plantation equipment by way of voice, therefore, whenWhen the voice messaging that mike is collected not is default control information, or the voice messaging through decoding from serverNot being default control information, illustrates that the voice messaging of both of the above situation is that interactive voice is carried out between plantation equipment and terminalInformation, be not information that user is controlled to plantation equipment, then the voice messaging that mike is collected carried out coding and send outGive server, or play out from the encoded voice messaging of server, so as to ensure that plantation equipment and endThe accuracy of interactive voice is carried out between end.
Wherein, default control information includes but is not limited to one below or multiple combinations:Close the electricity of plantation equipmentThe information in source, Wi-Fi (Wireless Fidelity, the wireless local based on IEEE 802.11b standard of closing plantation equipmentNet) information, adjust plantation equipment in ambient parameter information, the letter for watering, applying fertilizer is carried out to the plant in plantation equipmentBreath, the information of the photographic head for starting on plantation equipment.
In any of the above-described technical scheme, it is preferable that also include:Photographic head, in mike collection voice letterDuring breath, the plant image in the plantation equipment is shot;The communication module is additionally operable to, and encoded voice messaging is being sent outWhile giving the server, the plant image that the photographic head is photographed is sent to the server, for the clothesThe plant image that the photographic head is photographed is transmitted to the terminal by business device.
In the technical scheme, terminal is sent to by the plant image for photographing photographic head so that the user of terminalUnderstand the present case of plantation equipment implants more fully hereinafter.For example, the head of a family can be directed to according to the present case of plantProperty ground for child explanation plant relevant knowledge.
In any of the above-described technical scheme, it is preferable that the communication module is additionally operable to, receive from terminal transmissionImage;And also include:Display module, shows to the image from the terminal that the communication module is received.
In the technical scheme, plantation equipment shows the image for carrying out self terminal, is so achieved that terminal with plantation equipmentBetween image interaction, so as to improve the experience of user.
In any of the above-described technical scheme, it is preferable that also include:Control module, for receiving opening for user's triggeringWhen instruction is opened, the speech interaction mode of the plantation equipment is opened, to carry out under the speech interaction mode and the terminalInteractive voice.
In the technical scheme, when the speech interaction mode of plantation equipment is opened, plantation equipment and terminal could be realizedBetween interactive voice.
Wherein, when the speech interaction mode of plantation equipment is opened, control mike is in holding state, so that mikeThe voice messaging of user is gathered in time can.When the speech interaction mode of plantation equipment is closed, control mike is in passMachine state.
A second aspect of the present invention proposes a kind of control method of plantation equipment, including:By on the plantation equipmentMike collection user voice messaging, the voice messaging collected by the mike encodes, will be encodedVoice messaging is sent to server, so that encoded voice messaging is transmitted to terminal by the server;And receiveFrom the voice messaging that the terminal sends, the voice messaging for sending from the terminal is decoded, plays through decodingVoice messaging.
In the technical scheme, voice messaging is gathered by mike and terminal is sent to, and pass through speech play mouldBlock plays the voice messaging for carrying out self terminal, so as to realize the interactive voice between plantation equipment and terminal, improves plantation equipmentPracticality.Accordingly even when the head of a family is not beside plantation equipment, remotely voice interface can be carried out with child by terminal, so as toEnsure that the head of a family can in time and child carry out linking up interactive increasing the knowledge of plants of child.
In technique scheme, it is preferable that when the voice messaging that the mike is collected is not default control letterDuring breath, the voice messaging collected by the mike is encoded;When the voice messaging through decoding is not described defaultDuring control information, the voice messaging through decoding is played;And also include:The voice messaging that collects when the mike orWhen voice messaging through decoding is the default control information, operation corresponding with the default control information is executed.
In the technical scheme, as user may be controlled to plantation equipment by way of voice, therefore, whenWhen the voice messaging that mike is collected not is default control information, or the voice messaging through decoding from serverNot being default control information, illustrates that the voice messaging of both of the above situation is that interactive voice is carried out between plantation equipment and terminalInformation, be not information that user is controlled to plantation equipment, then the voice messaging that mike is collected carried out coding and send outGive server, or play out from the encoded voice messaging of server, so as to ensure that plantation equipment and endThe accuracy of interactive voice is carried out between end.
Wherein, default control information includes but is not limited to one below or multiple combinations:Close the electricity of plantation equipmentThe information in source, close plantation equipment Wi-Fi information, adjust plantation equipment in ambient parameter information, to plant equipmentInterior plant carries out the information of the information that waters, apply fertilizer, the photographic head for starting on plantation equipment.
In any of the above-described technical scheme, it is preferable that also include:When the mike gathers voice messaging, by plantingThe standby upper photographic head of implanting shoots the plant image in the plantation equipment;It is described encoded voice messaging to be sent toWhile server, the plant image that the photographic head is photographed is sent to the server, so that the server is by instituteState the plant image that photographic head photographs and be transmitted to the terminal.
In the technical scheme, terminal is sent to by the plant image for photographing photographic head so that the user of terminalUnderstand the present case of plantation equipment implants more fully hereinafter.For example, the head of a family can be directed to according to the present case of plantProperty ground for child explanation plant relevant knowledge.
In any of the above-described technical scheme, it is preferable that also include:Receive the image for sending from the terminal;To receivingTo the image from the terminal shown.
In the technical scheme, plantation equipment shows the image for carrying out self terminal, is so achieved that terminal with plantation equipmentBetween image interaction, so as to improve the experience of user.
In any of the above-described technical scheme, it is preferable that also include:When the open command of user's triggering is received, openThe speech interaction mode of the plantation equipment, to carry out the interactive voice with the terminal under the speech interaction mode.
In the technical scheme, when the speech interaction mode of plantation equipment is opened, plantation equipment and terminal could be realizedBetween interactive voice.
Wherein, when the speech interaction mode of plantation equipment is opened, control mike is in holding state, so that mikeThe voice messaging of user is gathered in time can.When the speech interaction mode of plantation equipment is closed, control mike is in passMachine state.
By technical scheme, plantation equipment has the function of carrying out interactive voice with terminal, so as to lift kindThe standby practicality of implanting.
Specific embodiment
In order to the above objects, features and advantages of the present invention can be more clearly understood that, below in conjunction with the accompanying drawings and concrete realApply mode to be further described in detail the present invention.It should be noted that in the case of not conflicting, the enforcement of the applicationFeature in example and embodiment can be mutually combined.
A lot of details are elaborated in the following description in order to fully understand the present invention, but, the present invention may be used alsoImplemented with being different from other modes described here using other, therefore, protection scope of the present invention is not by described belowSpecific embodiment restriction.
Fig. 1 shows the structural representation of plantation equipment according to an embodiment of the invention.
As shown in figure 1, plantation equipment 100 according to an embodiment of the invention, including:Mike 102, speech playModule 104, coding/decoding module 106 and communication module 108.
Wherein, the mike 102 is used for gathering the voice messaging of user, and the coding/decoding module 106 is used for describedThe voice messaging that mike 102 is collected is encoded, and (such as communication module 108 is antenna) to be used for the communication module 108Encoded voice messaging is sent to server, so that encoded voice messaging is transmitted to end by the serverEnd;And the communication module 108 is additionally operable to receive the voice messaging for sending from the terminal, the coding/decoding module 106It is additionally operable to be decoded the voice messaging for sending from the terminal, the voice playing module 104 is used for playing through solutionThe voice messaging of code.
In the technical scheme, mike 102 and voice playing module 104 are set on plantation equipment 100, to pass through wheatGram wind 102 gathers voice messaging and is sent to terminal, and is played by voice playing module 104 and believe come the voice of self terminalBreath, so as to realize the interactive voice between plantation equipment 100 and terminal, improves the practicality of plantation equipment 100.Accordingly even whenThe head of a family remotely can carry out voice interface by terminal with child, so as to ensure that the head of a family can not on 100 side of plantation equipmentTimely and child carries out linking up interaction to increase the knowledge of plants of child.
In technique scheme, it is preferable that the coding/decoding module 106 is specifically for when the mike 102 is gatheredTo voice messaging be not default control information when, the voice messaging collected by the mike 102 is encoded;DescribedVoice playing module 104 is specifically for when the voice messaging through decoding is not the default control information, playing and passing throughThe voice messaging of decoding;And also include:Processing module 110, for the voice messaging that collects when the mike 102 orWhen voice messaging through decoding is the default control information, operation corresponding with the default control information is executed.
In the technical scheme, as user may be controlled to plantation equipment 100 by way of voice, becauseThis, when the voice messaging that mike 102 is collected not is default control information, or from server through decodingVoice messaging is not default control information, illustrates that the voice messaging of both of the above situation is between plantation equipment 100 and terminalThe information of interactive voice is carried out, is not the information that user is controlled to plantation equipment 100, then mike 102 is collectedVoice messaging carries out coding and is sent to server, or plays out from the encoded voice messaging of server, so as toEnsure that carries out the accuracy of interactive voice between plantation equipment 100 and terminal.
Wherein, default control information includes but is not limited to one below or multiple combinations:Close plantation equipment 100The information of power supply, the information of Wi-Fi for closing plantation equipment 100, the information of the ambient parameter for adjusting in plantation equipment 100, rightPlant in plantation equipment 100 carries out the information of the information that waters, apply fertilizer, the photographic head 112 for starting on plantation equipment 100.
In any of the above-described technical scheme, it is preferable that also include:Photographic head 112, for gathering in the mike 102During voice messaging, the plant image in the plantation equipment 100 is shot;The communication module 108 is additionally operable to, will be encodedVoice messaging while be sent to the server, the plant image that the photographic head 112 is photographed is sent to the clothesBusiness device, so that the plant image that the photographic head 112 is photographed is transmitted to the terminal by the server.
In the technical scheme, terminal is sent to by the plant image for photographing photographic head 112 so that the use of terminalFamily understands the present case of 100 implants of plantation equipment more fully hereinafter.For example, the head of a family, can according to the present case of plantThe relevant knowledge of plant is targetedly explained for child.
In any of the above-described technical scheme, it is preferable that the communication module 108 is additionally operable to, receive and send out from the terminalThe image for sending;And also include:Display module 114, enters to the image from the terminal that the communication module 108 is receivedRow shows.
In the technical scheme, plantation equipment 100 shows the image for carrying out self terminal, is so achieved that terminal with kind of an implantingImage interaction between standby 100, so as to improve the experience of user.
In any of the above-described technical scheme, it is preferable that also include:Control module 116, for receiving user's triggeringDuring open command, open the speech interaction mode of the plantation equipment 100, with carry out under the speech interaction mode with describedThe interactive voice of terminal.
In the technical scheme, when the speech interaction mode of plantation equipment 100 is opened, plantation equipment 100 could be realizedInteractive voice between terminal.
Wherein, when the speech interaction mode of plantation equipment 100 is opened, control mike 102 is in holding state, so thatMike 102 can gather the voice messaging of user in time.When the speech interaction mode of plantation equipment 100 is closed, controlMike 102 is in off-mode.
Fig. 2 shows the structural representation of implant system according to an embodiment of the invention.
As shown in Fig. 2 implant system according to an embodiment of the invention 200, including:Plantation equipment 100, server202 and terminal 204.
Plantation equipment 100 includes mike 102, voice playing module 104 (such as loudspeaker), coding/decoding module 106 and leads toLetter module 108, mike 102 is used for gathering the voice messaging of user, and coding/decoding module 106 is used for collecting mike 102Voice messaging encoded, communication module 108 is used for the voice messaging that encodes coding/decoding module 106 and is sent to server202.Voice messaging is sent to terminal 204 by server 202 again.The coding/decoding module 2046 of terminal 204 is carried out to voice messagingDeciphering, and the voice messaging is played by its voice playing module 2044.
On the other hand, terminal 204 gathers the voice messaging of user by its mike 2042, by the volume solution of terminal 204Code module 2046 is encoded to voice messaging, and the voice messaging of coding is sent to server 202, and server 202 again willWhich is transmitted to plantation equipment 100.The communication module 108 of plantation equipment 100 receives the voice messaging from server 202 first,106 pairs of voice messagings of coding/decoding module secondly by plantation equipment 100 are decoded, finally by plantation equipment 100Voice playing module 104 is played out to decoded voice messaging.
Above scheme achieves the interactive voice between plantation equipment 100 and terminal 204 by server 202.
Fig. 3 shows the schematic flow sheet of the control method of plantation equipment according to an embodiment of the invention.
As shown in figure 3, the control method of plantation equipment according to an embodiment of the invention, including:
Step 302, gathers the voice messaging of user by the mike on the plantation equipment, and the mike is gatheredTo voice messaging encoded, encoded voice messaging is sent to server, for the server will through volumeThe voice messaging of code is transmitted to terminal.
Step 304, receives the voice messaging for sending from the terminal, the voice messaging for sending from the terminal is enteredRow decoding, plays the voice messaging through decoding.
In the technical scheme, voice messaging is gathered by mike and terminal is sent to, and pass through speech play mouldBlock plays the voice messaging for carrying out self terminal, so as to realize the interactive voice between plantation equipment and terminal, improves plantation equipmentPracticality.Accordingly even when the head of a family is not beside plantation equipment, remotely voice interface can be carried out with child by terminal, so as toEnsure that the head of a family can in time and child carry out linking up interactive increasing the knowledge of plants of child.
In technique scheme, it is preferable that when the voice messaging that the mike is collected is not default control letterDuring breath, the voice messaging collected by the mike is encoded;When the voice messaging through decoding is not described defaultDuring control information, the voice messaging through decoding is played;And also include:The voice messaging that collects when the mike orWhen voice messaging through decoding is the default control information, operation corresponding with the default control information is executed.
In the technical scheme, as user may be controlled to plantation equipment by way of voice, therefore, whenWhen the voice messaging that mike is collected not is default control information, or the voice messaging through decoding from serverNot being default control information, illustrates that the voice messaging of both of the above situation is that interactive voice is carried out between plantation equipment and terminalInformation, be not information that user is controlled to plantation equipment, then the voice messaging that mike is collected carried out coding and send outGive server, or play out from the encoded voice messaging of server, so as to ensure that plantation equipment and endThe accuracy of interactive voice is carried out between end.
Wherein, default control information includes but is not limited to one below or multiple combinations:Close the electricity of plantation equipmentThe information in source, close plantation equipment Wi-Fi information, adjust plantation equipment in ambient parameter information, to plant equipmentInterior plant carries out the information of the information that waters, apply fertilizer, the photographic head for starting on plantation equipment.
In any of the above-described technical scheme, it is preferable that also include:When the mike gathers voice messaging, by plantingThe standby upper photographic head of implanting shoots the plant image in the plantation equipment;It is described encoded voice messaging to be sent toWhile server, the plant image that the photographic head is photographed is sent to the server, so that the server is by instituteState the plant image that photographic head photographs and be transmitted to the terminal.
In the technical scheme, terminal is sent to by the plant image for photographing photographic head so that the user of terminalUnderstand the present case of plantation equipment implants more fully hereinafter.For example, the head of a family can be directed to according to the present case of plantProperty ground for child explanation plant relevant knowledge.
In any of the above-described technical scheme, it is preferable that also include:Receive the image for sending from the terminal;To receivingTo the image from the terminal shown.
In the technical scheme, plantation equipment shows the image for carrying out self terminal, is so achieved that terminal with plantation equipmentBetween image interaction, so as to improve the experience of user.
In any of the above-described technical scheme, it is preferable that also include:When the open command of user's triggering is received, openThe speech interaction mode of the plantation equipment, to carry out the interactive voice with the terminal under the speech interaction mode.
In the technical scheme, when the speech interaction mode of plantation equipment is opened, plantation equipment and terminal could be realizedBetween interactive voice.
Wherein, when the speech interaction mode of plantation equipment is opened, control mike is in holding state, so that mikeThe voice messaging of user is gathered in time can.When the speech interaction mode of plantation equipment is closed, control mike is in passMachine state.
Technical scheme is described in detail above in association with accompanying drawing, by technical scheme, plants equipmentHave carries out the function of interactive voice with terminal, so as to lift the practicality of plantation equipment.
The preferred embodiments of the present invention are the foregoing is only, the present invention is not limited to, for the skill of this areaFor art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, made any repairChange, equivalent, improvement etc., should be included within the scope of the present invention.