Application processor, electronic device, and method of operating an application processor

By integrating a low-power voice trigger system in the application processor, the problem of high power consumption for voice trigger operations is solved, low-power and efficient voice trigger functions are realized, and the security and performance of the device are enhanced.

CN110083327BActive Publication Date: 2024-08-23SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910061770.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-01-25
Filing Date
2019-01-23
Publication Date
2024-08-23
Estimated Expiration
2039-01-23

AI Technical Summary

Technical Problem

Existing voice-based smart interfaces require tactile input when starting up, resulting in a reduced user experience, and voice-triggered operations consume a large amount of battery power, especially on handheld or portable devices, which poses energy-saving issues.

Method used

A low-power voice trigger system integrated in the application processor is designed, including a secure element and a voice trigger processor independent of the main processor, to achieve low power and high efficiency through voice information storage and training operations during sleep mode. Voice trigger function.

Benefits of technology

The system can perform voice-triggered operations at low power, reduce power consumption, and enhance safety performance. It supports independent operation in sleep mode, improving the safety and performance of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110083327B_ABST
    Figure CN110083327B_ABST
Patent Text Reader

Abstract

An application processor, an electronic device, and a method for operating an application processor are disclosed. An application processor includes: a system bus, a main processor electrically connected to the system bus, and a voice trigger system. The voice trigger system performs a voice trigger operation and issues a trigger event based on a trigger input signal provided through a trigger interface. The voice trigger system is protected independently of the main processor. The voice trigger system performs a voice trigger operation based on protected user voice information stored in a secure area in the protected voice trigger system during a sleep mode in which the system bus and the main processor are disabled.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims the benefit of priority from Korean Patent Application No. 10-2018-0009410 filed on January 25, 2018, in the Korean Intellectual Property Office (KIPO), the contents of which are hereby incorporated by reference in their entirety. Technical Field

[0002] Example embodiments relate generally to semiconductor integrated circuits, and more particularly, to an application processor including a low-power voice trigger system with security, an electronic device including the application processor, and a method of operating the application processor. Background Art

[0003] Recently, voice-based or sound-based smart interfaces have been introduced to the market. One advantage of such voice-based smart interfaces is that users can interact with the device in a hands-free manner without operating the device or even looking at the device. Hands-free operation can be particularly beneficial when a person cannot or should not physically operate the device (such as when they are driving). However, in order to activate a voice-based smart interface, the user usually has to press a button or select an icon on a touch screen. This tactile input reduces the user experience of a voice-based smart interface.

[0004] Therefore, electronic devices have been developed to activate voice-based smart interfaces using inputs such as voice, speech, sound, sensing, etc. rather than tactile inputs. Such electronic devices require continuous or intermittent monitoring of audio channels to detect voice input and issue a trigger event for starting a voice-based smart interface. The operation for issuing a trigger event may be referred to as a voice-triggered operation. This monitoring of audio channels consumes power, which is a limited resource on battery-dependent handheld or portable devices. Therefore, it is beneficial to provide an energy-saving solution associated with a voice-triggered operation. Summary of the invention

[0005] At least one example embodiment of the present disclosure provides an application processor including a voice trigger system capable of performing a voice trigger operation with low power and supporting a security feature.

[0006] At least one example embodiment of the present disclosure provides an electronic device including the application processor.

[0007] In some embodiments, the present disclosure is directed to an application processor, which includes: a system bus; a main processor electrically connected to the system bus; a voice trigger system electrically connected to the system bus, the voice trigger system being configured to: perform a voice trigger operation and issue a trigger event based on a trigger input signal provided through a trigger interface, wherein the voice trigger system is protected independently of the main processor, wherein the voice trigger system is configured to: perform a voice trigger operation based on protected user voice information stored in a secure area in the protected voice trigger system during a sleep mode in which the system bus and the main processor are disabled.

[0008] The voice trigger system is included in the secure element integrated into the application processor.

[0009] The voice trigger system includes: a secure trigger memory; a trigger interface circuit, forming a trigger interface to sample and convert a trigger input signal provided from a digital microphone or an audio codec; a wrapper, configured to: store data provided from the trigger interface circuit in the secure trigger memory; a secure trigger processor, configured to: perform a voice trigger operation based on the data stored in the secure trigger memory, wherein the protected user voice information is stored in the secure trigger memory corresponding to a secure area in the protected voice trigger system.

[0010] The main processor is configured to execute a secure operating system (OS) and one of a non-secure operating system during an active mode in which the system bus and the main processor are enabled, wherein the secure voice trigger system is configured to perform a training operation to obtain protected user voice information while the main processor is executing the secure operating system.

[0011] The secure voice trigger system is configured to, when performing a training operation, store at least one of a voice spectrum energy of a user voice, a frequency bandwidth of the user voice, a reverberation time (RT) when the user voice is input, and a signal-to-noise ratio (SNR) of the user voice is stored as a user voice characteristic.

[0012] The application processor further includes an audio subsystem electrically connected to the system bus, the audio subsystem being configured to process an audio stream played back or recorded through the audio interface, wherein the audio subsystem operates in a non-secure state.

[0013] The application processor also includes: a mailbox module configured to support synchronization of data communications between the voice trigger system and the audio subsystem, wherein security attributes are set so that the audio subsystem operating in an unsecured state can access the voice trigger system protected by the mailbox module.

[0014] The application processor also includes a direct bus electrically connecting the voice trigger system and the audio subsystem, wherein the security attribute is set so that the audio subsystem operating in an unsecured state can be accessed by the voice trigger system protected by the direct bus.

[0015] Data communication between the voice trigger system and the audio subsystem is performed independently of the system bus through the direct bus and mailbox module.

[0016] The application processor further includes a sensor hub electrically connected to the system bus, the sensor hub being configured to process a signal provided from at least one sensor, wherein the sensor hub operates in a non-safe state.

[0017] The application processor also includes: a mailbox module configured to support synchronization of data communications between the voice trigger system and the sensor hub, wherein security attributes are set so that the sensor hub operating in an unsafe state can be accessed by the voice trigger system protected by the mailbox module.

[0018] The application processor also includes: a direct bus electrically connecting the voice trigger system and the sensor hub, wherein the security attribute is set so that the sensor hub operating in an unsafe state can be accessed by the voice trigger system protected by the direct bus.

[0019] All system buses, main processors and voice trigger systems are integrated into a single semiconductor chip.

[0020] The voice trigger system is power gated and enabled independently of the main processor.

[0021] In some embodiments, the present disclosure is directed to an electronic device, which includes: an application processor; and at least one audio input and output device, the application processor including: a system bus; a main processor electrically connected to the system bus; a voice trigger system electrically connected to the system bus, the voice trigger system being configured to: perform a voice trigger operation and issue a trigger event based on a trigger input signal provided through a trigger interface, wherein the voice trigger system is protected independently of the main processor, wherein the voice trigger system is configured to: perform a voice trigger operation based on protected user voice information stored in a secure area of ​​the protected voice trigger system during a sleep mode in which the system bus and the main processor are disabled.

[0022] The application processor also includes: a memory device divided into a secure memory area and a non-secure memory area; a storage device divided into a secure storage area and a non-secure storage area, wherein the protected user voice information is stored in the secure memory area or the secure storage area.

[0023] The memory device includes at least one of a dynamic random access memory (DRAM), a static random access memory (SRAM), and a mobile DRAM.

[0024] The storage device includes at least one of a flash memory, a phase change random access memory (PRAM), a resistive random access memory (RRAM), a nano floating gate memory (NFGM), a polymer random access memory (PoRAM), a magnetic random access memory (MRAM), and a ferroelectric random access memory (FRAM).

[0025] In some embodiments, the present disclosure is directed to a method for operating an application processor, the method comprising: operating a voice trigger system protected independently of a main processor, wherein the voice trigger system is integrated with the main processor and a system bus electrically connecting the main processor and the voice trigger system in a single semiconductor chip forming the application processor; during a sleep mode in which the system bus and the main processor are disabled, the protected voice trigger system performs a voice trigger operation to issue a trigger event based on a trigger input signal and protected user voice information, wherein the trigger input signal is provided through a trigger interface and the protected user voice information is stored in a secure area in the protected voice trigger system.

[0026] The method also includes performing a training operation by the protected voice trigger system to obtain protected user voice information while the main processor executes a secure operating system (OS) during an active mode in which the system bus and the main processor are enabled.

