WO2023016347A1 - Voiceprint authentication response method and system, and electronic devices - Google Patents

Voiceprint authentication response method and system, and electronic devices Download PDF

Info

Publication number
WO2023016347A1
WO2023016347A1 PCT/CN2022/110311 CN2022110311W WO2023016347A1 WO 2023016347 A1 WO2023016347 A1 WO 2023016347A1 CN 2022110311 W CN2022110311 W CN 2022110311W WO 2023016347 A1 WO2023016347 A1 WO 2023016347A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
authentication
voiceprint
user
authentication response
Prior art date
Application number
PCT/CN2022/110311
Other languages
French (fr)
Chinese (zh)
Inventor
才宇东
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023016347A1 publication Critical patent/WO2023016347A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification

Definitions

  • the present application relates to the field of electronic technology, in particular to a voiceprint authentication response method, system and electronic equipment.
  • voice interaction has become a convenient interaction medium between users and electronic devices.
  • electronic devices often use voiceprint authentication to identify and authenticate users, which ensures the security of voice interaction while facilitating interaction.
  • This application provides a voiceprint authentication response method, system and electronic equipment, which can select the most suitable electronic equipment in the voiceprint authentication response system to authenticate and respond to the user's voice interaction data, and realize the voiceprint authentication response system.
  • the collaborative mutual-aid authentication between electronic devices improves the convenience and safety of the voiceprint authentication response system in use.
  • the present application provides a voiceprint authentication response method, which is applied to a first electronic device.
  • the first electronic device is an electronic device in the voiceprint authentication response system, and the electronic devices in the voiceprint authentication response system communicate with each other. even.
  • the method includes:
  • the respective authentication scores of the electronic devices except the first electronic device in the voiceprint authentication response system and the authentication scores of each electronic device in the remaining electronic devices are obtained by performing voiceprint authentication on the voice interaction data by each electronic device , the authentication score of each electronic device is used to represent the matching degree of each electronic device authenticating that the voice interaction data belongs to the user;
  • an authentication response is performed on the voice interaction data.
  • the first electronic device as an electronic device in the voiceprint authentication response system, can obtain the user's voice interaction data, perform voiceprint authentication on the user's voice interaction data, and obtain the second An authentication score for the electronic device. Because of the communication interconnection between electronic devices in the voiceprint authentication response system. Therefore, the first electronic device can obtain the respective authentication scores of other electronic devices in the voiceprint authentication response system except the first electronic device. Based on the respective authentication scores of all electronic devices in the voiceprint authentication response system, the first electronic device can determine whether the first electronic device is a response electronic device in the voiceprint authentication response system. When it is determined that the first electronic device is the answering electronic device, the first electronic device may perform an authentication response to the voice interaction data of the user.
  • acquiring respective authentication scores of other electronic devices except the first electronic device in the voiceprint authentication response system includes:
  • each electronic device in the voiceprint authentication response system can synchronize the authentication scores of all electronic devices, realize the collaborative mutual authentication among the electronic devices in the voiceprint authentication response system, and ensure the accuracy of electronic device identification and authentication users , and there is no need to consider the problem that the user cannot be identified and authenticated due to the presence of offline electronic devices in the voiceprint authentication response system.
  • the answering electronic equipment is determined based on the respective authentication scores of all electronic equipment in the voiceprint authentication answering system, including:
  • the electronic device corresponding to the highest authentication score includes an electronic device in the voiceprint authentication response system
  • the electronic device corresponding to the highest authentication score is determined as the answering electronic device.
  • the most suitable electronic device is selected to authenticate and respond to the user's voice interaction data, which makes the electronic device in the voiceprint authentication response system more effective in identifying and authenticating users, and improves the use of voice.
  • the user experience of the fingerprint authentication response system is selected to authenticate and respond to the user's voice interaction data, which makes the electronic device in the voiceprint authentication response system more effective in identifying and authenticating users, and improves the use of voice.
  • the method also includes:
  • the electronic device closest to the user is determined from the electronic devices corresponding to the highest authentication score, and the electronic device closest to the user is identified as the answering electronic device.
  • the most suitable electronic device is selected to authenticate and respond to the user's voice interaction data, so that the electronic devices in the voiceprint authentication response system
  • the effect of device identification and authentication of users is better, and the user experience of using the voiceprint authentication response system is improved.
  • the method also includes:
  • the method also includes:
  • the user's voiceprint authentication model is stored in the first electronic device, so that the first electronic device uses the user's voiceprint authentication model to perform voiceprint authentication on the voice interaction data.
  • each electronic device in the voiceprint authentication response system can accurately identify and authenticate the user with the help of the user's voiceprint authentication model, so that each electronic device has the ability to identify and authenticate the user to obtain an accurate authentication score. It is beneficial to select the most suitable electronic equipment from the voiceprint authentication response system.
  • the present application provides a voiceprint authentication response system, wherein electronic devices in the voiceprint authentication response system are interconnected by communication.
  • the electronic device is also used to perform voiceprint authentication on the voice interaction data to obtain the authentication score of the electronic device, and the authentication score of the electronic device is used to indicate the matching degree of the electronic device authentication that the voice interaction data belongs to the user;
  • the electronic device is also used to obtain the respective authentication scores of the other electronic devices except the electronic device in the voiceprint authentication response system.
  • the authentication score of each electronic device in the other electronic devices is the result of each electronic device's voice interaction data.
  • the authentication score of each electronic device is used to indicate the matching degree of each electronic device authentication voice interaction data belongs to the user;
  • the electronic device is also used to determine whether the electronic device is the answering electronic device in the voiceprint authentication response system based on the respective authentication scores of all the electronic devices in the voiceprint authentication response system;
  • the electronic device is also used for authenticating and responding to the voice interaction data when the electronic device is determined to be the responding electronic device.
  • the electronic device is specifically configured to send the device identification and authentication score of the electronic device to at least one electronic device among the remaining electronic devices, and receive the remaining electronic device identification score sent by at least one electronic device among the remaining electronic devices. Respective device identification and certification scores.
  • the electronic device is specifically used to determine the highest authentication score among the respective authentication scores of all electronic devices in the voiceprint authentication response system; the electronic device corresponding to the highest authentication score includes the voiceprint authentication response system When one of the electronic devices is selected, the electronic device corresponding to the highest authentication score is determined as the responding electronic device.
  • the electronic device is also used to determine the distance to the user from the electronic device corresponding to the highest authentication score when the electronic device corresponding to the highest authentication score includes multiple electronic devices in the voiceprint authentication response system the nearest electronic device, and determine the electronic device closest to the user as the answering electronic device.
  • the electronic device is further configured to block the authentication response to the voice interaction data when it is determined that the electronic device is not the responding electronic device.
  • the electronic device is also used to receive the user's voice registration data; perform voiceprint training on the user's voice registration data to generate the user's voiceprint authentication model; store the user's voiceprint authentication model in the electronic In the device, the electronic device uses the user's voiceprint authentication model to perform voiceprint authentication on the voice interaction data.
  • the electronic devices in the voiceprint authentication response system communicate with each other by logging into the same account, using NFC or scanning the same two-dimensional code.
  • the present application provides an electronic device, including: a memory and a processor; the memory is used to store program instructions; the processor is used to call the program instructions in the memory to make the electronic device execute any possibility of the first aspect and the first aspect The voiceprint authentication response method in the design.
  • the present application provides a chip system, which is applied to an electronic device including a memory and a sensor; the chip system includes: a processor; when the processor executes the computer instructions stored in the memory, the electronic device executes the first aspect and The voiceprint authentication response method in any possible design of the first aspect.
  • the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by the processor to enable the electronic device to realize the first aspect and the voiceprint in any possible design of the first aspect Authentication response method.
  • the present application provides a computer program product, including: execution instructions, the execution instructions are stored in a readable storage medium, at least one processor of the electronic device can read the execution instructions from the readable storage medium, at least one processor Execution of the execution instruction enables the electronic device to implement the voiceprint authentication response method in any one of the possible designs of the first aspect and the first aspect.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 2 is a software structural block diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of a voiceprint authentication response system provided by an embodiment of the present application.
  • Fig. 4 is a schematic diagram of the hardware and software structure of each electronic device in the voiceprint authentication response system shown in Fig. 3;
  • 5A-5C are schematic flowcharts of synchronizing the authentication scores of all electronic devices by the authentication result consistency module in the electronic device shown in FIG. 4 ;
  • FIG. 6 is a schematic diagram of a scene of a voiceprint authentication response system provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a method for responding to voiceprint authentication provided by an embodiment of the present application.
  • At least one means one or more, and “multiple” means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship.
  • “At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one item (unit) of a, b or c alone may mean: a alone, b alone, c alone, a combination of a and b, a combination of a and c, a combination of b and c, or a combination of a, b and c, where a, b, c can be single or multiple.
  • the terms "first" and “second” are used for descriptive purposes only, and should not be understood as indicating or implying relative importance.
  • the present application provides a voiceprint authentication response method, device, system, and electronic equipment.
  • each electronic equipment can perform voiceprint authentication on the user's voice interaction data, and obtain the authentication of each electronic equipment.
  • Score and by synchronizing the authentication scores of all electronic devices, select the most suitable electronic device among multiple electronic devices, so that the most suitable electronic device can authenticate and respond to the user's voice interaction data, which not only realizes the coordination of multiple electronic devices
  • Mutual authentication ensures high convenience and security in identifying and authenticating users, improves the effect of electronic device authentication responses, and helps improve user experience in using electronic devices.
  • the electronic device can be a mobile phone (such as a folding screen mobile phone, a large screen mobile phone, etc.), a tablet computer, a notebook computer, a wearable electronic device, a vehicle electronic device, an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) ) electronic equipment, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA), smart TV, smart screen, high-definition TV, 4K TV, smart speaker, smart projector, etc.
  • a mobile phone such as a folding screen mobile phone, a large screen mobile phone, etc.
  • a tablet computer such as a folding screen mobile phone, a large screen mobile phone, etc.
  • a notebook computer such as a notebook computer
  • a wearable electronic device such as a portable electronic device
  • a vehicle electronic device such as a tablet computer, a notebook computer, a wearable electronic device, a vehicle electronic device, an augmented reality (augmented reality, AR)
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, and a battery 142 , antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193 , a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in this application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit, NPU
  • the controller may be the nerve center and command center of the electronic device 100 .
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both I2S interface and PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral electronic devices. It can also be used to connect headphones and play audio through them.
  • the interface can also be used to connect other electronic devices, such as AR electronic devices and the like.
  • the interface connection relationship between modules shown in this application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio electronics (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other electronic devices through wireless communication technology.
  • Wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband code division Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc.
  • GNSS can include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi-zenith) satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou satellite navigation system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quasi-zenith satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
  • the electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 .
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to receive the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 may be provided with two microphones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device 100 determines the intensity of pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When there is a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acting on the short message application icon, the instruction for creating a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device 100 .
  • the angular velocity of the electronic device 100 around three axes may be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case.
  • the electronic device 100 when the electronic device 100 is a clamshell machine, the electronic device 100 can detect opening and closing of the clamshell according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the electronic device 100 may reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from being shut down abnormally due to the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also known as "touch panel”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
  • the bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined into a bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • This application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 .
  • the present application does not limit the type of the operating system of the electronic device. For example, Android system, Linux system, Windows system, iOS system, Hongmeng operating system (harmony operating system, Hongmeng OS), etc.
  • FIG. 2 is a block diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into four layers, from top to bottom are application program layer (APP), application program framework layer (APP framework), Android runtime (Android runtime) and system library (libraries), And the kernel layer (kernel).
  • APP application program layer
  • APP framework application program framework
  • Android runtime Android runtime
  • libraries system library
  • kernel layer kernel layer
  • the application layer can consist of a series of application packages.
  • the application package can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, game, chat, shopping, travel, instant communication (such as short message), smart home, Electronic device control and other applications (application, APP).
  • application application, APP
  • the smart home application can be used to control or manage home electronic devices with networking functions.
  • home electronics can include lights, televisions, and air conditioners.
  • household electronic equipment can also include anti-theft door locks, speakers, sweeping robots, sockets, body fat scales, lamps, air purifiers, refrigerators, washing machines, water heaters, microwave ovens, rice cookers, curtains, fans, TVs, set-top boxes , doors and windows, etc.
  • the application package may also include applications such as a main screen (that is, a desktop), a negative screen, a control center, and a notification center.
  • applications such as a main screen (that is, a desktop), a negative screen, a control center, and a notification center.
  • negative one screen also known as "-1 screen” refers to a user interface (user interface, UI) that slides to the right on the main screen of the electronic device until it slides to the leftmost split screen.
  • the negative screen can be used to place some quick service functions and notification messages, such as global search, quick entry of a certain page of the application (payment code, WeChat, etc.), instant messages and reminders (express information, expenditure information, commuting traffic conditions, etc.) , taxi travel information, schedule information, etc.) and follow news (football stands, basketball stands, stock information, etc.).
  • the control center is a sliding-up message notification bar of the electronic device, that is, a user interface displayed by the electronic device when the user starts to perform an upward sliding operation on the bottom of the electronic device.
  • the notification center is the drop-down message notification bar of the electronic device, that is, the user interface displayed by the electronic device when the user starts to perform a downward operation on the top of the electronic device.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include window managers, content providers, view systems, phone managers, resource managers, notification managers, and so on.
  • the window manager is used to manage window programs, such as managing window status, attributes, view (view) addition, deletion, update, window order, message collection and processing, etc.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • the window manager is the entrance for the outside world to access the window.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • Data can include videos, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
  • the view system can be used to build applications.
  • a display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, user interface layout files (layout xml), video files, fonts, colors, user interface components (user interface module, ID card identification number (identity document, ID) of the UI component).
  • the resource manager is used to manage the aforementioned resources in a unified manner.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompting text information in the status bar issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
  • the Android runtime includes core libraries and a virtual machine.
  • the Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of the Android system.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application program layer and the application program framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • a system library can include multiple function modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (eg: OpenGLES), 2D graphics engine (eg: SGL), etc.
  • surface manager surface manager
  • media library media libraries
  • 3D graphics processing library eg: OpenGLES
  • 2D graphics engine eg: SGL
  • the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing and layer processing, etc.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
  • a corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, and other information). Raw input events are stored at the kernel level.
  • the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Take the touch operation as a touch and click operation, and the control corresponding to the click operation is the control of the smart speaker icon as an example.
  • the smart speaker application calls the interface of the application framework layer to start the smart speaker application, and then starts the audio driver by calling the kernel layer , the electrical audio signal is converted into an audio signal through the speaker 170A.
  • the structure illustrated in this application does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • FIG. 3 is a schematic structural diagram of a voiceprint authentication response system provided by an embodiment of the present application.
  • the voiceprint authentication response system may include multiple electronic devices, and the electronic devices in the voiceprint authentication response system are securely and reliably communicated and interconnected (ie, trusted interconnection).
  • the present application does not limit the connection manner between electronic devices.
  • the electronic devices in the voiceprint authentication response system can communicate with each other by logging into the same account, using NFC (such as touching between electronic devices) or scanning the same two-dimensional code. interconnection.
  • the voiceprint authentication response system in Figure 3 is illustrated by taking speakers, large screens, tablets, mobile phones and PCs as examples.
  • this application does not limit the parameters such as quantity, type, system, etc. of each electronic device in the voiceprint authentication response system. It should be noted that there is no limitation on whether each electronic device in the voiceprint authentication response system is in an offline state (that is, a power-off state) or in a non-offline state (that is, a power-on state).
  • FIG. 4 is a schematic diagram of the software and hardware structure of each electronic device in the voiceprint authentication response system shown in FIG. 3 .
  • the hardware and software structure of each electronic device may include: an audio processing module, an authentication word collection module, a voiceprint authentication module, and a voiceprint registration module And authentication result consistency module.
  • the aforementioned modules may use software codes and/or hardware components to implement corresponding functions of the modules.
  • the voiceprint registration module is used to receive the user's voice registration data, perform voiceprint training on the user's voice registration data, and generate the user's voiceprint authentication model.
  • the voice registration data can be the voiceprint data obtained by the user reading aloud the text-related and irrelevant content prompted by the electronic device, or it can be the user's voiceprint data imported by the user based on the user interface design (UI) of the electronic device.
  • Voiceprint data which is not limited in this application.
  • the user's voiceprint authentication model is obtained based on the user's voice registration data, and can output the authentication score of the electronic device by analyzing the user's voice interaction data such as physical oral features such as sound quality, sound length, and sound.
  • the authentication score of the electronic device is used to indicate the matching degree of the electronic device authentication voice interaction data belonging to the user, which can represent the closer the physical oral characteristics of the voice interaction data such as sound quality, sound length, and sound in the voiceprint authentication are to the user's physical oral cavity. feature. That is, the higher the authentication score of the electronic device is, the higher the degree of matching that the voice interaction data of the electronic device authenticates the user belongs to the user.
  • the present application does not limit the specific implementation manner of the authentication score of the electronic device.
  • the electronic device may store the authentication score of the electronic device in the form of a key-value.
  • the voiceprint registration module is further configured to store the user's voiceprint authentication model in the electronic device, so that the electronic device uses the user's voiceprint authentication model to perform voiceprint authentication on the voice interaction data. It should be noted that the electronic device may store voiceprint authentication modules of one or more users. In addition, the electronic device can also optimize or update a user's voiceprint authentication module.
  • the audio processing module is used to receive the user's voice interaction data. Since the user's voice interaction data will inevitably be mixed with ambient sound data, the audio processing module is also used to perform noise reduction processing, acoustic-electric conversion, and format matching on the user's voice interaction data to obtain the processed data, and Send the processed data to the authentication word collection module.
  • the processed data may adopt a format such as pulse code modulation (pulse code modulation, PCM).
  • the authentication word collection module is used to cut the processed data to obtain the user's voice interaction data, and send the user's voice interaction data to the voiceprint authentication module.
  • the voiceprint authentication module is used to perform voiceprint authentication on the user's voice interaction data through the user's voiceprint authentication module, obtain the authentication score of the electronic device, and send the authentication score of the electronic device to the authentication result consistency module.
  • the authentication result consistency module is used to receive the respective authentication scores of the other electronic devices except the electronic devices in the voiceprint authentication response system. Therefore, the electronic device can obtain the respective authentication scores of all electronic devices in the voiceprint authentication response system. In addition, the electronic device may store the respective authentication scores of other electronic devices in the form of a key-value.
  • the authentication result consistency module can send the authentication score of the electronic device to the rest of the electronic devices in the voiceprint authentication response system except the electronic device through the epidemic protocol (gossip protocol), that is, the electronic device's
  • the authentication score is propagated to the rest of the electronic devices that communicate and interconnect with the electronic device, and receive the respective authentication scores of the rest of the electronic devices sent by the other electronic devices in the voiceprint authentication response system except the electronic device, that is, wait to receive the transmission of the rest of the electronic devices.
  • the respective authentication scores of the rest of the electronic devices so that the electronic devices can receive the respective authentication scores of the rest of the electronic devices in the voiceprint authentication response system except the electronic devices.
  • the authentication result consistency module is also used to determine whether the electronic device itself is an answering electronic device based on the respective authentication scores of all electronic devices in the voiceprint authentication response system, that is, whether the electronic device needs to perform an authentication response to the user's voice interaction data.
  • FIG. 5A-FIG. 5C is a schematic flow diagram of the authentication result consistency module in the electronic device shown in FIG. 4 synchronizing the authentication scores of all electronic devices.
  • FIG. 6 is an embodiment of the present application A schematic diagram of a scenario of a voiceprint authentication response system is provided.
  • the voiceprint authentication response system includes: speakers, large screens, tablets, mobile phones and PCs, and the scene of multiple electronic devices is a home scene as an example.
  • speakers can be regarded as node A
  • large screens can be regarded as node B
  • tablets can be regarded as node C
  • mobile phones can be regarded as node D
  • PCs can be regarded as node E.
  • node A communicates with node B and node C respectively
  • node C communicates with node D and node E respectively.
  • node A after node A has determined the certification score of the speaker, set node A as the source of transmitting the certification score of the speaker, and set node A to include two transmission paths, that is, node A can communicate with A Node B and C nodes communicate with each other to spread the authentication score of the speakers.
  • the propagation complexity of node A is: O(Log5)(base2).
  • nodes B and C After node A completes the dissemination of the speaker's authentication score, nodes B and C will be "propagated", that is, node B and node C have received the speaker's authentication score.
  • each of the nodes A, B and C includes two propagation paths.
  • the node C can respectively propagate the certification score of the speaker to the node D and the node E which are communicatively interconnected with the node C.
  • the D node and the E node will be "propagated", that is, the D node and the E node have received the speaker's certification score.
  • the authentication score of the speaker has been transmitted to all nodes (namely node A, node B, node C, node D and node E), that is, all electronic devices in the voiceprint authentication response system have received the authentication score of the speaker.
  • each electronic device in the voiceprint authentication response system may also disseminate the device identification of the electronic device.
  • the device identifier of the electronic device is used to uniquely identify the electronic device corresponding to the authentication score of the electronic device.
  • the present application does not limit the specific implementation manner of the device identification of the electronic device.
  • the device identifier of the electronic device may be represented by means of an ID card identification number (identity document, ID), a device model, or a device number.
  • the rest of the electronic devices in the voiceprint authentication response system can send the received electronic device information to the electronic device.
  • the notification message of the authentication score enables the electronic device to know that other electronic devices have received the authentication score of the electronic device.
  • each electronic device in the voiceprint authentication response system has already known the respective authentication scores of all electronic devices, that is, each electronic device in the non-offline state has received the respective authentication scores of all the electronic devices in the non-offline state .
  • the authentication result consistency module in each electronic device can determine whether the electronic device itself is the responding electronic device based on the respective authentication scores of all electronic devices.
  • the authentication result consistency module can determine the highest authentication score among the respective authentication scores of all electronic devices in the voiceprint authentication response system.
  • the authentication result consistency module may determine the electronic device corresponding to the highest authentication score as the responding electronic device.
  • the authentication score of the speaker is 90
  • the authentication score of the large screen is 80
  • the authentication score of the tablet is 85.
  • the authentication result consistency module of each electronic device in the speaker, the large screen and the tablet can select the responding electronic device as the speaker.
  • the authentication result consistency module is also used to measure the distance between the electronic device and the user when the user sends out the user's voice interaction data.
  • each electronic device may add a ranging module (not shown in FIG. 4 ) for measuring the distance between the electronic device and the user when the user sends out the user's voice interaction data.
  • the ranging module may use software codes and/or hardware components to realize the ranging function.
  • the authentication result consistency module can determine the electronic device closest to the user from the electronic devices corresponding to the highest authentication score, and compare it with the The electronic device closest to the user is determined to be the answering electronic device.
  • the authentication score of the speaker is 90
  • the authentication score of the large screen is 90
  • the authentication score of the tablet is 85. Then, because 90>85, and the speaker is closer to the user than the big screen. Therefore, the authentication result consistency module of each electronic device in the speaker, the large screen and the tablet can select the responding electronic device as the speaker.
  • the speaker can send out the voice response data of "I'm here" to authenticate and respond to the voice interaction data of "Xiaoyi Xiaoyi" sent by the user.
  • each electronic device in the voiceprint authentication response system can determine the electronic device with the highest user identification accuracy, that is, select the electronic device most suitable for the authentication response.
  • FIG. 7 Based on the description of the embodiment in FIG. 3 , FIG. 4 and FIG. 5A-FIG. 5C , combined with FIG. 7 , the detailed implementation process of the voiceprint authentication response method of the present application is introduced.
  • the voiceprint authentication response method of the present application is executed by the first electronic device, the first electronic device is an electronic device in a non-offline state in the voiceprint authentication response system, and the first electronic device At least the user's voiceprint authentication model is stored in .
  • the specific implementation manner of the first electronic device here, reference may be made to the description of the electronic device shown in FIGS. 1-5C , which will not be repeated here.
  • FIG. 7 is a schematic flowchart of a method for responding to voiceprint authentication provided by an embodiment of the present application.
  • the voiceprint authentication response method of the present application may include:
  • the first electronic device acquires voice interaction data of a user.
  • the first electronic device may use the audio processing module and the authentication word collection module to obtain the voice interaction data of the user.
  • the voice interaction data of the user may be the voice data sent by the user in a scene of multiple electronic devices.
  • the user's voice interaction data may include wake-up words and/or command words, the wake-up words are used to wake up the first electronic device, and the command words are voice data instructing the first electronic device to perform corresponding operations.
  • the voice interaction data of "Xiaoyi Xiaoyi what's the weather today" sent by the user
  • "Xiaoyi Xiaoyi" is the wake-up word
  • "What's the weather today" is the command language.
  • the first electronic device performs voiceprint authentication on the voice interaction data to obtain an authentication score of the first electronic device, and the authentication score of the first electronic device is used to indicate the matching degree of the first electronic device authenticating that the voice interaction data belongs to the user.
  • the first electronic device may use the voiceprint authentication module to invoke the user's voiceprint authentication module stored in the first electronic device. Therefore, the first electronic device can perform voiceprint authentication on the voice interaction data through the user's voiceprint authentication module to obtain the authentication score of the first electronic device.
  • the first electronic device needs to detect whether the first electronic device itself establishes communication interconnection with other electronic devices in the voiceprint authentication response system, that is, the first electronic device Whether data can be transmitted securely and reliably between the device and other electronic devices.
  • the present application does not limit the manner in which the first electronic device detects the communication interconnection.
  • electronic devices that can be communicated and interconnected in the voiceprint authentication response system can be stored in a server (such as a cloud server). Therefore, the first electronic device may send a first request to the server, and the first request is used to inquire whether the first electronic device has established communication interconnection with other electronic devices in the voiceprint authentication response system.
  • the server can send a first response to the first electronic device based on whether the electronic devices in the voiceprint authentication response system stored in the server are interconnected by communication.
  • the first response is used to indicate whether the first electronic device itself is connected to other electronic devices.
  • Each electronic device in the communication interconnection is established.
  • the first electronic device when the first electronic device itself establishes communication interconnection with other electronic devices in the voiceprint authentication response system, the first electronic device can perform voiceprint authentication on the user's voice interaction data.
  • the first electronic device can shield the user's voice interaction data, that is, not make an authentication response.
  • the first electronic device may send a second request to each of the remaining electronic devices, and the second request is used to inquire whether the first electronic device itself has established a communication interconnection with the corresponding electronic device.
  • Each of the remaining electronic devices may send a second response to the first electronic device based on whether the first electronic device communicates with the corresponding electronic device itself, and the second response is used to indicate whether the first electronic device itself A communicative interconnection is established with the corresponding electronic device.
  • the present application does not limit the specific implementation manners of the second request and the second response.
  • the first electronic device obtains the respective authentication scores of the other electronic devices except the first electronic device in the voiceprint authentication response system, and the authentication score of each electronic device in the other electronic devices is the voice interaction
  • the data is obtained through voiceprint authentication, and the authentication score of each electronic device is used to indicate the matching degree of each electronic device authenticating that the voice interaction data belongs to the user.
  • the first electronic device may use the authentication result consistency module to receive the respective authentication scores of other electronic devices in the voiceprint authentication response system except the first electronic device. Therefore, the first electronic device can obtain the respective authentication scores of all electronic devices in the voiceprint authentication response system.
  • the first electronic device determines whether the first electronic device is a responding electronic device in the voiceprint authentication response system based on the respective authentication scores of all electronic devices in the voiceprint authentication response system.
  • the first electronic device may also use the authentication result consistency module to determine the answering electronic device in the voiceprint authentication response system based on the respective authentication scores of all electronic devices in the voiceprint authentication response system.
  • the response electronic device is an electronic device in the voiceprint authentication response system.
  • step S1051 When it is determined that the first electronic device is the answering electronic device, the first electronic device executes step S1051. When determining that the first electronic device is not the answering electronic device, the first electronic device executes step S1052.
  • the first electronic device sends an authentication response to the voice interaction data.
  • the first electronic device may perform an authentication response to the voice interaction data of the user.
  • the present application does not limit the manner in which the first electronic device authenticates the voice interaction data of the responding user.
  • the first electronic device can prompt the user with the functions of the first electronic device, can also ask the user about the operation content that the first electronic device needs to perform, and can also reply to the user with the corresponding voice interaction data of the user. answer.
  • the first electronic device blocks an authentication response to the voice interaction data.
  • the first electronic device may not make an authentication response to the user's voice interaction data, but the response electronic device in the voiceprint authentication response system may make an authentication response to the user's voice interaction data.
  • the first electronic device as an electronic device in the voiceprint authentication response system, can obtain the user's voice interaction data, perform voiceprint authentication on the user's voice interaction data, and obtain the first electronic device certification score. Because of the communication interconnection between electronic devices in the voiceprint authentication response system. Therefore, the first electronic device can obtain the respective authentication scores of other electronic devices in the voiceprint authentication response system except the first electronic device. Based on the respective authentication scores of all electronic devices in the voiceprint authentication response system, the first electronic device can determine whether the first electronic device is a response electronic device in the voiceprint authentication response system. When it is determined that the first electronic device is the answering electronic device, the first electronic device may perform an authentication response to the voice interaction data of the user.
  • the voiceprint authentication response system may also include a second electronic device, and the second electronic device is the other electronic devices in the voiceprint authentication response system except the first electronic device. At least one electronic device in a non-offline state among the electronic devices.
  • the first electronic device may send the device identification and authentication score of the first electronic device to the second electronic device.
  • the first electronic device may receive the device identification and authentication score of the second electronic device.
  • the first electronic device may receive the respective device identifications and authentication scores of all the electronic devices in the second electronic device sent by one electronic device in the second electronic device Alternatively, the first electronic device may receive respective device identifications and authentication scores of one or more electronic devices in the second electronic device sent by a plurality of electronic devices in the second electronic device.
  • each electronic device in the voiceprint authentication response system can synchronize the respective authentication scores of all electronic devices.
  • the aforementioned device identification and authentication score please refer to the description of the device identification and the authentication score in the foregoing embodiments, respectively, and details are not repeated here.
  • the first electronic device can use multiple methods to determine the responding electronic device in the voiceprint authentication response system based on the respective authentication scores of all electronic devices in the voiceprint authentication response system.
  • the first electronic device may determine the highest authentication score among the respective authentication scores of all electronic devices in the voiceprint authentication response system. Therefore, the first electronic device can determine the number of electronic devices in the voiceprint authentication response system corresponding to the electronic device with the highest authentication score.
  • the first electronic device may determine the electronic device corresponding to the highest authentication score as the responding electronic device.
  • the first electronic device can determine the electronic device closest to the user from the electronic devices corresponding to the highest authentication score, and will contact the user The closest electronic device is determined to be the answering electronic device.
  • each electronic device in the voiceprint authentication response system can determine whether the electronic device itself needs to perform an authentication response to the user's voice interaction data, and select the most suitable electronic device in the voiceprint authentication response system for authentication response.
  • the present application provides an electronic device, including: a memory and a processor; the memory is used to store program instructions; and the processor is used to call the program instructions in the memory so that the electronic device executes the voiceprint authentication response method in the foregoing embodiments.
  • the present application provides a chip system, which is applied to an electronic device including a memory and a sensor; the chip system includes: a processor; when the processor executes the computer instructions stored in the memory, the electronic device executes the The response method for voiceprint authentication.
  • the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor so that an electronic device implements the voiceprint authentication response method in the foregoing embodiments.
  • the present application provides a computer program product, including: execution instructions, the execution instructions are stored in a readable storage medium, at least one processor of the electronic device can read the execution instructions from the readable storage medium, at least one processor Execution of the execution instruction enables the electronic device to implement the voiceprint authentication response method in the foregoing embodiments.
  • all or part of the functions may be implemented by software, hardware, or a combination of software and hardware.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored on a computer readable storage medium.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage electronic device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.
  • a magnetic medium for example, a floppy disk, a hard disk, or a magnetic tape
  • an optical medium for example, DVD
  • a semiconductor medium for example, a solid state disk (solid state disk, SSD)
  • the processes can be completed by computer programs to instruct related hardware.
  • the programs can be stored in computer-readable storage media.
  • When the programs are executed may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

Abstract

A voiceprint authentication response method and system, and electronic devices (100). The method is applied to a first electronic device; the first electronic device is one of electronic devices (100) in the voiceprint authentication response system; and the electronic devices (100) in the voiceprint authentication response system are communicatively connected to each other. The method comprises: obtaining voice interaction data of a user (S101); performing voiceprint authentication on the voice interaction data to obtain an authentication score of the first electronic device; obtaining authentication scores of the other electronic devices in the voiceprint authentication response system than the first electronic device; determining whether the first electronic device is a response electronic device (100) in the voiceprint authentication response system on the basis of the authentication scores of all electronic devices (100) in the voiceprint authentication response system; and performing authentication response on the voice interaction data when determining that the first electronic device is a response electronic device (100), such that the most appropriate electronic device (100) in the voiceprint authentication response system is selected to perform authentication response on the voice interaction data of the user.

Description

声纹认证应答方法、系统及电子设备Voiceprint authentication response method, system and electronic equipment
本申请要求于2021年08月13日提交国家知识产权局、申请号为202110932392.5、申请名称为“声纹认证应答方法、系统及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office on August 13, 2021, with application number 202110932392.5, and application name "Voiceprint Authentication Response Method, System, and Electronic Equipment", the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及电子技术领域,尤其涉及一种声纹认证应答方法、系统及电子设备。The present application relates to the field of electronic technology, in particular to a voiceprint authentication response method, system and electronic equipment.
背景技术Background technique
随着电子设备不断地智能化发展,语音交互已成为用户与电子设备间便捷的交互媒介。并且,电子设备常常采用声纹认证来识别和认证用户,在交互便捷的同时保证了语音交互的安全性。With the continuous intelligent development of electronic devices, voice interaction has become a convenient interaction medium between users and electronic devices. Moreover, electronic devices often use voiceprint authentication to identify and authenticate users, which ensures the security of voice interaction while facilitating interaction.
然而,在多电子设备的场景中,用户与多电子设备进行语音交互时,所有可回应的电子设备均会应答用户。可见,多电子设备完全没有识别和认证用户,缺乏良好的认证方式,且体验上仍是单电子设备的回应,严重影响用户的使用体验。However, in the scenario of multiple electronic devices, when the user performs voice interaction with multiple electronic devices, all electronic devices that can respond will respond to the user. It can be seen that multiple electronic devices do not identify and authenticate users at all, lack a good authentication method, and experience is still the response of a single electronic device, which seriously affects the user experience.
发明内容Contents of the invention
本申请提供一种声纹认证应答方法、系统及电子设备,可选择出声纹认证应答系统中的最合适的电子设备对用户的语音交互数据进行认证应答,实现了声纹认证应答系统中的电子设备间的协同互助式认证,提升了声纹认证应答系统在使用上的便捷性且安全性。This application provides a voiceprint authentication response method, system and electronic equipment, which can select the most suitable electronic equipment in the voiceprint authentication response system to authenticate and respond to the user's voice interaction data, and realize the voiceprint authentication response system. The collaborative mutual-aid authentication between electronic devices improves the convenience and safety of the voiceprint authentication response system in use.
第一方面,本申请提供一种声纹认证应答方法,应用于第一电子设备,第一电子设备为声纹认证应答系统中的一个电子设备,声纹认证应答系统中的电子设备间通信互连。In the first aspect, the present application provides a voiceprint authentication response method, which is applied to a first electronic device. The first electronic device is an electronic device in the voiceprint authentication response system, and the electronic devices in the voiceprint authentication response system communicate with each other. even.
该方法包括:The method includes:
获取用户的语音交互数据;Obtain the user's voice interaction data;
对语音交互数据进行声纹认证,得到第一电子设备的认证分数,第一电子设备的认证分数用于表示第一电子设备认证语音交互数据属于用户的匹配度;Performing voiceprint authentication on the voice interaction data to obtain an authentication score of the first electronic device, where the authentication score of the first electronic device is used to indicate the matching degree of the first electronic device authenticating that the voice interaction data belongs to the user;
获取声纹认证应答系统中的除了第一电子设备之外的其余电子设备各自的认证分数,其余电子设备中的每个电子设备的认证分数是每个电子设备对语音交互数据进行声纹认证得到的,每个电子设备的认证分数用于表示每个电子设备认证语音交互数据属于用户的匹配度;Obtain the respective authentication scores of the electronic devices except the first electronic device in the voiceprint authentication response system, and the authentication scores of each electronic device in the remaining electronic devices are obtained by performing voiceprint authentication on the voice interaction data by each electronic device , the authentication score of each electronic device is used to represent the matching degree of each electronic device authenticating that the voice interaction data belongs to the user;
基于声纹认证应答系统中的全部电子设备各自的认证分数,确定第一电子设备是否为声纹认证应答系统中的应答电子设备;Based on the respective authentication scores of all electronic devices in the voiceprint authentication response system, determine whether the first electronic device is a response electronic device in the voiceprint authentication response system;
在确定第一电子设备为应答电子设备时,对语音交互数据进行认证应答。When it is determined that the first electronic device is the answering electronic device, an authentication response is performed on the voice interaction data.
通过第一方面提供的声纹认证应答方法,第一电子设备作为声纹认证应答系统中的一 个电子设备,可获取用户的语音交互数据,并对用户的语音交互数据进行声纹认证,得到第一电子设备的认证分数。由于声纹认证应答系统中的电子设备间通信互连。因此,第一电子设备可获取声纹认证应答系统中的除了第一电子设备之外的其余电子设备各自的认证分数。第一电子设备基于声纹认证应答系统中的全部电子设备各自的认证分数,可确定出第一电子设备是否为声纹认证应答系统中的应答电子设备。在确定第一电子设备为应答电子设备时,第一电子设备可对用户的语音交互数据进行认证应答。从而,通过同步声纹认证应答系统中的每个电子设备的认证分数,完成了多电子设备的场景下的更为准确地对用户的识别和认证,选择出了声纹认证应答系统中的最合适的电子设备,使得最适合的电子设备能够对用户的语音交互数据进行认证应答,不仅实现了声纹认证应答系统中的电子设备间的协同互助式认证,也无需考虑由于声纹认证应答系统中存在处于离线状态的电子设备而导致无法实现用户的识别和认证的问题,提升了声纹认证应答系统在使用上的便捷性且安全性,还使得声纹认证应答系统中的电子设备识别和认证用户的效果更佳,提升了使用声纹认证应答系统的用户体验。Through the voiceprint authentication response method provided in the first aspect, the first electronic device, as an electronic device in the voiceprint authentication response system, can obtain the user's voice interaction data, perform voiceprint authentication on the user's voice interaction data, and obtain the second An authentication score for the electronic device. Because of the communication interconnection between electronic devices in the voiceprint authentication response system. Therefore, the first electronic device can obtain the respective authentication scores of other electronic devices in the voiceprint authentication response system except the first electronic device. Based on the respective authentication scores of all electronic devices in the voiceprint authentication response system, the first electronic device can determine whether the first electronic device is a response electronic device in the voiceprint authentication response system. When it is determined that the first electronic device is the answering electronic device, the first electronic device may perform an authentication response to the voice interaction data of the user. Therefore, by synchronizing the authentication scores of each electronic device in the voiceprint authentication response system, more accurate identification and authentication of the user in the scenario of multiple electronic devices is completed, and the best electronic device in the voiceprint authentication response system is selected. Appropriate electronic equipment enables the most suitable electronic equipment to perform authentication and response to the user's voice interaction data, which not only realizes the cooperative and mutual authentication between electronic devices in the voiceprint authentication response system, but also does not need to consider the voiceprint authentication response system. There is an electronic device that is in an offline state, which leads to the problem that user identification and authentication cannot be realized, which improves the convenience and safety of the voiceprint authentication response system in use, and also makes the electronic device identification and authentication in the voiceprint authentication response system easier. The effect of authenticating users is better, and the user experience of using the voiceprint authentication response system is improved.
在一种可能的设计中,获取声纹认证应答系统中的除了第一电子设备之外的其余电子设备各自的认证分数,包括:In a possible design, acquiring respective authentication scores of other electronic devices except the first electronic device in the voiceprint authentication response system includes:
向第二电子设备发送第一电子设备的设备标识和认证分数,且接收第二电子设备发送的其余电子设备各自的设备标识和认证分数,第二电子设备为其余电子设备中的至少一个电子设备。Sending the device identification and authentication score of the first electronic device to the second electronic device, and receiving the respective device identification and authentication scores of the remaining electronic devices sent by the second electronic device, the second electronic device being at least one of the remaining electronic devices .
从而,声纹认证应答系统中的每个电子设备可同步全部电子设备的认证分数,实现声纹认证应答系统中的电子设备间的协同互助式认证,保障了电子设备识别和认证用户的准确性,也无需考虑由于声纹认证应答系统中存在处于离线状态的电子设备而导致无法识别和认证用户的问题。Therefore, each electronic device in the voiceprint authentication response system can synchronize the authentication scores of all electronic devices, realize the collaborative mutual authentication among the electronic devices in the voiceprint authentication response system, and ensure the accuracy of electronic device identification and authentication users , and there is no need to consider the problem that the user cannot be identified and authenticated due to the presence of offline electronic devices in the voiceprint authentication response system.
在一种可能的设计中,基于声纹认证应答系统中的全部电子设备各自的认证分数,确定应答电子设备,包括:In a possible design, the answering electronic equipment is determined based on the respective authentication scores of all electronic equipment in the voiceprint authentication answering system, including:
在声纹认证应答系统中的全部电子设备各自的认证分数中,确定最高认证分数;Among the respective authentication scores of all electronic devices in the voiceprint authentication response system, determine the highest authentication score;
在最高认证分数对应的电子设备包括声纹认证应答系统中的一个电子设备时,将最高认证分数对应的电子设备确定为应答电子设备。When the electronic device corresponding to the highest authentication score includes an electronic device in the voiceprint authentication response system, the electronic device corresponding to the highest authentication score is determined as the answering electronic device.
从而,在声纹认证应答系统中选择出了最合适的电子设备对用户的语音交互数据进行认证应答,使得声纹认证应答系统中的电子设备识别和认证用户的效果更佳,提升了使用声纹认证应答系统的用户体验。Therefore, in the voiceprint authentication response system, the most suitable electronic device is selected to authenticate and respond to the user's voice interaction data, which makes the electronic device in the voiceprint authentication response system more effective in identifying and authenticating users, and improves the use of voice. The user experience of the fingerprint authentication response system.
在一种可能的设计中,该方法还包括:In one possible design, the method also includes:
在最高认证分数对应的电子设备包括声纹认证应答系统中的多个电子设备时,从最高认证分数对应的电子设备中,确定与用户距离最近的电子设备,并将与用户距离最近的电子设备确定为应答电子设备。When the electronic device corresponding to the highest authentication score includes multiple electronic devices in the voiceprint authentication response system, the electronic device closest to the user is determined from the electronic devices corresponding to the highest authentication score, and the electronic device closest to the user is identified as the answering electronic device.
从而,结合声纹认证应答系统中的全电子设备各自的认证分数和与用户的距离,选择出了最合适的电子设备对用户的语音交互数据进行认证应答,使得声纹认证应答系统中的电子设备识别和认证用户的效果更佳,提升了使用声纹认证应答系统的用户体验。Therefore, in combination with the respective authentication scores of all electronic devices in the voiceprint authentication response system and the distance from the user, the most suitable electronic device is selected to authenticate and respond to the user's voice interaction data, so that the electronic devices in the voiceprint authentication response system The effect of device identification and authentication of users is better, and the user experience of using the voiceprint authentication response system is improved.
在一种可能的设计中,该方法还包括:In one possible design, the method also includes:
在确定第一电子设备不为应答电子设备时,对语音交互数据屏蔽认证应答。When it is determined that the first electronic device is not the responding electronic device, an authentication response is shielded from the voice interaction data.
从而,保障了声纹认证应答系统中的电子设备实现声纹认证应答方法的完整性。Therefore, the integrity of the electronic device in the voiceprint authentication response system to realize the voiceprint authentication response method is guaranteed.
在一种可能的设计中,该方法还包括:In one possible design, the method also includes:
接收用户的语音注册数据;Receive the user's voice registration data;
对用户的语音注册数据进行声纹训练,生成用户的声纹认证模型;Perform voiceprint training on the user's voice registration data to generate a user's voiceprint authentication model;
将用户的声纹认证模型存储在第一电子设备中,以使第一电子设备采用用户的声纹认证模型对语音交互数据进行声纹认证。The user's voiceprint authentication model is stored in the first electronic device, so that the first electronic device uses the user's voiceprint authentication model to perform voiceprint authentication on the voice interaction data.
从而,声纹认证应答系统中的每个电子设备借助用户的声纹认证模型,可准确地识别和认证用户,使得每个电子设备具备识别和认证用户的能力,来获得准确的认证分数,有利于从声纹认证应答系统中选择出最合适的电子设备。Therefore, each electronic device in the voiceprint authentication response system can accurately identify and authenticate the user with the help of the user's voiceprint authentication model, so that each electronic device has the ability to identify and authenticate the user to obtain an accurate authentication score. It is beneficial to select the most suitable electronic equipment from the voiceprint authentication response system.
第二方面,本申请提供一种声纹认证应答系统,声纹认证应答系统中的电子设备间通信互连。In a second aspect, the present application provides a voiceprint authentication response system, wherein electronic devices in the voiceprint authentication response system are interconnected by communication.
针对声纹认证应答系统中的每个电子设备而言,包括:For each electronic device in the voiceprint authentication response system, including:
电子设备,用于获取用户的语音交互数据;Electronic equipment, used to obtain the user's voice interaction data;
电子设备,还用于对语音交互数据进行声纹认证,得到电子设备的认证分数,电子设备的认证分数用于表示电子设备认证语音交互数据属于用户的匹配度;The electronic device is also used to perform voiceprint authentication on the voice interaction data to obtain the authentication score of the electronic device, and the authentication score of the electronic device is used to indicate the matching degree of the electronic device authentication that the voice interaction data belongs to the user;
电子设备,还用于获取声纹认证应答系统中的除了电子设备之外的其余电子设备各自的认证分数,其余电子设备中的每个电子设备的认证分数是每个电子设备对语音交互数据进行声纹认证得到的,每个电子设备的认证分数用于表示每个电子设备认证语音交互数据属于用户的匹配度;The electronic device is also used to obtain the respective authentication scores of the other electronic devices except the electronic device in the voiceprint authentication response system. The authentication score of each electronic device in the other electronic devices is the result of each electronic device's voice interaction data. Acquired by voiceprint authentication, the authentication score of each electronic device is used to indicate the matching degree of each electronic device authentication voice interaction data belongs to the user;
电子设备,还用于基于声纹认证应答系统中的全部电子设备各自的认证分数,确定电子设备是否为声纹认证应答系统中的应答电子设备;The electronic device is also used to determine whether the electronic device is the answering electronic device in the voiceprint authentication response system based on the respective authentication scores of all the electronic devices in the voiceprint authentication response system;
电子设备,还用于在确定电子设备为应答电子设备时,对语音交互数据进行认证应答。The electronic device is also used for authenticating and responding to the voice interaction data when the electronic device is determined to be the responding electronic device.
在一种可能的设计中,电子设备,具体用于向其余电子设备中的至少一个电子设备发送电子设备的设备标识和认证分数,且接收其余电子设备中的至少一个电子设备发送的其余电子设备各自的设备标识和认证分数。In a possible design, the electronic device is specifically configured to send the device identification and authentication score of the electronic device to at least one electronic device among the remaining electronic devices, and receive the remaining electronic device identification score sent by at least one electronic device among the remaining electronic devices. Respective device identification and certification scores.
在一种可能的设计中,电子设备,具体用于在声纹认证应答系统中的全部电子设备各自的认证分数中,确定最高认证分数;在最高认证分数对应的电子设备包括声纹认证应答系统中的一个电子设备时,将最高认证分数对应的电子设备确定为应答电子设备。In a possible design, the electronic device is specifically used to determine the highest authentication score among the respective authentication scores of all electronic devices in the voiceprint authentication response system; the electronic device corresponding to the highest authentication score includes the voiceprint authentication response system When one of the electronic devices is selected, the electronic device corresponding to the highest authentication score is determined as the responding electronic device.
在一种可能的设计中,电子设备,还用于在最高认证分数对应的电子设备包括声纹认证应答系统中的多个电子设备时,从最高认证分数对应的电子设备中,确定与用户距离最近的电子设备,并将与用户距离最近的电子设备确定为应答电子设备。In a possible design, the electronic device is also used to determine the distance to the user from the electronic device corresponding to the highest authentication score when the electronic device corresponding to the highest authentication score includes multiple electronic devices in the voiceprint authentication response system the nearest electronic device, and determine the electronic device closest to the user as the answering electronic device.
在一种可能的设计中,电子设备,还用于在确定电子设备不为应答电子设备时,对语音交互数据屏蔽认证应答。In a possible design, the electronic device is further configured to block the authentication response to the voice interaction data when it is determined that the electronic device is not the responding electronic device.
在一种可能的设计中,电子设备,还用于接收用户的语音注册数据;对用户的语音注册数据进行声纹训练,生成用户的声纹认证模型;将用户的声纹认证模型存储在电子设备中,以使电子设备采用用户的声纹认证模型对语音交互数据进行声纹认证。In a possible design, the electronic device is also used to receive the user's voice registration data; perform voiceprint training on the user's voice registration data to generate the user's voiceprint authentication model; store the user's voiceprint authentication model in the electronic In the device, the electronic device uses the user's voiceprint authentication model to perform voiceprint authentication on the voice interaction data.
在一种可能的设计中,声纹认证应答系统中的电子设备间通过登录相同账号、采用近距离无线通信NFC或扫描相同二维码中的任意一种方式通信互连。In a possible design, the electronic devices in the voiceprint authentication response system communicate with each other by logging into the same account, using NFC or scanning the same two-dimensional code.
上述第二方面以及上述第二方面的各可能的设计中所提供的声纹认证应答系统,其有 益效果可以参见上述第一方面和第一方面的各可能的实施方式所带来的有益效果,在此不再赘述。For the above-mentioned second aspect and the voiceprint authentication response system provided in each possible design of the above-mentioned second aspect, its beneficial effects can be referred to the above-mentioned first aspect and the beneficial effects brought about by each possible implementation of the first aspect, I won't repeat them here.
第三方面,本申请提供一种电子设备,包括:存储器和处理器;存储器用于存储程序指令;处理器用于调用存储器中的程序指令使得电子设备执行第一方面及第一方面任一种可能的设计中的声纹认证应答方法。In a third aspect, the present application provides an electronic device, including: a memory and a processor; the memory is used to store program instructions; the processor is used to call the program instructions in the memory to make the electronic device execute any possibility of the first aspect and the first aspect The voiceprint authentication response method in the design.
第四方面,本申请提供一种芯片系统,芯片系统应用于包括存储器和传感器的电子设备;芯片系统包括:处理器;当处理器执行存储器中存储的计算机指令时,电子设备执行第一方面及第一方面任一种可能的设计中的声纹认证应答方法。In a fourth aspect, the present application provides a chip system, which is applied to an electronic device including a memory and a sensor; the chip system includes: a processor; when the processor executes the computer instructions stored in the memory, the electronic device executes the first aspect and The voiceprint authentication response method in any possible design of the first aspect.
第五方面,本申请提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器使得电子设备执行时实现第一方面及第一方面任一种可能的设计中的声纹认证应答方法。In the fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by the processor to enable the electronic device to realize the first aspect and the voiceprint in any possible design of the first aspect Authentication response method.
第六方面,本申请提供一种计算机程序产品,包括:执行指令,执行指令存储在可读存储介质中,电子设备的至少一个处理器可以从可读存储介质读取执行指令,至少一个处理器执行执行指令使得电子设备实现第一方面及第一方面任一种可能的设计中的声纹认证应答方法。In a sixth aspect, the present application provides a computer program product, including: execution instructions, the execution instructions are stored in a readable storage medium, at least one processor of the electronic device can read the execution instructions from the readable storage medium, at least one processor Execution of the execution instruction enables the electronic device to implement the voiceprint authentication response method in any one of the possible designs of the first aspect and the first aspect.
附图说明Description of drawings
图1为本申请一实施例提供的一种电子设备的结构示意图;FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图2为本申请一实施例提供的一种电子设备的软件结构框图;FIG. 2 is a software structural block diagram of an electronic device provided by an embodiment of the present application;
图3为本申请一实施例提供的一种声纹认证应答系统的结构示意图;FIG. 3 is a schematic structural diagram of a voiceprint authentication response system provided by an embodiment of the present application;
图4为图3所示声纹认证应答系统中的每个电子设备的软硬件结构示意图;Fig. 4 is a schematic diagram of the hardware and software structure of each electronic device in the voiceprint authentication response system shown in Fig. 3;
图5A-图5C为图4所示电子设备中的认证结果一致性模块同步全部电子设备各自的认证分数的流程示意图;5A-5C are schematic flowcharts of synchronizing the authentication scores of all electronic devices by the authentication result consistency module in the electronic device shown in FIG. 4 ;
图6为本申请一实施例提供的一种声纹认证应答系统的场景示意图;FIG. 6 is a schematic diagram of a scene of a voiceprint authentication response system provided by an embodiment of the present application;
图7为本申请一实施例提供的一种声纹认证应答方法的流程示意图。FIG. 7 is a schematic flowchart of a method for responding to voiceprint authentication provided by an embodiment of the present application.
具体实施方式Detailed ways
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,单独a,单独b或单独c中的至少一项(个),可以表示:单独a,单独b,单独c,组合a和b,组合a和c,组合b和c,或组合a、b和c,其中a,b,c可以是单个,也可以是多个。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (unit) of a, b or c alone may mean: a alone, b alone, c alone, a combination of a and b, a combination of a and c, a combination of b and c, or a combination of a, b and c, where a, b, c can be single or multiple. In addition, the terms "first" and "second" are used for descriptive purposes only, and should not be understood as indicating or implying relative importance.
本申请提供一种声纹认证应答方法、装置、系统及电子设备,可在多电子设备的场景中,每个电子设备可对用户的语音交互数据进行声纹认证,得到每个电子设备的认证分数, 并通过同步全部电子设备各自的认证分数,选择出多电子设备中的最适合的电子设备,使得最适合的电子设备对用户的语音交互数据进行认证应答,不仅实现了多电子设备的协同互助式认证,保证了在识别和认证用户上较高的便捷性和安全性,还提升了电子设备认证应答的效果,有助于提升使用电子设备的用户体验。The present application provides a voiceprint authentication response method, device, system, and electronic equipment. In the scenario of multiple electronic equipment, each electronic equipment can perform voiceprint authentication on the user's voice interaction data, and obtain the authentication of each electronic equipment. Score, and by synchronizing the authentication scores of all electronic devices, select the most suitable electronic device among multiple electronic devices, so that the most suitable electronic device can authenticate and respond to the user's voice interaction data, which not only realizes the coordination of multiple electronic devices Mutual authentication ensures high convenience and security in identifying and authenticating users, improves the effect of electronic device authentication responses, and helps improve user experience in using electronic devices.
其中,电子设备可以是手机(如折叠屏手机、大屏手机等)、平板电脑、笔记本电脑、可穿戴电子设备、车载电子设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)电子设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)、智能电视、智慧屏、高清电视、4K电视、智能音箱、智能投影仪等电子设备,本申请对电子设备的具体类型不作任何限制。Among them, the electronic device can be a mobile phone (such as a folding screen mobile phone, a large screen mobile phone, etc.), a tablet computer, a notebook computer, a wearable electronic device, a vehicle electronic device, an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) ) electronic equipment, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA), smart TV, smart screen, high-definition TV, 4K TV, smart speaker, smart projector, etc. Electronic equipment, this application does not impose any limitation on the specific type of electronic equipment.
下面以电子设备为手机为例,结合图1,介绍本申请涉及的电子设备。Taking the electronic device as a mobile phone as an example, the electronic device involved in this application will be introduced in conjunction with FIG. 1 .
图1为本申请一实施例提供的一种电子设备的结构示意图。如图1所示,电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in Figure 1, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, and a battery 142 , antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193 , a display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请示意的结构并不构成对电子设备100的具体限定。在另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in this application does not constitute a specific limitation on the electronic device 100 . In other embodiments, the electronic device 100 may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU) wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Wherein, the controller may be the nerve center and command center of the electronic device 100 . The controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口, 用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100 .
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 . In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。I2S接口和PCM接口都可以用于音频通信。The PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both I2S interface and PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 and the wireless communication module 160 . For example: the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc. In some embodiments, the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device 100 . The processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device 100 .
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and so on. The GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围电子设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR电子设备等。The USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100 , and can also be used to transmit data between the electronic device 100 and peripheral electronic devices. It can also be used to connect headphones and play audio through them. The interface can also be used to connect other electronic devices, such as AR electronic devices and the like.
可以理解的是,本申请示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between modules shown in this application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通 过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is configured to receive a charging input from a charger. Wherein, the charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the external memory, the display screen 194 , the camera 193 , and the wireless communication module 160 . The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be disposed in the processor 110 . In some other embodiments, the power management module 141 and the charging management module 140 may also be set in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like. The mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频电子设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。A modem processor may include a modulator and a demodulator. Wherein, the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is passed to the application processor after being processed by the baseband processor. The application processor outputs sound signals through audio electronics (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100. System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他电子设备通信。无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM), 通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other electronic devices through wireless communication technology. Wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband code division Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , and/or IR technology, etc. GNSS can include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi-zenith) satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 realizes the display function through the GPU, the display screen 194 , and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos and the like. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194 , where N is a positive integer greater than 1.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 can realize the shooting function through the ISP, the camera 193 , the video codec, the GPU, the display screen 194 and the application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used for processing the data fed back by the camera 193 . For example, when taking a picture, open the shutter, the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be located in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects it to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By referring to the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be realized through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
内部存储器121可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 may be used to store computer-executable program codes including instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 . The internal memory 121 may include an area for storing programs and an area for storing data. Wherein, the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like. The storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 can implement audio functions through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。Speaker 170A, also referred to as a "horn", is used to convert audio electrical signals into sound signals. Electronic device 100 can listen to music through speaker 170A, or listen to hands-free calls.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。 Receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the receiver 170B can be placed close to the human ear to receive the voice.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 may be provided with two microphones 170C, which may also implement a noise reduction function in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions, etc.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used for connecting wired earphones. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第 一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. In some embodiments, pressure sensor 180A may be disposed on display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may be comprised of at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When there is a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acting on the short message application icon, the instruction for creating a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B can be used to determine the motion posture of the electronic device 100 . In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y and z axes) may be determined by the gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a clamshell machine, the electronic device 100 can detect opening and closing of the clamshell according to the magnetic sensor 180D. Furthermore, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, features such as automatic unlocking of the flip cover are set.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。The distance sensor 180F is used to measure the distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The electronic device 100 emits infrared light through the light emitting diode. Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 . The electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used for sensing ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket, so as to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access to application locks, take pictures with fingerprints, answer incoming calls with fingerprints, and the like.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the electronic device 100 may reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from being shut down abnormally due to the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测 作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also known as "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the position of the display screen 194 .
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined into a bone conduction earphone. The audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M, so as to realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power key, a volume key and the like. The key 190 may be a mechanical key. It can also be a touch button. The electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate a vibrating reminder. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations applied to different applications (such as taking pictures, playing audio, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used for connecting a SIM card. The SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of multiple cards may be the same or different. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication. In some embodiments, the electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请以分层架构的Android系统为例,示例性说明电子设备100的软件结构。其中,本申请对电子设备的操作系统的类型不做限定。例如,Android系统、Linux系统、Windows系统、iOS系统、鸿蒙操作系统(harmony operating system,鸿蒙OS)等。The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture. This application takes the Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 . Wherein, the present application does not limit the type of the operating system of the electronic device. For example, Android system, Linux system, Windows system, iOS system, Hongmeng operating system (harmony operating system, Hongmeng OS), etc.
图2为本申请一实施例提供的一种电子设备的软件结构框图。如图2所示,分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层(APP),应用程序框架层(APP framework),安卓运行时(Android runtime)和系统库(libraries),以及内核层(kernel)。FIG. 2 is a block diagram of a software structure of an electronic device provided by an embodiment of the present application. As shown in Figure 2, the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are application program layer (APP), application program framework layer (APP framework), Android runtime (Android runtime) and system library (libraries), And the kernel layer (kernel).
应用程序层可以包括一系列应用程序包。The application layer can consist of a series of application packages.
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN, 蓝牙,音乐,视频,游戏,聊天,购物,出行,即时通信(如短信息),智能家居,电子设备控制等应用程序(application,APP)。As shown in Figure 2, the application package can include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, game, chat, shopping, travel, instant communication (such as short message), smart home, Electronic device control and other applications (application, APP).
其中,智能家居应用可用于对具有联网功能的家居电子设备进行控制或管理。例如,家居电子设备可以包括电灯、电视和空调。又如,家居电子设备还可以包括防盗门锁、音箱、扫地机器人、插座、体脂秤、台灯、空气净化器、电冰箱、洗衣机、热水器、微波炉、电饭锅、窗帘、风扇、电视、机顶盒、门窗等。Among them, the smart home application can be used to control or manage home electronic devices with networking functions. For example, home electronics can include lights, televisions, and air conditioners. As another example, household electronic equipment can also include anti-theft door locks, speakers, sweeping robots, sockets, body fat scales, lamps, air purifiers, refrigerators, washing machines, water heaters, microwave ovens, rice cookers, curtains, fans, TVs, set-top boxes , doors and windows, etc.
另外,应用程序包还可以包括:主屏幕(即桌面),负一屏,控制中心,通知中心等应用程序。In addition, the application package may also include applications such as a main screen (that is, a desktop), a negative screen, a control center, and a notification center.
其中,负一屏,又可称为“-1屏”,是指在电子设备的主屏幕向右滑动屏幕,直至滑动至最左侧分屏的用户界面(user interface,UI)。例如,负一屏可以用于放置一些快捷服务功能和通知消息,比如全局搜索、应用程序某个页面的快捷入口(付款码、微信等)、即时信息及提醒(快递信息、支出信息、通勤路况、打车出行信息、日程信息等)及关注动态(足球看台、篮球看台、股票信息等)等。控制中心为电子设备的上滑消息通知栏,即当用户在电子设备的底部开始进行向上滑动的操作时电子设备所显示出的用户界面。通知中心为电子设备的下拉消息通知栏,即当用户在电子设备的顶部开始进行向下操作时电子设备所显示出的用户界面。Among them, negative one screen, also known as "-1 screen", refers to a user interface (user interface, UI) that slides to the right on the main screen of the electronic device until it slides to the leftmost split screen. For example, the negative screen can be used to place some quick service functions and notification messages, such as global search, quick entry of a certain page of the application (payment code, WeChat, etc.), instant messages and reminders (express information, expenditure information, commuting traffic conditions, etc.) , taxi travel information, schedule information, etc.) and follow news (football stands, basketball stands, stock information, etc.). The control center is a sliding-up message notification bar of the electronic device, that is, a user interface displayed by the electronic device when the user starts to perform an upward sliding operation on the bottom of the electronic device. The notification center is the drop-down message notification bar of the electronic device, that is, the user interface displayed by the electronic device when the user starts to perform a downward operation on the top of the electronic device.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 2, the application framework layer can include window managers, content providers, view systems, phone managers, resource managers, notification managers, and so on.
窗口管理器(window manager)用于管理窗口程序,如管理窗口状态、属性、视图(view)增加、删除、更新、窗口顺序、消息收集和处理等。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。并且,窗口管理器为外界访问窗口的入口。The window manager is used to manage window programs, such as managing window status, attributes, view (view) addition, deletion, update, window order, message collection and processing, etc. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. Moreover, the window manager is the entrance for the outside world to access the window.
内容提供器用于存放和获取数据,并使这些数据可以被应用程序访问。数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make it accessible to applications. Data can include videos, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. The view system can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide communication functions of the electronic device 100 . For example, the management of call status (including connected, hung up, etc.).
资源管理器(resource manager)为应用程序提供各种资源,比如本地化字符串,图标,图片,用户界面的布局文件(layout xml),视频文件,字体,颜色,用户界面组件(user interface module,UI组件)的身份证标识号(identity document,ID)等。并且,资源管理器用于统一管理前述资源。The resource manager provides various resources for the application, such as localized strings, icons, pictures, user interface layout files (layout xml), video files, fonts, colors, user interface components (user interface module, ID card identification number (identity document, ID) of the UI component). In addition, the resource manager is used to manage the aforementioned resources in a unified manner.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify the download completion, message reminder, etc. The notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
安卓运行时包括核心库和虚拟机。安卓运行时负责Android系统的调度和管理。The Android runtime includes core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是Android系统的核心库。The core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of the Android system.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application program layer and the application program framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGLES),2D图形引擎(例如:SGL)等。A system library can include multiple function modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (eg: OpenGLES), 2D graphics engine (eg: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing and layer processing, etc.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
下面结合利用智能音箱播放声音的场景,示例性说明电子设备100的软件和硬件的工作流程。In the following, the workflow of software and hardware of the electronic device 100 will be exemplarily described in combination with a scenario where a smart speaker is used to play sound.
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是触摸单击操作,该单击操作所对应的控件为智能音箱图标的控件为例,智能音箱应用调用应用框架层的接口,启动智能音箱应用,进而通过调用内核层启动音频驱动,通过扬声器170A将音频电信号转换成声音信号。When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is sent to the kernel layer. The kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, and other information). Raw input events are stored at the kernel level. The application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Take the touch operation as a touch and click operation, and the control corresponding to the click operation is the control of the smart speaker icon as an example. The smart speaker application calls the interface of the application framework layer to start the smart speaker application, and then starts the audio driver by calling the kernel layer , the electrical audio signal is converted into an audio signal through the speaker 170A.
可以理解的是,本申请示意的结构并不构成对电子设备100的具体限定。在另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in this application does not constitute a specific limitation on the electronic device 100 . In other embodiments, the electronic device 100 may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components. The illustrated components can be realized in hardware, software or a combination of software and hardware.
基于前述描述,本申请以下实施例将以具有图1和图2所示结构的电子设备为例,结合附图和应用场景,对本申请提供的声纹认证应答系统进行详细阐述。Based on the foregoing description, the following embodiments of the present application will take the electronic device with the structure shown in FIG. 1 and FIG. 2 as an example, and describe the voiceprint authentication response system provided by the present application in detail in combination with the accompanying drawings and application scenarios.
请参阅图3,图3为本申请一实施例提供的一种声纹认证应答系统的结构示意图。如图3所示,声纹认证应答系统中可以包括多个电子设备,且声纹认证应答系统中的电子设备间安全且可靠地通信互连(即可信互连)。其中,本申请对电子设备间的连接方式不做限定。在一些实施例中,声纹认证应答系统中的电子设备间可通过登录相同账号、采用近距离无线通信NFC(如电子设备间碰一碰)或扫描相同二维码中的任意一种方式通信互连。Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of a voiceprint authentication response system provided by an embodiment of the present application. As shown in FIG. 3 , the voiceprint authentication response system may include multiple electronic devices, and the electronic devices in the voiceprint authentication response system are securely and reliably communicated and interconnected (ie, trusted interconnection). Wherein, the present application does not limit the connection manner between electronic devices. In some embodiments, the electronic devices in the voiceprint authentication response system can communicate with each other by logging into the same account, using NFC (such as touching between electronic devices) or scanning the same two-dimensional code. interconnection.
为了便于说明,图3中的声纹认证应答系统中以包括:音箱、大屏、平板、手机和PC为例进行示意。For ease of description, the voiceprint authentication response system in Figure 3 is illustrated by taking speakers, large screens, tablets, mobile phones and PCs as examples.
另外,本申请对声纹认证应答系统中的每个电子设备的如数量、类型、系统等参数不做限定。需要说明的是,声纹认证应答系统中的每个电子设备处于离线状态(即关机状态) 或处于非离线状态(即开机状态)也不做限定。In addition, this application does not limit the parameters such as quantity, type, system, etc. of each electronic device in the voiceprint authentication response system. It should be noted that there is no limitation on whether each electronic device in the voiceprint authentication response system is in an offline state (that is, a power-off state) or in a non-offline state (that is, a power-on state).
下面,结合图4,介绍声纹认证应答系统中的每个电子设备的软硬件结构示意图。Next, with reference to FIG. 4 , a schematic diagram of the hardware and software structure of each electronic device in the voiceprint authentication response system is introduced.
请参阅图4,图4为图3所示声纹认证应答系统中的每个电子设备的软硬件结构示意图。如图4所示,针对声纹认证应答系统中的每个电子设备而言,每个电子设备的软硬件结构可以包括:音频处理模块、认证词采集模块、声纹认证模块、声纹注册模块和认证结果一致性模块。其中,前述提及的模块可采用软件代码和/或硬件元器件来实现模块相应的功能。Please refer to FIG. 4 . FIG. 4 is a schematic diagram of the software and hardware structure of each electronic device in the voiceprint authentication response system shown in FIG. 3 . As shown in Figure 4, for each electronic device in the voiceprint authentication response system, the hardware and software structure of each electronic device may include: an audio processing module, an authentication word collection module, a voiceprint authentication module, and a voiceprint registration module And authentication result consistency module. Wherein, the aforementioned modules may use software codes and/or hardware components to implement corresponding functions of the modules.
声纹注册模块,用于接收用户的语音注册数据,并对用户的语音注册数据进行声纹训练,生成用户的声纹认证模型。The voiceprint registration module is used to receive the user's voice registration data, perform voiceprint training on the user's voice registration data, and generate the user's voiceprint authentication model.
其中,语音注册数据可为用户对电子设备提示的与文本相关和无关的内容进行朗读得到的声纹数据,也可为用户基于电子设备的用户界面设计(user interface design,UI)导入的用户的声纹数据,本申请对此不做限定。用户的声纹认证模型是基于用户的语音注册数据得到的,可通过分析用户的语音交互数据中的如音质、音长、音响等物理口腔特征,输出电子设备的认证分数。Among them, the voice registration data can be the voiceprint data obtained by the user reading aloud the text-related and irrelevant content prompted by the electronic device, or it can be the user's voiceprint data imported by the user based on the user interface design (UI) of the electronic device. Voiceprint data, which is not limited in this application. The user's voiceprint authentication model is obtained based on the user's voice registration data, and can output the authentication score of the electronic device by analyzing the user's voice interaction data such as physical oral features such as sound quality, sound length, and sound.
其中,电子设备的认证分数用于表示电子设备认证语音交互数据属于用户的匹配度,可表征语音交互数据进行声纹认证中的如音质、音长、音响等物理口腔特征越接近用户的物理口腔特征。即,电子设备的认证分数越高,电子设备认证用户的语音交互数据属于用户的匹配度越高。本申请对电子设备的认证分数的具体实现方式不做限定。另外,电子设备可采用键值(key-value)的形式对电子设备的认证分数进行存储。Among them, the authentication score of the electronic device is used to indicate the matching degree of the electronic device authentication voice interaction data belonging to the user, which can represent the closer the physical oral characteristics of the voice interaction data such as sound quality, sound length, and sound in the voiceprint authentication are to the user's physical oral cavity. feature. That is, the higher the authentication score of the electronic device is, the higher the degree of matching that the voice interaction data of the electronic device authenticates the user belongs to the user. The present application does not limit the specific implementation manner of the authentication score of the electronic device. In addition, the electronic device may store the authentication score of the electronic device in the form of a key-value.
声纹注册模块,还用于将用户的声纹认证模型存储在电子设备中,使得电子设备采用用户的声纹认证模型对语音交互数据进行声纹认证。需要说明的是,电子设备可存储一个或多个用户的声纹认证模块。另外,电子设备还可对一个用户的声纹认证模块进行优化或更新。The voiceprint registration module is further configured to store the user's voiceprint authentication model in the electronic device, so that the electronic device uses the user's voiceprint authentication model to perform voiceprint authentication on the voice interaction data. It should be noted that the electronic device may store voiceprint authentication modules of one or more users. In addition, the electronic device can also optimize or update a user's voiceprint authentication module.
音频处理模块,用于接收用户的语音交互数据。由于用户的语音交互数据不可避免的会夹杂周围环境音数据,因此,音频处理模块,还用于对用户的语音交互数据进行消噪处理、声电转换和格式匹配,得到处理后的数据,并将处理后的数据发送给认证词采集模块。其中,处理后的数据可采用如脉冲编码调制(pulse code modulation,PCM)等格式。The audio processing module is used to receive the user's voice interaction data. Since the user's voice interaction data will inevitably be mixed with ambient sound data, the audio processing module is also used to perform noise reduction processing, acoustic-electric conversion, and format matching on the user's voice interaction data to obtain the processed data, and Send the processed data to the authentication word collection module. Wherein, the processed data may adopt a format such as pulse code modulation (pulse code modulation, PCM).
认证词采集模块,用于对处理后的数据进行裁剪处理,得到用户的语音交互数据,并将用户的语音交互数据发送给声纹认证模块。The authentication word collection module is used to cut the processed data to obtain the user's voice interaction data, and send the user's voice interaction data to the voiceprint authentication module.
声纹认证模块,用于通过用户的声纹认证模块,对用户的语音交互数据进行声纹认证,得到电子设备的认证分数,并将电子设备的认证分数发送给认证结果一致性模块。The voiceprint authentication module is used to perform voiceprint authentication on the user's voice interaction data through the user's voiceprint authentication module, obtain the authentication score of the electronic device, and send the authentication score of the electronic device to the authentication result consistency module.
认证结果一致性模块,用于接收声纹认证应答系统中的除了电子设备之外的其余电子设备各自的认证分数。从而,电子设备可获取到声纹认证应答系统中的全部电子设备各自的认证分数。另外,电子设备可采用键值(key-value)的形式对其余电子设备各自的认证分数进行存储。The authentication result consistency module is used to receive the respective authentication scores of the other electronic devices except the electronic devices in the voiceprint authentication response system. Therefore, the electronic device can obtain the respective authentication scores of all electronic devices in the voiceprint authentication response system. In addition, the electronic device may store the respective authentication scores of other electronic devices in the form of a key-value.
在一些实施例中,认证结果一致性模块可通过如流行病协议(gossip protocol),向声纹认证应答系统中的除了电子设备之外的其余电子设备发送电子设备的认证分数,即将电子设备的认证分数传播给与电子设备通信互连的其余电子设备,并接收声纹认证应答系统中的除了电子设备之外的其余电子设备发送的其余电子设备各自的认证分数,即等待接收 其余电子设备传播的其余电子设备各自的认证分数,使得电子设备可接收到声纹认证应答系统中的除了电子设备之外的其余电子设备各自的认证分数。In some embodiments, the authentication result consistency module can send the authentication score of the electronic device to the rest of the electronic devices in the voiceprint authentication response system except the electronic device through the epidemic protocol (gossip protocol), that is, the electronic device's The authentication score is propagated to the rest of the electronic devices that communicate and interconnect with the electronic device, and receive the respective authentication scores of the rest of the electronic devices sent by the other electronic devices in the voiceprint authentication response system except the electronic device, that is, wait to receive the transmission of the rest of the electronic devices. The respective authentication scores of the rest of the electronic devices, so that the electronic devices can receive the respective authentication scores of the rest of the electronic devices in the voiceprint authentication response system except the electronic devices.
认证结果一致性模块,还用于基于声纹认证应答系统中的全部电子设备各自的认证分数,确定电子设备自身是否为应答电子设备,即电子设备是否需要对用户的语音交互数据进行认证应答。The authentication result consistency module is also used to determine whether the electronic device itself is an answering electronic device based on the respective authentication scores of all electronic devices in the voiceprint authentication response system, that is, whether the electronic device needs to perform an authentication response to the user's voice interaction data.
下面,结合图5A-图5C,介绍认证结果一致性模块同步全部电子设备各自的认证分数的详细实现过程。Next, with reference to FIG. 5A-FIG. 5C , the detailed implementation process of synchronizing the authentication scores of all electronic devices by the authentication result consistency module is introduced.
请参阅图5A-图5C和图6,图5A-图5C为图4所示电子设备中的认证结果一致性模块同步全部电子设备各自的认证分数的流程示意图,图6为本申请一实施例提供的一种声纹认证应答系统的场景示意图。Please refer to FIG. 5A-FIG. 5C and FIG. 6. FIG. 5A-FIG. 5C is a schematic flow diagram of the authentication result consistency module in the electronic device shown in FIG. 4 synchronizing the authentication scores of all electronic devices. FIG. 6 is an embodiment of the present application A schematic diagram of a scenario of a voiceprint authentication response system is provided.
为了便于说明,图5A-图5C和图6中,以声纹认证应答系统中包括:音箱、大屏、平板、手机和PC,且多电子设备的场景为家居场景为例进行示意。其中,音箱可看作为A节点,大屏可看作B节点,平板可看作C节点,手机可看作D节点,PC可看作E节点。并且,A节点分别与B节点和C节点通信互连,C节点分别与D节点和E节点通信互联。For the sake of illustration, in Fig. 5A-Fig. 5C and Fig. 6, the voiceprint authentication response system includes: speakers, large screens, tablets, mobile phones and PCs, and the scene of multiple electronic devices is a home scene as an example. Among them, speakers can be regarded as node A, large screens can be regarded as node B, tablets can be regarded as node C, mobile phones can be regarded as node D, and PCs can be regarded as node E. In addition, node A communicates with node B and node C respectively, and node C communicates with node D and node E respectively.
如图5A所示,在A节点已确定出音箱的认证分数后,设定A节点作为传播音箱的认证分数的源头,且设定A节点包括两条传播路径,即A节点可分别向与A节点通信互联的B节点和C节点传播音箱的认证分数。需要说明的是,除了数量2之外,本申请对A节点的传播路径的数量不做限定。另外,A节点的传播复杂度为:O(Log5)(base2)。As shown in Figure 5A, after node A has determined the certification score of the speaker, set node A as the source of transmitting the certification score of the speaker, and set node A to include two transmission paths, that is, node A can communicate with A Node B and C nodes communicate with each other to spread the authentication score of the speakers. It should be noted that, except for the number 2, the present application does not limit the number of propagation paths of the A node. In addition, the propagation complexity of node A is: O(Log5)(base2).
在A节点完成音箱的认证分数的传播后,B节点和C节点会被“传播”,即B节点和C节点已接收到音箱的认证分数。After node A completes the dissemination of the speaker's authentication score, nodes B and C will be "propagated", that is, node B and node C have received the speaker's authentication score.
在下一次传播音箱的认证分数的过程中,A节点、B节点和C节点中的每个节点均包括两条传播路径。此时,C节点可分别向与C节点通信互联的D节点和E节点传播音箱的认证分数。In the process of disseminating the authentication scores of the speakers next time, each of the nodes A, B and C includes two propagation paths. At this time, the node C can respectively propagate the certification score of the speaker to the node D and the node E which are communicatively interconnected with the node C.
在C节点完成音箱的认证分数的传播后,D节点和E节点会被“传播”,即D节点和E节点已接收到音箱的认证分数。After the C node completes the dissemination of the speaker's certification score, the D node and the E node will be "propagated", that is, the D node and the E node have received the speaker's certification score.
综上,音箱的认证分数已传输给所有节点(即A节点、B节点、C节点、D节点和E节点),即声纹认证应答系统中的全部电子设备均已接收到音箱的认证分数。To sum up, the authentication score of the speaker has been transmitted to all nodes (namely node A, node B, node C, node D and node E), that is, all electronic devices in the voiceprint authentication response system have received the authentication score of the speaker.
需要说明的是,除了传播电子设备的认证分数之外,声纹认证应答系统中的每个电子设备还可传播电子设备的设备标识。其中,电子设备的设备标识用于唯一标识电子设备的认证分数所对应的电子设备。本申请对电子设备的设备标识的具体实现方式不做限定。例如,电子设备的设备标识可采用身份证标识号(identity document,ID)、设备型号或者设备编号等方式进行表示。It should be noted that, in addition to disseminating the authentication score of the electronic device, each electronic device in the voiceprint authentication response system may also disseminate the device identification of the electronic device. Wherein, the device identifier of the electronic device is used to uniquely identify the electronic device corresponding to the authentication score of the electronic device. The present application does not limit the specific implementation manner of the device identification of the electronic device. For example, the device identifier of the electronic device may be represented by means of an ID card identification number (identity document, ID), a device model, or a device number.
另外,在接收到电子设备的认证分数后,由于声纹认证应答系统中可能存在电子设备处于离线状态,因此,声纹认证应答系统中的其余电子设备可向电子设备发送已接收到电子设备的认证分数的通知消息,使得电子设备获知其余电子设备已接收到电子设备的认证分数。In addition, after receiving the authentication score of the electronic device, since there may be electronic devices in the voiceprint authentication response system that are offline, the rest of the electronic devices in the voiceprint authentication response system can send the received electronic device information to the electronic device. The notification message of the authentication score enables the electronic device to know that other electronic devices have received the authentication score of the electronic device.
同理,除了音箱之外,声纹认证应答系统中的其余电子设备均可采用上述方式将各自的认证分数传播到全部电子设备。进而,声纹认证应答系统中的每个电子设备均已获知全部电子设备各自的认证分数,即处于非离线状态的每个电子设备均已接收到处于非离线状 态的全部电子设备各自的认证分数。Similarly, except for the speakers, other electronic devices in the voiceprint authentication response system can use the above method to propagate their respective authentication scores to all electronic devices. Furthermore, each electronic device in the voiceprint authentication response system has already known the respective authentication scores of all electronic devices, that is, each electronic device in the non-offline state has received the respective authentication scores of all the electronic devices in the non-offline state .
从而,每个电子设备中的认证结果一致性模块可基于全部电子设备各自的认证分数,确定出电子设备自身是否为应答电子设备。Therefore, the authentication result consistency module in each electronic device can determine whether the electronic device itself is the responding electronic device based on the respective authentication scores of all electronic devices.
在一些实施例中,认证结果一致性模块可在声纹认证应答系统中的全部电子设备各自的认证分数中,确定出最高认证分数。In some embodiments, the authentication result consistency module can determine the highest authentication score among the respective authentication scores of all electronic devices in the voiceprint authentication response system.
在最高认证分数对应的电子设备包括声纹认证应答系统中的一个电子设备时,认证结果一致性模块可将最高认证分数对应的电子设备确定为应答电子设备。When the electronic device corresponding to the highest authentication score includes an electronic device in the voiceprint authentication response system, the authentication result consistency module may determine the electronic device corresponding to the highest authentication score as the responding electronic device.
例如,假设手机和PC处于离线状态,则音箱、大屏和平板均已接收到:音箱的认证分数为90,大屏的认证分数为80,平板的认证分数为85。那么,由于90>85>80。因此,音箱、大屏和平板中的每个电子设备的认证结果一致性模块可选举出应答电子设备为音箱。For example, assuming that the mobile phone and the PC are offline, the speaker, the large screen and the tablet have all received: the authentication score of the speaker is 90, the authentication score of the large screen is 80, and the authentication score of the tablet is 85. Well, since 90>85>80. Therefore, the authentication result consistency module of each electronic device in the speaker, the large screen and the tablet can select the responding electronic device as the speaker.
另外,认证结果一致性模块,还用于测量电子设备在用户发出用户的语音交互数据时与用户间的距离。或者,每个电子设备可新增用于测量电子设备在用户发出用户的语音交互数据时与用户间的距离的测距模块(图4中未示意)。其中,测距模块可采用软件代码和/或硬件元器件来实现测距的功能。In addition, the authentication result consistency module is also used to measure the distance between the electronic device and the user when the user sends out the user's voice interaction data. Alternatively, each electronic device may add a ranging module (not shown in FIG. 4 ) for measuring the distance between the electronic device and the user when the user sends out the user's voice interaction data. Wherein, the ranging module may use software codes and/or hardware components to realize the ranging function.
在最高认证分数对应的电子设备包括声纹认证应答系统中的多个电子设备时,认证结果一致性模块可从最高认证分数对应的电子设备中,确定与用户距离最近的电子设备,并将与用户距离最近的电子设备确定为应答电子设备。When the electronic device corresponding to the highest authentication score includes multiple electronic devices in the voiceprint authentication response system, the authentication result consistency module can determine the electronic device closest to the user from the electronic devices corresponding to the highest authentication score, and compare it with the The electronic device closest to the user is determined to be the answering electronic device.
例如,假设手机和PC处于离线状态,则音箱、大屏和平板均已接收到:音箱的认证分数为90,大屏的认证分数为90,平板的认证分数为85。那么,由于90>85,且音箱比大屏更接近用户。因此,音箱、大屏和平板中的每个电子设备的认证结果一致性模块可选举出应答电子设备为音箱。For example, assuming that the mobile phone and the PC are offline, the speaker, the large screen and the tablet have all received: the authentication score of the speaker is 90, the authentication score of the large screen is 90, and the authentication score of the tablet is 85. Then, because 90>85, and the speaker is closer to the user than the big screen. Therefore, the authentication result consistency module of each electronic device in the speaker, the large screen and the tablet can select the responding electronic device as the speaker.
综上,在图6所示的多电子设备的家居场景中,音箱可发出“我在”的语音应答数据来认证应答用户发出的“小艺小艺”的语音交互数据。To sum up, in the home scene with multiple electronic devices shown in Figure 6, the speaker can send out the voice response data of "I'm here" to authenticate and respond to the voice interaction data of "Xiaoyi Xiaoyi" sent by the user.
从而,声纹认证应答系统中的每个电子设备可确定出了识别用户精度最高的电子设备,即选择出最适合认证应答的电子设备。Therefore, each electronic device in the voiceprint authentication response system can determine the electronic device with the highest user identification accuracy, that is, select the electronic device most suitable for the authentication response.
基于图3、图4和图5A-图5C实施例的描述,结合图7,介绍本申请的声纹认证应答方法的详细实现过程。Based on the description of the embodiment in FIG. 3 , FIG. 4 and FIG. 5A-FIG. 5C , combined with FIG. 7 , the detailed implementation process of the voiceprint authentication response method of the present application is introduced.
为了便于说明,图7中,本申请的声纹认证应答方法由第一电子设备来执行,第一电子设备为声纹认证应答系统中的处于非离线状态的一个电子设备,且第一电子设备中至少存储有用户的声纹认证模型。此处的第一电子设备的具体实现方式可参见图1-图5C所示的电子设备的描述,此处不做赘述。For ease of description, in Figure 7, the voiceprint authentication response method of the present application is executed by the first electronic device, the first electronic device is an electronic device in a non-offline state in the voiceprint authentication response system, and the first electronic device At least the user's voiceprint authentication model is stored in . For the specific implementation manner of the first electronic device here, reference may be made to the description of the electronic device shown in FIGS. 1-5C , which will not be repeated here.
请参阅图7,图7为本申请一实施例提供的一种声纹认证应答方法的流程示意图。如图7所示,本申请的声纹认证应答方法可以包括:Please refer to FIG. 7 . FIG. 7 is a schematic flowchart of a method for responding to voiceprint authentication provided by an embodiment of the present application. As shown in Figure 7, the voiceprint authentication response method of the present application may include:
S101、第一电子设备获取用户的语音交互数据。S101. The first electronic device acquires voice interaction data of a user.
第一电子设备可采用音频处理模块和认证词采集模块,获取用户的语音交互数据。其中,用户的语音交互数据可为用户处于多电子设备的场景中所发出的语音数据。例如,用户的语音交互数据可包括唤醒词和/或命令语,唤醒词用于唤醒第一电子设备,命令语为指示第一电子设备执行相应操作的语音数据。例如,用户发出的“小艺小艺,今天天气如何”的语音交互数据中,“小艺小艺”为唤醒词,“今天天气如何”为命令语。The first electronic device may use the audio processing module and the authentication word collection module to obtain the voice interaction data of the user. Wherein, the voice interaction data of the user may be the voice data sent by the user in a scene of multiple electronic devices. For example, the user's voice interaction data may include wake-up words and/or command words, the wake-up words are used to wake up the first electronic device, and the command words are voice data instructing the first electronic device to perform corresponding operations. For example, in the voice interaction data of "Xiaoyi Xiaoyi, what's the weather today" sent by the user, "Xiaoyi Xiaoyi" is the wake-up word, and "What's the weather today" is the command language.
S102、第一电子设备对语音交互数据进行声纹认证,得到第一电子设备的认证分数,第一电子设备的认证分数用于表示第一电子设备认证语音交互数据属于用户的匹配度。S102. The first electronic device performs voiceprint authentication on the voice interaction data to obtain an authentication score of the first electronic device, and the authentication score of the first electronic device is used to indicate the matching degree of the first electronic device authenticating that the voice interaction data belongs to the user.
第一电子设备可采用声纹认证模块,调用存储在第一电子设备中的用户的声纹认证模块。从而,第一电子设备可通过用户的声纹认证模块,对语音交互数据进行声纹认证,得到第一电子设备的认证分数。The first electronic device may use the voiceprint authentication module to invoke the user's voiceprint authentication module stored in the first electronic device. Therefore, the first electronic device can perform voiceprint authentication on the voice interaction data through the user's voiceprint authentication module to obtain the authentication score of the first electronic device.
需要说明的是,在对用户的语音交互数据进行声纹认证之前,第一电子设备需要检测第一电子设备自身是否与声纹认证应答系统中的其余电子设备建立通信互连,即第一电子设备与其余电子设备间是否能够安全且可靠地传输数据。It should be noted that before performing voiceprint authentication on the user's voice interaction data, the first electronic device needs to detect whether the first electronic device itself establishes communication interconnection with other electronic devices in the voiceprint authentication response system, that is, the first electronic device Whether data can be transmitted securely and reliably between the device and other electronic devices.
其中,本申请对第一电子设备检测通信互连的方式不做限定。Wherein, the present application does not limit the manner in which the first electronic device detects the communication interconnection.
在一些实施例中,服务器(如云服务器)中可存储有声纹认证应答系统中的可通信互连的电子设备。从而,第一电子设备可向服务器发送第一请求,第一请求用于询问第一电子设备自身是否与声纹认证应答系统中的其余电子设备建立了通信互连。服务器可基于服务器存储的声纹认证应答系统中的电子设备间是否通信互连的情况,可向第一电子设备发送第一响应,第一响应用于表示第一电子设备自身是否与其余电子设备中的每个电子设备建立了通信互连。其中,本申请对第一请求和第一响应的具体实现方式不做限定。In some embodiments, electronic devices that can be communicated and interconnected in the voiceprint authentication response system can be stored in a server (such as a cloud server). Therefore, the first electronic device may send a first request to the server, and the first request is used to inquire whether the first electronic device has established communication interconnection with other electronic devices in the voiceprint authentication response system. The server can send a first response to the first electronic device based on whether the electronic devices in the voiceprint authentication response system stored in the server are interconnected by communication. The first response is used to indicate whether the first electronic device itself is connected to other electronic devices. Each electronic device in the communication interconnection is established. Wherein, the present application does not limit the specific implementation manners of the first request and the first response.
从而,在第一电子设备自身与声纹认证应答系统中的其余电子设备建立了通信互连的情况下,第一电子设备可对用户的语音交互数据进行声纹认证。在第一电子设备自身未与声纹认证应答系统中的其余电子设备建立了通信互连时的情况下,第一电子设备可屏蔽用户的语音交互数据,即不作认证应答。Therefore, when the first electronic device itself establishes communication interconnection with other electronic devices in the voiceprint authentication response system, the first electronic device can perform voiceprint authentication on the user's voice interaction data. When the first electronic device itself has not established communication interconnection with other electronic devices in the voiceprint authentication response system, the first electronic device can shield the user's voice interaction data, that is, not make an authentication response.
在另一些实施例中,第一电子设备可向其余电子设备中的每个电子设备发送第二请求,第二请求用于询问第一电子设备自身是否与对应的电子设备建立了通信互连。其余电子设备中的每个电子设备基于第一电子设备与对应的电子设备自身是否通信互连的情况,可向第一电子设备发送第二响应,第二响应用于表示第一电子设备自身是否与对应的电子设备建立了通信互连。其中,本申请对第二请求和第二响应的具体实现方式不做限定。In some other embodiments, the first electronic device may send a second request to each of the remaining electronic devices, and the second request is used to inquire whether the first electronic device itself has established a communication interconnection with the corresponding electronic device. Each of the remaining electronic devices may send a second response to the first electronic device based on whether the first electronic device communicates with the corresponding electronic device itself, and the second response is used to indicate whether the first electronic device itself A communicative interconnection is established with the corresponding electronic device. Wherein, the present application does not limit the specific implementation manners of the second request and the second response.
S103、第一电子设备获取声纹认证应答系统中的除了第一电子设备之外的其余电子设备各自的认证分数,其余电子设备中的每个电子设备的认证分数是每个电子设备对语音交互数据进行声纹认证得到的,每个电子设备的认证分数用于表示每个电子设备认证语音交互数据属于用户的匹配度。S103. The first electronic device obtains the respective authentication scores of the other electronic devices except the first electronic device in the voiceprint authentication response system, and the authentication score of each electronic device in the other electronic devices is the voice interaction The data is obtained through voiceprint authentication, and the authentication score of each electronic device is used to indicate the matching degree of each electronic device authenticating that the voice interaction data belongs to the user.
第一电子设备可采用认证结果一致性模块,接收到声纹认证应答系统中的除了第一电子设备之外的其余电子设备各自的认证分数。从而,第一电子设备可获取到声纹认证应答系统中的全部电子设备各自的认证分数。The first electronic device may use the authentication result consistency module to receive the respective authentication scores of other electronic devices in the voiceprint authentication response system except the first electronic device. Therefore, the first electronic device can obtain the respective authentication scores of all electronic devices in the voiceprint authentication response system.
S104、第一电子设备基于声纹认证应答系统中的全部电子设备各自的认证分数,确定第一电子设备是否为声纹认证应答系统中的应答电子设备。S104. The first electronic device determines whether the first electronic device is a responding electronic device in the voiceprint authentication response system based on the respective authentication scores of all electronic devices in the voiceprint authentication response system.
第一电子设备还可采用认证结果一致性模块,基于声纹认证应答系统中的全部电子设备各自的认证分数,确定出声纹认证应答系统中的应答电子设备。其中,应答电子设备为声纹认证应答系统中的一个电子设备。The first electronic device may also use the authentication result consistency module to determine the answering electronic device in the voiceprint authentication response system based on the respective authentication scores of all electronic devices in the voiceprint authentication response system. Wherein, the response electronic device is an electronic device in the voiceprint authentication response system.
在确定第一电子设备为应答电子设备时,第一电子设备执行步骤S1051。在确定第一电子设备不为应答电子设备时,第一电子设备执行步骤S1052。When it is determined that the first electronic device is the answering electronic device, the first electronic device executes step S1051. When determining that the first electronic device is not the answering electronic device, the first electronic device executes step S1052.
S1051、第一电子设备对语音交互数据进行认证应答。S1051. The first electronic device sends an authentication response to the voice interaction data.
第一电子设备可对用户的语音交互数据进行认证应答。其中,本申请对第一电子设备认证应答用户的语音交互数据的方式不做限定。在一些实施例中,第一电子设备可向用户提示第一电子设备所具备的功能,也可向用户询问第一电子设备所需执行的操作内容,也可以向用户回复用户的语音交互数据对应的答复。The first electronic device may perform an authentication response to the voice interaction data of the user. Wherein, the present application does not limit the manner in which the first electronic device authenticates the voice interaction data of the responding user. In some embodiments, the first electronic device can prompt the user with the functions of the first electronic device, can also ask the user about the operation content that the first electronic device needs to perform, and can also reply to the user with the corresponding voice interaction data of the user. answer.
S1052、第一电子设备对语音交互数据屏蔽认证应答。S1052. The first electronic device blocks an authentication response to the voice interaction data.
第一电子设备可对用户的语音交互数据不作认证应答,而由声纹认证应答系统中的应答电子设备对用户的语音交互数据进行认证应答。The first electronic device may not make an authentication response to the user's voice interaction data, but the response electronic device in the voiceprint authentication response system may make an authentication response to the user's voice interaction data.
本申请的声纹认证应答方法,第一电子设备作为声纹认证应答系统中的一个电子设备,可获取用户的语音交互数据,并对用户的语音交互数据进行声纹认证,得到第一电子设备的认证分数。由于声纹认证应答系统中的电子设备间通信互连。因此,第一电子设备可获取声纹认证应答系统中的除了第一电子设备之外的其余电子设备各自的认证分数。第一电子设备基于声纹认证应答系统中的全部电子设备各自的认证分数,可确定出第一电子设备是否为声纹认证应答系统中的应答电子设备。在确定第一电子设备为应答电子设备时,第一电子设备可对用户的语音交互数据进行认证应答。从而,通过同步声纹认证应答系统中的每个电子设备的认证分数,完成了多电子设备的场景下的更为准确地对用户的识别和认证,选择出了声纹认证应答系统中的最合适的电子设备,使得最适合的电子设备能够对用户的语音交互数据进行认证应答,不仅实现了声纹认证应答系统中的电子设备间的协同互助式认证,也无需考虑由于声纹认证应答系统中存在处于离线状态的电子设备而导致无法实现用户的识别和认证的问题,提升了声纹认证应答系统在使用上的便捷性且安全性,还使得声纹认证应答系统中的电子设备识别和认证用户的效果更佳,提升了使用声纹认证应答系统的用户体验。In the voiceprint authentication response method of the present application, the first electronic device, as an electronic device in the voiceprint authentication response system, can obtain the user's voice interaction data, perform voiceprint authentication on the user's voice interaction data, and obtain the first electronic device certification score. Because of the communication interconnection between electronic devices in the voiceprint authentication response system. Therefore, the first electronic device can obtain the respective authentication scores of other electronic devices in the voiceprint authentication response system except the first electronic device. Based on the respective authentication scores of all electronic devices in the voiceprint authentication response system, the first electronic device can determine whether the first electronic device is a response electronic device in the voiceprint authentication response system. When it is determined that the first electronic device is the answering electronic device, the first electronic device may perform an authentication response to the voice interaction data of the user. Therefore, by synchronizing the authentication scores of each electronic device in the voiceprint authentication response system, more accurate identification and authentication of the user in the scenario of multiple electronic devices is completed, and the best electronic device in the voiceprint authentication response system is selected. Appropriate electronic equipment enables the most suitable electronic equipment to perform authentication and response to the user's voice interaction data, which not only realizes the cooperative and mutual authentication between electronic devices in the voiceprint authentication response system, but also does not need to consider the voiceprint authentication response system. There is an electronic device that is in an offline state, which leads to the problem that user identification and authentication cannot be realized, which improves the convenience and safety of the voiceprint authentication response system in use, and also makes the electronic device identification and authentication in the voiceprint authentication response system easier. The effect of authenticating users is better, and the user experience of using the voiceprint authentication response system is improved.
基于步骤S103实施例的描述,除了第一电子设备之外,声纹认证应答系统中还可以包括第二电子设备,第二电子设备为声纹认证应答系统中除了第一电子设备之外的其余电子设备中的处于非离线状态的至少一个电子设备。Based on the description of the embodiment of step S103, in addition to the first electronic device, the voiceprint authentication response system may also include a second electronic device, and the second electronic device is the other electronic devices in the voiceprint authentication response system except the first electronic device. At least one electronic device in a non-offline state among the electronic devices.
一方面,第一电子设备可向第二电子设备发送第一电子设备的设备标识和认证分数。另一方面,在第二电子设备为其余电子设备中的一个电子设备时,第一电子设备可接收第二电子设备的设备标识和认证分数。在第二电子设备为其余电子设备中的多个电子设备时,第一电子设备可接收第二电子设备中的一个电子设备发送的第二电子设备中的全部电子设备各自的设备标识和认证分数,或者,第一电子设备可接收第二电子设备中的多个电子设备发送的第二电子设备中的一个或多个电子设备各自的设备标识和认证分数。In one aspect, the first electronic device may send the device identification and authentication score of the first electronic device to the second electronic device. On the other hand, when the second electronic device is one of the remaining electronic devices, the first electronic device may receive the device identification and authentication score of the second electronic device. When the second electronic device is a plurality of electronic devices in the remaining electronic devices, the first electronic device may receive the respective device identifications and authentication scores of all the electronic devices in the second electronic device sent by one electronic device in the second electronic device Alternatively, the first electronic device may receive respective device identifications and authentication scores of one or more electronic devices in the second electronic device sent by a plurality of electronic devices in the second electronic device.
从而,声纹认证应答系统中的每个电子设备可同步全部电子设备各自的认证分数。其中,前述提及的设备标识和认证分数的具体实现方式分别可参见前文实施例的设备标识和认证分数的描述,此处不做赘述。Therefore, each electronic device in the voiceprint authentication response system can synchronize the respective authentication scores of all electronic devices. Wherein, for the specific implementation manners of the aforementioned device identification and authentication score, please refer to the description of the device identification and the authentication score in the foregoing embodiments, respectively, and details are not repeated here.
基于步骤S104实施例的描述,第一电子设备可采用多种方式,基于声纹认证应答系统中的全部电子设备各自的认证分数,确定出声纹认证应答系统中的应答电子设备。Based on the description of the embodiment of step S104, the first electronic device can use multiple methods to determine the responding electronic device in the voiceprint authentication response system based on the respective authentication scores of all electronic devices in the voiceprint authentication response system.
在一些实施例中,第一电子设备可在声纹认证应答系统中的全部电子设备各自的认证分数中,确定出最高认证分数。从而,第一电子设备可判断最高认证分数对应的电子设备在声纹认证应答系统中的电子设备的数量。In some embodiments, the first electronic device may determine the highest authentication score among the respective authentication scores of all electronic devices in the voiceprint authentication response system. Therefore, the first electronic device can determine the number of electronic devices in the voiceprint authentication response system corresponding to the electronic device with the highest authentication score.
在最高认证分数对应的电子设备包括声纹认证应答系统中的一个电子设备时,第一电子 设备可将最高认证分数对应的电子设备确定为应答电子设备。When the electronic device corresponding to the highest authentication score includes an electronic device in the voiceprint authentication response system, the first electronic device may determine the electronic device corresponding to the highest authentication score as the responding electronic device.
在最高认证分数对应的电子设备包括声纹认证应答系统中的多个电子设备时,第一电子设备可从最高认证分数对应的电子设备中,确定与用户距离最近的电子设备,并将与用户距离最近的电子设备确定为应答电子设备。When the electronic device corresponding to the highest authentication score includes a plurality of electronic devices in the voiceprint authentication response system, the first electronic device can determine the electronic device closest to the user from the electronic devices corresponding to the highest authentication score, and will contact the user The closest electronic device is determined to be the answering electronic device.
从而,声纹认证应答系统中的每个电子设备可确定出电子设备自身是否需要对用户的语音交互数据进行认证应答,选择出了声纹认证应答系统中的最适合认证应答的电子设备。Therefore, each electronic device in the voiceprint authentication response system can determine whether the electronic device itself needs to perform an authentication response to the user's voice interaction data, and select the most suitable electronic device in the voiceprint authentication response system for authentication response.
示例性地,本申请提供一种电子设备,包括:存储器和处理器;存储器用于存储程序指令;处理器用于调用存储器中的程序指令使得电子设备执行前文实施例中的声纹认证应答方法。Exemplarily, the present application provides an electronic device, including: a memory and a processor; the memory is used to store program instructions; and the processor is used to call the program instructions in the memory so that the electronic device executes the voiceprint authentication response method in the foregoing embodiments.
示例性地,本申请提供一种芯片系统,芯片系统应用于包括存储器和传感器的电子设备;芯片系统包括:处理器;当处理器执行存储器中存储的计算机指令时,电子设备执行前文实施例中的声纹认证应答方法。Exemplarily, the present application provides a chip system, which is applied to an electronic device including a memory and a sensor; the chip system includes: a processor; when the processor executes the computer instructions stored in the memory, the electronic device executes the The response method for voiceprint authentication.
示例性地,本申请提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器使得电子设备执行时实现前文实施例中的声纹认证应答方法。Exemplarily, the present application provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor so that an electronic device implements the voiceprint authentication response method in the foregoing embodiments.
示例性地,本申请提供一种计算机程序产品,包括:执行指令,执行指令存储在可读存储介质中,电子设备的至少一个处理器可以从可读存储介质读取执行指令,至少一个处理器执行执行指令使得电子设备实现前文实施例中的声纹认证应答方法。Exemplarily, the present application provides a computer program product, including: execution instructions, the execution instructions are stored in a readable storage medium, at least one processor of the electronic device can read the execution instructions from the readable storage medium, at least one processor Execution of the execution instruction enables the electronic device to implement the voiceprint authentication response method in the foregoing embodiments.
在上述实施例中,全部或部分功能可以通过软件、硬件、或者软件加硬件的组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储电子设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored on a computer readable storage medium. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage electronic device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments are realized. The processes can be completed by computer programs to instruct related hardware. The programs can be stored in computer-readable storage media. When the programs are executed , may include the processes of the foregoing method embodiments. The aforementioned storage medium includes: ROM or random access memory RAM, magnetic disk or optical disk, and other various media that can store program codes.

Claims (16)

  1. 一种声纹认证应答方法,其特征在于,应用于第一电子设备,所述第一电子设备为声纹认证应答系统中的一个电子设备,所述声纹认证应答系统中的电子设备间通信互连;所述方法包括:A voiceprint authentication response method, characterized in that it is applied to a first electronic device, the first electronic device is an electronic device in a voiceprint authentication response system, and the communication between electronic devices in the voiceprint authentication response system interconnected; the method comprising:
    获取用户的语音交互数据;Obtain the user's voice interaction data;
    对所述语音交互数据进行声纹认证,得到所述第一电子设备的认证分数,所述第一电子设备的认证分数用于表示所述第一电子设备认证所述语音交互数据属于所述用户的匹配度;performing voiceprint authentication on the voice interaction data to obtain an authentication score of the first electronic device, where the authentication score of the first electronic device is used to indicate that the first electronic device authenticates that the voice interaction data belongs to the user degree of matching;
    获取所述声纹认证应答系统中的除了第一电子设备之外的其余电子设备各自的认证分数,所述其余电子设备中的每个电子设备的认证分数是所述每个电子设备对所述语音交互数据进行声纹认证得到的,所述每个电子设备的认证分数用于表示所述每个电子设备认证所述语音交互数据属于所述用户的匹配度;Obtain the respective authentication scores of the remaining electronic devices in the voiceprint authentication response system except the first electronic device, where the authentication score of each electronic device in the remaining electronic devices is the contribution of each electronic device to the The voice interaction data is obtained through voiceprint authentication, and the authentication score of each electronic device is used to indicate the matching degree of each electronic device for authenticating that the voice interaction data belongs to the user;
    基于所述声纹认证应答系统中的全部电子设备各自的认证分数,确定所述第一电子设备是否为所述声纹认证应答系统中的应答电子设备;determining whether the first electronic device is the responding electronic device in the voiceprint authentication response system based on the respective authentication scores of all electronic devices in the voiceprint authentication response system;
    在确定所述第一电子设备为所述应答电子设备时,对所述语音交互数据进行认证应答。When it is determined that the first electronic device is the responding electronic device, an authentication response is performed on the voice interaction data.
  2. 根据权利要求1所述的方法,其特征在于,获取所述声纹认证应答系统中的除了第一电子设备之外的其余电子设备各自的认证分数,包括:The method according to claim 1, wherein obtaining the respective authentication scores of the other electronic devices in the voiceprint authentication response system except the first electronic device comprises:
    向第二电子设备发送所述第一电子设备的设备标识和认证分数,且接收所述第二电子设备发送的所述其余电子设备各自的设备标识和认证分数,所述第二电子设备为所述其余电子设备中的至少一个电子设备。sending the device identification and authentication score of the first electronic device to a second electronic device, and receiving the respective device identification and authentication scores of the remaining electronic devices sent by the second electronic device, the second electronic device being the At least one electronic device in the other electronic devices mentioned above.
  3. 根据权利要求1或2所述的方法,其特征在于,基于所述声纹认证应答系统中的全部电子设备各自的认证分数,确定所述应答电子设备,包括:The method according to claim 1 or 2, wherein, based on the respective authentication scores of all electronic devices in the voiceprint authentication response system, determining the responding electronic device includes:
    在所述声纹认证应答系统中的全部电子设备各自的认证分数中,确定最高认证分数;Among the respective authentication scores of all electronic devices in the voiceprint authentication response system, determine the highest authentication score;
    在所述最高认证分数对应的电子设备包括所述声纹认证应答系统中的一个电子设备时,将所述最高认证分数对应的电子设备确定为所述应答电子设备。When the electronic device corresponding to the highest authentication score includes an electronic device in the voiceprint authentication response system, the electronic device corresponding to the highest authentication score is determined as the responding electronic device.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, further comprising:
    在所述最高认证分数对应的电子设备包括所述声纹认证应答系统中的多个电子设备时,从所述最高认证分数对应的电子设备中,确定与所述用户距离最近的电子设备,并将与所述用户距离最近的电子设备确定为所述应答电子设备。When the electronic device corresponding to the highest authentication score includes multiple electronic devices in the voiceprint authentication response system, determine the electronic device closest to the user from the electronic devices corresponding to the highest authentication score, and Determining the electronic device closest to the user as the answering electronic device.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    在确定所述第一电子设备不为所述应答电子设备时,对所述语音交互数据屏蔽认证应答。When it is determined that the first electronic device is not the responding electronic device, an authentication response is shielded from the voice interaction data.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises:
    接收所述用户的语音注册数据;receiving voice registration data of the user;
    对所述用户的语音注册数据进行声纹训练,生成所述用户的声纹认证模型;performing voiceprint training on the voice registration data of the user to generate a voiceprint authentication model of the user;
    将所述用户的声纹认证模型存储在所述第一电子设备中,以使所述第一电子设备采用所述用户的声纹认证模型对所述语音交互数据进行声纹认证。The user's voiceprint authentication model is stored in the first electronic device, so that the first electronic device uses the user's voiceprint authentication model to perform voiceprint authentication on the voice interaction data.
  7. 一种声纹认证应答系统,所述声纹认证应答系统中的电子设备间通信互连,其特征在于,针对所述声纹认证应答系统中的每个电子设备而言,包括:A voiceprint authentication response system, wherein electronic devices in the voiceprint authentication response system are interconnected by communication, characterized in that, for each electronic device in the voiceprint authentication response system, it includes:
    所述电子设备,用于获取用户的语音交互数据;The electronic device is used to acquire voice interaction data of the user;
    所述电子设备,还用于对所述语音交互数据进行声纹认证,得到所述电子设备的认证分数,所述电子设备的认证分数用于表示所述电子设备认证所述语音交互数据属于所述用户的匹配度;The electronic device is further configured to perform voiceprint authentication on the voice interaction data to obtain an authentication score of the electronic device, and the authentication score of the electronic device is used to indicate that the electronic device authenticates that the voice interaction data belongs to the matching degree of the user;
    所述电子设备,还用于获取所述声纹认证应答系统中的除了所述电子设备之外的其余电子设备各自的认证分数,所述其余电子设备中的每个电子设备的认证分数是所述每个电子设备对所述语音交互数据进行声纹认证得到的,所述每个电子设备的认证分数用于表示所述每个电子设备认证所述语音交互数据属于所述用户的匹配度;The electronic device is also used to obtain the respective authentication scores of other electronic devices in the voiceprint authentication response system except the electronic device, and the authentication score of each electronic device in the remaining electronic devices is the Each electronic device performs voiceprint authentication on the voice interaction data, and the authentication score of each electronic device is used to indicate the matching degree of each electronic device authenticating that the voice interaction data belongs to the user;
    所述电子设备,还用于基于所述声纹认证应答系统中的全部电子设备各自的认证分数,确定所述电子设备是否为所述声纹认证应答系统中的应答电子设备;The electronic device is further configured to determine whether the electronic device is the responding electronic device in the voiceprint authentication response system based on the respective authentication scores of all electronic devices in the voiceprint authentication response system;
    所述电子设备,还用于在确定所述电子设备为所述应答电子设备时,对所述语音交互数据进行认证应答。The electronic device is further configured to, when it is determined that the electronic device is the responding electronic device, perform an authentication response to the voice interaction data.
  8. 根据权利要求7所述的系统,其特征在于,所述电子设备,具体用于向所述其余电子设备中的至少一个电子设备发送所述电子设备的设备标识和认证分数,且接收所述其余电子设备中的至少一个电子设备发送的所述其余电子设备各自的设备标识和认证分数。The system according to claim 7, wherein the electronic device is specifically configured to send the device identification and authentication score of the electronic device to at least one of the remaining electronic devices, and receive the remaining The respective device identifications and authentication scores of the remaining electronic devices sent by at least one of the electronic devices.
  9. 根据权利要求7或8所述的系统,其特征在于,所述电子设备,具体用于在所述声纹认证应答系统中的全部电子设备各自的认证分数中,确定最高认证分数;在所述最高认证分数对应的电子设备包括所述声纹认证应答系统中的一个电子设备时,将所述最高认证分数对应的电子设备确定为所述应答电子设备。The system according to claim 7 or 8, wherein the electronic device is specifically configured to determine the highest authentication score among the respective authentication scores of all electronic devices in the voiceprint authentication response system; When the electronic device corresponding to the highest authentication score includes an electronic device in the voiceprint authentication response system, the electronic device corresponding to the highest authentication score is determined as the responding electronic device.
  10. 根据权利要求9所述的系统,其特征在于,所述电子设备,还用于在所述最高认证分数对应的电子设备包括所述声纹认证应答系统中的多个电子设备时,从所述最高认证分数对应的电子设备中,确定与所述用户距离最近的电子设备,并将与所述用户距离最近的电子设备确定为所述应答电子设备。The system according to claim 9, wherein the electronic device is further configured to, when the electronic device corresponding to the highest authentication score includes multiple electronic devices in the voiceprint authentication response system, from the Among the electronic devices corresponding to the highest authentication score, the electronic device with the closest distance to the user is determined, and the electronic device with the closest distance to the user is determined as the answering electronic device.
  11. 根据权利要求7-10任一项所述的系统,其特征在于,所述电子设备,还用于在确定所述电子设备不为所述应答电子设备时,对所述语音交互数据屏蔽认证应答。The system according to any one of claims 7-10, wherein the electronic device is further configured to shield the voice interaction data from an authentication response when it is determined that the electronic device is not the responding electronic device .
  12. 根据权利要求7-11任一项所述的系统,其特征在于,所述电子设备,还用于接收所述用户的语音注册数据;对所述用户的语音注册数据进行声纹训练,生成所述用户的声纹认证模型;将所述用户的声纹认证模型存储在所述电子设备中,以使所述电子设备采用所述用户的声纹认证模型对所述语音交互数据进行声纹认证。The system according to any one of claims 7-11, wherein the electronic device is further configured to receive the user's voice registration data; perform voiceprint training on the user's voice registration data to generate the The user's voiceprint authentication model; storing the user's voiceprint authentication model in the electronic device, so that the electronic device uses the user's voiceprint authentication model to perform voiceprint authentication on the voice interaction data .
  13. 根据权利要求7-12任一项所述的系统,其特征在于,所述声纹认证应答系统中的电子设备间通过登录相同账号、采用近距离无线通信NFC或扫描相同二维码中的任意一种方式通信互连。The system according to any one of claims 7-12, characterized in that, the electronic devices in the voiceprint authentication response system can log in to the same account, use short-distance wireless communication (NFC) or scan any of the same two-dimensional codes. A way to communicate and interconnect.
  14. 一种电子设备,其特征在于,包括:存储器和处理器;An electronic device, characterized in that it includes: a memory and a processor;
    所述存储器用于存储程序指令;The memory is used to store program instructions;
    所述处理器用于调用所述存储器中的程序指令使得所述电子设备执行权利要求1-6任一项所述的声纹认证应答方法。The processor is used for invoking program instructions in the memory so that the electronic device executes the voiceprint authentication response method according to any one of claims 1-6.
  15. 一种计算机存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-6任一项所述的声纹认证应答方法。A computer storage medium, characterized in that it includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device is made to execute the voiceprint authentication response method according to any one of claims 1-6.
  16. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-6任一项所述的声纹认证应答方法。A computer program product, characterized in that, when the computer program product is run on a computer, the computer is made to execute the voiceprint authentication answering method according to any one of claims 1-6.
