CN110519134A - Home equipment control method and device, storage medium - Google Patents

Home equipment control method and device, storage medium Download PDF

Info

Publication number
CN110519134A
CN110519134A CN201910829566.8A CN201910829566A CN110519134A CN 110519134 A CN110519134 A CN 110519134A CN 201910829566 A CN201910829566 A CN 201910829566A CN 110519134 A CN110519134 A CN 110519134A
Authority
CN
China
Prior art keywords
home equipment
infrared
target
equipment
code
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
CN201910829566.8A
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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201910829566.8A priority Critical patent/CN110519134A/en
Publication of CN110519134A publication Critical patent/CN110519134A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/282Controlling appliance services of a home automation network by calling their functionalities based on user interaction within the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used

Abstract

This application provides a kind of home equipment control method and device, storage medium, belong to home equipment control field.This method comprises: voice control command of the media device acquisition to target home equipment obtains the Infrared Targets code of the target key on target remote control equipment according to the voice control command, according to the Infrared Targets code, the operation of target home equipment performance objective is controlled.The application facilitates the control mode of abundant home equipment, improves the flexibility of control.

Description

Home equipment control method and device, storage medium
Technical field
This application involves home equipment control field, in particular to a kind of home equipment control method and device, storage are situated between Matter.
Background technique
With the continuous development of science and technology, various home equipments become increasingly popular in people's lives.
Home equipment usually has operation module (such as remote controler or switch key), and user usually passes through home equipment Operation module controls home equipment, for example, user controls the unlatching, closing and temperature of air-conditioning by the remote controler of air-conditioning Adjusting etc..
But home equipment, therefore home equipment controlling party are controlled by the operation module of home equipment by user at present Formula is single, and the flexibility of control is poor.
Summary of the invention
The embodiment of the present application provides a kind of home equipment control method and device, storage medium, facilitates abundant household The control mode of equipment improves the flexibility of control.The technical solution is as follows:
In a first aspect, providing a kind of home equipment control method, it to be used for media device, which comprises
Acquire the voice control command to target home equipment;
According to the voice control command, the Infrared Targets code of the target key on target remote control equipment, the mesh are obtained Mark the remote control equipment that remote control equipment is the target home equipment;
According to the Infrared Targets code, the target home equipment performance objective operation is controlled.
Optionally, the voice control command carries the facility information of operation instruction information and the target home equipment, The operation instruction information indicates the object run,
It is described that the Infrared Targets code of target key on target remote control equipment is obtained according to the voice control command, it wraps It includes:
According to the facility information of the target home equipment, the corresponding Infrared Targets code of the target home equipment is obtained Library, Infrared Targets code library record have the marking keys of the key on the target remote control equipment are corresponding with infrared code to close System;
According to the operation instruction information, the marking keys of the target key are determined;
According to the marking keys of the target key, the Infrared Targets code is obtained from Infrared Targets code library.
Optionally, the facility information according to the target home equipment, it is corresponding to obtain the target home equipment Infrared Targets code library, comprising:
Code library acquisition request is sent to server, code library acquisition request carries the equipment letter of the target home equipment Breath, the server are used for the facility information according to the target home equipment, obtain the Infrared Targets from infrared code library collection Code library, infrared code library collection record have the corresponding infrared code library of different home equipments;
It receives the code library that the server is sent and obtains response, the code library obtains response and carries the Infrared Targets Code library.
Optionally, in the facility information according to the target home equipment, the corresponding mesh of the target home equipment is obtained Before marking infrared code library, the method also includes:
For each remote control equipment at least one remote control equipment relevant to the target home equipment, movement is received The infrared code of each key for the remote control equipment that terminal is sent;
Emit infrared signal according to the infrared code of the key, the mobile terminal is used to set when the determining target household When for making a response for the infrared signal, the key and the target home equipment are determined with code success, when described distant When all keys and the target home equipment for controlling equipment are with code success, determine that the remote control equipment is set with the target household It is standby successful with code, the Infrared Targets will be determined as with the infrared code library of the successful remote control equipment of code with the target home equipment Code library is uploaded to the server.
Second aspect provides a kind of home equipment control method, is used for server, which comprises
The code library acquisition request that media device is sent is received, code library acquisition request is that the media device collects pair After the voice control command of target home equipment, according to the equipment for the target home equipment that the voice control command carries What information was sent, code library acquisition request carries the facility information of the target home equipment;
According to the facility information of the target home equipment, concentrate the acquisition target home equipment corresponding from infrared code library Infrared Targets code library, the infrared code library collection is for recording the corresponding infrared code library of different home equipments, the Infrared Targets Code library record has the marking keys of the key on target remote control equipment and the corresponding relationship of infrared code, and the target remote control equipment is The remote control equipment of the target home equipment;
Code library, which is sent, to the media device obtains response, the code library obtains response and carries Infrared Targets code library, The media device is used for the operation instruction information carried according to the voice control command, determines on the target remote control equipment Target key marking keys, according to the marking keys of the target key, obtained from Infrared Targets code library described in The Infrared Targets code of target key, and according to the Infrared Targets code, control the target home equipment performance objective operation.
Optionally, the facility information is device name, and the infrared code library collection is for recording setting for different home equipments The corresponding relationship of standby mark and infrared code library,
The facility information according to the target home equipment is concentrated from infrared code library and obtains the target home equipment Corresponding Infrared Targets code library, comprising:
According to the device name of the target home equipment, the device identification of the target home equipment is determined;
According to the device identification of the target home equipment, is concentrated from the infrared code library and obtain the Infrared Targets code Library.
The third aspect provides a kind of home equipment control method, is used for mobile terminal, which comprises
By being interacted with media device, will at least one remote control equipment relevant to target home equipment successively with the mesh It marks home equipment and matches code;
By at least one described remote control equipment, the infrared code of the successful remote control equipment of code is matched with the target home equipment Library is determined as target home equipment corresponding Infrared Targets code library;
The facility information of the target home equipment and Infrared Targets code library are uploaded to server, the server For storing in Infrared Targets code library to infrared code library collection, in the code library acquisition request for receiving the media device transmission When, according to the facility information for the target home equipment that code library acquisition request carries, concentrates and obtain from the infrared code library Infrared Targets code library is taken, and sends the code library acquisition response for carrying Infrared Targets code library to the media device.
Optionally, the facility information is device name, and the infrared code library collection is for recording setting for different home equipments The corresponding relationship of standby mark and infrared code library, the method also includes:
The device identification of the target home equipment is uploaded to the server, the server is used for the target The device identification of home equipment and Infrared Targets code library are stored to the infrared code library collection, are receiving the media device When the code library acquisition request of transmission, according to the device name for the target home equipment that code library acquisition request carries, really The device identification of the fixed target home equipment, according to the device identification of the target home equipment, from the infrared code library collection It is middle to obtain the corresponding Infrared Targets code library of the target home equipment.
Optionally, described by being interacted with media device, it will at least one remote control equipment relevant to target home equipment Successively match code with the target home equipment, comprising:
For each remote control equipment at least one described remote control equipment, each key of the remote control equipment is obtained Infrared code;
The infrared code of the key is sent to the media device, the media device is used for according to the infrared of the key Code transmitting infrared signal;
When determining that the target home equipment makes a response for the infrared signal, the key and the mesh are determined Home equipment is marked with code success;
When all keys and the target home equipment for determining the remote control equipment are with code success, the remote control is determined Equipment and the target home equipment are with code success.
Fourth aspect, provides a kind of home equipment control device, and described device includes: for executing first aspect to The modules of home equipment control method described in three aspects.
5th aspect, provides a kind of home equipment control device, comprising: processor and memory,
The memory, for storing computer program;
The processor realizes first aspect to third for executing the computer program stored on the memory Any home equipment control method described in aspect.
6th aspect, provides a kind of storage medium, can when the program in the storage medium is executed by processor Realize first aspect to any home equipment control method described in the third aspect.
Technical solution bring beneficial effect provided by the embodiments of the present application includes:
Home equipment control method and device provided by the embodiments of the present application, storage medium, media device are acquired to target The voice control command of home equipment obtains the target of the target key on target remote control equipment according to the voice control command Infrared code controls the operation of target home equipment performance objective according to the Infrared Targets code.Since media device can set household It is standby to be controlled, compared to the mode for manually controlling home equipment, facilitates the control mode of abundant home equipment, improve control Flexibility.
Detailed description of the invention
Fig. 1 be the invention relates to a kind of implementation environment schematic diagram;
Fig. 2 is a kind of method flow diagram of home equipment control method provided by the embodiments of the present application;
Fig. 3 is the method flow diagram of another home equipment control method provided by the embodiments of the present application;
Fig. 4 is the method flow diagram of another home equipment control method provided by the embodiments of the present application;
Fig. 5 is the method flow diagram of another home equipment control method provided by the embodiments of the present application;
Fig. 6 is a kind of schematic diagram of search result interfaces provided by the embodiments of the present application;
Fig. 7 is a kind of schematic diagram at media device interface provided by the embodiments of the present application;
Fig. 8 is the schematic diagram of another search result interfaces provided by the embodiments of the present application;
Fig. 9 is a kind of schematic diagram for being connected to the network interface provided by the embodiments of the present application;
Figure 10 is a kind of schematic diagram at equipment addition interface provided by the embodiments of the present application;
Figure 11 is a kind of method flow diagram that remote control equipment and target home equipment are matched to code provided by the embodiments of the present application;
Figure 12 is a kind of schematic diagram of remote control interface provided by the embodiments of the present application;
Figure 13 is a kind of schematic diagram with code response interface provided by the embodiments of the present application;
Figure 14 is a kind of block diagram of home equipment control device provided by the embodiments of the present application;
Figure 15 is the block diagram of another home equipment control device provided by the embodiments of the present application;
Figure 16 is the block diagram of another home equipment control device provided by the embodiments of the present application;
Figure 17 is a kind of structural schematic diagram of home equipment control device provided by the embodiments of the present application;
Figure 18 is the structural schematic diagram of another home equipment control device provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
Fig. 1 be the invention relates to a kind of implementation environment schematic diagram, which provides a kind of household and sets Standby control system.Referring to Fig. 1, which includes: media device 101, server 102,103 and of mobile terminal Home equipment 104.
Mobile terminal 103 can be communicated to connect with media device 101, server 102 and home equipment 104 respectively, media Equipment 101 can be communicated to connect with home equipment 104 and server 102 respectively.The communication connection can be wired connection or nothing Line connection, the wireless connection can include but is not limited to Wireless Fidelity (English: Wireless Fidelity, abbreviation: WIFI) even Connect, data connection, bluetooth connection or infrared connection etc., the wired connection can include but is not limited to universal serial bus (English: Universal Serial Bus, referred to as: USB) connection.
Media device 101 can be intelligent sound box.Server 102 can be a server, or be serviced by several The server cluster or a cloud computing service center of device composition.Mobile terminal 103 can be smart phone, plate electricity Brain or laptop etc..Home equipment 104 can be electric fan, air-conditioning, television set, washing machine, refrigerator, micro-wave oven, security door, Monitoring device, security device or visual intercommunication device etc., which, which usually has, matched sets the household for user The standby remote control equipment controlled.As shown in Figure 1, the embodiment of the present application is intelligent sound box, mobile terminal with media device 101 103 be smart phone, and home equipment 104 is to be illustrated for air-conditioning.
Wherein, media device 101 can acquire the voice control command to home equipment 104, be ordered according to the voice control It enables, obtains the Infrared Targets code of the target key on the remote control equipment of home equipment 104, and family is controlled according to the Infrared Targets code Occupy the operation of 104 performance objective of equipment.Optionally, media device 101 can be sent according to Infrared Targets code to home equipment 104 red External signal, home equipment 104 can receive the infrared signal and be operated according to infrared signal performance objective, to realize media device The control of 101 pairs of home equipments 104.Illustratively, media device 101 can according to the voice control command to home equipment 104, The infrared code of the switch key on the remote control equipment of home equipment 104 is obtained, and according to the infrared code of the switch key, controls house Occupy the unlatching of equipment 104.
Fig. 2 is a kind of method flow diagram of home equipment control method provided by the embodiments of the present application, and this method can be used Media device 101 in the implementation environment shown in Fig. 1, as shown in Fig. 2, this method may comprise steps of:
Step 201, acquisition are to the voice control command of target home equipment.
Step 202, according to voice control command, obtain the Infrared Targets code of the target key on target remote control equipment, should Target remote control equipment is the remote control equipment of target home equipment.
Step 203, according to Infrared Targets code, control the operation of target home equipment performance objective.
In conclusion home equipment control method provided by the embodiments of the present application, media device acquisition sets target household Standby voice control command obtains the Infrared Targets code of the target key on target remote control equipment according to the voice control command, According to the Infrared Targets code, the operation of target home equipment performance objective is controlled.Since media device can carry out home equipment Control facilitates the control mode of abundant home equipment, improves the flexible of control compared to the mode for manually controlling home equipment Property.
Fig. 3 is the method flow diagram of another home equipment control method provided by the embodiments of the present application, and this method can be with For the server 102 in implementation environment shown in Fig. 1, as shown in figure 3, this method may comprise steps of:
Step 301 receives the code library acquisition request that media device is sent, and code library acquisition request is that media device collects pair After the voice control command of target home equipment, the facility information of the target home equipment carried according to voice control command is sent , code library acquisition request carries the facility information of target home equipment.
Step 302, according to the facility information of target home equipment, concentrate that obtain target home equipment corresponding from infrared code library Infrared Targets code library, infrared code library collection is for recording the corresponding infrared code library of different home equipments, Infrared Targets code library record There are the marking keys of the key on target remote control equipment and the corresponding relationship of infrared code, target remote control equipment is target home equipment Remote control equipment.
Step 303 sends the acquisition response of code library to media device, and code library obtains response and carries Infrared Targets code library, media Equipment is used for the operation instruction information carried according to voice control command, determines the key of the target key on target remote control equipment Mark obtains the Infrared Targets code of target key, and according to mesh according to the marking keys of target key from Infrared Targets code library Mark infrared code, control target home equipment performance objective operation.
In conclusion home equipment control method provided by the embodiments of the present application, server receives what media device was sent Code library acquisition request is concentrated from infrared code library and is obtained according to the facility information for the target home equipment that this yard of library acquisition request carries Target home equipment corresponding Infrared Targets code library is taken, and sends the acquisition that code library carries the Infrared Targets code library to media device Response, media device can obtain the Infrared Targets code of target key according to voice control command from Infrared Targets code library, and According to Infrared Targets code, the operation of target home equipment performance objective is controlled.Since media device can control home equipment System facilitates the control mode of abundant home equipment, improves the flexible of control compared to the mode for manually controlling home equipment Property.
Fig. 4 is the method flow diagram of another home equipment control method provided by the embodiments of the present application, and this method can be with For the mobile terminal 103 in implementation environment shown in Fig. 1, as shown in figure 4, this method may comprise steps of:
Step 401, by being interacted with media device, will at least one remote control equipment relevant to target home equipment successively Match code with target home equipment.
Step 402, by least one remote control equipment, the infrared code of the successful remote control equipment of code is matched with target home equipment Library is determined as target home equipment corresponding Infrared Targets code library.
The facility information of target home equipment and Infrared Targets code library are uploaded to server by step 403, and server is used for Infrared Targets code library is stored to infrared code library collection, when receiving the code library acquisition request of media device transmission, according to code library The facility information for the target home equipment that acquisition request carries is concentrated from infrared code library and obtains Infrared Targets code library, and to media Equipment sends the code library acquisition response for carrying Infrared Targets code library.
Wherein, media device can be when receiving voice control command, according to voice control command from Infrared Targets code The Infrared Targets code of target key is obtained in library, and according to Infrared Targets code, controls the operation of target home equipment performance objective.
In conclusion home equipment control method provided by the embodiments of the present application, mobile terminal passes through will be with target household Equipment is determined as target home equipment corresponding Infrared Targets code library with the infrared code library of the successful remote control equipment of code, by target man The facility information and Infrared Targets code library for occupying equipment are uploaded to server, and server can store in Infrared Targets code library to infrared Code library collection is set when receiving the code library acquisition request of media device transmission according to the target household that code library acquisition request carries Standby facility information is concentrated from infrared code library obtains Infrared Targets code library, and sends to media device and carry Infrared Targets code library Code library obtains response, and media device obtains the Infrared Targets of target key according to voice control command from Infrared Targets code library Code, and according to Infrared Targets code, control the operation of target home equipment performance objective.Due to media device can to home equipment into Row control facilitates the control mode of abundant home equipment, improves the spirit of control compared to the mode for manually controlling home equipment Activity.
Fig. 5 is the method flow diagram of another home equipment control method provided by the embodiments of the present application, and this method can be with For implementation environment shown in FIG. 1, as shown in figure 5, this method may comprise steps of:
Step 501, mobile terminal establish the first communication connection of mobile terminal and media device.
Wherein, mobile terminal and media device can have bluetooth module, mobile terminal and media device this first Communication connection can be bluetooth connection.
Optionally, user can open the Bluetooth function of media device and the Bluetooth function of mobile terminal, make media device Bluetooth be in can find state, and trigger mobile terminal carry out bluetooth discovery, after search, mobile terminal can be shown Search result interfaces may include the title of this all bluetooth searched of mobile terminal in the search result interfaces, and should The title of bluetooth in search result interfaces may include the title of the bluetooth of media device, and user can click media device The title of bluetooth, triggering mobile terminal and media device establish bluetooth connection.Illustratively, referring to FIG. 6, it illustrates the application A kind of schematic diagram for search result interfaces 610 that embodiment provides shows bluetooth title " sound in the search result interfaces 610 Case 1 ", " mobile phone 2 " and " PAD123 ", user can click bluetooth title " speaker 1 " triggering mobile terminal and speaker 1 establishes bluetooth Connection.
Step 502, media device are connected to target radio network by mobile terminal.
Wherein, mobile terminal may be in the coverage area of multiple wireless networks, and media device can connect more to this Any one wireless network in a wireless network.For example, media device can be connected to by mobile terminal it is multiple wireless Target radio network in network.In the embodiment of the present application, can be equipped in mobile terminal household APP (English: Application, referred to as: APP), user can be managed home equipment by household APP, and media device can lead to The household APP crossed in mobile terminal is connected to target radio network.
Optionally, user can trigger the media device interface that mobile terminal opens household APP, in the media device interface The title that all media devices of the first communication connection are established with mobile terminal can be shown, user can click any media The title of equipment, triggering mobile terminal are the media device distribution.Wherein, mobile terminal is that the process of media device distribution can be with It include: after the title that user clicks media device, mobile terminal carries out wireless network search, mobile whole after search End display search result interfaces, which may include the name of this multiple wireless network searched of mobile terminal Claim, user can click any of title of multiple wireless network and select any one wireless network, terminal The wireless network that user selects can be determined into target radio network, after the title that user selects wireless network, mobile terminal It can show network connection interface, can show Password Input frame and distribution button in the network connection interface, user can be with The password of target radio network is inputted in the Password Input frame, and by clicking distribution button, triggers mobile terminal for the matchmaker Body equipment is connected to target radio network.
Illustratively, referring to FIG. 7, it illustrates a kind of signals at media device interface 620 provided by the embodiments of the present application Scheme, the title " speaker 1 ", " speaker 2 " and " speaker 3 " of media device, speaker 1, speaker are shown in the media device interface 620 2 and speaker 3 be the speaker that communication connection is established with mobile terminal, user can click " speaker 1 ", and triggering mobile terminal is should 1 distribution of speaker.Illustratively, referring to FIG. 8, it illustrates another search result interfaces 630 provided by the embodiments of the present application Schematic diagram shows title " wifi1 ", " wifi2 " or " wifi3 " of wireless network etc., user in the search result interfaces 630 It can click " wifi1 ", triggering mobile terminal display network connection interface.Referring to FIG. 9, it illustrates the embodiment of the present application to mention A kind of schematic diagram at the network connection interface 640 supplied shows Password Input frame 641 and distribution in the network connection interface 640 Button 642 after user inputs the password of wifi1 in Password Input frame 641, can click distribution button 642, trigger mobile whole Speaker 1 is connected to wifi1 by end.
It should be noted that in the embodiment of the present application, after mobile terminal is media device distribution, media device can be with Distribution is broadcasted as a result, the distribution result can be distribution success or distribution failure, in order to which user can determine distribution as a result, simultaneously It is determined according to distribution result and executes subsequent operation.
Step 503, mobile terminal determine target home equipment from the home equipment that user adds.
Optionally, the household APP of mobile terminal can provide equipment addition interface, and user can add interface by equipment Multiple home equipments are added, user can select at least one home equipment from multiple home equipment, and mobile terminal will be used The home equipment of family selection is determined as target home equipment.
Optionally, equipment addition interface can have addition button, and user can click the addition button, trigger mobile whole End shows a variety of different home equipment titles, brand and model etc., and user can according to need the name of the home equipment of addition The addition home equipment such as home equipment title, brand and model that title, brand and model and mobile terminal are shown.In the application In embodiment, user's one home equipment of every addition, mobile terminal can be in the name of the equipment addition interface display home equipment Claim.
Illustratively, referring to FIG. 10, it illustrates a kind of signals at equipment addition interface 650 provided by the embodiments of the present application Figure, as shown in Figure 10, equipment addition show the home equipment (including air-conditioning, refrigerator and TV) added in interface 650 Title " air-conditioning ", " refrigerator " and " TV ", and equipment addition interface 650 also shows addition button "+", and user can lead to Cross click addition button "+", continue add home equipment, also, user can from added home equipment (including air-conditioning, Refrigerator and TV) in select at least one home equipment, the home equipment that user selects is determined as target household by mobile terminal Equipment, for example, user can click " air-conditioning " shown in Fig. 10, then air-conditioning is determined as target home equipment by mobile terminal.
Step 504, mobile terminal establish mobile terminal when mobile terminal and media device are in target radio network With the second communication connection of media device.
Optionally, the second communication connection of mobile terminal and media device can be socket (English: socket) connection, Mobile terminal can trigger media device creation socket interface, and be established and media device by the socket interface Socket connection.
Optionally, user can trigger mobile terminal and show pairing interface, can show in the pairing interface pairing by Button, user can click the pairing button, and triggering mobile terminal communicates to connect to media device by first and sends pairing message, Media device creates socket interface after receiving the pairing message, and communicates to connect by first to mobile terminal and send media Internet protocol (the English: Internet Protocol of equipment;Referred to as: IP) address, mobile terminal can receive media device IP address, and according to the IP address of media device establish and media device between socket connection.
In the embodiment of the present application, mobile terminal establish with after the second of media device the communication connection, can be by the One communicates to connect to media device transmission feedback message, which carries connection result, and media device receives the feedback and disappears It ceases and is parsed to obtain connection result, if connection result is successful connection, media device determines its with mobile terminal Two communication connections are successfully established, if connection result is connection failure, media device determines that it is communicated with the second of mobile terminal Failure is established in connection, and media device can broadcast the title (such as title of wifi) for the wireless network that it is currently connected.It is optional Ground, when failure is established in the second communication connection of mobile terminal and media device, mobile terminal can send net to media device Network acquisition instruction can broadcast the name for the wireless network that it is currently connected after media device receives the network acquisition instruction Claim, alternatively, the title for the wireless network that it is currently connected can be fed back to mobile terminal by media device, is carried out by mobile terminal Casting.Later, mobile terminal can re-execute above-mentioned steps 502 and the step 504, to re-establish with media device Two communication connections.
Step 505, mobile terminal are interacted by the second communication connection with media device, will be relevant to target home equipment At least one remote control equipment successively matches code with target home equipment.
Wherein, at least one remote control equipment relevant to target home equipment can be under the affiliated brand of target home equipment Remote control equipment, mobile terminal can be interacted by the second communication connection with media device, by least one remote control equipment Key successively matches code with target home equipment.
Optionally, Figure 11 is a kind of method that remote control equipment and target home equipment are matched to code provided by the embodiments of the present application Flow chart, as shown in figure 11, this method may include following sub-step:
Sub-step 5051, mobile terminal obtain the remote control and set for each remote control equipment at least one remote control equipment The infrared code of standby each key.
Optionally, for each key of each remote control equipment at least one remote control equipment, mobile terminal can be to Server sends infrared code acquisition request, which can carry the marking keys of each key, server The infrared code acquisition request is received, obtains the infrared of each key according to the marking keys that the infrared code acquisition request carries Code, and the infrared code acquisition response for carrying the infrared code of each key is sent to mobile terminal, mobile terminal receives and parses through The infrared code obtains response, obtains the infrared code of each key.
Optionally, user can trigger the remote control interface that mobile terminal shows each remote control equipment, which can be with All keys including the remote control equipment, user can click any key, and triggering mobile terminal sends to carry to server and be somebody's turn to do The infrared code acquisition request of the marking keys of key.
Illustratively, Figure 12 is please referred to, it illustrates a kind of remote control interfaces of remote control equipment 1 provided by the embodiments of the present application 660 schematic diagram, as shown in figure 12, the remote control interface 660 can show switch key, refrigerating button, wind speed+key and wind Speed-key etc., user can click switch key, and triggering mobile terminal sends the key mark for carrying switch key to server The infrared code acquisition request known.
Sub-step 5052, mobile terminal send the infrared code of the key to media device.
Mobile terminal can communicate to connect the infrared code that the key of remote control equipment is sent to media device by second.Example Ground, mobile terminal communicate to connect the infrared code that switch key is sent to media device by second.
Sub-step 5053, media device emit infrared signal according to the infrared code of key.
Media device can receive the infrared code of mobile terminal transmission, generate infrared signal according to infrared code, and emitting should Infrared signal, wherein can have infrared module in media device, media device can emit infrared letter by the infrared module Number.Illustratively, media device emits infrared signal according to the infrared code of switch key.
Sub-step 5054, target home equipment make a response for the infrared signal.
Wherein, it can have infrared module in target home equipment, target home equipment can connect by the infrared module The infrared signal that media device is sent is received, and is made a response for the infrared signal.
Illustratively, media device emits infrared signal according to the infrared code of switch key, and target home equipment receives this After infrared signal, opened for infrared signal control target home equipment.
Sub-step 5055, mobile terminal determine the key and target home equipment with code success.
Optionally, after media device emits infrared signal according to the infrared code of a certain key, user can observe mesh Home equipment is marked, when user determines that target home equipment makes a response for the infrared signal, user can operate mobile whole End, mobile terminal determine the key and target home equipment with code success.Certainly, when user determines that target home equipment does not have needle When making a response to the infrared signal, user can operate mobile terminal, and mobile terminal determines the key and target home equipment Fail with code.
Optionally, user can trigger mobile terminal and show with code response interface, should can show with code response interface Response button and without response button, when user determines that target home equipment makes a response for the infrared signal, user can be with Click has response button, so that mobile terminal determines the key and target home equipment with code success;When target home equipment is true When the home equipment that sets the goal is not directed to the infrared signal and makes a response, user can click no response button, and mobile terminal is true The fixed key and target home equipment fail with code.
Illustratively, Figure 13 is please referred to, it illustrates a kind of signals with code response interface 670 provided by the embodiments of the present application Figure as shown in figure 13 should be with response button 671 have been shown in code response interface 670 and without response button 672, when user's point When having hit response button 671, the key and target device that mobile terminal determines remote control equipment are with code success;When mesh user can point When hitting no response button 672, mobile terminal determines that the key of remote control equipment and target device fail with code.
It should be noted that in the embodiment of the present application, mobile terminal can will it is relevant to target home equipment at least One remote control equipment successively matches code with target home equipment, also, for each remote control equipment, and mobile terminal is by the remote control equipment Key successively with target home equipment match code, by the key of each remote control equipment successively with target home equipment match code mistake Cheng Zhong, when a certain key fails with target home equipment with code, mobile terminal can no longer be pressed the residue of the remote control equipment Key and target home equipment match code, but another remote control equipment and target home equipment so can simplify and matched with code Code process.In addition, mobile terminal is in the mistake that the key of remote control equipment and target home equipment are matched to code for each remote control equipment Cheng Zhong, the first key with code is usually switch key, in order to which target home equipment can first turn on, then is set for media The infrared signal for other keys that preparation is penetrated is responded.
Sub-step 5056, when mobile terminal determine remote control equipment all keys and target home equipment with code success when, Determine remote control equipment and target home equipment with code success.
When all keys and target home equipment that mobile terminal determines a certain remote control equipment are with code success, mobile terminal Determine the remote control equipment and target home equipment with code success.
Step 506, mobile terminal match the successful remote control equipment of code with target home equipment at least one remote control equipment Infrared code library, be determined as target home equipment corresponding Infrared Targets code library.
Optionally, mobile terminal can be first successful with code with target home equipment by least one remote control equipment Remote control equipment is determined as target remote control equipment, and the infrared code library of the target remote control equipment is determined as target home equipment pair The Infrared Targets code library answered, in the embodiment of the present application, Infrared Targets code library record have key on target remote control equipment by The corresponding relationship of key mark and infrared code.
The facility information of target home equipment and Infrared Targets code library are uploaded to server by step 507, mobile terminal.
Optionally, the facility information of the available target home equipment of mobile terminal and Infrared Targets code library, and by target The facility information of home equipment and Infrared Targets code library are uploaded to server.Wherein, the facility information of target home equipment can be with It is the device name of target home equipment, which can be what user named target home equipment.In this Shen Please be in embodiment, user can name target home equipment according to the position of target home equipment at home etc., obtain target The device name of home equipment.Illustratively, which can be " bedroom air-conditioning ", " living-room TV " or " washing machine " etc..
Step 508, server receive facility information and the Infrared Targets code library for the target home equipment that mobile terminal uploads.
Step 509, server store in Infrared Targets code library to infrared code library according to the device name of target home equipment Collection.
Wherein, infrared code library collection has been can store in server, infrared code library collection can recorde what server was managed The corresponding relationship of the device identification of all remote control equipments and infrared code library, each device identification can indicate a home equipment, And the corresponding one infrared code library of each device identification.Server can determine target according to the device name of target home equipment The device identification of home equipment stores the device identification of target home equipment and Infrared Targets code library to infrared code library collection.
Illustratively, in the embodiment of the present application, infrared code library collection can be as shown in table 1:
Table 1
As shown in table 1, which records the infrared code library for having device identification ID-A corresponding, device identification ID-B corresponding infrared code library, and, device identification ID-C corresponding infrared code library, device identification ID-A can refer to Show bedroom air-conditioning, the marking keys of the remote control equipment that can be bedroom air-conditioning of the corresponding infrared code library record of device identification ID-A With the corresponding relationship of infrared code, device identification ID-B can indicate living-room TV, the corresponding infrared code library note of device identification ID-B The marking keys of the remote control equipment that can be living-room TV of record and the corresponding relationship of infrared code, device identification ID-C can be indicated Washing machine, the marking keys of the remote control equipment that can be washing machine of the corresponding infrared code library record of device identification ID-C with it is infrared The corresponding relationship of code.
To the voice control command of target home equipment, voice control command, which carries, to be operated for step 510, media device acquisition Indicate the facility information of information and target home equipment.
Wherein, voice acquisition module and speech analysis module be can have in media device, media device can pass through language Sound acquisition module acquires the voice control command to target home equipment, and by speech analysis module to the voice control command It is parsed, obtains the facility information of operation instruction information and target home equipment, which indicates object run, The facility information can be device name.
Illustratively, the voice control command of media device acquisition can be " opening bedroom air-conditioning ", and media device parsing should The facility information " bedroom air-conditioning " of the available operation instruction information of voice control command " opening " and target home equipment, the behaviour Make instruction information " opening " instruction opening operation.
Step 511, media device send code library acquisition request to server, and code library acquisition request carries target home equipment Facility information.
Media device parses after obtaining the facility information of target home equipment, can be believed according to the equipment of target home equipment Generated code library acquisition request is ceased, and sends this yard of library acquisition request to server, this yard of library acquisition request carries target household The facility information of equipment.
Step 512, server receive the code library acquisition request that media device is sent.
Server can receive the code library acquisition request of media device transmission, this yard of library acquisition request carries target household The facility information of equipment.
Step 513, server concentrate acquisition target household to set according to the facility information of target home equipment from infrared code library Standby corresponding Infrared Targets code library.
Server can parse code library acquisition request to obtain the facility information of target home equipment, according to target man The facility information for occupying equipment determines the device identification of target home equipment, according to the device identification of target home equipment, Cong Hong Outer code library, which is concentrated, obtains Infrared Targets code library.
Illustratively, server determines setting for target home equipment according to the facility information " bedroom air-conditioning " of target home equipment Standby mark ID-A obtains Infrared Targets code library according to infrared code library collection shown in device identification ID-A inquiry table 1, and the target is red It outer code library can be as shown in table 2 below:
Table 2
Step 514, server send code library to media device and obtain response, and code library obtains response and carries Infrared Targets code Library.
Wherein, after server obtains Infrared Targets code library, it can be obtained and be responded according to Infrared Targets code library generated code library, and This yard of library is sent to media device and obtains response, this yard of library obtains response and carry Infrared Targets code library.
Step 515, media device receive the code library that server is sent and obtain response.
The code library that media device can receive server transmission obtains response, and parses this yard of library acquisition response and obtain target Infrared code library.
Step 516, media device obtain on target remote control equipment according to operation instruction information from Infrared Targets code library The Infrared Targets code of target key.
The operation instruction information that media device can be carried according to voice control command, determines the mesh on target remote control equipment The marking keys for marking key, according to the marking keys of target key, the target that inquiry Infrared Targets code library obtains target key is red Outer code.Optionally, media device can determine object run according to operation instruction information, determined to execute according to object run and be somebody's turn to do The key is determined as target key, and determines the marking keys of the target key by the key triggered required for object run.
Illustratively, media device determines that object run is opening operation according to operation instruction information " opening ", according to unlatching Operation determines that the key triggered required for executing the opening operation is switch key, switch key is determined as target key, really The marking keys of the target key are determined for ID-A1, and the Infrared Targets code library according to shown in marking keys ID-A1 inquiry table 2, Obtaining Infrared Targets code is A1xxxx.
Step 517, media device control the operation of target home equipment performance objective according to Infrared Targets code.
Optionally, media device can generate infrared signal according to Infrared Targets code, and emit the infrared signal, target man It occupies after equipment receives the infrared signal, the operation of target home equipment performance objective can be controlled according to the infrared signal.Example Ground, media device can generate infrared signal according to Infrared Targets code A1xxxx, and emit the infrared signal, and bedroom air-conditioning is connecing Opening operation is executed after receiving the infrared signal.
It should be noted that the sequencing of home equipment control method step provided by the embodiments of the present application can carry out Appropriate adjustment, step according to circumstances can also accordingly be increased and decreased, and anyone skilled in the art is in the application In the technical scope of exposure, the method that can readily occur in variation should all cover within the scope of protection of this application, therefore no longer It repeats.
In conclusion home equipment control method provided by the embodiments of the present application, media device acquisition sets target household Standby voice control command obtains the Infrared Targets code of the target key on target remote control equipment according to the voice control command, According to the Infrared Targets code, the operation of target home equipment performance objective is controlled.Since media device can carry out home equipment Control facilitates the control mode of abundant home equipment, improves the flexible of control compared to the mode for manually controlling home equipment Property.
Figure 14 is a kind of block diagram of home equipment control device 700 provided by the embodiments of the present application, home equipment control Device 700 can be the program assembly in media device, and as shown in figure 14, which may include:
Acquisition module 701, for acquiring the voice control command to target home equipment;
Module 702 is obtained, for according to voice control command, the target for obtaining the target key on target remote control equipment to be red Outer code, target remote control equipment are the remote control equipment of target home equipment;
Control module 703, for controlling the operation of target home equipment performance objective according to Infrared Targets code.
Optionally, voice control command carries the facility information of operation instruction information and target home equipment, operation instruction Information indicates object run, obtains module 702 and includes:
First acquisition unit obtains the corresponding mesh of target home equipment for the facility information according to target home equipment Infrared code library is marked, Infrared Targets code library record has the marking keys of the key on target remote control equipment are corresponding with infrared code to close System;
Determination unit, for determining the marking keys of target key according to operation instruction information;
Second acquisition unit obtains Infrared Targets from Infrared Targets code library for the marking keys according to target key Code.
Optionally, first acquisition unit is used for:
Code library acquisition request is sent to server, code library acquisition request carries the facility information of target home equipment, service Device is used for the facility information according to target home equipment, obtains Infrared Targets code library, infrared code library collection record from infrared code library collection There is the corresponding infrared code library of different home equipments;
It receives the code library that server is sent and obtains response, code library obtains response and carries Infrared Targets code library.
Optionally, please continue to refer to Figure 14, the home equipment control device 700 further include:
Receiving module 704, for for each remote control at least one remote control equipment relevant to target home equipment Equipment receives the infrared code of each key for the remote control equipment that mobile terminal is sent;
Transmitting module 705, for emitting infrared signal according to the infrared code of key, mobile terminal is used for when determining target man When occupying equipment and making a response for infrared signal, key and target home equipment are determined with code success, when owning for remote control equipment When key and target home equipment are with code success, determine that remote control equipment and target home equipment, will be with target households with code success Equipment is determined as Infrared Targets code library with the infrared code library of the successful remote control equipment of code and is uploaded to server.
In conclusion home equipment control device provided by the embodiments of the present application, acquisition module acquisition sets target household After standby voice control command, module is obtained according to the voice control command, obtains the target key on target remote control equipment Infrared Targets code, control module controls the operation of target home equipment performance objective according to the Infrared Targets code.Since media are set It is standby home equipment to be controlled, compared to the mode for manually controlling home equipment, facilitate the control of abundant home equipment Mode processed improves the flexibility of control.
Figure 15 is the block diagram of another home equipment control device 800 provided by the embodiments of the present application, the home equipment control Device 800 processed can be the program assembly in server, and as shown in figure 15, which may include:
Receiving module 801, for receiving the code library acquisition request of media device transmission, code library acquisition request is media device After collecting the voice control command to target home equipment, according to the equipment for the target home equipment that voice control command carries What information was sent, code library acquisition request carries the facility information of target home equipment;
Module 802 is obtained, for the facility information according to target home equipment, is concentrated from infrared code library and obtains target household Equipment corresponding Infrared Targets code library, infrared code library collection is for recording the corresponding infrared code library of different home equipments, Infrared Targets Code library record has the marking keys of the key on target remote control equipment and the corresponding relationship of infrared code, and target remote control equipment is target The remote control equipment of home equipment;
Sending module 803 obtains response for sending code library to media device, and code library obtains response and carries Infrared Targets code Library, media device are used for the operation instruction information that carries according to voice control command, determine target on target remote control equipment by The marking keys of key obtain the Infrared Targets code of target key according to the marking keys of target key from Infrared Targets code library, And according to Infrared Targets code, the operation of target home equipment performance objective is controlled.
Optionally, module 803 is obtained to be used for:
According to the device name of target home equipment, the device identification of target home equipment is determined;
According to the device identification of target home equipment, is concentrated from infrared code library and obtain Infrared Targets code library.
In conclusion home equipment control device provided by the embodiments of the present application, receiving module receives media device and sends Code library acquisition request after, obtain the facility information of target home equipment that module is carried according to this yard of library acquisition request, from Infrared code library, which is concentrated, obtains target home equipment corresponding Infrared Targets code library, and sending module sends code library to media device and carries The acquisition in the Infrared Targets code library responds, and media device can obtain target from Infrared Targets code library according to voice control command The Infrared Targets code of key, and according to Infrared Targets code, control the operation of target home equipment performance objective.Since media device can To control home equipment, compared to the mode for manually controlling home equipment, facilitate the controlling party of abundant home equipment Formula improves the flexibility of control.
Figure 16 is the block diagram of another home equipment control device 900 provided by the embodiments of the present application, the home equipment control Device 900 processed can be the program assembly in mobile terminal, and as shown in figure 16, which may include:
With code module 901, it is used for by being interacted with media device, it will at least one remote control relevant to target home equipment Equipment successively matches code with target home equipment;
Determining module 902, for matching the successful remote control equipment of code with target home equipment at least one remote control equipment Infrared code library, be determined as target home equipment corresponding Infrared Targets code library;
Uploading module 903 takes for the facility information of target home equipment and Infrared Targets code library to be uploaded to server Business device is for storing in Infrared Targets code library to infrared code library collection, when receiving the code library acquisition request of media device transmission, According to the facility information for the target home equipment that code library acquisition request carries, is concentrated from infrared code library and obtains Infrared Targets code library, And the code library acquisition response for carrying Infrared Targets code library is sent to media device.
Wherein, media device can be when receiving voice control command, according to voice control command from Infrared Targets code The Infrared Targets code of target key is obtained in library, and according to Infrared Targets code, controls the operation of target home equipment performance objective.
Optionally, facility information is device name, infrared code library collection be used to record the device identifications of different home equipments with The corresponding relationship in infrared code library, uploading module 903 are also used to: the device identification of target home equipment being uploaded to server, is taken Business device is set for storing the device identification of target home equipment and Infrared Targets code library to infrared code library collection receiving media When the code library acquisition request that preparation is sent, according to the device name for the target home equipment that code library acquisition request carries, target is determined The device identification of home equipment concentrates from infrared code library according to the device identification of target home equipment and obtains target home equipment Corresponding Infrared Targets code library.
Optionally, it is used for code module 901:
For each remote control equipment at least one remote control equipment, the infrared code of each key of remote control equipment is obtained;
The infrared code of key is sent to media device, media device is used to emit infrared signal according to the infrared code of key;
When determining that target home equipment makes a response for infrared signal, determine key and target home equipment with code at Function;
When all keys and target home equipment for determining remote control equipment are with code success, remote control equipment and target man are determined Equipment is occupied with code success.
In conclusion home equipment control device provided by the embodiments of the present application, it will be with target home equipment with code module For at least one relevant remote control equipment successively with target home equipment with after code, determining module will match code with target home equipment The infrared code library of successful remote control equipment is determined as target home equipment corresponding Infrared Targets code library, and uploading module is by target man The facility information and Infrared Targets code library for occupying equipment are uploaded to server, and server can store in Infrared Targets code library to infrared Code library collection is set when receiving the code library acquisition request of media device transmission according to the target household that code library acquisition request carries Standby facility information is concentrated from infrared code library obtains Infrared Targets code library, and sends to media device and carry Infrared Targets code library Code library obtains response, and media device obtains the Infrared Targets of target key according to voice control command from Infrared Targets code library Code, and according to Infrared Targets code, control the operation of target home equipment performance objective.Due to media device can to home equipment into Row control facilitates the control mode of abundant home equipment, improves the spirit of control compared to the mode for manually controlling home equipment Activity.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
The embodiment of the present application provides a kind of home equipment control device, comprising: processor and memory,
Memory, for storing computer program;
Processor is realized for executing the computer program stored on memory as Fig. 2 to Fig. 5 and Figure 11 is any The method.
Figure 17 is a kind of structural schematic diagram of home equipment control device 1000 provided by the embodiments of the present application.The household is set Standby control device 1000 can be media device or mobile terminal, and media device can be intelligent sound box, and mobile terminal can be (Moving Picture Experts Group Audio Layer IV, dynamic image are special by smart phone, tablet computer, MP4 Family's compression standard audio level 4) player, laptop or desktop computer, mobile terminal be also possible to referred to as user equipment, Portable terminal or laptop terminal etc..
In general, home equipment control device 1000 includes: processor 1001 and memory 1002.
Processor 1001 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place Reason device 1001 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed Logic array) at least one of example, in hardware realize.Processor 1001 also may include primary processor and coprocessor, master Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.When When home equipment control device 1000 is mobile terminal, in some embodiments, processor 1001 can integrate GPU (Graphics Processing Unit, image processor), GPU are used to be responsible for the rendering of content to be shown needed for display screen And drafting.In further embodiments, processor 1001 can also include AI (Artificial Intelligence, artificial intelligence Can) processor, AI processor is for handling the calculating operation in relation to machine learning.
Memory 1002 may include one or more computer readable storage mediums, which can To be non-transient.Memory 1002 can also be including high-speed random access memory and nonvolatile memory, such as one A or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1002 Readable storage medium storing program for executing is for storing at least one instruction, at least one instruction is for being executed by processor 1001 to realize the application The home equipment control method that embodiment provides.
In some embodiments, home equipment control device 1000 is also optional includes: peripheral device interface 1003 and extremely A few peripheral equipment.Bus or signal can be passed through between processor 1001, memory 1002 and peripheral device interface 1003 Line is connected.Each peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1003.Specifically, When household plant control unit 1000 is mobile terminal, peripheral equipment includes: radio circuit 1004, display screen 1005, camera shooting At least one of head assembly 1006, voicefrequency circuit 1007, positioning component 1008 or power supply 1009, when household plant control unit 1000 when being media device, and peripheral equipment includes at least one of radio circuit 1004, voicefrequency circuit 1007 or power supply 1009.
Peripheral device interface 1003 can be used for I/O (Input/Output, input/output) is relevant outside at least one Peripheral equipment is connected to processor 1001 and memory 1002.In some embodiments, processor 1001, memory 1002 and periphery Equipment interface 1003 is integrated on same chip or circuit board;In some other embodiments, processor 1001, memory 1002 and peripheral device interface 1003 in any one or two can be realized on individual chip or circuit board, this implementation Example is not limited this.
Radio circuit 1004 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal. Radio circuit 1004 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1004 is by telecommunications Number being converted to electromagnetic signal is transmitted, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 1004 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution Code chipset, user identity module card etc..Radio circuit 1004 can by least one wireless communication protocol come with it is other Terminal is communicated.The wireless communication protocol includes but is not limited to: WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some implementations In example, radio circuit 1004 can also include that NFC (Near Field Communication, wireless near field communication) is related Circuit, the application are not limited this.
Display screen 1005 is for showing UI (User Interface, user interface).The UI may include figure, text, Icon, video and its their any combination.When display screen 1005 is touch display screen, display screen 1005 also there is acquisition to exist The ability of the touch signal on the surface or surface of display screen 1005.The touch signal can be used as control signal and be input to place Reason device 1001 is handled.At this point, display screen 1005 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press Button and/or soft keyboard.In some embodiments, display screen 1005 can be one, setting home equipment control device 1000 Front panel;In further embodiments, display screen 1005 can be at least two, be separately positioned on home equipment control device 1000 different surfaces are in foldover design;In further embodiments, display screen 1005 can be flexible display screen, and setting exists On the curved surface of home equipment control device 1000 or on fold plane.Even, display screen 1005 can also be arranged to non-rectangle Irregular figure, namely abnormity screen.Display screen 1005 can (Organic Light-Emitting Diode, has for OLED Machine light emitting diode) display screen.
CCD camera assembly 1006 is for acquiring image or video.Optionally, CCD camera assembly 1006 includes front camera And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.In In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle Shooting function.In some embodiments, CCD camera assembly 1006 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for Light compensation under different-colour.
Voicefrequency circuit 1007 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and It converts sound waves into electric signal and is input to processor 1001 and handled, or be input to radio circuit 1004 to realize that voice is logical Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on home equipment control device 1000 to be multiple Different parts.Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used for will be from processing The electric signal of device 1001 or radio circuit 1004 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to Piezoelectric ceramic loudspeaker.When loudspeaker is piezoelectric ceramic loudspeaker, it is audible can not only to convert electrical signals to the mankind Sound wave can also convert electrical signals to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, audio Circuit 507 can also include earphone jack.
Positioning component 508 is used to position the current geographic position of home equipment control device 1000, to realize navigation or LBS (Location Based Service, location based service).Positioning component 1008 can be the GPS based on the U.S. The Galileo system of the dipper system or Russia of (Global Positioning System, global positioning system), China Positioning component.
Power supply 1009 is used to be powered for the various components in home equipment control device 1000.Power supply 1009 can be Alternating current, direct current, disposable battery or rechargeable battery.When power supply 1009 includes rechargeable battery, the rechargeable battery It can be wired charging battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, wireless charging Battery is the battery to be charged by wireless coil.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, home equipment control device 1000 further includes having one or more sensors 1010.This one A or multiple sensors 1010 include but is not limited to acceleration transducer 1011, gyro sensor 1012, pressure sensor 1013, fingerprint sensor 1014, optical sensor 1015 and proximity sensor 1016.
Acceleration transducer 1011 can detecte three coordinates of the coordinate system established with home equipment control device 1000 Acceleration magnitude on axis.For example, acceleration transducer 1011 can be used for detecting acceleration of gravity in three reference axis Component.The acceleration of gravity signal that processor 1001 can be acquired according to acceleration transducer 1011, controls touch display screen 1005 carry out the display of user interface with transverse views or longitudinal view.Acceleration transducer 1011 can be also used for game or The acquisition of the exercise data of user.
Gyro sensor 1012 can detecte body direction and the rotational angle of home equipment control device 1000, gyro Instrument sensor 1012 can cooperate with acquisition user to act the 3D of home equipment control device 1000 with acceleration transducer 1011. The data that processor 1001 is acquired according to gyro sensor 1012, may be implemented following function: action induction (such as according to The tilt operation at family changes UI), shooting when image stabilization, game control and inertial navigation.
The side frame and/or touch display screen in household plant control unit 1000 can be set in pressure sensor 1013 1005 lower layer.When the side frame of household plant control unit 1000 is arranged in pressure sensor 1013, user can detecte To the gripping signal of home equipment control device 1000, the gripping signal acquired by processor 1001 according to pressure sensor 1013 Carry out right-hand man's identification or prompt operation.When the lower layer of touch display screen 1005 is arranged in pressure sensor 1013, by handling For device 1001 according to user to the pressure operation of touch display screen 1005, the operability control on the interface UI is controlled in realization System.Operability control includes at least one of button control, scroll bar control, icon control, menu control.
Fingerprint sensor 1014 is used to acquire the fingerprint of user, is collected by processor 1001 according to fingerprint sensor 1014 Fingerprint recognition user identity, alternatively, by fingerprint sensor 1014 according to the identity of collected fingerprint recognition user.Knowing Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1001, which grasps Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1014 can be set Set the front, the back side or side of home equipment control device 1000.When be provided on household plant control unit 1000 physics by Key or when manufacturer Logo, fingerprint sensor 1014 can be integrated with physical button or manufacturer Logo.
Optical sensor 1015 is for acquiring ambient light intensity.In one embodiment, processor 1001 can be according to light The ambient light intensity that sensor 1015 acquires is learned, the display brightness of touch display screen 1005 is controlled.Specifically, work as ambient light intensity When higher, the display brightness of touch display screen 1005 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1005 is turned down Show brightness.In another embodiment, the ambient light intensity that processor 1001 can also be acquired according to optical sensor 1015, is moved The acquisition parameters of state adjustment CCD camera assembly 506.
Proximity sensor 1016, also referred to as range sensor are generally arranged at the front panel of home equipment control device 1000. Proximity sensor 1016 is used to acquire the distance between the front of user Yu home equipment control device 1000.In one embodiment In, when proximity sensor 1016 detects that the distance between user and the front of home equipment control device 1000 gradually become smaller When, touch display screen 1005 is controlled by processor 1001 and is switched to breath screen state from bright screen state;When proximity sensor 1016 is examined When measuring the distance between the front of user and home equipment control device 1000 and becoming larger, is controlled and touched by processor 1001 Display screen 1005 is switched to bright screen state from breath screen state.
It will be understood by those skilled in the art that structure shown in Figure 17 is not constituted to home equipment control device 1000 Restriction, may include perhaps combining certain components than illustrating more or fewer components or using different component cloth It sets.
The embodiment of the present application also provides a kind of home equipment control device, which can be used for figure Any server in distributed memory system shown in 10.Illustratively, as shown in figure 18, the home equipment control device 1100 Including central processing unit (CPU) 1101, include random access memory (RAM) 1102 and read-only memory (ROM) 1103 System storage 1104, and the system bus 1105 of connection system storage 1104 and central processing unit 1101.Household is set Standby control device 1100 further includes the basic input/output (I/O that information is transmitted between each device helped in computer System) 1106, and massive store for storage program area 1113, application program 1114 and other program modules 1115 sets Standby 1107.
Basic input/output 1106 includes display 1108 for showing information and inputs information for user Such as mouse, keyboard etc input equipment 1109.Wherein display 1108 and input equipment 1109 are all by being connected to The input and output controller 1110 of system bus 1105 is connected to central processing unit 1101.Basic input/output 1106 is also May include input and output controller 1110 with for receive and handle from keyboard, mouse or electronic touch pen etc. it is multiple its The input of his equipment.Similarly, input and output controller 1110 also provides output to display screen, printer or other kinds of defeated Equipment out.
Mass-memory unit 1107 is connected by being connected to the bulk memory controller (not shown) of system bus 1105 It is connected to central processing unit 1101.Mass-memory unit 1107 and its associated computer-readable medium are home equipment control Device 1100 processed provides non-volatile memories.That is, mass-memory unit 1107 may include such as hard disk or CD- The computer-readable medium (not shown) of ROM drive etc.
Without loss of generality, computer readable storage medium may include computer storage media and communication media.Computer Storage medium includes information such as computer readable instructions, data structure, program module or other data for storage The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that computer storage medium not office It is limited to above-mentioned several.Above-mentioned system storage 1104 and mass-memory unit 1107 may be collectively referred to as memory.
According to the various embodiments of the application, home equipment control device 1100 can also pass through the networks such as internet The remote computer operation being connected on network.Namely home equipment control device 1100 can be by being connected to system bus Network Interface Unit 1111 on 1105 is connected to network 1112, in other words, Network Interface Unit 1111 can be used also to connect It is connected to other kinds of network or remote computer system (not shown).
Above-mentioned memory further includes one, and perhaps more than one program one or more than one program are stored in storage In device, it is configured to be executed by CPU, to realize the home equipment control provided by the embodiments of the present application for home equipment control device Method processed.
Based on same inventive concept, the embodiment of the present application provides a kind of storage medium, when in the storage medium When program is executed by processor, the method as described in Fig. 2 to Fig. 5 and Figure 11 is any can be realized.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
In this application, term " first " and " second " are used for description purposes only, and are not understood to indicate or imply phase To importance.Term " multiple " refers to two or more, unless otherwise restricted clearly.
Term "and/or" in the application, only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds Relationship, for example, M and/or N, can indicate: individualism M exists simultaneously M and N, these three situations of individualism N.In addition, this Character "/" in text typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The foregoing is merely the alternative embodiments of the application, not to limit the application, all designs in the application and Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (12)

1. a kind of home equipment control method, which is characterized in that be used for media device, which comprises
Acquire the voice control command to target home equipment;
According to the voice control command, the Infrared Targets code of the target key on target remote control equipment is obtained, the target is distant Control the remote control equipment that equipment is the target home equipment;
According to the Infrared Targets code, the target home equipment performance objective operation is controlled.
2. the method according to claim 1, wherein
The voice control command carries the facility information of operation instruction information and the target home equipment, the operation instruction Information indicates the object run,
It is described according to the voice control command, obtain the Infrared Targets code of the target key on target remote control equipment, comprising:
According to the facility information of the target home equipment, target home equipment corresponding Infrared Targets code library, institute are obtained State the corresponding relationship that Infrared Targets code library records the marking keys and infrared code that have the key on the target remote control equipment;
According to the operation instruction information, the marking keys of the target key are determined;
According to the marking keys of the target key, the Infrared Targets code is obtained from Infrared Targets code library.
3. according to the method described in claim 2, it is characterized in that,
The facility information according to the target home equipment obtains the corresponding Infrared Targets code of the target home equipment Library, comprising:
Code library acquisition request is sent to server, code library acquisition request carries the facility information of the target home equipment, The server is used for the facility information according to the target home equipment, obtains the Infrared Targets code from infrared code library collection Library, infrared code library collection record have the corresponding infrared code library of different home equipments;
It receives the code library that the server is sent and obtains response, the code library obtains response and carries the Infrared Targets code Library.
4. according to the method described in claim 3, it is characterized in that,
In the facility information according to the target home equipment, obtain target home equipment corresponding Infrared Targets code library it Before, the method also includes:
For each remote control equipment at least one remote control equipment relevant to the target home equipment, mobile terminal is received The infrared code of each key of the remote control equipment sent;
Emit infrared signal according to the infrared code of the key, the mobile terminal is used for when the determining target home equipment needle When making a response to the infrared signal, the key and the target home equipment are determined with code success, when the remote control is set When standby all keys and the target home equipment are with code success, determine that the remote control equipment is matched with the target home equipment Code success will be determined as Infrared Targets code library with the infrared code library of the successful remote control equipment of code with the target home equipment It is uploaded to the server.
5. a kind of home equipment control method, which is characterized in that be used for server, which comprises
The code library acquisition request that media device is sent is received, code library acquisition request is that the media device is collected to target After the voice control command of home equipment, according to the facility information for the target home equipment that the voice control command carries It sends, code library acquisition request carries the facility information of the target home equipment;
According to the facility information of the target home equipment, is concentrated from infrared code library and obtain the corresponding mesh of the target home equipment Mark infrared code library, the infrared code library collection is for recording the corresponding infrared code library of different home equipments, Infrared Targets code library Record has the marking keys of the key on target remote control equipment and the corresponding relationship of infrared code, and the target remote control equipment is described The remote control equipment of target home equipment;
Code library is sent to the media device and obtains response, and the code library obtains response and carries Infrared Targets code library, described Media device is used for the operation instruction information carried according to the voice control command, determines the mesh on the target remote control equipment The marking keys of mark key obtain the target from Infrared Targets code library according to the marking keys of the target key The Infrared Targets code of key, and according to the Infrared Targets code, control the target home equipment performance objective operation.
6. according to the method described in claim 5, it is characterized in that,
The facility information is device name, the infrared code library collection be used to record the device identifications of different home equipments with it is infrared The corresponding relationship in code library,
The facility information according to the target home equipment concentrates the acquisition target home equipment corresponding from infrared code library Infrared Targets code library, comprising:
According to the device name of the target home equipment, the device identification of the target home equipment is determined;
According to the device identification of the target home equipment, is concentrated from the infrared code library and obtain Infrared Targets code library.
7. a kind of home equipment control method, which is characterized in that be used for mobile terminal, which comprises
By being interacted with media device, will at least one remote control equipment relevant to target home equipment successively with the target man Equipment is occupied with code;
By at least one described remote control equipment, the infrared code library of the successful remote control equipment of code is matched with the target home equipment, It is determined as target home equipment corresponding Infrared Targets code library;
The facility information of the target home equipment and Infrared Targets code library are uploaded to server, the server is used for Infrared Targets code library is stored to infrared code library collection, when receiving the code library acquisition request that the media device is sent, According to the facility information for the target home equipment that code library acquisition request carries, is concentrated from the infrared code library and obtain institute Infrared Targets code library is stated, and sends the code library acquisition response for carrying Infrared Targets code library to the media device.
8. the method according to the description of claim 7 is characterized in that
The facility information is device name, the infrared code library collection be used to record the device identifications of different home equipments with it is infrared The corresponding relationship in code library, the method also includes:
The device identification of the target home equipment is uploaded to the server, the server is used for the target household The device identification of equipment and Infrared Targets code library are stored to the infrared code library collection, are sent receiving the media device Code library acquisition request when, according to code library acquisition request carry the target home equipment device name, determine institute The device identification for stating target home equipment is concentrated from the infrared code library and is obtained according to the device identification of the target home equipment Take the corresponding Infrared Targets code library of the target home equipment.
9. method according to claim 7 or 8, which is characterized in that
It is described by being interacted with media device, will at least one remote control equipment relevant to target home equipment successively with the mesh It marks home equipment and matches code, comprising:
For each remote control equipment at least one described remote control equipment, the infrared of each key of the remote control equipment is obtained Code;
The infrared code of the key is sent to the media device, the media device is used to send out according to the infrared code of the key Penetrate infrared signal;
When determining that the target home equipment makes a response for the infrared signal, the key and the target man are determined Equipment is occupied with code success;
When all keys and the target home equipment for determining the remote control equipment are with code success, the remote control equipment is determined With the target home equipment with code success.
10. a kind of home equipment control device, which is characterized in that described device includes requiring 1 to 9 any institute for perform claim The modules for the home equipment control method stated.
11. a kind of home equipment control device characterized by comprising processor and memory,
The memory, for storing computer program;
The processor realizes any institute of claim 1 to 9 for executing the computer program stored on the memory The home equipment control method stated.
12. a kind of storage medium, which is characterized in that when the program in the storage medium is executed by processor, can be realized Any home equipment control method of claim 1 to 9.
CN201910829566.8A 2019-09-03 2019-09-03 Home equipment control method and device, storage medium Pending CN110519134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910829566.8A CN110519134A (en) 2019-09-03 2019-09-03 Home equipment control method and device, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910829566.8A CN110519134A (en) 2019-09-03 2019-09-03 Home equipment control method and device, storage medium

