Specific embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is rightThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
The electrical equipment control method that the embodiment of the present invention is provided can be applied in system as shown in Figure 1, refer toFig. 1, mobile terminal 102 are interacted by wireless network and server 104, server 104 to electrical equipment 106 (TV orTV box etc.) it is controlled or video resource is transmitted to the electrical equipment 106.Mobile terminal 102 can be such asThe equipment such as smart mobile phone, tablet computer, personal digital assistant, but be not limited thereto.Mobile terminal 102 and server 104 intoWireless network used in row interaction includes but not limited to bluetooth, WiFi (adopting wireless fidelity technology), RFID (RadioFrequency Identification, radio frequency identification) etc..Social communication application program can be run on mobile terminal 102, is passed throughSocial communication application program sends the server 104 the social communication message with equipment social communication number, and server 104 connectsIt is parsed after receiving the social communication message, identifies the control instruction included in the social communication message, and by described inControl instruction is sent to corresponding electrical equipment 106 and performs corresponding operation;Or server 104 receives the social communication and disappearsThe social communication message is directly forwarded to be set to the electrical equipment 106 by the electric appliance with information parsing after breathStandby 106 are parsed, and obtain control instruction, so as to perform corresponding operation according to control instruction.The mobile terminal 102 inputsThe communication information can be speech message or text information, and corresponding various types of electrical equipments 106 can be resolved toControl instruction, therefore the electrical equipment control method of the present invention can be compatible with a variety of electrical equipments, and user's operationIt is more convenient.
Server 104 includes processor, memory and system bus etc., each germline including memory and processorSystem component is connected on system bus.Processor can perform movement by arithmetic sum logical operation basic in computer systemThe interaction data of terminal 104 and electrical equipment 106, and memory is for temporarily or permanently storage calculation procedure or data (exampleSuch as, the interaction data of mobile terminal 104 and electrical equipment 106, the video resource data of electrical equipment 106).Suitable for the present inventionThe server 104 of embodiment can perform the specified operation of electrical equipment control method, pass through the journey in processor run memoryThe form of sequence instruction performs these operations.The server 104 can be by social communication application server and electrical equipmentThe server group of server composition.
Referring to Fig. 2, the present invention provides a kind of electrical equipment control method, this method is to be applied to above-mentioned serverIt is illustrated, comprises the following steps in 104:
S201 receives the communication information to equipment social communication number that mobile terminal is sent by social communication application;
The communication information that server is sent by wireless network reception mobile terminal by social communication application, and can be into oneThe communication information is stored in internal reservoir by step.
When needing to control electrical equipment by mobile terminal, mobile terminal open social communication application in instituteThe page that equipment social communication number communicates is stated, and communication information is inputted under the page;Wherein, the communication information can be withIt is voice communication message or text communication message.After user clicks on and sends the communication information, mobile terminal can pass through nothingGauze network sends the communication information to server.
S202 parses the communication information, and the control for obtaining electrical equipment corresponding with the equipment social communication number refers toOrder;
Server can parse the communication information being stored in reservoir, be obtained parsing the communication informationIt is different according to the type of the communication information during control instruction of corresponding electric appliance equipment, there is different analytic methods, including:
If the communication information is speech message, audio identification is carried out to the speech message by speech recognition engineIt is parsed with semanteme, is converted to the control instruction of electrical equipment corresponding with the equipment social communication number;
If the communication information is word message, Text region is carried out to the word message by recognition engine textIt is parsed with semanteme, is converted to the control instruction of electrical equipment corresponding with the equipment social communication number.
In one embodiment, the server can be by social communication application server and electrical equipment server groupInto server group.The step of control instruction for then obtaining electrical equipment corresponding with the equipment social communication number, includes:
It parses the communication information and obtains control instruction, it is right that the control instruction is sent to the equipment social communication numberThe control instruction is transmitted to corresponding electrical equipment by the device server answered by the device server;
Alternatively, the communication information is transmitted to the corresponding device server of the equipment social communication number, by describedDevice server parses the communication information, obtains control instruction, and the control instruction is transmitted to corresponding electrical equipment.
Above two mode carries out communication information on social communication application server and electrical equipment server respectivelyParsing obtains control instruction, and common social communication application necessarily has the function of to parse communication information, if in societyIt is parsed on traffic letter application server, then need not change the existing function of server;And if in electrical equipment serviceThe parsing of communication information is carried out on device, then needs selection that can correctly identify the electrical equipment of communication information of social communication applicationServer.
The control instruction is transmitted to corresponding electrical equipment by S203.
Server, can be by wireless and/or cable network by institute after parsing is obtained to the control instruction of electrical equipmentIt states control instruction and is transmitted to corresponding electrical equipment.
The social communication number of the electrical equipment can have one-to-one relationship, i.e., described social communication number with electrical equipmentIt is the dedicated social communication number of some electrical equipment, needs to set each electrical equipment one society in this caseTraffic signals, operation is comparatively laborious, and cost is higher;
And another situation is the public platform that the social communication number is the electrical equipment, each user can pass through passThe public platform of the electrical equipment is noted, sending the communication information to the public platform controls the electrical equipment that some is specifiedSystem, in this case, it is thus necessary to determine which electrical equipment is controlled.
Therefore, in one embodiment, according to the user social contact messenger for sending the communication information, obtain and the useThe identity of the electrical equipment of family social communication number binding;
According to the identity, the control instruction or communication information are transmitted to corresponding electrical equipment.
When user uses the electrical equipment for the first time, mobile terminal can pass through the two-dimensional code scanning work(of social communication applicationThe Quick Response Code that the electrical equipment carries can be scanned, which the modes such as can be pasted and be attached to the electric appliance and set by printingStandby shell is shown after being also powered by the electrical equipment, such as shows the Quick Response Code automatically after television equipment energization.It is describedQuick Response Code includes the equipment social communication number and identification information of the electrical equipment, can be incited somebody to action after mobile scanning terminalThe user social contact messenger that mobile terminal logs in binds the equipment social communication number and identification information;After binding success,User can be by the dialog box edit text or voice communication message with the equipment social communication number, and sends the textOr voice communication message.After server receives the communication information, corresponding equipment is determined according to the social communication numberServer, and communication information or control instruction are transmitted to corresponding device server with the identity of the electrical equipment,The control instruction is transmitted to by corresponding electrical equipment according to the identity of the electrical equipment by the device server,Complete control.
The control instruction includes operation control instruction and search control instruction.The operation control instruction sets for controllingStandby operation, for example, control television equipment switching channels, tune up and turn volume etc. down;And described search control instruction is then used to controlControl equipment realizes resource searching, has generally comprised search keyword information, such as search key is " film " video resource.
Preferably, if the control instruction is search control instruction, further obtain in described search control instructionSearch keyword information obtains searching resource according to described search keyword message, and described search resource is sent to describedElectrical equipment.
Exemplified by controlling intelligent television equipment, after binding success, user can with the equipment social communication numberConversation page presses " pin and speak " button or the voice input port by the Html5/web pages, says the TV to be searched forProgramm name, the lower voice data concurrency of mobile terminal record are sent to server;After voice data is uploaded onto the server, by speech recognitionEngine carries out the voice data semantic analysis and is converted into search control instruction, and electrical equipment server is according to search thereinKeyword message (such as the television programme title) obtains searching resource, and described search resource is sent to smart television and is setIt is standby.The different possibility that described search resource corresponds to electrical equipment are different, be, for example, television equipment video resource orIt is that coffee machine brews program parameter etc..
And if the control instruction is operation control instruction, the control instruction is directly transmitted to corresponding electric applianceEquipment.
Preferably, after performing step S203 and the control instruction is transmitted to corresponding electrical equipment, electrical equipmentAfter obtaining executable control instruction, relevant operation is performed, and implementing result can be returned to server after relevant operation is performedFeedback message;Server receives the feedback information of electrical equipment, whole to corresponding movement according to the user social contact messengerEnd sends the feedback information;Corresponding mobile terminal is shown in and the equipment social communication number after receiving the feedback messageThe call page in, allow users to know in time the implementation status of electrical equipment.
The electrical equipment control method of the present invention is based on mobile terminal and social communication application is realized, without by dedicatedThere is the remote controler of voice control function, with regard to voice control or phonetic search can be carried out.Solve the poor universality of dedicated remote control,Operating experience cannot keep the problem of consistent between distinct device brand or model.It, need not be by distant when searching for related resourceIt controls device and carries out cumbersome input operation, but directly use the input mode of mobile terminal, input mode is more abundant, also moreSimply, user's operation efficiency is improved.
It, can be by the number set up with social communication application for electrical equipment as smart television or TV boxAccording to passage, user is made, which to see during TV, to send voice command, smart television or TV box by the social communication page on mobile phoneSub final perform orders and completes to manipulate.User is allowed simply to send control instruction or instruction search content with voice, directlyIt is carried out with smart television interactive.Also, this interaction forms is for a user, need not increase additional equipment, and it is real to reduce methodReady-made.
In one embodiment, the electrical equipment control method is further comprising the steps of:
Obtain the binding information of the equipment social communication number and social communication group number;
Receive the group communication messages that the mobile terminal sends the social communication group number;
The all devices social communication number with social communication group number binding is obtained, and the group communication messages are distinguishedIt is transmitted in electrical equipment corresponding with the equipment social communication number and plays.
By the binding module, the equipment social communication number and social communication group number are bound, user can be led toIt crosses the group communication messages that mobile terminal is sent and is sent to all electric appliances that there is binding correspondence with the social communication group numberIt being played in equipment so that the group communication messages that each group members are sent can be played back by associated electrical equipment, so as toRealize that electrical equipment plays the effect of group communication messages.For example, the electrical equipment may include to have the TV of playing function to setStandby, music player devices etc. realize that group members remotely pass through social communication software one so as to method through this embodimentIt rises and sees TV, listen to music together and other effects.
As shown in figure 3, additionally provide the electrical equipment control method of another embodiment, this method is to be applied to such as Fig. 1It is illustrated, comprises the following steps in shown system:
S301 receives the communication information to equipment social communication number that mobile terminal is sent by social communication application;
The communication information that server is sent by wireless network reception mobile terminal by social communication application, and can be into oneThe communication information is stored in internal reservoir by step.
When needing to control electrical equipment by mobile terminal, mobile terminal open social communication application in instituteThe page that equipment social communication number communicates is stated, and communication information is inputted under the page;Wherein, the communication information can be withIt is voice communication message or text communication message.After user clicks on and sends the communication information, mobile terminal can pass through nothingGauze network sends the communication information to server.
S302 parses the communication information, and the control for obtaining electrical equipment corresponding with the equipment social communication number refers toOrder;
S303 controls corresponding electrical equipment to perform corresponding operation according to the control instruction.
When parsing the control instruction of the communication information acquisition corresponding electric appliance equipment, according to the type of the communication informationDifference has different analytic methods, including:
If the communication information is speech message, audio identification is carried out to the speech message by speech recognition engineIt is parsed with semanteme, is converted to the control instruction of electrical equipment corresponding with the equipment social communication number;
If the communication information is word message, Text region is carried out to the word message by recognition engine textIt is parsed with semanteme, is converted to the control instruction of electrical equipment corresponding with the equipment social communication number.
The server group that the server can be made of social communication application server and electrical equipment server, andStep S302 has a variety of feasible realization methods.
In one embodiment, the communication information is parsed by social communication server and obtains control instruction, by described inControl instruction is sent to the corresponding device server of the equipment social communication number, by the device server by the controlInstruction is transmitted to corresponding electrical equipment;
Accordingly, the electrical equipment control method as shown in figure 4, first user by mobile terminal with the equipmentSpeech message is inputted in the call page of social communication number, the speech message is uploaded to social communication service by mobile terminalDevice, after social communication server receives the speech message, call the speech recognition engine of its own to the speech message intoThe control instruction, is then transmitted to by row audio identification and semantic parsing acquisition and the matched control instruction of the speech messageThe corresponding device server of the equipment social communication number;To corresponding electricity after the device server reception control instructionDevice equipment sends the control instruction;After electrical equipment performs the control instruction, the feedback of instruction execution result is carried out, it is mobileTerminal shows the feedback result.
In another embodiment, the communication information is transmitted to the equipment social activity by social communication server to lead toThe corresponding device server of signal parses the communication information by the device server, obtains control instruction, and by described inControl instruction is transmitted to corresponding electrical equipment;
Accordingly, the electrical equipment control method as shown in figure 5, first user by mobile terminal with the equipmentSpeech message is inputted in the call page of social communication number, the speech message is uploaded to social communication service by mobile terminalDevice, it is after social communication server receives the speech message, the voice message transmission is right to the equipment social communication numberThe device server answered;After the device server receives the speech message, the speech recognition engine of its own is called to instituteIt states speech message and carries out audio identification and semantic parsing acquisition and the matched control instruction of the speech message, then by the controlSystem instruction is transmitted to corresponding electrical equipment;After electrical equipment performs the control instruction, the feedback of instruction execution result is carried out,Mobile terminal shows the feedback result.
In another embodiment, the communication information is transmitted to the equipment social activity by social communication server to lead toThe communication information is transmitted to corresponding electrical equipment by the corresponding device server of signal by the device server, byThe electrical equipment parses the communication information and obtains control instruction;
Accordingly, the electrical equipment control method as shown in fig. 6, first user by mobile terminal with the equipmentSpeech message is inputted in the call page of social communication number, the speech message is uploaded to social communication service by mobile terminalDevice, it is after social communication server receives the speech message, the voice message transmission is right to the equipment social communication numberThe device server answered;After the device server receives the speech message, directly by the voice message transmission to correspondenceElectrical equipment;After electrical equipment receives the speech message, the speech recognition engine of its own is called to the speech messageIt carries out audio identification and semantic parsing obtains and the matched control instruction of the speech message, then perform the control instruction,And the feedback of instruction execution result is carried out, mobile terminal shows the feedback result.
In another embodiment, by the LAN connection between mobile terminal and electrical equipment, the communication is disappearedBreath is transmitted to corresponding electrical equipment, and parsing the communication information by the electrical equipment obtains control instruction.
Accordingly, the electrical equipment control method as shown in fig. 7, first user by mobile terminal with the equipmentSpeech message is inputted in the call page of social communication number, mobile terminal sets the speech message by mobile terminal and electric applianceLAN connection between standby is directly transferred to corresponding electrical equipment;After electrical equipment receives the speech message, it is calledThe speech recognition engine of itself carries out the speech message audio identification and semantic parsing is obtained and matched with the speech messageControl instruction, then perform the control instruction, and carry out the feedback of instruction execution result, mobile terminal shows the feedbackAs a result.
The usual social communication number may be configured as the public platform of the electrical equipment, and each user can be by paying close attention toThe public platform of electrical equipment is stated, sending the communication information to the public platform controls the electrical equipment that some is specified,In such cases, it is thus necessary to determine which electrical equipment is controlled.
In one embodiment, it is first when the control instruction or communication information are transmitted to corresponding electrical equipmentFirst according to the user social contact messenger for sending the communication information, the electrical equipment with user social contact messenger binding is obtainedIdentity;Then according to the identity, the control instruction or communication information are transmitted to corresponding electrical equipment.
When user uses the electrical equipment for the first time, mobile terminal can pass through the two-dimensional code scanning work(of social communication applicationThe Quick Response Code that the electrical equipment carries can be scanned, which the modes such as can be pasted and be attached to the electric appliance and set by printingStandby shell is shown after being also powered by the electrical equipment, such as shows the Quick Response Code automatically after television equipment energization.It is describedQuick Response Code includes the equipment social communication number and identification information of the electrical equipment, can be incited somebody to action after mobile scanning terminalThe user social contact messenger that mobile terminal logs in binds the equipment social communication number and identification information;After binding success,User can be by the dialog box edit text or voice communication message with the equipment social communication number, and sends the textOr voice communication message.After server receives the communication information, according to the identity of the electrical equipment by described inControl instruction or communication information are transmitted to corresponding electrical equipment, complete control.
The control instruction includes operation control instruction and search control instruction.The operation control instruction sets for controllingStandby operation, for example, control television equipment switching channels, tune up and turn volume etc. down;And described search control instruction is then used to controlControl equipment realizes resource searching, has generally comprised search keyword information, such as search key is " film " video resource.
Preferably, if the control instruction is search control instruction, further obtain in described search control instructionSearch keyword information obtains searching resource according to described search keyword message, and described search resource is sent to describedElectrical equipment.
Exemplified by controlling intelligent television equipment, after binding success, user can with the equipment social communication numberConversation page presses " pin and speak " button or the voice input port by the Html5/web pages, says the TV to be searched forProgramm name, the lower voice data concurrency of mobile terminal record are sent to server;After voice data is uploaded onto the server, by speech recognitionEngine carries out the voice data semantic analysis and is converted into search control instruction, and electrical equipment server is according to search thereinKeyword message (such as the television programme title) obtains searching resource, and described search resource is sent to smart television and is setIt is standby.
And if the control instruction is operation control instruction, the control instruction is directly transmitted to corresponding electric applianceEquipment.
Preferably, step S303 is being performed according to the corresponding corresponding operation of electrical equipment execution of control instruction controlAfterwards, electrical equipment can return to the feedback message of implementing result to server;Server receives the feedback information of electrical equipment, rootAccording to the user social contact messenger feedback information is sent to corresponding mobile terminal;Corresponding mobile terminal receives described anti-It is shown in after feedback message in the call page of the equipment social communication number, allowing users to know holding for electrical equipment in timeMarket condition.
In one embodiment, the electrical equipment control method is further comprising the steps of:
Obtain the binding information of the equipment social communication number and social communication group number;
Receive the group communication messages that the mobile terminal sends the social communication group number;
The all devices social communication number with social communication group number binding is obtained, and the group communication messages are distinguishedIt is transmitted in electrical equipment corresponding with the equipment social communication number and plays.
By the binding module, the equipment social communication number and social communication group number are bound, user can be led toIt crosses the group communication messages that mobile terminal is sent and is sent to all electric appliances that there is binding correspondence with the social communication group numberIt being played in equipment so that the group communication messages that each group members are sent can be played back by associated electrical equipment, so as toRealize that electrical equipment plays the effect of group communication messages.For example, the electrical equipment may include to have the TV of playing function to setStandby, music player devices etc. realize that group members remotely pass through social communication software one so as to method through this embodimentIt rises and sees TV, listen to music together and other effects.
As shown in figure 8, in one embodiment, additionally providing a kind of electrical equipment control system, which includes:
Message reception module 10, for receive mobile terminal by social communication application send to equipment social communication numberCommunication information;
Parsing module 20 for parsing the communication information, obtains electric appliance corresponding with the equipment social communication number and setsStandby control instruction;
Transport module 30 is instructed, for the control instruction to be transmitted to corresponding electrical equipment.
In electrical equipment control system of the present invention, mobile terminal only needs to open social communication application, and to the equipmentSocial communication number sends communication information, is parsed automatically after receiving the communication information from the background, obtains to the electrical equipmentControl instruction, the control instruction is then transmitted to corresponding electrical equipment, mobile terminal is allow directly to pass through social activityCommunications applications send control instruction to electrical equipment.The communication information that the mobile terminal is sent can be speech message or textWord information, the communication information by resolving to the control instruction of corresponding electrical equipment from the background, and institute is so as to compatible various differencesElectrical equipment, and the operation ease of mobile terminal is more preferable than dedicated remote control, more efficient, is particularly scanning forWhen, it is only necessary to search key is inputted by mobile terminal, complicated operation is carried out without using dedicated remote control, more justJust.
In one embodiment, the parsing module 20 includes:Speech analysis module 21 and/or, word parsing module22, as shown in Figure 9;
The speech analysis module, if being speech message for the communication information, by speech recognition engine to instituteIt states speech message and carries out audio identification and semantic parsing, be converted to the control of electrical equipment corresponding with the equipment social communication numberSystem instruction;
The word parsing module, if being word message for the communication information, by recognition engine text to instituteIt states word message and carries out Text region and semantic parsing, be converted to the control of electrical equipment corresponding with the equipment social communication numberSystem instruction.
In one embodiment, described instruction transport module 30 is further used for according to the user for sending the communication informationSocial communication number obtains the identity with the electrical equipment of user social contact messenger binding, according to the electrical equipmentIdentity, send the control instruction to corresponding electrical equipment.
In one embodiment, the electrical equipment control system further includes search module (not shown), for such asControl instruction described in fruit is search control instruction, the search keyword information in described search control instruction is obtained, according to describedSearch keyword information obtains searching resource, and described search resource is sent to the electrical equipment.
In one embodiment, the electrical equipment control system, further comprises:Binding module and group communication module;
The binding module is used to obtain the binding information of the equipment social communication number and social communication group number;
Group communication module obtains for receiving the group communication messages that the mobile terminal sends the social communication group numberWith the social communication group number binding all devices social communication number, and by the group communication messages be transmitted separately to it is describedIt is played in the corresponding electrical equipment of equipment social communication number.
By the binding module, the equipment social communication number and social communication group number are bound, user can be led toIt crosses the group communication messages that mobile terminal is sent and is sent to all electric appliances that there is binding correspondence with the social communication group numberIt being played in equipment so that the group communication messages that each group members are sent can be played back by associated electrical equipment, so as toRealize that electrical equipment plays the effect of group communication messages.For example, the electrical equipment may include to have the TV of playing function to setStandby, music player devices etc. realize that group members remotely pass through social communication software one so as to method through this embodimentIt rises and sees TV, listen to music together and other effects.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be withRelevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory mediumIn, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magneticDish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random AccessMemory, RAM) etc..
Embodiment described above only expresses several embodiments of the present invention, and description is more specific and detailed, but notCan the limitation to the scope of the claims of the present invention therefore be interpreted as.It should be pointed out that come for those of ordinary skill in the artIt says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present inventionScope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.