



技术领域technical field
本发明实施例涉及控制技术领域,尤其涉及一种电器设备的控制方法、装置、电器设备和介质。Embodiments of the present invention relate to the technical field of control, and in particular, to a control method, device, electrical device, and medium for electrical equipment.
背景技术Background technique
随着科学技术的发展,电器设备智能化和人性化已经是人们普遍关注的问题,尤其是将语音识别技术应用于电器设备中,为电器设备的智能化和人性化为人们的操作提供了极大的便利。With the development of science and technology, the intellectualization and humanization of electrical equipment has become a common concern of people. In particular, the application of speech recognition technology to electrical equipment provides a great opportunity for the intelligentization and humanization of electrical equipment for people's operations. Great convenience.
目前,电器设备的工作模式一般包括开机模式和待机模式。在传统待机模式下,电器设备只有待机指示灯发亮,其他功能都处于休眠状态。只有当电器设备处于开机状态时才可实现语音控制。如果电器设备处于传统的待机状态,则无法接收用户发出的语音信息,更不能根据用户发出的语音信息进行相应的操作。At present, working modes of electrical equipment generally include a power-on mode and a standby mode. In the traditional standby mode, only the standby indicator light of the electrical equipment is on, and other functions are in a dormant state. Voice control is only possible when the electrical equipment is turned on. If the electrical equipment is in a traditional standby state, it cannot receive the voice information sent by the user, nor can it perform corresponding operations according to the voice information sent by the user.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种电器设备的控制方法、装置、电器设备和介质,以实现电器设备在待机状态下根据用户的语音信息进行相关操作。Embodiments of the present invention provide a control method, device, electrical device, and medium for electrical equipment, so as to realize that the electrical equipment performs related operations according to the user's voice information in a standby state.
第一方面,本发明实施例提供了一种电器设备的控制方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for controlling electrical equipment, the method comprising:
当接收待机指令时,判断当前电器设备的当前状态;When receiving the standby command, determine the current state of the current electrical equipment;
根据所述当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。The current standby mode is selected according to the current state. The standby mode includes an intelligent standby mode and a default standby mode. In the intelligent standby mode, the current electrical device in a black screen state has the function of receiving and uploading voice information.
第二方面,本发明实施例还提供了一种电器设备的控制装置,该装置包括:In a second aspect, an embodiment of the present invention also provides a control device for an electrical device, the device comprising:
状态检测模块,用于当接收待机指令时,判断当前电器设备的当前状态;The state detection module is used to judge the current state of the current electrical equipment when receiving the standby command;
模式选择模块,用于根据所述当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。The mode selection module is used to select the current standby mode according to the current state, the standby mode includes an intelligent standby mode and a default standby mode, in the intelligent standby mode, the current electrical equipment in a black screen state has the ability to receive and upload voice information function.
第三方面,本发明实施例还提供了一种电器设备,所述电器设备包括:In a third aspect, an embodiment of the present invention further provides an electrical device, the electrical device comprising:
一个或多个处理器;one or more processors;
存储装置,用于存储一个或多个程序,storage means for storing one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明任意实施例所提供的电器设备的控制方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for controlling an electrical device provided by any embodiment of the present invention.
第四方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明任意实施例所提供的电器设备的控制方法。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the control method for an electrical device provided by any embodiment of the present invention.
本发明实施例的技术方案,当接收待机指令时,判断当前电器设备的当前状态,并根据当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。相对于现有技术中在默认待机模式下电器设备与用户无法进行语音交互的方案,本发明实施例的技术方案根据电器设备的当前状态可选择智能待机模式作为当前待机模式,并在智能待机模式下,电器设备可接收并上传用户的语音信息,以实现在待机状态下根据用户的语音信息完成对应的操作,提升了用户体验。According to the technical solution of the embodiment of the present invention, when a standby instruction is received, the current state of the current electrical device is judged, and the current standby mode is selected according to the current state. The standby mode includes an intelligent standby mode and a default standby mode. In the intelligent standby mode , the current electrical device in a black screen state has the function of receiving and uploading voice information. Compared with the solution in the prior art that the electrical device and the user cannot perform voice interaction in the default standby mode, the technical solution of the embodiment of the present invention can select the smart standby mode as the current standby mode according to the current state of the electrical device, and use the smart standby mode in the smart standby mode. In this case, the electrical equipment can receive and upload the user's voice information, so as to complete the corresponding operation according to the user's voice information in the standby state, thereby improving the user experience.
附图说明Description of drawings
图1为本发明实施例一提供的一种电器设备的控制方法的流程图;FIG. 1 is a flowchart of a control method for an electrical device according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的一种电器设备的控制方法的流程图;FIG. 2 is a flowchart of a control method for an electrical device according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的一种电器设备的控制装置的结构框图;3 is a structural block diagram of a control device for an electrical device provided in Embodiment 3 of the present invention;
图4为本发明实施例四提供的一种电器设备的结构示意图。FIG. 4 is a schematic structural diagram of an electrical device according to Embodiment 4 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.
实施例一Example 1
图1为本发明实施例一提供的一种电器设备的控制方法的流程图,该方法可以由电器设备的控制方法来执行,该装置可以通过软件和/或硬件的方式实现,典型的是,该装置可以集成在如电视机等电器设备中,也可应用于其他具有语音控制功能的电子产品中。参见图1,本实施例的方法具体包括:FIG. 1 is a flowchart of a method for controlling electrical equipment according to Embodiment 1 of the present invention. The method may be performed by a method for controlling electrical equipment, and the apparatus may be implemented in software and/or hardware. Typically, The device can be integrated into electrical equipment such as a TV set, and can also be applied to other electronic products with a voice control function. Referring to FIG. 1, the method of this embodiment specifically includes:
S110、当接收待机指令时,判断当前电器设备的当前状态。S110. When receiving the standby instruction, determine the current state of the current electrical device.
其中,待机指令可由用户通过遥控器的待机按钮来发送,用户也可向电器设备发送包含有待机指示的语音信息,以控制电器设备将当前模式切换为待机模式。The standby instruction can be sent by the user through the standby button of the remote control, and the user can also send voice information including the standby instruction to the electrical device to control the electrical device to switch the current mode to the standby mode.
其中,电器设备的当前状态可以为网络状态,网络状态可通过读取网络连接标识来进行判断。其中,网络连接标识可通过调用网络检测接口函数来获取,网络连接标识可预先进行设置,例如,如果获取到的网络连接标识为“1”,可表示电器设备处于网络连接状态,如果获取到的网络连接标识为“0”,则表示当前电器设备的网络状态为断开状态。The current state of the electrical device may be a network state, and the network state may be determined by reading a network connection identifier. The network connection identifier can be obtained by calling the network detection interface function, and the network connection identifier can be set in advance. If the network connection identifier is "0", it means that the current network status of the electrical device is disconnected.
S120、根据当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。S120. Select a current standby mode according to the current state, the standby mode includes an intelligent standby mode and a default standby mode. In the intelligent standby mode, the current electrical device in a black screen state has the function of receiving and uploading voice information.
其中,智能待机模式与网络处于连接状态相对应,默认待机模式是网络处于断开状态对应的待机模式,即如果电器设备的网络状态为连接状态,则选择智能待机模式作为当前待机模式;或者,如果电器设备的网络状态为断开状态,则选择默认待机模式作为当前待机模式。Among them, the intelligent standby mode corresponds to the network connected state, and the default standby mode is the standby mode corresponding to the network disconnected state, that is, if the network state of the electrical device is connected, the intelligent standby mode is selected as the current standby mode; or, If the network state of the electrical device is disconnected, the default standby mode is selected as the current standby mode.
其中,默认待机模式为电器设备出厂之前预先设置的待机模式。当电器设备处于默认待机模式时,只有待机指示灯发亮,电器设备的主板不工作,电器设备的各种功能,例如语音识别、显示图像和播放音频等均处于关闭状态。The default standby mode is a standby mode preset before the electrical equipment leaves the factory. When the electrical equipment is in the default standby mode, only the standby indicator lights up, the main board of the electrical equipment does not work, and various functions of the electrical equipment, such as voice recognition, displaying images and playing audio, are turned off.
由于默认待机模式功能较为单一,因此,本实施例中,在默认待机模式的基础上,增加了智能待机模式。当电器设备接收到待机指令时,如果当前电器设备的网络处于连接状态,则进入智能待机模式。此时,可通过调用待机应用接口函数,控制待机指示灯发亮,并关闭显示屏的背光、关闭信号输入、关闭声音通道,但保留语音识别通道正常工作,以保证能够正常接收用户输入的语音信息。Since the function of the default standby mode is relatively simple, in this embodiment, an intelligent standby mode is added on the basis of the default standby mode. When the electrical device receives the standby instruction, if the current network of the electrical device is in a connected state, it enters the smart standby mode. At this time, the standby application interface function can be called to control the standby indicator to light up, turn off the backlight of the display, turn off the signal input, and turn off the sound channel, but keep the voice recognition channel working normally to ensure that the voice input by the user can be received normally. information.
需要说明的是,国家对待机功耗明确规定的是在不连接外部设备时,待机功耗需小于0.5W,这里并不考虑连接网络所产生的功耗,因此,虽然本实施例提供的智能待机模式是在连接网络状态下进行工作的,但在该模式下,仍可满足功耗小于0.5W的要求。It should be noted that the state clearly stipulates that the standby power consumption should be less than 0.5W when the external device is not connected, and the power consumption generated by connecting to the network is not considered here. The standby mode works when connected to the network, but in this mode, the power consumption requirement of less than 0.5W can still be met.
还需要说明的是,无论是默认待机模式还是智能待机模式,只要检测到开机指令,则点亮电器设备的显示屏并开启各种功能。其中,开机指令可以由用户通过遥控器触发,或者也可以由用户发送包含有开机指示的语音信息。It should also be noted that, no matter it is the default standby mode or the smart standby mode, as long as a power-on command is detected, the display screen of the electrical device will be lit and various functions will be enabled. The power-on instruction may be triggered by the user through the remote control, or the user may send voice information including the power-on instruction.
本发明实施例的技术方案,当接收待机指令时,判断当前电器设备的当前状态,并根据当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。相对于现有技术中在默认待机模式下电器设备与用户无法进行语音交互的方案,本发明实施例的技术方案根据电器设备的当前状态可选择智能待机模式作为当前待机模式,并在智能待机模式下,电器设备可接收并上传用户的语音信息,以实现在待机状态下根据用户的语音信息完成对应的操作,提升了用户体验。According to the technical solution of the embodiment of the present invention, when a standby instruction is received, the current state of the current electrical device is judged, and the current standby mode is selected according to the current state. The standby mode includes an intelligent standby mode and a default standby mode. In the intelligent standby mode , the current electrical device in a black screen state has the function of receiving and uploading voice information. Compared with the solution in the prior art that the electrical device and the user cannot perform voice interaction in the default standby mode, the technical solution of the embodiment of the present invention can select the smart standby mode as the current standby mode according to the current state of the electrical device, and use the smart standby mode in the smart standby mode. In this case, the electrical equipment can receive and upload the user's voice information, so as to complete the corresponding operation according to the user's voice information in the standby state, thereby improving the user experience.
进一步的,电器设备的待机模式还可随着时间进行自动切换,具体可以为:当电器设备处于智能待机模式时,检测当前时间段是否处于设定时间段;如果处于设定时间段,则将智能待机模式切换为默认待机模式。这样设置可达到进一步节省功耗的效果。Further, the standby mode of the electrical equipment can also be automatically switched over time, specifically: when the electrical equipment is in the intelligent standby mode, detect whether the current time period is in the set time period; if it is in the set time period, then The smart standby mode is switched to the default standby mode. This setting can achieve the effect of further saving power consumption.
其中,设定时间段可以设置为晚上12点第二天凌晨6点,这样设置是考虑到用户在这段时间一般都处于休息状态,对电器设备的使用率较低,因此,在这段时间内,可将电器设备的待机模式自动切换为默认待机模式。如果当前时间不在设定时间段内,且电器设备当前处于默认待机模式时,可将当前默认待机模式自动切换为智能待机模式,以等待用户的语音输入或遥控命令的输入。Among them, the set time period can be set to 12:00 pm and 6:00 am the next day. This setting takes into account that users are generally resting during this period, and the utilization rate of electrical equipment is low. Therefore, during this period Inside, the standby mode of the electrical equipment can be automatically switched to the default standby mode. If the current time is not within the set time period, and the electrical device is currently in the default standby mode, the current default standby mode can be automatically switched to the smart standby mode to wait for the user's voice input or remote control command input.
实施例二Embodiment 2
图2为本发明实施例二提供的一种电器设备的控制方法的流程图,本实施例在上述实施例的基础上进行了优化,增加了在电器设备处于智能待机模式时进行语音识别的步骤,其中与上述实施例相同或相应的术语的解释在此不再赘述。参见图2,本实施例提供的方法包括:FIG. 2 is a flowchart of a control method for an electrical device according to Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiment, and the step of performing voice recognition when the electrical device is in a smart standby mode is added. , and the explanations of terms that are the same as or corresponding to the above-mentioned embodiments are not repeated here. Referring to FIG. 2, the method provided by this embodiment includes:
S210、当接收待机指令时,判断当前电器设备的网络状态。S210, when receiving the standby instruction, determine the current network state of the electrical device.
S220、如果网络状态为连接状态,则选择智能待机模式作为当前待机模式。S220. If the network state is the connected state, select the smart standby mode as the current standby mode.
S230、当电器设备处于智能待机模式时,如果获取到语音信息,则对语音信息进行预处理,并将预处理后的语音信息上传到服务器。S230: When the electrical device is in the intelligent standby mode, if the voice information is acquired, preprocess the voice information, and upload the preprocessed voice information to the server.
其中,对语音信息进行预处理,具体可以为:对语音信息进行增强和降噪处理,并将处理后的语音信息进行脉冲编码调制。The preprocessing of the voice information may specifically include: performing enhancement and noise reduction processing on the voice information, and performing pulse code modulation on the processed voice information.
进一步的,在对语音信息进行预处理之后,还可经过语音活动检测(VoiceActivity Detection,VAD),得到纯净的语音序列。Further, after the voice information is preprocessed, voice activity detection (VoiceActivity Detection, VAD) can also be performed to obtain a pure voice sequence.
示例性的,由于服务器中存储有大量的声学模型和上百条的词库,因此可利用声学模型和词库对语音序列进行语义识别。以电视机为例,当用户发送了“我要看XXX电影”时,通过电视机的麦克风阵列可获取到该语音信息,电视机内部模数转换器可将该语音信息转换为数字信号,然后可利用处理模块,例如DSP(Digital Signal Processing,信号数字化处理)芯片对转换后的数字信号进行预处理,并将预处理后的数字信号封装成数据包上传到服务器。服务器可以为云端语音识别服务器。该服务器可利用语音拆分、关键词提取和识别等技术,完成对语音信号的解析,并将解析后的语音命令或根据语音命令获取到的电影资源发送到电视机。Exemplarily, since a large number of acoustic models and hundreds of lexicons are stored in the server, the acoustic models and lexicons can be used to perform semantic recognition on speech sequences. Taking a TV as an example, when the user sends "I want to watch a XXX movie", the voice information can be obtained through the microphone array of the TV, and the internal analog-to-digital converter of the TV can convert the voice information into a digital signal, and then A processing module, such as a DSP (Digital Signal Processing, digital signal processing) chip, may be used to preprocess the converted digital signal, and the preprocessed digital signal may be packaged into data packets and uploaded to the server. The server may be a cloud speech recognition server. The server can use technologies such as voice splitting, keyword extraction and recognition to complete the analysis of the voice signal, and send the parsed voice commands or movie resources obtained according to the voice commands to the TV.
示例性的,若语音序列为简单语音序列构成,则可以在电视机本地直接进行语音识别,以获取识别得到的语音命令或是语音命令对应的资源。Exemplarily, if the speech sequence is composed of a simple speech sequence, speech recognition may be performed locally on the TV to obtain the recognized speech command or the resource corresponding to the speech command.
优选的,本实施例采用将采集到的语音信息上传到云端进行语义识别,从而减少本地语音识别的计算量,提升离线语音指令识别的准确性。Preferably, in this embodiment, the collected voice information is uploaded to the cloud for semantic recognition, thereby reducing the calculation amount of local voice recognition and improving the accuracy of offline voice command recognition.
S240、接收服务器对语音信息的识别结果,并根据识别结果控制当前电器设备进行相应的操作。S240: Receive the recognition result of the voice information by the server, and control the current electrical device to perform corresponding operations according to the recognition result.
本实施例中,根据识别结果控制电器设备进行相应的操作主要是开启了智能待机模式下电器设备的一些功能,例如显示功能、音频和视频的播放等功能。其中,上述功能的开启需配合电器设备的硬件来实现,例如可通过调用本地硬件接口函数,将某个待开启功能所对应的硬件模块的开关引脚的电平设置为高电平,以使硬件模块能够正常工作,以开启该硬件所能实现的功能。In this embodiment, controlling the electrical equipment to perform corresponding operations according to the identification results mainly enables some functions of the electrical equipment in the smart standby mode, such as display functions, audio and video playback and other functions. Among them, the opening of the above functions needs to be realized with the hardware of the electrical equipment. For example, the level of the switch pin of the hardware module corresponding to a function to be enabled can be set to a high level by calling the local hardware interface function, so that the The hardware module can work normally to enable the functions that the hardware can realize.
示例性的,根据识别结果控制当前电器设备进行相应的操作,具体包括:Exemplarily, controlling the current electrical device to perform corresponding operations according to the identification result, specifically including:
如果识别结果为播放音频信号,则保持当前电器设备的黑屏状态并控制当前电器设备的音频播放功能开启。If the recognition result is to play an audio signal, the black screen state of the current electrical device is maintained and the audio playback function of the current electrical device is controlled to be turned on.
需要说明的是,本实施例进行语音识别是在电器设备处于智能待机模式状态进行的。在该状态时,电器设备的语音功能开启,而显示功能以及音频播放等其他功能仍处于关闭状态。如果语音信息的识别结果为播放音频信号,此时,只需开启音频播放功能即可,为了节省功耗,无需开启其他功能,例如无需点亮电器设备的显示屏,即保持电器设备的黑屏状态并进行音频信号的播放。It should be noted that the voice recognition in this embodiment is performed when the electrical device is in the smart standby mode. In this state, the voice function of the electrical device is turned on, while the display function and other functions such as audio playback are still turned off. If the recognition result of the voice information is to play the audio signal, at this time, you only need to turn on the audio playback function. In order to save power consumption, there is no need to turn on other functions. And play the audio signal.
具体的,如果电器设备为电视机,则当电视机处于智能待机模式时,如果用户发送的播放音频的语音指令,则电视机可作为音箱来进行音频的播放。Specifically, if the electrical device is a TV, when the TV is in the smart standby mode, if the user sends a voice command to play audio, the TV can be used as a speaker to play audio.
示例性的,如果服务器发送的识别结果为播放视频信号,则点亮电器设备的显示屏,以开启显示功能,并播放视频。Exemplarily, if the identification result sent by the server is to play a video signal, the display screen of the electrical device is lit to enable the display function, and the video is played.
本实施例在上述实施例的基础上,在智能待机状态下,根据用户的语音指令开启电器设备的对应功能,并控制电器设备执行对应的操作,而无需先将电器设备切换为开机状态再根据识别结果进行对应的操作,达到了节省功耗的效果。On the basis of the above-mentioned embodiments, in the smart standby state, the present embodiment enables the corresponding functions of the electrical equipment according to the user's voice command, and controls the electrical equipment to perform corresponding operations, without first switching the electrical equipment to the power-on state and then according to the user's voice command. A corresponding operation is performed on the identification result, thereby achieving the effect of saving power consumption.
进一步的,用户还可通过向处于智能待机状态的电器设备发送语音指令,以控制家庭中的其他智能家居设备,例如可控制智能音箱、台灯或空调等进行模式切换、音量调节等。Further, the user can also control other smart home devices in the home by sending voice commands to the electrical device in the smart standby state, for example, it can control smart speakers, desk lamps or air conditioners for mode switching, volume adjustment, etc.
实施例三Embodiment 3
图3为本发明实施例三提供的一种电器设备的控制装置的结构框图,该状态包括:状态检测模块310和模式选择模块320。FIG. 3 is a structural block diagram of a control device for an electrical device according to Embodiment 3 of the present invention, and the state includes: a
其中,状态检测模块310,用于当接收待机指令时,判断当前电器设备的当前状态;Wherein, the
模式选择模块320,用于根据所述当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。The
本发明实施例的技术方案,当接收待机指令时,判断当前电器设备的当前状态,并根据当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。相对于现有技术中在默认待机模式下电器设备与用户无法进行语音交互的方案,本发明实施例的技术方案根据电器设备的当前状态可选择智能待机模式作为当前待机模式,并在智能待机模式下,电器设备可接收并上传用户的语音信息,以实现在待机状态下根据用户的语音信息完成对应的操作,提升了用户体验。According to the technical solution of the embodiment of the present invention, when a standby instruction is received, the current state of the current electrical device is judged, and the current standby mode is selected according to the current state. The standby mode includes an intelligent standby mode and a default standby mode. In the intelligent standby mode , the current electrical device in a black screen state has the function of receiving and uploading voice information. Compared with the solution in the prior art that the electrical device and the user cannot perform voice interaction in the default standby mode, the technical solution of the embodiment of the present invention can select the smart standby mode as the current standby mode according to the current state of the electrical device, and use the smart standby mode in the smart standby mode. In this case, the electrical equipment can receive and upload the user's voice information, so as to complete the corresponding operation according to the user's voice information in the standby state, thereby improving the user experience.
在上述实施例的基础上,所述当前状态包括网络状态;On the basis of the above embodiment, the current state includes a network state;
相应的,所述模式选择模块,具体用于:Correspondingly, the mode selection module is specifically used for:
如果所述网络状态为连接状态,则选择智能待机模式作为当前待机模式;或者,If the network state is the connected state, select the smart standby mode as the current standby mode; or,
如果所述网络状态为断开状态,则选择默认待机模式作为当前待机模式。If the network state is the disconnected state, the default standby mode is selected as the current standby mode.
在上述实施例的基础上,所述状态检测模块,具体用于:On the basis of the above embodiment, the state detection module is specifically used for:
通过调用网络检测接口函数,获取网络连接标识,并根据所述网络连接标识判断所述网络状态。The network connection identifier is obtained by calling the network detection interface function, and the network state is judged according to the network connection identifier.
在上述实施例的基础上,所述装置还包括:On the basis of the above embodiment, the device further includes:
语音信息上传模块,用于当电器设备处于智能待机模式时,如果获取到语音信息,则对所述语音信息进行预处理,并将预处理后的语音信息上传到服务器;a voice information uploading module, configured to preprocess the voice information if the electrical equipment is in the intelligent standby mode, and upload the preprocessed voice information to the server;
控制模块,用于接收服务器对所述语音信息的识别结果,并根据所述识别结果控制当前电器设备进行相应的操作。The control module is configured to receive the recognition result of the voice information by the server, and control the current electrical equipment to perform corresponding operations according to the recognition result.
在上述实施例的基础上,所述语音信息上传模块,具体用于:On the basis of the above embodiment, the voice information uploading module is specifically used for:
当电器设备处于智能待机模式时,如果获取到语音信息,则对所述语音信息进行增强和降噪处理,并将处理后的语音信息进行脉冲编码调制,并将调制后的语音信息上传到服务器。When the electrical equipment is in the intelligent standby mode, if the voice information is obtained, the voice information is enhanced and noise-reduced, the processed voice information is subjected to pulse code modulation, and the modulated voice information is uploaded to the server .
在上述实施例的基础上,所述控制模块,具体用于:On the basis of the above embodiment, the control module is specifically used for:
如果所述识别结果为播放音频信号,则保持当前电器设备的黑屏状态并控制当前电器设备的音频播放功能开启;或者,If the identification result is to play an audio signal, keep the black screen state of the current electrical device and control the audio playback function of the current electrical device to be turned on; or,
如果所述识别结果为播放视频信号,则点亮电器设备的显示屏,以开启显示功能。If the identification result is to play a video signal, the display screen of the electrical device is lit to enable the display function.
在上述实施例的基础上,所述装置还包括:On the basis of the above embodiment, the device further includes:
时间段检测模块,用于当电器设备处于智能待机模式时,检测当前时间段是否处于设定时间段;The time period detection module is used to detect whether the current time period is in the set time period when the electrical equipment is in the intelligent standby mode;
模式切换模块,用于如果当前时间段处于设定时间段,则将所述智能待机模式切换为所述默认待机模式。A mode switching module, configured to switch the smart standby mode to the default standby mode if the current time period is within a set time period.
本发明实施例所提供的电器设备的控制装置可执行本发明任意实施例所提供的电器设备的控制方法,具备执行方法相应的功能模块和有益效果。未在上述实施例中详尽描述的技术细节,可参见本发明任意实施例所提供的电器设备的控制方法。The control apparatus for electrical equipment provided by the embodiment of the present invention can execute the control method for electrical equipment provided by any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. For technical details that are not described in detail in the above embodiments, reference may be made to the control method of an electrical device provided by any embodiment of the present invention.
实施例四Embodiment 4
图4为本发明实施例四提供的一种电器设备的结构示意图。图4示出了适于用来实现本发明实施方式的示例性电器设备12的框图。图4显示的电器设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 4 is a schematic structural diagram of an electrical device according to Embodiment 4 of the present invention. FIG. 4 shows a block diagram of an exemplary
如图4所示,电器设备12以通用计算设备的形式表现。电器设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 4, the
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。
电器设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被电器设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。电器设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图4未显示,通常称为“硬盘驱动器”)。尽管图4中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/
电器设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该电器设备12交互的设备通信,和/或与使得该电器设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电器设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电器设备12的其它模块通信。应当明白,尽管图中未示出,可以结合电器设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如本发明任意实施例所提供的电器设备的控制方法,该方法包括:The
当接收待机指令时,判断当前电器设备的当前状态;When receiving the standby command, determine the current state of the current electrical equipment;
根据所述当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。The current standby mode is selected according to the current state. The standby mode includes an intelligent standby mode and a default standby mode. In the intelligent standby mode, the current electrical device in a black screen state has the function of receiving and uploading voice information.
实施例五Embodiment 5
本发明实施例五还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明任意实施例所提供的电器设备的控制方法,该方法包括:Embodiment 5 of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the control method for an electrical device provided by any embodiment of the present invention, and the method includes:
当接收待机指令时,判断当前电器设备的当前状态;When receiving the standby command, determine the current state of the current electrical equipment;
根据所述当前状态选择当前待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于黑屏状态的当前电器设备具有接收及上传语音信息的功能。The current standby mode is selected according to the current state. The standby mode includes an intelligent standby mode and a default standby mode. In the intelligent standby mode, the current electrical device in a black screen state has the function of receiving and uploading voice information.
本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. 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 foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium, including - but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811158676.8ACN109240107B (en) | 2018-09-30 | 2018-09-30 | Control method and device of electrical equipment, electrical equipment and medium |
| PCT/CN2018/123694WO2020062670A1 (en) | 2018-09-30 | 2018-12-26 | Method and apparatus for controlling electrical appliance, electrical appliance, and medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811158676.8ACN109240107B (en) | 2018-09-30 | 2018-09-30 | Control method and device of electrical equipment, electrical equipment and medium |
| Publication Number | Publication Date |
|---|---|
| CN109240107A CN109240107A (en) | 2019-01-18 |
| CN109240107Btrue CN109240107B (en) | 2022-07-19 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811158676.8AActiveCN109240107B (en) | 2018-09-30 | 2018-09-30 | Control method and device of electrical equipment, electrical equipment and medium |
| Country | Link |
|---|---|
| CN (1) | CN109240107B (en) |
| WO (1) | WO2020062670A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109831700B (en)* | 2019-02-02 | 2021-08-17 | 深圳创维-Rgb电子有限公司 | A standby mode switching method, device, electronic device and storage medium |
| CN111722534A (en)* | 2019-03-19 | 2020-09-29 | 佛山市顺德区美的电热电器制造有限公司 | Equipment control method, device, equipment and storage medium |
| US11550527B2 (en) | 2019-03-28 | 2023-01-10 | Hisense Visual Technology Co., Ltd. | Media file processing method for display device and display device |
| CN110022495B (en)* | 2019-03-28 | 2021-07-23 | 海信视像科技股份有限公司 | A method for pushing media files from a mobile terminal to a display device and the display device |
| CN110594974A (en)* | 2019-09-09 | 2019-12-20 | 珠海格力电器股份有限公司 | Air conditioner screen awakening method, air conditioner remote controller and air conditioner device |
| CN113938738A (en)* | 2020-06-29 | 2022-01-14 | 阿里巴巴集团控股有限公司 | Control method and system for display device, playing device and storage medium |
| CN111885407A (en)* | 2020-07-30 | 2020-11-03 | 深圳创维-Rgb电子有限公司 | Standby control method and device, smart television and readable storage medium |
| CN114125143B (en)* | 2020-08-31 | 2023-04-07 | 华为技术有限公司 | Voice interaction method and electronic equipment |
| CN112492393A (en)* | 2020-11-25 | 2021-03-12 | 海信视像科技股份有限公司 | Method for realizing MIC switch associated energy-saving mode and display equipment |
| CN114302238B (en)* | 2021-04-16 | 2023-09-19 | 海信视像科技股份有限公司 | Display method and display device for prompt information in sound box mode |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1429019A (en)* | 2001-12-18 | 2003-07-09 | 松下电器产业株式会社 | TV set with sound discrimination function and its control method |
| CN101478648A (en)* | 2008-10-17 | 2009-07-08 | 康佳集团股份有限公司 | Voice control method for television set |
| CN201594190U (en)* | 2009-12-31 | 2010-09-29 | 青岛海尔软件有限公司 | Intelligent home system |
| CN102748833A (en)* | 2012-07-13 | 2012-10-24 | 海尔集团公司 | Method, device and server for performing voice control on electric appliances |
| CN103425443A (en)* | 2012-05-22 | 2013-12-04 | 联想(北京)有限公司 | Control method, control system and electronic equipment |
| CN106331857A (en)* | 2016-08-30 | 2017-01-11 | 康佳集团股份有限公司 | Automatic control method and system for smart television |
| CN108231079A (en)* | 2018-02-01 | 2018-06-29 | 北京百度网讯科技有限公司 | For the method, apparatus, equipment and computer readable storage medium of control electronics |
| CN108282695A (en)* | 2018-01-08 | 2018-07-13 | 山东浪潮商用系统有限公司 | A kind of digital television control method, device, readable medium and storage control |
| CN108600796A (en)* | 2018-03-09 | 2018-09-28 | 百度在线网络技术(北京)有限公司 | Control mode switch method, equipment and the computer-readable medium of smart television |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20030034813A (en)* | 2001-10-27 | 2003-05-09 | 엘지전자 주식회사 | Projection TV and Telling Method of Waiting Period |
| CN102737497B (en)* | 2012-06-12 | 2018-09-21 | 康佳集团股份有限公司 | Remote controler, the system and method that voice control terminal device is standby, booting is converted |
| KR20140131093A (en)* | 2013-05-03 | 2014-11-12 | 삼성전자주식회사 | Method for recognizing for a voice an electronic device thereof |
| JP2015184563A (en)* | 2014-03-25 | 2015-10-22 | シャープ株式会社 | Interactive home appliance system, server device, interactive home appliance, method for home appliance system to perform dialogue, and program for realizing the method on a computer |
| CN107797460A (en)* | 2017-09-30 | 2018-03-13 | 陈银芳 | Home appliance voice control method and Related product based on intelligent sound box |
| CN108376543B (en)* | 2018-02-11 | 2021-07-13 | 深圳创维-Rgb电子有限公司 | A control method, device, device and storage medium for electrical equipment |
| CN108597507A (en)* | 2018-03-14 | 2018-09-28 | 百度在线网络技术(北京)有限公司 | Far field phonetic function implementation method, equipment, system and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1429019A (en)* | 2001-12-18 | 2003-07-09 | 松下电器产业株式会社 | TV set with sound discrimination function and its control method |
| CN101478648A (en)* | 2008-10-17 | 2009-07-08 | 康佳集团股份有限公司 | Voice control method for television set |
| CN201594190U (en)* | 2009-12-31 | 2010-09-29 | 青岛海尔软件有限公司 | Intelligent home system |
| CN103425443A (en)* | 2012-05-22 | 2013-12-04 | 联想(北京)有限公司 | Control method, control system and electronic equipment |
| CN102748833A (en)* | 2012-07-13 | 2012-10-24 | 海尔集团公司 | Method, device and server for performing voice control on electric appliances |
| CN106331857A (en)* | 2016-08-30 | 2017-01-11 | 康佳集团股份有限公司 | Automatic control method and system for smart television |
| CN108282695A (en)* | 2018-01-08 | 2018-07-13 | 山东浪潮商用系统有限公司 | A kind of digital television control method, device, readable medium and storage control |
| CN108231079A (en)* | 2018-02-01 | 2018-06-29 | 北京百度网讯科技有限公司 | For the method, apparatus, equipment and computer readable storage medium of control electronics |
| CN108600796A (en)* | 2018-03-09 | 2018-09-28 | 百度在线网络技术(北京)有限公司 | Control mode switch method, equipment and the computer-readable medium of smart television |
| Publication number | Publication date |
|---|---|
| CN109240107A (en) | 2019-01-18 |
| WO2020062670A1 (en) | 2020-04-02 |
| Publication | Publication Date | Title |
|---|---|---|
| CN109240107B (en) | Control method and device of electrical equipment, electrical equipment and medium | |
| CN109192208B (en) | A control method, system, device, device and medium for electrical equipment | |
| CN109658932B (en) | Equipment control method, device, equipment and medium | |
| CN111192591B (en) | Awakening method and device of intelligent equipment, intelligent sound box and storage medium | |
| JP6713035B2 (en) | Far-field voice function implementation method, equipment, system, storage medium, and program | |
| WO2020078300A1 (en) | Method for controlling screen projection of terminal and terminal | |
| CN111177453B (en) | Method, apparatus, device and computer readable storage medium for controlling audio playing | |
| CN107886944B (en) | Voice recognition method, device, equipment and storage medium | |
| CN112929246B (en) | Processing method of operation instruction, storage medium and user terminal | |
| CN108108142A (en) | Voice information processing method and device, terminal equipment and storage medium | |
| CN103731707A (en) | Method and system for controlling voice input of intelligent television end of mobile terminal | |
| US11948565B2 (en) | Combining device or assistant-specific hotwords in a single utterance | |
| CN111833857B (en) | Voice processing method, device and distributed system | |
| US20210201894A1 (en) | N/a | |
| CN108831477A (en) | A kind of audio recognition method, device, equipment and storage medium | |
| JP2021057878A (en) | Data processing method, apparatus, equipment, and storage medium for smart device | |
| CN114582333A (en) | Voice recognition method and device, electronic equipment and storage medium | |
| CN108231076A (en) | Voice control method, device, equipment and storage medium | |
| US9811305B2 (en) | Systems and methods for remote and local host-accessible management controller tunneled audio capability | |
| CN113157240A (en) | Voice processing method, device, equipment, storage medium and computer program product | |
| EP3745252B1 (en) | Voice control method and apparatus of electronic device, computer device and storage medium | |
| CN111916079B (en) | A voice response method, system, device and storage medium for electronic equipment | |
| CN111263100A (en) | Video call method, device, equipment and storage medium | |
| CN107343101A (en) | Method, device, equipment and storage medium for realizing directional recording | |
| CN114974238B (en) | Method, device, electronic device and storage medium for reducing resource consumption of intelligent voice device |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |