Intelligent equipment control method and device and electronic equipment
Collect and recognize speech through wireless headsets, determine the target smart device and control instructions, and send control instructions to the target smart device. This solves the problem that existing wireless headsets require manual operation by the user when switching audio playback, and realizes efficient voice control of smart devices. audio playback.
Patent Information
- Application Number
- CN202310904596.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-21
- Publication Date
- 2025-01-21
AI Technical Summary
When switching audio playback, existing wireless headphones require users to operate and process on smart devices, which is long and has poor efficiency.
Collect and recognize speech through wireless headsets, determine the target smart device and control instructions, and send control instructions to the target smart device to perform corresponding operations.
It realizes voice control of smart devices for audio playback and other operations, avoiding users from performing operations on smart devices, shortening the time and improving the control efficiency of smart devices.
Smart Images

Figure CN119341855A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of intelligent device control, and in particular to an intelligent device control method, device and electronic device. Background Art
[0002] At present, wireless earphones are mainly adapted to smart devices through Bluetooth technology. When the wireless earphones are adapted to the smart device, the wireless earphones receive the audio sent by the smart device through Bluetooth and play the audio.
[0003] In the above solution, the wireless headset only has an audio playback function. When the audio to be played needs to be switched, the subject needs to perform operations on the adapted smart device, which takes a long time and has low efficiency. Summary of the invention
[0004] The present disclosure provides a smart device control method, device and electronic device.
[0005] According to a first aspect of an embodiment of the present disclosure, a smart device control method is provided, the method comprising: acquiring voice collected by a wireless headset and recognition content corresponding to the voice; the wireless headset is connected to at least one smart device via WIFI; according to the recognition content and a control instruction set corresponding to the wireless headset, a target smart device and a target control instruction among smart devices connected to the wireless headset via WIFI are determined; the control instruction set includes a correspondence between the control instructions and content of the smart device; and the target control instruction is sent to the target smart device to instruct the target smart device to execute the target control instruction, or to instruct the target smart device to select a device to execute the target control instruction.
[0006] In one embodiment of the present disclosure, the smart device includes at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway.
[0007] In one embodiment of the present disclosure, the acquiring of speech collected by the wireless headset and the recognition content corresponding to the speech includes: acquiring the encoded speech sent by the wireless headset via WIFI communication; decoding the encoded speech to acquire the speech; and performing speech recognition processing on the speech to obtain the recognition content corresponding to the speech.
[0008] In one embodiment of the present disclosure, determining a target smart device among smart devices connected to the wireless headset via WIFI and a target control instruction according to the identification content and a control instruction set corresponding to the wireless headset includes: parsing the identification content to obtain control content and a device identifier in the identification content; determining a smart device among smart devices connected to the wireless headset via WIFI that matches the device identifier as the target smart device; and querying the control instruction set according to the control content to obtain a target control instruction corresponding to the control content.
[0009] In one embodiment of the present disclosure, the control instruction set corresponding to the wireless headset includes at least one of the following control instructions: playback control instructions, navigation control instructions, sports and health control instructions, smart home device control instructions, and alarm setting instructions; different smart devices are set with different control instructions.
[0010] In one embodiment of the present disclosure, the target smart device is a smart home platform; the way in which the smart home platform processes the target control instruction includes: selecting a target smart home device from multiple smart home devices connected to the smart home platform according to the target control instruction; and sending the target control instruction to the target smart home device to instruct the target smart home device to execute the target control instruction.
[0011] In one embodiment of the present disclosure, the target control instruction is a playback control instruction, and the method further includes: receiving an audio and video acquisition request from the target smart device, the audio and video acquisition request carrying an audio and video identifier of the audio and video to be played; querying an audio and video database according to the audio and video identifier to obtain audio and video resources corresponding to the audio and video identifier; and sending the audio and video resources to the target smart device to instruct the target smart device to play the audio and video resources through the wireless headset.
[0012] According to the second aspect of the embodiment of the present disclosure, a smart device control method is also provided, the method comprising: sending encoded voice to a cloud server via WIFI communication; the encoded voice is used to indicate a target smart device among smart devices connected to the wireless headset via WIFI, and a target control instruction; obtaining audio and video resources returned by the target smart device according to the target control instruction; and playing the audio and video resources.
[0013] In one embodiment of the present disclosure, the obtaining of the audio and video resources returned by the target smart device according to the target control instruction includes: obtaining the encoded audio and video resources returned by the target smart device through a WIFI connection according to the target control instruction; decoding the encoded audio and video resources to obtain the audio and video resources.
[0014] In one embodiment of the present disclosure, the smart device includes at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway.
[0015] In one embodiment of the present disclosure, the target control instruction is any one of the following control instructions: playback control instruction, navigation control instruction, sports and health control instruction, smart home device control instruction, alarm setting instruction; different smart devices are set with different control instructions.
[0016] According to the third aspect of the embodiment of the present disclosure, a smart device control method is also provided, the method comprising: receiving a target control instruction sent by a cloud server; the target control instruction is determined by the cloud server based on voice collected by the wireless headset, and is used to control a target smart device among smart devices connected to the wireless headset via WIFI; executing the target control instruction, or selecting a device to execute the target control instruction.
[0017] In one embodiment of the present disclosure, the smart device includes at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway.
[0018] In one embodiment of the present disclosure, the target control instruction is any one of the following control instructions: playback control instruction, navigation control instruction, sports and health control instruction, smart home device control instruction, alarm setting instruction; different smart devices are set with different control instructions.
[0019] In one embodiment of the present disclosure, the target smart device is a smart home platform; the selecting device to execute the target control instruction includes: selecting a target smart home device from a plurality of smart home devices connected to the smart home platform according to the target control instruction; and sending the target control instruction to the target smart home device to instruct the target smart home device to execute the target control instruction.
[0020] In one embodiment of the present disclosure, the target control instruction is a playback control instruction, and the method further includes: sending an audio and video acquisition request to the cloud server, wherein the audio and video acquisition request carries the audio and video identifier of the audio and video to be played; receiving the audio and video resources returned by the cloud server; and sending the audio and video resources to the wireless headset to instruct the wireless headset to play the audio and video resources.
[0021] According to a fourth aspect of an embodiment of the present disclosure, a smart device control device is also provided, the device comprising: an acquisition module, used to acquire voice collected by a wireless headset, and recognition content corresponding to the voice; the wireless headset is connected to at least one smart device via WIFI; a determination module, used to determine a target smart device and a target control instruction among smart devices connected to the wireless headset via WIFI according to the recognition content and a control instruction set corresponding to the wireless headset; the control instruction set includes a correspondence between the control instructions and content of the smart device; a sending module, used to send the target control instruction to the target smart device, used to instruct the target smart device to execute the target control instruction, or to instruct the target smart device to select a device to execute the target control instruction.
[0022] According to the fifth aspect of the embodiment of the present disclosure, a smart device control device is also provided, which includes: a sending module for sending encoded voice to a cloud server via WIFI communication; the encoded voice is used to indicate a target smart device among smart devices connected to the wireless headset via WIFI, and a target control instruction; an acquisition module for acquiring audio and video resources returned by the target smart device according to the target control instruction; and a playing module for playing the audio and video resources.
[0023] According to the sixth aspect of the embodiment of the present disclosure, a smart device control device is also provided, which includes: a receiving module, used to receive a target control instruction sent by a cloud server; the target control instruction is determined by the cloud server based on the voice collected by the wireless headset, and is used to control a target smart device among the smart devices connected to the wireless headset via WIFI; an execution module, used to execute the target control instruction, or to select a device to execute the target control instruction.
[0024] According to the seventh aspect of the embodiments of the present disclosure, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to: implement the steps of the smart device control method as described above.
[0025] According to an eighth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor, the processor is enabled to execute the smart device control method as described above.
[0026] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0027] The method comprises the following steps: acquiring voice collected by a wireless headset and recognition content corresponding to the voice; connecting the wireless headset to at least one smart device via WIFI; determining a target smart device among smart devices connected to the wireless headset via WIFI and a target control instruction according to the recognition content and a control instruction set corresponding to the wireless headset; including a correspondence between the control instructions of the smart device and the content in the control instruction set; sending a control instruction to the target smart device to instruct the target smart device to execute the control instruction, or instructing the target smart device to select a device to execute the control instruction, thereby enabling voice control of the smart device for audio playback, etc., to be achieved through the wireless headset, thereby avoiding the object from performing operations on the smart device, shortening the time, and improving the control efficiency of the smart device.
[0028] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0030] Figure 1 This is a flow chart of a smart device control method according to an embodiment of the present disclosure;
[0031] Figure 2 A flowchart of a smart device control method according to another embodiment of the present disclosure;
[0032] Figure 3 A flowchart of a smart device control method according to another embodiment of the present disclosure;
[0033] Figure 4 A flowchart of a smart device control method according to another embodiment of the present disclosure;
[0034] Figure 5 This is the control framework diagram of the smart wearable device;
[0035] Figure 6 This is the control framework diagram of smart home devices;
[0036] Figure 7 This is a control framework diagram for intelligent vehicle-mounted equipment;
[0037] Figure 8 This is a schematic diagram of the structure of a smart device control device according to an embodiment of the present disclosure;
[0038] Fig. 9 A schematic diagram of the structure of a smart device control device according to another embodiment of the present disclosure;
[0039] Fig.10 A schematic diagram of the structure of a smart device control device according to another embodiment of the present disclosure;
[0040] Fig.11 The figure is a structural block diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0041] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0043] At present, wireless earphones are mainly adapted to smart devices through Bluetooth technology. When the wireless earphones are adapted to the smart device, the wireless earphones receive the audio sent by the smart device through Bluetooth and play the audio.
[0044] In the above solution, the wireless headset only has an audio playback function. When the audio to be played needs to be switched, the subject needs to perform operations on the adapted smart device, which takes a long time and has low efficiency.
[0045] Figure 1 The flowchart of the intelligent device control method of one embodiment of the present disclosure is as follows. It should be noted that the intelligent device control method of the present embodiment can be applied to an intelligent device control apparatus, which can be configured in an electronic device so that the electronic device can perform the intelligent device control function.
[0046] The electronic device may be any device with computing capability, such as a personal computer (PC), a mobile terminal, a server, etc. In the following embodiments, the execution subject is taken as an example of a cloud server.
[0047] The intelligent terminal that the cloud server needs to control may be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or other hardware device with various operating systems, touch screens, and / or display screens. The vehicle-mounted device may be, for example, a vehicle computer system.
[0048] like Figure 1 As shown, the method comprises the following steps:
[0049] Step 101, obtaining the voice collected by the wireless headset and the recognition content corresponding to the voice; the wireless headset is connected to at least one smart device via WIFI.
[0050] In the embodiments of the present disclosure, the wireless headset may be a wireless headset provided with a WIFI component. Through the WIFI component, the wireless headset may be connected to a smart device provided with a WIFI component through WIFI; or, through the WIFI component, the wireless headset may be connected to a router or gateway provided with a WIFI component through WIFI. When the wireless headset is connected to the gateway through WIFI, the wireless headset may communicate with the smart device connected to the gateway through WIFI.
[0051] In order to reduce the power consumption of the wireless headset and extend the working time of the wireless headset, the WIFI component can be a low-power WIFI component.
[0052] Among them, the wireless headset and the smart device can be connected to the same WIFI router or WIFI gateway for the wireless headset and the smart device; or, the wireless headset can be connected to a WIFI hotspot shared by the smart device; or, the smart device can be connected to a WIFI hotspot shared by the wireless headset, etc.
[0053] In the embodiments of the present disclosure, in order to facilitate the wireless headset to send voice to the smart device via WIFI communication, or to receive voice from the smart device via WIFI communication, etc., a voice codec component may be provided on the wireless headset for encoding the voice to be sent and decoding the received voice.
[0054] In the embodiments of the present disclosure, the number of smart devices connected to the wireless headset via WIFI may be one or more. The smart devices connected to the wireless headset via WIFI may include at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway. Among them, smart wearable devices, such as smart watches, smart bracelets, smart glasses, VR headsets, smart helmets, smart sneakers, etc., are not specifically limited here and can be selected according to actual needs.
[0055] Among them, smart home devices may include at least one of the following: smart air conditioners, smart TVs, smart robots, smart kitchens, smart sweepers, smart speakers, smart door locks, etc., which are not specifically limited here and can be selected according to actual needs.
[0056] In the disclosed embodiment, the process of the cloud server executing step 101 may, for example, be to obtain the encoded voice sent by the wireless headset via WIFI communication; decode the encoded voice to obtain the voice; perform voice recognition processing on the voice to obtain recognition content corresponding to the voice.
[0057] Step 102, according to the identified content and the control instruction set corresponding to the wireless headset, determine the target smart device and the target control instruction among the smart devices connected to the wireless headset via WIFI; the control instruction set includes the correspondence between the control instructions of the smart device and the content.
[0058] In the disclosed embodiment, the identification content may include the identification of the target smart device, and the control content corresponding to the target control instruction, etc. The control content includes, for example, "play XX music", "play XX video", "play the previous one", "play the next one", "start running", "start finger-guessing", "start swimming", "turn on the air conditioner in XX room", "turn off the air conditioner in XX room", "play XX music in the car", "play XX video in the car", "cast the screen to the co-pilot", "cast the screen to the left or right of the back row", "open the navigation after an appointment of XX time or XX minutes, the destination is No. XX, XX Road", etc.
[0059] Step 103: Send a target control instruction to the target smart device to instruct the target smart device to execute the target control instruction, or instruct the target smart device to select a device to execute the target control instruction.
[0060] In an embodiment of the present disclosure, when the target smart device is a smart phone, a smart wearable device or a smart car device, the target smart device can directly execute the target control instruction after receiving the target control instruction; when the target smart device is a smart home platform, the smart home platform can process the target control instruction in, for example, by selecting a target smart home device from multiple smart home devices connected to the smart home platform according to the target control instruction; and sending the target control instruction to the target smart home device to instruct the target smart home device to execute the target control instruction.
[0061] In the embodiment of the present disclosure, when the target control instruction is a playback control instruction, the cloud server can also execute the following process: receiving an audio and video acquisition request from the target smart device, the audio and video acquisition request carrying the audio and video identifier of the audio and video to be played; querying the audio and video database according to the audio and video identifier to obtain the audio and video resources corresponding to the audio and video identifier; sending the audio and video resources to the target smart device to instruct the target smart device to play the audio and video resources through wireless headphones.
[0062] After receiving the audio and video resources, the target smart device can send the received audio and video resources to the wireless headset. The audio and video resources received by the wireless headset can be encoded audio and video resources. Correspondingly, after receiving the audio and video resources, the wireless headset can decode the audio and video resources to obtain the decoded audio and video resources; and then play the decoded audio and video resources.
[0063] In an embodiment of the present disclosure, when the target control instruction is a non-playback control instruction, the target smart device can execute the target control instruction, or select a device to execute the target control instruction and obtain the instruction execution result; the target smart device can perform voice conversion processing on the instruction execution result to obtain a corresponding result voice; encode the result voice and send it to the wireless headset; the wireless headset decodes and plays the encoded result voice, so that the object using the wireless headset can understand the instruction execution result.
[0064] In the smart device control method of the embodiment of the present disclosure, voice collected by the wireless headset and the recognition content corresponding to the voice are obtained; the wireless headset is connected to at least one smart device via WIFI; according to the recognition content and the control instruction set corresponding to the wireless headset, a target smart device and a target control instruction among the smart devices connected to the wireless headset via WIFI are determined; the control instruction set includes the correspondence between the control instructions and the content of the smart device; a control instruction is sent to the target smart device to instruct the target smart device to execute the control instruction, or to instruct the target smart device to select a device to execute the control instruction, so that voice control of the smart device for audio playback, etc. can be achieved through the wireless headset, avoiding the object from performing operations on the smart device, shortening the time, and improving the control efficiency of the smart device.
[0065] Figure 2 This is a flow chart of a smart device control method according to another embodiment of the present disclosure. It should be noted that the smart device control method according to this embodiment can be applied to a smart device control apparatus, which can be configured in an electronic device so that the electronic device can perform a smart device control function.
[0066] The electronic device may be any device with computing capability, such as a personal computer (PC), a mobile terminal, a server, etc. In the following embodiments, the execution subject is taken as an example of a cloud server.
[0067] The intelligent terminal that the cloud server needs to control may be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or other hardware device with various operating systems, touch screens, and / or display screens. The vehicle-mounted device may be, for example, a vehicle computer system.
[0068] like Figure 2 As shown, the method comprises the following steps:
[0069] Step 201, obtaining the voice collected by the wireless headset and the recognition content corresponding to the voice; the wireless headset is connected to at least one smart device via WIFI.
[0070] Step 202: parse the identified content to obtain the control content and device identification in the identified content.
[0071] In the embodiment of the present disclosure, the identification content may include control content and device identification, wherein the device identification may be the name of the target smart device, the location of the target smart device, the number of the target smart device, etc.
[0072] In which, taking the device identifier as the name of the target smart device and the target smart device as a smart watch as an example, the identification content may be, for example, "Smart watch, please play XX music", "Smart watch, play XX video", "Smart watch, please play the next one", "Smart watch, please play the previous one". It should be noted that if the number of smart devices connected to the wireless headset via WIFI is one, the device identifier of the target smart device may not be included in the identification content.
[0073] Step 203: determine a smart device that matches the device identifier among the smart devices connected to the wireless headset via WIFI as a target smart device.
[0074] In the disclosed embodiments, there may be multiple smart devices with the same device identification. For example, the device identification of multiple smart watches is "smart watch". In this case, in order to accurately determine the target smart device, the target smart device can be selected from the smart devices connected to the wireless headset WIFI.
[0075] It should be noted that the smart device that matches the device identifier is not necessarily the smart device with the device identifier. For example, if the smart device is a smart phone, a smart wearable device, or a smart car device, the smart device that matches the device identifier is the smart device with the device identifier. For another example, if the smart device is a smart home platform, the smart device that matches the device identifier may be the smart home platform, but the smart device with the device identifier may be the smart home device connected to the smart home platform.
[0076] In the disclosed embodiment, the cloud server may first obtain a smart device with a device identification. If the smart device is a smart phone, a smart wearable device or a smart vehicle-mounted device, the smart device may be used as a target smart device. If the smart device is a smart home device connected to a smart home platform, the smart home platform may be used as a target smart device.
[0077] Step 204: query the control instruction set according to the control content, and obtain the target control instruction corresponding to the control content.
[0078] In the disclosed embodiment, the control instruction set corresponding to the wireless headset includes at least one of the following control instructions: playback control instructions, navigation control instructions, sports and health control instructions, smart home device control instructions, and alarm setting instructions. Different smart devices are provided with different control instructions.
[0079] Among them, the control instructions set by the smartphone may include at least one of the following: playback control instructions, navigation control instructions, and sports and health control instructions. The control content corresponding to the playback control instructions is, for example, "Play XX music", "Play XX video", "Play previous", "Play next". The control content corresponding to the navigation control instructions is, for example, "Open the navigation at XX time or XX minutes later, and the destination is No. XX, XX Road". The control content corresponding to the sports and health control instructions is, for example, "Start running", "Start finger-guessing", "Start swimming".
[0080] The control instructions set by the smart wearable device may include at least one of the following: playback control instructions, sports and health control instructions, and alarm setting instructions. The control instructions set by the smart vehicle device may include at least one of the following: playback control instructions and navigation control instructions. The control instructions set by the smart home platform may be smart home control instructions.
[0081] Step 205: Send a target control instruction to the target smart device to instruct the target smart device to execute the target control instruction, or instruct the target smart device to select a device to execute the target control instruction.
[0082] In the smart device control method of the embodiment of the present disclosure, voice collected by the wireless headset and recognition content corresponding to the voice are obtained; the wireless headset is connected to at least one smart device via WIFI; the recognition content is parsed and processed to obtain control content and device identification in the recognition content; the smart device that matches the device identification among the smart devices connected to the wireless headset via WIFI is determined as the target smart device; according to the control content, a control instruction set is queried to obtain a target control instruction corresponding to the control content; the target control instruction is sent to the target smart device to instruct the target smart device to execute the target control instruction, or to instruct the target smart device to select a device to execute the target control instruction, so that voice control of the smart device for audio and video playback, etc. can be achieved through the wireless headset, avoiding the object from performing operation processing on the smart device, shortening the time, and improving the control efficiency of the smart device.
[0083] Figure 3 This is a flow chart of a smart device control method according to another embodiment of the present disclosure. It should be noted that the smart device control method according to this embodiment can be applied to a smart device control apparatus, which can be configured in an electronic device so that the electronic device can perform a smart device control function.
[0084] The electronic device may be any device with computing capability, such as a personal computer (PC), a mobile terminal, a server, etc. In the following embodiments, the execution subject is a wireless headset as an example for description.
[0085] The intelligent terminal that the cloud server needs to control may be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or other hardware device with various operating systems, touch screens, and / or display screens. The vehicle-mounted device may be, for example, a vehicle computer system.
[0086] like Figure 3 As shown, the method comprises the following steps:
[0087] Step 301, sending coded voice to the cloud server via WIFI communication; the coded voice is used to indicate the target smart device among the smart devices connected to the wireless headset via WIFI, and the target control instruction.
[0088] In the embodiments of the present disclosure, the wireless headset may be a wireless headset provided with a WIFI component. Through the WIFI component, the wireless headset may be connected to a smart device provided with a WIFI component through WIFI; or, through the WIFI component, the wireless headset may be connected to a router or gateway provided with a WIFI component through WIFI. When the wireless headset is connected to the gateway through WIFI, the wireless headset may communicate with the smart device connected to the gateway through WIFI.
[0089] In order to reduce the power consumption of the wireless headset and extend the working time of the wireless headset, the WIFI component can be a low-power WIFI component.
[0090] Among them, the wireless headset and the smart device can be connected to the same WIFI router or WIFI gateway for the wireless headset and the smart device; or, the wireless headset can be connected to a WIFI hotspot shared by the smart device; or, the smart device can be connected to a WIFI hotspot shared by the wireless headset, etc.
[0091] In the disclosed embodiment, in order to facilitate the wireless headset to send voice to the smart device through WIFI communication, or to receive voice from the smart device through WIFI communication, etc., the wireless headset may be provided with a voice codec component for encoding the voice to be sent and decoding the received voice. Correspondingly, the process of the wireless headset executing step 301 may be, for example, collecting voice; encoding the collected voice to obtain encoded voice; and sending the encoded voice to the cloud server.
[0092] In the embodiments of the present disclosure, the number of smart devices connected to the wireless headset via WIFI may be one or more. The smart devices connected to the wireless headset via WIFI may include at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway. Among them, smart wearable devices, such as smart watches, smart bracelets, smart glasses, VR headsets, smart helmets, smart sneakers, etc., are not specifically limited here and can be selected according to actual needs.
[0093] Among them, smart home devices may include at least one of the following: smart air conditioners, smart TVs, smart robots, smart kitchens, smart sweepers, smart speakers, smart door locks, etc., which are not specifically limited here and can be selected according to actual needs.
[0094] Step 302: Acquire the audio and video resources returned by the target smart device according to the target control instruction.
[0095] In an embodiment of the present disclosure, when the target smart device is a smart phone, a smart wearable device or a smart car device, the target smart device can directly execute the target control instruction after receiving the target control instruction; when the target smart device is a smart home platform, the smart home platform can process the target control instruction in, for example, by selecting a target smart home device from multiple smart home devices connected to the smart home platform according to the target control instruction; and sending the target control instruction to the target smart home device to instruct the target smart home device to execute the target control instruction.
[0096] In the embodiment of the present disclosure, when the target control instruction is a playback control instruction, the wireless headset may execute step 302 and step 303. The process of the wireless headset executing step 302 may be, for example, obtaining the encoded audio and video resources returned by the target smart device through WIFI according to the target control instruction; decoding the encoded audio and video resources to obtain the audio and video resources.
[0097] In the embodiment of the present disclosure, the target control instruction is any one of the following control instructions: playback control instructions, navigation control instructions, sports and health control instructions, smart home device control instructions, and alarm setting instructions; different smart devices are set with different control instructions.
[0098] Among them, the control instructions set by the smartphone may include at least one of the following: playback control instructions, navigation control instructions, and sports and health control instructions. The control content corresponding to the playback control instructions is, for example, "Play XX music", "Play XX video", "Play previous", "Play next". The control content corresponding to the navigation control instructions is, for example, "Open the navigation at XX time or XX minutes later, and the destination is No. XX, XX Road". The control content corresponding to the sports and health control instructions is, for example, "Start running", "Start finger-guessing", "Start swimming".
[0099] The control instructions set by the smart wearable device may include at least one of the following: playback control instructions, sports and health control instructions, and alarm setting instructions. The control instructions set by the smart vehicle device may include at least one of the following: playback control instructions and navigation control instructions. The control instructions set by the smart home platform may be smart home control instructions.
[0100] Step 303: play audio and video resources.
[0101] In the smart device control method of the disclosed embodiment, coded voice is sent to a cloud server via WIFI communication; the coded voice is used to indicate a target smart device among smart devices connected to the wireless headset via WIFI, as well as a target control instruction; audio and video resources returned by the target smart device according to the target control instruction are obtained; and the audio and video resources are played, thereby enabling voice control of the smart device for audio and video playback through the wireless headset, avoiding the object from performing operations on the smart device, shortening the time, and improving the control efficiency of the smart device.
[0102] Figure 4 This is a flow chart of a smart device control method according to another embodiment of the present disclosure. It should be noted that the smart device control method according to this embodiment can be applied to a smart device control apparatus, which can be configured in an electronic device so that the electronic device can perform a smart device control function.
[0103] The electronic device may be any device with computing capability, such as a personal computer (PC), a mobile terminal, a server, etc. The following embodiments are described by taking the execution subject as a smart device as an example.
[0104] The intelligent terminal that the cloud server needs to control may be, for example, a vehicle-mounted device, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or other hardware device with various operating systems, touch screens, and / or display screens. The vehicle-mounted device may be, for example, a vehicle computer system.
[0105] like Figure 4 As shown, the method comprises the following steps:
[0106] Step 401, receiving a target control instruction sent by a cloud server; the target control instruction is determined by the cloud server according to the voice collected by the wireless headset, and is used to control a target smart device among smart devices connected to the wireless headset via WIFI.
[0107] In the embodiments of the present disclosure, the wireless headset may be a wireless headset provided with a WIFI component. Through the WIFI component, the wireless headset may be connected to a smart device provided with a WIFI component through WIFI; or, through the WIFI component, the wireless headset may be connected to a router or gateway provided with a WIFI component through WIFI. When the wireless headset is connected to the gateway through WIFI, the wireless headset may communicate with the smart device connected to the gateway through WIFI.
[0108] In order to reduce the power consumption of the wireless headset and extend the working time of the wireless headset, the WIFI component can be a low-power WIFI component.
[0109] Among them, the wireless headset and the smart device can be connected to the same WIFI router or WIFI gateway for the wireless headset and the smart device; or, the wireless headset can be connected to a WIFI hotspot shared by the smart device; or, the smart device can be connected to a WIFI hotspot shared by the wireless headset, etc.
[0110] In the embodiments of the present disclosure, in order to facilitate the wireless headset to send voice to the smart device via WIFI communication, or to receive voice from the smart device via WIFI communication, etc., a voice codec component may be provided on the wireless headset for encoding the voice to be sent and decoding the received voice.
[0111] In the embodiments of the present disclosure, the number of smart devices connected to the wireless headset via WIFI may be one or more. The smart devices connected to the wireless headset via WIFI may include at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway. Among them, smart wearable devices, such as smart watches, smart bracelets, smart glasses, VR headsets, smart helmets, smart sneakers, etc., are not specifically limited here and can be selected according to actual needs.
[0112] Among them, smart home devices may include at least one of the following: smart air conditioners, smart TVs, smart robots, smart kitchens, smart sweepers, smart speakers, smart door locks, etc., which are not specifically limited here and can be selected according to actual needs.
[0113] Step 402: execute the target control instruction, or select a device to execute the target control instruction.
[0114] In the embodiments of the present disclosure, when the target smart device is a smart phone, a smart wearable device or a smart vehicle-mounted device, the target smart device can directly execute the target control instruction after receiving the target control instruction; when the target smart device is a smart home platform, a device can be selected to execute the target control instruction.
[0115] In an embodiment of the present disclosure, when the target smart device is a smart home platform, the process of the smart device selecting a device to execute a target control instruction may, for example, be: selecting a target smart home device from multiple smart home devices connected to the smart home platform according to the target control instruction; and sending the target smart home device to instruct the target smart home device to execute the target control instruction.
[0116] In the embodiment of the present disclosure, when the target control instruction is a playback control instruction, the smart device may also perform the following process: sending an audio and video acquisition request to a cloud server, the audio and video acquisition request carrying the audio and video identifier of the audio and video to be played; receiving the audio and video resources returned by the cloud server; sending the audio and video resources to the wireless headset to instruct the wireless headset to play the audio and video resources. The audio and video resources sent by the smart device to the wireless headset may be coded audio and video resources; after receiving the coded audio and video resources, the wireless headset may decode the coded audio and video resources, obtain the audio and video resources, and play the audio and video resources.
[0117] In the embodiment of the present disclosure, the target control instruction is any one of the following control instructions: playback control instructions, navigation control instructions, sports and health control instructions, smart home device control instructions, and alarm setting instructions; different smart devices are set with different control instructions.
[0118] Among them, the control instructions set by the smartphone may include at least one of the following: playback control instructions, navigation control instructions, and sports and health control instructions. The control content corresponding to the playback control instructions is, for example, "Play XX music", "Play XX video", "Play previous", "Play next". The control content corresponding to the navigation control instructions is, for example, "Open the navigation at XX time or XX minutes later, and the destination is No. XX, XX Road". The control content corresponding to the sports and health control instructions is, for example, "Start running", "Start finger-guessing", "Start swimming".
[0119] The control instructions set by the smart wearable device may include at least one of the following: playback control instructions, sports and health control instructions, and alarm setting instructions. The control instructions set by the smart vehicle device may include at least one of the following: playback control instructions and navigation control instructions. The control instructions set by the smart home platform may be smart home control instructions.
[0120] In the smart device control method of the disclosed embodiment, a target control instruction is received from a cloud server; the target control instruction is determined by the cloud server based on the voice collected by the wireless headset, and is used to control the target smart device among the smart devices connected to the wireless headset via WIFI; the target control instruction is executed, or a device is selected to execute the target control instruction, so that voice control of the smart device for audio and video playback, etc. can be achieved through the wireless headset, avoiding the object from performing operations on the smart device, shortening the time, and improving the control efficiency of the smart device.
[0121] Taking the target smart device as a smart watch among smart wearable devices as an example, the control framework diagram of the smart wearable device can be as follows: Figure 5 As shown. Figure 5In the wireless headset (Internet headset), an audio codec + playback / collection component, a Bluetooth component, and a low-power WIFI component are provided. A WIFI / BT (Bluetooth) unit, a sports health unit, and an audio processing unit are provided in the smart wearable device (smart wear). The cloud server is provided with a cloud link unit (for authenticating the account requesting the audio source, etc.), a cloud preprocessing unit (provided with a control instruction set), a cloud control unit (determining the recognition content, as well as determining the target control instruction and the target smart device), and a cloud audio source server (audio and video database).
[0122] Among them, the control process of the smart watch in the smart wearable device may include the following steps: (1) The wireless headset is successfully connected to the Internet through the WIFI hotspot shared by the smart watch. (2) The wireless headset collects the voice "Play XX music / XX video", encodes the voice and submits it to the cloud control unit in the cloud server. (3) The cloud control unit decodes and recognizes the voice to obtain the recognized content; and queries the control instruction set of the cloud preprocessing unit to determine the target control instruction and the target smart device (smart watch). (4) The cloud control unit sends the target control instruction to the smart watch. (5) The smart watch interacts with the cloud audio source server in the cloud server, obtains the target audio resource, encodes it and sends it to the wireless headset. (6) The wireless headset decodes the target audio resource and plays it.
[0123] Taking AIOT (smart home device) as an example, the control framework diagram of the smart home device can be as follows: Figure 6 As shown. Figure 6 In the present invention, the smart home platform can be represented as a HomeKit gateway; the HomeKit gateway is connected to the wireless headset (Internet headset) and the smart home device through a router. The smart home device is provided with a WIFI / BT (Bluetooth) unit, a control unit and a service processing unit.
[0124] The control process of the smart home device may include the following steps: (1) The wireless headset is successfully connected to the Internet through the router, the smart home device is successfully connected to the Internet through the router, and the wireless headset and the smart home device are in the same local area network. (2) The HomeKit gateway adds a business processing function menu for each smart home device to determine which smart home device the control command is sent to. (3) The wireless headset collects the voice "Turn on or off the air conditioner in XX room / living room", encodes the voice and submits it to the cloud control unit in the cloud server. (4) The cloud control unit decodes and recognizes the voice to obtain the recognition content; and queries the control instruction set of the cloud preprocessing unit to determine the target control instruction and the target smart device (smart home platform). (5) The cloud control unit sends the target control instruction to the smart home platform. (6) The smart home platform determines the smart home device to be controlled based on the target control instruction, and sends the target control instruction to the control unit of the smart home device. (7) The control unit of the smart home device sends the target control instruction to the business processing unit of the smart home device to execute turning on or off the air conditioner.
[0125] Taking the target intelligent device as an intelligent vehicle-mounted device (smart car) as an example, the control framework diagram of the intelligent vehicle-mounted device can be as follows: Figure 7 As shown. Figure 7 In the smart car, the car can include: car WIFI / BT (Bluetooth) unit, car smart travel unit (for navigation), and car entertainment unit.
[0126] Among them, the control process of the smart vehicle-mounted device may include the following steps: (1) The wireless headset is successfully connected to the Internet through the WIFI hotspot shared by the vehicle-mounted smart device. (2) The wireless headset collects the voice "Play car XX music / XX video", encodes the voice and submits it to the cloud control unit in the cloud server. (3) The cloud control unit decodes and recognizes the voice to obtain the recognized content; and queries the control instruction set of the cloud preprocessing unit to determine the target control instruction and the target smart device (smart vehicle-mounted device). (4) The cloud control unit sends the target control instruction to the smart vehicle-mounted device. (5) The smart vehicle-mounted device interacts with the cloud audio source server in the cloud server, obtains the target audio resource, encodes it and sends it to the wireless headset. (6) The wireless headset decodes the target audio resource and plays it.
[0127] Figure 8 The figure is a schematic diagram of the structure of a smart device control device according to an embodiment of the present disclosure.
[0128] like Figure 8 As shown, the smart device control apparatus may include: an acquisition module 801 , a determination module 802 and a sending module 803 .
[0129] Among them, the acquisition module 801 is used to acquire the voice collected by the wireless headset and the recognition content corresponding to the voice; the wireless headset is connected to at least one smart device via WIFI; the determination module 802 is used to determine the target smart device and the target control instruction among the smart devices connected to the wireless headset via WIFI according to the recognition content and the control instruction set corresponding to the wireless headset; the control instruction set includes the correspondence between the control instructions and the content of the smart device; the sending module 803 is used to send the target control instruction to the target smart device, to instruct the target smart device to execute the target control instruction, or to instruct the target smart device to select a device to execute the target control instruction.
[0130] In one embodiment of the present disclosure, the smart device includes at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway.
[0131] In one embodiment of the present disclosure, the acquisition module 801 is specifically used to obtain the encoded voice sent by the wireless headset via WIFI communication; decode the encoded voice to obtain the voice; perform voice recognition processing on the voice to obtain recognition content corresponding to the voice.
[0132] In one embodiment of the present disclosure, the determination module 802 is specifically used to parse the identification content to obtain the control content and device identification in the identification content; determine the smart device that matches the device identification among the smart devices connected to the wireless headset via WIFI as the target smart device; and query the control instruction set according to the control content to obtain the target control instruction corresponding to the control content.
[0133] In one embodiment of the present disclosure, the control instruction set corresponding to the wireless headset includes at least one of the following control instructions: playback control instructions, navigation control instructions, sports and health control instructions, smart home device control instructions, and alarm setting instructions; different smart devices are set with different control instructions.
[0134] In one embodiment of the present disclosure, the target smart device is a smart home platform; the way in which the smart home platform processes the target control instruction includes: selecting a target smart home device from multiple smart home devices connected to the smart home platform according to the control instruction; and sending the target control instruction to the target smart home device to instruct the target smart home device to execute the target control instruction.
[0135] In one embodiment of the present disclosure, the target control instruction is a playback control instruction, and the device further includes: a receiving module; the receiving module is used to receive an audio and video acquisition request from the target smart device, and the audio and video acquisition request carries the audio and video identifier of the audio and video to be played; the acquisition module 801 is also used to query the audio and video database according to the audio and video identifier to obtain the audio and video resources corresponding to the audio and video identifier; the sending module 803 is also used to send the audio and video resources to the target smart device, so as to instruct the target smart device to play the audio and video resources through the wireless headset.
[0136] In the smart device control device of the embodiment of the present disclosure, voice collected by the wireless headset and the recognition content corresponding to the voice are obtained; the wireless headset is connected to at least one smart device via WIFI; according to the recognition content and the control instruction set corresponding to the wireless headset, the target smart device and the target control instruction among the smart devices connected to the wireless headset via WIFI are determined; the control instruction set includes the correspondence between the control instructions and the content of the smart device; the control instruction is sent to the target smart device to instruct the target smart device to execute the control instruction, or to instruct the target smart device to select a device to execute the control instruction, so that voice control of the smart device for audio playback, etc. can be achieved through the wireless headset, avoiding the object from performing operation processing on the smart device, shortening the time, and improving the control efficiency of the smart device.
[0137] Fig. 9 This is a schematic diagram of the structure of a smart device control device according to another embodiment of the present disclosure.
[0138] like Fig. 9 As shown, the smart device control apparatus may include: a sending module 901 , an acquiring module 902 and a playing module 903 .
[0139] Among them, the sending module 901 is used to send encoded voice to the cloud server via WIFI communication; the encoded voice is used to indicate the target smart device among the smart devices connected to the wireless headset via WIFI, and the target control instruction; the acquisition module 902 is used to obtain the audio and video resources returned by the target smart device according to the target control instruction; the playing module 903 is used to play the audio and video resources.
[0140] In one embodiment of the present disclosure, the acquisition module 902 is specifically used to obtain the encoded audio and video resources returned by the target smart device through the WIFI connection according to the target control instruction; decode the encoded audio and video resources to obtain the audio and video resources.
[0141] In one embodiment of the present disclosure, the smart device includes at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway.
[0142] In one embodiment of the present disclosure, the target control instruction is any one of the following control instructions: playback control instruction, navigation control instruction, sports and health control instruction, smart home device control instruction, alarm setting instruction; different smart devices are set with different control instructions.
[0143] In the smart device control apparatus of the disclosed embodiment, coded voice is sent to a cloud server via WIFI communication; the coded voice is used to indicate a target smart device among the smart devices connected to the wireless headset via WIFI, as well as a target control instruction; the audio and video resources returned by the target smart device according to the target control instruction are obtained; the audio and video resources are played, thereby enabling voice control of the smart device for audio and video playback through the wireless headset, avoiding the object from performing operations on the smart device, shortening the time, and improving the control efficiency of the smart device.
[0144] Fig.10 This is a schematic diagram of the structure of a smart device control device according to another embodiment of the present disclosure.
[0145] like Fig.10 As shown, the smart device control apparatus may include: a receiving module 1001 and an execution module 1002 .
[0146] Among them, the receiving module 1001 is used to receive the target control instruction sent by the cloud server; the target control instruction is determined by the cloud server based on the voice collected by the wireless headset, and is used to control the target smart device among the smart devices connected to the wireless headset via WIFI; the execution module 1002 is used to execute the target control instruction, or select a device to execute the target control instruction.
[0147] In one embodiment of the present disclosure, the smart device includes at least one of the following: a smart phone, a smart wearable device, a smart car device, and a smart home platform; the smart home platform is provided with a gateway, and multiple smart home devices are connected through the gateway.
[0148] In one embodiment of the present disclosure, the target control instruction is any one of the following control instructions: playback control instruction, navigation control instruction, sports and health control instruction, smart home device control instruction, alarm setting instruction; different smart devices are set with different control instructions.
[0149] In one embodiment of the present disclosure, the target smart device is a smart home platform; the execution module 1002 is specifically used to select a target smart home device from multiple smart home devices connected to the smart home platform according to the target control instruction; and send the target control instruction to the target smart home device to instruct the target smart home device to execute the target control instruction.
[0150] In one embodiment of the present disclosure, the target control instruction is a playback control instruction, and the device also includes: a sending module; the sending module is used to send an audio and video acquisition request to the cloud server, and the audio and video acquisition request carries the audio and video identification of the audio and video to be played; the receiving module 1001 is also used to receive the audio and video resources returned by the cloud server; the sending module is also used to send the audio and video resources to the wireless headset, so as to instruct the wireless headset to play the audio and video resources.
[0151] In the smart device control device of the embodiment of the present disclosure, a target control instruction sent by a cloud server is received; the target control instruction is determined by the cloud server based on the voice collected by the wireless headset, and is used to control the target smart device among the smart devices connected to the wireless headset via WIFI; the target control instruction is executed, or a device is selected to execute the target control instruction, so that voice control of the smart device for audio and video playback, etc. can be achieved through the wireless headset, avoiding the object from performing operations on the smart device, shortening the time, and improving the control efficiency of the smart device.
[0152] According to a seventh aspect of an embodiment of the present disclosure, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to: implement the smart device control method as described above.
[0153] In order to implement the above embodiments, the present disclosure also proposes a storage medium.
[0154] When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the smart device control method as described above.
[0155] In order to implement the above embodiments, the present disclosure also provides a computer program product.
[0156] When the computer program product is executed by a processor of an electronic device, the electronic device is enabled to execute the above method.
[0157] Fig.11 The figure is a structural block diagram of an electronic device according to an exemplary embodiment. Fig.11The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0158] like Fig.11 As shown, the electronic device 1000 includes a processor 111, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 112 or a program loaded from a memory 116 to a random access memory (RAM) 113. In the RAM 113, various programs and data required for the operation of the electronic device 1000 are also stored. The processor 111, the ROM 112, and the RAM 113 are connected to each other via a bus 114. An input / output (I / O) interface 115 is also connected to the bus 114.
[0159] The following components are connected to the I / O interface 115: a memory 116 including a hard disk, etc.; and a communication part 117 including a network interface card such as a local area network (LAN) card, a modem, etc., and the communication part 117 performs communication processing via a network such as the Internet; a drive 118 is also connected to the I / O interface 115 as needed.
[0160] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 117. When the computer program is executed by the processor 111, the above-mentioned functions defined in the method of the present disclosure are executed.
[0161] In an exemplary embodiment, a storage medium including instructions is also provided, such as a memory including instructions, and the instructions can be executed by the processor 111 of the electronic device 1000 to complete the above method. Optionally, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0162] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0163] In addition, the word "exemplary" is used herein to indicate serving as an example, instance, or diagram. Any aspect or design described as "exemplary" in this article is not necessarily understood to be advantageous compared to other aspects or designs. On the contrary, the use of the word exemplary is intended to present concepts in a specific way. As used herein, the term "or" is intended to represent an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X applies A or B" is intended to represent any one of the natural inclusive arrangements. That is, if X applies A; X applies B; or X applies both A and B, "X applies A or B" is satisfied under any of the aforementioned examples. In addition, unless otherwise specified or clearly pointed to a singular form from the context, the articles "one" and "an" as used in this application and the appended claims are generally understood to mean "one or more".
[0164] Likewise, although the present disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art after reading and understanding the specification and drawings. The present disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise noted, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although the specific features of the present disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and conducive to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in the specific embodiments or claims, such terms are intended to be inclusive in a manner similar to the term "comprising".
[0165] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0166] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for controlling an intelligent device, characterized in that: The method comprises: Acquire the voice collected by the wireless headset and the recognition content corresponding to the voice; the wireless headset is connected to at least one smart device via WIFI; According to the identified content and the control instruction set corresponding to the wireless headset, determine a target smart device among smart devices connected to the wireless headset via WIFI, and a target control instruction; the control instruction set includes a correspondence between the control instructions of the smart device and the content; The target control instruction is sent to the target smart device to instruct the target smart device to execute the target control instruction, or to instruct the target smart device to select a device to execute the target control instruction.
2. The method according to claim 1, characterized in that: The smart device includes at least one of the following: a smart phone, a smart wearable device, a smart vehicle device, and a smart home platform; The smart home platform is provided with a gateway, and a plurality of smart home devices are connected via the gateway.
3. The method according to claim 1, characterized in that The acquiring of the voice collected by the wireless headset and the recognition content corresponding to the voice includes: Obtaining the encoded voice sent by the wireless headset via WIFI communication; Decoding the encoded speech to obtain the speech; Perform speech recognition processing on the speech to obtain recognition content corresponding to the speech.
4. The method according to claim 1 or 2, characterized in that: The step of determining a target smart device among smart devices connected to the wireless headset via WIFI and a target control instruction according to the identification content and a control instruction set corresponding to the wireless headset includes: Parsing the identified content to obtain control content and device identification in the identified content; Determine a smart device that matches the device identifier among smart devices connected to the wireless headset via WIFI as the target smart device; According to the control content, the control instruction set is queried to obtain the target control instruction corresponding to the control content.
5. The method according to claim 4, characterized in that The control instruction set corresponding to the wireless headset includes at least one of the following control instructions: playback control instructions, navigation control instructions, sports and health control instructions, smart home device control instructions, and alarm setting instructions; Different smart devices are set with different control instructions.
6. The method according to claim 1 or 2, characterized in that: The target smart device is a smart home platform; the smart home platform processes the target control instruction in the following manner: According to the target control instruction, selecting a target smart home device from a plurality of smart home devices connected to the smart home platform; The target control instruction is sent to the target smart home device to instruct the target smart home device to execute the target control instruction.
7. The method according to claim 1, characterized in that The target control instruction is a playback control instruction, and the method further includes: Receiving an audio and video acquisition request of the target smart device, wherein the audio and video acquisition request carries an audio and video identifier of the audio and video to be played; Querying an audio and video database according to the audio and video identifier to obtain an audio and video resource corresponding to the audio and video identifier; The audio and video resources are sent to the target smart device to instruct the target smart device to play the audio and video resources through the wireless headset.
8. A method for controlling an intelligent device, characterized in that: The method comprises: Sending coded voice to the cloud server via WIFI communication; the coded voice is used to indicate a target smart device among smart devices connected to the wireless headset via WIFI, and a target control instruction; Acquire the audio and video resources returned by the target smart device according to the target control instruction; Play the audio and video resources.
9. The method according to claim 8, characterized in that The obtaining of the audio and video resources returned by the target smart device according to the target control instruction includes: Obtain the encoded audio and video resources returned by the target smart device through the WIFI connection according to the target control instruction; The encoded audio and video resources are decoded to obtain the audio and video resources.
10. The method according to claim 8 or 9, characterized in that: The smart device includes at least one of the following: a smart phone, a smart wearable device, a smart vehicle device, and a smart home platform; The smart home platform is provided with a gateway, and a plurality of smart home devices are connected via the gateway.
11. The method according to claim 8, characterized in that The target control instruction is any one of the following control instructions: a playback control instruction, a navigation control instruction, a sports and health control instruction, a smart home device control instruction, and an alarm setting instruction; Different smart devices are set with different control instructions.
12. A method for controlling an intelligent device, characterized in that: The method comprises: Receive a target control instruction sent by a cloud server; the target control instruction is determined by the cloud server according to the voice collected by the wireless headset, and is used to control a target smart device among smart devices connected to the wireless headset via WIFI; Execute the target control instruction, or select a device to execute the target control instruction.
13. The method according to claim 12, characterized in that The smart device includes at least one of the following: a smart phone, a smart wearable device, a smart vehicle device, and a smart home platform; The smart home platform is provided with a gateway, and a plurality of smart home devices are connected via the gateway.
14. The method according to claim 12, characterized in that The target control instruction is any one of the following control instructions: a playback control instruction, a navigation control instruction, a sports and health control instruction, a smart home device control instruction, and an alarm setting instruction; Different smart devices are set with different control instructions.
15. The method according to claim 12 or 13, characterized in that The target smart device is a smart home platform; The selecting device to execute the target control instruction comprises: According to the target control instruction, selecting a target smart home device from a plurality of smart home devices connected to the smart home platform; The target control instruction is sent to the target smart home device to instruct the target smart home device to execute the target control instruction.
16. The method according to claim 12, characterized in that The target control instruction is a playback control instruction, and the method further includes: Sending an audio and video acquisition request to the cloud server, wherein the audio and video acquisition request carries the audio and video identifier of the audio and video to be played; Receiving audio and video resources returned by the cloud server; The audio and video resources are sent to the wireless headset to instruct the wireless headset to play the audio and video resources.
17. A smart device control device, characterized in that: The device comprises: An acquisition module, used to acquire the voice collected by the wireless headset and the recognition content corresponding to the voice; the wireless headset is connected to at least one smart device via WIFI; A determination module, configured to determine a target smart device and a target control instruction among smart devices connected to the wireless headset via WIFI according to the identified content and a control instruction set corresponding to the wireless headset; the control instruction set includes a correspondence between the control instructions of the smart device and the content; The sending module is used to send the target control instruction to the target smart device, and to instruct the target smart device to execute the target control instruction, or to instruct the target smart device to select a device to execute the target control instruction.
18. A smart device control device, characterized in that: The device comprises: A sending module, used to send coded voice to a cloud server via WIFI communication; the coded voice is used to indicate a target smart device among smart devices connected to the wireless headset via WIFI, and a target control instruction; An acquisition module, used to acquire the audio and video resources returned by the target smart device according to the target control instruction; The playing module is used to play the audio and video resources.
19. A smart device control device, characterized in that: The device comprises: A receiving module, used for receiving a target control instruction sent by a cloud server; the target control instruction is determined by the cloud server according to the voice collected by the wireless headset, and is used for controlling a target smart device among smart devices connected to the wireless headset via WIFI; An execution module is used to execute the target control instruction, or select a device to execute the target control instruction.
20. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; Wherein, the processor is configured to: Implement the steps of the intelligent device control method as described in any one of claims 1 to 16.
21. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor, enables the processor to execute the intelligent device control method according to any one of claims 1 to 16.