Background technology
Developing rapidly of the communication technology brought communication contact more easily to people.Especially present 3G (the The third Generation Mobile Telecommunication that is developing, the 3G (Third Generation) Moblie net) video telephone, not only make people in the process of communication, can hear the other side's sound, more can see corresponding video image, further deepen both sides' contact.
Yet present 3G video telephone all is that video and speech data transmit simultaneously and play, and under the normal situation of network, both sides' the voice call and the transmission of video image do not have obstacle.But when network signal variation or Internet resources anxiety, the quality of video and voice then can be affected.Under the serious situation, even often do not hear the other side and speak.And in the standard about video calling that China Mobile formulates, it is the quality that the requirement radio phone terminal can preferentially guarantee voice call that a standard is arranged, video mode of priority just, but also do not have terminal producer can realize this function at present.
Chinese patent application 200480034084.5, disclose and a kind ofly in cordless communication network, made the speech business dynamic priority in data service, wireless network is with respect to one or more limited Internet resources of being shared by dissimilar users, and the user's who is better than another kind of type priority is provided for one type user.For example, if forward link transmit power available on a radio base station is just shared by the voice-and-data user, then if the power rank that is used in combination by the voice-and-data user reaches the release threshold value of a definition, then described radio base station can give the voice user priority by the total amount that minimizing is assigned to current data user's power.
Chinese patent 02159500.3 discloses in a kind of CDMA mobile communication network the implementation method of voice priority business in the data and interactive voice, mobile switching centre receives at behind the voice of the travelling carriage that the carries out data communication incoming call, inspection also judges whether the state of voice priority business in the current mobile station is state of activation, if not, refusal voice incoming call, the method ends flow process; If mobile switching centre sends indication to the base station and starts the message that travelling carriage enters the resting state flow process; The base station receives after this message, starts to make travelling carriage enter the handling process of resting state, described voice incoming call is handled in the handling process of resting state according to travelling carriage then.
Above-mentioned two pieces of patented technologies are based on voice CS (circuit switching, circuit commutative field) and data service PS (packet switching, packet-switched domain), in fact video data also transmits in the CS territory in video telephone, existing patented technology can't be distinguished speech data and video data, because they belong to the CS territory.And above-mentioned existing patented technology is the priority level of base station side inspection user, improves more resources to high-priority users; If network side resource anxiety surpasses limit value, the base station just reduces data service, guarantees speech business, that is to say it is to distinguish user class, and portable terminal and user can't regulate the allocation proportion of voice and video data according to own actual conditions.In addition, above-mentioned patented technology all is to reach the purpose that guarantees voice quality by discharging some Internet resources (data resource or non-voice resource), but for video telephone, in case releasing network resources, conversation just is through with.
In summary, there is shortcoming in video telephone mechanics of communication of the prior art, obviously has inconvenience and defective on reality is used, so be necessary to be improved.
Summary of the invention
At above-mentioned defective, the object of the present invention is to provide a kind of voice mode of priority and system of video telephone, with in the conversation of video telephone, guarantee voice call quality.
To achieve these goals, the invention provides a kind of voice mode of priority of video telephone, described method comprises:
A, before carrying out video telephone, portable terminal is set to the voice mode of priority;
B, when communication quality in the video telephone process descends, adjust the group/cording quantity allocation proportion of video/voice data in the current described video telephone according to communication quality decline degree, reduce the group/cording quantity of the video data in the video telephone, and increase the group/cording quantity of speech data.
According to the described voice mode of priority, also comprise after the described step B:
C, when the communication quality of video telephone rises, come the group/cording quantity allocation proportion of video/voice data in automatic or the current described video telephone of manual adjustment according to communication quality rising degree, increase the group/cording quantity of the video data in the video telephone, and reduce the group/cording quantity of speech data;
D, recover just often when the communication quality of video telephone, automatically or the described voice mode of priority of manual-lock, make described video/voice data recover normal group/cording quantity allocation proportion.
According to the described voice mode of priority, by the voice that receive user's input instruction is set preferentially in the described steps A, described portable terminal is set to the voice mode of priority; Perhaps
The acquiescence of portable terminal described in the described steps A is set to the voice mode of priority automatically.
According to the described voice mode of priority, among the described step B user according to the communication decline degree of video telephone, the group/cording quantity allocation proportion of video/voice data in the current described video telephone of manual adjustment; Perhaps
Portable terminal described in the described step B is adjusted the group/cording quantity allocation proportion of video/voice data in the current described video telephone automatically according to the communication decline degree of detected video telephone.
According to the described voice mode of priority, according to communication quality decline degree five voice priority levels are set among the described step B, comprising: the first voice priority level, frame of video quantity are 12 frames; The second voice priority level, frame of video quantity are 10 frames; The 3rd voice priority level, frame of video quantity are 7 frames; The 4th voice priority level, frame of video quantity are 5 frames; The 5th voice priority level is closed video and is transmitted, and frame of video quantity is 0 frame.
According to the described voice mode of priority, the coding quality parameter of the encoder control of video data by described portable terminal among the described step B is adjusted the group/cording quantity allocation proportion of video/voice data in the current described video telephone.
According to the described voice mode of priority, the communication quality of described video telephone descends and to be meant that network signal variation or network are busy.
According to the described voice mode of priority, described video/voice data is all transmitted in the CS territory.
According to the described voice mode of priority, described video telephone is the 3G video telephone.
In order to realize another goal of the invention of the present invention, the present invention also provides a kind of voice priority system of realizing described method, and described voice priority system is applied to portable terminal, comprising:
Voice preferentially are provided with module, are used for before carrying out video telephone, and portable terminal is set to the voice mode of priority;
The preferential control module of voice, be used for when video telephone process communication quality descends, adjust the group/cording quantity allocation proportion of video/voice data in the current described video telephone according to communication quality decline degree, reduce the group/cording quantity of the video data in the video telephone, and increase the group/cording quantity of speech data.
The present invention is by in calling course of video telephone, according to communication quality decline degree, reduce the group/cording quantity of the video data in the video telephone, and increase the group/cording quantity of speech data, realize the video frequency data quality of video telephone and the corresponding adjustment of image display area; Realize that the voice in the video telephone are preferential, guaranteed the voice call quality of video telephone.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Basic thought of the present invention is: in conversation on video telephone, when the network signal variation, reduce video frequency data quality and coding, to guarantee the transmission of voice data, the voice quality of user's conversation on video telephone is guaranteed.
Voice preferentially are provided with module 11, are used for before carrying out video telephone, and portable terminal is set to the voice mode of priority;
The preferential control module 12 of voice, be used for when video telephone process communication quality descends, adjust the group/cording quantity allocation proportion of video/voice data in the current described video telephone according to communication quality decline degree, reduce the group/cording quantity of the video data in the video telephone, and increase the group/cording quantity of speech data.
Video telephone often because the network signal variation, has the indoor of a lot of walls or network coverage shadow region around entering the caller in conversation, or network busy the time, calling quality will be affected.Voice priority system 1 in the present invention, the user preferentially was provided with module 11 before carrying out video telephone by voice, and portable terminal is set to the voice mode of priority.Under this voice mode of priority, when the preferential control module 12 of voice communication quality in the video telephone process descends, adjust the group/cording quantity allocation proportion of video/voice data in the current video telephone according to communication quality decline degree, reduce the group/cording quantity of the video data in the video telephone, and increase the group/cording quantity of speech data.Can guarantee the conversation on video telephone quality like this.
In fact, concerning video calling i, or the CS territory transmission channel of 64Kbytes, there is not the variation that takes place.But for user's this respect, hope can not heard the other side's the content of speaking clearly, even image difference is a little, still can understand the other side's intention yet.
Referring to Fig. 2, in one embodiment of the invention, the step of the voice mode of priority of video telephone is as follows:
In step S201, voice preferentially were provided with module 11 before carrying out video telephone, and portable terminal is set to the voice mode of priority; The user is before carrying out conversation on video telephone, and what can pass through manual or automated manner adjustment current mobile terminal is the voice mode of priority.
In this step, voice preferentially are provided with module 11 and by the voice that receive user's input instruction are set preferentially, and described portable terminal is set to the voice mode of priority; Perhaps described portable terminal acquiescence is set to the voice mode of priority automatically.
In general, the user is before the use portable terminal carries out video telephone, if it is known the signal of communication difference in residing location or in order to guarantee its quality in communication process, can start the voice mode of priority of portable terminal manually.
In step S202, when communication quality in the video telephone process descends, the preferential control module 12 of voice is adjusted the group/cording quantity allocation proportion of video/voice data in the current described video telephone according to communication quality decline degree, reduce the group/cording quantity of the video data in the video telephone, and increase the group/cording quantity of speech data.
In this step, the user is according to the communication decline degree of video telephone, the group/cording quantity allocation proportion of video/voice data in the current described video telephone of manual adjustment; Perhaps described portable terminal is adjusted the group/cording quantity allocation proportion of video/voice data in the current described video telephone automatically according to the communication decline degree of detected video telephone.This adjustment process realizes by the preferential control module 12 of voice.
In the mobile terminal visual phone communication process, the user finds that the conversation on video telephone quality descends, can the current described video telephone of manual adjustment in the group/cording quantity allocation proportion of video/voice data; Or this portable terminal is adjusted the group/cording quantity allocation proportion of video/voice data in the video telephone automatically.And in the present invention, the communication quality of described video telephone descends and to be meant that network signal variation or network are busy.
When communication quality descended in the video telephone process, image all can be affected with conversation sound.Per second need transmit 15 Frames in the video telephony call process, generally comprises 1~2 I frame, and other is the video data of P frame.Also need the real-time Transmission voice data.For a Frame, if video image quality is high more, then this frame coded data amount is big more; If video image quality is poor more, then this frame coded data amount is more little.The I two field picture adopts intraframe coding method, has promptly only utilized the spatial coherence in the single-frame images, and has not utilized temporal correlation.The I two field picture of encoding, data volume generally is 1Kbytes~8Kbytes.The P frame is the be separated by coded frame of 1~2 frame of I frame back, and the P two field picture adopts inter-frame encoding, has promptly utilized the correlation on the room and time simultaneously, only adopts the forward direction time prediction, can improve compression efficiency and picture quality.The P two field picture of encoding, data volume generally is 0.06Kbytes~0.8Kbytes.When the network signal variation, can be by quality and the quantity that reduces video coding, thus reduce the transmission of video data, increase the transmission of speech data.If Internet resources are very poor, can stop video Data Transmission, only transmit voice data.Guarantee the unimpeded of voice data thereby go up to greatest extent.When the network recovery good condition, can recover original audio frequency and video All factors being equal, preference will be give to the level transmission.
Referring to Fig. 3, in another embodiment of the present invention, after the step S202 of a last embodiment, also comprise:
In step S203, when the communication quality of video telephone rises, come the group/cording quantity allocation proportion of video/voice data in automatic or the current described video telephone of manual adjustment according to communication quality rising degree, increase the group/cording quantity of the video data in the video telephone, and reduce the group/cording quantity of speech data;
In step S204, when the communication quality of video telephone recovers just often, automatically or the described voice mode of priority of manual-lock, make described video/voice data recover normal group/cording quantity allocation proportion.
In calling course of video telephone, the user wishes to improve voice and Image communicating quality when the communication quality of video telephone rises, and adjusts the group/cording quantity allocation proportion of video/voice data in the current described video telephone by automatic or manual.
The communication quality of video telephone recover normal after, the user wishes to recover normal voice and Image communicating, can be automatically or the described voice mode of priority of manual-lock, make described video/voice data recover normal group/cording quantity allocation proportion.This adjustment process is provided with control module 11, preferential control module 12 realizations of voice by voice.And video/voice data of the present invention is all transmitted in the CS territory.
The present invention utilizes the function of preferential packing of voice and transmission, guarantees in the conversation on video telephone voice quality.No matter under which kind of network condition, video data and speech data have equal priority level to existing video telephone; When starting voice priority function of the present invention, then the priority level of video data reduces and the priority level raising of speech data, and the user can be provided with preferential rank.Wherein voice priority level and video data encoding quality, and the audio quality relation is as shown in the table:
Priority |
The video data encoding quality |
Frame of video | Audio quality | |
1 |
10 |
12 |
The priority ratio video data is high by 10% |
2 |
15 |
10 |
The priority ratio video data is high by 30% |
3 |
20 |
7 |
The priority ratio video data is high by 50% |
4 |
25 |
5 |
The priority ratio video data is high by 70% |
5 |
Close video |
0 |
Priority is the highest, has only voice data |
At present, the present invention defines the voice priority level between 1~5 grade.When user gradation changed, the priority of voice changed accordingly.The rank of definition is as follows: 1 grade is higher than video data a little for voice data transmission, be applicable to the little or signal of the network fluctuation situation of variation a little, 2~4 grades of situations that are applicable to the obvious variation of network, and be set to 5 grades for closing current video transmission, only transmit voice data, be applicable to the situation of the non-constant of network.Therefore, preferably in one embodiment of the invention, according to communication quality decline degree five voice priority levels are set among the step S202, comprising: the first voice priority level, frame of video quantity are 12 frames; The second voice priority level, frame of video quantity are 10 frames; The 3rd voice priority level, frame of video quantity are 7 frames; The 4th voice priority level, frame of video quantity are 5 frames; The 5th voice priority level is closed video and is transmitted, and frame of video quantity is 0 frame.And be coding quality parameter, adjust the group/cording quantity allocation proportion of video/voice data in the current described video telephone by the encoder control of video data of described portable terminal.
Referring to Fig. 4, the method flow of the voice priority function of the video telephone in the one embodiment of the invention is described below:
In step S401, the video telephone voice are provided with; The user is by UI (User Interface, user interface) module, and promptly voice preferentially are provided with module 11 input voice priority function open command, and it is other that the back is provided with the voice priority that needs by the preferential control module 12 of voice.Priority level is higher under the default situations, and it is other that the user can adjust voice priority by key about the user interface or numerical key.The voice priority that is provided with is not high more, and then the quality of voice transfer can guarantee more.
In step S402, the preferential control module 12 of voice judges whether the user requires the opening voice priority function, is execution in step S403 then, otherwise process ends.
In step S403, the preferential control module 12 of voice is deposited into the data that voice preferentially are provided with module 11 settings in the database.In this embodiment, the user selects to enter voice by menu module 11 preferentially is set, and whether the opening voice priority function is set.Preferential control module 12 functions of the voice of video telephone then are that user's setting option is write into database, and when video telephone started, initialize routine was with accessing database and check this setting, and according to whether opening this function, carry out the respective coding flow process.
When the user selects to start voice and preferentially function is set, when carrying out video telephone, from menu, can select voice that function preferentially is set; When the voice of selecting not start as the user preferentially are provided with function, when carrying out video telephone, there are not voice that function choosing-item preferentially is set in the menu.
Referring to Fig. 5, the video telephone that one embodiment of the invention provides realizes that the method flow of voice priority function is described below;
In step S501, the video telephone initialization.
In step S502, select the voice priority function by the menu of video telephone.Be that the user preferentially is provided with the instruction that module 11 input voice priority function are opened or closed by voice.In the process of video call, the user can realize the function that voice are preferential by menu or shortcut.
In step S503, the user is by increasing progressively or successively decreasing and realize by navigation direction key or side switch, and is downward for successively decreasing, upwards for increasing progressively such as navigation direction key or side switch.There are not two numerical keys that the video telephone of directionkeys can self-defined video telephone as the operating key that increases or reduce zoom.The user can pass through button, and the sound in the visual telephone is adjusted to desirable effect.Promptly utilize the preferential control module 12 of voice that the preferential grade of described voice is set, the preferential control module 12 of voice is adjusted this grade.
In step S504, reduce the quality and quantity of video data, show the priority level of this moment on the screen.Voice preferentially are provided with module 11 and receive the instruction of the preferential grade of the described voice of users' input or the instruction that the voice priority function is closed; The preferential control module 12 of voice is adjusted the group/cording quantity and the quality of video data in the conversation on video telephone according to the instruction of the preferential grade of described voice.
Design philosophy of the present invention is in limited voice call resource, reduce the quality and quantity of video data, promptly reduce the transmission of video data, because the resource that video data takies is many, take 48KByte/ second, and voice to take resource be 12Kbyte/ second, total resources are 64Kbyte/ seconds, so thereby the data that can effectively reduce Network Transmission guarantee the unobstructed of voice transfer.
In step S505, the user judges whether this priority level is suitable, suitable then execution in step S506, otherwise process ends.If suitable then the instruction that module 11 input voice preferentially close preferentially is set by voice after, close described voice priority function.
In step S506, withdraw from menu, close the preferential control module 12 of voice.
In step S507, proceed video call.
In the present invention, the user preferentially is provided with module 11 by voice and selects the voice priority function; The preferential control module 12 of voice starts.Call database, detect the input key assignments that defines then, it is other to carry out corresponding priority level.And show current zoom multiple at the correct position of video telephone screen.Preferential control module 12 operations of voice.The user then calls the corresponding encoder control function after selecting suitable voice priority not, carries out the coding control of appropriate level, then closes the zoom control module.Program will be proceeded video call according to current focal length.The preferential control module 12 of voice is closed.When the network recovery good condition, the user can close the preferential control module 12 of voice by menu; At this moment, voice/video all is same priority level, and both call sides all should compare smooth and clear.
In above-mentioned a plurality of embodiment, portable terminal is preferably the 3G video telephone.
In sum, the present invention according to communication quality decline degree, reduces the group/cording quantity of the video data in the video telephone by in calling course of video telephone, and the group/cording quantity of increase speech data is realized the video frequency data quality of video telephone and the corresponding adjustment of image display area; Realize that the voice in the video telephone are preferential, guaranteed the voice call quality of video telephone.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.