Summary of the invention
It is an object of the invention to provide a kind of method, device and the terminal of selecting voice-grade channel, can self-adaptation adaptive, making terminal can go compatible application in audio frequency better, solving frequently upgrades to upgrade because of application version causes the problem that audio frequency path is unfixing, Internet phone-calling experiences difference.
For solving the problems of the technologies described above, the present invention provides a kind of method selecting voice-grade channel, comprising:
The application program with audio-frequency function is installed, obtains the version information of described application program;
According to described version information, whether sense terminals presets voice-grade channel to described application program;
If not, then utilizing the standard audio data in described terminal, all voice-grade channels described application program arranged carry out performance test, obtain test result;
Obtain optimum test result, it is determined that voice-grade channel corresponding to described optimum test result is as optimum voice-grade channel;
For the adaptive described optimum voice-grade channel of described application program.
Where it is determined that voice-grade channel corresponding to described optimum test result is as, before optimum voice-grade channel, also comprising:
Judge whether described optimum test result reaches standard of performance threshold value;
If then carrying out determining the step of voice-grade channel corresponding to described optimum test result as optimum voice-grade channel;
If not, then using voice-grade channel corresponding for described optimum test result as interim voice-grade channel.
Wherein, using voice-grade channel corresponding for described optimum test result as after interim voice-grade channel, also comprising:
The described version information of described application program is sent to server;
Described server, according to described version information, carries out audio frequency parameter adaptation debugging, it is determined that meet the parameter of the voice-grade channel of described standard of performance threshold value.
Where it is determined that after meeting the parameter of the voice-grade channel of described standard of performance threshold value, also comprise:
Receive the parameter of the described voice-grade channel meeting standard of performance threshold value that described server sends;
By voice-grade channel corresponding for the parameter of the described voice-grade channel meeting standard of performance threshold value, as described optimum voice-grade channel.
The present invention provides a kind of device selecting voice-grade channel, comprising:
Acquisition module, for installing the application program with audio-frequency function, obtains the version information of described application program;
Whether detection module, for according to described version information, having preset voice-grade channel to described application program in sense terminals;
Test module, for when described application program not having be preset voice-grade channel in described terminal, then utilizing the standard audio data in described terminal, all voice-grade channels described application program arranged carry out performance test, obtain test result;
Select module, for obtaining optimum test result, it is determined that voice-grade channel corresponding to described optimum test result is as optimum voice-grade channel;
Adaptation module, for being the adaptive described optimum voice-grade channel of described application program.
Wherein, also comprise:
Judge module, for judging whether described optimum test result reaches standard of performance threshold value;
If, then described selection module using voice-grade channel corresponding for described optimum test result as optimum voice-grade channel;
If not, then described selection module using voice-grade channel corresponding for described optimum test result as interim voice-grade channel.
Wherein, also comprise:
Sending module, for when described optimum test result does not reach described standard of performance threshold value, being sent to server by the described version information of described application program;
Determination module, for described server according to described version information, carries out audio frequency parameter adaptation debugging, it is determined that meet the parameter of the voice-grade channel of described standard of performance threshold value.
Wherein, also comprise:
Receiver module, for receiving the parameter of the described voice-grade channel meeting standard of performance threshold value that described server sends;
Described selection module, for the voice-grade channel that the parameter by the described voice-grade channel meeting standard of performance threshold value is corresponding, as described optimum voice-grade channel.
The present invention provides a kind of terminal, comprises the device described in above-mentioned arbitrary item.
Wherein, described terminal also comprises:
Reminding module, downloads the parameter of the voice-grade channel meeting described standard of performance threshold value for pointing out user.
The method of selection voice-grade channel provided by the present invention, device and terminal, comprising: installs the application program with audio-frequency function, obtains the version information of described application program; According to described version information, whether sense terminals presets voice-grade channel to described application program; If not, then utilizing the standard audio data in described terminal, all voice-grade channels described application program arranged carry out performance test, obtain test result; Obtain optimum test result, it is determined that voice-grade channel corresponding to described optimum test result is as optimum voice-grade channel; For the adaptive described optimum voice-grade channel of described application program;
The method, by judging whether application program has default voice-grade channel in the terminal, is being selected to adaptive that kind of voice-grade channel of this application program;Therefore, the method can be adaptive by self-adaptation, makes terminal can go compatible application in audio frequency better, and solving frequently upgrades to upgrade because of application version causes the problem that audio frequency path is unfixing, Internet phone-calling experiences difference, and do not increase any hardware cost, it is to increase Consumer's Experience.
Embodiment
The core of the present invention is to provide a kind of method, device and the terminal of selecting voice-grade channel, can self-adaptation adaptive, making terminal can go compatible application in audio frequency better, solving frequently upgrades to upgrade because of application version causes the problem that audio frequency path is unfixing, Internet phone-calling experiences difference.
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, the schema of the method for the selection voice-grade channel that Fig. 1 provides for the embodiment of the present invention; The method can comprise:
S100, install there is the application program of audio-frequency function, obtain the version information of described application program;
Wherein, owing to terminal is when producing, only a version (major part is latest edition) of the application program with audio-frequency function can be carried out the configuration of voice-grade channel; But when user uses in the process of terminal, this application program there will be renewal version, and the voice-grade channel of the latest edition of this application program configuration can change, thus cause the faults such as call noise, reduce Consumer's Experience; Such as, mobile phone products is before listing, research staff is configured with audio frequency passage channel 1[VOIP passage according to micro-letter 5.0 version up-to-date at that time] and debug and got well parameter, it is ensured that user can normal talking when hand-held, hands-free, earphone or bluetooth state use the voice call function in this micro-letter; But after product lists for some time, 6.0 versions issued again by micro-letter, and now this version acquiescence what call is passage 2[Playback passage], and this passage was not carried out parameter testing by research staff at that time, therefore directly cause user to use and during the micro-letter of redaction, go out the customer complaint problem such as realize voice or video call noise, echo, distorsion, greatly have impact on Consumer's Experience.
It may be seen that user download or install there is the application program of audio-frequency function time, if when described application program default in there is the version of this application program and terminal is same version, namely terminal being preset the voice-grade channel of this version, there are not the problems referred to above; Therefore, first the method to be obtained the version information of this application program; Acquisition methods can be multiple, and wherein the simplest directly mode is compared by the version number in the attribute of application program, if version number is unanimously, is same version, if version number difference, is different editions.
S110, according to described version information, whether sense terminals presets voice-grade channel to described application program;
Wherein, according to the voice-grade channel whether version information can have this application program corresponding in sense terminals, when the described application program even preset in application program and terminal is same version, presetting debugged voice-grade channel for this application program in terminal, the parameter that user can call this voice-grade channel in use is conversed.
If the described application program preset in application program and terminal is not same version, the voice-grade channel through debugging of this version of Non-precondition in terminal, or before this application program, terminal does not have, belong to new application program, not to this application program preset audio passage in terminal yet.
S120, if not, then utilizing the standard audio data in described terminal, all voice-grade channels described application program arranged carry out performance test, obtain test result;
Wherein, when terminal not having for this application program preset audio passage, but again in order to guarantee the application program of this version communication effect better namely can self-adaptation be its adaptive suitable voice-grade channel, can by the standard audio data in terminal, the all voice-grade channels utilizing this application program to arrange carry out performance test, obtain the test result of each voice-grade channel. The content of specific performance test is not limited by the present invention, it is possible to confirm according to practical situation.
S130, obtain optimum test result, it is determined that voice-grade channel corresponding to described optimum test result is as optimum voice-grade channel;
Wherein, optimum test result in all test results, it is determined that voice-grade channel corresponding to optimum test result is as optimum voice-grade channel; The parameter of optimum voice-grade channel uses voice-grade channel parameter during this application program to carry out voice call as user.
Detailed process can be the content according to performance test, the test result of each content measurement is marked, each voice-grade channel arranged according to this application program carries out the final score of performance test, select mark the highest (optimum test result) as voice-grade channel as optimum voice-grade channel, it may also be useful to the parameter of this optimum voice-grade channel is conversed. It can also be the content according to performance test, the test result of each content measurement is marked, determine that each voice-grade channel that this application program is arranged carries out the final score of performance test according to the weight of each content measurement, select mark the highest as voice-grade channel as optimum voice-grade channel, it may also be useful to the parameter of this optimum voice-grade channel is conversed. Concrete voice-grade channel is not determined that mode limits by the present invention, it is possible to determine according to practical situation.
S140, the adaptive described optimum voice-grade channel that is described application program. Namely, when user uses, the parameter of described optimum voice-grade channel is called.
Based on technique scheme, the method for the selection voice-grade channel that the embodiment of the present invention provides, the method, by judging whether application program has default voice-grade channel in the terminal, is being selected to adaptive that kind of voice-grade channel of this application program; Therefore, the method can be adaptive by self-adaptation, makes terminal can go compatible application in audio frequency better, and solving frequently upgrades to upgrade because of application version causes the problem that audio frequency path is unfixing, Internet phone-calling experiences difference, and do not increase any hardware cost, it is to increase Consumer's Experience.
Optionally, above-described embodiment being determined, voice-grade channel corresponding to described optimum test result is as before optimum voice-grade channel, it is also possible to comprising:
Judge whether described optimum test result reaches standard of performance threshold value;
If then carrying out determining the step of voice-grade channel corresponding to described optimum test result as optimum voice-grade channel;
If not, then using voice-grade channel corresponding for described optimum test result as interim voice-grade channel.
Wherein, the parameter of voice-grade channel when conversing as user speech owing to determining the parameter of the voice-grade channel that optimum test result is corresponding in test result, but also likely there will be, although voice-grade channel actual effect corresponding to this optimum test result is best in the voice-grade channel of all settings, but the effect of its reality also can not be desirable especially, namely the performance index of the voice-grade channel that this optimum test result is corresponding are needed to judge, see whether it meets some requirements, namely whether the test result of the voice-grade channel that this optimum test result is corresponding reaches standard of performance threshold value, this standard of performance threshold value can set according to the practical situation of terminal, only exceed this standard of performance threshold value and just may reach a relatively good communication effect, that is if, then carrying out determining the step of voice-grade channel corresponding to described optimum test result as optimum voice-grade channel, when the test result of this best voice-grade channel does not meet standard of performance threshold requirement, then using voice-grade channel corresponding for described optimum test result as interim voice-grade channel.
Consumer's Experience can be improved by such mode, make terminal can go this application program compatible in audio frequency better.
Voice-grade channel corresponding for described optimum test result can also be tested after interim voice-grade channel again, it is determined that meet the parameter of the voice-grade channel of standard of performance threshold value, and using the parameter of described parameter as optimum voice-grade channel. Namely optional, using voice-grade channel corresponding for described optimum test result as after interim voice-grade channel on the basis of above-described embodiment, it is also possible to comprising:
The described version information of described application program is sent to server;
Described server, according to described version information, carries out audio frequency parameter adaptation debugging, it is determined that meet the parameter of the voice-grade channel of described standard of performance threshold value.
Wherein, described server can be the cloud server of producer.
Wherein, the mode of the parameter of the voice-grade channel that a kind of concrete determination meets standard of performance threshold value is provided here, namely first the information of described application program is sent to server, make the terminal server can according to the particular case of the particular case of this version and terminal versions, carry out audio frequency parameter adaptation debugging, finally determine the parameter of a kind of new voice-grade channel meeting standard of performance threshold value, and the parameter of this voice-grade channel is sent to terminal so that it is the parameter of this new voice-grade channel can be called when using this application program.
Carry out the quality of voice call in order to improve user, time the voice-grade channel arranged in the application does not have suitable voice-grade channel, according to the practical situation of this application program, it is allocated again a new voice-grade channel. Wherein, this application program can be upgraded by user by any mode, to obtain the parameter of the voice-grade channel meeting standard of performance threshold value, after namely determining to meet the parameter of voice-grade channel of described standard of performance threshold value, it is also possible to comprising:
Receive the parameter of the described voice-grade channel meeting standard of performance threshold value that described server sends;
By voice-grade channel corresponding for the parameter of the described voice-grade channel meeting standard of performance threshold value, as described optimum voice-grade channel.
Detailed process is it may be that the mode utilizing wired download or OTA (OvertheAir, wireless downloading) is downloaded.Wherein, it is preferable that, wireless downloading meets the parameter of the voice-grade channel of described standard of performance threshold value, using the parameter of described parameter as optimum voice-grade channel. Here wireless download technology is very ripe, and the upgrading facilitating user to carry out application program is downloaded.
Please refer to Fig. 2, by a specific embodiment, aforesaid method detailed process be described:
The version Vn of the described application program that s1, the version Vx reading application A PK and manufacturer terminal are preset makes comparisons, and if the same turns to s2, otherwise turns to s3;
When s2, user use, CPU notifies that MODEM calls the parameter of default debugged voice-grade channel A;
S3, by the standard audio data in terminal by Vx version arrange all voice-grade channels carry out performance test;
S4, whether optimum voice-grade channel B reaches standard of performance scoring valve value X to judge the performance test results, is turn to s5, otherwise turns to s6;
When s5, user use, CPU notifies the parameter of the optimum voice-grade channel B of MODEM invocation performance test result
S6, the version of the information of APK and terminal is issued cloud server, when user uses, temporarily call the parameter of voice-grade channel B;
S7, the information being obtained this APK by cloud server, carry out audio frequency parameter debugging adaptive, and the parameter of the voice-grade channel C that output reaches standard of performance scoring valve value X is upgraded for user OTA;
S8, user OTA upgrade voice-grade channel C, and when user uses this APK, CPU notifies that MODEM calls the parameter of voice-grade channel C.
Enumerate a concrete example below and aforesaid method detailed process be described:
Terminal is dispatched from the factory and is configured debugged 4 voice-grade channels, and wherein A (with address list 1.0), B (easily believes 2.0), C (micro-letter 5.0), and D. User downloads and uses and address list 1.0, and easily letter 3.0 and micro-letter 6.0 use. Mating passage A with address list 1.0 directly to configure, other two do not mate due to version, all voice-grade channel performance tests scoring easily letter 3.0 and micro-letter 6.0 arranged by the standard audio data in terminal. According to testing evaluation result, easily letter 3.0 use passage D marks the highest, and the every performance index of D all reach standard valve value X, therefore easy letter 3.0 use voice-grade channel D; According to testing evaluation result, micro-letter 6.0 uses channel C scoring the highest, but some performance index of voice-grade channel do not reach standard valve value X, audio frequency effect is still undesirable, therefore the APK (AndroidPackage by micro-letter 6.0, Android installation kit) information and terminal versions issue cloud server, this micro-letter 6.0 can be carried out audio frequency debugging by obtaining information by producer, the voice-grade channel parameter E satisfied condition after debugging is upgraded for user OTA, after user upgrades, so that it may converse with the channel parameters E using audio performance best.
Based on technique scheme, the method of the selection voice-grade channel that the embodiment of the present invention provides, the method is adaptive and OTA upgrading by voice-grade channel parameter self-adaptation, make terminal that compatibility can be gone in audio frequency better to have the application program of audio-frequency function, solving frequently upgrades to upgrade because of application version causes the problem that audio frequency path is unfixing, Internet phone-calling experiences difference, and do not increase any hardware cost, it is to increase Consumer's Experience.
Embodiments provide the method selecting voice-grade channel, it is possible to by aforesaid method can self-adaptation adaptive, make terminal can go the application program of compatible audio-frequency function in audio frequency better.
The device of selection voice-grade channel and the terminal that the embodiment of the present invention are provided below are introduced, and the method for the device of selection voice-grade channel described below and terminal and above-described selection voice-grade channel can corresponding reference mutually.
Please refer to Fig. 3, the structure block diagram of the device of the selection voice-grade channel that Fig. 3 provides for the embodiment of the present invention;This device can comprise:
Acquisition module 100, for installing the application program with audio-frequency function, obtains the version information of described application program;
Whether detection module 200, for according to described version information, having preset voice-grade channel to described application program in sense terminals;
Test module 300, for when described application program not having be preset voice-grade channel in described terminal, then utilizing the standard audio data in described terminal, all voice-grade channels described application program arranged carry out performance test, obtain test result;
Select module 400, for obtaining optimum test result, it is determined that voice-grade channel corresponding to described optimum test result is as optimum voice-grade channel;
Adaptation module 500, for being the adaptive described optimum voice-grade channel of described application program.
Optionally, please refer to and can also comprise before selecting module 400 described in Fig. 4 above-described embodiment:
Judge module 600, for judging whether described optimum test result reaches standard of performance threshold value;
If then selecting module 400 using voice-grade channel corresponding for described optimum test result as optimum voice-grade channel;
If not, then module 400 is selected using voice-grade channel corresponding for described optimum test result as interim voice-grade channel.
Optionally, this device can also comprise:
Sending module, for when described optimum test result does not reach described standard of performance threshold value, being sent to server by the described version information of described application program;
Determination module, for described server according to described version information, carries out audio frequency parameter adaptation debugging, it is determined that meet the parameter of the voice-grade channel of described standard of performance threshold value.
Optionally, this device can also comprise:
Receiver module, for receiving the parameter of the described voice-grade channel meeting standard of performance threshold value that described server sends;
Described selection module 400, for the voice-grade channel that the parameter by the described voice-grade channel meeting standard of performance threshold value is corresponding, as described optimum voice-grade channel.
Optionally, described parameter acquisition module can also comprise:
Download unit, meets the parameter of the voice-grade channel of described standard of performance threshold value for wireless downloading.
The present invention provides a kind of terminal, comprises the device described in above-mentioned any embodiment.
Optionally, this device can also comprise:
Reminding module, downloads the parameter of the voice-grade channel meeting described standard of performance threshold value for pointing out user.
Can so that user upgrades in time the voice-grade channel of application program so that the application program with audio-frequency function can both have suitable voice-grade channel under any version and situation, thus ensures the children's stories quality of application program, it is to increase Consumer's Experience.
In specification sheets, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment emphasis illustrated is the difference with other embodiments, between each embodiment identical similar portion mutually see. For device disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, the unit of each example described in conjunction with embodiment disclosed herein and algorithm steps, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeableness of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme. Each specifically can should be used for using different methods to realize described function by professional and technical personnel, but this kind realizes should not thinking the scope exceeding the present invention.
The method described in conjunction with embodiment disclosed herein or the step of algorithm can direct hardware, treater execution software module, or the combination of the two implements. Software module can be placed in the storage media of other form any known in random access memory (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above the method for selection voice-grade channel provided by the present invention, device and terminal are described in detail. Apply specific case herein the principle of the present invention and enforcement mode to have been set forth, illustrating just for helping the method understanding the present invention and core concept thereof of above embodiment. , it is also possible to the present invention carries out some improvement and modification, it is noted that for those skilled in the art, under the premise without departing from the principles of the invention these improve and modify in the protection domain also falling into the claims in the present invention.