The system and method that test vehicle-mounted multimedia equipment bluetooth connectsTechnical field
The present invention relates to bluetooth multimedia equipment technical field, more particularly, relate to a kind of system and method tested vehicle-mounted multimedia equipment bluetooth and connect.
Background technology
Along with the development of Bluetooth technology, Bluetooth technology obtains increasing application in multimedia equipment, such as vehicle-mounted multimedia equipment.In prior art, the bluetooth service of vehicle-mounted multimedia equipment mainly comprises bluetooth conversation and Bluetooth music broadcasting.At present, for the test of the bluetooth conversation function of vehicle-mounted multimedia equipment, mainly utilize vehicle-mounted multimedia equipment to connect another mobile phone terminal of mobile phone terminal dialing by bluetooth, carry out communication effect test, test effect is completely by artificial judgment.For the test of the Bluetooth music playing function of vehicle-mounted multimedia equipment, mainly utilize car to connect a mobile phone terminal at multimedia equipment by bluetooth, play the music that this mobile phone terminal sends over, then by artificial judgment, the quality of music effect.
More than can find out, the test bluetooth conversation function of vehicle-mounted multimedia equipment employing in the prior art and the method for Bluetooth music result of broadcast, its test effect all needs by artificial judgment, does not have accurate data analysis, causes test result unreliable.
Summary of the invention
The technical problem to be solved in the present invention is, the test bluetooth conversation function adopted for the above-mentioned vehicle-mounted multimedia equipment in the prior art of prior art and the method for Bluetooth music result of broadcast, its test effect all needs by artificial judgment, there is no accurate data analysis, cause the unreliable defect of test result, a kind of system and method tested vehicle-mounted multimedia equipment bluetooth and connect is provided.
The technical solution adopted for the present invention to solve the technical problems is, construct a kind of system of testing vehicle-mounted multimedia equipment bluetooth and connecting, described vehicle-mounted multimedia equipment comprises blue tooth wireless communication module and microphone, comprising:
Test terminal and the loud speaker being arranged on outside, test terminal, and this test terminal includes Bluetooth adapter, data collecting card and audio signal analysis unit, between described test terminal and described vehicle-mounted multimedia equipment, set up Bluetooth communication by described Bluetooth adapter and described blue tooth wireless communication module;
Described data collecting card, drives described loud speaker to sound signal for exporting the first audio-frequency test signal;
Described microphone, for receiving voice signal and described voice signal being converted to the signal of telecommunication, the described signal of telecommunication gives described Bluetooth adapter by blue tooth wireless communication module transfer;
Described audio signal analysis unit, for obtaining the described signal of telecommunication from described Bluetooth adapter, and tests the described signal of telecommunication.
In the system that test vehicle-mounted multimedia equipment bluetooth of the present invention connects, described test terminal also comprises audio player, and described Bluetooth adapter comprises bluetooth sound card, and described vehicle-mounted multimedia equipment comprises audio frequency power amplifier module, wherein:
Described second audio-frequency test signal for exporting the second audio-frequency test signal, and is transferred to the blue tooth wireless communication module in described vehicle-mounted multimedia equipment by described audio player by described bluetooth sound card;
Blue tooth wireless communication module in described vehicle-mounted multimedia equipment receives described second audio-frequency test signal, and by described second audio-frequency test Signal transmissions to described audio frequency power amplifier module;
Described audio frequency power amplifier module, for exporting corresponding audio signal according to described second audio-frequency test signal;
Described data collecting card, also for gathering described audio signal, and by described audio signal transmission to audio signal analysis unit, is tested described audio signal by described audio signal analysis unit.
In the system that test vehicle-mounted multimedia equipment bluetooth of the present invention connects, described first audio-frequency test signal is the sine wave signal of 1KHZ, tests for bluetooth conversation.
In the system that test vehicle-mounted multimedia equipment bluetooth of the present invention connects, described second audio-frequency test signal is the sine wave signal of 1KHZ, plays test for Bluetooth music.
Based on said system, the present invention also provides a kind of method connected based on test vehicle-mounted multimedia equipment bluetooth, comprises the following steps:
S11, to be exported the first audio-frequency test signal drive loud speaker to sound signal by data collecting card, this voice signal is by the microphones of vehicle-mounted multimedia equipment and sent by blue tooth wireless communication module after being converted to the signal of telecommunication;
S12, to be received the signal of telecommunication that described blue tooth wireless communication module sends by Bluetooth adapter, and export the described signal of telecommunication to audio signal analysis unit;
S13, receive described signal by audio signal analysis unit, and described first audio signal is tested.
Based on said system, the present invention also provides a kind of method connected based on test vehicle-mounted multimedia equipment bluetooth, comprises the following steps:
S21, export the second audio-frequency test signal by audio player, and the blue tooth wireless communication module described second audio-frequency test signal transferred to by described bluetooth sound card in described vehicle-mounted multimedia equipment, by the audio frequency power amplifier module in described vehicle-mounted multimedia equipment according to described second audio-frequency test signal playing audio signal;
S22, described data collecting card gather described audio signal, and by described audio signal transmission to audio signal analysis unit, are tested described audio signal by described audio signal analysis unit.
Test in the present invention in the method for vehicle-mounted multimedia equipment bluetooth connection, described first audio-frequency test signal is the sine wave signal of 1KHZ, tests for bluetooth conversation.
In the method that test vehicle-mounted multimedia equipment bluetooth of the present invention connects, described second audio-frequency test signal is the sine wave signal of 1KHZ, plays test for Bluetooth music.
Compared with prior art, implement a kind of system level approach of testing vehicle-mounted multimedia equipment bluetooth connecting test provided by the invention, there is following beneficial effect:
(1) when testing the bluetooth conversation function of vehicle-mounted multimedia equipment, data collecting card in test terminal produces the first audio-frequency test signal, the loud speaker being arranged on outside, test terminal is driven to sound signal, by this voice signal of the microphones in vehicle-mounted multimedia equipment and after voice signal is converted to the signal of telecommunication, sent to the Bluetooth adapter in test terminal by blue tooth wireless communication module, by Bluetooth adapter by this electric signal transmission to audio signal analysis unit, finally carrying out test by audio signal analysis unit to this signal of telecommunication draws test result, overcome in prior art the test effect needed by artificial judgment bluetooth conversation function, the inaccurate defect of test result.
(2) when testing the Bluetooth music playing function of vehicle-mounted multimedia equipment, audio player in test terminal produce the second audio-frequency test signal and by bluetooth sound card by the second audio-frequency test Signal transmissions to vehicle-mounted multimedia equipment, the audio frequency power amplifier module of vehicle-mounted multimedia equipment is carried out audio frequency according to the second audio-frequency test signal and is play output audio signal, audio signal analysis unit is sent to after gathering audio signal by the data collecting card in test terminal, finally by audio signal analysis unit, audio signal is tested, draw the test result of Bluetooth music result of broadcast, overcome in prior art the test effect needing to be play by artificial judgment Bluetooth music, the inaccurate defect of test result.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the structural representation that system provided by the invention is applied to the preferred embodiment that test vehicle-mounted multimedia equipment bluetooth connects;
Fig. 2 is the structural representation that system provided by the invention is applied to another preferred embodiment that test vehicle-mounted multimedia equipment bluetooth connects;
Fig. 3 is the flow chart of method one preferred embodiment that test vehicle-mounted multimedia equipment bluetooth provided by the invention connects;
Fig. 4 is the flow chart of another preferred embodiment of method that test vehicle-mounted multimedia equipment bluetooth provided by the invention connects.
Embodiment
In order to there be understanding clearly to technical characteristic of the present invention, object and effect, now contrast accompanying drawing and describe the specific embodiment of the present invention in detail.
Fig. 1 is the structural representation that system provided by the invention is applied to the preferred embodiment that test vehicle-mounted multimedia equipment bluetooth connects.Shown in Figure 1, vehicle-mounted multimedia equipment 3 comprises blue tooth wireless communication module 3a and microphone 3b, said system comprises: test terminal 1 and the loud speaker 2 being arranged on outside, test terminal, and this test terminal 1 includes Bluetooth adapter 1a, data collecting card 1b and audio signal analysis unit 1c, Bluetooth communication is set up by Bluetooth adapter 1a and blue tooth wireless communication module 3a between test terminal 1 and vehicle-mounted multimedia equipment 3, wherein:
Data collecting card 1b, drives loud speaker to sound signal for exporting the first audio-frequency test signal,
Microphone 3b, for receiving voice signal and voice signal being converted to the signal of telecommunication, the signal of telecommunication is transferred to Bluetooth adapter 1a by blue tooth wireless communication module 3a; Here microphone 3b also becomes microphone, microphone, microphone etc., is switching device voice signal being converted to the signal of telecommunication;
Audio signal analysis unit 1c, for obtaining the signal of telecommunication from Bluetooth adapter 1a, and this signal of telecommunication is tested, analyze the frequency of this signal of telecommunication, amplitude, the distortion factor and signal to noise ratio, accurate test result can be drawn according to the frequency of this signal of telecommunication, amplitude, the distortion factor and signal to noise ratio.
Here it should be noted that, above-mentioned first audio-frequency test signal is the sine wave signal of 1KHZ, and the system that the test vehicle-mounted multimedia equipment bluetooth provided in the present embodiment connects mainly is applicable to bluetooth conversation test.When this system is applied to the bluetooth conversation function of test vehicle-mounted multimedia equipment 3, in the test terminal 1 of the present embodiment, the data collecting card 1b of design can produce the first audio-frequency test signal, the loud speaker 2 being arranged on outside, test terminal 1 is driven to sound signal, this voice signal is received and after voice signal is converted to the signal of telecommunication by the microphone 3b of vehicle-mounted multimedia equipment 3, test terminal 1 is returned to by blue tooth wireless communication module 3a, Bluetooth adapter 1a in test terminal 1 receives this signal of telecommunication and by this electric signal transmission to audio signal analysis unit 1c, finally by audio signal analysis unit 1c, this signal of telecommunication is tested, analyze the frequency of this signal of telecommunication, amplitude, the distortion factor and signal to noise ratio, make us can according to the frequency of this signal of telecommunication, amplitude, the distortion factor and signal to noise ratio directly perceived, draw test result accurately, overcome in prior art the test effect needed by artificial judgment bluetooth conversation function, cause the inaccurate defect of test result.
Fig. 2 is the structural representation that system provided by the invention is applied to another preferred embodiment that test vehicle-mounted multimedia equipment bluetooth connects.Shown in Figure 2, the present embodiment, relative to a upper embodiment, has following characteristics: test terminal 1 also comprises audio player 1d, and audio player 1d here can be MP3, MP4 etc.; Bluetooth adapter 1a comprises bluetooth sound card (not shown), vehicle-mounted multimedia equipment 3 comprises audio frequency power amplifier module 3c, wherein: the second audio-frequency test signal for exporting the second audio-frequency test signal, and is transferred to the blue tooth wireless communication module 3a in vehicle-mounted multimedia equipment 3 by audio player 1d by bluetooth sound card; Blue tooth wireless communication module 3a in vehicle-mounted multimedia equipment 3 receives the second audio-frequency test signal, and by the second audio-frequency test Signal transmissions to audio frequency power amplifier module 3c; Audio frequency power amplifier module 3c, for exporting corresponding audio signal according to the second audio-frequency test signal; Data collecting card 1b, also for gathering audio signal, and by audio signal transmission to audio signal analysis unit 1c, by audio signal analysis unit 1c, audio signal is tested, the frequency of analyzing audio signal, amplitude, the distortion factor and signal to noise ratio, we can draw accurate test result according to the frequency of this audio signal, amplitude, the distortion factor and signal to noise ratio.
Here it should be noted that, the second audio-frequency test signal in the present embodiment is the sine wave signal of 1KHZ, and the Bluetooth music that this system is mainly used in vehicle-mounted multimedia equipment plays test.When being applied to the Bluetooth music playing function of test vehicle-mounted multimedia equipment, in the test terminal 1 of the present embodiment, the data collecting card 1b of design can gather in vehicle-mounted multimedia equipment 3 according to the audio signal that the second audio-frequency test signal received exports, and by the audio signal analysis unit 1c in test terminal 1, audio signal is tested, analyze the frequency of audio signal, amplitude, the distortion factor and signal to noise ratio, make us can according to the frequency of audio signal, amplitude, the distortion factor and signal to noise ratio directly perceived, draw the test result of Bluetooth music result of broadcast accurately, overcome in prior art the test effect needing to be play by artificial judgment Bluetooth music, the inaccurate defect of test result.
Fig. 3 is the flow chart of method one preferred embodiment that test vehicle-mounted multimedia equipment bluetooth provided by the invention connects.The method is mainly used in the bluetooth conversation function of test vehicle-mounted multimedia equipment, and shown in Figure 3, the method mainly comprises the following steps:
S11, to be exported the first audio-frequency test signal drive loud speaker 2 to sound signal by data collecting card 1b, this voice signal is received by the microphone 3b of vehicle-mounted multimedia equipment 3 and is sent by blue tooth wireless communication module 3a after being converted to the signal of telecommunication; Here microphone 3b also becomes microphone, microphone, microphone etc., and be switching device voice signal being converted to the signal of telecommunication, the first audio-frequency test signal is the sine wave signal of 1KHZ;
S12, the signal of telecommunication sent by Bluetooth adapter 1a reception blue tooth wireless communication module 3a, and by electric signal transmission to audio signal analysis unit 1c;
S13, audio signal analysis unit 1c receive above-said current signal, and this signal of telecommunication is tested, analyze the frequency of this signal of telecommunication, amplitude, the distortion factor and signal to noise ratio, we can draw accurate test result intuitively according to the frequency of this signal of telecommunication, amplitude, the distortion factor and signal to noise ratio.
Equally, the present embodiment provide this in method of testing, do not need artificial judgment test result, frequency, amplitude, the distortion factor of first audio signal that can be drawn by audio signal analysis unit 1c and signal to noise ratio is intuitive and accurate draws test result, overcome in prior art the test effect needed by artificial judgment bluetooth conversation function, cause the inaccurate defect of test result.
Fig. 4 is the flow chart of another preferred embodiment of method that test vehicle-mounted multimedia equipment bluetooth provided by the invention connects.The method is mainly used in the Bluetooth music result of broadcast of test vehicle-mounted multimedia equipment, specifically comprises the following steps:
S21, export the second audio-frequency test signal by audio player 1d, and the blue tooth wireless communication module 3a the second audio-frequency test signal transferred to by bluetooth sound card in vehicle-mounted multimedia equipment 3, by the audio frequency power amplifier module 3c in vehicle-mounted multimedia equipment 3 according to the second audio-frequency test signal playing audio signal, the second audio-frequency test signal is the sine wave signal of 1KHZ;
S22, data collecting card 1b gather audio signal, and by audio signal transmission to audio signal analysis unit 1c, are tested audio signal by audio signal analysis unit 1c, the frequency of analyzing audio signal, amplitude, the distortion factor and signal to noise ratio.
Equally, the present embodiment provide this in method of testing, do not need artificial judgment test result, frequency, amplitude, the distortion factor of the audio signal that can be drawn by audio signal analysis unit 1c and signal to noise ratio is intuitive and accurate draws test result, overcome in prior art the test effect needing to be play by artificial judgment Bluetooth music, cause the inaccurate defect of test result.
By reference to the accompanying drawings embodiments of the invention are described above; but the present invention is not limited to above-mentioned embodiment; above-mentioned embodiment is only schematic; instead of it is restrictive; those of ordinary skill in the art is under enlightenment of the present invention; do not departing under the ambit that present inventive concept and claim protect, also can make a lot of form, these all belong within protection of the present invention.