[0027] According to an example embodiment, an application processor, an electronic device including the application processor, and a method of operating the application processor can perform a voice trigger operation with low power and high efficiency by integrating a voice trigger system in the application processor. The on-chip voice trigger system can replace the main processor in the application processor to perform some operations to reduce power consumption and enhance the performance of the electronic device.

[0028] In addition, the voice trigger operation and / or the training operation may be performed by a voice trigger system that is protected independently from the main processor. Therefore, compared with a conventional voice trigger system that is provided outside the application processor, the application processor including the voice trigger system according to the example embodiment may support enhanced security features and may have improved security performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Illustrative, non-limiting example embodiments will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings.

[0030] Figure 1 is a flowchart illustrating a method of operating an application processor according to example embodiments.

[0031] Figure 2A is a block diagram illustrating an electronic device according to an example embodiment.

[0032] Figure 2B yes Figure 2A An example implementation of an electronic device.

[0033] Figure 3 is a block diagram illustrating an application processor according to example embodiments.

[0034] Figure 4 is a block diagram illustrating example connections of a voice trigger system and an audio subsystem in an application processor according to an example embodiment.

[0035] Figure 5 It is shown Figure 4 A block diagram of an example connection between the voice trigger system in the application processor and the main processor.

[0036] Figure 6 It is shown that the Figure 4 A diagram of an example embodiment of a mailbox module in an application processor.

[0037] Figure 7 is a block diagram illustrating example connections of a voice trigger system and an audio subsystem in an application processor according to an example embodiment.

[0038] Figure 8 is a flowchart illustrating a method of operating an application processor according to example embodiments.

[0039] Fig. 9 and Fig.10 is a block diagram illustrating example connections of a voice trigger system and a sensor hub in an application processor according to an example embodiment.

[0040] Fig.11 is a flowchart illustrating a method of operating an application processor according to example embodiments.

[0041] Fig. 12A and Fig. 12B is a diagram for describing power domains of an application processor according to example embodiments. DETAILED DESCRIPTION

[0042] Various example embodiments will be described more fully with reference to the accompanying drawings showing the embodiments. However, the present disclosure can be implemented in many different forms and should not be construed as being limited to the embodiments set forth herein. Throughout this application, the same reference numerals represent the same elements.

[0043] Figure 1 is a flowchart illustrating a method of operating an application processor according to example embodiments.

[0044] Reference Figure 1 , in an application processor, a voice trigger system protected independently of a main processor operates or is driven, wherein in the application processor, the main processor, the voice trigger system, and a system bus electrically connecting the main processor and the voice trigger system are integrated into a single semiconductor chip (step S100). For example, the voice trigger system may be integrated with the main processor, and the system bus may electrically connect the main processor and the voice trigger system in a single semiconductor chip to form an application processor. As used herein, an element described as "electrically connected" is configured so that a communication signal can be passed from one element to another, thereby allowing communication between the elements. As discussed more fully below, an element described as "secure" or "protected" is an element with enhanced security protocols and / or technologies.

[0045] During the sleep mode in which the system bus and the main processor are disabled, a voice trigger operation is performed by the protected voice trigger system based on a trigger input signal and protected user voice information (or protected trigger sound) to issue a trigger event (step S200). The trigger input signal is provided through a trigger interface, and the protected user voice information is stored in a secure area in the protected voice trigger system. The secure area may be a memory area or storage area of ​​the voice trigger system that uses a security protocol to protect the information stored therein.

[0046] The voice trigger operation in the present disclosure may indicate such an operation, which is used to monitor whether the trigger input signal includes a specific trigger sound, and when the trigger sound is detected, a trigger event (such as an interrupt signal) is issued to start the voice recognition mode or a voice-based intelligent interface. For example, the trigger input signal can be a predefined signal or action, wherein, when detected by the voice trigger operation, the predefined signal or action causes the protected voice trigger system to issue a trigger event. The activation of the voice recognition mode may include causing the main processor and / or the system bus to enter an active mode. For example, in order to reduce power consumption, a voice trigger operation may be performed during a sleep mode (e.g., when the system bus and the main processor are disabled and only the voice trigger system is enabled), and when a trigger event is issued to start the voice recognition mode, the system bus and the main processor may enter or wake up to an active mode.

[0047] In some example embodiments, the trigger sound may include words and phrases of human speech. In other example embodiments, the trigger sound may include sounds other than human speech (such as whistles, claps, whistles, collisions, sound waves of a specific frequency range, size and / or duration, etc.). Specific trigger sounds may be predefined and stored in the memory of the protected voice trigger system. In the present disclosure, the user voice information may correspond to the above-mentioned trigger sound.

[0048] When the main processor executes a secure operating system (OS) during an active mode in which the system bus and the main processor are enabled, a training operation may be performed by the protected voice trigger system to obtain protected user voice information (step S300).

[0049] although Figure 1 An example is shown in which step S300 is performed after steps S100 and S200 are performed, but the embodiment is not limited thereto. For example, step S300 may be performed first to obtain protected user voice information, and then steps S100 and S200 may be performed later to issue a trigger event.

[0050] According to an example embodiment, an application processor, an electronic device including the application processor, and a method for operating the application processor can perform voice trigger operations with low power and high efficiency by integrating a voice trigger system in the application processor. In addition, the voice trigger operation and / or the training operation can be performed by a voice trigger system that is protected independently of the main processor. The voice trigger system may include security policies and / or technologies that provide confidentiality and integrity of data and / or control access to data to protect data. In some disclosed embodiments, the voice trigger system can be protected independently of the main processor, so that the voice trigger system has a security policy and / or technology independent of the main processor, thereby providing an increased level of security for the voice trigger system. Therefore, compared with a traditional voice trigger system provided outside the application processor, the application processor including the voice trigger system according to the example embodiment can support enhanced security features and can have improved security performance.

[0051] Figure 2A is a block diagram illustrating an electronic device according to an example embodiment.

[0052] Reference Figure 2A , the electronic device 1000 includes an application processor AP 2000 , a memory device 1200 , a storage device 1300 , a plurality of function modules 1400 , 1500 , 1600 , and 1700 , and a power management integrated circuit PMIC 1800 .

[0053] As is conventional in the technical field of the present disclosure, features and embodiments are described and shown in the accompanying drawings according to functional blocks, units and / or modules. It will be appreciated by those skilled in the art that these blocks, units and / or modules are physically implemented by electronic (or optical) circuits (such as logic circuits, discrete components, microprocessors, hard-wired circuits, memory elements, wiring connections, etc.) that can be formed using semiconductor-based manufacturing techniques or other manufacturing techniques. In the case where blocks, units and / or modules are implemented by microprocessors or the like, they can be programmed using software (e.g., microcode) to perform the various functions discussed herein, and they can be selectively driven by firmware and / or software. Optionally, each block, unit and / or module can be implemented by dedicated hardware, or implemented as a combination of dedicated hardware for performing some functions and processors (e.g., one or more programmed microprocessors and related circuits) for performing other functions. In addition, without departing from the scope of the inventive concept, each block, unit and / or module of the embodiment can be physically divided into two or more interacting and discrete blocks, units and / or modules. In addition, without departing from the scope of the inventive concept, the blocks, units and / or modules of the embodiments may be physically combined into more complex blocks, units and / or modules.

[0054] The application processor 2000 controls the overall operation of the electronic device 1000. For example, the application processor 2000 may control the memory device 1200, the storage device 1300, and the plurality of function modules 1400, 1500, 1600, and 1700. The application processor 2000 may be a system on chip (SoC).

[0055] The application processor 2000 may include a system bus 2100 and a main processor or a central processing unit (CPU) 100 , a voice triggering system VTS 200 , and an audio processing system AUD 250 electrically connected to the system bus 2100 .

[0056] The voice trigger system 200 can be electrically connected to the system bus 2100. The voice trigger system 200 can perform a voice trigger operation and issue a trigger event based on a trigger input signal provided through a trigger interface. The audio processing system 250 may include an audio subsystem and also include a sensor hub as described below. The audio subsystem can be electrically connected to the system bus 2100 to process an audio stream played back or recorded through an audio interface. In addition, the audio subsystem can also support the transmission of an audio stream between an audio interface and a memory device 1200. As used herein, the term "audio stream" can refer to the continuous transmission or reception of an audio data signal, such as digital data designed to obtain or provide uninterrupted audio (sound) (such as uninterrupted music or voice output from a speaker or recorded through a microphone) sent and / or received by the audio processing system 250 (it will be understood that the continuous transmission of an audio data signal can be in the form of discrete audio data packets such as those sent or received discontinuously via communications interspersed with unrelated data). The following will refer to Figures 3 to 12B Example embodiments of the audio triggering system 200 and the audio processing system 250 are described.