PCT/CN2022/110311 2021-08-13 2022-08-04 Voiceprint authentication response method and system, and electronic devices WO2023016347A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110932392.5A CN115906033A (en) 2021-08-13 2021-08-13 Voiceprint authentication response method and system and electronic equipment
CN202110932392.5 2021-08-13

Publications (1)

Publication Number Publication Date
WO2023016347A1 true WO2023016347A1 (en) 2023-02-16

Family

ID=85200548

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/110311 WO2023016347A1 (en) 2021-08-13 2022-08-04 Voiceprint authentication response method and system, and electronic devices

Country Status (2)

Country Link
CN (1) CN115906033A (en)
WO (1) WO2023016347A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997689A (en) * 2010-11-19 2011-03-30 吉林大学 USB (universal serial bus) identity authentication method based on voiceprint recognition and system thereof
CN104183238A (en) * 2014-09-09 2014-12-03 深圳市和音达科技有限公司 Old people voiceprint recognition method based on questioning and answering
CN104348621A (en) * 2013-08-02 2015-02-11 成都林海电子有限责任公司 Authentication system based on voiceprint recognition and method thereof
US20180182388A1 (en) * 2016-12-23 2018-06-28 Intel Corporation Linear scoring for low power wake on voice
CN110517693A (en) * 2019-08-01 2019-11-29 出门问问(苏州)信息科技有限公司 Audio recognition method, device, electronic equipment and computer readable storage medium
CN110600041A (en) * 2019-07-29 2019-12-20 华为技术有限公司 Voiceprint recognition method and device
CN112331193A (en) * 2019-07-17 2021-02-05 华为技术有限公司 Voice interaction method and related device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997689A (en) * 2010-11-19 2011-03-30 吉林大学 USB (universal serial bus) identity authentication method based on voiceprint recognition and system thereof
CN104348621A (en) * 2013-08-02 2015-02-11 成都林海电子有限责任公司 Authentication system based on voiceprint recognition and method thereof
CN104183238A (en) * 2014-09-09 2014-12-03 深圳市和音达科技有限公司 Old people voiceprint recognition method based on questioning and answering
US20180182388A1 (en) * 2016-12-23 2018-06-28 Intel Corporation Linear scoring for low power wake on voice
CN112331193A (en) * 2019-07-17 2021-02-05 华为技术有限公司 Voice interaction method and related device
CN110600041A (en) * 2019-07-29 2019-12-20 华为技术有限公司 Voiceprint recognition method and device
CN110517693A (en) * 2019-08-01 2019-11-29 出门问问(苏州)信息科技有限公司 Audio recognition method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN115906033A (en) 2023-04-04

