Satellite communication terminal audio test system and method
Technical field
The present invention relates to satellite communication terminal technical field more particularly to satellite communication terminal audio test system and sides
Method.
Background technique
Satellite communication terminal is a kind of mobile device based on satellite communication protocols, has the bases such as voice communication and short message
This function is the necessary equipments such as emergency management and rescue, field exploration.Satellite communication terminal because having the function of voice communication,
Basic function testing must be carried out to all voice channels of equipment in equipment assembling, factory testing, need complete set
Audio test system.
Traditional communication terminal, the audio-frequency test of voice call, need under related real network or test instrumentation into
Row.Terminal device is completed mutually to dial into net operation by two mobile phones in a network, establishes actual voice communication process, completes
Terminal device thus voice channel audio-frequency test.It, can also be using similar traditional mobile terminal in satellite communication terminal
This audio testing scheme is completed to network in actual satellite network, mutually be dialed by two terminals, completes audio and surveys
Examination.In this scheme, remote satellite or correlate meter (analog satellite) is needed to participate in, test environment is complicated, and the testing time is long,
Testing expense is high.
Summary of the invention
The purpose of the present invention is to provide satellite communication terminal audio test system and methods, are not needing satellite or survey
Under the participation for trying instrument, the audio-frequency test in terminal speech channel can be quickly completed, it is related to the audio of satellite communication terminal hard
Part completes detection work.
Realizing the technical solution of above-mentioned purpose is:
A kind of satellite communication terminal audio test system, comprising: satellite communication protocols stack module, phone module, audio are defeated
Enter module and audio output module, wherein
The satellite communication protocols stack module simulation satellite networks and the Signalling exchange process of satellite communication terminal, completes to defend
Star networks;
Tester completes satellite communication terminal and networks, and initiates satellite voice talk business by the phone module;Institute
Satellite communication protocols stack module simulation satellite voice call flow is stated, voice communication is returned and is successfully established, phone module enters logical
Talk about interface;
The phone module is sent to described from the voice data of Audio Input Modules collecting test personnel's typing
Satellite communication protocols stack module;
Voice data passes through the satellite communication protocols stack module and the phone module winding to the audio output mould
Block plays out.
Preferably, the Audio Input Modules are MIC (Mike) or earphone;
The audio output module is earpiece, loudspeaker or earphone.
Preferably, the satellite communication protocols stack module includes:
For entering test pattern, analog satellite networks and the Signalling exchange process of satellite communication terminal, and simulation is defended
The test module of star audio call process;
Voice data is carried out to the coding compression module of coding compression;
By the downlink data receiving module of the voice data forwarding after coding;
Receive the voice data from the downlink data receiving module, and decoded decoder module;And
The phone module, the coding compression module, the decoder module and the test module are connected, for transmitting
The transmission module of data.
A kind of satellite communication terminal audio testing method, comprising:
By the signaling process of satellite communication protocols stack analog satellite networking and satellite phone, directly from satellite communication terminal
Phone module initiate satellite voice call;
Satellite communication terminal is transmitted to satellite communication protocols from the upstream voice data in terminal side acquisition voice call process
Stack returns to the phone module of satellite communication terminal, by electricity after satellite communication protocols stack completes the coding and decoding of voice data
Words module plays associated audio data from earpiece, loudspeaker or earphone.
Preferably, it specifically includes:
Step S1, satellite communication protocols stack enter test pattern, and analog satellite networks and the signaling of satellite communication terminal is handed over
Mutual process completes satellite and enters net operation;
Step S2, tester pass through the phone mould of satellite communication terminal after satellite communication terminal completes net operation
Block inputs arbitrary numbers, initiates satellite voice talk business;
Step S3, satellite communication protocols stack analog satellite audio call process return to voice communication and are successfully established, phone mould
Block enters call interface;Tester says tested speech against satellite communication terminal, and phone module is surveyed from MIC or earphone acquisition
The voice data of examination personnel's typing, issues satellite communication protocols stack;
Step S4, satellite communication protocols stack carry out coding squeeze operation to voice data;
The voice data encoded is transmitted to downlink data receiving module by step S5, satellite communication protocols stack;
Step S6, satellite communication protocols stack are decoded operation to the voice data received;
Decoded voice data is transmitted to phone module by step S7, satellite communication protocols stack;
Step S8, phone module play current speech data, and user judges voice matter from earpiece, loudspeaker or earphone
Amount completes the test in current speech channel;
Step S9, user switch voice channel from phone module, complete the sound of all voice channels of satellite communication terminal
Frequency test job.
The beneficial effects of the present invention are: the present invention is by simulating satellite communication protocols in satellite communication protocols stack,
When not needing the participation of remote satellite or test instrumentation, it is able to achieve the networking and satellite phone industry of satellite communication terminal
Business.Then to the upstream voice data in voice call process, coding-decoding operation is carried out, the phone mould of the terminal is directly handed down to
Block realizes the winding of voice data, completes the test to the voice channel of satellite communication terminal, thus whole in single satellite communication
The audio test system of complete set is realized in end.The system is in the participation of not network side equipment, to greatest extent
Simulation satellite telephony process, by after the data under voice of tester, being assisted from satellite during satellite phone
Stack winding is discussed to voice-output device, to complete the audio-frequency test of all voice channels of entire terminal, solves conventional measurement
In examination scheme the problem of inefficiency.
Detailed description of the invention
Fig. 1 is the structure chart of satellite communication terminal audio test system of the invention;
Fig. 2 is the structure chart of Satellite communication protocol stack module of the present invention;
Fig. 3 is the flow chart of satellite communication terminal audio testing method of the invention.
Specific embodiment
The present invention will be further described with reference to the accompanying drawings.
Referring to Fig. 1, satellite communication terminal audio test system of the invention, comprising: satellite communication protocols stack module 1,
Phone module 2, Audio Input Modules 3 and audio output module 4.
1 analog satellite of satellite communication protocols stack module networks and the Signalling exchange process of satellite communication terminal, completes satellite
It networks;Tester completes satellite communication terminal and networks, and initiates satellite voice talk business by the phone module 2;It is described
1 analog satellite audio call process of satellite communication protocols stack module returns to voice communication and is successfully established, and phone module 2 enters logical
Talk about interface.
Phone module 2 is sent to described defend from the voice data of 3 collecting test personnel's typing of Audio Input Modules
Star communication protocol stack module 1;Voice data passes through the satellite communication protocols stack module 1 and 2 winding of the phone module to sound
Frequency output module 4 plays out.Audio Input Modules 3 are MIC or earphone;Audio output module 4 is earpiece, loudspeaker or ear
Machine.
Specifically, referring to Fig.2, satellite communication protocols stack module 1 includes: test module 11, coding compression module 12, downlink
Data reception module 13, decoder module 14 and transmission module 15.
Test module 1 makes satellite communication protocols stack module 1 enter test pattern, and analog satellite networks and satellite communication is whole
The Signalling exchange process and analog satellite audio call process at end.
It encodes compression module 12 and voice data is subjected to coding compression.Downlink data receiving module 13 is by the voice after coding
Data forwarding decoder module 14.Decoder module 14 receives the voice data from downlink data receiving module 13, and decodes.Transmission
Module 15 connects phone module 2, coding compression module 12, decoder module 14 and test module 11, for transmitting data.
Satellite communication terminal audio testing method of the invention, for the participation in no remote satellite or test instrumentation
In the case of, when can not carry out real audio call off the net, how to complete the voice channel audio testing scheme of terminal.Its method is
In the direct analog voice call process in terminal side, voice communication operation, voice number are carried out in terminal side by tester oneself
Winding is carried out according in terminal inner, tester by MIC perhaps speak in earpiece, loudspeaker or earphone by earphone
The speech content of oneself is heard, to judge whether current speech channel is normal.Referring to Fig. 3, specifically including the following steps:
Step S1, satellite communication protocols stack enter test pattern, in the case where not needing with remote satellite interaction, simulation
Satellite networks and the Signalling exchange process of satellite communication terminal, completes satellite and enters net operation.
Step S2, tester pass through the phone mould of satellite communication terminal after satellite communication terminal completes net operation
Block inputs arbitrary numbers, initiates satellite voice talk business.
Step S3, satellite communication protocols stack analog satellite audio call process return to voice communication and are successfully established, phone mould
Block enters call interface.Tester says tested speech against satellite communication terminal, and phone module is surveyed from MIC or earphone acquisition
The voice data of examination personnel's typing, issues satellite communication protocols stack.
Step S4, satellite communication protocols stack carry out coding squeeze operation to voice data.
The voice data encoded is transmitted to downlink data receiving module by step S5, satellite communication protocols stack.
Step S6, satellite communication protocols stack are decoded operation to the voice data received.
Decoded voice data is transmitted to phone module by step S7, satellite communication protocols stack;
Step S8, phone module play current speech data, and user judges voice matter from earpiece, loudspeaker or earphone
Amount completes the test in current speech channel.
Step S9, user switch voice channel from phone module, complete the sound of all voice channels of satellite communication terminal
Frequency test job.
Above embodiments are used for illustrative purposes only, rather than limitation of the present invention, the technology people in relation to technical field
Member, without departing from the spirit and scope of the present invention, can also make various transformation or modification, therefore all equivalent
Technical solution also should belong to scope of the invention, should be limited by each claim.