[0057] The memory device 1200 and the storage device 1300 may store data for the operation of the electronic device 1000. The memory device 1200 may include a volatile storage device (such as a dynamic random access memory (DRAM), a static random access memory (SRAM), a mobile DRAM, etc.). The storage device 1300 may include a non-volatile storage device (such as an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a phase change random access memory (PRAM), a resistive random access memory (RRAM), a nano floating gate memory (NFGM), a polymer random access memory (PoRAM), a magnetic random access memory (MRAM), a ferroelectric random access memory (FRAM), etc.). In some example embodiments, the storage device 1300 may also include an embedded multimedia card (eMMC), a universal flash memory (UFS), a solid state drive (SSD), a hard disk drive (HDD), a CD-ROM, etc.

[0058] Functional modules 1400, 1500, 1600, and 1700 may be electronic circuits configured to perform various functions of electronic device 1000. For example, electronic device 1000 may include: a communication module 1400 that performs a communication function (e.g., a code division multiple access (CDMA) module, a long term evolution (LTE) module, a radio frequency (RF) module, an ultra-wideband (UWB) module, a wireless local area network (WLAN) module, a World Wide Interoperability for Microwave Access (WIMAX) module, etc.); a camera module 1500 that performs a photographing function (e.g., capturing and storing images); an input-output (I / O) module 1600 that includes a display module that performs a display function and a touch panel module that performs a touch sensing function; and an audio module 1700 that performs input and output of audio signals and includes a microphone (MIC) module, a speaker module, etc. In some example embodiments, electronic device 1000 may further include one or more additional modules (such as, for example, a global positioning system (GPS) module, a gyroscope module, etc.). However, the functional modules 1400 , 1500 , 1600 , and 1700 in the electronic device 1000 are not limited thereto.

[0059] The power management integrated circuit PMIC 1800 may provide an operating voltage to the application processor 2000 , the memory device 1200 , the storage device 1300 , and the function modules 1400 , 1500 , 1600 , and 1700 .

[0060] Figure 2B yes Figure 2A An example implementation of an electronic device.

[0061] Figure 2A The electronic device 1000 may be a device such as a desktop computer, a laptop computer, a mobile phone, a smart phone, an MP3 player, a personal digital assistant (PDA), a portable multimedia player (PMP), a digital television, a digital camera, a server computer, a workstation, a set-top box, a portable game console, a navigation system, a wearable device, an Internet of Things (IoT) device, an Internet of Everything (IoE) device, an e-book, a virtual reality (VR) device, an augmented reality (AR) device, etc. The electronic device 1000 may typically operate in response to direct user input, but may also be used to communicate with other devices via the Internet or other network communication systems. Figure 2B A mobile phone or smartphone including a touch screen is shown as Figure 2A An example of an electronic device 1000 is shown.

[0062] Reference Figure 2BThe electronic device 1000a includes a front camera 2, a speaker 3, a proximity sensor 4, an illumination sensor 5, a universal serial bus (USB) interface 6, a power button 7, a volume button 8, a display and touch screen 9, an icon 10, a menu button 11, a home button 12, a return button 13, a microphone 14, an audio output interface 15 and an antenna 16.

[0063] The front camera 2 may face the same direction as the display and touch screen 9 and be used for video calls or video capture or photo capture. For example, when a user plays multimedia data by touching one of the icons 10 on the display and touch screen 9 or by speaking an input signal, talks to another user through a public switched telephone network, plays an operation sound of the electronic device 1000a, or otherwise initiates a notification sound, the speaker 3 may output an audio sound. The proximity sensor 4 may control the display and touch screen 9 to be turned on or off to save power and prevent misoperation when the user holds the electronic device 1000a to his ear for a telephone conversation. The illumination sensor 5 may control the operation of the display and touch screen 9 and the front camera 2 according to the amount of incident light from the surrounding environment of the electronic device 1000a. The USB interface 6 may be an input / output interface for data communication and power supply with an external device.

[0064] The power button 7 may turn on or off the power of the electronic device 1000a, or may turn on or off the display and touch screen 9. The volume button 8 may control the audio output of the speaker 3. Icons 10 corresponding to different functions may be displayed on the display and touch screen 9. For example, the user may select an icon 10 corresponding to playback of multimedia data by, for example, touching the icon 10.

[0065] The menu button 11 may allow the user to browse a menu including icons and settings. The home button 12 may allow the home screen to appear for multi-working mode even when the electronic device 1000a is performing a specific operation on the display and touch screen 9. The back button 13 may cancel the operation currently being performed by the electronic device 1000a and return the user to the previous screen.

[0066] Microphone 14 can be an input / output (I / O) interface for voice calls or voice input signals. Audio output interface 15 (e.g., headphone jack) can be used for audio output of multimedia data being played. Although not shown, the audio output and microphone input can be connected via a device interface that supports Bluetooth. Antenna 16 can be used to send and receive communication signals and data. For example, antenna 16 can be used to receive digital media broadcast services. The elements of electronic device 1000a can be implemented in various ways that can be implemented by ordinary technicians in this field. Figure 2B Some of the components may be omitted or replaced by other components.

[0067] Figure 3 is a block diagram illustrating an application processor according to example embodiments.

[0068] Reference Figure 3 , the application processor 2000 may include a system bus SYSBUS 2100, a main processor or CPU 100, a voice trigger system 200, an audio subsystem 300, and a sensor hub 400. The audio subsystem 300 and the sensor hub 400 may include Figure 2A According to an example embodiment, the application processor 2000 may further include an active power manager APM, mailbox modules MBXa, MBXb, and MBXc, and an interrupt controller ITRC.

[0069] The system bus 2100 may be referred to as an interconnect device or a backbone. The system bus 2100 may include a high-level bus, a low-level bus, and a bridge connecting the high-level bus and the low-level bus. For example, the system bus 2100 may include various buses (such as, Advanced eXtensible Interface (AXI), Advanced High-Performance Bus (AHB), Advanced Peripheral Bus (APB), etc.) and at least one bridge connecting various buses. The main processor 100 can access external devices such as memory devices 1200 and / or storage devices 1300 through the system bus 2100. In addition, the main processor 100 can communicate with the voice trigger system 200, the audio subsystem 300, and the sensor hub 400 through the system bus 2100.

[0070] Although for ease of explanation, Figure 3 , but the interrupt controller ITRC may include at least one general interrupt controller (GIC), at least one vector interrupt controller (VIC), etc. For example, the interrupt controller ITRC may be implemented as a programmable interrupt controller (PIC). The programmable interrupt controller may be implemented using multiple layers with a priority system represented by vectors. The programmable interrupt controller may receive an interrupt signal from a peripheral device, determine the priority of the received interrupt signal, and send an interrupt signal with a pointer address to a processor or controller.

[0071] The active power manager APM may manage power of application processor 2000. For example, the active power manager APM may manage respective power supplied to respective regions or functional blocks of application processor 2000. Mailbox modules MBXa, MBXb, and MBXc may support synchronization of data communication between elements in application processor 2000 or data communication between application processor 2000 and an external device. Figure 6 Describes the mailbox modules MBXa, MBXb and MBXc.

[0072] although Figure 3An example is shown in which the voice trigger system 200 and the audio subsystem 300 are connected to each other through one mailbox module MBXc, and the voice trigger system 200 and the sensor hub 400 are connected to each other through one active power manager APM and two mailbox modules MBXa and MBXb, but the present disclosure is not limited thereto. For example, the voice trigger system 200 and the audio subsystem 300 may be connected to each other through one active power manager and two mailbox modules, and / or the voice trigger system 200 and the sensor hub 400 may be connected to each other through one mailbox module.

