CN206697230U - A kind of voice communication system for mobile terminal - Google Patents
A kind of voice communication system for mobile terminal Download PDFInfo
- Publication number
- CN206697230U CN206697230U CN201621344924.4U CN201621344924U CN206697230U CN 206697230 U CN206697230 U CN 206697230U CN 201621344924 U CN201621344924 U CN 201621344924U CN 206697230 U CN206697230 U CN 206697230U
- Authority
- CN
- China
- Prior art keywords
- voice
- communication
- speech
- communication speech
- decryption
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The utility model embodiment discloses a kind of voice communication system for mobile terminal, and the system includes:Voice collector, for gathering the communication speech of user;Encoder, the communication speech for being gathered to voice collector carry out coding compression;SM4 encrypted components, for carrying out voice encryption to the communication speech after the coding compression of encoded device by SM4 AESs;Voice transfer component, for carrying out communications by the communication speech of voice encryption;SM4 decryption components, for obtaining the communication speech of voice transfer component transmission, and correspondingly voice is carried out by SM4 decipherment algorithms and decrypted;Decoder, for carrying out decoded back to the communication speech after the decryption of SM4 decryption components voice;Speech player, for being played out by the communication speech of decoder decoded back.Encryption and decryption is directly carried out to the information of communication speech using SM4 enciphering and deciphering algorithms, secure communication is both realized, reduces the delay of communication again.
Description
Technical field
Communication technical field is the utility model is related to, more particularly to a kind of voice communication system for mobile terminal.
Background technology
With the development of network technology and the popularization of intelligent mobile terminal, doing for communication is realized using intelligent mobile terminal
Method also more and more frequently, requirement therewith also more and more higher.
Occur many instant messaging applications in mobile Internet, in mobile terminal, to meet the daily life of people
Social demand living.But as requirement of the people for social demand improves constantly, some users are needed to use based on small range
Local area network communication.Application as the LAN of mobile terminal is, it is necessary to using wireless network, with covering for WiFi wireless networks
Capping product is more and more wider, and transmission speed also increasingly strengthens, and free connection uses and also provides condition for local area network communication.Mesh
Before, in the operating system of mobile terminal, Andorid passes through the intelligent terminals such as mobile phone in occupation of very big market, some users
ZRTP IKEs are performed, realize the communication based on LAN.But in actual applications, due to carrying out ZRTP
Need to carry out ZRTP key agreements during coded communication so that the voice communication between mobile terminal has larger delay.
Therefore, the secure communication of mobile terminal in a local network how can be realized, and can reduces the delay of communication, is this
The current technical issues that need to address of art personnel.
Utility model content
The purpose of this utility model is to provide a kind of voice communication system for mobile terminal, it is possible to achieve mobile terminal
Secure communication in a local network, and can reduce the delay of communication.
In order to solve the above technical problems, the utility model provides following technical scheme:
A kind of voice communication system for mobile terminal, including:
Voice collector, for gathering the communication speech of user;
Encoder, the communication speech for being gathered to the voice collector carry out coding compression;
SM4 encrypted components, for being carried out by SM4 AESs to the communication speech after encoder coding compression
Voice encryption;
Voice transfer component, for carrying out communications by the communication speech of voice encryption;
SM4 decryption components, for obtaining the communication speech of the voice transfer component transmission, and pass through SM4 decipherment algorithms
Correspondingly voice is carried out to decrypt;
Decoder, for carrying out decoded back to the communication speech after SM4 decryption components voice decryption;
Speech player, for being played out by the communication speech of the decoder decoded back.
Preferably, the encoder includes iLBC encoders, and the decoder includes iLBC decoders.
Preferably, the voice collector includes:
Recording component, for obtaining the audio signal of user;
Voice collecting processor, for controlling the recording component to carry out audio signal according to default audio sample value
Collection.
Preferably, the speech player includes:
Caching component, for carrying out buffer-stored to the communication speech through the decoder decoded back;
Speech play component, for transferring the communication speech of buffer-stored in the storage assembly, and to the communication speech
Carry out decoding broadcasting.
Preferably, the voice transfer component includes:Data transmitter and data sink;Wherein, the data are sent
Device is used to be connected with extraneous server progress TCP, and also establishes TCP with the extraneous server in the data sink and connect
When establish UDP with the data sink and connect.
Compared with prior art, above-mentioned technical proposal has advantages below:
A kind of voice communication system for mobile terminal that the utility model embodiment is provided, including:Voice collecting
Device, for gathering the communication speech of user;Encoder, the communication speech for being gathered to voice collector carry out coding compression;
SM4 encrypted components, for carrying out voice encryption to the communication speech after the coding compression of encoded device by SM4 AESs;Language
Sound transmission assembly, for carrying out communications by the communication speech of voice encryption;SM4 decryption components, for obtaining voice
The communication speech of transmission assembly transmission, and correspondingly voice is carried out by SM4 decipherment algorithms and decrypted;Decoder, for passing through
Communication speech after the decryption of SM4 decryption components voice carries out decoded back;Speech player, for being gone back by decoder decoding
Former communication speech plays out.Each mobile terminal for being used to carry out voice communication in a local network is equipped with voice collecting
Device, encoder, SM4 encrypted components, voice transfer component, SM4 decryption components, decoder, speech player, when a movement is whole
When end and other mobile terminals establish the communication connection on LAN, the mobile terminal can gather the communication language of corresponding user
Sound, and coding compression is carried out to communication speech by the encoder of itself, and be encrypted using SM4 encrypted components, and pass through
Voice transfer component is sent, to ensure the security of transmission of speech information;And the voice for communicating the mobile terminal of other side passes
Defeated component receives the communication speech, and is decrypted by SSM4 decryption components, then carries out decoded back by decoder,
Played out finally by speech player;Correspondingly, communicating the mobile terminal of other side can incite somebody to action according to identical communication modes
The communication voice transfer of the user of communication counterpart is to our mobile terminal.In the voice communication course, using SM4 encryption and decryption,
Encryption and decryption directly is carried out to the information of communication speech, is exchanged without carrying out key to hold consultation, greatly reduces communication
Delay, and ensure that the security of voice communication.
Brief description of the drawings
, below will be to embodiment in order to illustrate more clearly of the utility model embodiment or technical scheme of the prior art
Or the required accompanying drawing used is briefly described in description of the prior art, it should be apparent that, drawings in the following description are these
Some embodiments of utility model, for those of ordinary skill in the art, on the premise of not paying creative work, also
Other accompanying drawings can be obtained according to these accompanying drawings.
A kind of voice communication system for mobile terminal that Fig. 1 is provided by a kind of embodiment of the utility model
Structural representation.
Embodiment
Core of the present utility model is to provide a kind of voice communication system for mobile terminal, it is possible to achieve mobile terminal
Secure communication in a local network, and can reduce the delay of communication.
In order that above-mentioned purpose of the present utility model, feature and advantage can become apparent it is understandable, it is right below in conjunction with the accompanying drawings
Specific embodiment of the present utility model is described in detail.
Detail is elaborated in the following description in order to fully understand the utility model.But the utility model can
It is different from other manner described here with a variety of and implements, those skilled in the art can be without prejudice to the utility model connotation
In the case of do similar popularization.Therefore the utility model is not limited by following public embodiment.
It refer to Fig. 1, a kind of language for mobile terminal that Fig. 1 is provided by a kind of embodiment of the utility model
Sound communication system architecture schematic diagram.
A kind of embodiment of the present utility model provides a kind of voice communication system for mobile terminal, bag
Include:Voice collector 1, for gathering the communication speech of user;Encoder 2, for the communication speech gathered to voice collector 1
Carry out coding compression;SM4 encrypted components 3, for the communication speech after being compressed by SM4 AESs to encoded device 2 coding
Carry out voice encryption;Voice transfer component 4, for carrying out communications by the communication speech of voice encryption;SM4 decryption groups
Part 5, for obtaining the communication speech of the transmission of voice transfer component 4, and correspondingly voice is carried out by SM4 decipherment algorithms and decrypted;
Decoder 6, for carrying out decoded back to the communication speech after the decryption of the voice of SM4 decryption components 5;Speech player 7, use
In to being played out by the communication speech of the decoded back of decoder 6.
In the present embodiment, illustrated exemplified by using Android phone as the mobile terminal for carrying out voice communication.Respectively
The mobile terminal of communication party be equipped with voice collector, encoder, SM4 encrypted components, voice transfer component, SM4 decryption components,
Decoder, speech player.Wherein, the voice collector of each mobile terminal is used for the speech data for gathering itself corresponding user.
In a kind of embodiment of the present utility model, preferably voice collector includes:Recording component, for obtaining user
Audio signal;Voice collecting processor, for controlling recording component to carry out audio signal according to default audio sample value
Collection.Wherein, voice collecting processor can be by calling the AudioRecord modules in Android multi-media modules to gather
PCM (pulse code modulation) audio raw data, voice-grade channel CHANNEL_ is set by AudioRecord modules
CONFIGURATION_MONO, and coded system can be set as ENCODING_PCM_16BIT, the sampling of audio is obtained afterwards
Size, and obtain voice data by control recording component is sized.
Further, it is preferable to which encoder includes iLBC encoders, decoder includes iLBC decoders.In present embodiment
In, iLBC encoders are compressed coding by iLBC encryption algorithms to the voice data of collection, reduce coding bit rate, will
Original voice data becomes the form being adapted in transmission over networks, wherein, in order to which ensure can be by iLBC encoders pair
Voice data is encoded, and can set a coding JNI interface, an audio-encode is realized by encoding JNI interfaces
Interface, by the audio-encode interface encoders function of iLBC encoders can be called to realize compressed audio coding.
In embodiment of the present utility model, the communication speech after coding is passed into SM4 by way of thread and added
Seal assembly, SM4 encrypted components are encrypted by itself packaged SM4 AES, open voice transfer afterwards
Thread, the bit formed after encryption is streamed in voice transfer component, afterwards, voice transfer component is by voice data
Communication speech is sent into IP network in the form of packet.
In a kind of embodiment of the present utility model, voice transfer component includes:Data transmitter and data sink;
Wherein, data transmitter is used to be connected with extraneous server progress TCP, and is also established in data sink with extraneous server
UDP is established during TCP connections with data sink to connect.
In the present embodiment, the voice transfer component of each communication party is needed and extraneous predetermined server is attached.
Wherein, the major function of server is to complete the request login authentication and response of the mobile terminal of each communication party, and forwarding is logical
The IP address of the mobile terminal of letter side and port information etc..First, startup of server, each port is monitored, waits each mobile terminal
Connection, when receiving the connection request of mobile terminal, match authentication information, judge whether to be attached, connecting into
The IP address and port number information of the mobile terminal are preserved after work(, when there is other mobile terminals to be connected to the server, service
Device will be transmitted to the information of each mobile terminal other mobile terminals in addition to itself, to facilitate follow-up UDP connections,
Wherein, server can also realize multicast functionality, that is, realize multi-party communication using Transmission Control Protocol as lower line mode.I.e. each movement
Terminal needs to connect with server progress TCP first, then carries out the UDP connections between each mobile terminal again.
Wherein, after the connection of the mobile terminal of the mobile terminal of the recipient of communication speech and the transmitting terminal of communication speech, connect
The reality of the data transmitter of the mobile terminal of the data sink receiving end/sending end of the voice transfer component of the mobile terminal of debit
When voice data.Afterwards, the SM4 decryption components of the mobile terminal of recipient carry out voice decryption to the communication speech of reception, so
Decoded back is carried out to the communication speech by decryption by decoder afterwards.Speech play is finally carried out by speech player.
In a kind of embodiment of the present utility model, speech player includes:Caching component, for through decoder solution
The communication speech of code reduction carries out buffer-stored;Speech play component, for transferring the communication language of buffer-stored in storage assembly
Sound, and decoding broadcasting is carried out to the communication speech.
In the present embodiment, speech player builds audio decoder buffer by caching component, will be through decoding
The communication speech of device decoded back carries out buffer-stored, then again by speech play component come to the communication language in caching component
Sound carries out decoding broadcasting.
In the respective embodiments described above of the present utility model, voice collector, encoder, SM4 encrypted components in system,
Directly side is realized between voice transfer component, SM4 decryption components, decoder, speech player by the way of multithreading calling
Encrypt side to send, receiving while decryption and broadcasting, reach the effect of real-time Transmission.When a certain function element active thread, first
The thread of next function element is waken up, by setting less buffering traffic volume, realizes that send end edge collection sends out in encryption
The process sent, receive end edge acquisition and played in decryption.
To sum up, the voice communication system for mobile terminal that the utility model the respective embodiments described above are provided, use
SM4 encryption and decryption carries out encryption and decryption to communication speech, and Cipher Strength is big, and ciphering process is simple, needs not move through UDP bags to transmit key
Matched, greatly reduce the delay of communication, using iLBC encoding and decoding, iLBC be aim at it is right in packet network communication process
A kind of efficient encoding and decoding algorithm that packet loss phenomenon control effectively, in the case of equal code rate, is passed to voice data
There is outstanding effect, it is achieved thereby that the secure communication of mobile terminal in a local network, drops again in defeated integrality and tonequality
The delay of low communication.
A kind of voice communication system for mobile terminal is provided the utility model above to be described in detail.This
Apply specific case in text to be set forth principle of the present utility model and embodiment, the explanation of above example is
It is used to help understand the utility model and its core concept.It should be pointed out that for those skilled in the art,
On the premise of the utility model principle is not departed from, some improvement and modification, these improvement can also be carried out to the utility model
Also fallen into modification in the protection domain of the utility model claims.
Claims (5)
- A kind of 1. voice communication system for mobile terminal, it is characterised in that including:Voice collector, for gathering the communication speech of user;Encoder, the communication speech for being gathered to the voice collector carry out coding compression;SM4 encrypted components, for carrying out voice to the communication speech after encoder coding compression by SM4 AESs Encryption;Voice transfer component, for carrying out communications by the communication speech of voice encryption;SM4 decryption components, for obtaining the communication speech of the voice transfer component transmission, and carried out by SM4 decipherment algorithms Correspondingly voice is decrypted;Decoder, for carrying out decoded back to the communication speech after SM4 decryption components voice decryption;Speech player, for being played out by the communication speech of the decoder decoded back.
- 2. system according to claim 1, it is characterised in that the encoder includes iLBC encoders, the decoder Including iLBC decoders.
- 3. system according to claim 2, it is characterised in that the voice collector includes:Recording component, for obtaining the audio signal of user;Voice collecting processor, for controlling the recording component to carry out adopting for audio signal according to default audio sample value Collection.
- 4. system according to claim 3, it is characterised in that the speech player includes:Caching component, for carrying out buffer-stored to the communication speech through the decoder decoded back;Speech play component, carried out for transferring the communication speech of buffer-stored in the storage assembly, and to the communication speech Decoding plays.
- 5. according to the system described in any one of Claims 1-4, it is characterised in that the voice transfer component includes:Data are sent out Send device and data sink;Wherein, the data transmitter is used to be connected with extraneous server progress TCP, and in the data Receiver is also established with the extraneous server to be established UDP with the data sink when TCP is connected and connects.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621344924.4U CN206697230U (en) | 2016-12-08 | 2016-12-08 | A kind of voice communication system for mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621344924.4U CN206697230U (en) | 2016-12-08 | 2016-12-08 | A kind of voice communication system for mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206697230U true CN206697230U (en) | 2017-12-01 |
Family
ID=60439911
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621344924.4U Active CN206697230U (en) | 2016-12-08 | 2016-12-08 | A kind of voice communication system for mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206697230U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106653034A (en) * | 2016-12-08 | 2017-05-10 | 广东工业大学 | Voice communication system and method used for mobile terminal |
CN110390940A (en) * | 2018-04-16 | 2019-10-29 | 北京松果电子有限公司 | Audio distribution system |
-
2016
- 2016-12-08 CN CN201621344924.4U patent/CN206697230U/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106653034A (en) * | 2016-12-08 | 2017-05-10 | 广东工业大学 | Voice communication system and method used for mobile terminal |
CN110390940A (en) * | 2018-04-16 | 2019-10-29 | 北京松果电子有限公司 | Audio distribution system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8713597B2 (en) | Authenticating and off-loading IPTV operations from mobile devices to fixed rendering viewing devices | |
CN102204303B (en) | For utilizing the system and method for IMS data safety mechanism in a circuit switched network | |
CN106941629B (en) | Real-time live broadcast method based on SIP + RTP and RTMP protocol intercommunication | |
CN114697733B (en) | Screen-throwing audio and video data transmission method and related equipment | |
CN102088460B (en) | Method, device and system for transmitting streaming media data in restricted networks | |
CN101132273B (en) | Safe transmission method for text transport protocol message | |
CN104219213A (en) | Android system oriented end-to-end speech encryption method | |
CN103327030A (en) | Method for information transmission by utilizing Wi-Fi (Wireless-Fidelity) message length | |
CN207234973U (en) | Video conferencing system based on quantum cryptography | |
US10630656B2 (en) | System and method of encrypted media encapsulation | |
CN206697230U (en) | A kind of voice communication system for mobile terminal | |
CN105471899A (en) | End-to-end voice encryption communication method and device for mobile terminals | |
CN106653034A (en) | Voice communication system and method used for mobile terminal | |
WO2012078622A4 (en) | Binding keys to secure media streams | |
CN105992203B (en) | A kind of voice communication encrypted key exchange method and the system based on this method | |
WO2021073155A1 (en) | Video conference method, apparatus and device, and storage medium | |
CN102137394A (en) | Encrypted mobile communication terminal system and method under network access | |
CN104519022A (en) | Method and device for establishing connecting channel | |
CN103684970A (en) | Transmission method and thin terminals for media data streams | |
CN103428175A (en) | Real-time voice intercom system based on heterogeneous mobile IP networks | |
CN114710568B (en) | Audio and video data communication method, device and storage medium | |
CN101494644B (en) | Transmission method for session initiation protocol message | |
CN206497726U (en) | voice encryption middleware and terminal | |
US20100322103A1 (en) | Method and Network for Implementing Computer Voice Communication Based on Wireless Communication Terminal | |
CN109982317B (en) | Voice encryption and decryption system and method based on CDMA network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |