Summary of the invention
The present invention provides a kind of mobile communications network overlapping effect remote dial testing method based on digital voice technology for solving the problems of the technologies described above, and adopts digital voice technology and long distance wireless method that effective supervision is unified in the network area that needs testing.
The technical scheme that the present invention solves the problems of the technologies described above employing is: this mobile communications network overlapping effect remote dial testing method based on digital voice technology, and the step of this method is as follows:
1), the CPU on the effect watch-dog obtains network overlapping effect relevant parameter: location area code LAC by reading the wireless modulation-demodulation module in the remote equipment, cell ID CI, base station identity code BSIC, Broadcast Control Channel frequency BCCH Freq, signal strength signal intensity Rxlev, signal quality Rxqual;
2), the effect watch-dog is by the parameter that reads more in real time and parameter is set, judge whether to exist unusual, if any unusually, just initiatively by sending the alarm short message to proximal device;
3), proximal device is by the instruction that sends SMS message, and reads the network overlapping effect relevant parameter on the far-end effect watch-dog;
4), by cell ID CI, the variation of base station identity code BSIC and Broadcast Control Channel frequency BCCH Freq, whether monitoring exists frequent switching problem;
5), proximal device dials the telephone number of effect watch-dog, after the automatic-answering back device of effect watch-dog was connected, proximal device was play segment standard voice earlier, the effect watch-dog adopt digital voice technology this segment standard voice recording in memory; After proximal device was play and finished, the received pronunciation that the effect watch-dog adopts digital voice technology that this section recorded again played out, and proximal device is play this section voice recording of coming to the effect watch-dog again and got off; Proximal device adopts the perceptual speech quality assessment algorithm by the relatively difference of this section voice and raw tone, and the assessed value that obtains perceptual speech quality is judged the true call voice effect of the network coverage.
Dial mutually between two effect watch-dogs of the present invention and carry out a series of tests, as carrying out the single-pass test, by the digital voice data that receives is analyzed,, then be judged as single-pass if all data are all peaked 1/4th less than digital voice data.
A kind of mobile communications network overlapping effect remote dial testing method based on digital voice technology that the present invention relates to has outstanding feature in the field: adopt digital voice technology that the signal covering quality of mobile communications network is assessed, guaranteed the accuracy and the authenticity of assessment.The use of digital voice technology is of great immediate significance to the broader applications of mobile communications network overlapping effect remote dial testing system.
Description of drawings
Fig. 1 is a mobile communications network overlapping effect remote dial testing system schematic of the present invention;
Fig. 2 is a remote equipment theory diagram of the present invention;
Fig. 3 is a remote equipment power conversion unit electrical schematic diagram of the present invention;
Fig. 4 is a remote equipment voice memory unit electrical schematic diagram of the present invention;
Fig. 5 is a remote equipment wireless modulation-demodulation module electrical schematic diagram of the present invention;
Fig. 6 is a remote equipment power supply switch unit electrical schematic diagram of the present invention;
Fig. 7 is a remote equipment CPU electrical schematic diagram of the present invention;
Fig. 8 is a remote equipment reserve battery of the present invention unit electrical schematic diagram;
Fig. 9 is a remote equipment memory cell electrical schematic diagram of the present invention;
Figure 10 is remote equipment real-time clock of the present invention (RTC) unit electrical schematic diagram;
Figure 11 is the local serial ports electrical schematic diagram of remote equipment of the present invention;
Figure 12 is that the digital voice technology of remote equipment of the present invention is realized theory diagram;
Figure 13 is a remote equipment digital speech bus signals sequential chart of the present invention;
Figure 14 is a proximal device PESQ algorithm model structured flowchart of the present invention;
Reference numeral: power conversion unit 1, voice memory unit 2, wireless modulation-demodulation module 3, power supply switch unit 4, CPU 5, reserve battery unit 6, memory cell 7, real-time clock unit 8, local serial ports 9.
Embodiment
The invention will be described further below in conjunction with drawings and Examples:
Fig. 1 is a mobile communications network overlapping effect remote dial testing system schematic of the present invention; This system includes proximal device and remote equipment, and proximal device and remote equipment communicate by the common moving network.
Proximal device mainly comprises Short Message Service Gateway, server and terminal.Server adopts Ethernet to link to each other with Short Message Service Gateway, and personal terminal also adopts Ethernet to link to each other with server; The service software of communicating by letter with remote equipment by Short Message Service Gateway is housed on the server; Software is communicated by letter with remote equipment by the service software on the server on the personal terminal.
Remote equipment is exactly the effect watch-dog among Fig. 1, its composition frame chart as shown in Figure 2, mainly by power conversion unit 1, voice memory unit 2, support to treat that wireless modulation-demodulation module (containing antenna) 3, power supply switch unit 4, CPU (CPU) 5, reserve battery unit 6, memory cell 7, real-time clock (RTC) unit 8 and the local serial ports 9 of testing network form; Wherein wireless modulation-demodulation module 3 links to each other with synchronous serial interface (SSP) by universal asynchronous serial (UART) with CPU 5; Real-time clock unit 8 links to each other with CPU 5 by the I2C bus with memory cell 7; Voice memory unit 2 links to each other with the Serial Peripheral Interface (SPI) (SPI) of CPU 5; Behind the device external power supply power-fail, power devices is given in reserve battery unit 6; Power supply switch unit 4 provides the automatic switchover between external power source and the stand-by power supply; Reserve battery unit, power supply switch unit and power conversion unit component devices electric power system provide unified power supply to equipment; Local serial ports 9 is used for software download and debugging.
Fig. 3 is the power conversion unit electrical schematic diagram.Power conversion unit mainly is made up of U8 (SP1117-3.3) and C3 (10uF/16V), and U8 (SP1117-3.3) finishes a 5V power source conversion and becomes the 3.3V power supply, gives the components and parts that need the 3.3V power supply in whole system power supply; C3 (10uF/16V) plays the power filter effect, makes the output voltage of U8 (SP1117-3.3) more stable.
Fig. 4 is the voice memory unit electrical schematic diagram.Voice memory unit is made up of U3 (AT45DB161D), adopts flash memory (FLASH) technology storage digital voice data.
Fig. 5 is a wireless modulation-demodulation module electrical schematic diagram.The wireless modulation-demodulation module mainly is made up of J4 (80PIN connector), V3 (BC847), V4 (BC847), V5 (BC847), U7 (MIC29302), SIM1 (sim card socket), L5 (LED light) and some resistance capacitances.J4 is used to connect radio modem MC75; U7 and related resistors electric capacity are formed power-switching circuit, 5V is converted to 4.2V, give radio modem MC75 power supply, wherein PWC (being controlled by CPU) signal is used for Switching Power Supply, when the PWC high level, U7 opens, and gives radio modem MC75 power supply, when the PWC low level, U7 closes; V5 and L5 form radio modem MC75 condition indication circuit, the current state that is used to indicate radio modem MC75; V3 is used to produce the enabling signal of radio modem MC75, just can start radio modem MC75 when the low level pulse of certain width is arranged on STARUP (being controlled by CPU); V4 is used to produce the reset signal of radio modem MC75, can reset to radio modem MC75 by M1RST (being controlled by CPU).
Fig. 6 is a power supply switch unit electrical schematic diagram.The power supply switch unit mainly is made up of J1 (external power source interface), L1 (power surge suppression device), D1 (general-purpose diode), D2 (voltage stabilizing didoe), D3 (voltage stabilizing didoe), D4 (general-purpose diode), D5 (general-purpose diode), U4 (power source conversion device), L2 (inductance), V1 (triode) and some resistance capacitances.Operation principle: when external power had electricity, V1 ended, and 4 pin of U4 are dragged down, and U4 enters sleep state (not working), not output voltage; When external power has a power failure, the V1 conducting, 4 pin of U4 are drawn high, and U4 enters normal operating conditions, output 5V voltage.So just realized the handoff functionality between external power and the reserve battery power supply.
Fig. 7 is the CPU electrical schematic diagram.CPU mainly is made up of U6 (master cpu LPC2136), Y1 (resonant crystal), U12 (power monitoring chip), JP1 (JTAG emulator interface) and J7 (at application programming ISP wire jumper).Wherein Y1 provides the operation clock for U6, and U12 provides power-on reset signal and Power Supply Monitoring for U6.
Fig. 8 is a reserve battery unit electrical schematic diagram.The reserve battery unit mainly is made up of U5 (comparator), V2 (triode), J5 and some resistance.J5 is the reserve battery interface, U5 by cell voltage and setting voltage relatively, the conducting of controlling V2 is not in, and then the charging of control battery.
Fig. 9 is the memory cell electrical schematic diagram.Memory cell mainly is made up of U10 and peripheral resistance capacitance.Memory cell adopts simple EEPROM (EEPROM (Electrically Erasable Programmable Read Only Memo)), with CPU in the CPU by the I2C bus communication.
Figure 10 is a RTC unit electrical schematic diagram.The RTC unit mainly is made up of U11 (real-time timepiece chip PCF8563), D9 (general-purpose diode), D10 (general-purpose diode), VBAT1 (button cell), Y2 (resonant crystal) and some electric capacity.Wherein Y2 provides clock accurately for U11, and D9 and D10 finish the switching of main power source and button cell power supply, is U11 power supply by main power source when having made electricity, is the U11 power supply by VBAT1 during power down, and temporal information is not lost when power down.
Figure 11 is local serial ports electrical schematic diagram.Local serial ports mainly is made up of U9 (level transferring chip MAX3232), J6 and some electric capacity.Wherein U9 becomes the RS232 level to 3.3V TTL (TTL level) conversion of signals.
Figure 12 is that digital voice technology is realized theory diagram.The digital voice interface PCM_BUS of radio modem MC75 links to each other with the synchronous serial interface of central processing unit CPU, and the synchronous serial interface SPI of central processing unit CPU links to each other with the SPI interface of FLASH memory.Recording Process is that central processing unit CPU is stored in the data of radio modem MC75 digital voice interface output in the FLASH memory by the SPI interface; To be central processing unit CPU play out the digital voice interface of speech data by radio modem MC75 that is stored in the FLASH memory to the playback process.
Figure 13 digital speech bus signals sequential chart.The digital speech bus signals is respectively PCM_FS (frame synchronizing signal), PCM_CLK (serial clock signal), PCM_DOUT (speech data output signal), PCM_DIN (speech data input signal).The digital voice interface signal of wireless modulation-demodulation module links to each other with the synchronous serial interface SSP corresponding signal of master cpu in the CPU, the SSP interface configuration of master cpu is become to meet the pattern of Figure 12 sequential chart, i.e. the synchronous serial data frame format of Texas Instruments.
Figure 14 is the model structure block diagram of PESQ algorithm..wave form raw tone file and voice document to be measured carry out temporal calibration to these two voice signals then all by level adjustment and filtering, and by sense of hearing conversion.This conversion comprises compensation and the equilibrium to system's neutral line filtering and change in gain.Extract two distortion parameters, frequency and on the time summation get up, be mapped to prediction to subjective Mean Opinion Score, obtain the assessed value of perceptual speech quality.
The PESQ algorithm model is based on the quality of voice transmission measurement standard ITU of issue in International Telecommunication Association February calendar year 2001 standard P.862.PESQ is a newest standards of estimating all kinds of ad-hoc network conditions and speech coding and decoding.PESQ can estimate the quality of voice signal objectively according to some perceptual criteria, thereby the voice quality that can quantize fully balancing method is provided, and these criterions are with the mankind impression of voice quality to be fitted like a glove.We can buy the realization software of PESQ algorithm, finish the assessment of our needed perceptual speech quality.
The implementation method of system of the present invention is described below in conjunction with Fig. 1 ~ Figure 14:
1), the CPU on the effect watch-dog (remote equipment) obtains the network overlapping effect relevant parameter by send the AT^MONI instruction to wireless modulation-demodulation MC75: location area code (LAC), cell ID (CI), base station identity code (BSIC), Broadcast Control Channel frequency (BCCH Freq), signal strength signal intensity (Rxlev), signal quality (Rxqual); Wherein the effect watch-dog can be arranged on the old next door, repeater that does not have supervisory control system, to reach the function of this repeater of auxiliary monitoring; The effect watch-dog also can be arranged on the hot spot region of mansion, monitors the network overlapping effect that these are regional with emphasis;
2), the effect watch-dog is by the parameter that reads more in real time with parameter (being stored in the normal parameter of CPU in advance) is set, judge whether to exist unusual (different with the cell ID that sets in advance as the cell ID that reads in real time, just can be judged as unusual), if any unusually, just initiatively give proximal device by sending alarm short message (SMS);
3), according to communication protocol between predefined proximal device and remote equipment and parameter query with order is set, proximal device can send inquiry or instruction is set by short message (SMS), inquires about or be provided with the network overlapping effect relevant parameter on the far-end effect watch-dog;
4), the CI that obtains in real time by monitoring, the variation of BSIC and BCCH parameter, whether monitoring exists frequent switching (as long as CI, even if any one 1 switching that changes of BSIC and BCCH, and frequent definition of switching will decide on concrete application, just thinks have unusually as long as have to switch more than 1 time as some application; Some application can a switching times thresholding decided at the higher level but not officially announced at the appointed time, as 5 times, surpasses 5 times at the appointed time and switches, and just thinks frequent switching, has been judged to unusually);
5), proximal device can be dialed the telephone number of effect watch-dog, the effect watch-dog is realized automatic answer function, after the connection, proximal device is play earlier segment standard voice (raw tone), the effect watch-dog adopt digital voice technology this segment standard voice recording in memory; After proximal device is play and is finished, the received pronunciation that the effect watch-dog adopts digital voice technology that this section recorded again plays out, proximal device is play this section voice recording of coming to the effect watch-dog again and is got off, proximal device adopts perceptual speech quality assessment (PESQ Perceptual Evaluation of SpeechQuality) algorithm by the relatively difference of this section voice and raw tone, and the assessed value that obtains perceptual speech quality is judged the true call voice effect of the network coverage.
6), also can dial mutually between two effect watch-dogs, carry out a series of tests, single-pass test as whether.So-called single-pass be exactly a side in a minute and the opposing party can't hear sound, for digital voice data, can't hear sound is exactly that numeric ratio is less, by the digital voice data that receives is analyzed, as all data all smaller (as less than digital voice data peaked 1/4th), just can be judged as single-pass.
In addition to the implementation, the present invention can also have other execution modes, as adopting field programmable device (FPGA) control figure voice signal, digital voice data is carried out access.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection range of requirement of the present invention.