[0073] The voice trigger system 200 is electrically connected to the system bus 2100. The voice trigger system 200 performs a voice trigger operation and issues a trigger event based on a trigger input signal provided through a trigger interface. In some example embodiments, the voice trigger system 200 may receive a trigger input signal from a digital microphone DMIC 40 and / or an audio codec (encoder and decoder) CODEC 50. For example, the trigger interface of the voice trigger system 200 may be directly connected to the digital microphone 40 and the audio codec 50, thereby allowing communication between the voice trigger system 200 and the digital microphone 40 and communication between the voice trigger system 200 and the audio codec 50. The audio codec 50 may perform encoding and decoding (e.g., analog-to-digital conversion (ADC) and digital-to-analog conversion (DAC)) on an audio signal received from the digital microphone 40 or the analog microphone AMIC 61 and an audio signal output to the speaker 62. The digital microphone 40 may be an on-board microphone mounted on a circuit board of an electronic device (e.g., electronic device 1000) with the application processor 2000. The analog microphone 61 and the speaker 62 may be devices that are attachable to and detachable from ports of the audio codec 50 .

[0074] The audio subsystem 300 is electrically connected to the system bus 2100. The audio subsystem 300 processes the audio stream played back or recorded through the audio interface, and supports the transmission of the audio stream between the memory device 1200 and the audio interface. In some example embodiments, the audio subsystem 300 may exchange (e.g., send and receive) audio streams with the audio codec 50 and / or the Bluetooth module BTM 70. For example, the audio interface of the audio subsystem 300 may be directly connected to the audio codec 50 and the Bluetooth module 70 via a wired or wireless communication medium (e.g., a bus, a wire, a cable, an RF communication system, etc.). The Bluetooth module 70 may be connected to a Bluetooth microphone BMIC 81 and a Bluetooth speaker 82 via a Bluetooth audio module BTAUD 80 to receive audio signals from the Bluetooth microphone 81 and output audio signals to the Bluetooth speaker 82. The Bluetooth module 70 may be directly connected to another Bluetooth speaker 85 or another Bluetooth device via a wired or wireless communication medium (e.g., a bus, a wire, a cable, an RF communication system, etc.). Although not described in detail in the prior art, the audio subsystem 300 may be directly connected to another Bluetooth speaker 85 or another Bluetooth device via a wired or wireless communication medium (e.g., a bus, a wire, a cable, an RF communication system, etc.). Figure 3 Although not shown in FIG. 1 , the audio subsystem 300 may be connected to a universal serial bus (USB) module to exchange audio streams with the USB module.

[0075] The sensor hub 400 is electrically connected to the system bus 2100. The sensor hub 400 processes signals provided from one or more sensors SEN1 31 and SEN2 32. The sensor hub 400 may measure physical quantities associated with the electronic device 1000, process the measured physical quantities to determine an operating state of the electronic device 1000, and process the determined operating state. For example, the sensors 31 and 32 may include a motion sensor, a gyroscope sensor, an atmospheric pressure sensor, a magnetic sensor, an accelerometer, a grip sensor, a proximity sensor, a biometric sensor, a temperature / humidity sensor, an illumination sensor, and an ultraviolet (UV) sensor, an electronic nose (E-nose) sensor, an electromyogram (EMG) sensor, an electroencephalogram (EEG) sensor, an electrocardiogram (ECG) sensor, an infrared (IR) sensor, an iris sensor, and / or a fingerprint sensor.

[0076] In some example embodiments, Figure 3 As shown, all of the system bus 2100, the voice trigger system 200, the audio subsystem 300, and the sensor hub 400 may be integrated into a single semiconductor chip forming the application processor 2000. In other example embodiments, the system bus 2100, the voice trigger system 200, and the audio subsystem 300 may be integrated into a single chip, and the sensor hub 400 may be provided outside the application processor 2000 (e.g., as another semiconductor chip or provided using another semiconductor chip). In this way, the application processor 2000, the electronic device 1000 including the application processor 2000, and the method of operating the application processor 2000 according to the example embodiments may perform a voice trigger operation with low power and high efficiency by integrating the voice trigger system into the application processor 2000.

[0077] Figure 4 is a block diagram showing an example connection of a voice trigger system and an audio subsystem in an application processor according to an example embodiment. Figure 4 Omitted Figure 3 The sensor hub 400 and other components may be omitted. Figure 3 Duplicate description.

[0078] Reference Figure 4 , the application processor 2001 may include a system bus SYSBUS 2100, a main processor or CPU 101, a voice trigger system 201 (also referred to as a secure voice trigger system 201), an audio subsystem 301 (also referred to as a non-secure audio subsystem 301), and a mailbox module SMBX. The audio subsystem 301 may include Figure 2A The application processor 2001 may further include an interrupt controller ITRC 810, a protection controller PROC 820, an address space protector ASP 830, and a content firewall CFW 840. Each of the interrupt controller 810, the protection controller 820, the address space protector 830, and the content firewall 840 may be implemented by electronic (or optical) circuits (such as logic circuits, discrete components, microprocessors, hard-wired circuits, storage elements, wiring connections, etc.). If implemented by a microprocessor or the like, they may be programmed using software (e.g., microcode) to perform the various functions discussed herein. The software may be stored as one or more instructions or codes on a computer-readable medium (e.g., RAM, ROM, storage medium, etc.) such as the computer-readable medium described herein. The system bus 2100 and the main processor 101 are enabled during the active mode. For example, in the active mode, the system bus 2100 and the main processor 101 may be activated and available for use or operation. During the active mode, the main processor 101 may execute one of a secure operating system (OS) S_OS and a non-secure operating system (or normal operating system) NS_OS. The application processor 2001 may operate in a secure mode based on the secure operating system S_OS, or in a non-secure mode (or normal mode) based on the non-secure operating system NS_OS.

[0079] The system bus 2100 and the main processor 101 are disabled during the sleep mode. For example, in the sleep mode, the system bus 2100 and the main processor 101 may be in a low power mode that suspends operation. In other words, the system bus 2100 and the main processor 101 may not operate during the sleep mode, so during the sleep mode, the secure operating system S_OS and the non-secure operating system NS_OS may not be executed.

[0080] The voice trigger system 201 is electrically connected to the system bus 2100. Based on the trigger input signals SDMIC and SAMIC provided to the voice trigger system 201 through the trigger interface TIF, the voice trigger system 201 performs a voice trigger operation. The voice trigger system 201 may receive the trigger input signal SDMIC from the digital microphone DMIC 40 and / or receive the trigger input signal SAMIC from the audio codec (encoder and decoder) CODEC 50. The microphone clock signal MICCLK may be transmitted between the voice trigger system 201, the digital microphone 40, and the audio codec 50 for synchronization of signal transmission. The trigger input signals SDMIC and SAMIC and the microphone clock signal MICCLK may be transmitted through the pads PD 11, PD 12, and PD 13. The pads PD 11, PD 12, and PD 13 may be implemented so that the used pads may be prevented from being interfered with by other unused pads. For example, the pads PD 11, PD 12, and PD 13 may be electrically isolated from each other, thereby preventing signal interference between the pads PD 11, PD 12, and PD 13.

[0081] The voice trigger system 201 according to an example embodiment is protected independently of the main processor 101. For example, the voice trigger system 201 may have a security protocol that is independent of and / or different from the main processor 101 or a security protocol that can operate independently of and / or different from the security protocol of the main processor. The protected voice trigger system 201 may mean that the voice trigger system 201 has an anti-interference function against interference attacks (such as micro-probing, software attacks, eavesdropping, fault injection attacks, etc.), and the anti-interference function can be implemented using various configurations and / or algorithms. In addition, the voice trigger system 201 that is protected independently of the main processor 101 may mean that the voice trigger system 201 operates independently or autonomously in a secure mode without the support of the main processor 101 even during a sleep mode in which the system bus 2100 and the main processor 101 are disabled.

[0082] In some example embodiments, the voice trigger system 201 may be included in a security element integrated in the application processor 2001, so that the voice trigger system 201 is protected independently of the main processor 101. For example, the voice trigger system 201 may be independently protected based on a hardware configuration (e.g., using a security element implemented by hardware). The security element may be a protected system, module, device, area and / or data, or a system, module, device, area and / or data operating in a secure mode. In addition, software associated with the voice trigger system 201 (such as a framework, a hardware abstraction layer (HAL), and a kernel driver, etc.) may be stored in a secure memory area and / or a secure storage area and executed on a secure operating system S_OS, so that all signals and data input to the voice trigger system 201 can be secure and protected.

