WO2020062670A1 - Method and apparatus for controlling electrical appliance, electrical appliance, and medium - Google Patents

Method and apparatus for controlling electrical appliance, electrical appliance, and medium Download PDF

Info

Publication number
WO2020062670A1
WO2020062670A1 PCT/CN2018/123694 CN2018123694W WO2020062670A1 WO 2020062670 A1 WO2020062670 A1 WO 2020062670A1 CN 2018123694 W CN2018123694 W CN 2018123694W WO 2020062670 A1 WO2020062670 A1 WO 2020062670A1
Authority
WO
WIPO (PCT)
Prior art keywords
standby mode
electrical device
state
voice information
electrical equipment
Prior art date
Application number
PCT/CN2018/123694
Other languages
French (fr)
Chinese (zh)
Inventor
赵新科
洪文生
李坚
Original Assignee
深圳创维-Rgb电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳创维-Rgb电子有限公司 filed Critical 深圳创维-Rgb电子有限公司
Publication of WO2020062670A1 publication Critical patent/WO2020062670A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present disclosure relates to the field of control technology, for example, to a method, a device, an electric device, and a medium for controlling an electric device.
  • the working modes of electrical equipment generally include a start-up mode and a standby mode.
  • a standby mode In the traditional standby mode, only the standby indicator of the electrical equipment is on, and other functions are in hibernation. Voice control can only be achieved when the electrical equipment is on. If the electrical equipment is in a traditional standby state, it cannot receive voice information from the user, and it cannot perform corresponding operations based on the voice information from the user.
  • the present disclosure provides a control method, a device, an electrical device, and a medium for an electrical device, so that the electrical device performs related operations according to a user's voice information in a standby state.
  • a method for controlling an electrical device comprising: determining a state of an electrical device when a standby instruction is received; and selecting a standby mode of the electrical device according to the status of the electrical device, the standby mode includes a smart standby mode And the default standby mode, in the smart standby mode, the electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
  • a control device for electrical equipment includes: a state detection module configured to determine the state of the electrical equipment when a standby instruction is received; and a mode selection module configured to select the electrical equipment according to the state of the electrical equipment
  • the standby mode includes a smart standby mode and a default standby mode. Under the smart standby mode, the electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
  • An electric device comprising: one or more processors; and a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, The one or more processors are caused to implement any of the control methods of the electrical equipment provided by the present disclosure.
  • a computer-readable storage medium has stored thereon a computer program that, when executed by a processor, implements any of the electrical device control methods provided by the present disclosure.
  • the state of the electrical equipment is determined, and a standby mode of the electrical equipment is selected according to the status of the electrical equipment.
  • the standby mode includes a smart standby mode and a default standby mode.
  • the electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
  • the technical solution provided by the present disclosure can select the intelligent standby mode as the current standby mode according to the current state of the electrical equipment, and The electrical equipment can receive and upload the user's voice information to achieve corresponding operations based on the user's voice information in the standby state, which improves the user experience.
  • FIG. 1 is a flowchart of a method for controlling an electrical device according to an embodiment
  • FIG. 2 is a flowchart of another method for controlling an electrical device according to an embodiment
  • FIG. 3 is a structural block diagram of a control device for an electrical device according to an embodiment
  • FIG. 4 is a schematic structural diagram of an electrical device according to an embodiment.
  • FIG. 1 is a flowchart of a method for controlling an electrical device according to this embodiment.
  • the method may be performed by the method for controlling an electrical device.
  • the device may be implemented by software and / or hardware.
  • the device may be integrated.
  • electrical equipment such as televisions, it can also be applied to other electronic products with voice control functions.
  • the method in this embodiment includes the following steps.
  • step 110 when a standby instruction is received, the state of the electrical equipment is determined.
  • the standby instruction may be sent by a user through a standby button of a remote control, and the user may also send voice information including a standby instruction to an electrical device to control the electrical device to switch the current mode to the standby mode.
  • the state of the electrical equipment can be a network state, and the network state can be determined by reading the network connection identifier.
  • the network connection identifier can be obtained by calling a network detection interface function, and the network connection identifier can be set in advance. For example, if the obtained network connection identifier is "1", it can indicate that the electrical equipment is in a network connection state.
  • the network connection identifier is "0", which means that the current network status of the electrical equipment is disconnected.
  • the standby mode of the electrical device is selected according to the state of the electrical device, the standby mode includes a smart standby mode and a default standby mode.
  • the electrical device in the off-screen state has the ability to receive voice information and upload voice Information function.
  • the smart standby mode is a standby mode corresponding to the network in a connected state
  • the default standby mode is a standby mode corresponding to the network in a disconnected state, that is, if the network status of the electrical device is connected, the smart standby mode is selected as the current standby Mode; or, if the network status of the electrical device is disconnected, select the default standby mode as the current standby mode.
  • the default standby mode is a standby mode preset before the electrical equipment leaves the factory.
  • the electrical equipment is in the default standby mode, only the standby indicator light is on, the main board of the electrical equipment is not working, and various functions of the electrical equipment, such as voice recognition, displaying images, and playing audio, are turned off.
  • a smart standby mode is added on the basis of the default standby mode.
  • the electrical device receives the standby instruction, if the current network of the electrical device is in the connected state, it enters the intelligent standby mode. At this time, you can control the standby indicator light by calling the standby application interface function, and turn off the backlight of the display, turn off the signal input, and turn off the sound channel, but leave the voice recognition channel to work normally to ensure that the user input voice can be received information.
  • the display screen of the electrical device is turned on and various functions are turned on.
  • the power-on instruction may be triggered by a user through a remote control, or the user may send a voice message including a power-on instruction.
  • the technical solution of this embodiment can select the intelligent standby mode as the current standby mode according to the state of the electrical equipment, and in the intelligent standby mode, the electrical equipment The device can receive and upload the user's voice information to achieve corresponding operations based on the user's voice information in the standby state, improving the user experience.
  • the standby mode of the electrical equipment can also be automatically switched over time. For example, when the electrical equipment is in the smart standby mode, it is detected whether the current time period is in a set time period; if it is in the set time period, , The smart standby mode is switched to the default standby mode. This setting can achieve the effect of saving power.
  • the set time period can be set to 12 pm and 6 am the next day. This setting takes into account that the user is generally in a rest state during this time, and the utilization rate of electrical equipment is low. Therefore, during this time , Can automatically switch the standby mode of the electrical equipment 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.
  • FIG. 2 is a flowchart of another method for controlling an electrical device according to this embodiment.
  • a step of performing voice recognition when the electrical device is in a smart standby mode is added to the above embodiment.
  • the explanation of the same or corresponding terms in the examples will not be repeated here.
  • the method provided in this embodiment includes the following steps.
  • step 210 when the standby instruction is received, the network status of the electrical device is determined.
  • step 220 if the network state is the connected state, the smart standby mode is selected as the standby mode of the electrical device.
  • step 230 when the electrical device is in the smart standby mode, if voice information is acquired, the voice information is pre-processed, and the pre-processed voice information is uploaded to the server.
  • the preprocessing of the voice information may include: performing enhanced processing and noise reduction processing on the voice information, and performing pulse code modulation on the processed voice information.
  • voice activity detection (Voice Activity Detection, VAD) can also be performed to obtain a pure voice sequence.
  • the acoustic model and thesaurus can be used for semantic recognition of the speech sequence.
  • 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 Digital Signal Processing (DSP) chip, can be used to pre-process the converted digital signal, and the pre-processed digital signal is packaged into a data packet and uploaded to the server.
  • DSP Digital Signal Processing
  • 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 command or the movie resource obtained according to the voice command to the television.
  • voice recognition can be performed directly on the television locally to obtain the recognized voice command or the resource corresponding to the voice command.
  • 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 instruction recognition.
  • step 240 the recognition result of the voice information by the server is received, and the electrical equipment is controlled to perform corresponding operations according to the recognition result.
  • controlling the electrical equipment to perform a corresponding operation according to the recognition result is to enable some functions of the electrical equipment in the smart standby mode, such as a display function, audio and video playback functions, and the like.
  • the activation of the above functions needs to be implemented with the hardware of the electrical equipment.
  • the level of the switch pin of the hardware module corresponding to a function to be activated can be set to a high level by calling a local hardware interface function, so that The hardware module can work normally to enable the functions that the hardware can achieve.
  • controlling the current electrical equipment to perform a corresponding operation according to the recognition result may include the following steps.
  • the recognition result is that the audio signal is played, the current off-screen state of the current electrical equipment is maintained and the audio playback function of the current electrical equipment is turned on to play the audio.
  • the voice recognition in this embodiment is performed when the electrical equipment is in a smart standby mode.
  • the voice function of the electrical device is turned on, while other functions such as the display function and audio playback are still turned off. If the recognition result of the voice information is the playback of audio signals, at this time, only the audio playback function needs to be turned on. In order to save power consumption, there is no need to turn on other functions, for example, it is not necessary to light up the display screen of the electrical equipment, that is, keep the electrical equipment off. Status and play the audio signal.
  • the electrical device is a television
  • the television when the television is in the smart standby mode, if the user sends a voice instruction to play audio, the television can be used as a speaker to play audio.
  • the display screen of the electrical device is turned on to enable the display function and play the video.
  • the corresponding function of the electrical equipment in the intelligent standby state, is turned on according to the user's voice instruction, and the electrical equipment is controlled to perform the corresponding operation, without the need to first switch the electrical equipment to the on state and then Recognize the results and perform corresponding operations to achieve the effect of saving power consumption.
  • the user can also control other smart home devices in the home by sending voice instructions to the electrical devices in the smart standby state, for example, they can control smart speakers, table lamps or air conditioners to switch modes, adjust volume, and so on.
  • FIG. 3 is a structural block diagram of a control device for an electrical device according to this embodiment.
  • the state includes a state detection module 310 and a mode selection module 320.
  • the status detection module 310 is configured to determine the status of the electrical equipment when a standby instruction is received.
  • the mode selection module 320 is configured to select a standby mode of the electrical device according to a state of the electrical device, the standby mode includes a smart standby mode and a default standby mode, and in the smart standby mode, an appliance in a screen-off state
  • the device has the functions of receiving voice information and uploading voice information.
  • the technical solution of this embodiment can select the intelligent standby mode as the current standby mode according to the current state of the electrical equipment, and in the intelligent standby mode, The electrical equipment can receive and upload the user's voice information to achieve corresponding operations based on the user's voice information in the standby state, improving the user experience.
  • the state includes a network state.
  • the mode selection module is further configured to select a smart standby mode as a standby mode of the electrical device if the network status is connected; or select a default if the network status is disconnected.
  • the standby mode is used as a standby mode of the electrical equipment.
  • the state detection module is configured to obtain a network connection identifier by calling a network detection interface function, and determine the network state of the electrical device according to the network connection identifier.
  • the device further includes the following modules.
  • the voice information uploading module is configured to preprocess the voice information when the electrical equipment is in the smart standby mode, and upload the preprocessed voice information to the server. as well as
  • the control module is configured to receive a recognition result of the voice information by the server, and control the electrical equipment to perform corresponding operations according to the recognition result.
  • the voice information uploading module is configured to: when the electrical equipment is in the smart standby mode, if voice information is obtained, perform enhanced processing and noise reduction processing on the voice information, and The processed voice information is pulse code modulated, and the modulated voice information is uploaded to the server.
  • control module is configured to: if the recognition result is an audio signal, maintain the off-screen state of the electrical equipment and control the audio playback function of the electrical equipment to be turned on to play the audio; Alternatively, if the recognition result is a video signal, the display screen of the electrical device is turned on to turn on the display function and play the video.
  • the device further includes the following modules.
  • the time period detection module is configured to detect whether the current time period is in a set time period when the electrical equipment is in a smart standby mode. as well as
  • the mode switching module is configured to switch the smart standby mode to the default standby mode if the current time period is in a set time period.
  • the control device for an electrical device provided in this embodiment can execute any control method for an electrical device provided in the present disclosure, and has a function module and a beneficial effect corresponding to the execution method.
  • FIG. 4 is a schematic structural diagram of an electrical device according to this embodiment.
  • FIG. 4 illustrates a block diagram of an exemplary electrical device 12 suitable for use in implementing embodiments of the present disclosure.
  • the electrical device 12 shown in FIG. 4 is merely an example.
  • the electric device 12 is represented in the form of a general-purpose computing device.
  • the components of the electrical device 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
  • the bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local area bus using any of a variety of bus structures.
  • bus structures include, for example, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus .
  • the electrical device 12 may include a variety of computer system-readable media. These media can be any available media that can be accessed by the electrical device 12, including volatile and non-volatile media, removable and non-removable media.
  • the system memory 28 may include a computer system readable medium in the form of volatile memory, such as at least one of a random access memory (RAM) 30 and a cache memory 32.
  • the electrical device 12 may include other removable / non-removable, volatile / nonvolatile computer system storage media.
  • the storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 4 and is commonly referred to as a "hard drive").
  • a disk drive for reading and writing to a removable non-volatile disk (for example, a “floppy disk”), and a removable non-volatile optical disk (for example, CD-ROM, DVD-ROM) Or other optical media).
  • each drive may be connected to the bus 18 through one or more data medium interfaces.
  • the memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of the above-described embodiments of the present disclosure.
  • a program / utility tool 40 having a set (at least one) of program modules 42 may be stored in, for example, the memory 28.
  • Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data Each of these examples, or some combination, may include an implementation of a network environment.
  • the program module 42 generally performs at least one of the functions and methods in the embodiments described in the present disclosure.
  • the electrical device 12 may also communicate with one or more external devices 14 (such as a keyboard, pointing device, display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the electrical device 12, and / or with Any device (such as a network card, modem, etc.) that enables the electrical device 12 to communicate with one or more other computing devices. This communication can be performed through an input / output (I / O) interface 22.
  • the electrical device 12 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electrical device 12 through the bus 18.
  • LAN local area network
  • WAN wide area network
  • public network such as the Internet
  • the processing unit 16 executes a variety of functional applications and data processing by running a program stored in the system memory 28, such as a control method of any electrical device provided by the present disclosure.
  • the method may include the following steps.
  • the standby mode includes a smart standby mode and a default standby mode, in which the smart standby mode is in The electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
  • This embodiment also provides a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the method for controlling any electrical device provided in this embodiment is implemented.
  • the method may include the following steps.
  • the standby mode includes a smart standby mode and a default standby mode, in which the smart standby mode is in The electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
  • the computer storage medium of this embodiment may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, which carries a computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio frequency RF, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including programming languages such as Java, Smalltalk, C ++, and also conventional Procedural programming language-such as "C" or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider Internet connection such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method and apparatus for controlling an electrical appliance (12), an electrical appliance (12), and a medium. The method comprises: determining a state of the electrical appliance (12) when receiving a standby instruction (110); and selecting a standby mode according to the state of the electrical appliance (12), the standby mode comprising an intelligent standby mode and a default standby mode, and in the intelligent standby mode, the electrical appliance (12) in a black screen state having the function of receiving and uploading voice information (120).

Description

电器设备的控制方法、装置、电器设备和介质Control method and device for electric equipment, electric equipment and medium
本公开要求申请日为2018年9月30日、申请号为201811158676.8的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application with a filing date of September 30, 2018 and an application number of 201811158676.8, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本公开涉及控制技术领域,例如涉及一种电器设备的控制方法、装置、电器设备和介质。The present disclosure relates to the field of control technology, for example, to a method, a device, an electric device, and a medium for controlling an electric device.
背景技术Background technique
随着科学技术的发展,电器设备智能化和人性化已经是人们普遍关注的问题,尤其是将语音识别技术应用于电器设备中,为电器设备的智能化和人性化为人们的操作提供了便利。With the development of science and technology, the intelligentization and humanization of electrical equipment has become a common concern, especially the application of speech recognition technology to electrical equipment, which has facilitated the intelligentization and humanization of electrical equipment and facilitated the operation of people. .
电器设备的工作模式一般包括开机模式和待机模式。在传统待机模式下,电器设备只有待机指示灯发亮,其他功能都处于休眠状态。只有当电器设备处于开机状态时才可实现语音控制。如果电器设备处于传统的待机状态,则无法接收用户发出的语音信息,更不能根据用户发出的语音信息进行相应的操作。The working modes of electrical equipment generally include a start-up mode and a standby mode. In the traditional standby mode, only the standby indicator of the electrical equipment is on, and other functions are in hibernation. Voice control can only be achieved when the electrical equipment is on. If the electrical equipment is in a traditional standby state, it cannot receive voice information from the user, and it cannot perform corresponding operations based on the voice information from the user.
发明内容Summary of the Invention
本公开提供一种电器设备的控制方法、装置、电器设备和介质,以实现电器设备在待机状态下根据用户的语音信息进行相关操作。The present disclosure provides a control method, a device, an electrical device, and a medium for an electrical device, so that the electrical device performs related operations according to a user's voice information in a standby state.
一种电器设备的控制方法,该方法包括:当接收到待机指令时,判断电器设备的状态;以及根据所述电器设备的状态选择所述电器设备的待机模式,所 述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于关屏状态的电器设备具有接收语音信息及上传语音信息的功能。A method for controlling an electrical device, the method comprising: determining a state of an electrical device when a standby instruction is received; and selecting a standby mode of the electrical device according to the status of the electrical device, the standby mode includes a smart standby mode And the default standby mode, in the smart standby mode, the electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
一种电器设备的控制装置,该装置包括:状态检测模块,设置为当接收到待机指令时,判断电器设备的状态;以及模式选择模块,设置为根据所述电器设备的状态选择所述电器设备的待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于关屏状态的电器设备具有接收语音信息及上传语音信息的功能。A control device for electrical equipment, the device includes: a state detection module configured to determine the state of the electrical equipment when a standby instruction is received; and a mode selection module configured to select the electrical equipment according to the state of the electrical equipment The standby mode includes a smart standby mode and a default standby mode. Under the smart standby mode, the electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
一种电器设备,所述电器设备包括:一个或多个处理器;以及存储装置,设置为存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开所提供的任意所述的电器设备的控制方法。An electric device comprising: one or more processors; and a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, The one or more processors are caused to implement any of the control methods of the electrical equipment provided by the present disclosure.
一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开所提供的任意所述的电器设备的控制方法。A computer-readable storage medium has stored thereon a computer program that, when executed by a processor, implements any of the electrical device control methods provided by the present disclosure.
本公开的技术方案,当接收到待机指令时,判断电器设备的状态,并根据电器设备的状态选择电器设备的待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于关屏状态的电器设备具有接收语音信息及上传语音信息的功能。相对于相关技术中在默认待机模式下电器设备与用户无法进行语音交互的方案,本公开提供的的技术方案根据电器设备的当前状态可选择智能待机模式作为当前待机模式,并在智能待机模式下,电器设备可接收并上传用户的语音信息,以实现在待机状态下根据用户的语音信息完成对应的操作,提升了用户体验。According to the technical solution of the present disclosure, when a standby instruction is received, the state of the electrical equipment is determined, and a standby mode of the electrical equipment is selected according to the status of the electrical equipment. The standby mode includes a smart standby mode and a default standby mode. In the mode, the electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information. Relative to the related art solutions in which the electrical equipment cannot perform voice interaction with the user in the default standby mode, the technical solution provided by the present disclosure can select the intelligent standby mode as the current standby mode according to the current state of the electrical equipment, and The electrical equipment can receive and upload the user's voice information to achieve corresponding operations based on the user's voice information in the standby state, which improves the user experience.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为一实施例提供的一种电器设备的控制方法的流程图;FIG. 1 is a flowchart of a method for controlling an electrical device according to an embodiment; FIG.
图2为一实施例提供的另一种电器设备的控制方法的流程图;FIG. 2 is a flowchart of another method for controlling an electrical device according to an embodiment; FIG.
图3为一实施例提供的一种电器设备的控制装置的结构框图;3 is a structural block diagram of a control device for an electrical device according to an embodiment;
图4为一实施例提供的一种电器设备的结构示意图。FIG. 4 is a schematic structural diagram of an electrical device according to an embodiment.
具体实施方式detailed description
下面结合附图和实施例对本公开进行说明。The disclosure is described below with reference to the drawings and embodiments.
图1为本实施例提供的一种电器设备的控制方法的流程图,该方法可以由电器设备的控制方法来执行,该装置可以通过软件和/或硬件的方式实现,例如,该装置可以集成在如电视机等电器设备中,也可应用于其他具有语音控制功能的电子产品中。参见图1,本实施例的方法包括如下步骤。FIG. 1 is a flowchart of a method for controlling an electrical device according to this embodiment. The method may be performed by the method for controlling an electrical device. The device may be implemented by software and / or hardware. For example, the device may be integrated. In electrical equipment such as televisions, it can also be applied to other electronic products with voice control functions. Referring to FIG. 1, the method in this embodiment includes the following steps.
在步骤110中,当接收到待机指令时,判断电器设备的状态。In step 110, when a standby instruction is received, the state of the electrical equipment is determined.
其中,待机指令可由用户通过遥控器的待机按钮来发送,用户也可向电器设备发送包含有待机指示的语音信息,以控制电器设备将当前模式切换为待机模式。The standby instruction may be sent by a user through a standby button of a remote control, and the user may also send voice information including a standby instruction to an electrical device to control the electrical device to switch the current mode to the standby mode.
其中,电器设备的状态可以为网络状态,网络状态可通过读取网络连接标识来进行判断。其中,网络连接标识可通过调用网络检测接口函数来获取,网络连接标识可预先进行设置,例如,如果获取到的网络连接标识为“1”,可表示电器设备处于网络连接状态,如果获取到的网络连接标识为“0”,则表示当前电器设备的网络状态为断开状态。The state of the electrical equipment can be a network state, and the network state can be determined by reading the network connection identifier. The network connection identifier can be obtained by calling a network detection interface function, and the network connection identifier can be set in advance. For example, if the obtained network connection identifier is "1", it can indicate that the electrical equipment is in a network connection state. The network connection identifier is "0", which means that the current network status of the electrical equipment is disconnected.
在步骤120中,根据电器设备的状态选择电器设备的待机模式,所述待机模式包括智能待机模式和默认待机模式,在智能待机模式下,处于关屏状态的电器设备具有接收语音信息及上传语音信息的功能。In step 120, the standby mode of the electrical device is selected according to the state of the electrical device, the standby mode includes a smart standby mode and a default standby mode. In the smart standby mode, the electrical device in the off-screen state has the ability to receive voice information and upload voice Information function.
其中,智能待机模式是与网络处于连接状态相对应的待机模式,默认待机模式是网络处于断开状态对应的待机模式,即如果电器设备的网络状态为连接状态,则选择智能待机模式作为当前待机模式;或者,如果电器设备的网络状态为断开状态,则选择默认待机模式作为当前待机模式。Among them, the smart standby mode is a standby mode corresponding to the network in a connected state, and the default standby mode is a standby mode corresponding to the network in a disconnected state, that is, if the network status of the electrical device is connected, the smart standby mode is selected as the current standby Mode; or, if the network status of the electrical device is disconnected, select the default standby mode 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 light is on, the main board of the electrical equipment is not working, and various functions of the electrical equipment, such as voice recognition, displaying images, and playing audio, are turned off.
由于默认待机模式功能较为单一,因此,本实施例中,在默认待机模式的基础上,增加了智能待机模式。当电器设备接收到待机指令时,如果当前电器设备的网络处于连接状态,则进入智能待机模式。此时,可通过调用待机应用接口函数,控制待机指示灯发亮,并关闭显示屏的背光、关闭信号输入、关闭声音通道,但保留语音识别通道正常工作,以保证能够正常接收用户输入的语音信息。Since the default standby mode function is relatively single, in this embodiment, a smart 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 the connected state, it enters the intelligent standby mode. At this time, you can control the standby indicator light by calling the standby application interface function, and turn off the backlight of the display, turn off the signal input, and turn off the sound channel, but leave the voice recognition channel to work normally to ensure that the user input voice can be received information.
此外,无论是默认待机模式还是智能待机模式,只要检测到开机指令,则点亮电器设备的显示屏并开启多种功能。其中,开机指令可以由用户通过遥控器触发,或者也可以由用户发送包含有开机指示的语音信息。In addition, whether it is the default standby mode or the smart standby mode, as long as a power-on instruction is detected, the display screen of the electrical device is turned on and various functions are turned on. The power-on instruction may be triggered by a user through a remote control, or the user may send a voice message including a power-on instruction.
相对于相关技术中在默认待机模式下电器设备与用户无法进行语音交互的方案,本实施例的技术方案根据电器设备的状态可选择智能待机模式作为当前待机模式,并在智能待机模式下,电器设备可接收并上传用户的语音信息,以实现在待机状态下根据用户的语音信息完成对应的操作,提升了用户体验。Compared with the related art solution in which the electrical equipment cannot perform voice interaction with the user in the default standby mode, the technical solution of this embodiment can select the intelligent standby mode as the current standby mode according to the state of the electrical equipment, and in the intelligent standby mode, the electrical equipment The device can receive and upload the user's voice information to achieve corresponding operations based on the user's voice information in the standby state, improving the user experience.
在一实施例中,电器设备的待机模式还可随着时间进行自动切换,例如可以为:当电器设备处于智能待机模式时,检测当前时间段是否处于设定时间段;如果处于设定时间段,则将智能待机模式切换为默认待机模式。这样设置可达 到节省功耗的效果。In an embodiment, the standby mode of the electrical equipment can also be automatically switched over time. For example, when the electrical equipment is in the smart standby mode, it is detected whether the current time period is in a set time period; if it is in the set time period, , The smart standby mode is switched to the default standby mode. This setting can achieve the effect of saving power.
其中,设定时间段可以设置为晚上12点第二天凌晨6点,这样设置是考虑到用户在这段时间一般处于休息状态,对电器设备的使用率较低,因此,在这段时间内,可将电器设备的待机模式自动切换为默认待机模式。如果当前时间不在设定时间段内,且电器设备当前处于默认待机模式时,可将当前默认待机模式自动切换为智能待机模式,以等待用户的语音输入或遥控命令的输入。Among them, the set time period can be set to 12 pm and 6 am the next day. This setting takes into account that the user is generally in a rest state during this time, and the utilization rate of electrical equipment is low. Therefore, during this time , Can automatically switch the standby mode of the electrical equipment 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.
图2为本实施例提供的另一种电器设备的控制方法的流程图,本实施例在上述实施例的基础上增加了在电器设备处于智能待机模式时进行语音识别的步骤,其中与上述实施例相同或相应的术语的解释在此不再赘述。参见图2,本实施例提供的方法包括以下步骤。FIG. 2 is a flowchart of another method for controlling an electrical device according to this embodiment. In this embodiment, a step of performing voice recognition when the electrical device is in a smart standby mode is added to the above embodiment. The explanation of the same or corresponding terms in the examples will not be repeated here. Referring to FIG. 2, the method provided in this embodiment includes the following steps.
在步骤210中,当接收到待机指令时,判断电器设备的网络状态。In step 210, when the standby instruction is received, the network status of the electrical device is determined.
在步骤220中、如果网络状态为连接状态,则选择智能待机模式作为电器设备的待机模式。In step 220, if the network state is the connected state, the smart standby mode is selected as the standby mode of the electrical device.
在步骤230中,当电器设备处于智能待机模式时,如果获取到语音信息,则对语音信息进行预处理,并将预处理后的语音信息上传到服务器。In step 230, when the electrical device is in the smart standby mode, if voice information is acquired, the voice information is pre-processed, and the pre-processed voice information is uploaded to the server.
其中,对语音信息进行预处理,可以为:对语音信息进行增强处理和降噪处理,并将处理后的语音信息进行脉冲编码调制。The preprocessing of the voice information may include: performing enhanced processing and noise reduction processing on the voice information, and performing pulse code modulation on the processed voice information.
在一实施例中,在对语音信息进行预处理之后,还可经过语音活动检测(Voice Activity Detection,VAD),得到纯净的语音序列。In one embodiment, after pre-processing the voice information, voice activity detection (Voice Activity Detection, VAD) can also be performed to obtain a pure voice sequence.
示例性的,由于服务器中存储有大量的声学模型和上百条的词库,因此可利用声学模型和词库对语音序列进行语义识别。以电视机为例,当用户发送了“我要看XXX电影”时,通过电视机的麦克风阵列可获取到该语音信息,电视机 内部模数转换器可将该语音信息转换为数字信号,然后可利用处理模块,例如信号数字化处理(Digital Signal Processing,DSP)芯片对转换后的数字信号进行预处理,并将预处理后的数字信号封装成数据包上传到服务器。服务器可以为云端语音识别服务器。该服务器可利用语音拆分、关键词提取和识别等技术,完成对语音信号的解析,并将解析后的语音命令或根据语音命令获取到的电影资源发送到电视机。Exemplarily, since a large number of acoustic models and hundreds of thesaurus are stored in the server, the acoustic model and thesaurus can be used for semantic recognition of the speech sequence. Take the TV as an example, when the user sends "I want to watch 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 Digital Signal Processing (DSP) chip, can be used to pre-process the converted digital signal, and the pre-processed digital signal is packaged into a data packet 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 command or the movie resource obtained according to the voice command to the television.
示例性的,若语音序列为简单语音序列构成,则可以在电视机本地直接进行语音识别,以获取识别得到的语音命令或是语音命令对应的资源。Exemplarily, if the voice sequence is composed of a simple voice sequence, voice recognition can be performed directly on the television locally to obtain the recognized voice command or the resource corresponding to the voice command.
本实施例将采集到的语音信息上传到云端进行语义识别,从而减少本地语音识别的计算量,提升离线语音指令识别的准确性。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 instruction recognition.
在步骤240中,接收服务器对语音信息的识别结果,并根据识别结果控制电器设备进行相应的操作。In step 240, the recognition result of the voice information by the server is received, and the electrical equipment is controlled to perform corresponding operations according to the recognition result.
本实施例中,根据识别结果控制电器设备进行相应的操作是开启了智能待机模式下电器设备的一些功能,例如显示功能、音频和视频的播放等功能。其中,上述功能的开启需配合电器设备的硬件来实现,例如可通过调用本地硬件接口函数,将某个待开启功能所对应的硬件模块的开关引脚的电平设置为高电平,以使硬件模块能够正常工作,以开启该硬件所能实现的功能。In this embodiment, controlling the electrical equipment to perform a corresponding operation according to the recognition result is to enable some functions of the electrical equipment in the smart standby mode, such as a display function, audio and video playback functions, and the like. The activation of the above functions needs to be implemented 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 activated can be set to a high level by calling a local hardware interface function, so that The hardware module can work normally to enable the functions that the hardware can achieve.
示例性的,根据识别结果控制当前电器设备进行相应的操作,可以包括以下步骤。Exemplarily, controlling the current electrical equipment to perform a corresponding operation according to the recognition result may include the following steps.
如果识别结果为播放音频信号,则保持当前电器设备的关屏状态并控制当前电器设备的音频播放功能开启,播放所述音频。If the recognition result is that the audio signal is played, the current off-screen state of the current electrical equipment is maintained and the audio playback function of the current electrical equipment is turned on to play the audio.
本实施例进行语音识别是在电器设备处于智能待机模式状态进行的。在智能待机模式状态时,电器设备的语音功能开启,而显示功能以及音频播放等其 他功能仍处于关闭状态。如果语音信息的识别结果为播放音频信号,此时,只需开启音频播放功能即可,为了节省功耗,无需开启其他功能,例如无需点亮电器设备的显示屏,即保持电器设备的关屏状态并进行音频信号的播放。The voice recognition in this embodiment is performed when the electrical equipment is in a smart standby mode. In the smart standby mode, the voice function of the electrical device is turned on, while other functions such as the display function and audio playback are still turned off. If the recognition result of the voice information is the playback of audio signals, at this time, only the audio playback function needs to be turned on. In order to save power consumption, there is no need to turn on other functions, for example, it is not necessary to light up the display screen of the electrical equipment, that is, keep the electrical equipment off. Status and play the audio signal.
在一实施例中,如果电器设备为电视机,则当电视机处于智能待机模式时,如果用户发送的播放音频的语音指令,则电视机可作为音箱来进行音频的播放。In an embodiment, if the electrical device is a television, when the television is in the smart standby mode, if the user sends a voice instruction to play audio, the television can be used as a speaker to play audio.
示例性的,如果服务器发送的识别结果为播放视频信号,则点亮电器设备的显示屏,以开启显示功能,并播放视频。Exemplarily, if the recognition result sent by the server is a video signal, the display screen of the electrical device is turned on to enable the display function and play the video.
本实施例在上述实施例的基础上,在智能待机状态下,根据用户的语音指令开启电器设备的对应功能,并控制电器设备执行对应的操作,而无需先将电器设备切换为开机状态再根据识别结果进行对应的操作,达到了节省功耗的效果。Based on the above embodiment, in this embodiment, in the intelligent standby state, the corresponding function of the electrical equipment is turned on according to the user's voice instruction, and the electrical equipment is controlled to perform the corresponding operation, without the need to first switch the electrical equipment to the on state and then Recognize the results and perform corresponding operations to achieve the effect of saving power consumption.
在一实施例中,用户还可通过向处于智能待机状态的电器设备发送语音指令,以控制家庭中的其他智能家居设备,例如可控制智能音箱、台灯或空调等进行模式切换、音量调节等。In one embodiment, the user can also control other smart home devices in the home by sending voice instructions to the electrical devices in the smart standby state, for example, they can control smart speakers, table lamps or air conditioners to switch modes, adjust volume, and so on.
图3为本实施例提供的一种电器设备的控制装置的结构框图,该状态包括:状态检测模块310和模式选择模块320。FIG. 3 is a structural block diagram of a control device for an electrical device according to this embodiment. The state includes a state detection module 310 and a mode selection module 320.
其中,状态检测模块310,设置为当接收到待机指令时,判断电器设备的状态。The status detection module 310 is configured to determine the status of the electrical equipment when a standby instruction is received.
模式选择模块320,设置为根据所述电器设备的状态选择所述电器设备的待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于关屏状态的电器设备具有接收语音信息及上传语音信息的功能。The mode selection module 320 is configured to select a standby mode of the electrical device according to a state of the electrical device, the standby mode includes a smart standby mode and a default standby mode, and in the smart standby mode, an appliance in a screen-off state The device has the functions of receiving voice information and uploading voice information.
相对于相关技术中在默认待机模式下电器设备与用户无法进行语音交互的 方案,本实施例的技术方案根据电器设备的当前状态可选择智能待机模式作为当前待机模式,并在智能待机模式下,电器设备可接收并上传用户的语音信息,以实现在待机状态下根据用户的语音信息完成对应的操作,提升了用户体验。Compared with the related art solution that the electrical equipment cannot perform voice interaction with the user in the default standby mode, the technical solution of this embodiment can select the intelligent standby mode as the current standby mode according to the current state of the electrical equipment, and in the intelligent standby mode, The electrical equipment can receive and upload the user's voice information to achieve corresponding operations based on the user's voice information in the standby state, improving the user experience.
在上述实施例的基础上,所述状态包括网络状态。On the basis of the above embodiment, the state includes a network state.
相应的,所述模式选择模块,还设置:如果所述网络状态为连接状态,则选择智能待机模式作为所述电器设备的待机模式;或者,如果所述网络状态为断开状态,则选择默认待机模式作为所述电器设备的待机模式。Correspondingly, the mode selection module is further configured to select a smart standby mode as a standby mode of the electrical device if the network status is connected; or select a default if the network status is disconnected. The standby mode is used as a standby mode of the electrical equipment.
在上述实施例的基础上,所述状态检测模块,是设置为:通过调用网络检测接口函数,获取网络连接标识,并根据所述网络连接标识判断所述电器设备的网络状态。Based on the above embodiment, the state detection module is configured to obtain a network connection identifier by calling a network detection interface function, and determine the network state of the electrical device according to the network connection identifier.
在上述实施例的基础上,所述装置还包括以下模块。Based on the above embodiments, the device further includes the following modules.
语音信息上传模块,设置为当电器设备处于智能待机模式时,如果获取到语音信息,则对所述语音信息进行预处理,并将预处理后的语音信息上传到服务器。以及The voice information uploading module is configured to preprocess the voice information when the electrical equipment is in the smart standby mode, and upload the preprocessed voice information to the server. as well as
控制模块,设置为接收服务器对所述语音信息的识别结果,并根据所述识别结果控制电器设备进行相应的操作。The control module is configured to receive a recognition result of the voice information by the server, and control the electrical equipment to perform corresponding operations according to the recognition result.
在上述实施例的基础上,所述语音信息上传模块,是设置为:当电器设备处于智能待机模式时,如果获取到语音信息,则对所述语音信息进行增强处理和降噪处理,并将处理后的语音信息进行脉冲编码调制,并将调制后的语音信息上传到服务器。Based on the above embodiment, the voice information uploading module is configured to: when the electrical equipment is in the smart standby mode, if voice information is obtained, perform enhanced processing and noise reduction processing on the voice information, and The processed voice information is pulse code modulated, and the modulated voice information is uploaded to the server.
在上述实施例的基础上,所述控制模块,是设置为:如果所述识别结果为播放音频信号,则保持电器设备的关屏状态并控制电器设备的音频播放功能开启,播放所述音频;或者,如果所述识别结果为播放视频信号,则点亮电器设 备的显示屏,以开启显示功能,播放所述视频。On the basis of the above embodiment, the control module is configured to: if the recognition result is an audio signal, maintain the off-screen state of the electrical equipment and control the audio playback function of the electrical equipment to be turned on to play the audio; Alternatively, if the recognition result is a video signal, the display screen of the electrical device is turned on to turn on the display function and play the video.
在上述实施例的基础上,所述装置还包括以下模块。Based on the above embodiments, the device further includes the following modules.
时间段检测模块,设置为当电器设备处于智能待机模式时,检测当前时间段是否处于设定时间段。以及The time period detection module is configured to detect whether the current time period is in a set time period when the electrical equipment is in a smart standby mode. as well as
模式切换模块,设置为如果当前时间段处于设定时间段,则将所述智能待机模式切换为所述默认待机模式。The mode switching module is configured to switch the smart standby mode to the default standby mode if the current time period is in a set time period.
本实施例所提供的电器设备的控制装置可执行本公开所提供的任一电器设备的控制方法,具备执行方法相应的功能模块和有益效果。The control device for an electrical device provided in this embodiment can execute any control method for an electrical device provided in the present disclosure, and has a function module and a beneficial effect corresponding to the execution method.
图4为本实施例提供的一种电器设备的结构示意图。图4示出了适于用来实现本公开实施方式的示例性电器设备12的框图。图4显示的电器设备12仅仅是一个示例。FIG. 4 is a schematic structural diagram of an electrical device according to this embodiment. FIG. 4 illustrates a block diagram of an exemplary electrical device 12 suitable for use in implementing embodiments of the present disclosure. The electrical device 12 shown in FIG. 4 is merely an example.
如图4所示,电器设备12以通用计算设备的形式表现。电器设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 4, the electric device 12 is represented in the form of a general-purpose computing device. The components of the electrical device 12 may include, but are not limited to, one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。The bus 18 represents one or more of several types of bus structures, including a memory bus or a memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local area bus using any of a variety of bus structures. These architectures include, for example, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus .
电器设备12可以包括多种计算机系统可读介质。这些介质可以是任何能够被电器设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。The electrical device 12 may include a variety of computer system-readable media. These media can be any available media that can be accessed by the electrical device 12, including volatile and non-volatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和高速缓存存储器32中的至少之一。电器设备12可以包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图4未显示,通常称为“硬盘驱动器”)。尽管图4中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本公开上述实施例的功能。The system memory 28 may include a computer system readable medium in the form of volatile memory, such as at least one of a random access memory (RAM) 30 and a cache memory 32. The electrical device 12 may include other removable / non-removable, volatile / nonvolatile computer system storage media. For example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 4 and is commonly referred to as a "hard drive"). Although not shown in FIG. 4, a disk drive for reading and writing to a removable non-volatile disk (for example, a “floppy disk”), and a removable non-volatile optical disk (for example, CD-ROM, DVD-ROM) Or other optical media). In these cases, each drive may be connected to the bus 18 through one or more data medium interfaces. The memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of the above-described embodiments of the present disclosure.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如存储器28中,这样的程序模块42包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本公开所描述的实施例中的功能和方法中的至少之一。A program / utility tool 40 having a set (at least one) of program modules 42 may be stored in, for example, the memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data Each of these examples, or some combination, may include an implementation of a network environment. The program module 42 generally performs at least one of the functions and methods in the embodiments described in the present disclosure.
电器设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该电器设备12交互的设备通信,和/或与使得该电器设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,电器设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与电器设备12的其它模块通信。应当明白,尽管图中未示出,可以结合 电器设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、独立磁盘冗余阵列(Redundant Array of Independent Disks,RAID)系统、磁带驱动器以及数据备份存储系统等。The electrical device 12 may also communicate with one or more external devices 14 (such as a keyboard, pointing device, display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the electrical device 12, and / or with Any device (such as a network card, modem, etc.) that enables the electrical device 12 to communicate with one or more other computing devices. This communication can be performed through an input / output (I / O) interface 22. In addition, the electrical device 12 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electrical device 12 through the bus 18. It should be understood that although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electrical device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, and independent disk redundant arrays (Redundant Array of Independent Disks, RAID) systems, tape drives, and data backup storage systems.
处理单元16通过运行存储在系统存储器28中的程序,从而执行多种功能应用以及数据处理,例如本公开所提供的任一电器设备的控制方法,该方法可以包括以下步骤。The processing unit 16 executes a variety of functional applications and data processing by running a program stored in the system memory 28, such as a control method of any electrical device provided by the present disclosure. The method may include the following steps.
当接收到待机指令时,判断电器设备的状态;以及根据所述电器设备的状态选择电器设备的待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于关屏状态的电器设备具有接收语音信息及上传语音信息的功能。When a standby instruction is received, judging the state of the electrical equipment; and selecting a standby mode of the electrical equipment according to the state of the electrical equipment, the standby mode includes a smart standby mode and a default standby mode, in which the smart standby mode is in The electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
本实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本实施例所提供的任一电器设备的控制方法,该方法可以包括以下步骤。This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for controlling any electrical device provided in this embodiment is implemented. The method may include the following steps.
当接收到待机指令时,判断电器设备的状态;以及根据所述电器设备的状态选择电器设备的待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于关屏状态的电器设备具有接收语音信息及上传语音信息的功能。When a standby instruction is received, judging the state of the electrical equipment; and selecting a standby mode of the electrical equipment according to the state of the electrical equipment, the standby mode includes a smart standby mode and a default standby mode, in which the smart standby mode is in The electrical equipment in the off-screen state has a function of receiving voice information and uploading voice information.
本实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式 计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Electrically Programmable Read-Only-Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium of this embodiment may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (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 Device, Magnetic Memory Or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal in baseband or propagated as part of a carrier wave, which carries a computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于无线、电线、光缆、射频RF等等,或者上述的任意合适的组合。Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio frequency RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including programming languages such as Java, Smalltalk, C ++, and also conventional Procedural programming language-such as "C" or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider Internet connection).

Claims (10)

  1. 一种电器设备的控制方法,包括:A control method for electrical equipment includes:
    当接收到待机指令时,判断所述电器设备的状态;以及When a standby instruction is received, determining the state of the electrical equipment; and
    根据所述电器设备的状态选择所述电器设备的待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于关屏状态的所述电器设备具有接收语音信息及上传语音信息的功能。Selecting a standby mode of the electrical device according to a state of the electrical device, the standby mode includes a smart standby mode and a default standby mode, and in the smart standby mode, the electrical device in a screen-off state has the ability to receive voice information And upload voice messages.
  2. 根据权利要求1所述的方法,其中,所述电器设备的状态包括所述电器设备的网络状态;The method according to claim 1, wherein the status of the electrical device comprises a network status of the electrical device;
    所述根据所述电器设备的状态选择所述电器设备的待机模式,包括:The selecting a standby mode of the electrical device according to a state of the electrical device includes:
    如果所述网络状态为连接状态,则选择智能待机模式作为所述电器设备的待机模式;或者,If the network state is a connected state, selecting a smart standby mode as a standby mode of the electrical device; or
    如果所述网络状态为断开状态,则选择默认待机模式作为所述电器设备的待机模式。If the network state is the disconnected state, a default standby mode is selected as the standby mode of the electrical device.
  3. 根据权利要求2所述的方法,其中,所述判断所述电器设备的状态,包括:The method according to claim 2, wherein the determining the state of the electrical equipment comprises:
    通过调用网络检测接口函数,获取网络连接标识,并根据所述网络连接标识判断所述电器设备的网络状态。By calling a network detection interface function, a network connection identifier is obtained, and the network state of the electrical device is determined according to the network connection identifier.
  4. 根据权利要求1所述的方法,还包括:The method of claim 1, further comprising:
    当所述电器设备处于所述智能待机模式时,如果获取到所述语音信息,则对所述语音信息进行预处理,并将预处理后的所述语音信息上传到服务器;以及When the electrical equipment is in the smart standby mode, if the voice information is obtained, pre-process the voice information and upload the pre-processed voice information to a server; and
    接收所述服务器对所述语音信息的识别结果,并根据所述识别结果控制所述电器设备进行相应的操作。Receiving a recognition result of the voice information by the server, and controlling the electrical equipment to perform a corresponding operation according to the recognition result.
  5. 根据权利要求4所述的方法,其中,所述对所述语音信息进行预处理, 包括:The method according to claim 4, wherein the preprocessing the voice information comprises:
    对所述语音信息进行增强处理和降噪处理,并将处理后的所述语音信息进行脉冲编码调制。Performing enhancement processing and noise reduction processing on the voice information, and performing pulse code modulation on the processed voice information.
  6. 根据权利要求4所述的方法,其中,所述根据所述识别结果控制所述电器设备进行相应的操作,包括:The method according to claim 4, wherein the controlling the electrical device to perform a corresponding operation according to the recognition result comprises:
    如果所述识别结果为播放音频信号,则保持所述电器设备的关屏状态并控制所述电器设备的音频播放功能开启,播放所述音频;或者,If the recognition result is playing an audio signal, maintaining the off-screen state of the electrical device and controlling the audio playback function of the electrical device to be turned on to play the audio; or,
    如果所述识别结果为播放视频信号,则点亮所述电器设备的显示屏,以开启显示功能,播放所述视频。If the recognition result is a video signal, the display screen of the electrical device is turned on to enable a display function to play the video.
  7. 根据权利要求1所述的方法,还包括:The method of claim 1, further comprising:
    当所述电器设备处于所述智能待机模式时,检测当前时间段是否处于设定时间段;以及When the electrical device is in the smart standby mode, detecting whether the current time period is in a set time period; and
    如果处于设定时间段,则将所述智能待机模式切换为所述默认待机模式。If it is in a set time period, the intelligent standby mode is switched to the default standby mode.
  8. 一种电器设备的控制装置,包括:A control device for electrical equipment includes:
    状态检测模块,设置为当接收到待机指令时,判断所述电器设备的状态;以及A state detection module configured to determine a state of the electrical equipment when a standby instruction is received; and
    模式选择模块,设置为根据所述电器设备的状态选择所述电器设备的待机模式,所述待机模式包括智能待机模式和默认待机模式,在所述智能待机模式下,处于关屏状态的所述电器设备具有接收语音信息及上传语音信息的功能。A mode selection module is configured to select a standby mode of the electrical device according to a state of the electrical device, the standby mode includes a smart standby mode and a default standby mode, and in the smart standby mode, the screen is in a state of being turned off The electrical equipment has a function of receiving voice information and uploading voice information.
  9. 一种电器设备,其包括:An electrical device includes:
    一个或多个处理器;以及One or more processors; and
    存储装置,设置为存储一个或多个程序,A storage device configured to store one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多 个处理器实现如权利要求1-7中任一所述的电器设备的控制方法。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 according to any one of claims 1-7.
  10. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如权利要求1-7中任一所述的电器设备的控制方法。A computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements a method for controlling an electrical device according to any one of claims 1-7.
PCT/CN2018/123694 2018-09-30 2018-12-26 Method and apparatus for controlling electrical appliance, electrical appliance, and medium WO2020062670A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811158676.8A CN109240107B (en) 2018-09-30 2018-09-30 Control method and device of electrical equipment, electrical equipment and medium
CN201811158676.8 2018-09-30

Publications (1)

Publication Number Publication Date
WO2020062670A1 true WO2020062670A1 (en) 2020-04-02

Family

ID=65054856

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/123694 WO2020062670A1 (en) 2018-09-30 2018-12-26 Method and apparatus for controlling electrical appliance, electrical appliance, and medium

Country Status (2)

Country Link
CN (1) CN109240107B (en)
WO (1) WO2020062670A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938738A (en) * 2020-06-29 2022-01-14 阿里巴巴集团控股有限公司 Control method and system for display device, playing device and storage medium
CN114302238A (en) * 2021-04-16 2022-04-08 海信视像科技股份有限公司 Method for displaying prompt message in loudspeaker box mode and display device

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831700B (en) * 2019-02-02 2021-08-17 深圳创维-Rgb电子有限公司 Standby mode switching method and device, electronic equipment and storage medium
CN111722534A (en) * 2019-03-19 2020-09-29 佛山市顺德区美的电热电器制造有限公司 Equipment control method, device, equipment and storage medium
CN113747232B (en) * 2019-03-28 2022-10-28 海信视像科技股份有限公司 Method for pushing media file to display device by mobile terminal and display device
US11550527B2 (en) 2019-03-28 2023-01-10 Hisense Visual Technology Co., Ltd. Media file processing method for display device and display device
CN110594974A (en) * 2019-09-09 2019-12-20 珠海格力电器股份有限公司 Air conditioner screen awakening method, air conditioner remote controller and air conditioner device
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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030034813A (en) * 2001-10-27 2003-05-09 엘지전자 주식회사 Projection TV and Telling Method of Waiting Period
CN101478648A (en) * 2008-10-17 2009-07-08 康佳集团股份有限公司 Voice control method for television set
CN102737497A (en) * 2012-06-12 2012-10-17 康佳集团股份有限公司 Remote controller, system, and method for switching standby and boot modes of voice-controlled terminal device
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

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7254543B2 (en) * 2001-12-18 2007-08-07 Toshio Ibaraki Television apparatus having speech recognition function, and method of controlling the same
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
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 household electrical system, server device, interactive household electrical appliance, method for household electrical system to interact, and program for realizing the same by computer
CN107797460A (en) * 2017-09-30 2018-03-13 陈银芳 Home appliance voice control method and Related product based on intelligent sound box
CN108282695A (en) * 2018-01-08 2018-07-13 山东浪潮商用系统有限公司 A kind of digital television control method, device, readable medium and storage control
CN108376543B (en) * 2018-02-11 2021-07-13 深圳创维-Rgb电子有限公司 Control method, device, equipment and storage medium for electrical equipment
CN108600796B (en) * 2018-03-09 2019-11-26 百度在线网络技术(北京)有限公司 Control mode switch method, equipment and the computer-readable medium of smart television
CN108597507A (en) * 2018-03-14 2018-09-28 百度在线网络技术(北京)有限公司 Far field phonetic function implementation method, equipment, system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030034813A (en) * 2001-10-27 2003-05-09 엘지전자 주식회사 Projection TV and Telling Method of Waiting Period
CN101478648A (en) * 2008-10-17 2009-07-08 康佳集团股份有限公司 Voice control method for television set
CN102737497A (en) * 2012-06-12 2012-10-17 康佳集团股份有限公司 Remote controller, system, and method for switching standby and boot modes of voice-controlled terminal device
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113938738A (en) * 2020-06-29 2022-01-14 阿里巴巴集团控股有限公司 Control method and system for display device, playing device and storage medium
CN114302238A (en) * 2021-04-16 2022-04-08 海信视像科技股份有限公司 Method for displaying prompt message in loudspeaker box mode and display device
CN114302238B (en) * 2021-04-16 2023-09-19 海信视像科技股份有限公司 Display method and display device for prompt information in sound box mode

Also Published As

Publication number Publication date
CN109240107B (en) 2022-07-19
CN109240107A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
WO2020062670A1 (en) Method and apparatus for controlling electrical appliance, electrical appliance, and medium
US11295760B2 (en) Method, apparatus, system and storage medium for implementing a far-field speech function
CN109658932B (en) Equipment control method, device, equipment and medium
WO2020062669A1 (en) Control method, system, apparatus, device and medium for electrical appliance
US9953648B2 (en) Electronic device and method for controlling the same
CN111192591B (en) Awakening method and device of intelligent equipment, intelligent sound box and storage medium
WO2020078300A1 (en) Method for controlling screen projection of terminal and terminal
KR102331660B1 (en) Methods and apparatuses for controlling voice of electronic devices, computer device and storage media
CN109616111B (en) Scene interaction control method based on voice recognition
US11074912B2 (en) Identifying a valid wake input
CN111447519A (en) Smart speaker, interaction method based on smart speaker and program product
JP2021057878A (en) Data processing method, apparatus, equipment, and storage medium for smart device
US20240203416A1 (en) Combining Device or Assistant-Specific Hotwords in a Single Utterance
CN111833857B (en) Voice processing method, device and distributed system
KR102416818B1 (en) Methods and apparatuses for controlling voice of electronic devices, computer device and storage media
WO2023155607A1 (en) Terminal devices and voice wake-up methods
CN109658924B (en) Session message processing method and device and intelligent equipment
CN111263100A (en) Video call method, device, equipment and storage medium
CN112433697B (en) Resource display method and device, electronic equipment and storage medium
CN211860471U (en) Intelligent sound box
US20220343900A1 (en) Image display device and voice recognition method therefor
WO2022193056A1 (en) Media processing device and method
WO2019015089A1 (en) Control method, device and apparatus for global menu, and storage medium
CN113311933B (en) Equipment peripheral setting method and device of large-screen intelligent equipment and large-screen intelligent equipment
CN117651173A (en) Display device, microphone and data transmission method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18935035

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18935035

Country of ref document: EP

Kind code of ref document: A1