Publications (1)

Publication Number Publication Date
CN110519134A true CN110519134A (en) 2019-11-29

Family

ID=68630641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910829566.8A Pending CN110519134A (en) 2019-09-03 2019-09-03 Home equipment control method and device, storage medium

Country Status (1)

Country Link
CN (1) CN110519134A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885344A (en) * 2020-06-19 2020-11-03 西安万像电子科技有限公司 Data transmission method, equipment and system
CN111915870A (en) * 2020-07-30 2020-11-10 深圳创维-Rgb电子有限公司 Method and device for adding remote controller code value through voice, television and storage medium
CN112882641A (en) * 2021-03-17 2021-06-01 北京小米移动软件有限公司 Method, device, terminal equipment, server, mouse and medium
CN114023058A (en) * 2021-10-08 2022-02-08 中移(杭州)信息技术有限公司 Remote control method, device, system, equipment and storage medium based on Bluetooth broadcast
WO2023207171A1 (en) * 2022-04-24 2023-11-02 青岛海信智慧生活科技股份有限公司 Home device control method, home device, and smart cooking method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106781422A (en) * 2016-12-22 2017-05-31 中山市西雅斯智能家电有限公司 A kind of household electric appliances telecontrol management system
CN107888462A (en) * 2017-10-26 2018-04-06 成都常明信息技术有限公司 A kind of voice assistant for realizing traditional home intelligence
CN108022592A (en) * 2018-01-17 2018-05-11 深圳市沃特沃德股份有限公司 Voice remote control method and device
CN110109365A (en) * 2019-04-24 2019-08-09 平安科技(深圳)有限公司 Speaker control method, device and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106781422A (en) * 2016-12-22 2017-05-31 中山市西雅斯智能家电有限公司 A kind of household electric appliances telecontrol management system
CN107888462A (en) * 2017-10-26 2018-04-06 成都常明信息技术有限公司 A kind of voice assistant for realizing traditional home intelligence
CN108022592A (en) * 2018-01-17 2018-05-11 深圳市沃特沃德股份有限公司 Voice remote control method and device
CN110109365A (en) * 2019-04-24 2019-08-09 平安科技(深圳)有限公司 Speaker control method, device and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885344A (en) * 2020-06-19 2020-11-03 西安万像电子科技有限公司 Data transmission method, equipment and system
CN111915870A (en) * 2020-07-30 2020-11-10 深圳创维-Rgb电子有限公司 Method and device for adding remote controller code value through voice, television and storage medium
CN112882641A (en) * 2021-03-17 2021-06-01 北京小米移动软件有限公司 Method, device, terminal equipment, server, mouse and medium
CN114023058A (en) * 2021-10-08 2022-02-08 中移(杭州)信息技术有限公司 Remote control method, device, system, equipment and storage medium based on Bluetooth broadcast
WO2023207171A1 (en) * 2022-04-24 2023-11-02 青岛海信智慧生活科技股份有限公司 Home device control method, home device, and smart cooking method

Similar Documents

Publication Publication Date Title
CN108810576B (en) Live wheat-connecting method and device and storage medium
CN110519134A (en) Home equipment control method and device, storage medium
CN108888959B (en) Team forming method and device in virtual scene, computer equipment and storage medium
CN110495819B (en) Robot control method, robot, terminal, server and control system
CN104077095B (en) Message processing device
CN109982102A (en) The interface display method and system and direct broadcast server of direct broadcasting room and main broadcaster end
WO2019128592A1 (en) Method and apparatus for live broadcasting
CN110865754B (en) Information display method and device and terminal
CN109905318A (en) Apparatus control method, device and storage medium
CN111327953B (en) Live broadcast voting method and device and storage medium
CN112118477B (en) Virtual gift display method, device, equipment and storage medium
CN109618212A (en) Information display method, device, terminal and storage medium
CN109656930A (en) Data query method, apparatus and system
CN110102063B (en) Identification binding method, device, terminal, server and storage medium
CN110932963A (en) Multimedia resource sharing method, system, device, terminal, server and medium
CN107896337A (en) Information popularization method, apparatus and storage medium
CN108831513A (en) Method, terminal, server and the system of recording audio data
CN110392375B (en) WiFi network channel modification method, terminal, server and storage medium
CN111669640B (en) Virtual article transfer special effect display method, device, terminal and storage medium
CN111628925A (en) Song interaction method and device, terminal and storage medium
CN109618192B (en) Method, device, system and storage medium for playing video
CN111402844A (en) Song chorusing method, device and system
CN108055349B (en) Method, device and system for recommending K song audio
CN108495183B (en) Method and device for displaying album information
CN111399796B (en) Voice message aggregation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20191129

RJ01 Rejection of invention patent application after publication