CN111832075A - A kind of audio data processing method, device and electronic equipment - Google Patents
A kind of audio data processing method, device and electronic equipment Download PDFInfo
- Publication number
- CN111832075A CN111832075A CN202010728523.3A CN202010728523A CN111832075A CN 111832075 A CN111832075 A CN 111832075A CN 202010728523 A CN202010728523 A CN 202010728523A CN 111832075 A CN111832075 A CN 111832075A
- Authority
- CN
- China
- Prior art keywords
- audio data
- client
- public key
- user
- information
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computational Linguistics (AREA)
- Computer Hardware Design (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Bioethics (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Computing Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
本申请提供一种音频数据处理方法、装置及电子设备,涉及数据处理技术领域。其中,该方法可包括:接收客户端传输的音频数据;采用预设算法获取该音频数据中的敏感信息;利用与接收客户端对应的公钥加密所述敏感信息,获取加密后的音频数据,其中,该公钥与该客户端的私钥成对;向该客户端发送加密后的音频数据。应用本申请实施例,服务器可以利用与客户端对应的公钥对获取到的音频数据进行脱敏,即可以将音频数据中的敏感信息变成密文的形式。也就是说,采用该方式对音频数据进行脱敏后,相应地客户端还可以通过对应的私钥进行恢复,避免造成不必要的损失。
The present application provides an audio data processing method, device and electronic device, and relates to the technical field of data processing. The method may include: receiving audio data transmitted by a client; obtaining sensitive information in the audio data by using a preset algorithm; encrypting the sensitive information with a public key corresponding to the receiving client to obtain encrypted audio data, The public key is paired with the private key of the client; the encrypted audio data is sent to the client. By applying the embodiments of the present application, the server can use the public key corresponding to the client to desensitize the acquired audio data, that is, the sensitive information in the audio data can be changed into the form of ciphertext. That is to say, after the audio data is desensitized in this way, the client can also recover it through the corresponding private key to avoid unnecessary losses.
Description
技术领域technical field
本申请涉及数据处理技术领域,具体而言,涉及一种音频数据处理方法、装置及电子设备。The present application relates to the technical field of data processing, and in particular, to an audio data processing method, apparatus, and electronic device.
背景技术Background technique
随着社会的发展,人们对数据安全意识越来越强,特别是在利用音频数进行信息交互的时代,音频数据中的敏感信息需要进行及时的脱敏处理,避免不必要的损失。With the development of society, people's awareness of data security is getting stronger and stronger, especially in the era of using audio data for information interaction, sensitive information in audio data needs to be desensitized in time to avoid unnecessary losses.
数据脱敏指对某些敏感信息通过脱敏规则进行数据的变形,实现敏感数据的可靠保护。目前,当需要对音频数据中的敏感信息进行脱敏处理时,可通过对音频数据中的敏感信息进行直接删除或者替换操作来进行数据脱敏。Data desensitization refers to the transformation of some sensitive information through desensitization rules to achieve reliable protection of sensitive data. Currently, when sensitive information in audio data needs to be desensitized, data desensitization can be performed by directly deleting or replacing sensitive information in audio data.
然而,通过上述方式对音频数据进行脱敏后,会造成音频数据的缺失。也就是说,当在特殊情况下想要恢复原始音频数据时,由于音频数据的缺失,该原始音频数据是无法恢复的。However, after the audio data is desensitized in the above manner, the audio data will be missing. That is, when the original audio data is to be restored under special circumstances, the original audio data cannot be restored due to the absence of the audio data.
发明内容SUMMARY OF THE INVENTION
本申请的目的在于,针对上述现有技术中的不足,提供一种音频数据处理方法、装置及电子设备,以解决现有技术中当在特殊情况下想要恢复原始音频数据时,由于音频数据的缺失,该原始音频数据是无法恢复的问题。The purpose of the present application is to provide an audio data processing method, device and electronic equipment in view of the deficiencies in the above-mentioned prior art, so as to solve the problem in the prior art that when the original audio data is to be restored under special circumstances, due to the audio data In case of missing, the original audio data is unrecoverable.
为实现上述目的,本申请实施例采用的技术方案如下:To achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
第一方面,本申请实施例提供了一种音频数据处理方法,该方法包括:In a first aspect, an embodiment of the present application provides an audio data processing method, the method comprising:
接收客户端传输的音频数据;Receive audio data transmitted by the client;
采用预设算法获取所述音频数据中的敏感信息;Use a preset algorithm to obtain sensitive information in the audio data;
利用与所述接收客户端对应的公钥加密所述敏感信息,获取加密后的音频数据,其中,所述公钥与所述客户端的私钥成对;Encrypt the sensitive information with the public key corresponding to the receiving client to obtain the encrypted audio data, wherein the public key is paired with the private key of the client;
向所述客户端发送所述加密后的音频数据。Send the encrypted audio data to the client.
可选地,所述采用预设算法获取所述音频数据中的敏感信息,包括:Optionally, the use of a preset algorithm to obtain sensitive information in the audio data includes:
将所述音频数据转换得到对应的文本数据;Converting the audio data to obtain corresponding text data;
采用预设算法,从所述文本数据中识别出敏感信息。Sensitive information is identified from the text data using a preset algorithm.
可选地,所述接收客户端传输的音频数据之前,还包括:Optionally, before receiving the audio data transmitted by the client, the method further includes:
接收所述客户端发送的注册信息,所述注册信息包括:用户标识、以及对应的所述公钥。Receive registration information sent by the client, where the registration information includes: a user ID and the corresponding public key.
可选地,所述注册信息还包括:所述用户标识对应的声纹信息;Optionally, the registration information further includes: voiceprint information corresponding to the user identification;
所述接收客户端传输的音频数据之后,还包括:After receiving the audio data transmitted by the client, the method further includes:
根据所述音频数据携带的用户标识、以及所述用户标识对应的声纹信息,分离所述音频数据中所述用户标识对应的目标音频数据和其他音频数据。According to the user identification carried in the audio data and the voiceprint information corresponding to the user identification, the target audio data corresponding to the user identification in the audio data and other audio data are separated.
可选地,所述利用与所述接收客户端对应的公钥加密所述敏感信息,获取加密后的音频数据,包括:Optionally, encrypting the sensitive information with the public key corresponding to the receiving client to obtain encrypted audio data, including:
利用与所述接收客户端对应的公钥加密所述目标音频数据中的敏感信息,获取加密后的音频数据。The sensitive information in the target audio data is encrypted by using the public key corresponding to the receiving client to obtain the encrypted audio data.
第二方面,本申请实施例提供了一种音频数据处理方法,所述方法包括:In a second aspect, an embodiment of the present application provides an audio data processing method, the method comprising:
向服务器发送音频数据;Send audio data to the server;
接收所述服务器根据所述音频数据,发送的采用公钥加密后的音频数据;Receive the audio data encrypted by the public key and sent by the server according to the audio data;
利用与所述公钥对应的私钥对所述加密后的音频数据进行解密,获取还原的音频数据。Decrypt the encrypted audio data by using the private key corresponding to the public key to obtain restored audio data.
可选地,所述方法还包括:Optionally, the method further includes:
响应用户的注册请求,获取用户标识;In response to the user's registration request, obtain the user ID;
根据所述用户标识,生成相匹配的所述公钥和所述私钥;generating the matching public key and the private key according to the user identification;
向所述服务器发送注册信息,所述注册信息包括:用户标识、以及对应的所述公钥。Send registration information to the server, where the registration information includes: a user ID and the corresponding public key.
可选地,所述注册信息还包括:所述用户标识对应的声纹信息;所述方法还包括:Optionally, the registration information further includes: voiceprint information corresponding to the user identification; the method further includes:
接收用户输入的注册音频;Receive the registration audio input by the user;
根据所述注册音频,获取所述用户标识对应的声纹信息。Acquire voiceprint information corresponding to the user identifier according to the registered audio.
第三方面,本申请实施例提供了一种音频数据处理装置,所述装置包括:In a third aspect, an embodiment of the present application provides an audio data processing device, the device comprising:
第一接收模块,用于接收客户端传输的音频数据;The first receiving module is used for receiving the audio data transmitted by the client;
第一获取模块,用于采用预设算法获取所述音频数据中的敏感信息;a first acquisition module, configured to acquire sensitive information in the audio data by using a preset algorithm;
加密模块,利用与所述接收客户端对应的公钥加密所述敏感信息,获取加密后的音频数据,其中,所述公钥与所述客户端的私钥成对;an encryption module, which encrypts the sensitive information with the public key corresponding to the receiving client, and obtains encrypted audio data, wherein the public key is paired with the private key of the client;
第一发送模块,用于向所述客户端发送所述加密后的音频数据。A first sending module, configured to send the encrypted audio data to the client.
可选地,所述装置还包括:Optionally, the device further includes:
转换模块,用于将所述音频数据转换得到对应的文本数据;a conversion module, for converting the audio data to obtain corresponding text data;
识别模块,用于采用预设算法,从所述文本数据中识别出敏感信息。The identification module is used for identifying sensitive information from the text data using a preset algorithm.
可选地,所述第一接收模块,还用于接收所述客户端发送的注册信息,所述注册信息包括:用户标识、以及对应的所述公钥。Optionally, the first receiving module is further configured to receive registration information sent by the client, where the registration information includes: a user ID and the corresponding public key.
可选地,所述注册信息还包括:所述用户标识对应的声纹信息;Optionally, the registration information further includes: voiceprint information corresponding to the user identification;
相应的,所述装置还包括:Correspondingly, the device further includes:
分离模块,用于根据所述音频数据携带的用户标识、以及所述用户标识对应的声纹信息,分离所述音频数据中所述用户标识对应的目标音频数据和其他音频数据。A separation module, configured to separate the target audio data corresponding to the user ID and other audio data in the audio data according to the user ID carried in the audio data and the voiceprint information corresponding to the user ID.
可选地,所述加密模块,具体用于利用与所述接收客户端对应的公钥加密所述目标音频数据中的敏感信息,获取加密后的音频数据。Optionally, the encryption module is specifically configured to encrypt sensitive information in the target audio data by using the public key corresponding to the receiving client to obtain the encrypted audio data.
第四方面,本申请实施例提供了一种音频数据处理装置,所述装置包括:In a fourth aspect, an embodiment of the present application provides an audio data processing device, the device comprising:
第二发送模块,用于向服务器发送音频数据;The second sending module is used for sending audio data to the server;
第二接收模块,用于接收所述服务器根据所述音频数据,发送的采用公钥加密后的音频数据;A second receiving module, configured to receive the audio data encrypted by the public key and sent by the server according to the audio data;
解密模块,用于利用与所述公钥对应的私钥对所述加密后的音频数据进行解密,获取还原的音频数据。A decryption module, configured to decrypt the encrypted audio data by using the private key corresponding to the public key to obtain restored audio data.
可选地,所述装置还包括:Optionally, the device further includes:
响应模块,用于响应用户的注册请求,获取用户标识;The response module is used to respond to the user's registration request and obtain the user ID;
生成模块,用于根据所述用户标识,生成相匹配的所述公钥和所述私钥;a generating module, configured to generate the matching public key and the private key according to the user identification;
相应的,所述第二发送模块,还用于向所述服务器发送注册信息,所述注册信息包括:用户标识、以及对应的所述公钥。Correspondingly, the second sending module is further configured to send registration information to the server, where the registration information includes: a user ID and the corresponding public key.
可选地,所述注册信息还包括:所述用户标识对应的声纹信息;Optionally, the registration information further includes: voiceprint information corresponding to the user identification;
相应的,所述第二接收模块,还用于接收用户输入的注册音频;Correspondingly, the second receiving module is further configured to receive the registration audio input by the user;
所述装置还包括:The device also includes:
第二获取模块,用于根据所述注册音频,获取所述用户标识对应的声纹信息。The second obtaining module is configured to obtain the voiceprint information corresponding to the user identification according to the registered audio.
第五方面,本申请实施例提供了一种电子设备,包括:处理器、存储介质和总线,存储介质存储有处理器可执行的机器可读指令,当所述电子设备运行时,处理器与存储介质之间通过总线通信,处理器执行机器可读指令,以执行上述第一方面或第二方面的音频数据处理方法的步骤。In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor, a storage medium, and a bus, where the storage medium stores machine-readable instructions executable by the processor, and when the electronic device runs, the processor and the The storage media communicate through a bus, and the processor executes the machine-readable instructions to perform the steps of the audio data processing method of the first aspect or the second aspect.
第六方面,本申请实施例提供了一种存储介质,存储介质上存储有计算机程序,计算机程序被处理器运行时执行上述第一方面或第二方面的音频数据处理方法的步骤。In a sixth aspect, an embodiment of the present application provides a storage medium, where a computer program is stored on the storage medium, and the computer program executes the steps of the audio data processing method of the first aspect or the second aspect when the computer program is run by a processor.
本申请的有益效果是:The beneficial effects of this application are:
本申请实施例提供一种音频数据处理方法、装置及电子设备,该方法可包括:接收客户端传输的音频数据;采用预设算法获取该音频数据中的敏感信息;利用与接收客户端对应的公钥加密所述敏感信息,获取加密后的音频数据,其中,该公钥与该客户端的私钥成对;向该客户端发送加密后的音频数据。采用本申请实施例提供的音频数据处理方法,服务器可以利用与客户端对应的公钥对获取到的音频数据进行脱敏,即可以将音频数据中的敏感信息变成密文的形式,采用该方式对音频数据进行脱敏后,相应地客户端还可以通过对应的私钥进行恢复,避免造成不必要的损失。Embodiments of the present application provide an audio data processing method, device, and electronic device. The method may include: receiving audio data transmitted by a client; obtaining sensitive information in the audio data by using a preset algorithm; The public key encrypts the sensitive information, and the encrypted audio data is obtained, wherein the public key is paired with the private key of the client; the encrypted audio data is sent to the client. By using the audio data processing method provided in the embodiment of the present application, the server can use the public key corresponding to the client to desensitize the acquired audio data, that is, the sensitive information in the audio data can be changed into the form of ciphertext. After the audio data is desensitized in this way, the client can also recover it through the corresponding private key to avoid unnecessary losses.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1为本申请实施例提供的一种音频数据处理方法的流程示意图;1 is a schematic flowchart of a method for processing audio data according to an embodiment of the present application;
图2为本申请实施例提供的另一种音频数据处理方法的流程示意图;2 is a schematic flowchart of another audio data processing method provided by an embodiment of the present application;
图3为本申请实施例提供的又一种音频数据处理方法的流程示意图;3 is a schematic flowchart of another audio data processing method provided by an embodiment of the present application;
图4为本申请实施例提供的又一种音频数据处理方法的流程示意图;4 is a schematic flowchart of another audio data processing method provided by an embodiment of the present application;
图5为本申请实施例提供的另一种音频数据处理方法的流程示意图;5 is a schematic flowchart of another audio data processing method provided by an embodiment of the present application;
图6为本申请实施例提供的一种音频数据处理方法的流程示意图;6 is a schematic flowchart of an audio data processing method provided by an embodiment of the present application;
图7为本申请实施例提供的一种音频数据处理装置的结构示意图;FIG. 7 is a schematic structural diagram of an audio data processing apparatus provided by an embodiment of the present application;
图8为本申请实施例提供的另一种音频数据处理装置的结构示意图;8 is a schematic structural diagram of another audio data processing apparatus provided by an embodiment of the present application;
图9为本申请实施例提供的又一种音频数据处理装置的结构示意图;9 is a schematic structural diagram of another audio data processing apparatus provided by an embodiment of the present application;
图10为本申请实施例提供的又一种音频数据处理装置的结构示意图;10 is a schematic structural diagram of another audio data processing apparatus provided by an embodiment of the present application;
图11为本申请实施例提供的另一种音频数据处理装置的结构示意图;11 is a schematic structural diagram of another audio data processing apparatus provided by an embodiment of the present application;
图12为本申请实施例提供的一种电子设备的结构示意图。FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本申请实施例的组件可以以各种不同的配置来布置和设计。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. The components of the embodiments of the present application generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本申请的实施例的详细描述并非旨在限制要求保护的本申请的范围,而是仅仅表示本申请的选定实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。Thus, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the application as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
图1为本申请实施例提供的一种音频数据处理方法的流程示意图,该方法的执行主体可以是与客户端进行数据交互的服务器,该客户端可以安装于可移动终端(如手机、平板电脑、穿戴设备等)中,也可以安装于固定终端(如台式电脑),或者安装于专门接收语音信号的录音终端等,本申请在此不作限定。如图1所示,该方法可以包括:1 is a schematic flowchart of an audio data processing method provided by an embodiment of the present application. The execution body of the method may be a server that performs data interaction with a client, and the client may be installed on a mobile terminal (such as a mobile phone, a tablet computer, etc.) , wearable devices, etc.), it can also be installed in a fixed terminal (such as a desktop computer), or installed in a recording terminal specially designed to receive voice signals, etc., which is not limited in this application. As shown in Figure 1, the method may include:
S101、接收客户端传输的音频数据。S101. Receive audio data transmitted by a client.
可选地,客户端可将实时获取到的音频数据传输给服务器,其中,该音频数据可以通过该客户端上的拾音设备(如话筒)进行采集;也可将预先录制好的音频数据首先上传给该客户端,然后该客户端再将该音频数据传输给该服务器,当然,也可以包括其他的形式,如该音频数据首先需要从音视频数据中提取,然后再通过该客户端传输给该服务器,需要说明的是,本申请不对该音频数据的来源形式进行限定。Optionally, the client can transmit the audio data obtained in real time to the server, wherein the audio data can be collected by a sound pickup device (such as a microphone) on the client; Upload it to the client, and then the client transmits the audio data to the server. Of course, it can also include other forms. For example, the audio data needs to be extracted from the audio and video data first, and then transmitted to the server through the client. The server, it should be noted that this application does not limit the source form of the audio data.
该音频数据中可以只包括一个人的声纹特征,也可以包括多个人的声纹特征,其中,包括多人的声纹特征可以是在一种对话场景下获取到的音频数据,或者环境中存在其他人的声音等,需要说明的是,本申请不对该音频数据中包括的声纹特征类别个数进行限定。The audio data may include only the voiceprint features of one person, or may include the voiceprint features of multiple people, wherein the voiceprint features including multiple people may be audio data obtained in a dialogue scene, or in the environment. There are other people's voices, etc. It should be noted that this application does not limit the number of voiceprint feature categories included in the audio data.
S102、采用预设算法获取该音频数据中的敏感信息。S102, using a preset algorithm to acquire sensitive information in the audio data.
在服务器获取到该音频数据后,可采用能够识别出敏感信息的预设算法对该音频数据进行处理,其中,该预设算法可以包括语音识别算法以及语义识别算法。一般情况下,该敏感信息可以指个人隐私信息、企业隐私信息以及不符合规定的用语信息,其中,该个人隐私信息可以包括如姓名、地址、电话等信息;该企业隐私信息可以包括如生产数据、企业报表等信息;不符合相关规定的用语例如包括如暴力用语、脏话等信息。After the server acquires the audio data, a preset algorithm capable of identifying sensitive information may be used to process the audio data, wherein the preset algorithm may include a speech recognition algorithm and a semantic recognition algorithm. In general, the sensitive information may refer to personal privacy information, corporate privacy information, and non-compliant term information, where the personal privacy information may include information such as name, address, telephone number, etc.; the enterprise privacy information may include, for example, production data , corporate statements and other information; terms that do not comply with relevant regulations include, for example, violent language, swear words and other information.
也就是说,可以将不适合在公众范围内进行传播的信息定义为敏感信息,需要说明的是,本申请所涉及到的敏感信息具体内容可以根据实际需求进行限定。That is to say, information that is not suitable for dissemination in the public can be defined as sensitive information. It should be noted that the specific content of sensitive information involved in this application can be limited according to actual needs.
服务器可以通过预先采集的样本敏感信息训练相关的识别模型,或者预先配置识别算法识别敏感关键词等,在此不作具体限制。The server may train a relevant recognition model by using pre-collected sample sensitive information, or preconfigure a recognition algorithm to recognize sensitive keywords, etc., which is not specifically limited here.
S103、利用与接收客户端对应的公钥加密该敏感信息,获取加密后的音频数据。S103. Encrypt the sensitive information with the public key corresponding to the receiving client to obtain encrypted audio data.
S104、向该客户端发送加密后的音频数据。S104. Send the encrypted audio data to the client.
其中,该公钥与该客户端的私钥成对。服务器中可预先存有与该客户端私钥对应的公钥,在获取到该音频数据中的敏感信息后,可利用该公钥以及预设的加密算法对该敏感信息进行加密,使该敏感信息变成密文的形式,最后可将加密后的敏感信息对应的音频数据传输给该客户端,以便客户端采用对应的私钥解密。The public key is paired with the client's private key. A public key corresponding to the client's private key may be pre-stored in the server. After obtaining the sensitive information in the audio data, the sensitive information may be encrypted using the public key and a preset encryption algorithm, so that the sensitive information can be encrypted. The information is in the form of cipher text, and finally the audio data corresponding to the encrypted sensitive information can be transmitted to the client, so that the client can decrypt with the corresponding private key.
举例来说,假设该音频数据中有5处音频片段中的信息都为敏感信息,则可利用公钥以及加密算法分别对这5处音频片段中的信息进行加密,使其生成对应的密文。当该音频数据中的敏感信息都变成密文后,可将加密后的音频数据发送给该客户端。For example, assuming that the information in 5 audio clips in the audio data is sensitive information, the public key and encryption algorithm can be used to encrypt the information in these 5 audio clips respectively, so that the corresponding ciphertext can be generated. . After all the sensitive information in the audio data becomes ciphertext, the encrypted audio data can be sent to the client.
综上所述,本申请提供的音频数据处理方法中,服务器接收客户端传输的音频数据;采用预设算法获取该音频数据中的敏感信息;利用与接收客户端对应的公钥加密所述敏感信息,获取加密后的音频数据,其中,该公钥与该客户端的私钥成对;向该客户端发送加密后的音频数据。采用本申请实施例提供的音频数据处理方法,服务器可以利用与客户端对应的公钥对获取到的音频数据进行脱敏,即可以将音频数据中的敏感信息变成密文的形式。也就是说,采用该方式对音频数据进行脱敏后,相应地客户端还可以通过对应的私钥进行恢复,避免造成不必要的损失。To sum up, in the audio data processing method provided by this application, the server receives the audio data transmitted by the client; uses a preset algorithm to obtain sensitive information in the audio data; uses the public key corresponding to the receiving client to encrypt the sensitive information information, obtain encrypted audio data, wherein the public key is paired with the private key of the client; send the encrypted audio data to the client. With the audio data processing method provided in the embodiment of the present application, the server can desensitize the acquired audio data by using the public key corresponding to the client, that is, the sensitive information in the audio data can be changed into the form of ciphertext. That is to say, after the audio data is desensitized in this way, the client can also recover it through the corresponding private key to avoid unnecessary losses.
图2为本申请实施例提供的另一种音频数据处理方法的流程示意图。可选地,如图2所示,上述采用预设算法获取所述音频数据中的敏感信息,包括:FIG. 2 is a schematic flowchart of another audio data processing method provided by an embodiment of the present application. Optionally, as shown in FIG. 2 , the above-mentioned use of a preset algorithm to obtain sensitive information in the audio data includes:
S201、将音频数据转换得到对应的文本数据。S201. Convert the audio data to obtain corresponding text data.
可通过语音识别技术将音频数据转换成对应的文本数据,该语音识别技术也采用自动语音识别(AutomaticSpeechRecognition,ASR)技术,但不以此为限,其他可转换的算法也可以。The audio data can be converted into corresponding text data through a speech recognition technology, which also adopts an automatic speech recognition (Automatic Speech Recognition, ASR) technology, but is not limited thereto, and other convertible algorithms are also possible.
进一步的,可预先在服务器相关联的数据库中存储音频数据与文本数据的映射关系,当该服务器接收到音频数据后,可根据该数据库中的内容将该音频数据转换成对应的文本数据。Further, the mapping relationship between audio data and text data can be stored in a database associated with the server in advance, and after the server receives the audio data, the audio data can be converted into corresponding text data according to the content in the database.
在另一个可实现的实例中,可将服务器接收到的音频数据输入到预先训练好的语音识别模型中,该语音识别模型可以识别出该音频数据对应的文本数据。其中,该语音识别模型可为隐马尔科夫HMM、卷积神经网络CNN以及加权有限状态机WFST的神经网络模型。In another achievable example, the audio data received by the server can be input into a pre-trained speech recognition model, and the speech recognition model can recognize the text data corresponding to the audio data. The speech recognition model may be a neural network model of a hidden Markov HMM, a convolutional neural network CNN, and a weighted finite state machine WFST.
S202、采用预设算法,从该文本数据中识别出敏感信息。S202, using a preset algorithm to identify sensitive information from the text data.
具体的,可通过自然语言处理(Natural Language Processing,NLP)技术识别出文本数据中的敏感信息。进一步的,可采用预先训练好的语义识别模型(预设算法)识别文本数据的语义,并从该文本数据中提取出敏感文本片段,即敏感信息。其中,该文本片段可能是一个字、一个词或者一段话,本申请对此不进行限定。Specifically, the sensitive information in the text data can be identified by natural language processing (Natural Language Processing, NLP) technology. Further, a pre-trained semantic recognition model (preset algorithm) can be used to recognize the semantics of the text data, and a sensitive text segment, that is, sensitive information, can be extracted from the text data. Wherein, the text segment may be a word, a word or a paragraph, which is not limited in this application.
在另一个可实现的实例中,可预先在服务器相关联的数据库中存储敏感信息,当将该音频数据转化为对应的文本数据后,可将该文本数据中的文本片段信息与该数据库中的敏感信息进行对比,如果该文本数据中的文本片段信息有与该数据库中的敏感信息相匹配的情况,则可将该文本片段信息定义为敏感信息。In another achievable example, sensitive information can be stored in a database associated with the server in advance, and after the audio data is converted into corresponding text data, the text segment information in the text data can be combined with the data in the database. The sensitive information is compared, and if the text segment information in the text data matches the sensitive information in the database, the text segment information can be defined as sensitive information.
可选地,上述接收客户端传输的音频数据步骤之前,还包括:接收该客户端发送的注册信息,该注册信息包括:用户标识、以及对应的公钥。Optionally, before the above step of receiving the audio data transmitted by the client, the method further includes: receiving registration information sent by the client, where the registration information includes a user ID and a corresponding public key.
其中,客户端上可安装有收集音频数据的功能,用户在初次登陆该客户端时,需要进行注册。用户可在该客户端的注册界面输入用户名以及密码等信息,其中可以将用户名、昵称或其他账号(手机号、邮箱等)作为用户标识,进而可以生成与该用户标识对应的一对公钥和私钥。最后该客户端可将该用户标识以及该公钥和私钥以键值的形式存储在与该服务器相关联的存储器中,该存储器可以集成在该服务器中,也可以是单独到的外部存储器与该服务器连接,本申请不对该存储器的位置进行限定。进而可以向服务器发送注册信息,在其中携带用户标识和公钥。The function of collecting audio data may be installed on the client, and the user needs to register when logging in the client for the first time. The user can enter information such as user name and password in the registration interface of the client, in which the user name, nickname or other account (mobile phone number, email, etc.) can be used as the user ID, and then a pair of public keys corresponding to the user ID can be generated. and private key. Finally, the client can store the user ID and the public and private keys in the memory associated with the server in the form of key values. The memory can be integrated in the server, or it can be a separate external memory with The server is connected, and this application does not limit the location of the memory. Further, the registration information can be sent to the server, which carries the user ID and the public key.
图3为本申请实施例提供的又一种音频数据处理方法的流程示意图。可选地,如图3所示,注册信息还包括:用户标识对应的声纹信息,也即在用户注册过程中或注册后采集用户声纹信息,一并发送给服务器。相应地,在上述接收客户端传输的音频数据之后,还包括:FIG. 3 is a schematic flowchart of another audio data processing method provided by an embodiment of the present application. Optionally, as shown in FIG. 3 , the registration information further includes: voiceprint information corresponding to the user identifier, that is, the user voiceprint information is collected during or after the user registration, and sent to the server together. Correspondingly, after receiving the audio data transmitted by the client, the method further includes:
S301、根据音频数据携带的用户标识、以及该用户标识对应的声纹信息,分离该音频数据中该用户标识对应的目标音频数据和其他音频数据。S301. According to the user identification carried in the audio data and the voiceprint information corresponding to the user identification, separate the target audio data corresponding to the user identification and other audio data in the audio data.
当用户在客户端的注册界面进行注册时,可在该注册界面上录入自己的一段语音,该客户端可通过采用声纹识别技术识别出该语音对应的声纹信息,并将该声纹信息与用户注册时形成的用户标识进行绑定。进一步的,该客户端可预先将该用户标识以及该声纹信息发送给服务器,当该服务器接收到音频数据后,可将该音频数据与预先存储的用户标识以及声纹信息进行匹配,如果该音频数据中至少包括两个声纹特征,那么该服务器可以根据预存储的声纹信息(声纹特征)将该音频数据分离成目标音频数据和其他音频数据。When the user registers on the registration interface of the client, he can enter his own voice on the registration interface, and the client can recognize the voiceprint information corresponding to the voice by using the voiceprint recognition technology, and associate the voiceprint information with the voiceprint information. The user ID formed during user registration is bound. Further, the client can send the user ID and the voiceprint information to the server in advance, and when the server receives the audio data, it can match the audio data with the pre-stored user ID and voiceprint information. If the audio data includes at least two voiceprint features, the server can separate the audio data into target audio data and other audio data according to pre-stored voiceprint information (voiceprint features).
举例来说,用户A的终端上安装有该客户端,当用户A在该客户端上登陆成功后,该客户端可将用户A与用户B之间的一段对话音频数据传输给服务器,该服务器可根据预先存储的用户A标识以及用户A声纹信息,对该对话音频数据进行分离,分离出用户A的音频数据(目标音频数据)和用户B的音频数据(其他音频数据)。For example, the client is installed on the terminal of user A. After user A successfully logs in on the client, the client can transmit the audio data of a conversation between user A and user B to the server. The dialog audio data can be separated according to the pre-stored user A's identity and user A's voiceprint information to separate user A's audio data (target audio data) and user B's audio data (other audio data).
可选地,上述利用与接收客户端对应的公钥加密所述敏感信息,获取加密后的音频数据,包括:利用与接收客户端对应的公钥加密目标音频数据中的敏感信息,获取加密后的音频数据。Optionally, the above-mentioned encrypting the sensitive information with the public key corresponding to the receiving client to obtain the encrypted audio data includes: encrypting the sensitive information in the target audio data with the public key corresponding to the receiving client, and obtaining the encrypted audio data. audio data.
服务器可对获取到的音频数据进行脱敏处理,如果该音频数据中包括两种类型的音频数据,那么该服务器对该音频数据的具体脱敏处理方式会根据其包括的音频数据的类型不同而不同,当该音频数据中包括目标音频数据时,可利用客户端发送的公钥对该目标音频数据中的敏感信息进行加密,可选地,也可以对其他音频中的敏感信息加密,在此不作限制。另外,也可以只采用上述公钥对目标音频数据中的敏感信息加密,其他音频数据中的敏感信息采用其他处理方式,在此不作限制,例如可将其他音频数据中的敏感信息进行删除,或者用新的音频信息去替代其他音频数据中的敏感信息,当然也可以不对其他音频数据进行处理。The server can perform desensitization processing on the acquired audio data. If the audio data includes two types of audio data, the specific desensitization processing method of the audio data by the server will vary according to the types of audio data included. Different, when the audio data includes target audio data, the sensitive information in the target audio data can be encrypted by using the public key sent by the client. Optionally, the sensitive information in other audios can also be encrypted. Here No restrictions apply. In addition, only the above public key can be used to encrypt the sensitive information in the target audio data, and the sensitive information in other audio data can be processed by other methods, which are not limited here. For example, the sensitive information in other audio data can be deleted, or Sensitive information in other audio data is replaced with new audio information, and of course, other audio data may not be processed.
图4为本申请实施例提供的又一种音频数据处理方法的流程示意图,该方法的执行主体可以是与上述服务器进行数据交互的客户端,该客户端可以安装于可移动终端(如手机、平板电脑、穿戴设备等)中,也可以安装于固定终端(如台式电脑),或者安装于专门接收语音信号的录音终端等,本申请在此不作限定。如图4所示,该方法可以包括:4 is a schematic flowchart of another audio data processing method provided by an embodiment of the present application. The execution body of the method may be a client that performs data interaction with the above-mentioned server, and the client may be installed on a movable terminal (such as a mobile phone, Tablet computer, wearable device, etc.), can also be installed in a fixed terminal (such as a desktop computer), or installed in a recording terminal specially designed to receive voice signals, etc., which is not limited in this application. As shown in Figure 4, the method may include:
S401、向服务器发送音频数据。S401. Send audio data to a server.
S402、接收该服务器根据该音频数据,发送的采用公钥加密后的音频数据。S402: Receive the audio data encrypted by the public key and sent by the server according to the audio data.
其中,客户端可将实时收集到的音频数据或者预先录制好的音频数据发送给服务器,在该服务器接收到该音频数据后,可利用语音识别算法将该音频数据转换成文本数据,该音频数据中的音频片段与该文本数据中的文本片段一一对应,其中,该音频片段可以包括该段音频在该音频数据中的起始时刻和终止时刻。The client can send the audio data collected in real time or the pre-recorded audio data to the server, and after the server receives the audio data, the audio data can be converted into text data by using a speech recognition algorithm. The audio segment in the audio segment corresponds to the text segment in the text data one-to-one, wherein the audio segment may include the start moment and the end moment of the audio segment in the audio data.
进一步的,服务器还可以利用语义识别算法识别出该文本数据中的敏感信息,该敏感信息可以是一个文本片段,也可以是多个文本片段。当识别出敏感信息在该文本数据中的位置后,可以根据该文本数据中的文本片段与该音频数据中的音频片段的对应关系,找到该敏感信息在该音频数据中的位置,然后采用公钥对是敏感信息的音频片段进行加密,并将加密的音频片段对应的起始时刻和终止时刻保存在一个标签文件中,最后将加密后的音频数据以及该标签文件一起发送给该客户端。Further, the server may also identify sensitive information in the text data by using a semantic recognition algorithm, and the sensitive information may be one text segment or multiple text segments. After the position of the sensitive information in the text data is identified, the position of the sensitive information in the audio data can be found according to the correspondence between the text segment in the text data and the audio segment in the audio data, and then the common The key pair is used to encrypt the audio segment of sensitive information, and the corresponding start time and end time of the encrypted audio segment are stored in a tag file, and finally the encrypted audio data and the tag file are sent to the client.
S403、利用与该公钥对应的私钥对加密后的音频数据进行解密,获取还原的音频数据。S403. Decrypt the encrypted audio data by using the private key corresponding to the public key to obtain restored audio data.
可选地,用户可以在客户端使用自己的用户信息、密码等进行登录,在登陆成功后,用户可选择还原音频数据操作,该客户端在接收到还原音频数据操作指令后,可根据获取到的服务器发送的加密后的音频数据进行还原,具体地,加密后的音频数据可以包括标签文件,根据标签文件中的音频片段对应的起始时刻和终止时刻,从加密后的音频数据中提取出对应时刻的音频片段,再利用预先存储的私钥对提取出的音频片段进行解密,将其变成明文形式,同时将解密后的音频片段恢复到加密后的音频数据对应位置处,该加密后的音频数据就变为加密之前的音频数据。Optionally, the user can log in using his own user information, password, etc. on the client side. After the login is successful, the user can choose to restore the audio data operation. The encrypted audio data sent by the server is restored, and specifically, the encrypted audio data can include a tag file, and according to the corresponding start time and termination time of the audio clip in the tag file, extract from the encrypted audio data. The audio clip at the corresponding moment is decrypted using the pre-stored private key to convert the extracted audio clip into plaintext, and the decrypted audio clip is restored to the corresponding position of the encrypted audio data. The audio data becomes the audio data before encryption.
也就是说,由于利用公钥加密后的音频数据没有缺失,可以采用客户端与该公钥对应的私钥对加密后的音频数据进行解密,就可以恢复原始的音频数据。并且,由于与该公钥对应的私钥是保存在客户端的,所以当用户在一些特殊场合需要恢复原始音频数据时,如用户在面对争议或需要还原现场证据等情况时,只要经过授权,该用户就可以完全恢复原始音频数据,进而使用户避免不必要的损失。That is to say, since the audio data encrypted by using the public key is not missing, the encrypted audio data can be decrypted by using the private key corresponding to the public key of the client, and the original audio data can be recovered. In addition, since the private key corresponding to the public key is stored on the client, when the user needs to restore the original audio data in some special occasions, such as when the user is facing a dispute or needs to restore on-site evidence, as long as the user is authorized, The user can completely restore the original audio data, thereby enabling the user to avoid unnecessary losses.
图5为本申请实施例提供的另一种音频数据处理方法的流程示意图。如图5所示,该方法还可以包括:FIG. 5 is a schematic flowchart of another audio data processing method provided by an embodiment of the present application. As shown in Figure 5, the method may further include:
S501、响应用户的注册请求,获取用户标识。S501. Acquire a user ID in response to a user's registration request.
S502、根据该用户标识,生成相匹配的公钥和私钥。S502. Generate a matching public key and private key according to the user ID.
S503、向该服务器发送注册信息,该注册信息包括:用户标识、以及对应的公钥。S503. Send registration information to the server, where the registration information includes: a user ID and a corresponding public key.
客户端上可安装有收集音频数据的功能,用户在初次登陆该客户端时,需要进行注册。该客户端在获取到用户的注册请求后,可展示注册界面,用户可在该注册界面上填写注册所需的用户名、昵称或其他账号(手机号、邮箱等信息,即用户标识。该客户端可根据该用户标识,进而可以生成与该用户标识对应的一对公钥和私钥。进一步的,该客户端可将用户注册时形成的用户标识以及生成的公钥发送给该服务器,并在与该服务器相关联的存储器中以键值的形式存储。The function of collecting audio data can be installed on the client, and the user needs to register when logging into the client for the first time. After the client obtains the user's registration request, it can display a registration interface, and the user can fill in the user name, nickname or other account (mobile phone number, email address and other information, that is, the user ID) required for registration on the registration interface. The terminal can generate a pair of public key and private key corresponding to the user identification according to the user identification. Further, the client terminal can send the user identification formed during the user registration and the generated public key to the server, and Stored as a key-value in storage associated with the server.
可选地,注册信息还包括:用户标识对应的声纹信息;该方法还可以包括:接收用户输入的注册音频;根据该注册音频,获取该用户标识对应的声纹信息。Optionally, the registration information further includes: voiceprint information corresponding to the user ID; the method may further include: receiving registration audio input by the user; and acquiring voiceprint information corresponding to the user ID according to the registration audio.
当用户在客户端的注册界面进行注册时,可在该注册界面上录入自己的一段语音,即注册音频,然后该客户端可通过采用声纹识别技术识别出该语音对应的声纹信息,并将该声纹信息与用户注册时形成的用户标识进行绑定,也即在用户注册过程中或注册后采集用户声纹信息,一并发送给服务器。When the user registers on the registration interface of the client, he can enter his own voice on the registration interface, that is, the registered audio, and then the client can recognize the voiceprint information corresponding to the voice by using the voiceprint recognition technology, and then The voiceprint information is bound to the user ID formed when the user is registered, that is, the user's voiceprint information is collected during or after the user registration, and sent to the server together.
图6为本申请实施例提供的一种音频数据处理方法的流程示意图。如图6所示,该方法可以包括:FIG. 6 is a schematic flowchart of an audio data processing method provided by an embodiment of the present application. As shown in Figure 6, the method may include:
S601、客户端向服务器发送音频数据。S601. The client sends audio data to the server.
S602、服务器采用预设算法获取该音频数据中的敏感信息。S602. The server obtains the sensitive information in the audio data by using a preset algorithm.
S603、服务器利用与接收客户端对应的公钥加密该敏感信息,获取加密后的音频数据。S603. The server encrypts the sensitive information by using the public key corresponding to the receiving client to obtain the encrypted audio data.
S604、客户端接收服务器根据该音频数据,发送的采用公钥加密后的音频数据。S604: The client receives the audio data encrypted by the public key and sent by the server according to the audio data.
S605、客户端利用与该公钥对应的私钥对加密后的音频数据进行解密,获取还原的音频数据。S605, the client decrypts the encrypted audio data by using the private key corresponding to the public key, and obtains the restored audio data.
对于该方法的具体有关内容可参见前述方法实施例的相关部分,本申请在此不再赘述。For the specific relevant content of the method, reference may be made to the relevant parts of the foregoing method embodiments, and details are not described herein again in this application.
图7为本申请实施例提供的一种音频数据处理装置的结构示意图,该装置基本原理及产生的技术效果与前述对应的方法实施例相同,为简要描述,本实施例中未提及部分,可参考方法实施例中的相应内容。如图7所示,该装置可以包括:FIG. 7 is a schematic structural diagram of an audio data processing apparatus provided by an embodiment of the present application. The basic principle of the apparatus and the technical effects produced are the same as the corresponding method embodiments described above. For brief description, parts are not mentioned in this embodiment. Please refer to the corresponding content in the method embodiment. As shown in Figure 7, the apparatus may include:
第一接收模块701,用于接收客户端传输的音频数据;The
第一获取模块702,用于采用预设算法获取该音频数据中的敏感信息;A first obtaining
加密模块703,用于利用与接收客户端对应的公钥加密该敏感信息,获取加密后的音频数据;An
第一发送模块704,用于向该客户端发送加密后的音频数据。The
图8为本申请实施例提供的另一种音频数据处理装置的结构示意图,如图8所示,该装置可以包括:FIG. 8 is a schematic structural diagram of another audio data processing apparatus provided by an embodiment of the present application. As shown in FIG. 8 , the apparatus may include:
转换模块801,用于将音频数据转换得到对应的文本数据;A
识别模块802,用于采用预设算法,从该文本数据中识别出敏感信息。The
可选地,第一接收模块701,还用于接收该客户端发送的注册信息,该注册信息包括:用户标识、以及对应的公钥。Optionally, the
图9为本申请实施例提供的又一种音频数据处理装置的结构示意图,如图9所示,注册信息还包括:用户标识对应的声纹信息;该装置可以包括:FIG. 9 is a schematic structural diagram of another audio data processing apparatus provided by an embodiment of the present application. As shown in FIG. 9 , the registration information further includes: voiceprint information corresponding to the user ID; the apparatus may include:
分离模块901,用于根据音频数据携带的用户标识、以及该用户标识对应的声纹信息,分离该音频数据中该用户标识对应的目标音频数据和其他音频数据。The
可选地,加密模块703,具体用于利用与接收客户端对应的公钥加密目标音频数据中的敏感信息,获取加密后的音频数据。Optionally, the
图10为本申请实施例提供的又一种音频数据处理装置的结构示意图,该装置基本原理及产生的技术效果与前述对应的方法实施例相同,为简要描述,本实施例中未提及部分,可参考方法实施例中的相应内容。如图10所示,该装置可以包括:FIG. 10 is a schematic structural diagram of another audio data processing apparatus provided by an embodiment of the present application. The basic principle and technical effect of the apparatus are the same as those of the corresponding method embodiment described above. For the sake of brief description, parts not mentioned in this embodiment are not mentioned. , please refer to the corresponding content in the method embodiment. As shown in Figure 10, the apparatus may include:
第二发送模块1001,用于向服务器发送音频数据;The
第二接收模块1002,接收该服务器根据该音频数据,发送的采用公钥加密后的音频数据;The
解密模块1003,用于利用与该公钥对应的私钥对加密后的音频数据进行解密,获取还原的音频数据。The
图11为本申请实施例提供的另一种音频数据处理装置的结构示意图。如图11所示,该装置还可以包括:FIG. 11 is a schematic structural diagram of another audio data processing apparatus provided by an embodiment of the present application. As shown in Figure 11, the device may also include:
响应模块1101,用于响应用户的注册请求,获取用户标识;The
生成模块1102,用于根据该用户标识,生成相匹配的公钥和私钥。The
相应的,第二发送模块1001,还用于向该服务器发送注册信息,该注册信息包括:用户标识、以及对应的公钥。Correspondingly, the
可选地,注册信息还包括:用户标识对应的声纹信息;相应的,第二接收模块1002,还用于接收用户输入的注册音频;第二获取模块,用于根据该注册音频,获取该用户标识对应的声纹信息。Optionally, the registration information further includes: voiceprint information corresponding to the user ID; correspondingly, the
上述装置用于执行前述实施例提供的方法,其实现原理和技术效果类似,在此不再赘述。The foregoing apparatus is used to execute the method provided by the foregoing embodiment, and the implementation principle and technical effect thereof are similar, which will not be repeated here.
以上这些模块可以是被配置成实施以上方法的一个或多个集成电路,例如:一个或多个特定集成电路(Application Specific Integrated Circuit,简称ASIC),或,一个或多个微处理器(Digital Signal Processor,简称DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,简称FPGA)等。再如,当以上某个模块通过处理元件调度程序代码的形式实现时,该处理元件可以是通用处理器,例如中央处理器(CentralProcessing Unit,简称CPU)或其它可以调用程序代码的处理器。再如,这些模块可以集成在一起,以片上系统(system-on-a-chip,简称SOC)的形式实现。The above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), or one or more microprocessors (Digital Signal Processor, referred to as DSP), or, one or more Field Programmable Gate Array (Field Programmable Gate Array, referred to as FPGA) and the like. For another example, when one of the above modules is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU for short) or other processors that can call program codes. For another example, these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC for short).
图12为本申请实施例提供的一种电子设备的结构示意图。该电子设备可以为服务器,也可以为客户端。若该电子设备为服务器时,可以执行图1-图3方法的步骤;若该电子设备为客户端时,可执行图4-图5方法的步骤。如图12所示,该电子设备可以包括:处理器1201、存储介质1202和总线1203,存储介质1202存储有处理器1201可执行的机器可读指令,当该电子设备运行时,处理器1201与存储介质1202之间通过总线1203通信,处理器1201执行机器可读指令,以执行上述方法实施例的步骤。具体实现方式和技术效果类似,这里不再赘述。FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device can be a server or a client. If the electronic device is a server, the steps of the methods in FIGS. 1-3 may be performed; if the electronic device is a client, the steps of the methods in FIGS. 4-5 may be performed. As shown in FIG. 12, the electronic device may include: a
可选地,本申请还提供一种存储介质,存储介质上存储有计算机程序,计算机程序被处理器运行时执行上述方法实施例的步骤。具体实现方式和技术效果类似,这里不再赘述。Optionally, the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is run by a processor, the steps of the foregoing method embodiments are executed. The specific implementation manner and technical effect are similar, and details are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本申请各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取存储器(英文:Random Access Memory,简称:RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software function unit is stored in a storage medium, and includes several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (English: processor) to execute the various embodiments of the present application. part of the method. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access memory (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc. Various media that can store program code.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as "first" and "second" etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。以上所述仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application. It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the protection scope of this application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010728523.3A CN111832075A (en) | 2020-07-24 | 2020-07-24 | A kind of audio data processing method, device and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010728523.3A CN111832075A (en) | 2020-07-24 | 2020-07-24 | A kind of audio data processing method, device and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111832075A true CN111832075A (en) | 2020-10-27 |
Family
ID=72925471
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010728523.3A Pending CN111832075A (en) | 2020-07-24 | 2020-07-24 | A kind of audio data processing method, device and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111832075A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113033191A (en) * | 2021-03-30 | 2021-06-25 | 上海思必驰信息科技有限公司 | Voice data processing method, electronic device and computer readable storage medium |
| CN113051902A (en) * | 2021-03-30 | 2021-06-29 | 上海思必驰信息科技有限公司 | Voice data desensitization method, electronic device and computer-readable storage medium |
| CN113395279A (en) * | 2021-06-11 | 2021-09-14 | 上海明略人工智能(集团)有限公司 | Data encryption method and device, audio acquisition equipment and electronic equipment |
| CN114301773A (en) * | 2021-12-29 | 2022-04-08 | 深圳市联洲国际技术有限公司 | Configuration method of network equipment, device thereof and electronic equipment |
| CN116665668A (en) * | 2023-05-30 | 2023-08-29 | 中国工商银行股份有限公司 | Audio data processing method, device and server |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103916725A (en) * | 2014-03-27 | 2014-07-09 | 上海华博信息服务有限公司 | Bluetooth headset |
| CN104517068A (en) * | 2014-12-31 | 2015-04-15 | 华为技术有限公司 | Audio file processing method and equipment |
| CN106604268A (en) * | 2015-10-15 | 2017-04-26 | 中兴通讯股份有限公司 | Voice encryption method and system and terminal |
| CN107295506A (en) * | 2016-03-31 | 2017-10-24 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method of speech processes, device and terminal |
| CN108667608A (en) * | 2017-03-28 | 2018-10-16 | 阿里巴巴集团控股有限公司 | The guard method of data key, device and system |
-
2020
- 2020-07-24 CN CN202010728523.3A patent/CN111832075A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103916725A (en) * | 2014-03-27 | 2014-07-09 | 上海华博信息服务有限公司 | Bluetooth headset |
| CN104517068A (en) * | 2014-12-31 | 2015-04-15 | 华为技术有限公司 | Audio file processing method and equipment |
| CN106604268A (en) * | 2015-10-15 | 2017-04-26 | 中兴通讯股份有限公司 | Voice encryption method and system and terminal |
| CN107295506A (en) * | 2016-03-31 | 2017-10-24 | 宇龙计算机通信科技(深圳)有限公司 | A kind of method of speech processes, device and terminal |
| CN108667608A (en) * | 2017-03-28 | 2018-10-16 | 阿里巴巴集团控股有限公司 | The guard method of data key, device and system |
Non-Patent Citations (1)
| Title |
|---|
| 任萍萍: "《智能客服机器人》", 31 August 2017, 成都时代出版社, pages: 163 - 164 * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113033191A (en) * | 2021-03-30 | 2021-06-25 | 上海思必驰信息科技有限公司 | Voice data processing method, electronic device and computer readable storage medium |
| CN113051902A (en) * | 2021-03-30 | 2021-06-29 | 上海思必驰信息科技有限公司 | Voice data desensitization method, electronic device and computer-readable storage medium |
| CN113395279A (en) * | 2021-06-11 | 2021-09-14 | 上海明略人工智能(集团)有限公司 | Data encryption method and device, audio acquisition equipment and electronic equipment |
| CN114301773A (en) * | 2021-12-29 | 2022-04-08 | 深圳市联洲国际技术有限公司 | Configuration method of network equipment, device thereof and electronic equipment |
| CN116665668A (en) * | 2023-05-30 | 2023-08-29 | 中国工商银行股份有限公司 | Audio data processing method, device and server |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11196540B2 (en) | End-to-end secure operations from a natural language expression | |
| CN111832075A (en) | A kind of audio data processing method, device and electronic equipment | |
| US11748512B2 (en) | Protecting client personal data from customer service agents | |
| US9047868B1 (en) | Language model data collection | |
| US8954332B2 (en) | Computer-implemented system and method for masking special data | |
| JP7123871B2 (en) | Identity authentication method, identity authentication device, electronic device and computer-readable storage medium | |
| US10270736B2 (en) | Account adding method, terminal, server, and computer storage medium | |
| US8706486B1 (en) | Voice data leakage detection and prevention systems | |
| US20210005190A1 (en) | Speech recognition system providing seclusion for private speech transcription and private data retrieval | |
| US12477065B2 (en) | Emergency communication system with contextual snippets | |
| US20220311621A1 (en) | Information processing device and information processing method | |
| CN113206737A (en) | Voice communication encryption method, decryption method and device | |
| CN113571068A (en) | Method and device for voice data encryption, electronic device, and readable storage medium | |
| CN106713111B (en) | Processing method for adding friends, terminal and server | |
| CN104821882A (en) | Network security verification method based on voice biometric features | |
| CN110380856B (en) | Terminal device and voice information processing method and device thereof, and storage medium | |
| KR102403471B1 (en) | Method and system for personal identification using homomorphic encryption | |
| CN114283811A (en) | Voice conversion method, device, computer equipment and storage medium | |
| CN114999488A (en) | A kind of speech recognition method, apparatus and electronic equipment | |
| CN113241070A (en) | Hot word recall and updating method, device, storage medium and hot word system | |
| US9940393B2 (en) | Electronic personal assistant privacy | |
| US10764060B1 (en) | Systems and methods for authenticating a multimedia stream | |
| CN114530143A (en) | Encrypted domain voice recognition method and system based on complex neural network | |
| CN113254579A (en) | Voice retrieval method and device and electronic equipment | |
| JP7653658B2 (en) | Program, system, and method for generating conversation records - Patents.com |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201027 |
|
| RJ01 | Rejection of invention patent application after publication |