WO2017166556A1 - 语音加密及解密方法、加密及解密装置以及终端 - Google Patents

语音加密及解密方法、加密及解密装置以及终端 Download PDF

Info

Publication number
WO2017166556A1
WO2017166556A1 PCT/CN2016/092481 CN2016092481W WO2017166556A1 WO 2017166556 A1 WO2017166556 A1 WO 2017166556A1 CN 2016092481 W CN2016092481 W CN 2016092481W WO 2017166556 A1 WO2017166556 A1 WO 2017166556A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice
frame information
strength
terminal
encryption
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/092481
Other languages
English (en)
French (fr)
Inventor
蔡志富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Publication of WO2017166556A1 publication Critical patent/WO2017166556A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/045Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply hybrid encryption, i.e. combination of symmetric and asymmetric encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/14Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using a plurality of keys or algorithms

Definitions

  • the present disclosure relates to the field of communications, for example, to a voice encryption and decryption method, an encryption and decryption apparatus, and a terminal.
  • voice communication is one of the most important communication methods for people.
  • the problem of user data leakage caused by eavesdropping and other means of stealing call voice information is becoming more and more serious, causing great losses to users. Therefore, the security issue of voice communication becomes more and more important, and the user's demand for confidentiality of voice communication is also particularly urgent.
  • how to realize the encryption of communication voice through a convenient method allows the user to select whether to perform voice encryption according to his or her own desire, and the terminal can provide multiple encryption levels for the user to select the corresponding encryption level, which is the professional technology. People need constant innovation to solve problems.
  • the embodiment of the present disclosure provides a voice encryption and decryption method, an encryption and decryption apparatus, and a terminal, which can perform different encryption level processing on the voice frame information through different voice strengths, thereby increasing the call security of the terminal and reducing the call security.
  • the load generated by the terminal due to encryption and allows the user to control the level of the encrypted voice frame information and the encrypted voice frame information by controlling the voice intensity of the user.
  • an embodiment of the present disclosure provides a voice encryption method, including:
  • the first terminal acquires the voice strength of the user during the current communication process
  • the first terminal encrypts the current voice frame information by using a key corresponding to the voice strength, and identifies the voice strength in the target position of the voice frame information;
  • the first terminal sends the encrypted and the identified voice frame information to the second terminal.
  • the first terminal encrypts the current voice frame information by using a key corresponding to the voice strength, including:
  • the first terminal performs low-level encryption on the current voice frame information by using the first key corresponding to the voice strength;
  • the first terminal performs medium encryption on the current voice frame information by using the second key corresponding to the voice strength;
  • the first terminal performs deep encryption on the current voice frame information by using the third key pair corresponding to the voice strength.
  • the length of the first key is less than the length of the second key, and the length of the second key is less than the length of the third key.
  • the method before the first terminal encrypts the current voice frame information by using the key corresponding to the voice strength, the method further includes:
  • the first terminal determines whether the voice strength is less than a second treble threshold
  • the first terminal is triggered to encrypt the current voice frame information by using a key corresponding to the voice strength, and the voice strength is identified in the target position of the voice frame information.
  • the first terminal encrypts the current voice frame information by using a key corresponding to the voice strength, including:
  • the first terminal performs medium encryption on the current voice frame information by using the fourth key corresponding to the voice strength;
  • the first terminal performs deep encryption on the current voice frame information by using the fifth key pair corresponding to the voice strength.
  • the length of the fourth key is less than the length of the fifth key.
  • an embodiment of the present disclosure provides a voice decryption method, which may include:
  • the second terminal receives the voice frame information sent by the first terminal
  • the second terminal parses the voice frame information to include a voice strength indicator
  • the second terminal decrypts the voice frame information by using a key corresponding to the voice strength indicator.
  • the second terminal decrypts the voice frame information by using a key corresponding to the voice strength identifier, including:
  • the second terminal decrypts the voice frame information by using the first key corresponding to the high-pitched tone identifier
  • the second terminal decrypts the voice frame information by using the second key corresponding to the mid-tone strength identifier
  • the second terminal decrypts the voice frame information by using a third key corresponding to the bass strength indicator.
  • an encryption apparatus which may include:
  • the encryption module is configured to encrypt the current voice frame information by using a key corresponding to the voice strength
  • An identification module configured to identify a voice strength at a target location of the voice frame information
  • the sending module is configured to send the encrypted and the identified voice frame information to the second terminal.
  • the encryption module includes:
  • the first encryption unit is configured to perform low-level encryption on the current voice frame information by using the first key corresponding to the voice strength when the voice strength is greater than or equal to the first high-pitched threshold;
  • the second encryption unit is configured to perform the medium voice frame information by using the second key corresponding to the voice strength when the voice strength is smaller than the treble threshold and greater than or equal to the first mid-tone threshold encryption;
  • the third encryption unit is configured to: when the voice strength is less than the first mid-tone threshold, the current voice frame information is deeply encrypted by using a third key pair corresponding to the voice strength.
  • the length of the first key is less than the length of the second key, and the length of the second key is less than the length of the third key.
  • the encryption device further includes:
  • a determining module configured to determine whether the voice strength is less than a second treble threshold
  • the triggering module is configured to touch when the determining module determines that the voice strength is less than the second high voice threshold
  • the sending encryption module encrypts the current voice frame information by using the key corresponding to the voice strength, and triggers the identity module to identify the voice strength in the target location of the voice frame information.
  • the encryption module includes:
  • the fourth encryption unit is configured to perform medium encryption on the current voice frame information by using the fourth key corresponding to the voice strength when the voice strength is less than the second high voice threshold and greater than or equal to the second mid-tone threshold ;
  • the fifth encryption unit is configured to: when the voice strength is less than the second mid-tone threshold, the current voice frame information is deeply encrypted by using the fifth key pair corresponding to the voice strength.
  • the length of the fourth key is less than the length of the fifth key.
  • a fourth aspect of the present disclosure provides a decryption apparatus, which may include:
  • the receiving module is configured to receive the voice frame information sent by the first terminal;
  • An analysis module configured to parse whether the voice frame information includes a voice strength indicator
  • the decryption module is configured to decrypt the voice frame information by using a key corresponding to the voice strength identifier if the voice frame information includes a voice strength indicator.
  • the decryption module includes:
  • the first decryption unit is configured to decrypt the voice frame information by using the first key corresponding to the high-pitched tone identifier when the voice strength indicator is a high-pitched tone identifier;
  • a second decryption unit configured to decrypt the voice frame information by using a second key corresponding to the mid-tone strength identifier when the voice strength identifier is a mid-tone strength identifier
  • the third decryption unit is configured to decrypt the voice frame information by using the third key corresponding to the bass strength indicator when the voice strength indicator is the bass strength indicator.
  • a fifth aspect of the embodiments of the present disclosure provides a terminal, comprising the encryption device of the third aspect of the above embodiment and/or the decryption device of the fourth aspect.
  • an embodiment of the present disclosure provides a non-transitory computer readable storage medium storing computer executable instructions for performing the above-described voice encryption and decryption method.
  • the voice frame information may be encrypted by using the key corresponding to the voice strength, and the voice strength is different, and the corresponding secret is used.
  • the keys are different, so that the voice frame information can be encrypted to different degrees, and the voice strength can be identified in the target position of the voice frame information. Different voice strengths can correspond to different voice strength identifiers, and then encrypted and identified.
  • the voice frame information is sent to the second terminal. Through such an encryption process, the call security of the terminal can be increased, the load generated by the terminal due to encryption can be reduced, and the user can select the encrypted voice by controlling the voice strength of the terminal.
  • the level of frame information and encrypted speech frame information are examples of the voice frame information.
  • FIG. 1 is a schematic diagram of an embodiment of a voice encryption method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of another embodiment of a voice encryption method according to an embodiment of the present disclosure.
  • FIG. 3 is a schematic diagram of an embodiment of a voice decryption method according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of an embodiment of an encryption device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic diagram of another embodiment of an encryption apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of an embodiment of a decryption apparatus according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • the embodiment of the present disclosure provides a voice encryption and decryption method, an encryption and decryption apparatus, and a terminal, so that the user can independently control the voice strength during the call to perform different levels of encryption processing on the voice frame information, and increase the call security of the terminal.
  • sexuality reduces the load on the terminal due to cumbersome encryption.
  • the voice intensity of the user is divided into a high-pitched zone, a middle-range zone and a low-range zone, then in general, if the voice intensity of the user during the call is in the high-pitched zone, the call voice information may be defaulted.
  • the security requirement is not involved, so that the terminal can not encrypt the call voice of the user's high-pitched area, but does not exclude the user's need for encryption processing for the high-pitched area.
  • the specific processes of the two encryption scenarios in the embodiments of the present disclosure are described below:
  • a voice encryption method in an embodiment of the present disclosure includes: steps 110 to 130.
  • step 110 the first terminal acquires the voice strength of the user during the current communication process
  • the first terminal is a device that can perform voice operations, and may include, but is not limited to, a smart phone, a tablet computer, etc., and may be installed on an application such as a smart phone or a tablet, or may be a software installation method.
  • a smart phone a tablet computer
  • the voice strength of the user during the current communication process can be acquired.
  • the first terminal may acquire a sound signal that the user communicates during the period of time by using a predetermined time length unit, that is, a frame, and may perform attenuation of the ambient sound and emphasize the user's voice.
  • the speech intensity such as a weighting operation, is calculated based on the waveform characteristics of the sound signal.
  • the voice strength of the user in the current communication process may be acquired in other manners, or the average voice strength in the duration of one frame or more may be used, and may also be calculated by using other calculation methods. Voice intensity, the implementation of this city is only an example.
  • the first terminal may be the calling party side or the called party side, which is not limited herein.
  • step 120 the first terminal encrypts the current voice frame information by using a key corresponding to the voice strength, and identifies the voice strength in the target location of the voice frame information;
  • the first terminal may determine a corresponding key by using the voice strength, the key may be stored in the first terminal, and the first terminal uses the determined key.
  • the current speech frame information can be encrypted, and the speech intensity can be identified at the target location of the speech frame.
  • the specific manner in which the first terminal encrypts the current voice frame information by using the key corresponding to the voice strength may be:
  • the first terminal performs low-level encryption on the current voice frame information by using the first key corresponding to the voice strength;
  • the first terminal performs medium encryption on the current voice frame information by using the second key corresponding to the voice strength;
  • the first terminal performs deep encryption on the current voice frame information by using the third key pair corresponding to the voice strength.
  • the first terminal may preset the voice strength threshold, and then the key may be preset. If the terminal presets the first high-pitched threshold and the first mid-tone threshold, the corresponding terminal may The user's voice intensity is divided into three regions of a high range, a middle range and a low range, and a first key, a second key and a third key corresponding to each voice intensity interval. It can be understood that since the voice can be converted into a continuous digital signal, an encryption algorithm such as AES, RAS, 3DES can be selected to obtain a key, in order to distinguish the encryption level corresponding to the corresponding voice intensity interval, the first key and the second key.
  • AES AES
  • RAS Remote Access Security
  • 3DES 3DES
  • the length of the third key may be different to indicate the complexity of the different keys, wherein the length of the first key is smaller than the length of the second key, and the length of the second key is smaller than that of the third key.
  • the length for example, the first key is 123, the security is low, the second key is 12345, the security is high, and the third key is 12345678, which is the highest security.
  • a treble threshold and a first mid-tone threshold may be set based on actual conditions, and the lengths of the first key, the second key, and the third key may also be set based on actual conditions. This embodiment is only for example.
  • the first terminal performs low-level encryption on the current voice frame information by using the first key corresponding to the voice strength, that is, using, for example, 123 in the language frame information.
  • the first terminal uses the second key pair corresponding to the voice strength
  • the current voice frame information is medium-encrypted, that is, the voice frame information is scrambled by using, for example, 12345 interspersed in the language frame information; if the voice strength is less than the first mid-tone threshold, the first terminal uses the voice strength
  • the corresponding third key pair deeply encrypts the current speech frame information, that is, the speech frame information is scrambled by means of, for example, 12345678 interspersed in the language frame information.
  • the degree of the speech frame information is disturbed due to the difference in the key length, thereby realizing different encryption levels of the speech frame information.
  • first key, the second key, and the third key described above in this embodiment may be numbers, characters, characters, etc., and the first terminal uses the key to encrypt.
  • the above-mentioned instructions may also be other types of encryption, which are not limited herein.
  • the high, medium, and low voice intensity regions divided by the first high-pitched threshold and the first mid-tone threshold are used to perform different encryption processing on the voice frame information as an example.
  • the first terminal can also perform a more detailed distinction, for example, the middle sound is divided into a middle high sound zone and a low high sound zone, as long as the corresponding key can be preset for each of the differentiated voice intensity regions.
  • the first terminal may identify the voice strength at the target location of the voice frame information, that is, the vowel strength identifier corresponding to the first key or the mid-tone strength identifier corresponding to the second key at the target location of the voice frame information Or a bass strength indicator corresponding to the third key to indicate an encryption level of the voice frame information received by the second terminal.
  • first high-pitched threshold value and the first mid-tone threshold value in this embodiment may be set based on actual statistics before the first terminal leaves the factory.
  • step 130 the first terminal sends the encrypted and the identified voice frame information to the second terminal.
  • the first terminal After the first terminal encrypts the current voice frame information by using the key corresponding to the voice strength, and the voice strength is identified at the target location of the voice frame information, the encrypted and the identified voice frame information may be encapsulated, and The encapsulated voice frame information is sent to the second terminal.
  • the channel for transmitting the voice frame information may be a voice channel of the TDD LTE or the FDD LTE network based on the 4G communication, or may be another voice channel, which is not limited herein.
  • the first terminal may perform encryption processing on the current voice frame information according to the key corresponding to the voice strength of the current communication process, that is, the user may control the voice strength of the call from the encryption level of the primary control voice frame information.
  • the stronger the voice of the user communication the lower the encryption level.
  • the higher the encryption level the higher the security, which fully guarantees the need for the user to encrypt the different levels of privacy content, and at the same time independently adjusts the encryption level. In this way, the load of the first terminal processor can also be reduced to some extent.
  • another embodiment of the voice encryption method of the present disclosure includes: steps 210 to 250.
  • Step 210 in this embodiment is the same as step 110 in the embodiment shown in FIG. 1, and details are not described herein again.
  • step 220 the first terminal determines whether the voice strength is less than the second treble threshold, if not, step 230 is performed, and if so, step 240 is performed;
  • the first terminal acquires the voice strength of the user in the current communication process, it may be determined whether the voice strength is greater than the second high voice threshold.
  • the first terminal may preset a second high-pitched threshold to determine whether the voice strength of the user in the current communication process is less than the second high-pitched threshold, meaning If the voice strength is greater than or equal to the second treble threshold, the first terminal defaults to no need To protect the user's current communication voice confidentially, the user's privacy is not involved, and vice versa.
  • the second high-pitched threshold value in this embodiment can be set based on actual statistics before the first terminal leaves the factory.
  • the terminal determines that the voice strength is greater than or equal to the second high-pitched threshold, the voice strength of the user is in the high-pitched area divided by the second high-pitched threshold, and the user does not need to perform the confidential processing of the current voice frame information at this time.
  • a terminal may not perform any encryption processing on the current voice frame information, and does not need to identify the voice strength in the target position of the voice frame information, and may directly send the voice frame information to the second terminal, correspondingly, the second The terminal also does not need to decrypt the received voice frame information accordingly.
  • step 240 the first terminal encrypts the current voice frame information by using a key corresponding to the voice strength, and identifies the voice strength in the target position of the voice frame information;
  • the terminal determines that the voice strength is less than the second high voice threshold, the user needs the first terminal to perform encryption processing on the current voice frame information, so that the terminal
  • the current voice frame information may be encrypted by using a key corresponding to the voice strength, and the voice strength is identified at the target location of the voice frame information.
  • the specific manner in which the first terminal encrypts the current voice frame information by using the key corresponding to the voice strength may be:
  • the first terminal performs medium encryption on the current voice frame information by using the fourth key corresponding to the voice strength;
  • the first terminal performs deep encryption on the current voice frame information by using the fifth key pair corresponding to the voice strength.
  • the first terminal can also preset the second mid-tone threshold, and then the preset of the corresponding key can be performed, and the first terminal can utilize the second high-pitched threshold and the second mid-range.
  • the threshold value divides the user's voice intensity into three regions: a high range, a middle range and a low range.
  • the first terminal can be based on the second high threshold and the second low threshold.
  • the value is a fourth key corresponding to the middle zone, and a fifth key corresponding to the low range, and the length of the fourth key is less than the length of the fifth key.
  • the fourth key is 12345, and the security is higher. If the fifth key is 12345678, the security is the highest.
  • the lengths of the fourth key and the fifth key in this embodiment may be set based on actual conditions. This embodiment is only an example.
  • the first terminal may not encrypt the current voice frame information when the user is in the high sound zone during the current communication process, if the voice strength is less than the second high voice threshold and greater than or equal to the second midrange threshold And the first terminal performs medium encryption on the current voice frame information by using the fourth key corresponding to the voice strength, that is, the voice frame information is scrambled by using, for example, 12345 interspersed in the language frame information; If the second mid-tone threshold is less than the second mid-tone threshold, the first terminal uses the fifth key pair corresponding to the voice strength to perform deep encryption on the current voice frame information, that is, the voice frame is interspersed in the language frame information, such as 12345678. Information is disrupted. As can be seen from the above, due to the difference between the fourth key length and the fifth key length, the degree of the speech frame information is disturbed, thereby achieving different encryption levels of the speech frame information.
  • the fourth key and the fifth key described above may be numbers, may be letters, characters, etc., and the manner in which the first terminal encrypts by using the key is in addition to the above-mentioned disorder. It can also be other types of encryption, which are not limited here.
  • the medium and low voice intensity regions divided by the second high-pitched threshold value and the second mid-tone threshold value are used to perform different encryption processing on the voice frame information as an example for practical application.
  • the first terminal can also perform a more detailed distinction, for example, the middle sound is divided into a middle high range and a low high range, as long as the voice intensity area that is not required to be encrypted can be used for each differentiated voice intensity area. Preset the corresponding key.
  • the first terminal may identify the voice strength at the target position of the voice frame information, that is, the fourth key corresponding to the target position of the voice frame information.
  • the mid-tone strength indicator or the bass strength indicator corresponding to the fifth key is used to indicate the encryption level of the voice frame information received by the second terminal, without performing the high-pitched tone identification at the target position of the voice frame information.
  • the second mid-tone threshold value in this embodiment may also be set based on actual statistics before the first terminal leaves the factory.
  • the first terminal in this embodiment does not perform encryption processing on the voice frame information in the high-pitched area, that is, the default is when the user uses the voice strength of the second high-pitched threshold or higher to communicate. There is no need to protect the content of the call, but when the user communicates with the voice strength below the second high-pitched threshold, the first terminal can automatically perform corresponding privacy protection on the content of the call according to the corresponding key, thereby making it possible to The load of the first terminal processor is effectively reduced.
  • Step 250 in this embodiment is the same as step 130 in the embodiment shown in FIG. 1, and details are not described herein again.
  • first high-pitched threshold and the first mid-tone threshold in the embodiment shown in FIG. 1 may be
  • second key and the third key in the embodiment shown in FIG. 1 may be respectively the same as or different from the second high-pitched threshold and the second mid-tone threshold corresponding to the embodiment shown in FIG.
  • the corresponding fourth key and the fifth key are the same or different, and the terminal can be set based on actual conditions, which is not limited herein.
  • an embodiment of the voice decryption method provided by the present disclosure includes: Step 310- 340.
  • step 310 the second terminal receives the voice frame information sent by the first terminal.
  • the second terminal is also a device that can perform voice operations, and may include, but is not limited to, a smart phone, a tablet computer, etc., and may be installed on an application such as a smart phone or a tablet, or may be installed by using a software. Ways to achieve voice communication.
  • the first terminal detects that the user is communicating, the first terminal can receive the voice frame information sent by the first terminal.
  • the second terminal may be the calling party side or the called party side, which is not limited herein.
  • step 320 the second terminal analyzes whether the voice frame information includes a voice strength indicator, if not, step 330 is performed, and if yes, step 340 is performed;
  • the second terminal After receiving the voice frame information sent by the first terminal, the second terminal may perform decoding processing on the voice frame information, and may parse whether the voice frame information includes a voice strength indicator.
  • the second terminal can search for the voice strength identifier at the target location of the voice frame.
  • the first terminal does not perform encryption processing on the voice frame, and the second terminal does not need to decrypt the voice frame information, and may perform the decoded voice frame. Information is sent directly to the handset.
  • step 340 the second terminal decrypts the voice frame information by using a key corresponding to the voice strength indicator.
  • the second terminal may decrypt the voice frame information by using the key corresponding to the voice strength identifier.
  • the manner in which the second terminal decrypts the voice frame information by using the key corresponding to the voice strength identifier may be:
  • the second terminal decrypts the voice frame information by using the first key corresponding to the high-pitched tone identifier
  • the second terminal decrypts the voice frame information by using the second key corresponding to the mid-tone strength identifier
  • the second terminal decrypts the voice frame information by using a third key corresponding to the bass strength indicator.
  • the first terminal negotiates with the second terminal to divide the voice intensity of the user into three regions: a high-pitched region, a middle-pitched region, and a low-range region, and then according to the actual situation in which the first terminal encrypts the voice frame information, the second The terminal can determine a corresponding voice strength indicator, such as a treble strength indicator, or a mid-tone strength indicator, or a bass strength indicator. Then, the second terminal may determine the corresponding key according to the voice strength indicator, and then use the key to decrypt the voice frame information, that is, if the voice strength indicator is a high-pitched tone identifier, the second terminal uses the high-pitched tone identifier corresponding to the second terminal.
  • a corresponding voice strength indicator such as a treble strength indicator, or a mid-tone strength indicator, or a bass strength indicator.
  • the key is used to decrypt the voice frame information; if the voice strength indicator is the mid-tone strength identifier, the second terminal decrypts the voice frame information by using the second key corresponding to the mid-tone strength identifier; if the voice strength indicator is the bass strength indicator Then, the second terminal decrypts the voice frame information by using the third key corresponding to the bass strength indicator.
  • the first key, the second key, and the third key in this implementation may correspond to the first key, the second key, and the third key respectively described in the embodiment in FIG. 1 .
  • the second key and the third key may also respectively correspond to the fourth key and the fifth key in the embodiment shown in FIG. 2, and for the second terminal, only from the voice town information.
  • the key corresponding to the corresponding voice strength identifier is extracted, and the content and length of the key are determined by the first terminal based on actual conditions.
  • the voice frame information is 20 bits
  • the first terminal uses the second key such as 12345 to perform scrambling encryption on the voice frame information, such as the voice frame information respectively.
  • the 3rd, 7th, 10th, 16th, and 19th bits of the frame are scrambled and encrypted, and the terminal can extract the corresponding number according to the 3, 7, 10, 16, and 19 bits in the voice frame information according to the midrange strength indicator.
  • the second key 12345 may further re-synthesize the decrypted voice frame information according to the target sequence by extracting the voice frame information after extracting the second key, and may transmit the decrypted voice frame information to the earpiece.
  • the length of the second key in this embodiment may be set based on actual conditions, and this embodiment is only an example.
  • first key, the second key, and the third key are different, and may be based on the first end.
  • the second key and the third key described above may be numbers, and may be letters, characters, etc., and the second terminal decrypts the key corresponding to the voice strength.
  • it may also be determined according to other types of encryption, which are not limited herein.
  • the second terminal may use the voice frame identifier.
  • the key corresponding to the voice strength identifier is decrypted, because different voice strength identifiers can correspond to different keys, so that the second terminal can selectively decrypt different levels of the voice frame information, thereby avoiding that the second terminal always uses the same
  • the high-strength decryption method decrypts the voice frame information, thereby greatly reducing the load of the second terminal processor and ensuring the security of the communication between the two parties.
  • an embodiment of the encryption apparatus provided by the present disclosure includes: obtaining The module 401, the encryption module 402, the identification module 403, and the sending module 404.
  • the obtaining module 401 is configured to acquire a voice strength of the user during the current communication process
  • the encryption module 402 is configured to encrypt the current voice frame information by using a key corresponding to the voice strength
  • the identifier module 403 is configured to identify the voice strength in the target location of the voice frame information
  • the sending module 404 is configured to send the encrypted and the identified voice frame information to the second terminal.
  • the encryption module 402 may further include:
  • the first encryption unit 4021 is configured to perform low-level encryption on the current voice frame information by using the first key corresponding to the voice strength when the voice strength is greater than or equal to the first high-pitched threshold;
  • the second encryption unit 4022 is configured to perform the medium voice frame information by using the second key corresponding to the voice strength when the voice strength is less than the first high tone threshold and greater than or equal to the first mid-tone threshold. encryption;
  • the third encryption unit 4023 is configured to perform deep encryption of the current voice frame information by using a third key pair corresponding to the voice strength when the voice strength is less than the first mid-tone threshold.
  • the acquisition module 401 is connected to the identification module 403, the identification module 403 is connected to the encryption module 402, and the encryption module 402 is connected to the transmission module 404.
  • the encryption module 402 can encrypt the current voice frame information according to the key corresponding to the voice strength of the current communication process, that is, the user can control the voice strength of the call to adjust the encryption level of the voice frame information.
  • the stronger the voice of the user communication the lower the encryption level.
  • the higher the encryption level the higher the security, which fully guarantees the need for users to encrypt and process different levels of privacy content, and at the same time adjust the encryption level independently.
  • the load of the first terminal processor can also be reduced to some extent.
  • another embodiment of the encryption apparatus provided by the present disclosure includes:
  • the module 501 in this embodiment is the same as the module 401 in the embodiment shown in FIG. 4, and details are not described herein again.
  • the determining module 502 is configured to determine whether the voice strength is less than a second treble threshold
  • the module 503 in this embodiment is the same as the module 402 in the embodiment shown in FIG. 4, and the module 504 is the same as the module 403 in the embodiment shown in FIG. 4, and details are not described herein again.
  • the triggering module 505 is configured to: when the determining module 502 determines that the voice strength is less than the second high-pitched threshold, the triggering module 503 encrypts the voice frame information by using the key corresponding to the voice strength, and triggers the identifier module 504 to set the voice strength.
  • the target position of the voice frame information is identified.
  • the module 506 in this embodiment is the same as the module 404 in the embodiment shown in FIG. 4, and details are not described herein again.
  • the encryption module 503 may further include:
  • the fourth encryption unit 5031 is configured to perform the medium voice frame information by using the fourth key corresponding to the voice strength when the voice strength is less than the second high voice threshold and greater than or equal to the second mid-tone threshold. encryption;
  • the fifth encryption unit 5032 is configured to perform deep encryption on the current voice frame information by using the fifth key pair corresponding to the voice strength when the voice strength is less than the second mid-tone threshold.
  • the triggering module 505 may trigger the encryption module 503 to perform a corresponding operation, or may perform the corresponding operation by the identification module 504, but only the encrypted and identified voice frame information is sent to the second terminal. Therefore, in the embodiment shown in FIG. 5, the identification module 504 is connected to the encryption module 503, and the encryption module 503 is connected to the transmission module 506.
  • the encryption module 503 in this embodiment does not encrypt the voice frame information in the high-pitched region, that is, the default is when the user uses the high-pitched threshold or above.
  • the voice strength is communicated, the call content does not need to be protected by privacy, but when the user communicates using the voice strength below the second high-pitched threshold, the first terminal can automatically perform the corresponding call content according to the corresponding key. Privacy protection, so that the load of the first terminal processor can be reduced more effectively.
  • an embodiment of a decryption apparatus in an embodiment of the present disclosure includes:
  • the receiving module 601 is configured to receive the voice frame information sent by the first terminal;
  • the parsing module 602 is configured to parse whether the voice frame information includes a voice strength indicator
  • the decryption module 603 is configured to decrypt the voice frame information by using a key corresponding to the voice strength identifier if the voice frame information includes the voice strength indicator.
  • the decryption module 603 may further include:
  • the first decrypting unit 6031 is configured to: when the voice strength indicator is a high-pitched tone identifier, decrypt the voice frame information by using the first key corresponding to the high-pitched tone identifier;
  • the second decryption unit 6032 is configured to decrypt the voice frame information by using the second key corresponding to the mid-tone strength identifier when the voice strength identifier is the mid-tone strength identifier;
  • the third decryption unit 6033 is configured to decrypt the voice frame information by using the third key corresponding to the bass strength indicator when the voice strength indicator is the bass strength indicator.
  • the decryption module 603 if the parsing module 602 parses that the speech frame information does not include the speech intensity identifier, the speech frame information does not need to be decrypted, and when the parsing module 602 parses the speech frame information to include the speech intensity identifier, the decryption module 603 The key corresponding to the voice strength identifier can be used for decryption. Since different voice strength identifiers can correspond to different keys, the decryption module 603 can selectively decrypt different levels of the voice frame information, thereby avoiding the second terminal total. The same high-intensity decryption method is used to decrypt the voice frame information, thereby greatly reducing the load of the second terminal processor and ensuring the security of the communication between the two parties.
  • the terminal provided in this embodiment has all the beneficial effects of the encryption device and/or the decryption device by setting the encryption device and/or the decryption device in any of the above embodiments, and details are not described herein again.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be ignored. Or not.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions for performing the voice encryption and decryption methods described above.
  • FIG. 7 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal in the embodiment of the present invention is, for example, a tablet computer, a mobile phone, an e-reader, a remote controller, a personal computer (PC), a notebook computer, an in-vehicle device, a network television, a wearable device, and the like.
  • the mobile terminal in the embodiment of the present invention includes: at least one processor 701, such as a CPU, at least one receiver 703, at least one memory 704, at least one transmitter 705, and at least one communication bus 702.
  • the communication bus 702 is used to implement connection communication between these components.
  • the receiver 703 and the transmitter 705 of the device in the embodiment of the present invention may be wired transmission ports, or The wireless device is considered to include, for example, an antenna device for communicating with other node devices for data or data.
  • the memory 704 may be a high speed RAM memory or a non-volatile memory such as at least one disk memory.
  • the memory 704 can optionally also be at least one storage device located remotely from the aforementioned processor 701.
  • a set of program codes is stored in the memory 704, and the processor 701 can call the code stored in the memory 704 via the communication bus 702 to perform the voice encryption and decryption method of the above embodiment.
  • the embodiment of the present disclosure provides a voice encryption and decryption method, an encryption and decryption apparatus, and a terminal, which can perform different encryption level processing on the voice frame information through different voice strengths, thereby increasing the call security of the terminal and reducing the call security.
  • the load generated by the terminal due to encryption and allows the user to control the level of the encrypted voice frame information and the encrypted voice frame information by controlling the voice intensity of the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

本公开实施例公开了一种语音加密方法包括:第一终端获取用户在当前通信过程中的语音强度;第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密,并将语音强度在语音帧信息的目标位置进行标识;第一终端将加密以及标识后的语音帧信息发送至第二终端。本实施例还提供了一种语音解密方法、加密装置、解密装置以及终端,可以使得通信双方安全通话,自主控制语音加密。

Description

语音加密及解密方法、加密及解密装置以及终端
本申请要求于2016年3月31日提交中国专利局,申请号为201610197068.2、发明名称为“一种语音加密及解密方法、加密及解密装置以及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及通信领域,例如涉及一种语音加密及解密方法、加密及解密装置以及终端。
背景技术
随着通信技术的快速发展,通过语音通信进行信息交流与沟通的方式已成为人们在工作和生活中必不可少的一部分。然而,语音通信作为人们最重要的通信方式之一,由于窃听等手段窃取通话语音信息而导致用户数据泄露的问题日趋严重,给用户造成较大的损失。因此,语音通信的安全性问题变得越来越重要,用户对于语音通信的保密性需求也显得尤为迫切。
相关技术的大部分终端中,由于没有增设语音加密功能,通话容易被窃听,难以从终端实现语音通信保密的要求。而部分终端虽然采用加密技术,但过程过于繁琐,增加了处理器的负荷,且用户无法在终端自主选择加密或者不加密,或者即便终端提供多种加密等级,也无法供用户自主选择相应的加密等级。
因此,如何通过一种便捷的方法实现通信语音的加密,可以让用户按照自己的意愿选择是否进行语音加密,且终端能够提供多种加密等级以供用户自主选择相应的加密等级,是本专业技术人员需要不断创新解决的问题。
发明内容
本公开实施例提供了一种语音加密及解密方法、加密及解密装置以及终端,能够通过语音强度的不同对语音帧信息做不同的加密等级处理,从而增加了终端的通话安全性,减小了终端因加密而产生的负荷,并且可以让用户通过控制自己的语音强度,实现用户自主选择加密语音帧信息和加密语音帧信息的等级。
第一方面,本公开的实施例提供一种语音加密方法,包括:
第一终端获取用户在当前通信过程中的语音强度;
第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密,并将语音强度在语音帧信息的目标位置进行标识;
第一终端将加密以及标识后的语音帧信息发送至第二终端。
结合本公开实施例的第一方面,在本公开实施例的第一方面的第一种实施方式中,第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密包括:
若语音强度大于或等于第一高音门限值,则第一终端利用语音强度对应的第一密钥对当前的语音帧信息进行低等加密;
或,
若语音强度小于第一高音门限值,且大于或等于第一中音门限值,则第一终端利用语音强度对应的第二密钥对当前的语音帧信息进行中等加密;
或,
若语音强度小于第一中音门限值,则第一终端利用语音强度对应的第三密钥对将当前的语音帧信息进行深度加密。
可选地,第一密钥的长度小于第二密钥的长度,第二密钥的长度小于第三密钥的长度。
可选地,在第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密之前,方法还包括:
第一终端判断语音强度是否小于第二高音门限值;
若是,则触发第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密,并将语音强度在语音帧信息的目标位置进行标识的步骤。
可选地,第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密包括:
若语音强度小于所述第二高音门限值,且大于或等于第二中音门限值,则第一终端利用语音强度对应的第四密钥对当前的语音帧信息进行中等加密;
或,
若语音强度小于所述第二中音门限值,则第一终端利用语音强度对应的第五密钥对将当前的语音帧信息进行深度加密。
可选地,第四密钥的长度小于第五密钥的长度。
第二方面,本公开的实施例提供一种语音解密方法,可包括:
第二终端接收第一终端发送的语音帧信息;
第二终端解析语音帧信息是否包括语音强度标识;
若是,则第二终端利用语音强度标识对应的密钥对语音帧信息进行解密。
可选地,第二终端利用语音强度标识对应的密钥对语音帧信息进行解密包括:
若语音强度标识为高音强度标识,则第二终端利用高音强度标识对应的第一密钥对语音帧信息进行解密;
或,
若语音强度标识为中音强度标识,则第二终端利用中音强度标识对应的第二密钥对语音帧信息进行解密;
或,
若语音强度标识为低音强度标识,则第二终端利用低音强度标识对应的第三密钥对语音帧信息进行解密。
第三方面,本公开的实施例,提供一种加密装置,可包括:
获取模块,配置为获取用户在当前通信过程中的语音强度;
加密模块,配置为利用语音强度对应的密钥对当前的语音帧信息进行加密;
标识模块,配置为将语音强度在语音帧信息的目标位置进行标识;
发送模块,配置为将加密以及标识后的语音帧信息发送至第二终端。
可选地,加密模块包括:
第一加密单元,配置为对当语音强度大于或等于第一高音门限值时,则利用语音强度对应的第一密钥对当前的语音帧信息进行低等加密;
或,
第二加密单元,配置为当语音强度小第一于高音门限值,且大于或等于第一中音门限值时,则利用语音强度对应的第二密钥对当前的语音帧信息进行中等加密;
或,
第三加密单元,配置为当语音强度小于第一中音门限值时,则利用语音强度对应的第三密钥对将当前的语音帧信息进行深度加密。
可选地,第一密钥的长度小于第二密钥的长度,第二密钥的长度小于第三密钥的长度。
可选地,加密装置还包括:
判断模块,配置为判断语音强度是否小于第二高音门限值;
触发模块,配置为当判断模块判断语音强度小于第二高音门限值时,则触 发加密模块利用语音强度对应的密钥对当前的语音帧信息进行加密,并触发标识模块将语音强度在语音帧信息的目标位置进行标识。
可选地,加密模块包括:
第四加密单元,配置为当语音强度小于第二高音门限值,且大于或等于第二中音门限值时,则利用语音强度对应的第四密钥对当前的语音帧信息进行中等加密;
或,
第五加密单元,配置为当语音强度小于第二中音门限值时,则利用语音强度对应的第五密钥对将当前的语音帧信息进行深度加密。
可选地,第四密钥的长度小于第五密钥的长度。
本公开第四方面提供一种解密装置,可包括:
接收模块,配置为接收第一终端发送的语音帧信息;
解析模块,配置为解析语音帧信息是否包括语音强度标识;
解密模块,配置为若当语音帧信息包括语音强度标识时,则利用语音强度标识对应的密钥对语音帧信息进行解密。
可选地,解密模块包括:
第一解密单元,配置为当语音强度标识为高音强度标识时,则利用高音强度标识对应的第一密钥对语音帧信息进行解密;
或,
第二解密单元,配置为当语音强度标识为中音强度标识时,则利用中音强度标识对应的第二密钥对语音帧信息进行解密;
或,
第三解密单元,配置为当语音强度标识为低音强度标识时,则利用低音强度标识对应的第三密钥对语音帧信息进行解密。
本公开实施例第五方面提供一种终端,包括上述实施例的第三方面的加密装置和/或第四方面的解密装置。
第四方面,本公开的实施例提供一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述的语音加密及解密方法。
本实施例中,当第一终端获取用户在当前通信过程中的语音强度后,可以利用该语音强度对应的密钥对语音帧信息进行加密,语音强度不同,对应的密 钥不同,从而可以实现对语音帧信息进行不同程度的加密,并可以将该语音强度在语音帧信息的目标位置进行标识,不同的语音强度可以对应不同的语音强度标识,再将加密以及标识后的语音帧信息发送至第二终端,通过这样一个加密过程,能够增加终端的通话安全性,减小终端因加密而产生的负荷,并且可以让用户通过控制自己的语音强度,实现自主选择加密语音帧信息和加密语音帧信息的等级。
附图说明
图1为本公开实施例中语音加密方法一个实施例示意图;
图2为本公开实施例中语音加密方法另一实施例示意图;
图3为本公开实施例中语音解密方法一个实施例示意图;
图4为本公开实施例中加密装置一个实施例示意图;
图5为本公开实施例中加密装置另一实施例示意图;
图6为本公开实施例中解密装置一个实施例示意图;
图7为本公开实施例中一种移动终端的结构示意图。
实施方式
本公开实施例提供了一种语音加密及解密方法、加密及解密装置以及终端,使得用户能够自主控制通话过程中的语音强度对语音帧信息做不同等级的加密处理,且增加了终端的通话安全性,减小了终端因繁琐加密而产生的负荷。
为了使本技术领域的人员更好地理解本公开方案,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分的实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员所获得的所有其他实施例都应当属于本公开保护的范围。
本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步 骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
可以理解的是,若将用户的语音强度分为高音区、中音区和低音区,那么在一般情况下,假设用户在通话过程中的语音强度处于高音区时,可以默认为该通话语音信息非涉及保密需要,从而终端可以不对用户高音区的通话语音进行加密处理,但不排除用户有针对高音区进行加密处理的需求。为便于理解,下面对本公开实施例中这两种加密情况的具体流程进行描述:
请参阅图1,本公开的实施例中的语音加密方法包括:步骤110至130。
在步骤110、第一终端获取用户在当前通信过程中的语音强度;
本实施例中,第一终端为可以进行语音操作的设备,可以包括但不限于智能手机、平板电脑等,可以通过在诸如智能手机或平板电脑上安装应用的方式,也可以是安装软件的方式来实现语音通信。当第一终端检测到用户在进行通信时,可以获取用户在当前通信过程中的语音强度。
在实际应用中,第一终端可以以一个预定的时间长度为单位,即帧,通过诸如声控传感器获取用户在这段时长内进行通信的声音信号,且可以在进行衰减环境声音、强调用户语音的处理后,根据该声音信号的波形特征计算语音强度,比如加权运算。需要说明的是,本实施例还可以采用其它的方式获取用户在当前通信过程中的语音强度,也可以是在一帧或以上的时长内的平均语音强度,还可以利用其它的计算方式计算得到语音强度,本市实施只是举例说明。
本实施例中,第一终端可以是主叫方一侧,也可以是被叫方一侧,具体此处不做限定。
在步骤120、第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密,并将语音强度在语音帧信息的目标位置进行标识;
当第一终端获取到用户在当前通信过程中的语音强度之后,第一终端可以通过语音强度确定对应的密钥,该密钥可以存储在第一终端内,第一终端利用确定后的密钥可以对当前的语音帧信息进行加密,并可以将语音强度在语音帧的目标位置进行标识。
本实施例中,第一终端用语音强度对应的密钥对当前的语音帧信息进行加密的具体方式可以为:
若语音强度大于或等于第一高音门限值,则第一终端利用语音强度对应的第一密钥对当前的语音帧信息进行低等加密;
或,
若语音强度小于第一高音门限值,且大于或等于第一中音门限值,则第一终端利用语音强度对应的第二密钥对当前的语音帧信息进行中等加密;
或,
若语音强度小于第一中音门限值,则第一终端利用语音强度对应的第三密钥对将当前的语音帧信息进行深度加密。
在实际应用中,第一终端可以进行语音强度门限值的预设,进而可以进行密钥的预设,假设终端预设第一高音门限值和第一中音门限值,则可以相应地将用户的语音强度划分为高音区、中音区和低音区三个区域,以及各个语音强度区间对应的第一密钥、第二密钥和第三密钥。可以理解的是,由于语音可以转换成连续的数字信号,从而可以选择加密算法诸如AES、RAS、3DES获得密钥,为了区别相应语音强度区间对应的加密等级,第一密钥、第二密钥和第三密钥的长度可以有所不同,用以表示不同密钥的复杂度,其中,第一密钥的长度小于第二密钥的长度,第二密钥的长度小于第三密钥的长度,例如,第一密钥为123,安全度较低,第二密钥为12345,安全度较高,第三密钥为12345678,安全度最高,可以理解的是,本实施例中的第一高音门限值和第一中音门限值可以基于实际情况进行设定,第一密钥、第二密钥以及第三密钥的长度也可以基于实际情况进行设定,本实施例只是举例说明。
因此,若语音强度大于或等于第一高音门限值,则第一终端利用该语音强度对应的第一密钥对当前的语音帧信息进行低等加密,即利用诸如123在该语言帧信息中穿插的方式将该语音帧信息进行拨乱;若语音强度小于第一高音门限值,且大于或等于第一中音门限值,则第一终端利用该语音强度对应的第二密钥对当前的语音帧信息进行中等加密,即利用诸如12345在该语言帧信息中穿插的方式将该语音帧信息进行拨乱;若语音强度小于第一中音门限值,则第一终端利用语音强度对应的第三密钥对将当前的语音帧信息进行深度加密,即利用诸如12345678在该语言帧信息中穿插的方式将该语音帧信息进行拨乱。从上可知,由于密钥长度的不同,语音帧信息被拨乱的程度不同,由此实现了语音帧信息的不同加密等级。
需要说明的是,本实施例中上述说明的第一密钥、第二密钥以及第三密钥除了可以是数字,还可以是字母、字符等,第一终端利用密钥进行加密的方式除了上述说明的拨乱,也还可以是其它的加密类型,具体此处均不做限定。
可以理解的是,本实施例以第一高音门限值和第一中音门限值划分的高、中、低三个语音强度区域对语音帧信息做不同的加密处理为例进行说明,在实际应用中,第一终端还可以进行更细化的区分,比如在中音区分为中高音区和低高音区,只要针对每一个区分的语音强度区域可以预设对应的密钥即可。
可选地,第一终端可以在语音帧信息的目标位置对语音强度进行标识,即在语音帧信息的目标位置做第一密钥对应的高音强度标识或第二密钥对应的中音强度标识或第三密钥对应的低音强度标识,以指示第二终端接收到的语音帧信息的加密等级。
需要说明的是,本实施例中的第一高音门限值和第一中音门限值可以在第一终端出厂前基于实际统计情况进行设定。
在步骤130、第一终端将加密以及标识后的语音帧信息发送至第二终端。
当第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密,并将语音强度在语音帧信息的目标位置进行标识后,可以将加密以及标识后的语音帧信息进行封装,并将封装后的语音帧信息发送至第二终端。
本实施例中,传输语音帧信息的通道可以为基于4G通讯的TDDLTE、FDDLTE网络的语音信道,也可以是其它语音通道,具体此处不做限定。
本实施例中,第一终端可以根据用户在当前通信过程的语音强度对应的密钥对当前的语音帧信息进行加密处理,即用户可以通过控制通话的语音强度来自主调控语音帧信息的加密等级,用户通信的语音越强,加密等级越低,反之,则加密等级越高,安全性也越高,充分保障了用户需要针对不同级别的隐私内容进行加密处理的需求,同时自主调节加密等级的方式,也可以在一定程度上减小第一终端处理器的负荷。
请参阅图2,本公开的语音加密方法的另一实施例包括:步骤210至250。
本实施例中的步骤210与图1所示实施例中的步骤110相同,此处不再赘述。
在步骤220、第一终端判断语音强度是否小于第二高音门限值,若否,则执行步骤230,若是,则执行步骤240;
本实施例中,当第一终端获取用户在当前通信过程中的语音强度之后,可以判断该语音强度是否大于第二高音门限值。
在实际应用中,为了减少第一终端处理器的负荷,第一终端可以预设第二高音门限值,用以判断用户在当前通信过程中的语音强度是否小于第二高音门限值,意味着若语音强度大于或等于第二高音门限值,则第一终端默认为不需 要为用户当前的通信语音进行保密处理,不涉及用户隐私安全,反之则需要。
可以理解的是,本实施例中的第二高音门限值可以在第一终端出厂前基于实际统计情况进行设定。
在步骤230、执行其它流程;
若终端判断语音强度大于或等于第二高音门限值,说明用户的语音强度在以第二高音门限值划分的高音区,用户此时不需要将当前的语音帧信息进行保密处理,那么第一终端可以将当前的语音帧信息不进行任何加密处理,也不需要对该语音强度在语音帧信息的目标位置进行标识,可以直接将该语音帧信息发送至第二终端,对应地,第二终端也不需要相应地对接收到的语音帧信息进行解密处理。
在步骤240、第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密,并将语音强度在语音帧信息的目标位置进行标识;
基于图1所示实施例说明的部分内容,本实施例中,若终端判断语音强度小于第二高音门限值,说明用户此时需要第一终端为当前的语音帧信息进行加密处理,从而终端可以利用语音强度对应的密钥对当前的语音帧信息进行加密,并将语音强度在语音帧信息的目标位置进行标识。
本实施例中,第一终端利用语音强度对应的密钥对当前的语音帧信息进行加密的具体方式可以为:
若语音强度小于第二高音门限值,且大于或等于第二中音门限值,则第一终端利用语音强度对应的第四密钥对当前的语音帧信息进行中等加密;
或,
若语音强度小于第二中音门限值,则第一终端利用语音强度对应的第五密钥对将当前的语音帧信息进行深度加密。
在实际应用中,假设第一终端还可以进行第二中音门限值的预设,进而可以进行相应密钥的预设,那么第一终端可以利用第二高音门限值和第二中音门限值将用户的语音强度相应地划分为高音区、中音区和低音区三个区域,结合上述步骤230说明的内容,第一终端可以根据第二高音门限值和第二低音门限值预设中音区对应的第四密钥,以及低音区对应的第五密钥,且第四密钥的长度小于第五密钥的长度,例如,第四密钥为12345,安全度较高,第五密钥为12345678,安全度最高,本实施例中的第四密钥以及第五密钥的长度可以基于实际情况进行设定,本实施例只是举例说明。
由于当用户在当前通信过程中处于高音区时,第一终端可以不对当前的语音帧信息进行加密处理,那么若语音强度小于第二高音门限值,且大于或等于第二中音门限值,则第一终端利用该语音强度对应的第四密钥对当前的语音帧信息进行中等加密,即利用诸如12345在该语言帧信息中穿插的方式将该语音帧信息进行拨乱;若语音强度小于第二中音门限值,则第一终端利用语音强度对应的第五密钥对将当前的语音帧信息进行深度加密,即利用诸如12345678在该语言帧信息中穿插的方式将该语音帧信息进行拨乱。从上可知,由于第四密钥长度和第五密钥长度的不同,语音帧信息被拨乱的程度不同,由此实现了语音帧信息的不同加密等级。
需要说明的是,本实施例中上述说明的第四密钥以及第五密钥除了可以是数字,还可以是字母、字符等,第一终端利用密钥进行加密的方式除了上述说明的拨乱,也还可以是其它的加密类型,具体此处均不做限定。
可以理解的是,本实施例以第二高音门限值和第二中音门限值划分的中、低两个语音强度区域对语音帧信息做不同的加密处理为例进行说明,在实际应用中,第一终端还可以进行更细化的区分,比如在中音区分为中高音区和低高音区,只要在非需要进行加密的语音强度区域外,能够针对每一个区分的语音强度区域可以预设对应的密钥即可。
可选地,在需要对当前的语音帧信息进行加密处理的基础上,第一终端可以在语音帧信息的目标位置对语音强度进行标识,即在语音帧信息的目标位置做第四密钥对应的中音强度标识或第五密钥对应的低音强度标识,以指示第二终端接收到的语音帧信息的加密等级,而不需要在语音帧信息的目标位置做高音强度标识。
需要说明的是,本实施例中的第二中音门限值也可以在第一终端出厂前基于实际统计情况进行设定。
基于上述实施例说明的有益效果,本实施例中的第一终端将不对处于高音区的语音帧信息进行加密处理,即默认为当用户使用第二高音门限值或以上的语音强度进行通信时,不需要对通话内容进行隐私保护,但当用户使用第二高音门限值以下的语音强度进行通信时,第一终端可以自动根据对应的密钥对通话内容进行相应的隐私保护,从而可以更有效地减小第一终端处理器的负荷。
本实施例中的步骤250与图1所示实施例中的步骤130相同,此处不再赘述。
需要说明的是,图1所示实施例中的第一高音门限值以及第一中音门限值可 以与图2所示实施例中对应的第二高音门限值以及第二中音门限值相同或不同,图1所示实施例中的第二密钥以及第三密钥可以分别与图2所示实施例中对应的第四密钥以及第五密钥相同或不同,终端可基于实际情况进行设定,具体此处不做限定。
上面从第一终端一侧说明了语音加密的方法,下面从第二终端一侧对语音解密方法的流程进行说明,请参阅图3,本公开提供的语音解密方法一个实施例包括:步骤310-340。
在步骤310、第二终端接收第一终端发送的语音帧信息;
本实施例中,第二终端也为可以进行语音操作的设备,可以包括但不限于智能手机、平板电脑等,可以通过在诸如智能手机或平板电脑上安装应用的方式,也可以是安装软件的方式来实现语音通信。当第一终端检测到用户在进行通信时,可以接收第一终端发送的语音帧信息。
本实施例中,第二终端可以是主叫方一侧,也可以是被叫方一侧,具体此处不做限定。
在步骤320、第二终端解析语音帧信息是否包括语音强度标识,若否,则执行步骤330,若是,则执行步骤340;
当第二终端接收到第一终端发送的语音帧信息后,可以对该语音帧信息进行解码处理,并可以解析该语音帧信息是否包括语音强度标识。
具体的,在实际应用中,由于第一终端可以在语音帧信息的目标位置做语音强度标识,从而当第二终端接收到语音帧信息后,可以在语音帧的目标位置查找是否有语音强度标识。
在步骤330、执行其它流程;
若第二终端解析语音帧信息不包括语音强度标识,则说明第一终端没有对语音帧进行加密处理,第二终端可以不需要对语音帧信息进行解密处理,并可以将该解码后的语音帧信息直接传送至听筒。
在步骤340、第二终端利用语音强度标识对应的密钥对语音帧信息进行解密。
若第二终端解析语音帧信息包括语音强度标识,则第二终端可以利用语音强度标识对应的密钥对语音帧信息进行解密。
本实施例中,第二终端利用语音强度标识对应的密钥对语音帧信息进行解密的方式可以为:
若语音强度标识为高音强度标识,则第二终端利用高音强度标识对应的第一密钥对语音帧信息进行解密;
或,
若语音强度标识为中音强度标识,则第二终端利用中音强度标识对应的第二密钥对语音帧信息进行解密;
或,
若语音强度标识为低音强度标识,则第二终端利用低音强度标识对应的第三密钥对语音帧信息进行解密。
在实际应用中,假设第一终端与第二终端协商将用户的语音强度分为高音区、中音区和低音区三个区域,那么根据第一终端对语音帧信息加密的实际情况,第二终端可以确定相应的语音强度标识,例如高音强度标识,或中音强度标识,或低音强度标识。接着,第二终端可以根据该语音强度标识确定对应的密钥,再利用密钥对语音帧信息进行解密,即,若语音强度标识为高音强度标识,则第二终端利用高音强度标识对应的第一密钥对语音帧信息进行解密;若语音强度标识为中音强度标识,则第二终端利用中音强度标识对应的第二密钥对语音帧信息进行解密;若语音强度标识为低音强度标识,则第二终端利用低音强度标识对应的第三密钥对语音帧信息进行解密。可以理解的是,本实施中的第一密钥、第二密钥以及第三密钥可以分别对应于图1所述实施例中说明的第一密钥、第二密钥以及第三密钥,第二密钥以及第三密钥也可以分别对应于也可以对应图2所示实施例中的第四密钥、第五密钥,对于第二终端来说,只会从语音镇信息里面提取相应的语音强度标识对应的密钥,具体该密钥的内容及长度由第一终端基于实际情况决定。
例如,假设第二终端解析的是中音强度标识,语音帧信息为20比特位,且第一终端是利用诸如12345的第二密钥对语音帧信息进行拨乱加密,如分别在语音帧信息的第3、7、10、16、和19比特位进行拨乱加密,那么终端可以根据中音强度标识在语音帧信息中的第3、7、10、16、和19比特位提取相应的第二密钥12345,再可以将提取第二密钥后的语音帧信息按照目标顺序重新合成解密后的语音帧信息,并可以将该解密后的语音帧信息传送至听筒。需要说明的是,本实施例中第二密钥的长度可以基于实际情况进行设定,本实施例只是举例说明
可以理解的是,第一密钥、第二密钥和第三密钥均不同,可以依据第一终 端的加密等级而定,而本实施例中上述说明的第二密钥以及第三密钥除了可以是数字,还可以是字母、字符等,第二终端利用语音强度对应的密钥进行解密的方式除了依据上述方案,也还可以根据其它的加密类型而确定,具体此处均不做限定。
本实施例中,若第二终端解析到语音帧信息不包括语音强度标识,则不需要对语音帧信息进行解密处理,而当第二终端解析到语音帧信息包括语音强度标识后,可以利用该语音强度标识对应的密钥进行解密,由于不同的语音强度标识可以对应不同的密钥,从而第二终端可以有选择性地对语音帧信息不同等级的解密,避免了第二终端总是使用同一高强度的解密方式对语音帧信息进行解密,由此大大地减少了第二终端处理器的负荷,同时保证了通信双方的通话安全。
上面对本公开实施例中的语音加密方法以及语音解密方法进行了描述,下面对本公开实施例中的加密装置以及解密装置进行描述,请参阅图4,本公开提供的加密装置一个实施例包括:获取模块401、加密模块402、标识模块403以及发送模块404。
获取模块401,配置为获取用户在当前通信过程中的语音强度;
加密模块402,配置为利用语音强度对应的密钥对当前的语音帧信息进行加密;
标识模块403,配置为将语音强度在语音帧信息的目标位置进行标识;
发送模块404,配置为将加密以及标识后的语音帧信息发送至第二终端。
本实施例中,加密模块402可以进一步包括:
第一加密单元4021,配置为对当语音强度大于或等于第一高音门限值时,则利用语音强度对应的第一密钥对当前的语音帧信息进行低等加密;
或,
第二加密单元4022,配置为当语音强度小于第一高音门限值,且大于或等于第一中音门限值时,则利用语音强度对应的第二密钥对当前的语音帧信息进行中等加密;
或,
第三加密单元4023,配置为当语音强度小于第一中音门限值时,则利用语音强度对应的第三密钥对将当前的语音帧信息进行深度加密。
需要说明的是,本实施例中只有加密以及标识后的语音帧信息才会发送至 第二终端,从而本实施例中除了图4所示的连接关系,也可以是获取模块401与标识模块403相连,标识模块403再与加密模块402相连,加密模块402再与发送模块404相连。
本实施例中,加密模块402可以根据用户在当前通信过程的语音强度对应的密钥对当前的语音帧信息进行加密处理,即用户可以自主控制通话的语音强度来调控语音帧信息的加密等级,用户通信的语音越强,加密等级越低,反之,则加密等级越高,安全性也越高,充分保障了用户需要针对不同级别的隐私内容进行加密处理的需求,同时自主调节加密等级的方式,也可以在一定程度上减小第一终端处理器的负荷。
请参阅图5,本公开提供的加密装置另一实施例包括:
本实施例中的模块501与图4所示实施例中的模块401相同,此处不再赘述。
判断模块502,配置为判断语音强度是否小于第二高音门限值;
本实施例中的模块503与图4所示实施例中的模块402相同,模块504与图4所示实施例中的模块403相同,此处不再赘述。
触发模块505,配置为当判断模块502判断语音强度小于第二高音门限值时,则触发加密模块503利用语音强度对应的密钥对语音帧信息进行加密,并触发标识模块504将语音强度在语音帧信息的目标位置进行标识。
本实施例中的模块506与图4所示实施例中的模块404相同,此处不再赘述。
本实施例中,加密模块503可以进一步包括:
第四加密单元5031,配置为当语音强度小于第二高音门限值,且大于或等于第二中音门限值时,则利用语音强度对应的第四密钥对当前的语音帧信息进行中等加密;
或,
第五加密单元5032,配置为当语音强度小于第二中音门限值时,则利用语音强度对应的第五密钥对将当前的语音帧信息进行深度加密。
需要说明的是,本实施例中触发模块505可以触发加密模块503执行相应的操作,也可以执行标识模块504执行相应的操作,但只有加密以及标识后的语音帧信息才会发送至第二终端,从而在图5所示本实施例中也可以是标识模块504与加密模块503相连,加密模块503再与发送模块506相连。
基于图4所示实施例说明的有益效果,本实施例中的加密模块503将不对处于高音区的语音帧信息进行加密处理,即默认为当用户使用高音门限值或以上 的语音强度进行通信时,不需要对通话内容进行隐私保护,但当用户使用第二高音门限值以下的语音强度进行通信时,第一终端可以自动根据对应的密钥对通话内容进行相应的隐私保护,从而可以更有效地减小第一终端处理器的负荷。
请参阅图6,本公开实施例中解密装置一个实施例包括:
接收模块601,配置为接收第一终端发送的语音帧信息;
解析模块602,配置为解析语音帧信息是否包括语音强度标识;
解密模块603,配置为若当语音帧信息包括语音强度标识时,则利用语音强度标识对应的密钥对语音帧信息进行解密。
本实施例中,解密模块603可以进一步包括:
第一解密单元6031,配置为当语音强度标识为高音强度标识时,则利用高音强度标识对应的第一密钥对语音帧信息进行解密;
或,
第二解密单元6032,配置为当语音强度标识为中音强度标识时,则利用中音强度标识对应的第二密钥对语音帧信息进行解密;
或,
第三解密单元6033,配置为当语音强度标识为低音强度标识时,则利用低音强度标识对应的第三密钥对语音帧信息进行解密。
本实施例中,若解析模块602解析到语音帧信息不包括语音强度标识,则不需要对语音帧信息进行解密处理,而当解析模块602解析到语音帧信息包括语音强度标识后,解密模块603可以利用该语音强度标识对应的密钥进行解密,由于不同的语音强度标识可以对应不同的密钥,从而解密模块603可以有选择性地对语音帧信息不同等级的解密,避免了第二终端总是使用同一高强度的解密方式对语音帧信息进行解密,由此大大地减少了第二终端处理器的负荷,同时保证了通信双方的通话安全。
本实施例提供的终端,通过设置上述任一项实施例中的加密装置和/或解密装置,从而具有加密装置和/或解密装置所具有的一切有益效果,在此不再赘述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性 的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
本公开的实施例还提供一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述的语音加密及解密方法。
请参考图7,图7是本发明实施例公开的一种移动终端的结构示意图。本发明实施例中的移动终端例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备等。如图7所示,本发明实施例中的移动终端包括:至少一个处理器701,例如CPU,至少一个接收器703,至少一个存储器704,至少一个发送器705,至少一个通信总线702。其中,通信总线702用于实现这些组件之间的连接通信。其中,本发明实施例中装置的接收器703和发送器705可以是有线发送端口,也可 以为无线设备,例如包括天线装置,用于与其他节点设备进行信今或数据的通信。存储器704可以是高速RAM存储器,也可以是非易失性的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器704可选的还可以是至少一个位于远离前述处理器701的存储装置。存储器704中存储一组程序代码,且所述处理器701可通过通信总线702,调用存储器704中存储的代码以执行上述实施例的语音加密及解密方法。以上所述,以上实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的精神和范围。
工业实用性
本公开实施例提供了一种语音加密及解密方法、加密及解密装置以及终端,能够通过语音强度的不同对语音帧信息做不同的加密等级处理,从而增加了终端的通话安全性,减小了终端因加密而产生的负荷,并且可以让用户通过控制自己的语音强度,实现用户自主选择加密语音帧信息和加密语音帧信息的等级。

Claims (18)

  1. 一种语音加密方法,包括:
    第一终端获取当前通信过程中的语音强度;
    所述第一终端利用所述语音强度对应的密钥对当前的语音帧信息进行加密,并将所述语音强度在所述语音帧信息的目标位置进行标识;以及
    所述第一终端将加密以及标识后的所述语音帧信息发送至第二终端。
  2. 根据权利要求1所述的语音加密方法,其中,所述第一终端利用所述语音强度对应的密钥对当前的语音帧信息进行加密包括:
    若所述语音强度大于或等于第一高音门限值,则所述第一终端利用第一密钥对所述当前的语音帧信息进行低等加密;
    若所述语音强度小于所述第一高音门限值,且大于或等于第一中音门限值,则所述第一终端利用第二密钥对所述当前的语音帧信息进行中等加密;
    若所述语音强度小于所述第一中音门限值,则所述第一终端利用第三密钥对将所述当前的语音帧信息进行深度加密。
  3. 根据权利要求2所述的语音加密方法,其中,所述第一密钥的长度小于所述第二密钥的长度,所述第二密钥的长度小于第三密钥的长度。
  4. 根据权利要求1所述的语音加密方法,其中,在所述第一终端利用所述语音强度对应的密钥对当前的语音帧信息进行加密之前,所述方法还包括:
    所述第一终端判断所述语音强度是否小于第二高音门限值;
    若语音强度小于第二高音门限值,则触发所述第一终端利用所述语音强度对应的密钥对当前的语音帧信息进行加密,并将所述语音强度在所述语音帧信息的目标位置进行标识的步骤。
  5. 根据权利要求4所述的语音加密方法,其中,所述第一终端利用所述语音强度对应的密钥对当前的语音帧信息进行加密包括:
    若所述语音强度小于所述第二高音门限值,且大于或等于第二中音门限值,则所述第一终端利用第四密钥对所述当前的语音帧信息进行中等加密;
    若所述语音强度小于所述第二中音门限值,则所述第一终端利用第五密钥对将所述当前的语音帧信息进行深度加密。
  6. 根据权利要求5所述的语音加密方法,其中,所述第四密钥的长度小于第五密钥的长度。
  7. 一种语音解密方法,包括:
    终端接收语音帧信息;
    所述终端解析所述语音帧信息是否包括语音强度标识;
    若终端解析所述语音帧信息包括语音强度标识,则所述终端利用所述语音强度标识对应的密钥对所述语音帧信息进行解密。
  8. 根据权利要求7所述的语音解密方法,其中,所述终端利用所述语音强度标识对应的密钥对所述语音帧信息进行解密包括:
    若所述语音强度标识为高音强度标识,则所述终端利用所述高音强度标识对应的第一密钥对所述语音帧信息进行解密;
    若所述语音强度标识为中音强度标识,则所述终端利用所述中音强度标识对应的第二密钥对所述语音帧信息进行解密;
    若所述语音强度标识为低音强度标识,则所述终端利用所述低音强度标识对应的第三密钥对所述语音帧信息进行解密。
  9. 一种加密装置,包括:
    获取模块,配置为获取当前通信过程中的语音强度;
    加密模块,配置为利用所述语音强度对应的密钥对当前的语音帧信息进行加密;
    标识模块,配置为将所述语音强度在所述语音帧信息的目标位置进行标识;
    发送模块,配置为将加密以及标识后的所述语音帧信息发送至第二终端。
  10. 根据权利要求9所述的加密装置,其中,所述加密模块包括:
    第一加密单元,配置为对当所述语音强度大于或等于第一高音门限值时,则利用所述语音强度对应的第一密钥对所述当前的语音帧信息进行低等加密;
    第二加密单元,配置为当所述语音强度小于所述第一高音门限值,且大于或等于第一中音门限值时,则利用所述语音强度对应的第二密钥对所述当前的语音帧信息进行中等加密;
    第三加密单元,配置为当所述语音强度小于所述第一中音门限值时,则利用所述语音强度对应的第三密钥对将所述当前的语音帧信息进行深度加密。
  11. 根据权利要求10所述的加密装置,其中,所述第一密钥的长度小于所述第二密钥的长度,所述第二密钥的长度小于第三密钥的长度。
  12. 根据权利要求9所述的加密装置,还包括:
    判断模块,配置为判断所述语音强度是否小于第二高音门限值;
    触发模块,配置为当判断模块判断所述语音强度小于所述第二高音门限值时,则触发加密模块利用所述语音强度对应的密钥对当前的语音帧信息进行加密,并触发标识模块将所述语音强度在所述语音帧信息的目标位置进行标识。
  13. 根据权利要求12所述的加密装置,其中,所述加密模块包括:
    第四加密单元,配置为当所述语音强度小于所述第二高音门限值,且大于或等于第二中音门限值时,则利用所述语音强度对应的第四密钥对所述当前的语音帧信息进行中等加密;
    第五加密单元,配置为当所述语音强度小于所述第二中音门限值时,则利用所述语音强度对应的第五密钥对将所述当前的语音帧信息进行深度加密。
  14. 根据权利要求13所述的加密装置,其中,所述第四密钥的长度小于第五密钥的长度。
  15. 一种解密装置,包括:
    接收模块,配置为接收第一终端发送的语音帧信息;
    解析模块,配置为解析所述语音帧信息是否包括语音强度标识;
    解密模块,配置为若当所述语音帧信息包括所述语音强度标识时,则利用所述语音强度标识对应的密钥对所述语音帧信息进行解密。
  16. 根据权利要求15所述的解密装置,其中,所述解密模块包括:
    第一解密单元,配置为当所述语音强度标识为高音强度标识时,则利用所述高音强度标识对应的第一密钥对所述语音帧信息进行解密;
    第二解密单元,配置为当所述语音强度标识为中音强度标识时,则利用所述中音强度标识对应的第二密钥对所述语音帧信息进行解密;
    第三解密单元,配置为当所述语音强度标识为低音强度标识时,则利用所述低音强度标识对应的第三密钥对所述语音帧信息进行解密。
  17. 一种终端,包括如权利要求9至14中任一项所述的加密装置和/或如权利要求14至15中任一项所述的解密装置。
  18. 一种非瞬时性计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-8任一项所述的语音加密方法。
PCT/CN2016/092481 2016-03-31 2016-07-30 语音加密及解密方法、加密及解密装置以及终端 Ceased WO2017166556A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610197068.2A CN105871842B (zh) 2016-03-31 2016-03-31 一种语音加密及解密方法、加密及解密装置以及终端
CN201610197068.2 2016-03-31

Publications (1)

Publication Number Publication Date
WO2017166556A1 true WO2017166556A1 (zh) 2017-10-05

Family

ID=56627564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092481 Ceased WO2017166556A1 (zh) 2016-03-31 2016-07-30 语音加密及解密方法、加密及解密装置以及终端

Country Status (2)

Country Link
CN (1) CN105871842B (zh)
WO (1) WO2017166556A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106534154B (zh) * 2016-11-30 2019-09-13 Oppo广东移动通信有限公司 一种信息加密方法、装置及终端
CN110545176B (zh) * 2019-08-23 2021-08-13 深圳数联天下智能科技有限公司 加密和解密方法、装置以及物联网系统
CN112188414B (zh) * 2020-09-23 2022-06-03 恒宝股份有限公司 一种多组终端安全交互方法及中继设备
EP4679419A1 (en) * 2024-07-08 2026-01-14 Wallife S.p.A. Authentication method and system by voice identification

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114450A (zh) * 2007-07-20 2008-01-30 华中科技大学 一种语音编码选择性加密方法
US20090169001A1 (en) * 2007-12-28 2009-07-02 Cisco Technology, Inc. System and Method for Encryption and Secure Transmission of Compressed Media
CN101764666A (zh) * 2009-12-24 2010-06-30 中国电信股份有限公司 语音加密的方法及装置、语音解密的方法及装置
CN102811439A (zh) * 2011-06-02 2012-12-05 中兴通讯股份有限公司 语音处理方法及系统
CN104766604A (zh) * 2015-04-02 2015-07-08 努比亚技术有限公司 语音数据的标记方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005352B (zh) * 2007-01-23 2010-10-27 华为技术有限公司 一种防范网络游戏外挂的方法、系统、服务器及终端设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114450A (zh) * 2007-07-20 2008-01-30 华中科技大学 一种语音编码选择性加密方法
US20090169001A1 (en) * 2007-12-28 2009-07-02 Cisco Technology, Inc. System and Method for Encryption and Secure Transmission of Compressed Media
CN101764666A (zh) * 2009-12-24 2010-06-30 中国电信股份有限公司 语音加密的方法及装置、语音解密的方法及装置
CN102811439A (zh) * 2011-06-02 2012-12-05 中兴通讯股份有限公司 语音处理方法及系统
CN104766604A (zh) * 2015-04-02 2015-07-08 努比亚技术有限公司 语音数据的标记方法及装置

Also Published As

Publication number Publication date
CN105871842B (zh) 2020-04-07
CN105871842A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
US9015487B2 (en) Apparatus and method for virtual pairing using an existing wireless connection key
US9401902B2 (en) Method for exchanging strong encryption keys between devices using alternate input methods in wireless personal area networks (WPAN)
CN203279187U (zh) 一种带指纹识别的语音加密蓝牙耳机
US10038676B2 (en) Call encryption systems and methods
CN103222290B (zh) 用于发送和接收安全数据和非安全数据的方法和装置
US20160112411A1 (en) One time credentials for secure automated bluetooth pairing
CN108616878B (zh) 一种加密解密方法、设备和计算机存储介质
WO2017166556A1 (zh) 语音加密及解密方法、加密及解密装置以及终端
US11006464B2 (en) Method, apparatus, storage medium, and terminal for establishing a Wi-Fi connection
JP2014502461A5 (ja) セキュアデータおよび非セキュアデータを送受信するための方法および装置
CN111050321A (zh) 一种数据处理方法、装置及存储介质
US12058247B2 (en) Secure communication device equipped with quantum encryption chip based quantum random number and method of providing secure communication service using the same
JP2018129793A (ja) 聴覚システムの通信方法及び関連する装置
EP2809045A2 (en) Information security attachment device for voice communication and information security method for voice communication using the same
EP3185509B1 (en) Authentication of base station and headset
KR20160121828A (ko) 단말간 음성 및 데이터 통신시 도청을 방지하기 위한 분리형 비화장치 및 방법
KR102308247B1 (ko) 양자난수 기반의 양자암호화칩이 탑재된 비화기기 및 이를 이용한 비화통신 서비스 제공방법
CN105827601A (zh) 移动设备数据加密应用方法及系统
KR101949918B1 (ko) 가시광 통신을 이용한 무선 인터넷 보안 접속인증 방법, 장치 및 시스템
KR100417125B1 (ko) 무선통신 단말의 비화통신모드 자동 진입 방법
WO2009131549A1 (en) Mobile communication device protection system and method
KR101293260B1 (ko) 이동 통신 단말 및 방법
CN114629630A (zh) 初始化矢量生成方法、装置及相关设备
Berchtold et al. Secure communication protocol for a low-bandwidth audio channel
KR101262791B1 (ko) 암호 통제 시스템

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16896328

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896328

Country of ref document: EP

Kind code of ref document: A1