Similar Documents

Publication Publication Date Title
WO2020192714A1 (en) Device control page display method, related apparatus and system
WO2021052263A1 (en) Voice assistant display method and device
CN109814766B (en) Application display method and electronic equipment
WO2021000807A1 (en) Processing method and apparatus for waiting scenario in application
WO2020211701A1 (en) Model training method, emotion recognition method, related apparatus and device
WO2021063343A1 (en) Voice interaction method and device
US20230021994A1 (en) Cross-Device Content Projection Method and Electronic Device
US20230216990A1 (en) Device Interaction Method and Electronic Device
WO2020150917A1 (en) Application permission management method and electronic device
WO2021253975A1 (en) Permission management method and apparatus for application, and electronic device
US20230004259A1 (en) Card sharing method, electronic device, and communications system
WO2022033320A1 (en) Bluetooth communication method, terminal device, and computer-readable storage medium
WO2020224447A1 (en) Method and system for adding smart home device to contacts
WO2021052204A1 (en) Address book-based device discovery method, audio and video communication method, and electronic device
CN113961157B (en) Display interaction system, display method and equipment
WO2021052139A1 (en) Gesture input method and electronic device
WO2022042637A1 (en) Bluetooth-based data transmission method and related apparatus
WO2022160991A1 (en) Permission control method and electronic device
WO2022179275A1 (en) Terminal application control method, terminal device, and chip system
WO2021218429A1 (en) Method for managing application window, and terminal device and computer-readable storage medium
WO2022135157A1 (en) Page display method and apparatus, and electronic device and readable storage medium
WO2022007707A1 (en) Home device control method, terminal device, and computer-readable storage medium
WO2023284555A1 (en) Method for securely calling service, and method and apparatus for securely registering service
WO2022152174A1 (en) Screen projection method and electronic device
WO2022062902A1 (en) File transfer method and electronic device

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: 22855330

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE