CN108092964A - For the method and its electric terminal of the protection call voice of electric terminal - Google Patents

For the method and its electric terminal of the protection call voice of electric terminal Download PDF

Info

Publication number
CN108092964A
CN108092964A CN201711307193.5A CN201711307193A CN108092964A CN 108092964 A CN108092964 A CN 108092964A CN 201711307193 A CN201711307193 A CN 201711307193A CN 108092964 A CN108092964 A CN 108092964A
Authority
CN
China
Prior art keywords
thread
call voice
voice data
decryption
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711307193.5A
Other languages
Chinese (zh)
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.)
Samsung Guangzhou Mobile R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Guangzhou Mobile R&D Center
Samsung Electronics 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 Samsung Guangzhou Mobile R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Guangzhou Mobile R&D Center
Priority to CN201711307193.5A priority Critical patent/CN108092964A/en
Publication of CN108092964A publication Critical patent/CN108092964A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of method and its electric terminal of the protection call voice for electric terminal are provided.The electric terminal includes modem and application processor, wherein, the described method includes:(A) when proceeding by call voice encryption, application processor receives call voice data packet to be encrypted from modem;(B) application processor calls encryption/decryption module that the call voice data packet to be encrypted received is encrypted;(C) encrypted call voice data packet is sent to modem by application processor.According to the method and its electric terminal, call voice data are encrypted by general application processor so that more general to the exploitation of call voice data encryption and easy.

Description

For the method and its electric terminal of the protection call voice of electric terminal
Technical field
All things considered of the present invention is related to electric terminal field, more particularly, is related to a kind of protection for electric terminal The method and its electric terminal of call voice.
Background technology
For the voice communication by circuit-switched networks such as GSM, WCDMA, CDMA, due to the voice number of transmission over networks It according to the data for being standard code mode, is easily stolen by people, therefore, it is necessary to voice data is encrypted.Due to voice data The flows such as compression and protocol code are all to be held to perform by modem (modem), so usually carrying out voice by modem ends Data encryption is generally encrypted after voice data is compressed, then carries out protocol code again, correspondingly, is being transferred to downlink It during the respective stage of access, is decrypted after being decoded to voice data, then unzips it again.However, due to modulatedemodulate Device is adjusted using non-universal property operating system, so being not easy to develop voice data encryption and decryption flow in its operating system.
The content of the invention
Exemplary embodiment of the present invention be to provide a kind of protection call voice for electric terminal method and its Electric terminal, to solve the above problem existing in the prior art.
Exemplary embodiment according to the present invention provides a kind of method of the protection call voice for electric terminal, In, the electric terminal includes modem and application processor, which is characterized in that the described method includes:(A) when start into When row call voice is encrypted, application processor receives call voice data packet to be encrypted from modem;(B) application processing Device calls encryption/decryption module that the call voice data packet to be encrypted received is encrypted;(C) application processor will be encrypted Call voice data packet afterwards is sent to modem.
Optionally, in step (A), application processor is spaced to be added from modem reception one at predetermined time intervals Close call voice data packet.
Optionally, the encryption/decryption module is located at default storage location.
Optionally, application processor performs step (A), step (B) and step (C) using at least two threads, In, the parallel execution of different threads, and the step of different threads execution is different.
Optionally, at least two thread includes:Receiving thread, encryption and decryption thread and transmission thread, wherein, in step Suddenly in (A), application processor using receiving thread be spaced at predetermined time intervals from modem receive one it is to be encrypted logical VoP is talked about, and is cached to the first buffer pool;In step (B), application processor is slow from first using encryption and decryption thread Rush pond and read call voice data packet to be encrypted, call encryption/decryption module to the call voice data packet to be encrypted of reading into Row encryption, and by encrypted call voice data pack buffer to the second buffer pool;In step (C), application processor utilizes It sends thread and reads encrypted call voice data packet from the second buffer pool, and be sent to modem.
Optionally, at least two thread includes:Encryption and decryption thread and transmission thread, wherein, it, should in step (A) Receive from the radio interface layer of modem one will be spaced at predetermined time intervals with the radio interface layer of processor to treat Encrypted call voice data pack buffer is to the first buffer pool;In step (B), application processor is using encryption and decryption thread from the One buffer pool reads call voice data packet to be encrypted, calls to be encrypted call voice data of the encryption/decryption module to reading Bag is encrypted, and by encrypted call voice data pack buffer to the second buffer pool;In step (C), application processor Using thread is sent the wireless interface that encrypted call voice data packet is sent to application processor is read from the second buffer pool The encrypted call voice data packet received is sent to the nothing of modem by layer, the radio interface layer of application processor Line interface layer.
Optionally, at least two thread includes:Receiving thread and encryption and decryption thread, wherein, it, should in step (A) It is spaced at predetermined time intervals from modem using receiving thread with processor and receives a call voice data to be encrypted Bag, and it is cached to the 3rd buffer pool;In step (B) and step (C), application processor is buffered using encryption and decryption thread from the 3rd Call voice data packet to be encrypted is read in pond, and encryption/decryption module is called to carry out the call voice data packet to be encrypted of reading Encryption, and encrypted call voice data packet is sent to modem.
Optionally, at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step (A) and step (B) in, application processor using encryption and decryption thread be spaced at predetermined time intervals from modem receive one it is to be encrypted logical VoP is talked about, calls encryption/decryption module that the call voice data packet to be encrypted received is encrypted, and will encryption Call voice data pack buffer afterwards is to the 4th buffer pool;In step (C), application processor is slow from the 4th using thread is sent It rushes pond and reads encrypted call voice data packet, and be sent to modem.
Optionally, the method further includes:(D) when proceeding by call voice decryption, application processor is every predetermined Time interval receives a call voice data packet to be decrypted from modem;(E) application processor calls encryption and decryption mould The call voice data packet to be decrypted received is decrypted in block;(F) application processor is by the call voice number after decryption Modem is sent to according to bag.
Optionally, application processor performs step (D), step (E) and step (F) using at least two threads, In, the parallel execution of different threads, and the step of different threads perform is different, wherein, for perform the thread of step (A) and For perform the thread of step (D) for same thread or different threads, for the thread that performs step (B) and for performing step (E) thread is same thread or different threads, is for the thread that performs step (C) and for performing the thread of step (F) Same thread or different threads.
Optionally, for the thread that performs step (A) and for performing the thread of step (D) as same thread, for holding The thread of row step (B) and for performing the thread of step (E) as same thread, for performing the thread of step (C) and being used for The thread of step (F) is performed as same thread, wherein, at least two thread includes:Receiving thread, encryption and decryption thread and Thread is sent, wherein, in step (D), application processor is spaced at predetermined time intervals using receiving thread from modem A call voice data packet to be decrypted is received, and is cached to the first buffer pool;In step (E), application processor utilizes Encryption and decryption thread reads call voice data packet to be decrypted from the first buffer pool, calls encryption/decryption module to the to be decrypted of reading Call voice data packet be decrypted, and by the call voice data pack buffer after decryption to the second buffer pool;In step (F) In, application processor reads the call voice data packet after decryption using thread is sent from the second buffer pool, and is sent to modulation Demodulator.
Optionally, for the thread that performs step (A) and for performing the thread of step (D) as same thread, for holding The thread of row step (B) and for performing the thread of step (E) as same thread, for performing the thread of step (C) and being used for The thread of step (F) is performed as same thread, wherein, at least two thread includes:Encryption and decryption thread and transmission thread, In, in step (D), the radio interface layer of application processor will be spaced wireless interface from modem at predetermined time intervals A call voice data pack buffer to be decrypted receiving of layer is to the first buffer pool;In step (E), application processor profit Call voice data packet to be decrypted is read from the first buffer pool with encryption and decryption thread, encryption/decryption module is called to wait to solve to reading Close call voice data packet is decrypted, and by the call voice data pack buffer after decryption to the second buffer pool;In step (F) in, application processor is sent to application using thread is sent from the call voice data packet after the reading decryption of the second buffer pool The radio interface layer of processor, the radio interface layer of application processor send the call voice data packet after the decryption received To the radio interface layer of modem.
Optionally, for the thread that performs step (A) and for performing the thread of step (D) as same thread, for holding The thread of row step (B) and for performing the thread of step (E) as same thread, for performing the thread of step (C) and being used for The thread of step (F) is performed as same thread, wherein, at least two thread includes:Receiving thread and encryption and decryption thread, In, in step (D), application processor be spaced at predetermined time intervals using receiving thread from modem receive one wait to solve Close call voice data packet, and it is cached to the 3rd buffer pool;In step (E) and step (F), application processor utilizes plus solution Close thread reads call voice data packet to be decrypted from the first buffer pool, and encryption/decryption module is called to lead to the to be decrypted of reading Words VoP is decrypted, and the call voice data packet after decryption is sent to modem.
Optionally, for the thread that performs step (A) and for performing the thread of step (D) as same thread, for holding The thread of row step (B) and for performing the thread of step (E) as same thread, for performing the thread of step (C) and being used for The thread of step (F) is performed as same thread, wherein, at least two thread includes:Encryption and decryption thread and transmission thread, In, in step (D) and step (E), application processor is spaced at predetermined time intervals using encryption and decryption thread from modem A call voice data packet to be decrypted is received, calls encryption/decryption module to the call voice data packet to be decrypted that receives It is decrypted, and by the call voice data pack buffer after decryption to the 4th buffer pool;In step (F), application processor profit The call voice data packet after decryption is read from the 4th buffer pool with thread is sent, and is sent to modem.
In accordance with an alternative illustrative embodiment of the present invention, a kind of side of the protection call voice for electric terminal is provided Method, wherein, the electric terminal includes modem and application processor, which is characterized in that the described method includes:(A) when When proceeding by call voice decryption, application processor receives call voice data packet to be decrypted from modem;(B) should Call encryption/decryption module that the call voice data packet to be decrypted received is decrypted with processor;(C) application processor Call voice data packet after decryption is sent to modem.
Optionally, in step (A), application processor be spaced at predetermined time intervals from modem receive one wait to solve Close call voice data packet.
Optionally, the encryption/decryption module is located at default storage location.
Optionally, application processor performs step (A), step (B) and step (C) using at least two threads, In, the parallel execution of different threads, and the step of different threads execution is different.
Optionally, at least two thread includes:Receiving thread, encryption and decryption thread and transmission thread, wherein, in step Suddenly in (A), application processor using receiving thread be spaced at predetermined time intervals from modem receive one it is to be decrypted logical VoP is talked about, and is cached to the first buffer pool;In step (B), application processor is slow from first using encryption and decryption thread Rush pond and read call voice data packet to be decrypted, call encryption/decryption module to the call voice data packet to be decrypted of reading into Row decryption, and by the call voice data pack buffer after decryption to the second buffer pool;In step (C), application processor utilizes It sends thread and reads the call voice data packet after decryption from the second buffer pool, and be sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step (A), application The radio interface layer of processor will be spaced received from the radio interface layer of modem one and waits to solve at predetermined time intervals Close call voice data pack buffer is to the first buffer pool;In step (B), application processor utilizes encryption and decryption thread from first Buffer pool reads call voice data packet to be decrypted, calls to be decrypted call voice data packet of the encryption/decryption module to reading It is decrypted, and by the call voice data pack buffer after decryption to the second buffer pool;In step (C), application processor profit The call voice data packet read with transmission thread from the second buffer pool after decryption is sent to the radio interface layer of application processor, Call voice data packet after the decryption received is sent to the wireless of modem by the radio interface layer of application processor Interface layer;
And/or at least two thread includes:Receiving thread and encryption and decryption thread, wherein, in step (A), application Processor is spaced at predetermined time intervals from modem using receiving thread and receives a call voice data packet to be decrypted, And it is cached to the 3rd buffer pool;In step (B) and step (C), application processor utilizes encryption and decryption thread from the first buffer pool Call voice data packet to be decrypted is read, encryption/decryption module is called to solve the call voice data packet to be decrypted of reading It is close, and the call voice data packet after decryption is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step (A) and step (B) in, application processor using encryption and decryption thread be spaced at predetermined time intervals from modem receive one it is to be decrypted logical VoP is talked about, calls encryption/decryption module that the call voice data packet to be decrypted received is decrypted, and will decryption Call voice data pack buffer afterwards is to the 4th buffer pool;In step (C), application processor is slow from the 4th using thread is sent It rushes pond and reads the call voice data packet after decryption, and be sent to modem.
Optionally, the method further includes:(D) when proceeding by call voice encryption, application processor is every predetermined Time interval receives a call voice data packet to be encrypted from modem;(E) application processor calls encryption and decryption mould The call voice data packet to be encrypted received is encrypted in block;(F) application processor is by encrypted call voice number Modem is sent to according to bag.
Optionally, application processor performs step (D), step (E) and step (F) using at least two threads, In, the parallel execution of different threads, and the step of different threads perform is different, wherein, for perform the thread of step (A) and For perform the thread of step (D) for same thread or different threads, for the thread that performs step (B) and for performing step (E) thread is same thread or different threads, is for the thread that performs step (C) and for performing the thread of step (F) Same thread or different threads.
Optionally, for the thread that performs step (A) and for performing the thread of step (D) as same thread, for holding The thread of row step (B) and for performing the thread of step (E) as same thread, for performing the thread of step (C) and being used for The thread of step (F) is performed as same thread, wherein,
At least two thread includes:Receiving thread, encryption and decryption thread and transmission thread, wherein, in step (D) In, application processor is spaced at predetermined time intervals from modem using receiving thread and receives a call voice to be encrypted Data packet, and it is cached to the first buffer pool;In step (E), application processor is read using encryption and decryption thread from the first buffer pool Call voice data packet to be encrypted is taken, encryption/decryption module is called to add the call voice data packet to be encrypted of reading It is close, and by encrypted call voice data pack buffer to the second buffer pool;In step (F), application processor utilizes transmission Thread reads encrypted call voice data packet from the second buffer pool, and is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step (D), application It is to be added that the radio interface layer of processor will be spaced receive from the radio interface layer of modem one at predetermined time intervals Close call voice data pack buffer is to the first buffer pool;In step (E), application processor utilizes encryption and decryption thread from first Buffer pool reads call voice data packet to be encrypted, calls to be encrypted call voice data packet of the encryption/decryption module to reading It is encrypted, and by encrypted call voice data pack buffer to the second buffer pool;In step (F), application processor profit The radio interface layer of application processor is sent to from the encrypted call voice data packet of the second buffer pool reading with transmission thread, The encrypted call voice data packet received is sent to the wireless of modem by the radio interface layer of application processor Interface layer;
And/or at least two thread includes:Receiving thread and encryption and decryption thread, wherein, in step (D), application Processor is spaced at predetermined time intervals from modem using receiving thread and receives a call voice data packet to be encrypted, And it is cached to the 3rd buffer pool;In step (E) and step (F), application processor utilizes encryption and decryption thread from the 3rd buffer pool Call voice data packet to be encrypted is read, encryption/decryption module is called to add the call voice data packet to be encrypted of reading It is close, and encrypted call voice data packet is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step (D) and step (E) in, application processor using encryption and decryption thread be spaced at predetermined time intervals from modem receive one it is to be encrypted logical VoP is talked about, calls encryption/decryption module that the call voice data packet to be encrypted received is encrypted, and will encryption Call voice data pack buffer afterwards is to the 4th buffer pool;In step (F), application processor is slow from the 4th using thread is sent It rushes pond and reads encrypted call voice data packet, and be sent to modem.
In accordance with an alternative illustrative embodiment of the present invention, a kind of electric terminal is provided, wherein, the electric terminal includes adjusting Modulator-demodulator and application processor, which is characterized in that the application processor includes:First receiving unit, for when start into When row call voice is encrypted, call voice data packet to be encrypted is received from modem;Encryption unit, for calling plus solving The call voice data packet to be encrypted received is encrypted in close module;First transmitting element, for encrypted will lead to Words VoP is sent to modem.
Optionally, the first receiving unit is spaced at predetermined time intervals from modem and receives a call language to be encrypted Sound data packet.
Optionally, the encryption/decryption module is located at default storage location.
Optionally, the first receiving unit, encryption unit and the first transmitting element institute are performed using at least two threads The operation of execution, wherein, the parallel execution of different threads, and the operation that different threads perform is different.
Optionally, at least two thread includes:Receiving thread, encryption and decryption thread and transmission thread, wherein, first Receiving unit is spaced at predetermined time intervals from modem using receiving thread and receives a call voice data to be encrypted Bag, and it is cached to the first buffer pool;Encryption unit reads call voice to be encrypted from the first buffer pool using encryption and decryption thread Data packet calls encryption/decryption module that the call voice data packet to be encrypted of reading is encrypted, and by encrypted call VoP is cached to the second buffer pool;First transmitting element reads encrypted lead to using thread is sent from the second buffer pool VoP is talked about, and is sent to modem.
Optionally, at least two thread includes:Encryption and decryption thread and transmission thread, wherein, the first receiving unit leads to One received from the radio interface layer of modem will be spaced at predetermined time intervals by crossing the radio interface layer of application processor A call voice data pack buffer to be encrypted is to the first buffer pool;Encryption unit is read using encryption and decryption thread from the first buffer pool Call voice data packet to be encrypted is taken, encryption/decryption module is called to add the call voice data packet to be encrypted of reading It is close, and by encrypted call voice data pack buffer to the second buffer pool;First transmitting element utilizes and sends thread from second Buffer pool reads encrypted call voice data packet and is sent to the radio interface layer of application processor, and passes through application processor Radio interface layer the encrypted call voice data packet received is sent to the radio interface layer of modem.
Optionally, at least two thread includes:Receiving thread and encryption and decryption thread, wherein, the first receiving unit profit It is spaced at predetermined time intervals with receiving thread from modem and receives a call voice data packet to be encrypted, and be cached to 3rd buffer pool;Encryption unit reads call voice data packet to be encrypted from the 3rd buffer pool using encryption and decryption thread, calls The call voice data packet to be encrypted of reading is encrypted in encryption/decryption module;First transmitting element will using encryption and decryption thread Encrypted call voice data packet is sent to modem.
Optionally, at least two thread includes:Encryption and decryption thread and transmission thread, wherein, the first receiving unit profit It is spaced at predetermined time intervals from modem with encryption and decryption thread and receives a call voice data packet to be encrypted;Encryption is single Member is encrypted the call voice data packet to be encrypted received using encryption and decryption thread dispatching encryption/decryption module, and will add Call voice data pack buffer after close is to the 4th buffer pool;The utilization of first transmitting element sends thread and is read from the 4th buffer pool Encrypted call voice data packet, and it is sent to modem.
Optionally, the application processor further includes:Second receiving unit proceeds by call voice decryption for working as When, it is spaced at predetermined time intervals from modem and receives a call voice data packet to be decrypted;Decryption unit, for adjusting The call voice data packet to be decrypted received is decrypted with encryption/decryption module;Second transmitting element, for that will decrypt Call voice data packet afterwards is sent to modem.
Optionally, the second receiving unit, decryption unit and the second transmitting element institute are performed using at least two threads The operation of execution, wherein, the parallel execution of different threads, and the operation that different threads perform is different, wherein, first receives list The thread that the thread and the second receiving unit that member is utilized are utilized is utilized by same thread or different threads, encryption unit The thread that thread and decryption unit are utilized is utilized by same thread or different threads, the first transmitting element and the second transmission The thread that unit is utilized is same thread or different threads.
Optionally, the thread that the thread and the second receiving unit that the first receiving unit is utilized are utilized for same thread, The thread that the thread that the thread and decryption unit that encryption unit is utilized are utilized is utilized by same thread, the first transmitting element The thread utilized with the second transmitting element is same thread, wherein, at least two thread includes:Receiving thread plus solution Close thread and transmission thread, wherein, the second receiving unit is spaced at predetermined time intervals using receiving thread from modem A call voice data packet to be decrypted is received, and is cached to the first buffer pool;Decryption unit is using encryption and decryption thread from the One buffer pool reads call voice data packet to be decrypted, calls to be decrypted call voice data of the encryption/decryption module to reading Bag is decrypted, and by the call voice data pack buffer after decryption to the second buffer pool;Second transmitting element utilizes and sends line Journey reads the call voice data packet after decryption from the second buffer pool, and is sent to modem.
Optionally, the thread that the thread and the second receiving unit that the first receiving unit is utilized are utilized for same thread, The thread that the thread that the thread and decryption unit that encryption unit is utilized are utilized is utilized by same thread, the first transmitting element The thread utilized with the second transmitting element is same thread, wherein, at least two thread includes:Encryption and decryption thread and hair Line sending journey, wherein, the second receiving unit will be spaced by the radio interface layer of application processor from modulatedemodulate at predetermined time intervals The call voice data pack buffer to be decrypted that the radio interface layer of device receives is adjusted to the first buffer pool;Decryption unit profit Call voice data packet to be decrypted is read from the first buffer pool with encryption and decryption thread, encryption/decryption module is called to wait to solve to reading Close call voice data packet is decrypted, and by the call voice data pack buffer after decryption to the second buffer pool;Second hair Unit is sent to be sent to the nothing of application processor using the call voice data packet that thread read from the second buffer pool after decryption is sent Line interface layer, and the call voice data packet after the decryption received is sent to tune by the radio interface layer for passing through application processor The radio interface layer of modulator-demodulator.
Optionally, the thread that the thread and the second receiving unit that the first receiving unit is utilized are utilized for same thread, The thread that the thread that the thread and decryption unit that encryption unit is utilized are utilized is utilized by same thread, the first transmitting element The thread utilized with the second transmitting element is same thread, wherein, at least two thread includes:Receiving thread and plus solution Close thread, wherein, the second receiving unit be spaced at predetermined time intervals using receiving thread from modem receive one wait to solve Close call voice data packet, and it is cached to the 3rd buffer pool;Decryption unit is read using encryption and decryption thread from the first buffer pool Call voice data packet to be decrypted calls encryption/decryption module that the call voice data packet to be decrypted of reading is decrypted; Call voice data packet after decryption is sent to modem by the second transmitting element using encryption and decryption thread.
Optionally, the thread that the thread and the second receiving unit that the first receiving unit is utilized are utilized for same thread, The thread that the thread that the thread and decryption unit that encryption unit is utilized are utilized is utilized by same thread, the first transmitting element The thread utilized with the second transmitting element is same thread, wherein, at least two thread includes:Encryption and decryption thread and hair Line sending journey, wherein, the second receiving unit using encryption and decryption thread be spaced at predetermined time intervals from modem receive one treat The call voice data packet of decryption;Decryption unit is to be decrypted logical to what is received using encryption and decryption thread dispatching encryption/decryption module Words VoP is decrypted, and by the call voice data pack buffer after decryption to the 4th buffer pool;Second transmitting element The call voice data packet after decryption is read from the 4th buffer pool using thread is sent, and is sent to modem.
In accordance with an alternative illustrative embodiment of the present invention, a kind of electric terminal is provided, wherein, the electric terminal includes adjusting Modulator-demodulator and application processor, which is characterized in that the application processor includes:First receiving unit, for when start into When row call voice is decrypted, call voice data packet to be decrypted is received from modem;Decryption unit, for calling plus solving The call voice data packet to be decrypted received is decrypted in close module;First transmitting element, for logical after decrypting Words VoP is sent to modem.
Optionally, the first receiving unit is spaced at predetermined time intervals from modem and receives a call language to be decrypted Sound data packet.
Optionally, the encryption/decryption module is located at default storage location.
Optionally, the first receiving unit, decryption unit and the first transmitting element institute are performed using at least two threads The operation of execution, wherein, the parallel execution of different threads, and the operation that different threads perform is different.
Optionally, at least two thread includes:Receiving thread, encryption and decryption thread and transmission thread, wherein, first Receiving unit is spaced at predetermined time intervals from modem using receiving thread and receives a call voice data to be decrypted Bag, and it is cached to the first buffer pool;Decryption unit reads call voice to be decrypted from the first buffer pool using encryption and decryption thread Data packet calls encryption/decryption module that the call voice data packet to be decrypted of reading is decrypted, and by the call after decryption VoP is cached to the second buffer pool;First transmitting element reads leading to after decrypting using thread is sent from the second buffer pool VoP is talked about, and is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, the first receiving unit passes through The radio interface layer of application processor will be spaced one received from the radio interface layer of modem at predetermined time intervals Call voice data pack buffer to be decrypted is to the first buffer pool;Decryption unit is read using encryption and decryption thread from the first buffer pool Call voice data packet to be decrypted calls encryption/decryption module that the call voice data packet to be decrypted of reading is decrypted, And by the call voice data pack buffer after decryption to the second buffer pool;First transmitting element is buffered using thread is sent from second The call voice data packet that pond reads after decryption is sent to the radio interface layer of application processor, and passes through the nothing of application processor Call voice data packet after the decryption received is sent to the radio interface layer of modem by line interface layer;
And/or at least two thread includes:Receiving thread and encryption and decryption thread, wherein, the first receiving unit utilizes Receiving thread is spaced at predetermined time intervals from modem and receives a call voice data packet to be decrypted, and is cached to the Three buffer pools;Decryption unit reads call voice data packet to be decrypted from the first buffer pool using encryption and decryption thread, calls and adds The call voice data packet to be decrypted of reading is decrypted in deciphering module;First transmitting element will be solved using encryption and decryption thread Call voice data packet after close is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, the first receiving unit utilizes Encryption and decryption thread is spaced at predetermined time intervals from modem and receives a call voice data packet to be decrypted;Decryption unit The call voice data packet to be decrypted received is decrypted using encryption and decryption thread dispatching encryption/decryption module, and will decryption Call voice data pack buffer afterwards is to the 4th buffer pool;First transmitting element reads solution using thread is sent from the 4th buffer pool Call voice data packet after close, and it is sent to modem.
Optionally, the application processor further includes:Second receiving unit proceeds by call voice encryption for working as When, it is spaced at predetermined time intervals from modem and receives a call voice data packet to be encrypted;Encryption unit, for adjusting The call voice data packet to be encrypted received is encrypted with encryption/decryption module;Second transmitting element, for that will encrypt Call voice data packet afterwards is sent to modem.
Optionally, the second receiving unit, encryption unit and the second transmitting element institute are performed using at least two threads The operation of execution, wherein, the parallel execution of different threads, and the operation that different threads perform is different, wherein, first receives list The thread that the thread and the second receiving unit that member is utilized are utilized is utilized by same thread or different threads, decryption unit The thread that thread and encryption unit are utilized is utilized by same thread or different threads, the first transmitting element and the second transmission The thread that unit is utilized is same thread or different threads.
Optionally, the thread that the thread and the second receiving unit that the first receiving unit is utilized are utilized for same thread, The thread that the thread that the thread and encryption unit that decryption unit is utilized are utilized is utilized by same thread, the first transmitting element The thread utilized with the second transmitting element is same thread, wherein,
At least two thread includes:Receiving thread, encryption and decryption thread and transmission thread, wherein, second receives list Member is spaced at predetermined time intervals from modem using receiving thread and receives a call voice data packet to be encrypted, and is delayed It is stored to the first buffer pool;Encryption unit reads call voice data packet to be encrypted from the first buffer pool using encryption and decryption thread, Call encryption/decryption module that the call voice data packet to be encrypted of reading is encrypted, and by encrypted call voice data Bag is cached to the second buffer pool;Second transmitting element reads encrypted call voice number using thread is sent from the second buffer pool According to bag, and it is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, the second receiving unit passes through The radio interface layer of application processor will be spaced one received from the radio interface layer of modem at predetermined time intervals Call voice data pack buffer to be encrypted is to the first buffer pool;Encryption unit is read using encryption and decryption thread from the first buffer pool Call voice data packet to be encrypted calls encryption/decryption module that the call voice data packet to be encrypted of reading is encrypted, And by encrypted call voice data pack buffer to the second buffer pool;Second transmitting element is buffered using thread is sent from second Pond reads encrypted call voice data packet and is sent to the radio interface layer of application processor, and passes through the nothing of application processor The encrypted call voice data packet received is sent to the radio interface layer of modem by line interface layer;
And/or at least two thread includes:Receiving thread and encryption and decryption thread, wherein, the second receiving unit utilizes Receiving thread is spaced at predetermined time intervals from modem and receives a call voice data packet to be encrypted, and is cached to the Three buffer pools;Encryption unit reads call voice data packet to be encrypted from the 3rd buffer pool using encryption and decryption thread, calls and adds The call voice data packet to be encrypted of reading is encrypted in deciphering module;Second transmitting element will be added using encryption and decryption thread Call voice data packet after close is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, the second receiving unit utilizes Encryption and decryption thread is spaced at predetermined time intervals from modem and receives a call voice data packet to be encrypted;Encryption unit The call voice data packet to be encrypted received is encrypted using encryption and decryption thread dispatching encryption/decryption module, and will encryption Call voice data pack buffer afterwards is to the 4th buffer pool;Second transmitting element is added using thread is sent from the reading of the 4th buffer pool Call voice data packet after close, and it is sent to modem.
In accordance with an alternative illustrative embodiment of the present invention, a kind of computer readable storage medium is provided, is stored with computer Program, wherein, it realizes when the computer program is being executed by processor and leads to as described above for the protection of electric terminal The method of language sound.
It is whole in the method and its electronics of the protection call voice according to an exemplary embodiment of the present invention for electric terminal In end, encryption and decryption processing is carried out to call voice data by general application processor so that solution is added to call voice data Close exploitation is more general and easy.In addition, different cryptographic operation steps can be performed in parallel using multiple threads, to keep away Exempt from the situation that call voice data packet to be encrypted can not be encrypted in time, so as to avoid delay, noise the problems such as Generation.
Part in following description is illustrated into the other aspect and/or advantage of present general inventive concept, also has one Divide and will be apparent by description or the implementation of present general inventive concept can be passed through and learnt.
Description of the drawings
By with reference to be exemplarily illustrated embodiment attached drawing carry out description, exemplary embodiment of the present it is upper It states and will become apparent with other purposes and feature, wherein:
Fig. 1 shows the flow of the method for the protection call voice according to an exemplary embodiment of the present invention for electric terminal Figure;
The method that Fig. 2 shows the protection call voice for electric terminal in accordance with an alternative illustrative embodiment of the present invention Flow chart;
Fig. 3 shows the block diagram of application processor according to an exemplary embodiment of the present invention;
Fig. 4 shows the block diagram of application processor in accordance with an alternative illustrative embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is reference will now be made in detail, the example of the embodiment is shown in the drawings, wherein, identical mark Number identical component is referred to always.It will illustrate the embodiment by referring to accompanying drawing below, to explain the present invention.
Fig. 1 shows the flow of the method for the protection call voice according to an exemplary embodiment of the present invention for electric terminal Figure.Here, the electric terminal includes modem and application processor.
Here, as an example, the electric terminal can be mobile communication terminal (for example, smart mobile phone), can intelligently wear The electric terminal of voice communication can be carried out by wearing equipment (for example, smartwatch), personal computer, tablet computer etc..
With reference to Fig. 1, in step S10, when proceeding by call voice encryption, application processor is received from modem Call voice data packet to be encrypted.
As an example, can when detect proceed by voice communication when, determine to proceed by call voice encryption;And/or It can determine to proceed by call voice encryption when receiving to trigger the encrypted user's operation of call voice.
As an example, application processor, which can be spaced at predetermined time intervals from modem, receives a call to be encrypted VoP.
As an example, the call voice data packet to be encrypted that application processor is received from modem can be adjusted Modulator-demodulator in real time carries out the call voice signal that electric terminal collects life after analog-to-digital conversion and voice data compression successively Into call voice data packet.
As an example, application processor can be by its radio interface layer (RIL layers) from the radio interface layer of modem Receive call voice data packet to be encrypted.
In step S20, application processor call encryption/decryption module to the call voice data packet to be encrypted that receives into Row encryption.
As an example, the encryption/decryption module can be located at default storage location.For example, the default storage location can To be the storage location relatively independent with the electric terminal.For example, the encryption/decryption module can be located at safe digital card (Secure Digital Memory Card, SD card) or Micro SD cards etc..
It should be understood that the encryption/decryption module can be implemented as nextport hardware component NextPort and/or component software, for example, described plus solution Close module can be implemented as performing the computer program of enciphering and deciphering algorithm.
In step S30, encrypted call voice data packet is sent to modem by application processor.By general Call voice data are encrypted in application processor so that it is to the exploitation of call voice data encryption more general and Easily.
Call voice data are encrypted by application processor, call voice data needs are transmitted to from modem Application processor is encrypted, and passes back to modem after encryption again.That is, in step S10 to step S30 in same thread During lower execution, what call voice data encryption of progress was spent is equal to total time:Modem is by call to be encrypted It is encrypted that VoP is transmitted to application processor the time it takes (that is, perform step S10 the time it takes)+treat The time it takes (that is, performing step S20 the time it takes)+application processor, which will be encrypted, in call voice data packet to add Call voice data packet after close is transmitted to modem the time it takes (that is, performing step S30 the time it takes). At least one step among if step S10 to step S30 is performed when carrying out certain call voice data encryption is spent The overlong time (for example, the overlong time being encrypted) of expense, it will so that this call voice data encryption spent it is total Overlong time and system requirements can not be met, for example, it is assumed that my modem need every 20ms (millisecond) to application at As soon as managing device sends a call voice data packet to be encrypted, this needs application processor to be added for one in 20ms Close call voice data packet completes step S10 to step S30, and otherwise next call voice data packet to be encrypted will be unable to It is sent and (that is, next call voice data packet to be encrypted can not be directed to and perform step S10) so that cannot be encrypted in time, The problems such as so as to generate delay, noise or even system crash.
In view of the above problem, exemplary embodiment according to the present invention, application processor is using at least two threads Step S10, step S20 and step S30 are performed, wherein, different threads parallel execution, and different threads perform each other The step of it is different.So as to, without being directed to a call voice data packet to be encrypted execution of step S10 to step S30 successively, Next call voice data packet to be encrypted could be directed to start to perform step S10, it is each to be encrypted so as to ensure Call voice data packet can be encrypted in time.
As an example, at least two thread may include:Receiving thread, encryption and decryption thread and transmission thread, wherein, In step slo, application processor can be at predetermined time intervals spaced to be added from modem reception one using receiving thread Close call voice data packet, and it is cached to the first buffer pool;In step S20, application processor can utilize encryption and decryption thread Call voice data packet to be encrypted is read from the first buffer pool, calls to be encrypted call voice of the encryption/decryption module to reading Data packet is encrypted, and by encrypted call voice data pack buffer to the second buffer pool;In step s 30, using place Reason device, which can utilize, sends thread from the encrypted call voice data packet of the second buffer pool reading, and is sent to modem. In other words, can using receiving thread come perform step S10, using encryption and decryption thread come perform step S20, using send thread come Perform step S30.
As another example, at least two thread may include:Encryption and decryption thread and transmission thread, wherein, in step In S10, the radio interface layer (RIL layers) of application processor will can at predetermined time intervals be spaced wireless interface from modem A call voice data pack buffer to be encrypted receiving of layer is to the first buffer pool;In step S20, application processor can Call voice data packet to be encrypted is read from the first buffer pool using encryption and decryption thread, encryption/decryption module is called to treat reading Encrypted call voice data packet is encrypted, and by encrypted call voice data pack buffer to the second buffer pool;In step In rapid S30, application processor can be sent to using thread is sent from the encrypted call voice data packet of the second buffer pool reading The radio interface layer of application processor, the encrypted call voice data packet that the radio interface layer of application processor will receive It is sent to the radio interface layer of modem.
As another example, at least two thread may include:Receiving thread and encryption and decryption thread, wherein, in step In S10, application processor can utilize receiving thread be spaced at predetermined time intervals from modem receive one it is to be encrypted logical VoP is talked about, and is cached to the 3rd buffer pool;In step S20 and step S30, application processor can utilize encryption and decryption line Journey reads call voice data packet to be encrypted from the 3rd buffer pool, calls to be encrypted call language of the encryption/decryption module to reading Sound data packet is encrypted, and encrypted call voice data packet is sent to modem.In other words, using reception Thread performs step S10, performs step S20 and step S30 using encryption and decryption thread.
As another example, at least two thread may include:Encryption and decryption thread and transmission thread, wherein, in step In S10 and step S20, application processor can be at predetermined time intervals spaced from modem using encryption and decryption thread and receive one Call voice data packet to be encrypted calls encryption/decryption module to add the call voice data packet to be encrypted received It is close, and by encrypted call voice data pack buffer to the 4th buffer pool;In step s 30, application processor can utilize hair Line sending journey reads encrypted call voice data packet from the 4th buffer pool, and is sent to modem.In other words, it is available Encryption and decryption thread performs step S10 and step S20, performs step S30 using thread is sent.
The method that Fig. 2 shows the protection call voice for electric terminal in accordance with an alternative illustrative embodiment of the present invention Flow chart.
With reference to Fig. 2, in step S40, when proceeding by call voice decryption, application processor is received from modem Call voice data packet to be decrypted.
As an example, can when detect proceed by voice communication when, determine to proceed by call voice decryption;Alternatively, It can determine to proceed by call language when modem detects that the call voice that other electric terminals are sent has been encrypted Sound is decrypted.
As an example, application processor, which can be spaced at predetermined time intervals from modem, receives a call to be decrypted VoP.
As an example, the call voice data packet to be decrypted that application processor is received from modem can be adjusted Modulator-demodulator in real time to by radio frequency reception to other electric terminals transmitted by call voice signal carry out successively modulus turn Change, demodulate, decode after the call voice data packet that generates.
As an example, application processor can be by its radio interface layer (RIL layers) from the radio interface layer of modem Receive call voice data packet to be decrypted.
In step S50, application processor call encryption/decryption module to the call voice data packet to be decrypted that receives into Row decryption.
In step S60, the call voice data packet after decryption is sent to modem by application processor.
As an example, application processor can perform step S40, step S50 and step using at least two threads S60, wherein, the parallel execution of different threads, and the step of different threads execution is different, wherein, for performing step S10's Thread and can be same thread or different threads, for performing the thread of step S20 and be used for for performing the thread of step S40 The thread for performing step S50 can be same thread or different threads, for the thread that performs step S30 and for performing step The thread of S60 is can same thread or different threads.
As an example, in step s 40, application processor can be at predetermined time intervals spaced using receiving thread from modulatedemodulate Device is adjusted to receive a call voice data packet to be decrypted, and is cached to the first buffer pool;In step s 50, application processor Call voice data packet to be decrypted is read from the first buffer pool using encryption and decryption thread, calls encryption/decryption module to reading Call voice data packet to be decrypted is decrypted, and by the call voice data pack buffer after decryption to the second buffer pool; In step S60, application processor can read the call voice data packet after decryption using thread is sent from the second buffer pool, concurrently It is sent to modem.
As another example, in step s 40, the radio interface layer of application processor will can at predetermined time intervals be spaced from The call voice data pack buffer to be decrypted that the radio interface layer of modem receives is to the first buffer pool;In step In rapid S50, application processor can utilize encryption and decryption thread to read call voice data packet to be decrypted from the first buffer pool, call The call voice data packet to be decrypted of reading is decrypted in encryption/decryption module, and the call voice data packet after decryption is delayed It is stored to the second buffer pool;In step S60, application processor, which can utilize, sends thread from leading to after the reading decryption of the second buffer pool Words VoP is sent to the radio interface layer of application processor, the decryption that the radio interface layer of application processor will receive Call voice data packet afterwards is sent to the radio interface layer of modem.
As another example, in step s 40, application processor can be at predetermined time intervals spaced using receiving thread from tune Modulator-demodulator receives a call voice data packet to be decrypted, and is cached to the 3rd buffer pool;In step S50 and step S60 In, application processor can utilize encryption and decryption thread to read call voice data packet to be decrypted from the first buffer pool, call plus solve The call voice data packet to be decrypted of reading is decrypted in close module, and the call voice data packet after decryption is sent to Modem.
As another example, in step S40 and step S50, application processor can utilize encryption and decryption thread every predetermined Time interval receives a call voice data packet to be decrypted from modem, and encryption/decryption module is called to be treated to what is received The call voice data packet of decryption is decrypted, and by the call voice data pack buffer after decryption to the 4th buffer pool;In step In rapid S60, application processor, which can utilize, sends thread from the call voice data packet after the reading decryption of the 4th buffer pool, and sends To modem.
As an example, the buffer pool in exemplary embodiment of the present can be first in, first out buffer pool, particularly, first quilt Being cached to the call voice data packet of buffer pool can first be read, and the call voice data packet being read no longer is stored in In the buffer pool.
Electric terminal according to an exemplary embodiment of the present invention includes modem and application processor.It in the following, will knot Fig. 3 and Fig. 4 is closed to describe the application processor of electric terminal according to an exemplary embodiment of the present invention.
Fig. 3 shows the block diagram of application processor according to an exemplary embodiment of the present invention.As shown in figure 3, according to the present invention The application processor of exemplary embodiment includes:First receiving unit 101, encryption unit 102, the first transmitting element 103.
First receiving unit 101 is used to, when proceeding by call voice encryption, receive from modem to be encrypted Call voice data packet.
As an example, the first receiving unit 101 can be spaced at predetermined time intervals from modem receive one it is to be encrypted Call voice data packet.
Encryption unit 102 is used to that encryption/decryption module to be called to add the call voice data packet to be encrypted received It is close.
As an example, the encryption/decryption module can be located at default storage location.
First transmitting element 103 is used to encrypted call voice data packet being sent to modem.
As an example, it is single to perform the first receiving unit, encryption unit and the first transmission using at least two threads Operation performed by member, wherein, the parallel execution of different threads, and the operation that different threads perform is different.
As an example, at least two thread may include:Receiving thread, encryption and decryption thread and transmission thread, wherein, First receiving unit 101 can be at predetermined time intervals spaced from modem using receiving thread and receive a call to be encrypted VoP, and it is cached to the first buffer pool;It is to be added that encryption unit 102 can utilize encryption and decryption thread to be read from the first buffer pool Close call voice data packet calls encryption/decryption module that the call voice data packet to be encrypted of reading is encrypted, and will Encrypted call voice data pack buffer is to the second buffer pool;First transmitting element 103 can be slow from second using thread is sent It rushes pond and reads encrypted call voice data packet, and be sent to modem.
As another example, at least two thread may include:Encryption and decryption thread and transmission thread, wherein, first connects Wireless interface from modem will can be at predetermined time intervals spaced by the radio interface layer of application processor by receiving unit 101 A call voice data pack buffer to be encrypted receiving of layer is to the first buffer pool;Encryption unit 102 can utilize encryption and decryption Thread reads call voice data packet to be encrypted from the first buffer pool, calls to be encrypted call of the encryption/decryption module to reading VoP is encrypted, and by encrypted call voice data pack buffer to the second buffer pool;First transmitting element 103 Using thread is sent wirelessly connecing for application processor is sent to from the encrypted call voice data packet of the second buffer pool reading Mouth layer, and the encrypted call voice data packet received is sent to modulatedemodulate by the radio interface layer for passing through application processor Adjust the radio interface layer of device.
As another example, at least two thread may include:Receiving thread and encryption and decryption thread, wherein, first connects Receiving unit 101 can be at predetermined time intervals spaced using receiving thread from modem one call voice number to be encrypted of reception According to bag, and it is cached to the 3rd buffer pool;Encryption unit 102 can utilize encryption and decryption thread to read to be encrypted lead to from the 3rd buffer pool VoP is talked about, calls encryption/decryption module that the call voice data packet to be encrypted of reading is encrypted;First sends list Encrypted call voice data packet can be sent to modem by member 103 using encryption and decryption thread.
As another example, at least two thread may include:Encryption and decryption thread and transmission thread, wherein, first connects Receiving unit 101 can be at predetermined time intervals spaced using encryption and decryption thread from modem one call voice to be encrypted of reception Data packet;Encryption unit 102 can utilize encryption and decryption thread dispatching encryption/decryption module to the call voice number to be encrypted that receives It is encrypted according to bag, and by encrypted call voice data pack buffer to the 4th buffer pool;First transmitting element 103 is available It sends thread and reads encrypted call voice data packet from the 4th buffer pool, and be sent to modem.
Fig. 4 shows the block diagram of application processor in accordance with an alternative illustrative embodiment of the present invention.As shown in figure 4, according to The application processor of the another exemplary embodiment of the present invention may include:Second receiving unit 201, decryption unit 202, second are sent out Send unit 203.
Second receiving unit 201 is used to, when proceeding by call voice decryption, receive from modem to be decrypted Call voice data packet.
As an example, the second receiving unit 201 can be spaced at predetermined time intervals from modem receive one it is to be decrypted Call voice data packet.
Decryption unit 202 is used to that encryption/decryption module to be called to solve the call voice data packet to be decrypted received It is close.
As an example, the encryption/decryption module can be located at default storage location.
Second transmitting element 203 is used to the call voice data packet after decrypting being sent to modem.
As an example, perform the second receiving unit 201, the hair of decryption unit 202 and second using at least two threads The operation performed by unit 203 is sent, wherein, the parallel execution of different threads, and the operation that different threads perform is different, In, the thread that thread and the second receiving unit 201 that the first receiving unit 101 is utilized are utilized is same thread or not collinear The thread that the thread and decryption unit 202 that journey, encryption unit 102 are utilized are utilized is same thread or different threads, first Thread that transmitting element 103 is utilized and that the second transmitting element 203 is utilized is same thread or different threads.
It is connect as an example, the second receiving unit 201 can be spaced from modem at predetermined time intervals using receiving thread A call voice data packet to be decrypted is received, and is cached to the first buffer pool;Decryption unit 202 can utilize encryption and decryption thread from First buffer pool reads call voice data packet to be decrypted, calls to be decrypted call voice number of the encryption/decryption module to reading It is decrypted according to bag, and by the call voice data pack buffer after decryption to the second buffer pool;Second transmitting element 203 is available It sends thread and reads the call voice data packet after decryption from the second buffer pool, and be sent to modem.
As another example, the second receiving unit 201 can will be every pre- timing by the radio interface layer of application processor Between interval it is slow from the call voice data pack buffer to be decrypted that the radio interface layer of modem receives to first Rush pond;Decryption unit 202 can utilize encryption and decryption thread to read call voice data packet to be decrypted from the first buffer pool, call and add The call voice data packet to be decrypted of reading is decrypted in deciphering module, and by the call voice data pack buffer after decryption To the second buffer pool;Second transmitting element 203, which can utilize, sends thread from the call voice number after the reading decryption of the second buffer pool The radio interface layer of application processor is sent to according to bag, and the radio interface layer for passing through application processor will be after the decryption that received Call voice data packet be sent to the radio interface layer of modem.
As another example, the second receiving unit 201 can be at predetermined time intervals spaced using receiving thread from modulation /demodulation Device receives a call voice data packet to be decrypted, and is cached to the 3rd buffer pool;Decryption unit 202 can utilize encryption and decryption line Journey reads call voice data packet to be decrypted from the first buffer pool, calls to be decrypted call language of the encryption/decryption module to reading Sound data packet is decrypted;Second transmitting element 203 can utilize encryption and decryption thread to send the call voice data packet after decryption To modem.
As another example, the second receiving unit 201 can be at predetermined time intervals spaced using encryption and decryption thread from modulatedemodulate Device is adjusted to receive a call voice data packet to be decrypted;Decryption unit 202 can utilize encryption and decryption thread dispatching encryption/decryption module The call voice data packet to be decrypted received is decrypted, and by the call voice data pack buffer after decryption to the 4th Buffer pool;Second transmitting element 203, which can utilize, sends thread from the call voice data packet after the reading decryption of the 4th buffer pool, and It is sent to modem.
It should be understood that the specific implementation of application processor according to an exemplary embodiment of the present invention may be incorporated by reference figure 1 realizes that details are not described herein to the related specific implementation of Fig. 2 descriptions.
The computer-readable recording medium storage of exemplary embodiment according to the present invention has computer program, wherein, when The computer program realizes that the protection for electric terminal of any of the above-described exemplary embodiments is led to when being executed by processor The method of language sound.
The method and its electric terminal of protection call voice according to an exemplary embodiment of the present invention for electric terminal, Encryption and decryption processing is carried out to call voice data by general application processor so that call voice data encrypting and deciphering is opened Hair is more general and easy.In addition, different cryptographic operation steps can be performed in parallel using multiple threads, to avoid to be added The situation that close call voice data packet can not be encrypted in time, so as to avoid delay, noise the problems such as generation.
Moreover, it should be understood that each list in the application processor of electric terminal according to an exemplary embodiment of the present invention Member can be implemented nextport hardware component NextPort and/or component software.Processing of the those skilled in the art according to performed by the unit of restriction, Can such as use site programmable gate array (FPGA) or application-specific integrated circuit (ASIC) realize unit.
In addition, the method for the protection call voice according to an exemplary embodiment of the present invention for electric terminal can be by reality It is now the computer program in computer readable recording medium storing program for performing.Those skilled in the art can according to the description to the above method come Realize the computer program.The above method of the invention is realized when the computer program is performed in a computer.
Although having show and described some exemplary embodiments of the present invention, it will be understood by those skilled in the art that It, can be to these in the case where not departing from the principle and spirit of the invention defined by the claims and their equivalents Embodiment is modified.

Claims (12)

1. it is a kind of for electric terminal protection call voice method, wherein, the electric terminal include modem and Application processor, which is characterized in that the described method includes:
(A) when proceeding by call voice encryption, application processor receives call voice number to be encrypted from modem According to bag;
(B) application processor calls encryption/decryption module that the call voice data packet to be encrypted received is encrypted;
(C) encrypted call voice data packet is sent to modem by application processor.
2. according to the method described in claim 1, wherein,
In step (A), application processor is spaced at predetermined time intervals from modem and receives a call language to be encrypted Sound data packet.
3. according to the method described in claim 1, wherein, the encryption/decryption module is located at default storage location.
4. according to the method described in claim 2, wherein, application processor performs step (A), step using at least two threads Suddenly (B) and step (C),
Wherein, the parallel execution of different threads, and the step of different threads execution is different.
5. according to the method described in claim 4, wherein,
At least two thread includes:Receiving thread, encryption and decryption thread and transmission thread, wherein, it, should in step (A) It is spaced at predetermined time intervals from modem using receiving thread with processor and receives a call voice data to be encrypted Bag, and it is cached to the first buffer pool;In step (B), application processor is treated using encryption and decryption thread from the reading of the first buffer pool Encrypted call voice data packet calls encryption/decryption module that the call voice data packet to be encrypted of reading is encrypted, and By encrypted call voice data pack buffer to the second buffer pool;In step (C), application processor using send thread from Second buffer pool reads encrypted call voice data packet, and is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step
(A) in, the radio interface layer of application processor, which will be at predetermined time intervals spaced from the radio interface layer of modem, to be connect The call voice data pack buffer to be encrypted received is to the first buffer pool;In step
(B) in, application processor reads call voice data packet to be encrypted from the first buffer pool using encryption and decryption thread, calls The call voice data packet to be encrypted of reading is encrypted in encryption/decryption module, and encrypted call voice data packet is delayed It is stored to the second buffer pool;In step (C), application processor reads encrypted call using thread is sent from the second buffer pool VoP is sent to the radio interface layer of application processor, and the radio interface layer of application processor will be after the encryption that received Call voice data packet be sent to the radio interface layer of modem;
And/or at least two thread includes:Receiving thread and encryption and decryption thread, wherein, in step (A), using processing Device is spaced at predetermined time intervals from modem using receiving thread and receives a call voice data packet to be encrypted, and is delayed It is stored to the 3rd buffer pool;In step (B) and step (C), application processor is read using encryption and decryption thread from the 3rd buffer pool Call voice data packet to be encrypted calls encryption/decryption module that the call voice data packet to be encrypted of reading is encrypted, And encrypted call voice data packet is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step (A) and step (B) In, application processor is spaced at predetermined time intervals from modem using encryption and decryption thread and receives a call language to be encrypted Sound data packet calls encryption/decryption module that the call voice data packet to be encrypted received is encrypted, and will be encrypted Call voice data pack buffer is to the 4th buffer pool;In step (C), application processor utilizes and sends thread from the 4th buffer pool Encrypted call voice data packet is read, and is sent to modem.
6. it according to the method described in claim 4, further includes:
(D) when proceeding by call voice decryption, application processor is spaced at predetermined time intervals from modem and receives one A call voice data packet to be decrypted;
(E) application processor calls encryption/decryption module that the call voice data packet to be decrypted received is decrypted;
(F) the call voice data packet after decryption is sent to modem by application processor.
7. according to the method described in claim 6, wherein, application processor performs step (D), step using at least two threads Suddenly (E) and step (F), wherein, the parallel execution of different threads, and the step of different threads execution is different,
Wherein, for the thread that performs step (A) and for performing the thread of step (D) as same thread or different threads, use In the thread for performing step (B) and for perform the thread of step (E) for same thread or different threads, for performing step (C) thread and for performing the thread of step (F) as same thread or different threads.
8. according to the method described in claim 7, wherein, the line for the thread for performing step (A) and for performing step (D) Journey is same thread, for the thread for performing step (B) and for performing the thread of step (E) as same thread, for performing The thread of step (C) and for performing the thread of step (F) as same thread, wherein,
At least two thread includes:Receiving thread, encryption and decryption thread and transmission thread, wherein, it, should in step (D) It is spaced at predetermined time intervals from modem using receiving thread with processor and receives a call voice data to be decrypted Bag, and it is cached to the first buffer pool;In step (E), application processor is treated using encryption and decryption thread from the reading of the first buffer pool The call voice data packet of decryption calls encryption/decryption module that the call voice data packet to be decrypted of reading is decrypted, and By the call voice data pack buffer after decryption to the second buffer pool;In step (F), application processor using send thread from Second buffer pool reads the call voice data packet after decryption, and is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step (D), using processing It is to be decrypted that the radio interface layer of device will be spaced receive from the radio interface layer of modem one at predetermined time intervals Call voice data pack buffer is to the first buffer pool;In step (E), application processor is buffered using encryption and decryption thread from first Call voice data packet to be decrypted is read in pond, and encryption/decryption module is called to carry out the call voice data packet to be decrypted of reading Decryption, and by the call voice data pack buffer after decryption to the second buffer pool;In step (F), application processor utilizes hair The call voice data packet that line sending journey is read from the second buffer pool after decryption is sent to the radio interface layer of application processor, application Call voice data packet after the decryption received is sent to the wireless interface of modem by the radio interface layer of processor Layer;
And/or at least two thread includes:Receiving thread and encryption and decryption thread, wherein, in step (D), using processing Device is spaced at predetermined time intervals from modem using receiving thread and receives a call voice data packet to be decrypted, and is delayed It is stored to the 3rd buffer pool;In step (E) and step (F), application processor is read using encryption and decryption thread from the first buffer pool Call voice data packet to be decrypted calls encryption/decryption module that the call voice data packet to be decrypted of reading is decrypted, And the call voice data packet after decryption is sent to modem;
And/or at least two thread includes:Encryption and decryption thread and transmission thread, wherein, in step (D) and step (E) In, application processor is spaced at predetermined time intervals from modem using encryption and decryption thread and receives a call language to be decrypted Sound data packet calls encryption/decryption module that the call voice data packet to be decrypted received is decrypted, and will be after decryption Call voice data pack buffer is to the 4th buffer pool;In step (F), application processor utilizes and sends thread from the 4th buffer pool The call voice data packet after decryption is read, and is sent to modem.
9. it is a kind of for electric terminal protection call voice method, wherein, the electric terminal include modem and Application processor, which is characterized in that the described method includes:
(A) when proceeding by call voice decryption, application processor receives call voice number to be decrypted from modem According to bag;
(B) application processor calls encryption/decryption module that the call voice data packet to be decrypted received is decrypted;
(C) the call voice data packet after decryption is sent to modem by application processor.
10. a kind of electric terminal, wherein, the electric terminal includes modem and application processor, which is characterized in that institute Stating application processor includes:
First receiving unit, for when proceeding by call voice encryption, call language to be encrypted to be received from modem Sound data packet;
Encryption unit, for calling encryption/decryption module that the call voice data packet to be encrypted received is encrypted;
First transmitting element, for encrypted call voice data packet to be sent to modem.
11. a kind of electric terminal, wherein, the electric terminal includes modem and application processor, which is characterized in that institute Stating application processor includes:
First receiving unit, for when proceeding by call voice decryption, call language to be decrypted to be received from modem Sound data packet;
Decryption unit, for calling encryption/decryption module that the call voice data packet to be decrypted received is decrypted;
First transmitting element, for the call voice data packet after decrypting to be sent to modem.
12. a kind of computer readable storage medium, is stored with computer program, wherein, when the computer program is processed The protection call voice for electric terminal as described in any claim among claim 1 to 9 is realized when device performs Method.
CN201711307193.5A 2017-12-11 2017-12-11 For the method and its electric terminal of the protection call voice of electric terminal Pending CN108092964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711307193.5A CN108092964A (en) 2017-12-11 2017-12-11 For the method and its electric terminal of the protection call voice of electric terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711307193.5A CN108092964A (en) 2017-12-11 2017-12-11 For the method and its electric terminal of the protection call voice of electric terminal

Publications (1)

Publication Number Publication Date
CN108092964A true CN108092964A (en) 2018-05-29

Family

ID=62174754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711307193.5A Pending CN108092964A (en) 2017-12-11 2017-12-11 For the method and its electric terminal of the protection call voice of electric terminal

Country Status (1)

Country Link
CN (1) CN108092964A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040790A (en) * 2018-06-28 2018-12-18 苏州科达科技股份有限公司 Data encryption/decryption method, device and electronic equipment
CN116193166A (en) * 2022-12-27 2023-05-30 北京锐马视讯科技有限公司 Video encryption method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345965A (en) * 2008-08-29 2009-01-14 中国电信股份有限公司 Encryption call method based on speech code stream and mobile terminal
CN103747317A (en) * 2013-12-27 2014-04-23 高新兴科技集团股份有限公司 A smooth playing control method of a play database in an instable network
CN103970505A (en) * 2013-01-24 2014-08-06 想象力科技有限公司 Register file having a plurality of sub-register files
CN104519404A (en) * 2013-09-29 2015-04-15 北京新媒传信科技有限公司 Graphics interchange format file playing method and device
CN104955034A (en) * 2015-05-28 2015-09-30 盛耀无线通讯科技(北京)有限公司 Communication conversation method
CN104955033A (en) * 2015-05-28 2015-09-30 盛耀无线通讯科技(北京)有限公司 Voice encryption communication method
CN106340055A (en) * 2016-08-19 2017-01-18 江苏电力信息技术有限公司 Multithreading-based OpenGL quick drawing method
CN106462393A (en) * 2014-05-30 2017-02-22 苹果公司 System and method for unified application programming interface and model
CN106888310A (en) * 2015-12-16 2017-06-23 展讯通信(上海)有限公司 Ciphering and deciphering device and method and communication terminal device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345965A (en) * 2008-08-29 2009-01-14 中国电信股份有限公司 Encryption call method based on speech code stream and mobile terminal
CN103970505A (en) * 2013-01-24 2014-08-06 想象力科技有限公司 Register file having a plurality of sub-register files
CN104519404A (en) * 2013-09-29 2015-04-15 北京新媒传信科技有限公司 Graphics interchange format file playing method and device
CN103747317A (en) * 2013-12-27 2014-04-23 高新兴科技集团股份有限公司 A smooth playing control method of a play database in an instable network
CN106462393A (en) * 2014-05-30 2017-02-22 苹果公司 System and method for unified application programming interface and model
CN104955034A (en) * 2015-05-28 2015-09-30 盛耀无线通讯科技(北京)有限公司 Communication conversation method
CN104955033A (en) * 2015-05-28 2015-09-30 盛耀无线通讯科技(北京)有限公司 Voice encryption communication method
CN106888310A (en) * 2015-12-16 2017-06-23 展讯通信(上海)有限公司 Ciphering and deciphering device and method and communication terminal device
CN106340055A (en) * 2016-08-19 2017-01-18 江苏电力信息技术有限公司 Multithreading-based OpenGL quick drawing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109040790A (en) * 2018-06-28 2018-12-18 苏州科达科技股份有限公司 Data encryption/decryption method, device and electronic equipment
CN116193166A (en) * 2022-12-27 2023-05-30 北京锐马视讯科技有限公司 Video encryption method and system

Similar Documents

Publication Publication Date Title
US8174362B2 (en) Methods and apparatuses to secure data transmission in RFID systems
KR100947213B1 (en) Secure conditional access and digital rights management in a multimedia processor
US20120269346A1 (en) Device and system for facilitating communication and networking within a secure mobile environment
US20070239994A1 (en) Bio-metric encryption key generator
US20120076300A1 (en) Key information management method, content transmission method, key information management apparatus, license management apparatus, content transmission system, and terminal apparatus
CN104700003B (en) A kind of file shell adding and hulling method, apparatus and system
CN101909290A (en) Method, system and mobile terminal for encrypting voice call
CN101621794A (en) Method for realizing safe authentication of wireless application service system
WO2008129546A2 (en) Voice encryption device
US20130064373A1 (en) Method to encrypt information that is transferred between two communication units
CN106534868A (en) Image processing device and image processing method performing selective image encryption
CN104754565A (en) Wireless parameter sending and receiving method and device
CN108092964A (en) For the method and its electric terminal of the protection call voice of electric terminal
CN106888310A (en) Ciphering and deciphering device and method and communication terminal device
EP2175580A1 (en) Encryption method for a wireless headset, and wireless headset
CN103458401B (en) A kind of voice encryption communication system and communication means
CN112182624A (en) Encryption method, encryption device, storage medium and electronic equipment
US10237251B2 (en) Communication device and system, data processing method and method for securely exchanging data
EP2175579B1 (en) Encryption and decryption device and method for voice communications
CN110493265A (en) The method and storage medium of encryption data
CN102413462B (en) Method and system for improving safety of voice communication of mobile terminal system based on safety micro secure digital (TF) card
KR20140080131A (en) Memory card with encryption functions
CN1688171A (en) Apparatus and method for implementing data safety transmission of mobile communication apparatus
CN107995673A (en) A kind of voice data processing apparatus, method and terminal
CN118381602B (en) Data encryption method, device and server based on lightweight encryption algorithm

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180529

RJ01 Rejection of invention patent application after publication