[0083] exist Figure 4 In the example block diagram of , each element shown by a thick solid line may represent a protected system, module, device, area and / or data, or a system, module, device, area and / or data in a safe mode. Figure 4 In the embodiment, the protected elements or the elements operating in the safe mode include, for example, the user voice information UVI of the memory device 1201, the user voice information UVI of the storage device 1301, the security operating system S_OS of the main processor 101, the mailbox module SMBX and the protected voice trigger system 201.

[0084] The voice trigger system 201 may include a trigger interface circuit IFV 211, a wrapper WRPP 221, a trigger memory MEMV 231, and a trigger processor PRCV 241. Since the voice trigger system 201 is protected, the voice trigger system 201 may be referred to as a secure voice trigger system or a protected voice trigger system, and thus the trigger interface circuit 211, the wrapper 221, the trigger memory 231, and the trigger processor 241 may be referred to as a secure trigger interface circuit, a secure wrapper, a secure trigger memory, and a secure trigger processor, respectively.

[0085] The trigger interface circuit 211 and the pads PD11, PD12, and PD13 may form a trigger interface TIF to sample and convert a trigger input signal SDMIC provided from the digital microphone DMIC 40 and / or a trigger input signal SAMIC provided from the audio codec (encoder and decoder) CODEC 50. The wrapper 221 may store data provided from the trigger interface circuit 211 in the trigger memory 231. When a predetermined amount of data is stored in the trigger memory 231, the wrapper 221 may issue an interrupt signal to the trigger processor 241 so that the trigger processor 241 may perform a voice trigger operation based on the data stored in the trigger memory 231.

[0086] In some example embodiments, the voice trigger system 201 may receive a pulse density modulation (PDM) signal as the trigger input signals SDMIC and SAMIC. The trigger interface circuit 211 may convert the PDM signal into pulse code modulation (PCM) data. The wrapper 221 may store the PCM data in the trigger memory 231. The wrapper 221 may be implemented using a direct memory access controller.

[0087] In some example embodiments, the trigger memory 231 may store the protected user voice information UVI. During the sleep mode, the voice trigger system 201 may perform a voice trigger operation based on the protected user voice information UVI stored in the trigger memory 231 corresponding to the security area in the protected voice trigger system 201. For example, when it is determined that the trigger input signals SDMIC and SAMIC include the protected user voice information UVI, the voice trigger system 201 may issue a trigger event to start the voice recognition mode.

[0088] In some example embodiments, as will be referred to Figure 5 As described above, while the main processor 101 executes the secure operating system S_OS during the active mode, the protected voice trigger system 201 may perform a training operation to obtain the protected user voice information UVI.

[0089] The audio subsystem 301 is electrically connected to the system bus 2100. The audio subsystem 301 processes the audio stream played back or recorded through the audio interface AIF, and supports the transmission of the audio stream between the memory device 1200 and the audio interface. In some example embodiments, the audio subsystem 301 may exchange (e.g., send and receive) an audio stream with the audio codec 50. The audio subsystem 301 may receive an audio input signal SDI from the audio codec 50 through an audio input pad PD21, and output an audio output signal SDO to the audio codec 50 through an audio output pad PD22.

[0090] Unlike the voice trigger system 201, the audio subsystem 301 can operate in either a non-safe state or a normal state.

[0091] The audio subsystem 301 may include an audio interface circuit IFA 311 , a direct memory access controller DMA 321 , an audio memory MEMA 331 , and an audio processor PRCA 341 .

[0092] The audio interface circuit 311 and the pads PD21 and PD22 may form an audio interface AIF to transmit an audio stream through an audio input signal SDI and an audio output signal SDO. The audio memory 331 may store data of the audio stream, and the direct memory access controller 321 may control access to the audio memory (i.e., read data from and write data to the audio memory 331). The audio processor 341 may process data stored in the audio memory 331.

[0093] In some example embodiments, the audio interface circuit 311 may be compatible with the I2S (Inter-IC Sound) or IIS (Integrated Interchip Sound) standards. Figure 4 , but the audio interface circuit 311 may operate based on a clock signal according to the I2S standard. In some example embodiments, the audio interface circuit 311 may be directly connected to the digital microphone 40 and / or the audio codec 50.

[0094] The interrupt controller 810 may be responsible for setting the security attributes of all interrupt resources in the application processor 2001. For example, the interrupt controller 810 may divide interrupts into secure interrupts and non-secure interrupts. Secure interrupts may be referred to as trusted interrupts or fast interrupt requests (FIQs). Non-secure interrupts may be referred to as normal interrupts, untrusted interrupts, or untrusted interrupt requests (IRQs). Secure interrupts may be processed in secure mode, and non-secure interrupts may be processed in non-secure mode. Such security attributes of interrupt resources may only be set in secure mode. For example, the setting of the security attributes of interrupt resources may only be changed when the interrupt resources are in secure mode.

[0095] The protection controller 820 may set the security attributes of all hardware resources (e.g., all elements) in the application processor 2001. For example, the protection controller 820 may divide the hardware resources (e.g., elements) into a first hardware resource for a secure mode and a second hardware resource for a non-secure mode. The first hardware resource may operate exclusively in a secure mode, and the second hardware resource may operate exclusively in a non-secure mode. In some example embodiments, a single hardware resource may be included in both the first hardware resource and the second hardware resource. For example, a single hardware resource may operate in both a secure mode and a non-secure mode. Such security attributes of hardware resources may only be set in a secure mode, but not in a non-secure mode. For example, the setting of the security attributes of a hardware resource may only be changed when the hardware resource is in a secure mode.

[0096] The address space protector 830 may divide the memory area in the memory device 1201 into a secure memory area SRM and a non-secure memory area NSRM, and may control access to the memory device 1201. In addition, the address space protector 830 may divide the storage area in the storage device 1301 into a secure storage area SRS and a non-secure storage area NSRS, and may control access to the storage device 1301. Such division of memory areas and / or storage areas may only be set in a secure mode. For example, when each memory device 1201 and storage device 1301 are in a secure mode, the address space protector 830 may divide the memory area of ​​the memory device 1201 and / or the storage area of ​​the storage device 1301. In some example embodiments, the address space protector 830 may be implemented as a memory adapter.

[0097] Content firewall 840 may control access to hardware resources in application processor 2001 and may prevent information leakage when in a secure mode.

[0098] In some example embodiments, the protected user voice information UVI may also be stored in a secure memory area SRM of the memory device 1201 and / or a secure storage area SRS of the storage device 1301, so that the protected user voice information UVI may be stored securely and reliably even when the application processor 2001 is disconnected from the power supply.

[0099] Figure 5 It is shown Figure 4 A block diagram of an example connection between the voice trigger system in the application processor and the main processor.

[0100] Reference Figure 5 , the main processor 101a can operate in a secure mode or a non-secure mode. For example, the secure mode can also be called a trusted execution environment TEE, and the standard mode can also be called a non-trusted execution environment NTEE. For example, the trusted execution environment TEE can be implemented based on the TrustZone technology established by ARM, and then Figure 4 The protection controller 820 in the NTEE may be implemented as a Trust Zone Protection Controller (TZPC). The non-trusted execution environment NTEE may be referred to as a normal execution environment or a rich execution environment.

[0101] In the non-trusted execution environment NTEE, a non-secure application 111 can be executed on a non-secure operating system 112 such as Android, and a non-secure driver 113 (e.g., a device driver or a kernel driver) can be executed. In the trusted execution environment TEE, a secure application 121 can be executed on a secure operating system 122 such as Android, and a secure driver 123 (e.g., a device driver or a kernel driver) can be executed.

[0102] The voice trigger system 201a may be implemented as a secure element including a secure memory 231a and a secure processor 241a. In other words, the protected voice trigger system 201a may be included in the secure element. The secure memory 231a and the secure processor 241a may correspond to Figure 4 The trigger memory 231 and the trigger processor 241 in Figure 5 However, the voice trigger system 201a may also include Figure 4 The trigger interface circuit 211 and the corresponding components of the wrapper 221.

[0103] In some example embodiments, the voice trigger system 201a may communicate with the main processor 101a in the trusted execution environment TEE. For example, while the main processor 101a executes the secure operating system 122 during the active mode, the protected voice trigger system 201a may perform a training operation to obtain the protected user voice information UVI, and the protected user voice information UVI obtained by the training operation may be stored in the secure memory 231a corresponding to the secure area in the protected voice trigger system 201a (e.g., Figure 4 In the trigger memory 231).

[0104] For example, a training operation may be performed to capture and store user voice characteristics. The user voice characteristics may include user voice conditions and voice environment. The user voice conditions may include the voice spectrum energy of the user voice and the frequency bandwidth or frequency distribution of the user voice. The voice environment may include the reverberation time (RT) and the signal-to-noise ratio (SNR) of the user voice when issuing a voice command. In other words, at least one of the energy of the user voice, the frequency bandwidth of the user voice, the reverberation time when the user voice is being input, and the signal-to-noise ratio of the user voice may be stored as a user voice characteristic through a training operation.

[0105] While the main processor 101a is executing the secure operating system 122 during active mode, training operations may be performed and the protected voice trigger system 201a may be used as an input path so that protected user voice information UVI and trigger input signals may be obtained and protected securely and reliably.

[0106] In addition, the voice trigger system 201a can be protected independently of the main processor 101a, so that during the sleep mode in which the main processor 101a is disabled, the protected voice trigger system 201a can safely and reliably perform voice trigger operations based on the protected user voice information UVI. For example, once the protected user voice information UVI is stored in the secure memory 231a, the voice trigger system 201a can operate independently of the main processor 101a.

[0107] Figure 6 It is shown that the Figure 4 Schematic diagram of an example embodiment of a mailbox module in an application processor. Figure 4 It is identified as the mailbox module SMBX in Figure 6 Identified as mailbox module 900.

[0108] Reference Figure 4 and Figure 6, the mailbox module SMBX included in the application processor 2001 can support data transmission or synchronization of data communication between the voice trigger system 201 and the audio subsystem 301. The application processor 2001 can perform data communication between the voice trigger system 201 and the audio subsystem 301 independently of the system bus 2100 through the mailbox module SMBX. For example, data communication between the voice trigger system 201 and the audio subsystem 301 can be performed via at least one mailbox module SMBX without using the system bus 2100.

[0109] In some example embodiments, security attributes (e.g., security attributes of the application processor 2001, the voice trigger system 201, and / or the mailbox module SMBX) may be set so that the audio subsystem 301 operating in a non-secure state may be accessed through the voice trigger system 201 protected by the mailbox module SMBX. Figure 4 As shown, the mailbox module SMBX may be protected, and the security attribute may be set by the interrupt controller 810 and / or the protection controller 820 .

[0110] like Figure 6 As shown, the mailbox module 900 may include an interface 910, a message box 920, a first register circuit 930 including a plurality of registers INTGR0, INTCR0, INTMR0, INTSR0 and INTMSR0, and a second register circuit 940 including a plurality of registers INTGR1, INTCR1, INTMR1, INTSR1 and INTMSR1. Figure 6 A non-limiting example is shown in which the mailbox module 900 is connected to the AHB2APB bridge 2110 of the system bus 2100 through the APB interface and the message box 920 is implemented using a 6×32-bit shared register. The type of the interface 910, the number of registers, and the number of bits of the registers in the message box 920 may be determined differently. The first register circuit 930 may generate an interrupt signal (IRQ TO PRCV) provided to the trigger processor 241 in the voice trigger system 201, and the second register circuit 940 may generate an interrupt signal (IRQ TO PRCA) provided to the audio processor 341 in the audio subsystem 301. Data transmission between the voice trigger system 201 and the audio subsystem 301 may be synchronized using the mailbox module 900.

[0111] The mailbox module 900 may perform bilateral communication by sending an interrupt signal after one of the trigger processor 241 and the audio processor 341 writes a message in the message box 920. For example, the mailbox module 900 may send an interrupt signal based on a message written into the message box by the trigger processor 241 or the audio processor 341. Synchronization of data transmission between the voice trigger system 201 and the audio subsystem 301 may be achieved by a polling method, etc.

[0112] Figure 7 is a block diagram showing an example connection of a voice trigger system and an audio subsystem in an application processor according to an example embodiment. Figure 3 and Figure 4 Duplicate description.

[0113] Reference Figure 7 The application processor 2002 may include a system bus 2100, a main processor 101, a voice trigger system 201, an audio subsystem 301, and a mailbox module SMBX. The application processor 2002 may also include an interrupt controller 810, a protection controller 820, an address space protector 830, a content firewall 840, and a direct bus 500.

[0114] In addition to the application processor 2002 including the direct bus 500, Figure 7 The application processor 2002 can be used with Figure 4 The application processor 2001 is basically the same.

[0115] The direct bus 500 can electrically connect the voice trigger system 201 and the audio subsystem 301. The direct bus 500 can provide a direct path (e.g., a direct data communication path) between the voice trigger system 201 and the audio subsystem 301, so that communication signals can be transmitted between the voice trigger system 201 and the audio subsystem 301.

[0116] In some example embodiments, security attributes (e.g., security attributes of the application processor 2002, the voice trigger system 201, the mailbox module SMBX, and / or the direct bus 500) may be set so that the audio subsystem 301 operating in a non-secure state may be accessed through the voice trigger system 201 protected by the direct bus 500. For example, Figure 7 As shown, the mailbox module SMBX and the direct bus 500 can be protected, and the security attribute can be set by the interrupt controller 810 and / or the protection controller 820. The application processor 2002 can perform data communication between the voice trigger system 201 and the audio subsystem 301 independently of the system bus 2100 through the mailbox module SMBX and the direct bus 500. For example, the data communication between the voice trigger system 201 and the audio subsystem 301 can be performed via at least one of the mailbox module SMBX and the direct bus 500 without using the system bus 2100.

[0117] Although not shown, according to an example embodiment, the audio codec 50 may be included in the audio subsystem 301, or the audio subsystem 301 may also be connected to a Bluetooth module 70 or a USB module, or the audio codec 50 may be replaced by a Bluetooth module 70 and / or a USB module, wherein the Bluetooth module 70 is connected to a Bluetooth microphone BMIC 81 and a Bluetooth speaker 82, and the USB module is connected to a USB microphone and a USB speaker.

[0118] Figure 8 is a flowchart illustrating a method of operating an application processor according to example embodiments.

[0119] Reference Figure 4 , Figure 7 and Figure 8 , at least one of a mailbox module SMBX supporting synchronization of data communication between the voice trigger system 201 and the audio subsystem 301 and a direct bus 500 electrically connecting the voice trigger system 201 and the audio subsystem 301 may be provided (step S510).

[0120] The security attribute may be set so that the audio subsystem 301 operating in a non-secure state can be accessed by the voice trigger system 201 protected by at least one of the mailbox module SMBX and the direct bus 500 (step S520).

[0121] Data communication between the voice trigger system 201 and the audio subsystem 301 may be performed independently of the system bus 2100 through at least one of the mailbox module SMBX and the direct bus 500 (step S530). For example, data communication between the voice trigger system 201 and the audio subsystem 301 may be performed via at least one of the mailbox module SMBX and the direct bus 500 without using the system bus 2100.

[0122] Fig. 9 and Fig.10 is a block diagram showing an example connection of a voice trigger system and a sensor hub in an application processor according to an example embodiment. Figure 3 and Figure 4 Duplicate description.

[0123] Reference Fig. 9 , the application processor 2003 may include a system bus 2100, a main processor 101, a voice trigger system 203, a sensor hub 403, an active power manager APM, and mailbox modules SMBXa and SMBXb. The sensor hub 403 may include Figure 2A The application processor 2003 may further include an interrupt controller 810 , a protection controller 820 , an address space protector 830 , and a content firewall 840 .

[0124] The voice trigger system 203 is electrically connected to the system bus 2100. The voice trigger system 203 performs a voice trigger operation based on the trigger input signals SDMIC and SAMIC provided by the trigger interface TIF. The voice trigger system 203 may receive a trigger input signal SDMIC from a digital microphone DMIC 40 and / or receive a trigger input signal SAMIC from an audio codec (encoder and decoder) CODEC 50. A microphone clock signal MICCLK may be transmitted between the voice trigger system 203, the digital microphone 40, and the audio codec 50 for synchronization of signal transmission. The trigger input signals SDMIC and SAMIC and the microphone clock signal MICCLK may be transmitted through pads PD11, PD12, and PD13. Pads PD11, PD12, and PD13 may be implemented so that the pads used may be prevented from being interfered with by other unused pads. For example, pads PD11, PD12, and PD13 may be electrically isolated from each other to prevent signal interference between pads PD11, PD12, and PD13.

[0125] The voice trigger system 203 is protected independently of the main processor 101. The voice trigger system 203 performs a voice trigger operation based on the trigger input signals SDMIC and SAMIC and the protected user voice information UVI. The trigger input signals SDMIC and SAMIC may be provided through the trigger interface TIF. During the sleep mode, the protected user voice information UVI may be stored in a trigger memory 231 corresponding to a secure area in the protected voice trigger system 203. While the main processor 101 executes the secure operating system S_OS during the active mode, the voice trigger system 203 may perform a training operation to obtain the protected user voice information UVI.

[0126] The sensor hub 403 is electrically connected to the system bus 2100 to process signals provided from one or more sensors SEN1 31, SEN2 32, and SEN3 33. Signals may be transmitted from one or more sensors SEN1 31, SEN2 32, and SEN3 33 through pads PD31, PD32, and PD33. Pads PD31, PD32, and PD33 may be implemented so that each pad is not subject to interference from other pads. For example, pads PD31, PD32, and PD33 may be electrically isolated from each other, thereby preventing signal interference between pads PD31, PD32, and PD33.

[0127] Unlike the voice trigger system 203 , the sensor hub 403 can operate in either a non-safe state or a standard state.

[0128] The sensor hub 403 may include a sensor logic LOGS 413, a sensor memory MEMS 423, and a sensor processor PRCS 433, as shown in FIG. Figure 3 The processing includes signals provided from various sensors.

[0129] The mailbox modules SMBXa and SMBXb included in the application processor 2003 may support data transmission or synchronization of data communication between the voice trigger system 203 and the sensor hub 403. The application processor 2003 may perform data communication between the voice trigger system 203 and the sensor hub 403 through the mailbox modules SMBXa and SMBXb independently of the system bus 2100. For example, data communication between the voice trigger system 203 and the sensor hub 403 may be performed via the mailbox modules SMBXa and SMBXb.

[0130] In some example embodiments, the security attribute may be set so that the sensor hub 403 operating in an unsecured state may be accessed by the voice trigger system 203 protected by the mailbox modules SMBXa and SMBXb. Fig. 9 As shown, the mailbox modules SMBXa and SMBXb may be protected, and security attributes of the mailbox modules SMBXa and SMBXb may be set by the interrupt controller 810 and / or the protection controller 820 .

[0131] Reference Fig.10 , the application processor 2004 may include a system bus 2100, a main processor 101, a voice trigger system 203, a sensor hub 403, an active power manager APM, and mailbox modules SMBXa and SMBXb. The application processor 2004 may also include an interrupt controller 810, a protection controller 820, an address space protector 830, a content firewall 840, and a direct bus 600.

[0132] In addition to the application processor 2004 including the direct bus 600, Fig.10 The application processor 2004 can be used with Fig. 9 The application processor 2003 is basically the same.

[0133] The direct bus 600 can electrically connect the voice trigger system 203 and the sensor hub 403. The direct bus 600 can provide a direct path (e.g., a direct data communication path) between the voice trigger system 203 and the sensor hub 403, so that communication signals can be transmitted between the voice trigger system 203 and the sensor hub 403.

[0134] In some example embodiments, the security attribute may be set so that the sensor hub 403 operating in an unsecured state may be accessed by the voice trigger system 203 through the direct bus 600 protected. Fig.10As shown, the mailbox modules SMBXa and SMBXb and the direct bus 600 may be protected, and the security attributes of the mailbox modules SMBXa and SMBXb and the direct bus 600 may be set by the interrupt controller 810 and / or the protection controller 820. The application processor 2004 may perform data communication between the voice trigger system 203 and the sensor hub 403 independently of the system bus 2100 through the mailbox modules SMBXa and SMBXb and the direct bus 600. For example, data communication between the voice trigger system 204 and the sensor hub 403 may be performed via at least one of the mailbox modules SMBXa and SMBXb and the direct bus 600 without using the system bus 2100.

[0135] In some example embodiments, Fig. 9 As shown, the two mailbox modules SMBXa and SMBXb can perform synchronization of data communication between the voice trigger system 203 and the sensor hub 403 via the active power manager APM. The mailbox modules SMBXa and SMBXb can be connected to the reference Figure 6 In other example embodiments, a mailbox module may perform synchronization between the voice trigger system 203 and the sensor hub 403 without an active power manager APM.

[0136] Fig.11 is a flowchart illustrating a method of operating an application processor according to example embodiments.

[0137] Reference Fig. 9 , Fig.10 and Fig.11 , at least one of the mailbox modules SMBXa and SMBXb supporting synchronization of data communication between the voice trigger system 203 and the sensor hub 403 and the direct bus 600 electrically connecting the voice trigger system 203 and the sensor hub 403 may be provided (step S710). For example, at least one mailbox module SMBXa or SMBXb and / or the direct bus 600 may be provided.

[0138] The security attribute may be set so that the sensor hub 403 operating in a non-secure state can be accessed by the voice trigger system 203 protected by at least one of the mailbox modules SMBXa and SMBXb and the direct bus 600 (step S720). For example, the security attribute may be set to allow communication between the sensor hub 403 and the protected voice trigger system 203 via at least one of the mailbox modules SMBXa and SMBXb and the direct bus 600.

[0139] Data communication between the voice trigger system 203 and the sensor hub 403 may be performed independently of the system bus 2100 through at least one of the mailbox modules SMBXa and SMBXb and the direct bus 600 (step S730). For example, data communication between the voice trigger system 203 and the sensor hub 403 may be performed via at least one of the mailbox modules SMBXa and SMBXb and the direct bus 600 without using the system bus 2100.

[0140] Although based on the example of the audio subsystem 301 and the sensor hub 403 operating in a non-safe state, referring to Figure 4 , Figure 7 , Fig. 9 and Fig.10 Example embodiments are described, but the present disclosure is not limited thereto. For example, the audio subsystem 301 and the sensor hub 403 may operate in a secure state based on software configuration, for example, and may exchange data with the voice trigger systems 201 and 203 protected independently from the main processor 101 based on hardware configuration.

[0141] Fig. 12A and Fig. 12B is a diagram for describing power domains of an application processor according to example embodiments.

[0142] An application processor may include multiple power domains that are independently powered. Fig. 12A and Fig. 12B The first power domain PWDM1 and the second power domain PWDM2 are shown as examples. The first power domain PWDM1 corresponds to a permanent power domain that supplies power in both active mode and standby mode (or sleep mode), and the second power domain PWDM2 corresponds to a power saving domain that is powered off in standby mode.

[0143] Reference Fig. 12A The system counter SYSCNT, the active power manager APM and the voice trigger system VTS can be set in the permanent power domain PWDM1. Multiple hardware blocks (such as the main processor CPU, the audio subsystem ABOX, the sensor hub CHUB, etc.) can be set in the power saving domain PWDM2.

[0144] The system counter SYSCNT may generate time information TM and may provide the time information TM to the internal circuits of the system. The active power manager APM may generate a plurality of power enable signals EN to control power supply, power off, etc. of various components in the system. The voice trigger system VTS may generate an interrupt signal ITRR indicating a trigger event.

[0145] In the present disclosure, the active mode means that at least the main processor CPU is enabled and the operating system (OS) runs. The sleep mode or standby mode means a power-down mode in which the main processor CPU is disabled.

[0146] and Fig. 12A Compared to the arrangement of Fig. 12B As shown, the voice trigger system VTS can be set in the power saving domain PWDM2.

[0147] like Fig. 12A and Fig. 12B As shown, the main processor CPU, the voice trigger system VTS, the audio subsystem ABOX and the sensor hub CHUB may include power gating circuits PG1, PG2, PG3 and PG4, respectively. The power gating circuits PG1 to PG4 may selectively supply power in response to power enable signals EN1, EN2, EN3 and EN4, respectively. In this way, the voice trigger system VTS, the audio subsystem ABOX and the sensor hub CHUB may be power-gated and enabled independently of the main processor CPU. In some example embodiments, when necessary, the voice trigger system VTS may request the active power manager APM so that the sensor hub CHUB may be enabled.

[0148] As described above, according to the example embodiments, the application processor, the electronic device including the application processor, and the method of operating the application processor can perform the voice trigger operation with low power and high efficiency by integrating the voice trigger system in the application processor. The on-chip voice trigger system can replace the main processor in the application processor to perform some operations to reduce power consumption and enhance the performance of the electronic device.

[0149] In addition, the voice trigger operation and / or the training operation may be performed by a voice trigger system that is protected independently of the main processor. Therefore, compared with a conventional voice trigger system that is provided outside the application processor, the application processor including the voice trigger system according to the example embodiment may support enhanced security features and may have improved security performance.

[0150] The present invention can be applied to various integrated circuits, electronic devices and electronic systems that support voice triggering functions. For example, the present invention can be applied to systems such as mobile phones, smart phones, tablet computers, laptop computers, personal digital assistants (PDAs), portable multimedia players (PMPs), digital cameras, portable game consoles, music players, video cameras, video players, navigation devices, wearable devices, Internet of Things (IoT) devices, Internet of Everything (IoE) devices, e-book readers, virtual reality (VR) devices, augmented reality (AR) devices, robotic devices, etc.

[0151] The foregoing is an illustration of example embodiments and is not to be construed as limiting the example embodiments. Although some example embodiments have been described, it will be readily appreciated by those skilled in the art that many modifications may be made to the example embodiments without materially departing from the novel teachings and advantages of the present disclosure. Therefore, all such modifications are intended to be included within the scope of the present disclosure as defined in the claims. Therefore, it will be understood that the foregoing is an illustration of various example embodiments and is not to be construed as being limited to the specific example embodiments disclosed, and modifications to the disclosed example embodiments as well as other example embodiments are intended to be included within the scope of the appended claims.

Claims

1. An application processor, include: System bus; a main processor electrically connected to the system bus; A voice trigger system is electrically connected to the system bus, and the voice trigger system is configured to: perform a voice trigger operation and issue a trigger event based on a trigger input signal provided through the trigger interface, The voice trigger system is protected independently from the main processor. wherein the voice trigger system is configured to: perform a voice trigger operation based on protected user voice information stored in a secure area of ​​the protected voice trigger system during a sleep mode in which the system bus and the main processor are disabled, When it is determined that the trigger input signal includes the protected user voice information, the voice trigger system issues a trigger event. Wherein, when a trigger event is issued by the voice trigger system, the active mode in which the system bus and the main processor are enabled is started, The protected user voice information is obtained based on at least one of the voice spectrum energy of the user voice, the frequency bandwidth of the user voice, the reverberation time when the user voice is input, and the signal-to-noise ratio of the user voice as characteristics of the user voice.

2. The application processor according to claim 1, in, The voice trigger system is included in the secure element integrated into the application processor.

3. The application processor according to claim 2, in, The voice trigger system includes: Safety trigger memory; a trigger interface circuit forming a trigger interface to sample and convert a trigger input signal provided from a digital microphone or an audio codec; A wrapper configured to: store data provided from the trigger interface circuit in a secure trigger memory; A security trigger processor is configured to: perform a voice trigger operation based on data stored in the security trigger memory, The protected user voice information is stored in a security trigger memory corresponding to a security area in the protected voice trigger system.

4. The application processor according to claim 1, in, The main processor is configured to: execute one of the secure operating system and the non-secure operating system during an active mode in which the system bus and the main processor are enabled, The protected voice trigger system is configured to: perform a training operation to obtain protected user voice information while the main processor executes a secure operating system.

5. The application processor according to claim 4, in, The protected voice trigger system is configured to: when performing a training operation, store at least one of the voice spectrum energy of the user voice, the frequency bandwidth of the user voice, the reverberation time when the user voice is input, and the signal-to-noise ratio of the user voice as a user voice characteristic.

6. The application processor according to claim 1, further comprising: include: An audio subsystem, electrically connected to the system bus, the audio subsystem being configured to: process an audio stream played back or recorded through the audio interface, Among them, the audio subsystem operates in an unsafe state.

7. The application processor according to claim 6, further comprising: include: A mailbox module is configured to: support synchronization of data communications between the voice trigger system and the audio subsystem, Therein, the security attribute is set so that the audio subsystem operating in a non-secure state can be accessed by the voice trigger system protected by the mailbox module.

8. The application processor according to claim 7, further comprising: include: Direct bus, electrically connecting the voice trigger system and the audio subsystem, Therein, the security attribute is set so that the audio subsystem operating in a non-secure state can be accessed by the voice trigger system protected by the direct bus.

9. The application processor according to claim 8, in, Data communication between the voice trigger system and the audio subsystem is performed independently of the system bus through the direct bus and mailbox module.

10. The application processor according to claim 1, further comprising: include: A sensor hub, electrically connected to the system bus, the sensor hub being configured to: process a signal provided from at least one sensor, Therein, the sensor hub operates in an unsafe state.

11. The application processor according to claim 10, further comprising: include: A mailbox module, configured to: support synchronization of data communications between the voice trigger system and the sensor hub, Therein, the security attributes are set so that the sensor hub operating in an unsafe state can be accessed by the voice trigger system protected by the mailbox module.

12. The application processor according to claim 11, further comprising: include: Direct bus, electrically connecting the voice trigger system and the sensor hub, Therein, the safety attributes are set so that the sensor hub operating in an unsafe state can be accessed by the voice trigger system protected by the direct bus.

13. The application processor according to claim 1, in, All system buses, main processors and voice trigger systems are integrated into a single semiconductor chip.

14. The application processor according to claim 1, in, The voice trigger system is power gated and enabled independently of the main processor.

15. An electronic device, include: Application processor; at least one audio input and output device, Among them, the application processor includes: System bus; a main processor electrically connected to the system bus; A voice trigger system is electrically connected to the system bus, and the voice trigger system is configured to: perform a voice trigger operation and issue a trigger event based on a trigger input signal provided through the trigger interface, The voice trigger system is protected independently from the main processor. wherein the voice trigger system is configured to: perform a voice trigger operation based on protected user voice information stored in a secure area of ​​the protected voice trigger system during a sleep mode in which the system bus and the main processor are disabled, When it is determined that the trigger input signal includes the protected user voice information, the voice trigger system issues a trigger event. Wherein, when a trigger event is issued by the voice trigger system, the active mode in which the system bus and the main processor are enabled is started, The protected user voice information is obtained based on at least one of the voice spectrum energy of the user voice, the frequency bandwidth of the user voice, the reverberation time when the user voice is input, and the signal-to-noise ratio of the user voice as characteristics of the user voice.

16. The electronic device according to claim 15, further comprising: include: A memory device divided into a secure memory area and a non-secure memory area; The storage device is divided into a secure storage area and a non-secure storage area. The protected user voice information is stored in a secure memory area and / or a secure storage area.

17. The electronic device according to claim 16, in, The memory device includes at least one of a dynamic random access memory, a static random access memory, and a mobile dynamic random access memory.

18. The electronic device according to claim 16, in, The storage device includes at least one of an erasable programmable read-only memory, an electrically erasable programmable read-only memory, a flash memory, a phase change random access memory, a resistance random access memory, a nano floating gate memory, a polymer random access memory, a magnetic random access memory, and a ferroelectric random access memory.

19. A method of operating an application processor, the method include: a voice trigger system that operates independently of the main processor for protection, wherein the voice trigger system is integrated with the main processor and a system bus electrically connecting the main processor and the voice trigger system in a single semiconductor chip forming an application processor; During a sleep mode in which a system bus and a main processor are disabled, a voice trigger operation is performed by a protected voice trigger system to issue a trigger event based on a trigger input signal and protected user voice information, wherein the trigger input signal is provided through a trigger interface, and the protected user voice information is stored in a secure area in the protected voice trigger system, The step of performing a voice trigger operation to issue a trigger event includes: When it is determined that the trigger input signal includes the protected user voice information, the protected voice trigger system issues a trigger event. Wherein, when a trigger event is issued by the voice trigger system, the active mode in which the system bus and the main processor are enabled is started, The protected user voice information is obtained based on at least one of the voice spectrum energy of the user voice, the frequency bandwidth of the user voice, the reverberation time when the user voice is input, and the signal-to-noise ratio of the user voice as characteristics of the user voice.

20. The method according to claim 19, further comprising: include: While the host processor executes the secure operating system during an active mode in which the system bus and the host processor are enabled, a training operation is performed by the protected voice trigger system to obtain protected user voice information.