WO2021169305A1 - Voiceprint data processing method and apparatus, computer device, and storage medium - Google Patents

Voiceprint data processing method and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2021169305A1
WO2021169305A1 PCT/CN2020/119366 CN2020119366W WO2021169305A1 WO 2021169305 A1 WO2021169305 A1 WO 2021169305A1 CN 2020119366 W CN2020119366 W CN 2020119366W WO 2021169305 A1 WO2021169305 A1 WO 2021169305A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
identification information
voiceprint
device identification
operation instruction
Prior art date
Application number
PCT/CN2020/119366
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 WO2021169305A1 publication Critical patent/WO2021169305A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/73Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by creating or determining hardware identification, e.g. serial numbers

Definitions

  • This application relates to the technical field of voiceprint recognition, in particular to a voiceprint data processing method, device, computer equipment and storage medium.
  • terminal devices such as mobile phones, tablet computers, etc.
  • voiceprints can collect voiceprints, and different applications can collect different voiceprints.
  • the collected voiceprints can serve different functions, such as login verification voiceprint, payment verification voiceprint Wait.
  • the main purpose of this application is to provide a voiceprint data processing method, device, computer equipment and storage medium, aiming to solve the problem of low accuracy of voiceprint verification due to difficulty in obtaining accurate standard voiceprints on different devices problem.
  • This application proposes a voiceprint data processing method, the method includes:
  • the first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally.
  • the valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
  • the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
  • a voiceprint data processing device comprising:
  • the acquiring module is configured to acquire the first voiceprint collected by the first application, and locally acquire the valid device identification information corresponding to the first application, and the valid device identification information is universally unique according to the device where the first application is located Generated by the identification information and the application information of the first application, the device universally unique identification information includes at least one of a device serial number or a mobile device identification code;
  • the sending module is configured to send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the first voiceprint according to the valid device identification information 1. Apply the corresponding standard voiceprint to verify the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
  • the execution module is configured to receive the verification result returned by the server, and execute corresponding operations according to the verification result.
  • a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements a voiceprint data processing method when the computer program is executed;
  • the steps of the voiceprint data processing method include:
  • the first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally.
  • the valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
  • the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
  • a computer-readable storage medium on which a computer program is stored, which implements a voiceprint data processing method when the computer program is executed by a processor;
  • the steps of the voiceprint data processing method include:
  • the first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally.
  • the valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
  • the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
  • the effective device identification information corresponding to the first application is obtained locally, and the server obtains the corresponding standard voiceprint according to the effective device identification information, thereby ensuring that the standard voiceprint is available Accuracy obtained on different devices, verify the consistency of the standard voiceprint and the first voiceprint to obtain the verification result, thereby improving the accuracy of the voiceprint verification, and ensuring the accuracy of the operation authority to perform the corresponding operation according to the voiceprint verification result sex.
  • Fig. 1 is an application environment diagram of a voiceprint data processing method in an embodiment
  • FIG. 2 is a schematic flowchart of a method for processing voiceprint data in an embodiment
  • Fig. 3 is a structural block diagram of a voiceprint data processing device in an embodiment
  • Fig. 4 is an internal structure diagram of a computer device in an embodiment.
  • Fig. 1 is a diagram of an application environment in which a voiceprint data processing method operates in an embodiment.
  • the application environment includes a terminal 110 and a server 120.
  • the terminal and the server communicate through the network.
  • the communication network may be a wireless or wired communication network, such as an IP network, a cellular mobile communication network, etc., where the number of terminals and servers is not limited.
  • the terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server can be implemented as an independent server or a server cluster composed of multiple servers.
  • the terminal 110 obtains the first voiceprint collected by the first application, and obtains the valid device identification information corresponding to the first application locally.
  • the valid device identification information is based on the device universally unique identification information of the device where the first application is located and the application information of the first application
  • the generated universal unique identification information of the device includes one of the device serial number or the mobile device identification code, and the voiceprint verification request is sent to the server 120.
  • the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server Obtain the standard voiceprint corresponding to the first application according to the valid device identification information, verify the consistency of the standard voiceprint and the first voiceprint to obtain a verification result; receive the verification result returned by the server 120, and perform corresponding operations according to the verification result.
  • a method for processing voiceprint data is provided. Taking the method applied to the terminal 110 in FIG. 1 as an example for description, the method includes the following steps:
  • Step 210 Obtain a first voiceprint collected by a first application, and obtain valid device identification information corresponding to the first application locally, where the valid device identification information is based on the universally unique identification information of the device where the first application is located Generated with the application information of the first application, the universal unique identification information of the device includes one of a device serial number or a mobile device identification code.
  • the first application may be an application that comes with the system on the device, or may be an application installed by downloading.
  • the type of the first application is not limited, and may be a login application, a payment application, a social application, a game application, and so on.
  • the first application may be one or more sub-applications in the main application, and each sub-application is attached to the main application to run and enter the sub-application through the main application's page.
  • the valid device identification information corresponding to each application can be obtained from the storage space corresponding to each application. This storage space still exists after the application is uninstalled. If it is installed again after uninstallation, the application data of this application previously stored in this storage space It can still be used.
  • the data in the target storage space can be stored in the form of key-value pairs.
  • Voiceprint refers to the sound wave spectrum of a voice signal. Voiceprint has specificity and stability. Through voiceprint recognition, user identity can be detected. The collected voice data can be extracted through the voiceprint feature extraction model to obtain the voiceprint feature, so as to obtain the first voiceprint according to the voiceprint feature.
  • Voiceprint features can include: acoustic features, morphological features, prosodic features, language, dialect and accent information, channel information, etc.
  • the serial number of the device is the unique serial number given by the device. Some devices will return junk data. Therefore, when the normal serial number cannot be returned on the device, the mobile device identification code will be used.
  • the mobile device identification code includes IMEI (International Mobile Equipment Identity, international mobile equipment identification code) number, by GSM (Global System for Mobile Communications (Global System for Mobile Communications) device returns, reinstallation of the application will not change, the user must grant permission.
  • the MEID (Mobile Equipment Identifier)/ESN (Electronic Serial Number) number is returned by the CDMA (Code Division Multiple Access) device. Usually the device supports both GSM and CDMA, the IMEI number And MEID/ESN number can participate in generating effective equipment identification information at the same time.
  • the IMEI number and MEID/ESN number of the device can be extracted.
  • the device's universal unique identification information is generated by the device's own system.
  • the device's universal unique identification code can ensure that all elements in the distributed system have unique identification information, but there may be two identical device universal unique identification information.
  • the value of the valid device identification information is unique, because the valid device identification information is generated by the universal unique identification information of the device and the application information of the first application to further ensure uniqueness.
  • the application information of the first application is information unique to the application, and may be application identification information, application operation information, etc., or a combination of multiple different types of application information.
  • the valid device identification information includes identification bit information, and the identification bit information is used to identify the information category of the universally unique identification information of the device.
  • valid device identification information is also generated according to historical operation information acting on the first application.
  • the historical operation information includes at least one of time operation information, space operation information, and equipment space status.
  • Time operation information includes current operation time
  • system time can be converted to Timestamp
  • spatial operation information includes geographic location information
  • geographic location information can be converted to region through "World and Region Name Code” and "National Region Code Table” Code Location.
  • the space state of the device can be the current space position of the device, including the tilt angle, and the movement speed can be collected by the gyroscope.
  • the historical operation information may also include operation object information, such as the user ID of the operation application. Multiple different types of historical operation information and device universal unique identification codes can be combined to generate valid device identification information.
  • Step 220 Send a voiceprint verification request to the server.
  • the voiceprint verification request includes valid device identification information and the first voiceprint, so that the server obtains the standard voiceprint corresponding to the first application according to the valid device identification information, and verifies the standard voiceprint The consistency with the first voiceprint is verified.
  • the voiceprint verification request is used to verify whether the currently collected voiceprint is consistent with the historically bound voiceprint. If they are consistent, it means that the user's identity has been verified and the corresponding operation can be performed on the first application. If the verification fails, it means that the user identity verification has failed, and there is no operating authority for the first application.
  • the server Since the valid device identification information is unique, the corresponding standard voiceprint can be uniquely determined, effectively avoiding the problem of incorrect standard voiceprint obtained by the same device identification information in different applications of multiple different devices, resulting in inaccurate verification results , And because of the uniqueness of the effective device identification information, the server only needs to store the association relationship between the effective device identification information and the standard voiceprint, so that different devices can be distinguished, and the same applications on different devices can also be distinguished. Different applications on the device can also be distinguished, which improves the accuracy of voiceprint verification and ensures the effectiveness of voiceprint information management.
  • Step 230 Receive the verification result returned by the server, and perform a corresponding operation according to the verification result.
  • the corresponding operation can be performed on the first application.
  • the valid device identification information corresponding to the first application is obtained locally.
  • the valid device identification information is generated by the device universally unique identification information of the device where the first application is located and the application information of the first application, and the server is generated according to the valid device identification information Obtain the corresponding standard voiceprint, because the effective device identification information is unique for different devices and different applications, thus ensuring the accuracy of obtaining the standard voiceprint on different devices, and verifying the consistency of the standard voiceprint and the first voiceprint The verification result is obtained, thereby improving the accuracy of the voiceprint verification and ensuring the accuracy of the operation authority for performing the corresponding operation according to the voiceprint verification result.
  • the method further includes: obtaining an operation instruction acting on the first application; collecting the standard voiceprint corresponding to the first application through the first application; obtaining the universally unique identification information of the device where the first application is located, according to the device
  • the universally unique identification information and the application information of the first application generate the current device identification information corresponding to the first application; when there is no valid device identification information corresponding to the first application locally, the current device identification information is used as the valid device corresponding to the first application
  • the identification information is stored locally, and the valid device identification information and the standard voiceprint are sent to the server, so that the server stores the association relationship between the effective device identification information and the standard voiceprint.
  • the operation instruction is used to perform a corresponding operation on the first application, and may be an installation operation instruction, a startup operation instruction, a login operation instruction, an add friend operation instruction, a payment operation instruction, and the like. It is understandable that there can be one or more operation instructions, but as long as valid device identification information already exists locally, there is no need to regenerate the current device identification information for subsequent acquisitions of the operation instructions.
  • the same device has the same application.
  • Various operations that require voiceprint verification share the same standard voiceprint.
  • the standard voiceprint may be the voiceprint of the user of the device owner, and only users who match the standard voiceprint have the authority to operate applications on the device. Since the effective device identification information generated by different applications of the same device is different, different standard voiceprints can be set for different applications.
  • the generated valid device identification information corresponding to each application is stored in the local private storage space corresponding to each application, so as to ensure the convenience and accuracy of subsequent acquisition of the valid device identification information corresponding to each application.
  • the association between the device identification information and the standard voiceprint facilitates subsequent voiceprint verification.
  • the server when the server stores the voiceprint of the device user, it sets a flag bit for the effective device identification information. If the flag position is "1", it means that the serial number is used when generating the effective device identification information for the device. SerialNumber; if the flag position is "0”, it means that the device used the IMEI number or MEID/ESN number when generating valid device identification information.
  • the operation instruction acting on the first application is acquired, the standard voiceprint corresponding to the first application is collected through the first application, and the universal unique identifier of the device where the first application is located is acquired Information, generating the current device identification information corresponding to the first application according to the universally unique identification information of the device and the application information of the first application includes: acquiring an application startup instruction for starting the first application for the first time; acquiring the first application according to the application startup instruction 1. The device serial number of the device where the application is located.
  • the device serial number and the application information of the first application are combined to generate the current device identification information corresponding to the first application; when the device serial number is abnormal data, The mobile device identification code of the device where the first application is located is obtained, and the mobile device identification code and the application information of the first application are combined to generate current device identification information corresponding to the first application.
  • the device serial number SerialNumber can be obtained through the "android.os.Build.SERIAL" code that comes with the system. Since this interface does not distinguish whether the device is a mobile phone or a tablet or other types of devices, the application can read the device The serial number serves as the main identification of the device. However, using this method on some mobile phones will return junk data and cannot identify the device. At this time, you can use the IMEI number and MEID/ESN number for assistance. These three identifications can meet the requirements of GSM equipment and CDMA equipment at the same time. The device model is not supported and the acquisition fails. So when the junk data is returned after extracting the serial number, the application will apply to the user for the "read_phone_state" permission to open the device. With this permission, the mobile device identification code of the device, namely the IMEI number and/or MEID/ESN number can be extracted.
  • the identification bit information of the current device identification information is set to the first value; when the mobile device identification code is used, the identification bit information of the current device identification information is set to the second value. If the device serial number is used, the identification information can be set to 1, and if the mobile device identification code is used, the identification information can be set to 0.
  • the current device identification information is stored locally as the valid device identification information corresponding to the first application: a random prefix and a random suffix are generated, and the random prefix, current device identification information, and random suffix are combined in order to generate processing Device identification information.
  • the processing device identification information is encrypted to obtain the encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
  • the current device identification information generated by the above method reduces the recognizability of the identification through combination, but the encryption of the current device identification information is also extremely important.
  • the identification code generated by the combined encryption is stored locally as the unique identification of the device corresponding to the first application, and the value is transmitted back to the server and the standard at the same time. Voiceprint is stored.
  • the method further includes: obtaining the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, generating the current operation instruction according to the current operation instruction type and the current device identification information
  • the effective device identification information corresponding to the type of operation is stored locally, and the effective device identification information and standard voiceprint corresponding to the current operation instruction type are sent to the server so that the server stores the effective device identification information and standard voice corresponding to the current operation instruction type.
  • the first operation instruction acting on the first application determine the first operation instruction type corresponding to the first operation instruction; obtain the target valid device identification information corresponding to the first operation instruction type; the voiceprint verification request includes the target valid device identification information, The first voiceprint, so that the server obtains the target standard voiceprint matching the first operation instruction type according to the target effective device identification information, and verifies the consistency of the target standard voiceprint with the first voiceprint to obtain the verification result corresponding to the first operation instruction .
  • the operation instruction of the same function can be regarded as the same type of operation instruction, such as payment type operation instruction, login type operation instruction, and friend type operation instruction.
  • Different types of operation instructions have different levels of priority. Level and security can be verified by the voiceprints of users with different levels of identity. If the payment type requires a higher level of priority, it will be verified by the voiceprint of the user with a higher level of identity.
  • the effective device identification information corresponding to the current operation instruction type is generated, so that according to different operation instruction types, the corresponding different effective device identification information can be obtained.
  • Different types of operation instructions of the same application correspond to different Valid device identification information, so that the standard voiceprint corresponding to the target operation instruction type of the target application can be obtained from the server through the effective device identification information, so that different types of operation instructions of the same application have different standard voiceprints, which can be verified by different user identities . Due to the uniqueness of the effective device identification information generation, the accuracy of the standard voiceprint acquisition is guaranteed.
  • the verification result includes verification results corresponding to a plurality of different operation instructions
  • step 230 includes: obtaining the operation instruction whose verification result is passed as the target execution operation instruction, and execute the operation instruction that acts on the first application according to each target.
  • the target operation, the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
  • steps in the flowchart of FIG. 2 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in FIG. 2 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution of these sub-steps or stages The sequence is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
  • a voiceprint data processing device including: an acquisition module 310, a sending module 320, and an execution module 330, wherein:
  • the acquiring module 310 is configured to acquire the first voiceprint collected by the first application, and locally acquire valid device identification information corresponding to the first application.
  • the valid device identification information is based on the universally unique identification information of the device where the first application is located and When the application information of the first application is generated, the universally unique identification information of the device includes at least one of a device serial number or a mobile device identification code.
  • the sending module 320 is configured to send a voiceprint verification request to the server.
  • the voiceprint verification request includes valid device identification information and the first voiceprint, so that the server can obtain the standard voiceprint corresponding to the first application according to the valid device identification information. , Verify the consistency of the standard voiceprint and the first voiceprint to get the verification result.
  • the execution module 330 is configured to receive the verification result returned by the server, and execute corresponding operations according to the verification result.
  • the device further includes:
  • the first pre-processing module 340 is configured to obtain operation instructions acting on the first application, collect standard voiceprints corresponding to the first application through the first application, and obtain the device of the device where the first application is located Universally unique identification information, based on the universally unique identification information of the device and the application information of the first application to generate the current device identification information corresponding to the first application; when there is no valid device corresponding to the first application locally
  • the current device identification information is stored locally as the effective device identification information corresponding to the first application, and the effective device identification information and the standard voiceprint are sent to the server, so that the server stores the effective device identification information.
  • the association relationship between the device identification information and the standard voiceprint is configured to obtain operation instructions acting on the first application, collect standard voiceprints corresponding to the first application through the first application, and obtain the device of the device where the first application is located Universally unique identification information, based on the universally unique identification information of the device and the application information of the first application to generate the current device identification information corresponding to the first application; when there is no
  • the first preprocessing module 340 is further configured to obtain an application start instruction for starting the first application for the first time; obtain the device serial number of the device where the first application is located according to the application start instruction, and when the When the device serial number is normal data, the device serial number and the application information of the first application are combined to generate the current device identification information corresponding to the first application; when the device serial number is abnormal data, all data are acquired.
  • the mobile device identification code of the device where the first application is located, and the mobile device identification code and the application information of the first application are combined to generate current device identification information corresponding to the first application.
  • the first preprocessing module 340 is further configured to generate a random prefix and a random suffix, and combine the random prefix, current device identification information, and random suffix in order to generate processing device identification information;
  • the information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
  • the device further includes:
  • the second preprocessing module 350 is configured to obtain the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, generate it according to the current operation instruction type and the current device identification information
  • the effective device identification information corresponding to the current operation instruction type is stored locally, and the effective device identification information corresponding to the current operation instruction type and the standard voiceprint are sent to the server, so that the server stores the information corresponding to the current operation instruction type.
  • the processing module 360 is configured to obtain a first operation instruction acting on the first application, determine the first operation instruction type corresponding to the first operation instruction; obtain the target effective device identification information corresponding to the first operation instruction type;
  • the voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains the target standard voiceprint that matches the first operation instruction type according to the target effective device identification information, The consistency between the target standard voiceprint and the first voiceprint is verified to obtain a verification result corresponding to the first operation instruction.
  • the verification result includes a plurality of verification results corresponding to different operation instructions
  • the execution module 330 is further configured to obtain the operation instruction whose verification result is passed as the target execution operation instruction; execute the operation instruction according to each target and execute the execution effect on the operation instruction.
  • the target operation of the first application, the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
  • Each module in the aforementioned voiceprint data processing device can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device is provided.
  • the computer device may be a terminal.
  • the internal structure diagram of the computer device may be as shown in FIG. 4.
  • the computer device includes a processor, a memory, a network interface, and an input device connected by a system bus. And display.
  • the memory includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium of the computer device stores an operating system and may also store a computer program.
  • the processor can make the processor execute a voiceprint data processing method.
  • a computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor can execute the data processing method.
  • the display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen. It can be an external keyboard, touchpad, or mouse.
  • FIG. 4 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented: obtain the first voiceprint collected by the first application, and obtain the first voiceprint from the local Acquire valid device identification information corresponding to the first application, the valid device identification information is generated based on the universally unique identification information of the device where the first application is located and the application information of the first application, and the device is universal
  • the unique identification information includes at least one of the device serial number or the mobile device identification code; a voiceprint verification request is sent to the server, and the voiceprint verification request includes the valid device identification information and the first voiceprint, so that
  • the server obtains the standard voiceprint corresponding to the first application according to the valid device identification information, verifies the consistency of the standard voiceprint and the first voiceprint to obtain a verification result; and receives the verification result returned by the server The verification result, and the corresponding operation is performed according to the verification result.
  • the processor further implements the following steps when executing the computer program: acquiring the operating instructions acting on the first application; acquiring the standard voiceprint corresponding to the first application through the first application; acquiring all According to the device universal unique identification information of the device where the first application is located, the current device identification information corresponding to the first application is generated based on the device universal unique identification information and the application information of the first application; When the effective device identification information corresponding to the first application is described, the current device identification information is stored locally as the effective device identification information corresponding to the first application, and the effective device identification information and standard voiceprint are sent to the server to Enabling the server to store the association relationship between the valid device identification information and the standard voiceprint.
  • the obtaining operation instructions acting on the first application, collecting the standard voiceprint corresponding to the first application through the first application, and obtaining the device common to the device where the first application is located The unique identification information.
  • Generating the current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application includes: acquiring an application startup instruction for starting the first application for the first time; The application start instruction acquires the device serial number of the device where the first application is located, and when the device serial number is normal data, the device serial number and the application information of the first application are combined to generate the first application Corresponding current device identification information; when the device serial number is abnormal data, obtain the mobile device identification code of the device where the first application is located, and combine the mobile device identification code and the application information of the first application to generate The current device identification information corresponding to the first application.
  • the storing the current device identification information as valid device identification information corresponding to the first application locally includes: generating a random prefix and a random suffix, and storing the random prefix, the current device identification information, Random suffixes are combined in order to generate processing device identification information; the processing device identification information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
  • the processor further implements the following steps when executing the computer program: acquiring the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, according to the current operation instruction type
  • the effective device identification information corresponding to the current operation instruction type is generated and stored locally by the current device identification information, and the effective device identification information corresponding to the current operation instruction type and the standard voiceprint are sent to the server, so that the server stores The association relationship between the valid device identification information and the standard voiceprint corresponding to the current operation instruction type; obtain the first operation instruction acting on the first application, determine the first operation instruction type corresponding to the first operation instruction; obtain the The target effective device identification information corresponding to the first operation instruction type; the voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains and The target standard voiceprint matching the type of the first operation instruction is verified to be consistent with the first voiceprint to obtain a verification result corresponding to the first operation instruction.
  • the verification result includes verification results corresponding to a plurality of different operation instructions
  • the receiving the verification result returned by the server, and executing the corresponding operation according to the verification result includes: obtaining the verification result as passed
  • the operation instruction is used as a target execution operation instruction; the target operation that acts on the first application is executed according to each target execution operation instruction, and the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
  • a computer-readable storage medium may be non-volatile or volatile, and has a computer program stored thereon.
  • the computer program is executed by a processor, The following steps are implemented: obtain the first voiceprint collected by the first application, and obtain the valid device identification information corresponding to the first application locally, and the valid device identification information is based on the universal unique identifier of the device where the first application is located Information and the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code; a voiceprint verification request is sent to the server, the voiceprint verification request Including the effective device identification information and the first voiceprint, so that the server obtains the standard voiceprint corresponding to the first application according to the effective device identification information, and verifies that the standard voiceprint and the first voiceprint The consistency of the voiceprint obtains a verification result; the verification result returned by the server is received, and the corresponding operation is performed according to the verification result.
  • the following steps are further implemented: obtaining an operation instruction acting on the first application; collecting the standard voiceprint corresponding to the first application through the first application; obtaining The device universal unique identification information of the device where the first application is located, and the current device identification information corresponding to the first application is generated based on the device universal unique identification information and the application information of the first application; when the local does not exist
  • the valid device identification information corresponding to the first application is stored, the current device identification information is stored locally as the valid device identification information corresponding to the first application, and the valid device identification information and the standard voiceprint are sent to the server, So that the server stores the association relationship between the valid device identification information and the standard voiceprint.
  • the obtaining operation instructions acting on the first application, collecting the standard voiceprint corresponding to the first application through the first application, and obtaining the device common to the device where the first application is located The unique identification information.
  • Generating the current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application includes: acquiring an application startup instruction for starting the first application for the first time; The application start instruction acquires the device serial number of the device where the first application is located, and when the device serial number is normal data, the device serial number and the application information of the first application are combined to generate the first application Corresponding current device identification information; when the device serial number is abnormal data, obtain the mobile device identification code of the device where the first application is located, and combine the mobile device identification code and the application information of the first application to generate The current device identification information corresponding to the first application.
  • the storing the current device identification information as valid device identification information corresponding to the first application locally includes: generating a random prefix and a random suffix, and storing the random prefix, the current device identification information, Random suffixes are combined in order to generate processing device identification information; the processing device identification information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
  • the following steps are also implemented: acquiring the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, according to the current operation instruction
  • the type and the current device identification information generate the valid device identification information corresponding to the current operation instruction type and store it locally, and send the valid device identification information corresponding to the current operation instruction type and the standard voiceprint to the server, so that the server Store the effective device identification information corresponding to the current operation instruction type and the association relationship of the standard voiceprint; obtain the first operation instruction acting on the first application, determine the first operation instruction type corresponding to the first operation instruction; obtain all The target effective device identification information corresponding to the first operation instruction type; the voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains the target effective device identification information A target standard voiceprint matching the type of the first operation instruction is verified to be consistent with the first voiceprint to obtain a verification result corresponding to the first operation instruction.
  • the verification result includes verification results corresponding to a plurality of different operation instructions
  • the receiving the verification result returned by the server, and executing the corresponding operation according to the verification result includes: obtaining the verification result as passed
  • the operation instruction is used as a target execution operation instruction; the target operation that acts on the first application is executed according to each target execution operation instruction, and the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
  • Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Channel
  • memory bus Radbus direct RAM
  • RDRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Abstract

The present application relates to a voiceprint recognition technology, and provides a voiceprint data processing method and apparatus, a device, and a storage medium. The method comprises: obtaining a first voiceprint collected by a first application, and locally obtaining effective device identifier information corresponding to the first application, the effective device identifier information being generated according to device universal unique identifier information of a device where the first application is located and application information of the first application, the device universal unique identifier information comprising at least one information in a device serial number or a mobile device identification code; sending a voiceprint verification request to a server, the voiceprint verification request comprising the valid device identifier information and the first voiceprint, so that the server obtains a standard voiceprint corresponding to the first application according to the valid device identifier information, and verifies the consistency of the standard voiceprint and the first voiceprint to obtain a verification result; and receiving the verification result returned by the server, and performing a corresponding operation according to the verification result, so that the accuracy of voiceprint verification is improved.

Description

声纹数据处理方法、装置、计算机设备和存储介质Voiceprint data processing method, device, computer equipment and storage medium
本申请要求于2020年02月24日提交中国专利局、申请号为202010112886.4,发明名称为“声纹数据处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on February 24, 2020, the application number is 202010112886.4, and the invention title is "voiceprint data processing methods, devices, computer equipment and storage media". The entire content of the application is approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及声纹识别技术领域,特别是涉及一种声纹数据处理方法、装置、计算机设备和存储介质。This application relates to the technical field of voiceprint recognition, in particular to a voiceprint data processing method, device, computer equipment and storage medium.
背景技术Background technique
目前,大多数终端设备(如移动手机、平板电脑等)可以采集声纹,不同的应用可采集不同的声纹,采集的声纹可作用不同的功能,如登录验证声纹、支付验证声纹等。At present, most terminal devices (such as mobile phones, tablet computers, etc.) can collect voiceprints, and different applications can collect different voiceprints. The collected voiceprints can serve different functions, such as login verification voiceprint, payment verification voiceprint Wait.
目前Android设备中比较常用的设备唯一标识符存在获取难度大,不能唯一标识的问题,随着声纹信息的规模增大,发明人意识到若做不好标识工作,将会带来声纹信息混乱、丢失等可能,所以为特定声纹采集设备做好标识提取以提供声纹与设备的唯一匹配变得愈发重要。At present, the more commonly used device unique identifiers in Android devices are difficult to obtain and cannot be uniquely identified. As the scale of voiceprint information increases, the inventor realized that if the identification work is not done well, it will bring voiceprint information. Confusion, loss, etc. may be possible, so it becomes more and more important to perform identification extraction for a specific voiceprint collection device to provide a unique match between the voiceprint and the device.
技术问题technical problem
本申请的主要目的为提供一种声纹数据处理方法、装置、计算机设备和存储介质,旨在解决因难以在不同设备上获取到准确的标准声纹,而导致声纹验证的准确率低下的问题。The main purpose of this application is to provide a voiceprint data processing method, device, computer equipment and storage medium, aiming to solve the problem of low accuracy of voiceprint verification due to difficulty in obtaining accurate standard voiceprints on different devices problem.
技术解决方案Technical solutions
本申请提出一种声纹数据处理方法,所述方法包括:This application proposes a voiceprint data processing method, the method includes:
获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;The first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally. The valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;Send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。Receiving the verification result returned by the server, and performing a corresponding operation according to the verification result.
一种声纹数据处理装置,所述装置包括:A voiceprint data processing device, the device comprising:
获取模块,用于获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;The acquiring module is configured to acquire the first voiceprint collected by the first application, and locally acquire the valid device identification information corresponding to the first application, and the valid device identification information is universally unique according to the device where the first application is located Generated by the identification information and the application information of the first application, the device universally unique identification information includes at least one of a device serial number or a mobile device identification code;
发送模块,用于发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;The sending module is configured to send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the first voiceprint according to the valid device identification information 1. Apply the corresponding standard voiceprint to verify the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
执行模块,用于接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。The execution module is configured to receive the verification result returned by the server, and execute corresponding operations according to the verification result.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现声纹数据处理方法;A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements a voiceprint data processing method when the computer program is executed;
其中,所述声纹数据处理方法的步骤包括:Wherein, the steps of the voiceprint data processing method include:
获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;The first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally. The valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;Send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。Receiving the verification result returned by the server, and performing a corresponding operation according to the verification result.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现声纹数据处理方法;A computer-readable storage medium, on which a computer program is stored, which implements a voiceprint data processing method when the computer program is executed by a processor;
其中,所述声纹数据处理方法的步骤包括:Wherein, the steps of the voiceprint data processing method include:
获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;The first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally. The valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;Send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。Receiving the verification result returned by the server, and performing a corresponding operation according to the verification result.
有益效果Beneficial effect
上述声纹数据处理方法、装置、计算机设备和存储介质,通过从本地获取第一应用对应的有效设备标识信息,由服务器根据有效设备标识信息获取对应的标准声纹,从而保证了标准声纹在不同设备上获取的准确性,验证标准声纹与第一声纹的一致性得到验证结果,从而提高了声纹验证的准确性,保证了根据声纹验证结果执行对应的操作的操作权限的准确性。In the above voiceprint data processing method, device, computer equipment and storage medium, the effective device identification information corresponding to the first application is obtained locally, and the server obtains the corresponding standard voiceprint according to the effective device identification information, thereby ensuring that the standard voiceprint is available Accuracy obtained on different devices, verify the consistency of the standard voiceprint and the first voiceprint to obtain the verification result, thereby improving the accuracy of the voiceprint verification, and ensuring the accuracy of the operation authority to perform the corresponding operation according to the voiceprint verification result sex.
附图说明Description of the drawings
图1为一个实施例中声纹数据处理方法的应用环境图;Fig. 1 is an application environment diagram of a voiceprint data processing method in an embodiment;
图2为一个实施例中声纹数据处理方法的流程示意图;2 is a schematic flowchart of a method for processing voiceprint data in an embodiment;
图3为一个实施例中声纹数据处理装置的结构框图;Fig. 3 is a structural block diagram of a voiceprint data processing device in an embodiment;
图4为一个实施例中计算机设备的内部结构图。Fig. 4 is an internal structure diagram of a computer device in an embodiment.
本发明的最佳实施方式The best mode of the present invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer and clearer, the following further describes the application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
本申请提供的声纹数据处理方法,可以应用于如图1所示的应用环境中。图1为一个实施例中声纹数据处理方法运行的应用环境图。如图1所示,该应用环境包括终端110、服务器120。终端、服务器之间通过网络进行通信,通信网络可以是无线或者有线通信网络,例如IP网络、蜂窝移动通信网络等,其中终端和服务器的个数不限。The voiceprint data processing method provided in this application can be applied to the application environment as shown in FIG. 1. Fig. 1 is a diagram of an application environment in which a voiceprint data processing method operates in an embodiment. As shown in FIG. 1, the application environment includes a terminal 110 and a server 120. The terminal and the server communicate through the network. The communication network may be a wireless or wired communication network, such as an IP network, a cellular mobile communication network, etc., where the number of terminals and servers is not limited.
其中,终端110可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。终端110获取第一应用采集的第一声纹,从本地获取第一应用对应的有效设备标识信息,有效设备标识信息是根据第一应用所在设备的设备通用唯一标识信息和第一应用的应用信息生成的,设备通用唯一标识信息包括设备序列号或移动设备识别码中的一种信息,发送声纹验证请求至服务器120,声纹验证请求包括有效设备标识信息和第一声纹,以使服务器根据有效设备标识信息获取第一应用对应的标准声纹,验证标准声纹与第一声纹的一致性得到验证结果;接收服务器120返回的验证结果,根据验证结果执行对应的操作。Among them, the terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server can be implemented as an independent server or a server cluster composed of multiple servers. The terminal 110 obtains the first voiceprint collected by the first application, and obtains the valid device identification information corresponding to the first application locally. The valid device identification information is based on the device universally unique identification information of the device where the first application is located and the application information of the first application The generated universal unique identification information of the device includes one of the device serial number or the mobile device identification code, and the voiceprint verification request is sent to the server 120. The voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server Obtain the standard voiceprint corresponding to the first application according to the valid device identification information, verify the consistency of the standard voiceprint and the first voiceprint to obtain a verification result; receive the verification result returned by the server 120, and perform corresponding operations according to the verification result.
在一个实施例中,如图2所示,提供了一种声纹数据处理方法,以该方法应用于图1中的终端110为例进行说明,包括以下步骤:In an embodiment, as shown in FIG. 2, a method for processing voiceprint data is provided. Taking the method applied to the terminal 110 in FIG. 1 as an example for description, the method includes the following steps:
步骤210,获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的一种信息。Step 210: Obtain a first voiceprint collected by a first application, and obtain valid device identification information corresponding to the first application locally, where the valid device identification information is based on the universally unique identification information of the device where the first application is located Generated with the application information of the first application, the universal unique identification information of the device includes one of a device serial number or a mobile device identification code.
其中,第一应用可以是设备上系统自带的应用,也可以是通过下载安装的应用,第一应用的类型不限,可以是登录应用、支付应用、社交应用、游戏应用等。第一应用可以是主应用内的一个或多个子应用,各个子应用依附于主应用运行,通过主应用的页面进入子应用。Among them, the first application may be an application that comes with the system on the device, or may be an application installed by downloading. The type of the first application is not limited, and may be a login application, a payment application, a social application, a game application, and so on. The first application may be one or more sub-applications in the main application, and each sub-application is attached to the main application to run and enter the sub-application through the main application's page.
具体地,可以从各个应用对应的存储空间中获取各个应用对应的有效设备标识信息,这个存储空间在应用卸载后仍然存在,如果卸载后再次安装,则此存储空间之前存储的此应用的应用数据仍然可以使用。目标存储空间中的数据可以以键值对key-value的形式进行存储。在一个实施例中,key是编辑的一个唯一的名字,例如:key=voice:print:username,value是应用对应的有效设备标识信息。Specifically, the valid device identification information corresponding to each application can be obtained from the storage space corresponding to each application. This storage space still exists after the application is uninstalled. If it is installed again after uninstallation, the application data of this application previously stored in this storage space It can still be used. The data in the target storage space can be stored in the form of key-value pairs. In one embodiment, the key is a unique name for editing, for example: key=voice:print:username, and the value is the valid device identification information corresponding to the application.
声纹是指语音信号的声波频谱,声纹具有特定性和稳定性,通过声纹识别,可以进行检测用户身份。可以将采集的声音数据通过声纹特征提取模型,提取得到声纹特征,从而根据声纹特征得到第一声纹。声纹特征可以包括:声学特征、词法特征、韵律特征、语种、方言和口音信息、通道信息等。Voiceprint refers to the sound wave spectrum of a voice signal. Voiceprint has specificity and stability. Through voiceprint recognition, user identity can be detected. The collected voice data can be extracted through the voiceprint feature extraction model to obtain the voiceprint feature, so as to obtain the first voiceprint according to the voiceprint feature. Voiceprint features can include: acoustic features, morphological features, prosodic features, language, dialect and accent information, channel information, etc.
设备的序列号是由设备给出的唯一的序列号,某些设备上会返回垃圾数据,所以当设备上不能返回正常的序列号时,会采用移动设备识别码,移动设备识别码包括IMEI(International Mobile Equipment Identity,国际移动设备识别码)号,由GSM(Global System for Mobile Communications,全球移动通信系统)设备返回,重装应用不会改变,需用户授予权限。MEID(Mobile Equipment Identifier,移动设备识别码)/ESN(Electronic Serial Number,电子序列号)号由CDMA(Code Division Multiple Access,码分多址)设备返回,通常设备同时支持GSM和CDMA,则IMEI号和MEID/ESN号可同时参与生成有效设备标识信息。当提取序列号后返回垃圾数据时,应用会向用户申请打开设备的“read_phone_state”权限,拥有此权限后即可提取设备的IMEI号和MEID/ESN号。The serial number of the device is the unique serial number given by the device. Some devices will return junk data. Therefore, when the normal serial number cannot be returned on the device, the mobile device identification code will be used. The mobile device identification code includes IMEI ( International Mobile Equipment Identity, international mobile equipment identification code) number, by GSM (Global System for Mobile Communications (Global System for Mobile Communications) device returns, reinstallation of the application will not change, the user must grant permission. The MEID (Mobile Equipment Identifier)/ESN (Electronic Serial Number) number is returned by the CDMA (Code Division Multiple Access) device. Usually the device supports both GSM and CDMA, the IMEI number And MEID/ESN number can participate in generating effective equipment identification information at the same time. When the junk data is returned after extracting the serial number, the application will apply to the user for the "read_phone_state" permission to open the device. After having this permission, the IMEI number and MEID/ESN number of the device can be extracted.
设备通用唯一标识信息是由设备自带的系统生成,设备通用唯一标识码可以保证分布式系统中所有元素都具有唯一的辨识信息,但可能存在2个相同的设备通用唯一标识信息。有效设备标识信息的值是唯一的,由于有效设备标识信息通过设备通用唯一标识信息和第一应用的应用信息生成进一步保证了唯一性。第一应用的应用信息是应用独有的信息,可以是应用标识信息、应用操作信息等或将多种不同类型的应用信息进行组合得到。The device's universal unique identification information is generated by the device's own system. The device's universal unique identification code can ensure that all elements in the distributed system have unique identification information, but there may be two identical device universal unique identification information. The value of the valid device identification information is unique, because the valid device identification information is generated by the universal unique identification information of the device and the application information of the first application to further ensure uniqueness. The application information of the first application is information unique to the application, and may be application identification information, application operation information, etc., or a combination of multiple different types of application information.
在一个实施例中,有效设备标识信息包括标识位信息,标识位信息用于标识设备通用唯一标识信息的信息类别。In one embodiment, the valid device identification information includes identification bit information, and the identification bit information is used to identify the information category of the universally unique identification information of the device.
在一个实施例中,还根据作用于第一应用的历史操作信息生成有效设备标识信息。历史操作信息包括时间操作信息、空间操作信息、设备空间状态中的至少一种信息。时间操作信息包括当前操作时间,可以将系统时间转换为时间戳Timestamp,空间操作信息包括地理位置信息,可以通过“世界各国和地区名称代码”和“全国地区代码表”将地理位置信息转换为地区编码Location。设备空间状态可以是设备的当前空间位置,包括倾斜角度,运动速度可通过陀螺仪采集得到。历史操作信息还可以包括操作对象信息,如操作应用的用户标识等。可以将多种不同类型历史操作信息和设备通用唯一标识码组合用于生成有效设备标识信息。In an embodiment, valid device identification information is also generated according to historical operation information acting on the first application. The historical operation information includes at least one of time operation information, space operation information, and equipment space status. Time operation information includes current operation time, system time can be converted to Timestamp, spatial operation information includes geographic location information, and geographic location information can be converted to region through "World and Region Name Code" and "National Region Code Table" Code Location. The space state of the device can be the current space position of the device, including the tilt angle, and the movement speed can be collected by the gyroscope. The historical operation information may also include operation object information, such as the user ID of the operation application. Multiple different types of historical operation information and device universal unique identification codes can be combined to generate valid device identification information.
各个不同的应用即使属于同一个设备,但由于应用信息不同,不同的应用具有不同的唯一的有效设备标识信息。Even if different applications belong to the same device, different applications have different unique valid device identification information due to different application information.
步骤220,发送声纹验证请求至服务器,声纹验证请求包括有效设备标识信息和所述第一声纹,以使服务器根据有效设备标识信息获取第一应用对应的标准声纹,验证标准声纹与第一声纹的一致性得到验证结果。Step 220: Send a voiceprint verification request to the server. The voiceprint verification request includes valid device identification information and the first voiceprint, so that the server obtains the standard voiceprint corresponding to the first application according to the valid device identification information, and verifies the standard voiceprint The consistency with the first voiceprint is verified.
具体地,声纹验证请求用于验证当前采集的声纹与历史绑定的声纹是否一致,如果一致则说明用户身份通过验证,可以对第一应用执行对应的操作。如果验证不通过,则说明用户身份验证失败,不存在对第一应用的操作权限。为了获取与此设备此应用对应的标准声纹,需要发送此设备此应用对应的有效设备标识信息至服务器以获取对应的标准声纹。由于有效设备标识信息是唯一的,所以可唯一确定对应的标准声纹,有效避免多个不同的设备不同的应用存在相同的设备标识信息获取到错误的标准声纹,导致验证结果不准确的问题,且由于有效设备标识信息的唯一性,服务器只需要存储有效设备标识信息与标准声纹的关联关系,便可对不同的设备进行区分,对不同设备上的相同应用也能进行区分,对相同设备上不同的应用也能进行区分,提高了声纹验证的准确性,保证了声纹信息管理的有效性。Specifically, the voiceprint verification request is used to verify whether the currently collected voiceprint is consistent with the historically bound voiceprint. If they are consistent, it means that the user's identity has been verified and the corresponding operation can be performed on the first application. If the verification fails, it means that the user identity verification has failed, and there is no operating authority for the first application. In order to obtain the standard voiceprint corresponding to this application of this device, it is necessary to send the valid device identification information corresponding to this application of this device to the server to obtain the corresponding standard voiceprint. Since the valid device identification information is unique, the corresponding standard voiceprint can be uniquely determined, effectively avoiding the problem of incorrect standard voiceprint obtained by the same device identification information in different applications of multiple different devices, resulting in inaccurate verification results , And because of the uniqueness of the effective device identification information, the server only needs to store the association relationship between the effective device identification information and the standard voiceprint, so that different devices can be distinguished, and the same applications on different devices can also be distinguished. Different applications on the device can also be distinguished, which improves the accuracy of voiceprint verification and ensures the effectiveness of voiceprint information management.
步骤230,接收所服务器返回的验证结果,根据验证结果执行对应的操作。Step 230: Receive the verification result returned by the server, and perform a corresponding operation according to the verification result.
具体地,如果验证成功,则可对第一应用执行对应的操作。当需要对应用的不同页面不同功能进行操作时,可一次性发送一个或多个声纹验证请求至服务器,如果多个不同的应用操作指令验证时采用同一声纹,则声纹验证请求只需包括同一个采集声纹,如果不同的应用操作指令验证时采用不同的声纹,则声纹验证请求可包括多个第一声纹,与各个应用操作指令相对应,得到多个与应用操作指令对应的不同验证结果,只有验证结果为验证通过的操作指令的操作才能执行。在这种情况下,需要保证同一个设备每个不同的操作指令都存在相应的标准声纹。Specifically, if the verification is successful, the corresponding operation can be performed on the first application. When you need to operate different functions on different pages of the application, you can send one or more voiceprint verification requests to the server at a time. If the same voiceprint is used for verification of multiple different application operation instructions, the voiceprint verification request only needs to be Including the same collected voiceprint, if different voiceprints are used for verification of different application operation instructions, the voiceprint verification request can include multiple first voiceprints, corresponding to each application operation instruction, and multiple application operation instructions are obtained Corresponding to different verification results, only the operation whose verification result is a verified operation instruction can be executed. In this case, it is necessary to ensure that there is a corresponding standard voiceprint for each different operation command of the same device.
本实施例中,通过从本地获取第一应用对应的有效设备标识信息,有效设备标识信息是第一应用所在设备的设备通用唯一标识信息和第一应用的应用信息生成,服务器根据有效设备标识信息获取对应的标准声纹,由于有效设备标识信息针对不同的设备不同的应用是唯一的,从而保证了标准声纹在不同设备上获取的准确性,验证标准声纹与第一声纹的一致性得到验证结果,从而提高了声纹验证的准确性,保证了根据声纹验证结果执行对应的操作的操作权限的准确性。In this embodiment, the valid device identification information corresponding to the first application is obtained locally. The valid device identification information is generated by the device universally unique identification information of the device where the first application is located and the application information of the first application, and the server is generated according to the valid device identification information Obtain the corresponding standard voiceprint, because the effective device identification information is unique for different devices and different applications, thus ensuring the accuracy of obtaining the standard voiceprint on different devices, and verifying the consistency of the standard voiceprint and the first voiceprint The verification result is obtained, thereby improving the accuracy of the voiceprint verification and ensuring the accuracy of the operation authority for performing the corresponding operation according to the voiceprint verification result.
在一个实施例中,方法还包括:获取作用于第一应用的操作指令;通过第一应用采集与第一应用对应的标准声纹;获取第一应用所在设备的设备通用唯一标识信息,根据设备通用唯一标识信息和第一应用的应用信息生成第一应用对应的当前设备标识信息;当本地不存在第一应用对应的有效设备标识信息时,将当前设备标识信息作为第一应用对应的有效设备标识信息存储至本地,发送有效设备标识信息、标准声纹至服务器,以使服务器存储有效设备标识信息和标准声纹的关联关系。In one embodiment, the method further includes: obtaining an operation instruction acting on the first application; collecting the standard voiceprint corresponding to the first application through the first application; obtaining the universally unique identification information of the device where the first application is located, according to the device The universally unique identification information and the application information of the first application generate the current device identification information corresponding to the first application; when there is no valid device identification information corresponding to the first application locally, the current device identification information is used as the valid device corresponding to the first application The identification information is stored locally, and the valid device identification information and the standard voiceprint are sent to the server, so that the server stores the association relationship between the effective device identification information and the standard voiceprint.
其中,操作指令用于对第一应用执行对应的操作,可以为安装操作指令、启动操作指令、登录操作指令、加好友操作指令、支付操作指令等。可以理解的是,操作指令可以为一种或多种,但只要本地己经存在有效设备标识信息了,则后续再获取操作指令也无需再次生成当前设备标识信息了,同一个设备同一个应用的各种需要验证声纹的操作都共享同一个标准声纹。The operation instruction is used to perform a corresponding operation on the first application, and may be an installation operation instruction, a startup operation instruction, a login operation instruction, an add friend operation instruction, a payment operation instruction, and the like. It is understandable that there can be one or more operation instructions, but as long as valid device identification information already exists locally, there is no need to regenerate the current device identification information for subsequent acquisitions of the operation instructions. The same device has the same application. Various operations that require voiceprint verification share the same standard voiceprint.
具体地,标准声纹可以是设备所有者的用户的声纹,只有与标准声纹匹配的用户才具有对设备上的应用操作的权限。由于即使同一个设备不同的应用生成的有效设备标识信息也不同,则可针对不同的应用设置不同的标准声纹。将生成的各个应用对应的有效设备标识信息存储至各个应用对应的本地私有存储空间,从而保证各个应用对应的有效设备标识信息后续获取的便利性与准确性,且通过在服务器预先存储所述有效设备标识信息和标准声纹的关联关系便于后续进行声纹验证。Specifically, the standard voiceprint may be the voiceprint of the user of the device owner, and only users who match the standard voiceprint have the authority to operate applications on the device. Since the effective device identification information generated by different applications of the same device is different, different standard voiceprints can be set for different applications. The generated valid device identification information corresponding to each application is stored in the local private storage space corresponding to each application, so as to ensure the convenience and accuracy of subsequent acquisition of the valid device identification information corresponding to each application. The association between the device identification information and the standard voiceprint facilitates subsequent voiceprint verification.
在一个实施例中,服务器对该设备用户进行声纹存储时,为有效设备标识信息设置一个标志位,若标志位置“1”,则表示针对本设备在生成有效设备标识信息时使用了序列号SerialNumber;若标志位置“0”,则表示本设备在生成有效设备标识信息时使用了IMEI号或MEID/ESN号。In one embodiment, when the server stores the voiceprint of the device user, it sets a flag bit for the effective device identification information. If the flag position is "1", it means that the serial number is used when generating the effective device identification information for the device. SerialNumber; if the flag position is "0", it means that the device used the IMEI number or MEID/ESN number when generating valid device identification information.
在一个实施例中,获取作用于所述第一应用的操作指令,通过所述第一应用采集与所述第一应用对应的标准声纹,获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息包括:获取首次启动第一应用的应用启动指令;根据应用启动指令获取第一应用所在设备的设备序列号,当设备序列号为正常数据时,将设备序列号和第一应用的应用信息组合生成第一应用对应的当前设备标识信息;当设备序列号为异常数据时,获取第一应用所在设备的移动设备识别码,将移动设备识别码和第一应用的应用信息组合生成第一应用对应的当前设备标识信息。In one embodiment, the operation instruction acting on the first application is acquired, the standard voiceprint corresponding to the first application is collected through the first application, and the universal unique identifier of the device where the first application is located is acquired Information, generating the current device identification information corresponding to the first application according to the universally unique identification information of the device and the application information of the first application includes: acquiring an application startup instruction for starting the first application for the first time; acquiring the first application according to the application startup instruction 1. The device serial number of the device where the application is located. When the device serial number is normal data, the device serial number and the application information of the first application are combined to generate the current device identification information corresponding to the first application; when the device serial number is abnormal data, The mobile device identification code of the device where the first application is located is obtained, and the mobile device identification code and the application information of the first application are combined to generate current device identification information corresponding to the first application.
具体地,可通过系统自带的“android.os.Build.SERIAL”代码获取设备序列号SerialNumber,由于此接口不区分设备是移动手机,还是平板电脑等其他类型设备,故应用可以通过读取设备序列号作为设备的主要标识。但在某些手机上使用此方法会返回垃圾数据,无法标识设备,此时可以配合使用IMEI号和MEID/ESN号进行辅助,这三个标识可同时满足GSM设备和CDMA设备要求,不会因为设备型号不支持而导致获取失败。于是当提取序列号后返回垃圾数据时,应用会向用户申请打开设备的“read_phone_state”权限,拥有此权限后即可提取设备的移动设备识别码,即IMEI号和/或MEID/ESN号。Specifically, the device serial number SerialNumber can be obtained through the "android.os.Build.SERIAL" code that comes with the system. Since this interface does not distinguish whether the device is a mobile phone or a tablet or other types of devices, the application can read the device The serial number serves as the main identification of the device. However, using this method on some mobile phones will return junk data and cannot identify the device. At this time, you can use the IMEI number and MEID/ESN number for assistance. These three identifications can meet the requirements of GSM equipment and CDMA equipment at the same time. The device model is not supported and the acquisition fails. So when the junk data is returned after extracting the serial number, the application will apply to the user for the "read_phone_state" permission to open the device. With this permission, the mobile device identification code of the device, namely the IMEI number and/or MEID/ESN number can be extracted.
在一个实施例中,当使用设备序列号时,设置当前设备标识信息的标识位信息为第一值;当使用移动设备识别码时,设置当前设备标识信息的标识位信息为第二值。如果使用设备序列号,则可设置标识位信息为1,如果使用移动设备识别码,则可设置标识位信息为0。In one embodiment, when the device serial number is used, the identification bit information of the current device identification information is set to the first value; when the mobile device identification code is used, the identification bit information of the current device identification information is set to the second value. If the device serial number is used, the identification information can be set to 1, and if the mobile device identification code is used, the identification information can be set to 0.
在一个实施例中,将当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地:生成随机前缀和随机后缀,将随机前缀、当前设备标识信息、随机后缀按顺序组合生成处理设备标识信息。将处理设备标识信息加密得到加密设备标识信息,将加密设备标识信息作为第一应用对应的有效设备标识信息存储至本地。In one embodiment, the current device identification information is stored locally as the valid device identification information corresponding to the first application: a random prefix and a random suffix are generated, and the random prefix, current device identification information, and random suffix are combined in order to generate processing Device identification information. The processing device identification information is encrypted to obtain the encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
具体地,通过上述方法生成的当前设备标识信息,经过组合降低了标识的可识别性,但对当前设备标识信息的加密也极为重要。使用生成随机数字方法为当前设备标识信息增加随机前缀和随机后缀得到处理设备标识信息,再采取加密算法,如base62进行编码得到加密设备标识信息,可以大大增加标识码的安全性,保证不会轻易被攻击者破解。在一个实施例中,在第一应用第一次启动时,将组合加密生成的标识码存储本地,以此作为设备对应于第一应用的唯一标识,同时将该值传回给服务器端与标准声纹进行存储。之后要进行设备标识匹配时,只需检查设备的本地中第一应用对应的空间是否有存储数值,若已存储则直接取出值进行匹配工作,获取对应的标准声纹,若没有存储则代表匹配失败并将此次生成的值进行存储。Specifically, the current device identification information generated by the above method reduces the recognizability of the identification through combination, but the encryption of the current device identification information is also extremely important. Use the method of generating random numbers to add a random prefix and a random suffix to the current device identification information to obtain the processing device identification information, and then adopt an encryption algorithm, such as base62 to encode the encrypted device identification information, which can greatly increase the security of the identification code and ensure that it will not be easily Cracked by the attacker. In one embodiment, when the first application is started for the first time, the identification code generated by the combined encryption is stored locally as the unique identification of the device corresponding to the first application, and the value is transmitted back to the server and the standard at the same time. Voiceprint is stored. When you want to match the device identification later, you only need to check whether there is a stored value in the space corresponding to the first application in the device's local area. If it has been stored, the value is directly taken out for matching work, and the corresponding standard voiceprint is obtained. If there is no storage, it means a match. Fail and store the value generated this time.
在一个实施例中,方法还包括:获取当前操作指令类型,当当前操作指令类型在本地中不存在对应的有效设备标识信息时,根据当前操作指令类型和所述当前设备标识信息生成当前操作指令类型对应的有效设备标识信息在本地存储,发送当前操作指令类型对应的有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述当前操作指令类型对应的有效设备标识信息、标准声纹的关联关系。获取作用于第一应用的第一操作指令,确定第一操作指令对应的第一操作指令类型;获取第一操作指令类型对应的目标有效设备标识信息;声纹验证请求包括目标有效设备标识信息、第一声纹,以使服务器根据目标有效设备标识信息获取与第一操作指令类型匹配的目标标准声纹,验证目标标准声纹与第一声纹的一致性得到第一操作指令对应的验证结果。In one embodiment, the method further includes: obtaining the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, generating the current operation instruction according to the current operation instruction type and the current device identification information The effective device identification information corresponding to the type of operation is stored locally, and the effective device identification information and standard voiceprint corresponding to the current operation instruction type are sent to the server so that the server stores the effective device identification information and standard voice corresponding to the current operation instruction type. The relationship between patterns. Obtain the first operation instruction acting on the first application, determine the first operation instruction type corresponding to the first operation instruction; obtain the target valid device identification information corresponding to the first operation instruction type; the voiceprint verification request includes the target valid device identification information, The first voiceprint, so that the server obtains the target standard voiceprint matching the first operation instruction type according to the target effective device identification information, and verifies the consistency of the target standard voiceprint with the first voiceprint to obtain the verification result corresponding to the first operation instruction .
具体地,可以根据操作指令的功能,将相同功能的操作指令作为同一类型的操作指令,如支付类型操作指令、登录类型操作指令、加好友类型操作指令,不同类型的操作指令具有不同级别的优先级与安全性,可以由不同级别身份的用户的声纹进行验证。如支付类型要求更高级别的优先级,则由身份级别高的用户的声纹进行验证。根据当前操作指令类型和当前设备标识信息生成当前操作指令类型对应的有效设备标识信息,从而可以根据不同的操作指令类型,获取对应的不同的有效设备标识信息,同一应用不同类型的操作指令对应不同的有效设备标识信息,从而可以通过有效设备标识信息从服务器获取目标应用目标操作指令类型对应的标准声纹,使得同一应用不同类型的操作指令具有不同的标准声纹,通过不同的用户身份进行验证。由于有效设备标识信息生成的唯一性,保证了标准声纹获取的准确性。Specifically, according to the function of the operation instruction, the operation instruction of the same function can be regarded as the same type of operation instruction, such as payment type operation instruction, login type operation instruction, and friend type operation instruction. Different types of operation instructions have different levels of priority. Level and security can be verified by the voiceprints of users with different levels of identity. If the payment type requires a higher level of priority, it will be verified by the voiceprint of the user with a higher level of identity. According to the current operation instruction type and the current device identification information, the effective device identification information corresponding to the current operation instruction type is generated, so that according to different operation instruction types, the corresponding different effective device identification information can be obtained. Different types of operation instructions of the same application correspond to different Valid device identification information, so that the standard voiceprint corresponding to the target operation instruction type of the target application can be obtained from the server through the effective device identification information, so that different types of operation instructions of the same application have different standard voiceprints, which can be verified by different user identities . Due to the uniqueness of the effective device identification information generation, the accuracy of the standard voiceprint acquisition is guaranteed.
在一个实施例中,验证结果包括多个不同操作指令对应的验证结果,步骤230包括:获取验证结果为通过的操作指令作为目标执行操作指令,根据各个目标执行操作指令执行作用于第一应用的目标操作,目标操作包括登录操作、支付操作、信息修改操作中的至少一种。In one embodiment, the verification result includes verification results corresponding to a plurality of different operation instructions, and step 230 includes: obtaining the operation instruction whose verification result is passed as the target execution operation instruction, and execute the operation instruction that acts on the first application according to each target. The target operation, the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
具体地,由于不同类型的指令可以通过不同身份的用户进行验证,从而也可能对应不同的验证结果,只有验证结果为通过的操作指令才能执行对应的操作,且一次性可并行验证多个操作指令的操作权限,通过携带与操作指令对应的声纹的声纹验证请求进行并行验证,提高了声纹验证的效率和权限分发的便利性。Specifically, because different types of instructions can be verified by users with different identities, they may also correspond to different verification results. Only the operation instructions that pass the verification result can execute the corresponding operation, and multiple operation instructions can be verified in parallel at one time The operation authority of the operation authority is verified in parallel by the voiceprint verification request carrying the voiceprint corresponding to the operation instruction, which improves the efficiency of voiceprint verification and the convenience of authority distribution.
应该理解的是,虽然图2的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various steps in the flowchart of FIG. 2 are displayed in sequence as indicated by the arrows, these steps are not necessarily performed in sequence in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least part of the steps in FIG. 2 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution of these sub-steps or stages The sequence is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
在一个实施例中,如图3所示,提供了一种声纹数据处理装置,包括:获取模块310、发送模块320、执行模块330,其中:In one embodiment, as shown in FIG. 3, a voiceprint data processing device is provided, including: an acquisition module 310, a sending module 320, and an execution module 330, wherein:
获取模块310,用于获取第一应用采集的第一声纹,从本地获取第一应用对应的有效设备标识信息,有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和第一应用的应用信息生成的,设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息。The acquiring module 310 is configured to acquire the first voiceprint collected by the first application, and locally acquire valid device identification information corresponding to the first application. The valid device identification information is based on the universally unique identification information of the device where the first application is located and When the application information of the first application is generated, the universally unique identification information of the device includes at least one of a device serial number or a mobile device identification code.
发送模块320,用于发送声纹验证请求至服务器,声纹验证请求包括有效设备标识信息和所述第一声纹,以使服务器根据所述有效设备标识信息获取第一应用对应的标准声纹,验证标准声纹与第一声纹的一致性得到验证结果。The sending module 320 is configured to send a voiceprint verification request to the server. The voiceprint verification request includes valid device identification information and the first voiceprint, so that the server can obtain the standard voiceprint corresponding to the first application according to the valid device identification information. , Verify the consistency of the standard voiceprint and the first voiceprint to get the verification result.
执行模块330,用于接收服务器返回的验证结果,根据验证结果执行对应的操作。The execution module 330 is configured to receive the verification result returned by the server, and execute corresponding operations according to the verification result.
在一个实施例中,装置还包括:In one embodiment, the device further includes:
第一预处理模块340,用于获取作用于所述第一应用的操作指令,通过所述第一应用采集与所述第一应用对应的标准声纹,获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息;当所述本地不存在所述第一应用对应的有效设备标识信息时,将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地,发送所述有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述有效设备标识信息和所述标准声纹的关联关系。The first pre-processing module 340 is configured to obtain operation instructions acting on the first application, collect standard voiceprints corresponding to the first application through the first application, and obtain the device of the device where the first application is located Universally unique identification information, based on the universally unique identification information of the device and the application information of the first application to generate the current device identification information corresponding to the first application; when there is no valid device corresponding to the first application locally When identifying information, the current device identification information is stored locally as the effective device identification information corresponding to the first application, and the effective device identification information and the standard voiceprint are sent to the server, so that the server stores the effective device identification information. The association relationship between the device identification information and the standard voiceprint.
在一个实施例中,第一预处理模块340还用于获取首次启动所述第一应用的应用启动指令;根据所述应用启动指令获取所述第一应用所在设备的设备序列号,当所述设备序列号为正常数据时,将所述设备序列号和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息;当所述设备序列号为异常数据时,获取所述第一应用所在设备的移动设备识别码,将所述移动设备识别码和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息。In one embodiment, the first preprocessing module 340 is further configured to obtain an application start instruction for starting the first application for the first time; obtain the device serial number of the device where the first application is located according to the application start instruction, and when the When the device serial number is normal data, the device serial number and the application information of the first application are combined to generate the current device identification information corresponding to the first application; when the device serial number is abnormal data, all data are acquired. The mobile device identification code of the device where the first application is located, and the mobile device identification code and the application information of the first application are combined to generate current device identification information corresponding to the first application.
在一个实施例中,第一预处理模块340还用于生成随机前缀和随机后缀,将所述随机前缀、当前设备标识信息、随机后缀按顺序组合生成处理设备标识信息;将所述处理设备标识信息加密得到加密设备标识信息,将所述加密设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地。In one embodiment, the first preprocessing module 340 is further configured to generate a random prefix and a random suffix, and combine the random prefix, current device identification information, and random suffix in order to generate processing device identification information; The information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
在一个实施例中,装置还包括:In one embodiment, the device further includes:
第二预处理模块350,用于获取当前操作指令类型,当所述当前操作指令类型在本地中不存在对应的有效设备标识信息时,根据所述当前操作指令类型和所述当前设备标识信息生成所述当前操作指令类型对应的有效设备标识信息在本地存储,发送所述当前操作指令类型对应的有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述当前操作指令类型对应的有效设备标识信息、标准声纹的关联关系;The second preprocessing module 350 is configured to obtain the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, generate it according to the current operation instruction type and the current device identification information The effective device identification information corresponding to the current operation instruction type is stored locally, and the effective device identification information corresponding to the current operation instruction type and the standard voiceprint are sent to the server, so that the server stores the information corresponding to the current operation instruction type. The correlation between valid device identification information and standard voiceprint;
处理模块360,用于获取作用于第一应用的第一操作指令,确定所述第一操作指令对应的第一操作指令类型;获取所述第一操作指令类型对应的目标有效设备标识信息;所述声纹验证请求包括所述目标有效设备标识信息、所述第一声纹,以使所述服务器根据所述目标有效设备标识信息获取与所述第一操作指令类型匹配的目标标准声纹,验证所述目标标准声纹与所述第一声纹的一致性得到所述第一操作指令对应的验证结果。The processing module 360 is configured to obtain a first operation instruction acting on the first application, determine the first operation instruction type corresponding to the first operation instruction; obtain the target effective device identification information corresponding to the first operation instruction type; The voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains the target standard voiceprint that matches the first operation instruction type according to the target effective device identification information, The consistency between the target standard voiceprint and the first voiceprint is verified to obtain a verification result corresponding to the first operation instruction.
在一个实施例中,验证结果包括多个不同操作指令对应的验证结果,执行模块330还用于获取验证结果为通过的操作指令作为目标执行操作指令;根据各个目标执行操作指令执行作用于所述第一应用的目标操作,目标操作包括登录操作、支付操作、信息修改操作中的至少一种。In one embodiment, the verification result includes a plurality of verification results corresponding to different operation instructions, and the execution module 330 is further configured to obtain the operation instruction whose verification result is passed as the target execution operation instruction; execute the operation instruction according to each target and execute the execution effect on the operation instruction. The target operation of the first application, the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
关于声纹数据处理装置的具体限定可以参见上文中对于声纹数据处理方法的限定,在此不再赘述。上述声纹数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the voiceprint data processing device, please refer to the above limitation on the voiceprint data processing method, which will not be repeated here. Each module in the aforementioned voiceprint data processing device can be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图4所示,该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、输入装置和显示屏。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机程序,该计算机程序被处理器执行时,可使得处理器执行一种声纹数据处理方法。该内存储器中也可储存有计算机程序,该计算机程序被处理器执行时,可使得处理器执行数据处理方法。计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided. The computer device may be a terminal. The internal structure diagram of the computer device may be as shown in FIG. 4. The computer device includes a processor, a memory, a network interface, and an input device connected by a system bus. And display. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can make the processor execute a voiceprint data processing method. A computer program may also be stored in the internal memory, and when the computer program is executed by the processor, the processor can execute the data processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen. It can be an external keyboard, touchpad, or mouse.
本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 4 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented: obtain the first voiceprint collected by the first application, and obtain the first voiceprint from the local Acquire valid device identification information corresponding to the first application, the valid device identification information is generated based on the universally unique identification information of the device where the first application is located and the application information of the first application, and the device is universal The unique identification information includes at least one of the device serial number or the mobile device identification code; a voiceprint verification request is sent to the server, and the voiceprint verification request includes the valid device identification information and the first voiceprint, so that The server obtains the standard voiceprint corresponding to the first application according to the valid device identification information, verifies the consistency of the standard voiceprint and the first voiceprint to obtain a verification result; and receives the verification result returned by the server The verification result, and the corresponding operation is performed according to the verification result.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取作用于所述第一应用的操作指令;通过所述第一应用采集与所述第一应用对应的标准声纹;获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息;当所述本地不存在所述第一应用对应的有效设备标识信息时,将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地,发送所述有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述有效设备标识信息和所述标准声纹的关联关系。In one embodiment, the processor further implements the following steps when executing the computer program: acquiring the operating instructions acting on the first application; acquiring the standard voiceprint corresponding to the first application through the first application; acquiring all According to the device universal unique identification information of the device where the first application is located, the current device identification information corresponding to the first application is generated based on the device universal unique identification information and the application information of the first application; When the effective device identification information corresponding to the first application is described, the current device identification information is stored locally as the effective device identification information corresponding to the first application, and the effective device identification information and standard voiceprint are sent to the server to Enabling the server to store the association relationship between the valid device identification information and the standard voiceprint.
在一个实施例中,所述获取作用于所述第一应用的操作指令,通过所述第一应用采集与所述第一应用对应的标准声纹,获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息包括:获取首次启动所述第一应用的应用启动指令;根据所述应用启动指令获取所述第一应用所在设备的设备序列号,当所述设备序列号为正常数据时,将所述设备序列号和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息;当所述设备序列号为异常数据时,获取所述第一应用所在设备的移动设备识别码,将所述移动设备识别码和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息。In one embodiment, the obtaining operation instructions acting on the first application, collecting the standard voiceprint corresponding to the first application through the first application, and obtaining the device common to the device where the first application is located The unique identification information. Generating the current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application includes: acquiring an application startup instruction for starting the first application for the first time; The application start instruction acquires the device serial number of the device where the first application is located, and when the device serial number is normal data, the device serial number and the application information of the first application are combined to generate the first application Corresponding current device identification information; when the device serial number is abnormal data, obtain the mobile device identification code of the device where the first application is located, and combine the mobile device identification code and the application information of the first application to generate The current device identification information corresponding to the first application.
在一个实施例中,所述将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地包括:生成随机前缀和随机后缀,将所述随机前缀、当前设备标识信息、随机后缀按顺序组合生成处理设备标识信息;将所述处理设备标识信息加密得到加密设备标识信息,将所述加密设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地。In one embodiment, the storing the current device identification information as valid device identification information corresponding to the first application locally includes: generating a random prefix and a random suffix, and storing the random prefix, the current device identification information, Random suffixes are combined in order to generate processing device identification information; the processing device identification information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
在一个实施例中,处理器执行计算机程序时还实现以下步骤:获取当前操作指令类型,当所述当前操作指令类型在本地中不存在对应的有效设备标识信息时,根据所述当前操作指令类型和所述当前设备标识信息生成所述当前操作指令类型对应的有效设备标识信息在本地存储,发送所述当前操作指令类型对应的有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述当前操作指令类型对应的有效设备标识信息、标准声纹的关联关系;获取作用于第一应用的第一操作指令,确定所述第一操作指令对应的第一操作指令类型;获取所述第一操作指令类型对应的目标有效设备标识信息;所述声纹验证请求包括所述目标有效设备标识信息、所述第一声纹,以使所述服务器根据所述目标有效设备标识信息获取与所述第一操作指令类型匹配的目标标准声纹,验证所述目标标准声纹与所述第一声纹的一致性得到所述第一操作指令对应的验证结果。In one embodiment, the processor further implements the following steps when executing the computer program: acquiring the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, according to the current operation instruction type The effective device identification information corresponding to the current operation instruction type is generated and stored locally by the current device identification information, and the effective device identification information corresponding to the current operation instruction type and the standard voiceprint are sent to the server, so that the server stores The association relationship between the valid device identification information and the standard voiceprint corresponding to the current operation instruction type; obtain the first operation instruction acting on the first application, determine the first operation instruction type corresponding to the first operation instruction; obtain the The target effective device identification information corresponding to the first operation instruction type; the voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains and The target standard voiceprint matching the type of the first operation instruction is verified to be consistent with the first voiceprint to obtain a verification result corresponding to the first operation instruction.
在一个实施例中,验证结果包括多个不同操作指令对应的验证结果,所述接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作,包括:获取验证结果为通过的操作指令作为目标执行操作指令;根据各个目标执行操作指令执行作用于所述第一应用的目标操作,所述目标操作包括登录操作、支付操作、信息修改操作中的至少一种。In one embodiment, the verification result includes verification results corresponding to a plurality of different operation instructions, the receiving the verification result returned by the server, and executing the corresponding operation according to the verification result includes: obtaining the verification result as passed The operation instruction is used as a target execution operation instruction; the target operation that acts on the first application is executed according to each target execution operation instruction, and the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
在一个实施例中,提供了一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium may be non-volatile or volatile, and has a computer program stored thereon. When the computer program is executed by a processor, The following steps are implemented: obtain the first voiceprint collected by the first application, and obtain the valid device identification information corresponding to the first application locally, and the valid device identification information is based on the universal unique identifier of the device where the first application is located Information and the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code; a voiceprint verification request is sent to the server, the voiceprint verification request Including the effective device identification information and the first voiceprint, so that the server obtains the standard voiceprint corresponding to the first application according to the effective device identification information, and verifies that the standard voiceprint and the first voiceprint The consistency of the voiceprint obtains a verification result; the verification result returned by the server is received, and the corresponding operation is performed according to the verification result.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:获取作用于所述第一应用的操作指令;通过所述第一应用采集与所述第一应用对应的标准声纹;获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息;当所述本地不存在所述第一应用对应的有效设备标识信息时,将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地,发送所述有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述有效设备标识信息和所述标准声纹的关联关系。In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: obtaining an operation instruction acting on the first application; collecting the standard voiceprint corresponding to the first application through the first application; obtaining The device universal unique identification information of the device where the first application is located, and the current device identification information corresponding to the first application is generated based on the device universal unique identification information and the application information of the first application; when the local does not exist When the valid device identification information corresponding to the first application is stored, the current device identification information is stored locally as the valid device identification information corresponding to the first application, and the valid device identification information and the standard voiceprint are sent to the server, So that the server stores the association relationship between the valid device identification information and the standard voiceprint.
在一个实施例中,所述获取作用于所述第一应用的操作指令,通过所述第一应用采集与所述第一应用对应的标准声纹,获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息包括:获取首次启动所述第一应用的应用启动指令;根据所述应用启动指令获取所述第一应用所在设备的设备序列号,当所述设备序列号为正常数据时,将所述设备序列号和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息;当所述设备序列号为异常数据时,获取所述第一应用所在设备的移动设备识别码,将所述移动设备识别码和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息。In one embodiment, the obtaining operation instructions acting on the first application, collecting the standard voiceprint corresponding to the first application through the first application, and obtaining the device common to the device where the first application is located The unique identification information. Generating the current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application includes: acquiring an application startup instruction for starting the first application for the first time; The application start instruction acquires the device serial number of the device where the first application is located, and when the device serial number is normal data, the device serial number and the application information of the first application are combined to generate the first application Corresponding current device identification information; when the device serial number is abnormal data, obtain the mobile device identification code of the device where the first application is located, and combine the mobile device identification code and the application information of the first application to generate The current device identification information corresponding to the first application.
在一个实施例中,所述将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地包括:生成随机前缀和随机后缀,将所述随机前缀、当前设备标识信息、随机后缀按顺序组合生成处理设备标识信息;将所述处理设备标识信息加密得到加密设备标识信息,将所述加密设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地。In one embodiment, the storing the current device identification information as valid device identification information corresponding to the first application locally includes: generating a random prefix and a random suffix, and storing the random prefix, the current device identification information, Random suffixes are combined in order to generate processing device identification information; the processing device identification information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
在一个实施例中,计算机程序被处理器执行时还实现以下步骤:获取当前操作指令类型,当所述当前操作指令类型在本地中不存在对应的有效设备标识信息时,根据所述当前操作指令类型和所述当前设备标识信息生成所述当前操作指令类型对应的有效设备标识信息在本地存储,发送所述当前操作指令类型对应的有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述当前操作指令类型对应的有效设备标识信息、标准声纹的关联关系;获取作用于第一应用的第一操作指令,确定所述第一操作指令对应的第一操作指令类型;获取所述第一操作指令类型对应的目标有效设备标识信息;所述声纹验证请求包括所述目标有效设备标识信息、所述第一声纹,以使所述服务器根据所述目标有效设备标识信息获取与所述第一操作指令类型匹配的目标标准声纹,验证所述目标标准声纹与所述第一声纹的一致性得到所述第一操作指令对应的验证结果。In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: acquiring the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, according to the current operation instruction The type and the current device identification information generate the valid device identification information corresponding to the current operation instruction type and store it locally, and send the valid device identification information corresponding to the current operation instruction type and the standard voiceprint to the server, so that the server Store the effective device identification information corresponding to the current operation instruction type and the association relationship of the standard voiceprint; obtain the first operation instruction acting on the first application, determine the first operation instruction type corresponding to the first operation instruction; obtain all The target effective device identification information corresponding to the first operation instruction type; the voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains the target effective device identification information A target standard voiceprint matching the type of the first operation instruction is verified to be consistent with the first voiceprint to obtain a verification result corresponding to the first operation instruction.
在一个实施例中,验证结果包括多个不同操作指令对应的验证结果,所述接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作,包括:获取验证结果为通过的操作指令作为目标执行操作指令;根据各个目标执行操作指令执行作用于所述第一应用的目标操作,所述目标操作包括登录操作、支付操作、信息修改操作中的至少一种。In one embodiment, the verification result includes verification results corresponding to a plurality of different operation instructions, the receiving the verification result returned by the server, and executing the corresponding operation according to the verification result includes: obtaining the verification result as passed The operation instruction is used as a target execution operation instruction; the target operation that acts on the first application is executed according to each target execution operation instruction, and the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink) DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a computer readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database, or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种声纹数据处理方法,其中,所述方法包括:A method for processing voiceprint data, wherein the method includes:
    获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;The first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally. The valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
    发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;Send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
    接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。Receiving the verification result returned by the server, and performing a corresponding operation according to the verification result.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    获取作用于所述第一应用的操作指令;Acquiring an operation instruction acting on the first application;
    通过所述第一应用采集与所述第一应用对应的标准声纹;Collecting, through the first application, a standard voiceprint corresponding to the first application;
    获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息;Acquiring device universal unique identification information of the device where the first application is located, and generating current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application;
    当所述本地不存在所述第一应用对应的有效设备标识信息时,将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地,发送所述有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述有效设备标识信息和所述标准声纹的关联关系。When the effective device identification information corresponding to the first application does not exist locally, the current device identification information is stored locally as the effective device identification information corresponding to the first application, and the effective device identification information is sent, The standard voiceprint is sent to a server, so that the server stores the association relationship between the valid device identification information and the standard voiceprint.
  3. 根据权利要求2所述的方法,其中,所述获取作用于所述第一应用的操作指令,通过所述第一应用采集与所述第一应用对应的标准声纹,获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息包括:2. The method according to claim 2, wherein said obtaining operation instructions acting on said first application, collecting standard voiceprints corresponding to said first application through said first application, and obtaining said first application The device universal unique identification information of the device where it is located, and generating the current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application includes:
    获取首次启动所述第一应用的应用启动指令;Acquiring an application start instruction for starting the first application for the first time;
    根据所述应用启动指令获取所述第一应用所在设备的设备序列号,当所述设备序列号为正常数据时,将所述设备序列号和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息;Acquire the device serial number of the device where the first application is located according to the application start instruction, and when the device serial number is normal data, combine the device serial number and the application information of the first application to generate the first application 1. Identification information of the current device corresponding to the application;
    当所述设备序列号为异常数据时,获取所述第一应用所在设备的移动设备识别码,将所述移动设备识别码和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息。When the device serial number is abnormal data, the mobile device identification code of the device where the first application is located is obtained, and the mobile device identification code and the application information of the first application are combined to generate the corresponding Current device identification information.
  4. 根据权利要求2所述的方法,其中,所述将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地包括:The method according to claim 2, wherein said storing the current device identification information as valid device identification information corresponding to the first application locally comprises:
    生成随机前缀和随机后缀,将所述随机前缀、当前设备标识信息、随机后缀按顺序组合生成处理设备标识信息;Generating a random prefix and a random suffix, and combining the random prefix, current device identification information, and random suffix in order to generate processing device identification information;
    将所述处理设备标识信息加密得到加密设备标识信息,将所述加密设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地。The processing device identification information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
  5. 根据权利要求2所述的方法,其中,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    获取当前操作指令类型,当所述当前操作指令类型在本地中不存在对应的有效设备标识信息时,根据所述当前操作指令类型和所述当前设备标识信息生成所述当前操作指令类型对应的有效设备标识信息在本地存储,发送所述当前操作指令类型对应的有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述当前操作指令类型对应的有效设备标识信息、标准声纹的关联关系;Acquire the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, generate the valid corresponding to the current operation instruction type according to the current operation instruction type and the current device identification information The device identification information is stored locally, and the effective device identification information and standard voiceprint corresponding to the current operation instruction type are sent to the server, so that the server stores the effective device identification information and standard voiceprint information corresponding to the current operation instruction type. connection relation;
    获取作用于第一应用的第一操作指令,确定所述第一操作指令对应的第一操作指令类型;Acquiring a first operation instruction acting on the first application, and determining a first operation instruction type corresponding to the first operation instruction;
    获取所述第一操作指令类型对应的目标有效设备标识信息;Acquiring target effective device identification information corresponding to the first operation instruction type;
    所述声纹验证请求包括所述目标有效设备标识信息、所述第一声纹,以使所述服务器根据所述目标有效设备标识信息获取与所述第一操作指令类型匹配的目标标准声纹,验证所述目标标准声纹与所述第一声纹的一致性得到所述第一操作指令对应的验证结果。The voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains the target standard voiceprint matching the first operation instruction type according to the target effective device identification information , Verifying the consistency of the target standard voiceprint and the first voiceprint to obtain a verification result corresponding to the first operation instruction.
  6. 根据权利要求1所述的方法,其中,所述验证结果包括多个不同操作指令对应的验证结果,所述接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作,包括:The method according to claim 1, wherein the verification result includes verification results corresponding to a plurality of different operation instructions, and the receiving the verification result returned by the server, and executing the corresponding operation according to the verification result, comprises :
    获取验证结果为通过的操作指令作为目标执行操作指令;Obtain the operation instruction whose verification result is passed as the target execution operation instruction;
    根据各个目标执行操作指令执行作用于所述第一应用的目标操作,所述目标操作包括登录操作、支付操作、信息修改操作中的至少一种。The target operation acting on the first application is executed according to each target execution operation instruction, and the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
  7. 一种声纹数据处理装置,其中,所述装置包括:A voiceprint data processing device, wherein the device includes:
    获取模块,用于获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;The acquiring module is configured to acquire the first voiceprint collected by the first application, and locally acquire the valid device identification information corresponding to the first application, and the valid device identification information is universally unique according to the device where the first application is located Generated by the identification information and the application information of the first application, the device universally unique identification information includes at least one of a device serial number or a mobile device identification code;
    发送模块,用于发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;The sending module is configured to send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the first voiceprint according to the valid device identification information 1. Apply the corresponding standard voiceprint to verify the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
    执行模块,用于接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。The execution module is configured to receive the verification result returned by the server, and execute corresponding operations according to the verification result.
  8. 根据权利要求7所述的装置,其中,所述装置还包括:The device according to claim 7, wherein the device further comprises:
    第一预处理模块,用于获取作用于所述第一应用的操作指令,通过所述第一应用采集与所述第一应用对应的标准声纹,获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息;当所述本地不存在所述第一应用对应的有效设备标识信息时,将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地,发送所述有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述有效设备标识信息和所述标准声纹的关联关系。The first pre-processing module is used to obtain operation instructions acting on the first application, collect the standard voiceprint corresponding to the first application through the first application, and obtain the device general purpose of the device where the first application is located. Unique identification information, based on the universal unique identification information of the device and the application information of the first application to generate the current device identification information corresponding to the first application; when there is no valid device identification corresponding to the first application locally Information, the current device identification information is stored locally as the effective device identification information corresponding to the first application, and the effective device identification information and the standard voiceprint are sent to the server, so that the server stores the effective device The association relationship between the identification information and the standard voiceprint.
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现声纹数据处理方法;A computer device includes a memory and a processor, the memory stores a computer program, wherein the processor implements a voiceprint data processing method when the computer program is executed;
    其中,所述声纹数据处理方法的步骤包括:Wherein, the steps of the voiceprint data processing method include:
    获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;The first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally. The valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
    发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;Send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
    接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。Receiving the verification result returned by the server, and performing a corresponding operation according to the verification result.
  10. 根据权利要求9所述的计算机设备,其中,所述声纹数据处理方法还包括:The computer device according to claim 9, wherein the voiceprint data processing method further comprises:
    获取作用于所述第一应用的操作指令;Acquiring an operation instruction acting on the first application;
    通过所述第一应用采集与所述第一应用对应的标准声纹;Collecting, through the first application, a standard voiceprint corresponding to the first application;
    获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息;Acquiring device universal unique identification information of the device where the first application is located, and generating current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application;
    当所述本地不存在所述第一应用对应的有效设备标识信息时,将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地,发送所述有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述有效设备标识信息和所述标准声纹的关联关系。When the effective device identification information corresponding to the first application does not exist locally, the current device identification information is stored locally as the effective device identification information corresponding to the first application, and the effective device identification information is sent, The standard voiceprint is sent to a server, so that the server stores the association relationship between the valid device identification information and the standard voiceprint.
  11. 根据权利要求10所述的计算机设备,其中,所述获取作用于所述第一应用的操作指令,通过所述第一应用采集与所述第一应用对应的标准声纹,获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息包括:11. The computer device according to claim 10, wherein said obtaining operation instructions acting on said first application, collecting standard voiceprints corresponding to said first application through said first application, and obtaining said first application The device universal unique identification information of the device where the application is located, and generating the current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application includes:
    获取首次启动所述第一应用的应用启动指令;Acquiring an application start instruction for starting the first application for the first time;
    根据所述应用启动指令获取所述第一应用所在设备的设备序列号,当所述设备序列号为正常数据时,将所述设备序列号和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息;Acquire the device serial number of the device where the first application is located according to the application start instruction, and when the device serial number is normal data, combine the device serial number and the application information of the first application to generate the first application 1. Identification information of the current device corresponding to the application;
    当所述设备序列号为异常数据时,获取所述第一应用所在设备的移动设备识别码,将所述移动设备识别码和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息。When the device serial number is abnormal data, the mobile device identification code of the device where the first application is located is obtained, and the mobile device identification code and the application information of the first application are combined to generate the corresponding Current device identification information.
  12. 根据权利要求10所述的计算机设备,其中,所述将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地包括:The computer device according to claim 10, wherein said storing the current device identification information as valid device identification information corresponding to the first application locally comprises:
    生成随机前缀和随机后缀,将所述随机前缀、当前设备标识信息、随机后缀按顺序组合生成处理设备标识信息;Generating a random prefix and a random suffix, and combining the random prefix, current device identification information, and random suffix in order to generate processing device identification information;
    将所述处理设备标识信息加密得到加密设备标识信息,将所述加密设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地。The processing device identification information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
  13. 根据权利要求10所述的计算机设备,其中,所述声纹数据处理方法还包括:The computer device according to claim 10, wherein the voiceprint data processing method further comprises:
    获取当前操作指令类型,当所述当前操作指令类型在本地中不存在对应的有效设备标识信息时,根据所述当前操作指令类型和所述当前设备标识信息生成所述当前操作指令类型对应的有效设备标识信息在本地存储,发送所述当前操作指令类型对应的有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述当前操作指令类型对应的有效设备标识信息、标准声纹的关联关系;Acquire the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, generate the valid corresponding to the current operation instruction type according to the current operation instruction type and the current device identification information The device identification information is stored locally, and the effective device identification information and standard voiceprint corresponding to the current operation instruction type are sent to the server, so that the server stores the effective device identification information and standard voiceprint information corresponding to the current operation instruction type. connection relation;
    获取作用于第一应用的第一操作指令,确定所述第一操作指令对应的第一操作指令类型;Acquiring a first operation instruction acting on the first application, and determining a first operation instruction type corresponding to the first operation instruction;
    获取所述第一操作指令类型对应的目标有效设备标识信息;Acquiring target effective device identification information corresponding to the first operation instruction type;
    所述声纹验证请求包括所述目标有效设备标识信息、所述第一声纹,以使所述服务器根据所述目标有效设备标识信息获取与所述第一操作指令类型匹配的目标标准声纹,验证所述目标标准声纹与所述第一声纹的一致性得到所述第一操作指令对应的验证结果。The voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains the target standard voiceprint matching the first operation instruction type according to the target effective device identification information , Verifying the consistency of the target standard voiceprint and the first voiceprint to obtain a verification result corresponding to the first operation instruction.
  14. 根据权利要求9所述的计算机设备,其中,所述验证结果包括多个不同操作指令对应的验证结果,所述接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作,包括:9. The computer device according to claim 9, wherein the verification result includes verification results corresponding to a plurality of different operation instructions, the receiving the verification result returned by the server, and performing a corresponding operation according to the verification result, include:
    获取验证结果为通过的操作指令作为目标执行操作指令;Obtain the operation instruction whose verification result is passed as the target execution operation instruction;
    根据各个目标执行操作指令执行作用于所述第一应用的目标操作,所述目标操作包括登录操作、支付操作、信息修改操作中的至少一种。The target operation acting on the first application is executed according to each target execution operation instruction, and the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
  15. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现声纹数据处理方法;A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements a voiceprint data processing method when the computer program is executed by a processor;
    其中,所述声纹数据处理方法的步骤包括:Wherein, the steps of the voiceprint data processing method include:
    获取第一应用采集的第一声纹,从本地获取所述第一应用对应的有效设备标识信息,所述有效设备标识信息是根据所述第一应用所在设备的设备通用唯一标识信息和所述第一应用的应用信息生成的,所述设备通用唯一标识信息包括设备序列号或移动设备识别码中的至少一种信息;The first voiceprint collected by the first application is acquired, and the valid device identification information corresponding to the first application is acquired locally. The valid device identification information is based on the device universally unique identification information of the device where the first application is located and the Generated by the application information of the first application, the universal unique identification information of the device includes at least one of a device serial number or a mobile device identification code;
    发送声纹验证请求至服务器,所述声纹验证请求包括所述有效设备标识信息和所述第一声纹,以使所述服务器根据所述有效设备标识信息获取所述第一应用对应的标准声纹,验证所述标准声纹与所述第一声纹的一致性得到验证结果;Send a voiceprint verification request to a server, where the voiceprint verification request includes the valid device identification information and the first voiceprint, so that the server obtains the standard corresponding to the first application according to the valid device identification information Voiceprint, verifying the consistency of the standard voiceprint and the first voiceprint to obtain a verification result;
    接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作。Receiving the verification result returned by the server, and performing a corresponding operation according to the verification result.
  16. 根据权利要求15所述的计算机可读存储介质,其中,所述声纹数据处理方法还包括:15. The computer-readable storage medium according to claim 15, wherein the voiceprint data processing method further comprises:
    获取作用于所述第一应用的操作指令;Acquiring an operation instruction acting on the first application;
    通过所述第一应用采集与所述第一应用对应的标准声纹;Collecting, through the first application, a standard voiceprint corresponding to the first application;
    获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息;Acquiring device universal unique identification information of the device where the first application is located, and generating current device identification information corresponding to the first application according to the universal unique identification information of the device and the application information of the first application;
    当所述本地不存在所述第一应用对应的有效设备标识信息时,将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地,发送所述有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述有效设备标识信息和所述标准声纹的关联关系。When the effective device identification information corresponding to the first application does not exist locally, the current device identification information is stored locally as the effective device identification information corresponding to the first application, and the effective device identification information is sent, The standard voiceprint is sent to a server, so that the server stores the association relationship between the valid device identification information and the standard voiceprint.
  17. 根据权利要求16所述的计算机可读存储介质,其中,所述获取作用于所述第一应用的操作指令,通过所述第一应用采集与所述第一应用对应的标准声纹,获取所述第一应用所在设备的设备通用唯一标识信息,根据所述设备通用唯一标识信息和所述第一应用的应用信息生成所述第一应用对应的当前设备标识信息包括:The computer-readable storage medium according to claim 16, wherein said obtaining operation instructions acting on said first application collects standard voiceprints corresponding to said first application through said first application, and obtains all According to the device universal unique identification information of the device where the first application is located, generating the current device identification information corresponding to the first application according to the device universal unique identification information and the application information of the first application includes:
    获取首次启动所述第一应用的应用启动指令;Acquiring an application start instruction for starting the first application for the first time;
    根据所述应用启动指令获取所述第一应用所在设备的设备序列号,当所述设备序列号为正常数据时,将所述设备序列号和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息;Acquire the device serial number of the device where the first application is located according to the application start instruction, and when the device serial number is normal data, combine the device serial number and the application information of the first application to generate the first application 1. Identification information of the current device corresponding to the application;
    当所述设备序列号为异常数据时,获取所述第一应用所在设备的移动设备识别码,将所述移动设备识别码和所述第一应用的应用信息组合生成所述第一应用对应的当前设备标识信息。When the device serial number is abnormal data, the mobile device identification code of the device where the first application is located is obtained, and the mobile device identification code and the application information of the first application are combined to generate the corresponding Current device identification information.
  18. 根据权利要求16所述的计算机可读存储介质,其中,所述将所述当前设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地包括:The computer-readable storage medium according to claim 16, wherein the storing the current device identification information as valid device identification information corresponding to the first application locally comprises:
    生成随机前缀和随机后缀,将所述随机前缀、当前设备标识信息、随机后缀按顺序组合生成处理设备标识信息;Generating a random prefix and a random suffix, and combining the random prefix, current device identification information, and random suffix in order to generate processing device identification information;
    将所述处理设备标识信息加密得到加密设备标识信息,将所述加密设备标识信息作为所述第一应用对应的有效设备标识信息存储至本地。The processing device identification information is encrypted to obtain encrypted device identification information, and the encrypted device identification information is stored locally as valid device identification information corresponding to the first application.
  19. 根据权利要求16所述的计算机可读存储介质,其中,所述声纹数据处理方法还包括:The computer-readable storage medium according to claim 16, wherein the voiceprint data processing method further comprises:
    获取当前操作指令类型,当所述当前操作指令类型在本地中不存在对应的有效设备标识信息时,根据所述当前操作指令类型和所述当前设备标识信息生成所述当前操作指令类型对应的有效设备标识信息在本地存储,发送所述当前操作指令类型对应的有效设备标识信息、标准声纹至服务器,以使所述服务器存储所述当前操作指令类型对应的有效设备标识信息、标准声纹的关联关系;Acquire the current operation instruction type, and when the current operation instruction type does not have corresponding valid device identification information locally, generate the valid corresponding to the current operation instruction type according to the current operation instruction type and the current device identification information The device identification information is stored locally, and the effective device identification information and standard voiceprint corresponding to the current operation instruction type are sent to the server, so that the server stores the effective device identification information and standard voiceprint information corresponding to the current operation instruction type. connection relation;
    获取作用于第一应用的第一操作指令,确定所述第一操作指令对应的第一操作指令类型;Acquiring a first operation instruction acting on the first application, and determining a first operation instruction type corresponding to the first operation instruction;
    获取所述第一操作指令类型对应的目标有效设备标识信息;Acquiring target effective device identification information corresponding to the first operation instruction type;
    所述声纹验证请求包括所述目标有效设备标识信息、所述第一声纹,以使所述服务器根据所述目标有效设备标识信息获取与所述第一操作指令类型匹配的目标标准声纹,验证所述目标标准声纹与所述第一声纹的一致性得到所述第一操作指令对应的验证结果。The voiceprint verification request includes the target effective device identification information and the first voiceprint, so that the server obtains the target standard voiceprint matching the first operation instruction type according to the target effective device identification information , Verifying the consistency of the target standard voiceprint and the first voiceprint to obtain a verification result corresponding to the first operation instruction.
  20. 根据权利要求15所述的计算机可读存储介质,其中,所述验证结果包括多个不同操作指令对应的验证结果,所述接收所述服务器返回的所述验证结果,根据所述验证结果执行对应的操作,包括:The computer-readable storage medium according to claim 15, wherein the verification result includes a plurality of verification results corresponding to different operation instructions, the receiving the verification result returned by the server, and executing the corresponding verification result according to the verification result. The operations include:
    获取验证结果为通过的操作指令作为目标执行操作指令;Obtain the operation instruction whose verification result is passed as the target execution operation instruction;
    根据各个目标执行操作指令执行作用于所述第一应用的目标操作,所述目标操作包括登录操作、支付操作、信息修改操作中的至少一种。The target operation acting on the first application is executed according to each target execution operation instruction, and the target operation includes at least one of a login operation, a payment operation, and an information modification operation.
PCT/CN2020/119366 2020-02-24 2020-09-30 Voiceprint data processing method and apparatus, computer device, and storage medium WO2021169305A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010112886.4A CN111291345A (en) 2020-02-24 2020-02-24 Voiceprint data processing method and device, computer equipment and storage medium
CN202010112886.4 2020-02-24

Publications (1)

Publication Number Publication Date
WO2021169305A1 true WO2021169305A1 (en) 2021-09-02

Family

ID=71030082

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/119366 WO2021169305A1 (en) 2020-02-24 2020-09-30 Voiceprint data processing method and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN111291345A (en)
WO (1) WO2021169305A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111371755B (en) * 2020-02-24 2023-01-10 平安科技(深圳)有限公司 Voiceprint data processing method and device, computer equipment and storage medium
CN111291345A (en) * 2020-02-24 2020-06-16 平安科技(深圳)有限公司 Voiceprint data processing method and device, computer equipment and storage medium
CN111666596B (en) * 2020-07-10 2023-05-05 腾讯科技(深圳)有限公司 Data processing method, device and medium
CN113707182A (en) * 2021-09-17 2021-11-26 北京声智科技有限公司 Voiceprint recognition method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497635A (en) * 2011-11-28 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Server, terminal and account password acquisition method
JP2013145457A (en) * 2012-01-13 2013-07-25 Hde Inc Program and network system
CN105100047A (en) * 2015-05-19 2015-11-25 努比亚技术有限公司 Method and device for authentication of terminal application program
CN107743115A (en) * 2016-12-22 2018-02-27 腾讯科技(深圳)有限公司 A kind of identity identifying method of terminal applies, device and system
CN107977183A (en) * 2017-11-16 2018-05-01 百度在线网络技术(北京)有限公司 voice interactive method, device and equipment
CN111291345A (en) * 2020-02-24 2020-06-16 平安科技(深圳)有限公司 Voiceprint data processing method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497635A (en) * 2011-11-28 2012-06-13 宇龙计算机通信科技(深圳)有限公司 Server, terminal and account password acquisition method
JP2013145457A (en) * 2012-01-13 2013-07-25 Hde Inc Program and network system
CN105100047A (en) * 2015-05-19 2015-11-25 努比亚技术有限公司 Method and device for authentication of terminal application program
CN107743115A (en) * 2016-12-22 2018-02-27 腾讯科技(深圳)有限公司 A kind of identity identifying method of terminal applies, device and system
CN107977183A (en) * 2017-11-16 2018-05-01 百度在线网络技术(北京)有限公司 voice interactive method, device and equipment
CN111291345A (en) * 2020-02-24 2020-06-16 平安科技(深圳)有限公司 Voiceprint data processing method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111291345A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN109274685B (en) Multi-system login method and device, computer equipment and storage medium
WO2021169305A1 (en) Voiceprint data processing method and apparatus, computer device, and storage medium
CN107396360B (en) Block verification method and device
US9455988B2 (en) System and method for verifying status of an authentication device
JP6453486B2 (en) Accelerated passphrase verification
CN109842611B (en) Identity authentication method, identity authentication device, computer equipment and storage medium
US11551224B2 (en) Systems and methods for identifying mobile devices
CN111245548A (en) Data synchronization method and device based on timestamp and computer equipment
CN110691085B (en) Login method, login device, password management system and computer readable medium
WO2017210934A1 (en) Embedded sim card registration method, embedded sim card authentication method, and corresponding systems
CN108287823B (en) Message data processing method and device, computer equipment and storage medium
CN112527835B (en) Authentication request processing method and device based on cache and related equipment
CN109286933B (en) Authentication method, device, system, computer equipment and storage medium
CN112860778B (en) Database management method, device, equipment and medium for desktop application program
CN112559993A (en) Identity authentication method, device and system and electronic equipment
WO2021169469A1 (en) Voiceprint data processing method and apparatus, computer device, and storage medium
CN111125748A (en) Judgment method and device for unauthorized query, computer equipment and storage medium
CN108418809B (en) Chat data processing method and device, computer equipment and storage medium
CN114238883A (en) Identity authentication method, device, equipment and storage medium
CN111147235B (en) Object access method and device, electronic equipment and machine-readable storage medium
CN112507298A (en) User authentication method, device, server and storage medium
CN111898110A (en) Method, device, server and storage medium for acquiring user identity information
CN113742681B (en) Account management method and device, computer equipment and storage medium
CN114143042A (en) Vulnerability simulation method and device, computer equipment and storage medium
CN112783866A (en) Data reading method and device, computer equipment and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20922000

Country of ref document: EP

Kind code of ref document: A1