CN105872441A - Video communication method and device - Google Patents

Video communication method and device Download PDF

Info

Publication number
CN105872441A
CN105872441A CN201610028606.5A CN201610028606A CN105872441A CN 105872441 A CN105872441 A CN 105872441A CN 201610028606 A CN201610028606 A CN 201610028606A CN 105872441 A CN105872441 A CN 105872441A
Authority
CN
China
Prior art keywords
video
information
video parameter
parameter
network information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610028606.5A
Other languages
Chinese (zh)
Inventor
肖剑飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority to CN201610028606.5A priority Critical patent/CN105872441A/en
Publication of CN105872441A publication Critical patent/CN105872441A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Abstract

The invention discloses a video communication method and device. The method comprises the following steps of collecting terminal information and network information; obtaining a first video parameter according to at least one of the terminal information and the network information; carrying out video recording according to the first video parameter; and carrying out video transmission according to the first video parameter. The device comprises an information collection module used for collecting the terminal information and the network information, a video parameter obtaining module connected to the information collection module and used for obtaining the first video parameter according to at least one of the terminal information and the network information, a video recording module connected to the video parameter obtaining module and used for carrying out video recording according to the first video parameter, and a transmission control module connected to the video parameter obtaining module and the video recording module and used for carrying out video transmission according to the first video parameter. According to the video communication method, recording and transmission of the video can be adaptively adjusted according to the state of the terminal and the access network, so that the quality of video communication is improved.

Description

Video communication method and device
Technical field
The present invention relates to communication technical field, particularly to a kind of video communication method and device.
Background technology
Along with the development of communication technology, terminal the most solely provides voice service, video communication Become a kind of mode that user is used more and more.
Video communication is often referred to: hold based on the Internet and mobile Internet (such as 3G the Internet), By transmitting voice and the image (e.g., the bust of people, photo, article etc.) of people between terminal in real time A kind of communication mode.According to the difference of terminal, video communication is generally divided into four kinds of modes: PC-to-PC, PC-to-Phone, Phone-to-PC and Phone-to-Phone via Internet.
When carrying out video communication, there are two comparison units that are crucial and that affect video communication quality Device: photographic head and display screen, wherein, camera collection video data, mike gathers audio frequency Data.The video data collected and voice data are encoded by terminal according to set agreement, With certain code check, video data and voice data are sent again, transmit via network, by regarding The opposite end (that is, another terminal) of frequency communication receives, and will receive video data and audio frequency number It is decoded according to according to set agreement, is finally shown by display screen.
In video communication service, along with various mobile terminals (such as mobile phone, panel computer etc.) Adding market, the mobile terminal of video communication participant is more and more diversified.The use of video communication Family is experienced to be affected by video parameter (such as resolution).Traditional low-resolution video communications Can not meet the demand of user, when user is expected to the performance permission of mobile terminal, adopted With the most high-resolution video image.
It addition, the Netowrk tape of the network that video communication is relied on (such as, 2G/3G/WLAN etc.) Wide different with data throughout, network transfer speeds is also the most different.Current video communication is typically Fixing transformat is used to carry out transmitting video data, when network type changes, with this Mode carrys out transmitting video data, not only consumes substantial amounts of data traffic, and can cause video figure The definition of picture is the highest, even results in picture card and pauses.
Further, different owing to participating in the configuration of two mobile terminals of video communication, example As, the resolution of display screen is different, and the resolution of photographic head is different, and this is it is possible to lead Cause the resolution carrying out the photographic head of a mobile terminal of the video communication mobile terminal with opposite end The resolution of display screen is not mated.As a result, video image display on the display screen of opposite end is caused Incomplete, even because not shown by the display screen support of opposite end.
Summary of the invention
The technical problem to be solved in the present invention is, for the deficiencies in the prior art, it is provided that one regards Frequently communication means and system, the recording of the video being adaptively adjusted in video communication and transmission, Improve the quality of video communication.
In order to solve above-mentioned technical problem, according to an aspect of the present invention, the invention provides one Plant video communication method, including:
Acquisition terminal information and the network information;
Obtain first according at least one category information in described end message and the described network information to regard Frequently parameter;
Video record is carried out according to described first video parameter;With,
Transmission of video is carried out according to described first video parameter.
Alternatively, carrying out video record according to described first video parameter, and according to described first After video parameter carries out transmission of video and before video communication terminates, when the update cycle arrives, Also include:
At least one category information in acquisition terminal information and the network information;
Obtain the most more according at least one category information in described end message and the described network information Second video parameter in new cycle;
Video record is carried out according to second video parameter of described current update cycle, and/or, press The second video parameter according to the described current update cycle carries out transmission of video.
Alternatively, carrying out video record according to second video parameter of described current update cycle, And/or, before carrying out transmission of video according to second video parameter of described current update cycle, also wrap Include:
Calculate between the second video parameter and the currently used video parameter of current update cycle Difference;
Then carry out video record according to second video parameter of described current update cycle, and/or, Carrying out transmission of video according to second video parameter of described current update cycle is:
If the absolute value of described difference is equal to or more than the first threshold preset, then work as according to described Second video parameter of front update cycle carries out video record, and/or, according to described current renewal week Second video parameter of phase carries out transmission of video.
Wherein, also include in aforementioned schemes:
If the absolute value of described difference is less than the first threshold preset, then continue according to currently used Video parameter carry out video record, and, carry out transmission of video according to currently used video parameter.
Alternatively, described end message includes: the real time status information of local terminal.Wherein, institute The real time status information stating local terminal includes: main board work frequency, mainboard temperature, battery electric quantity With at least one in available dynamic memory capacity.
Alternatively, described end message also includes the hardware letter realizing the distant terminal of video communication Breath;
The hardware information gathering the distant terminal realizing video communication is: receives the described video that realizes and leads to The hardware letter of the described distant terminal realizing video communication that the distant terminal of letter is sent by network Breath.Wherein, the hardware information of the described distant terminal realizing video communication includes: described realization regards The resolution of the display screen of the distant terminal of frequency communication.
Alternatively, the described network information includes: at least one in network type and network throughput.
Alternatively, in described video communication method, obtain video parameter in the following way, Described video parameter is the first video parameter and/or the second video parameter:
The mapping table prestored according to the information inquiry collected, obtains video parameter;Described prestore Mapping table in maintain the mapping between described end message and the described network information and video parameter Relation;
Wherein, when video parameter is the first video parameter, described in the information that collects be terminal Information and the network information, when video parameter is the second video parameter, described in the information that collects For at least one category information in end message and the network information.
Alternatively, in described video communication method, the information inquiry according to collecting prestores Mapping table, including:
According to default described end message and the priority orders of the described network information, will adopt successively Collect the various information and respective reference comprised in the described end message and the described network information obtained Threshold value compares seriatim;
If any one comprised in the described end message collected and the described network information Information, less than corresponding reference threshold, is less than information and the video of corresponding reference threshold according to numerical value The mapping relations of parameter, obtain video parameter from the described mapping table prestored.
Alternatively, in aforesaid video communication method, also include: if collect is described The various information comprised in end message and the described network information are both greater than or equal to respective with reference to threshold Value, according to default described end message and the weight of the described network information, calculating collects Described end message and the weighted mean of the described network information;
According to the described described end message collected and the weighted mean of the described network information The mapping table that inquiry prestores, obtains video parameter;The described mapping table prestored maintains described end Mapping relations between client information and the weighted mean of the described network information and video parameter.
Alternatively, in described video communication method, according to described end message and described network At least one category information in information obtains second video parameter of current update cycle, including:
According to default described end message and the weight of the described network information, calculating collects The weighted mean of all kinds information;
Relatively described weighted mean and the size of default Second Threshold;
If described weighted mean is more than or equal to described default Second Threshold, add according to described Weight average value inquires about the mapping table prestored, and obtains second video parameter of described current update cycle; The described mapping table prestored maintains at least one class in described end message and the described network information Mapping relations between weighted mean and described second video parameter of information.
In order to solve the deficiencies in the prior art, according to a further aspect in the invention, the present invention also provides for A kind of video communication device, including:
Information acquisition module, for acquisition terminal information and the network information;
Video parameter acquisition module, is connected with described information acquisition module, for according to described terminal At least one category information in information and the described network information obtains the first video parameter;
Video record module, is connected with described video parameter acquisition module, according to described first Video parameter carries out video record;With
Transmission control module, is connected with described video parameter acquisition module and described video record module Connect, carry out transmission of video according to described first video parameter.
Alternatively, described video communication device also includes:
Time block, is carrying out video record for providing according to described first video parameter, and is pressing According to described first video parameter carry out transmission of video after and before video communication terminates, described Information acquisition module periodically acquisition terminal information and the network information, described video parameter obtain mould Block periodicity ground obtains the update cycle of the second video parameter.
Alternatively, in aforesaid video communication device, also include:
Video parameter contrast module, with described video parameter acquisition module, described video record module It is connected with described transmission control module;For calculate second video parameter of current update cycle with The currently used difference between video parameter;
If the absolute value of described difference is equal to or more than the first threshold preset, will currently update week Second video parameter of phase is sent to described video record module and described transmission control module, presses The second video parameter according to the described current update cycle carries out video record, and/or, work as according to described Second video parameter of front update cycle carries out transmission of video.
Alternatively, described video parameter acquisition module includes:
Memory element, for storage system maintenance, described end message and the described network information are joined with video The mapping table of mapping relations between number, described video parameter is the first video parameter and/or the second video Parameter;And
Query unit, for according to mapping table described in the information inquiry collected, to obtain video Parameter.
Alternatively, described memory element also stores the excellent of described end message and the described network information First level, described video parameter acquisition module also includes:
Comparing unit, for according to the priority orders preset, the described end that will collect successively The various information comprised in client information and the described network information are carried out seriatim with respective reference threshold Relatively;If any one comprised in the described end message collected and the described network information Information, less than corresponding reference threshold, sends inquiry notice to described query unit;
Described query unit is according in described inquiry notice, and numerical value is less than the information of corresponding reference threshold With the mapping relations of video parameter, inquire about described mapping table, obtain from the described mapping table prestored Video parameter.
Alternatively, described memory element also stores the pre-of described end message and the described network information If weight, described mapping table maintains the mapping between data weighted average value and described video parameter Relation;Described video parameter acquisition module also includes:
Weighted mean computing unit, according to default weight, calculates all information collected Weighted mean, and described weighted mean is sent to described query unit;
Described query unit inquires about mapping table according to described data weighted average value, prestores from described Mapping table obtains video parameter.
Alternatively, in described video communication device, described video parameter acquisition module can also wrap Include:
Memory element, for storing the default weight of described end message and the described network information, and For safeguarding the mapping table of the mapping relations between weighted mean and video parameter, described video is joined Number is the second video parameter;
Weighted mean computing unit, according to default weight, calculates all kinds collected The weighted mean of information;
Comparing unit, relatively described weighted mean and the size of default Second Threshold, add when described When weight average value is more than described Second Threshold, send inquiry notice to query unit;With
Query unit, for according to the weighted mean in the inquiry notice received, inquiry prestores Mapping table, obtain second video parameter of described current update cycle.
The present invention, according to terminal and the state of access network, is adaptively adjusted recording and the biography of video Defeated video parameter, so that video image keeps relative preferably quality when recording with transmission, Thus improve the quality of video communication.
Accompanying drawing explanation
By description to the embodiment of the present invention referring to the drawings, the present invention above-mentioned and other Objects, features and advantages will be apparent from, in the accompanying drawings:
Fig. 1 is embodiment one flow chart of video communication method of the present invention;
Fig. 2 be video communication method of the present invention embodiment one in video parameter acquisition process stream Cheng Tu;
Fig. 3 is embodiment two flow chart of video communication method of the present invention;
Fig. 4 is the theory diagram of video communication device one embodiment of the present invention;
Fig. 5 is the theory diagram of another embodiment of video communication device of the present invention;
Fig. 6 is the structural principle block diagram of the embodiment one of video parameter acquisition module in the present invention;
Fig. 7 is the structural principle block diagram of the embodiment two of video parameter acquisition module in the present invention;
Fig. 8 is the structural principle block diagram of the embodiment three of video parameter acquisition module in the present invention;With
Fig. 9 is the structural principle block diagram of the embodiment three of video parameter acquisition module in the present invention.
Detailed description of the invention
Below based on embodiment, present invention is described, but the present invention is not restricted to these Embodiment.In below the details of the present invention being described, detailed describe some specific detail portion Point.The description not having these detail sections for a person skilled in the art can also understand this completely Invention.In order to avoid obscuring the essence of the present invention, known method, process, flow process are the most in detail Narration.Additionally accompanying drawing is not necessarily drawn to scale.
Flow chart in accompanying drawing, block diagram illustrate the system of the embodiment of the present invention, method, device Possible System Framework, function and operation, the square frame on flow chart and block diagram can represent a mould Block, program segment or only one section of code, described module, program segment and code are all used to realize The executable instruction of regulation logic function.It should also be noted that described realize regulation logic function can Perform instruction can reconfigure, thus generate new module and program segment.Therefore the square frame of accompanying drawing And square frame order is used only to preferably illustrate process and the step of embodiment, and should not make with this For the restriction to invention itself.
As it is shown in figure 1, be the brief of a specific embodiment of video communication method of the present invention Flow chart.Originally practicing at the beginning of video communication, such as, calling terminal has sent video communication please Ask, or called end receives video communication request, just starts to build between calling terminal and called end The sight of vertical video communication.The method that the present invention provides comprises the following steps:
Step Sa1, communication terminal acquisition terminal information and the network information.
Wherein, described end message includes the real time status information of local terminal and the hard of distant terminal Part information.Specifically, the real time status information of described local terminal includes main board work frequency, master At least one in plate temperature, battery electric quantity and available dynamic memory capacity.Wherein, in, Main board work frequency is the dominant frequency of CPU, in order to the performance of decision systems.Owing to video calling is compared More power consumption for other programs run in terminal, then can cause the rising of terminal mainboard temperature, And this problem can be solved by reducing systematic function.So that it is current according to terminal mainboard Temperature decides whether to need due to temperature drift to reduce performance.Can be with dynamically depositing by current residual Reservoir (RAM) understands the performance height of current system, such as system response speed and resources occupation rate etc..
The hardware information of distant terminal includes the display screen of the described distant terminal realizing video communication Resolution.The hardware information gathering the distant terminal realizing video communication is: receive described realization The described distant terminal realizing video communication that the distant terminal of video communication is sent by network hard Part information.
Its described network information includes the handling capacity of network type and network.It is commonly used for video Communication network type include GSM (Global System for Mobile Communications, Global system for mobile communications), CDMA (Code Division Multiple Access, CDMA), W-CDMAUMTS (Universal Mobile Telecommunications System, General Mobile Communication system), CDMA2000 and TD-SCDMA (Time Division-Synchronous CDMA), (Enhanced Data rate for GSM Evolution strengthens the GSM of data rate to EDGE Evolution), GPRS (General Packet Radio Service, general packet radio service), The connec-tionless network such as WIFI or LTE (i.e. 4G).
When the handling capacity (number that i.e. unit interval can transmit determining network type and current network According to amount (bit/s), it is also possible to be referred to as network speed), just can as condition select corresponding resolution, Video compress ratio, frame per second and code check etc..Such as, when network speed is fast when, it is possible to use low Video compress ratio, high-resolution (e.g., the form of high definition);When network speed is slow when, it is possible to Use high video compress ratio, low resolution (e.g., SD or the form of more low resolution).
Wherein, about aforesaid high-definition format and SD form, according to the standard of radio and television, will " high definition (High Definition) " is defined as 720p, 1080i and tri-kinds of canonical forms of 1080p. " SD (Standard Definition) " is the physical resolution a kind of video at below 720p Form.
Step Sa2, according to described end message and/or the described network information, it is thus achieved that video record and The first video parameter required for transmission, such as resolution etc..
About the acquisition of video parameter, in the method embodiment, use a specific embodiment (for convenience of distinguishing with following embodiment, hereon referred to as embodiment one), by inquiry memory element The mapping table prestored, in this mapping table, records described end message and the network information and video The corresponding relation of parameter, thus, when there is known described end message and the network information or two category informations In any one, just can obtain required video parameter by tabling look-up.
After determining the first video parameter of video record and transmission, in step Sa3, set up double Video communication link between side.
Step Sa4, carries out the recording of video according to the first video parameter obtained.
Step Sa5, carries out the transmission of video according to the first video parameter obtained.
About the acquisition of video parameter in step Sa2, it is also possible to by the method in following example Obtain:
Embodiment two, weighted average method.Particularly as follows: prestore end message in the memory unit Or the weight of the network information, for the multiple information gathered, such as end message or the network information, root According to described default weight, calculate the weighted mean of all collection information, in the memory unit, Also prestoring a mapping table, this mapping table describes the corresponding relation of weighted mean and video parameter. When known weights meansigma methods, required video parameter just can be obtained by tabling look-up.
Embodiment three, priority method.Prestore in the memory unit and compare priority, according to presetting Described end message and the priority orders of the described network information, successively by collected information with Its respective reference threshold compares one by one, such as the reference threshold less than correspondence of any one information Value, when having in comparative result less than its corresponding threshold value, according to numerical value less than corresponding reference threshold The information of value and the mapping relations of video parameter, obtain video parameter from the described mapping table prestored. Such as, for network type, network throughput, main board work frequency, mainboard temperature, battery electricity Amount and available these several information of dynamic memory capacity, compare the order of priority from first to rear point Wei battery electric quantity, network throughput, available dynamic memory capacity, network type, mainboard Temperature, main board work frequency, relatively time, first comparative cell electricity and its reference threshold, In the present embodiment, the reference threshold of each described information is used for weighing whether this information current be enough to Affect video communication quality, if currently this information is less than its reference threshold, illustrate according to this information Just can change and determine new video parameter.If battery electric quantity is less than its reference threshold, then stop Only comparing, according to the mapping relations of battery electric quantity Yu video parameter, inquiry obtains new in the mapping table Video parameter.If battery electric quantity is more than or equal to its reference threshold, then continues comparing cell and gulp down The amount of telling and its reference threshold, by that analogy, until having compared all information collected.
The present invention can also obtain video parameter in conjunction with priority method and weighted average method.Such as figure Embodiment shown in 2, the stream of specific embodiment that a kind of video parameter provided for the present invention obtains Cheng Tu, method, specific as follows:
Step Sb1, according to default priority, takes the information collected, such as battery surplus Remaining this information of electricity.
Step Sb2, comparative cell dump energy and the size of its reference threshold, remain if working as forebay Remaining electricity, less than its reference threshold, illustrates that now battery dump energy is little, the most logical in order to ensure Letter, then need not consider further that the concrete data of other information, just may determine that and needs to come by low resolution Recorded video, therefore, forwards step Sb6 to.
Step Sb6, according to the mapping relations of battery dump energy Yu video parameter, in the mapping table The video parameter that inquiry is recorded accordingly and transmitted.
Step Sb3, if when forebay dump energy is more than or equal to its reference threshold, it may be judged whether All information collected are the most complete, arrive if it did not, repeat step Sb1 Sb3, until all of information is the most complete.
Step Sb4, if all information is both greater than its respective reference threshold, then according to default Weight, calculates the weighted mean of all information.
Step Sb5, according to the mapping relations of weighted mean Yu video parameter, looks into from mapping table Inquiry is recorded accordingly and is transmitted video parameter.
In above-mentioned steps Sb2, when a certain information is less than its reference threshold, it is sufficient to how determine use When planting recording and the transmission that video parameter carries out video, then need not again other information be compared Relatively, i.e. stop comparing.As a example by battery dump energy, if be detected that now the residue of battery is electric Measure the lowest, now need not consider further that the data of other information, just may determine that and now need application Low resolution carrys out recorded video.Thus avoid unnecessary calculating, both saved system resource, Also improve processing speed.
About how to determine video parameter to be used by the information collected, these are only this The embodiment that invention provides, those skilled in the art can also use various method to determine one Preferably scheme, as use Delphi method (expert estimation), AHP method (step analysis), more than The combination of two kinds of methods, factorial analysis flexible strategy method, quantity of information flexible strategy method or independence flexible strategy method etc.. Owing to these methods are known in the art technology, thus do not repeat them here.
After video communication is set up, in addition it is also necessary to periodically repeat acquisition step, acquisition regards Frequently parameter step, carry out the step of video record according to video parameter and according to described video Parameter carries out the step of Network Video Transmission.Thus in video communication, dynamically change video Record and the video parameter of transmission so that the listener in video communication receives in present case The most optimal video image.The flow chart of concrete embodiment as shown in Figure 3.
Step Sc1, carries out video record and transmission according to the video parameter determined before.
Step Sc2, it may be judged whether arriving timing, this is a update cycle of inner setting, Without arriving timing, i.e. it is less than the next update cycle, then continues step Sc1, If timing arrives, then carry out step Sc3.
Step Sc3, acquisition terminal information and the network information.
Step Sc4, regards according to the second of end message and/or network information acquisition current update cycle Frequently parameter.About the acquisition of second video parameter of current update cycle, can use above-mentioned various Method, is not repeated explanation.
Step Sc5, calculates second video parameter of current update cycle and regarding of being being currently used Frequently whether the difference of parameter is more than the threshold value preset.
Step Sc6, it is judged that whether the absolute value of described difference is less than the first threshold preset, if It is less than, then it is assumed that second video parameter of current update cycle and the video parameter being being currently used Difference little, it is not necessary to change video parameter, i.e. return step Sc1, continue join with former video Number carries out video record and transmission, if the absolute value of described difference is equal to or more than first preset Threshold value, then step Sc6.
Step Sc6, by currently the video parameter just used be updated to the most calculated currently Second video parameter of update cycle;
Step Sc7, carries out recording and the transmission of video with the second video parameter after change.
Next proceed to step Sc2 and judge whether to arrive timing, thus complete one and update week Phase.In the present invention, periodically gather data, detect current communications status whether with currently System mode and network state are consistent, and are in time adjusted video communication, make whole In communication process, picture is clear, smooth, it is ensured that the quality of video communication.
In the above-mentioned methods, by judging that second video parameter of current update cycle is with the most The difference of the video parameter used determines the need for carrying out video ginseng the most in allowed limits The adjustment of number, furthermore it is also possible to there is another scheme, i.e. when obtaining video parameter, passes through Inquiry mapping table just can determine whether to adjust, and only when needs adjust, just can table look-up Time obtain new video parameter, because without as in preceding method, first obtaining the current update cycle The second video parameter, then two video parameters are compared.
Described scheme is: according to default described end message and the weight of the described network information, meter The weighted mean of all kinds information collected;Relatively described weighted mean is with default The size of Second Threshold;If described weighted mean is more than or equal to described the second default threshold Value, inquires about the mapping table prestored, obtains the described current update cycle according to described weighted mean Second video parameter;The described mapping table prestored maintains described end message and described network letter Mapping between weighted mean and described second video parameter of at least one category information in breath is closed System.If described weighted mean is less than described default Second Threshold, then can not obtain video ginseng Number, thus still according to the video parameter being being currently used.
From system aspects, the present invention is described in detail below.Fig. 4 is video of the present invention The theory diagram of communicator one embodiment.Communicator of the present invention includes information gathering mould Block 1, video parameter acquisition module 2, video record module 3 and transmission control module 4.Wherein, Information acquisition module 1 is for acquisition terminal information and the network information, including various sensors, as with In the temperature controller of detection terminal mainboard Current Temperatures, for detecting the electricity of battery dump energy Sensor etc..Described end message also includes the system that the hardware detection by terminal is learnt The frequency run and the current residual obtained by the operating system detection of terminal (dynamically can be deposited with RAM Reservoir).The modem of terminal can provide the network information, as the network type being currently accessed, The handling capacity etc. of current network, carries out network video between described local terminal and described exterior terminal Keep pouring in defeated, described exterior terminal hardware information is supplied to described local terminal.Specifically, institute The hardware information stating exterior terminal includes screen resolution.
The information collected is sent to video parameter acquisition module 2 by information acquisition module 1, by regarding Frequently parameter acquisition module 2 obtains one group of corresponding video record according to the every terms of information currently collected With transmission video parameter, to adapt to current terminal local system and network.Finally give regards Frequency record and transmission video parameter be not likely to be best, but relative to current system conditions, One group of network condition optimum.
As it is shown in figure 5, another embodiment of the video communication device provided for the present invention.At this In embodiment, compared with the embodiment shown in Fig. 4, add a time block 5 for determining A update cycle in video communication, as within this update cycle, gather information, and Determine up-to-date video parameter.
This embodiment also includes video parameter comparison module 6, is used in video communication, The most suitable for determining currently used video parameter, if to need to change.Specific as follows: when regarding Frequently parameter acquisition module 2 is in timing cycle, obtains according to present terminal information and/or the network information After the second video parameter in the current update cycle, video parameter comparison module 6 contrast current the most more Whether the second video parameter in the new cycle and the difference of the video parameter being being currently used be less than pre- If first threshold, if it is lower, illustrate that the real-time condition change of now terminal and network is little, It is made without adjusting.If greater than or be equal to, then by the current update cycle second video ginseng Number is sent to described video record module 3 and described transmission control module 4;Then video record mould Block 3 and described transmission control module 4 use the second video parameter in the current update cycle, carry out The recording of video and transmission.
About the video parameter acquisition module 2 in Fig. 4 and Fig. 5, it can have multiple implementation, With three embodiments, this video parameter acquisition module 2 is described in detail below.
The embodiment one of video parameter acquisition module 2 is concrete as shown in Figure 6, including the first storage list Unit 21a and the first query unit 22a.Wherein, in the first memory element 21a, storage has described end The mapping table of client information and the described network information and described video parameter relation;First query unit 22a receives information acquisition module 1 and obtains multiple described end message, the described network information, and root According to these information to the first memory element 21a are inquired about described mapping table, thus obtain video ginseng Number.
The embodiment two of video parameter acquisition module 2 is as shown in Figure 7.Including the second memory element 21b, weighted mean computing unit 22b and the second query unit 23b.Second memory element 21b Middle storage has the default weight of described end message and the described network information, also storage to maintain and add Weight average value and the mapping table of video parameter corresponding relation.Weighted mean computing unit 22b receives Information acquisition module 1 obtains multiple described end message and the described network information, according to the second storage In unit 21b, the default weight of upper storage, calculates the data weighted average value of the plurality of information. Second query unit 23b inquires about mapping table according to described weighted mean, to obtain video parameter.
The embodiment three of video parameter acquisition module 2 is as shown in Figure 8.Including the 3rd memory element 21c, contrast unit 22c and the 3rd query unit 23c.In 3rd memory element 21c, storage is described End message and the priority of the described network information and respective reference threshold, also storage have described End message, the described network information and the mapping table of described video parameter relation.Comparing unit 22c Receive information acquisition module 1 and obtain multiple described end message and the described network information.By described many Individual information data contrasts with respective reference threshold, when there being information to be more than its reference threshold, Send inquiry notice to the 3rd query unit 23c.3rd query unit 23c is according to comparing unit 22c The inquiry notice inquiry mapping table sent, to obtain video parameter.
The embodiment four of video parameter acquisition module 2 is as shown in Figure 9.Including the 4th memory element 21d, weighted mean computing unit 22d, contrast unit 23d and the 4th query unit 24d.The Four memory element 21b store the default weight of described end message and the described network information, also deposits Contain weighted mean and the mapping table of video parameter corresponding relation and the second threshold of weighted mean Value.Weighted mean computing unit 22d receives information acquisition module 1 and obtains multiple described terminal letter Breath and the described network information, according to the default weight of storage upper in the 4th memory element 21d, calculate The weighted mean of the plurality of data.Contrast unit 23d is by default with one for weighted mean the Two threshold values contrast, if greater than described threshold value, then by the 4th query unit 23d according to described Weighted mean inquiry mapping table, to obtain video parameter.
During according to aforementioned acquisition video parameter embodiment four, it is not necessary to the video parameter ratio in this example Relatively module.Because having been carried out comparing when obtaining video parameter, it is determined that the need of change record System and the video parameter of transmission, when needs are changed, just can obtain when weighted mean is more than preset value To video parameter.
As a rule, the video parameter required for recording is resolution, such as, can be QCIF (176 × 144), CIF (352 × 288), D1 (704 × 576), 720P (1280 × 720) or 1080P (1920*1080).After determining resolution, the data volume that unit image needs just determines that , then determined frame per second by current processing capabilities.For the mapping table being applied in the present invention, can To be stored in advance in terminal, including required elementary video parameter, such as resolution, it is also possible to Including other parameters corresponding, such as frame per second, code check, compression ratio etc..The invention is not limited in this A little parameters, some other recording and transmission parameter can also be according to basic parameter and current network state Calculate in real time.Owing to this type of technology is well known to those skilled in the art, thus the most superfluous at this State.
The present invention can video record in adaptive change video call process and transmission.Such as If be detected that use non-wlan network to converse, the most automatically change the recording of video, reduce and differentiate Rate, to save flow, and determines to transmit frame per second according to current network handling capacity.If used WLAN and mobile phone state are good (i.e. the every data of the system mode of the machine are good), and WLAN The current bandwidth that connects support higher picture quality transmission, be the most automatically replaced by corresponding resolution, And monitor handling capacity change when WLAN connects in real time and adjust transmission code rate or frame per second, it is ensured that Smooth transmission of video.
According to embodiments of the invention as described above, these embodiments do not have detailed descriptionthe own Details, be also not intended to the specific embodiment that this invention is only described.Obviously, as described above, Can make many modifications and variations.These embodiments are chosen and specifically described to this specification, be in order to Preferably explain the principle of the present invention and actual application, so that skilled artisan's energy The present invention and amendment on the basis of the present invention is utilized to use well.Protection scope of the present invention Should be defined in the range of standard with the claims in the present invention.

Claims (20)

1. a video communication method, including:
Acquisition terminal information and the network information;
Obtain first according at least one category information in described end message and the described network information to regard Frequently parameter;
Video record is carried out according to described first video parameter;With,
Transmission of video is carried out according to described first video parameter.
2. video communication method as claimed in claim 1, wherein, is regarding according to described first Frequently parameter carries out video record, and after carrying out transmission of video according to described first video parameter and Before video communication terminates, when the update cycle arrives, also include:
At least one category information in acquisition terminal information and the network information;
Obtain the most more according at least one category information in described end message and the described network information Second video parameter in new cycle;
Video record is carried out according to second video parameter of described current update cycle, and/or, press The second video parameter according to the described current update cycle carries out transmission of video.
3. video communication method as claimed in claim 2, wherein,
Video record is being carried out according to second video parameter of described current update cycle, and/or, Before carrying out transmission of video according to second video parameter of described current update cycle, also include:
Calculate between the second video parameter and the currently used video parameter of current update cycle Difference;
Then carry out video record according to second video parameter of described current update cycle, and/or, Carrying out transmission of video according to second video parameter of described current update cycle is:
If the absolute value of described difference is equal to or more than the first threshold preset, then work as according to described Second video parameter of front update cycle carries out video record, and/or, according to described current renewal week Second video parameter of phase carries out transmission of video.
4. video communication method as claimed in claim 3, wherein, also includes:
If the absolute value of described difference is less than the first threshold preset, then continue according to currently used Video parameter carry out video record, and, carry out transmission of video according to currently used video parameter.
5. the video communication method as described in claim 1-4 is arbitrary, wherein, described terminal is believed Breath includes: the real time status information of local terminal.
6. video communication method as claimed in claim 5, wherein, the reality of described local terminal Time status information include: main board work frequency, mainboard temperature, battery electric quantity and available dynamically depositing At least one in reservoir capacity.
7. the video communication method as described in claim 1-4 is arbitrary, wherein, described terminal is believed Breath also includes realizing the hardware information of the distant terminal of video communication;
The hardware information gathering the distant terminal realizing video communication is: receives the described video that realizes and leads to The hardware letter of the described distant terminal realizing video communication that the distant terminal of letter is sent by network Breath.
8. video communication method as claimed in claim 7, wherein, described realizes video communication The hardware information of distant terminal include: the display screen of the described distant terminal realizing video communication Resolution.
9. the video communication method as described in claim 1-4 is arbitrary, wherein, described network is believed Breath includes: at least one in network type and network throughput.
10. the video communication method as described in claim 1-4 is arbitrary, wherein, by such as lower section Formula obtains video parameter, and described video parameter is the first video parameter and/or the second video parameter:
The mapping table prestored according to the information inquiry collected, obtains video parameter;Described prestore Mapping table in maintain the mapping between described end message and the described network information and video parameter Relation;
Wherein, when video parameter is the first video parameter, described in the information that collects be terminal Information and the network information, when video parameter is the second video parameter, described in the information that collects For at least one category information in end message and the network information.
11. video communication methods as claimed in claim 10, wherein, according to collect The mapping table that information inquiry prestores, including:
According to default described end message and the priority orders of the described network information, will adopt successively Collect the various information and respective reference comprised in the described end message and the described network information obtained Threshold value compares seriatim;
If any one comprised in the described end message collected and the described network information Information, less than corresponding reference threshold, is joined with video less than the information of corresponding reference threshold according to numerical value The mapping relations of number, obtain video parameter from the described mapping table prestored.
12. video communication methods as claimed in claim 11, wherein, also include:
If the various information comprised in the described end message collected and the described network information It is both greater than or equal to respective reference threshold, believes according to default described end message and described network The weight of breath, calculates the described end message and the weighted mean of the described network information collected;
According to the described described end message collected and the weighted mean of the described network information The mapping table that inquiry prestores, obtains video parameter;The described mapping table prestored maintains described end Mapping relations between client information and the weighted mean of the described network information and video parameter.
13. video communication methods as claimed in claim 2, wherein, according to described end message With in the described network information at least one category information obtain the current update cycle the second video parameter, Including:
According to default described end message and the weight of the described network information, calculating collects The weighted mean of all kinds information;
Relatively described weighted mean and the size of default Second Threshold;
If described weighted mean is more than or equal to described default Second Threshold, add according to described Weight average value inquires about the mapping table prestored, and obtains second video parameter of described current update cycle; The described mapping table prestored maintains at least one class in described end message and the described network information Mapping relations between weighted mean and described second video parameter of information.
14. 1 kinds of video communication device, including:
Information acquisition module, for acquisition terminal information and the network information;
Video parameter acquisition module, is connected with described information acquisition module, for according to described terminal At least one category information in information and the described network information obtains the first video parameter;
Video record module, is connected with described video parameter acquisition module, according to described first Video parameter carries out video record;With
Transmission control module, is connected with described video parameter acquisition module and described video record module Connect, carry out transmission of video according to described first video parameter.
15. video communication device as claimed in claim 14, wherein, also include:
Time block, is carrying out video record for providing according to described first video parameter, and is pressing According to described first video parameter carry out transmission of video after and before video communication terminates, described Information acquisition module periodically acquisition terminal information and the network information, described video parameter obtain mould Block periodicity ground obtains the update cycle of the second video parameter.
16. video communication device as claimed in claim 15, wherein, also include:
Video parameter contrast module, with described video parameter acquisition module, described video record module It is connected with described transmission control module;For calculate second video parameter of current update cycle with The currently used difference between video parameter;
If the absolute value of described difference is equal to or more than the first threshold preset, will currently update week Second video parameter of phase is sent to described video record module and described transmission control module, presses The second video parameter according to the described current update cycle carries out video record, and/or, work as according to described Second video parameter of front update cycle carries out transmission of video.
17. video communication device as described in claim 14-16 is arbitrary, wherein, described video Parameter acquisition module includes:
Memory element, for storage system maintenance, described end message and the described network information are joined with video The mapping table of mapping relations between number, described video parameter is the first video parameter and/or the second video Parameter;And
Query unit, for according to mapping table described in the information inquiry collected, to obtain video Parameter.
18. video communication device as claimed in claim 17, wherein, described memory element is also Storage has described end message and the priority of the described network information, described video parameter acquisition module Also include:
Comparing unit, for according to the priority orders preset, the described end that will collect successively The various information comprised in client information and the described network information are carried out seriatim with respective reference threshold Relatively;If any one comprised in the described end message collected and the described network information Information, less than corresponding reference threshold, sends inquiry notice to described query unit;
Described query unit is inquired about the information being less than corresponding reference threshold in notice according to described and regarded Frequently the mapping relations of parameter, inquire about described mapping table, obtain video from the described mapping table prestored Parameter.
19. video communication device as claimed in claim 17, wherein, described memory element is also Storage has the default weight of described end message and the described network information, and described mapping table maintains number According to the mapping relations between weighted mean and described video parameter;Described video parameter acquisition module Also include:
Weighted mean computing unit, according to default weight, calculates all information collected Weighted mean, and described weighted mean is sent to described query unit;
Described query unit inquires about mapping table according to described data weighted average value, prestores from described Mapping table obtains video parameter.
20. video communication device as claimed in claim 15, wherein, described video parameter obtains Delivery block includes:
Memory element, for storing the default weight of described end message and the described network information, and For safeguarding the mapping table of the mapping relations between weighted mean and video parameter, described video is joined Number is the second video parameter;
Weighted mean computing unit, according to default weight, calculates all kinds collected The weighted mean of information;
Comparing unit, relatively described weighted mean and the size of default Second Threshold, add when described When weight average value is more than described Second Threshold, send inquiry notice to query unit;With
Query unit, for according to the weighted mean in the inquiry notice received, inquiry prestores Mapping table, obtain second video parameter of described current update cycle.
CN201610028606.5A 2016-01-15 2016-01-15 Video communication method and device Pending CN105872441A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610028606.5A CN105872441A (en) 2016-01-15 2016-01-15 Video communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610028606.5A CN105872441A (en) 2016-01-15 2016-01-15 Video communication method and device

Publications (1)

Publication Number Publication Date
CN105872441A true CN105872441A (en) 2016-08-17

Family

ID=56624188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610028606.5A Pending CN105872441A (en) 2016-01-15 2016-01-15 Video communication method and device

Country Status (1)

Country Link
CN (1) CN105872441A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791570A (en) * 2016-12-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of video call terminal and its video calling optimization method, system
CN107071264A (en) * 2017-01-13 2017-08-18 维沃移动通信有限公司 A kind of image resolution ratio method of adjustment and mobile terminal
CN108882027A (en) * 2018-07-17 2018-11-23 广东小天才科技有限公司 A kind of video communication method and wearable device
CN110012217A (en) * 2018-12-06 2019-07-12 香港乐蜜有限公司 The determination method, apparatus and electronic equipment of acquisition resolution
CN110266383A (en) * 2019-06-18 2019-09-20 Oppo广东移动通信有限公司 Data transmission method and Related product
CN111291081A (en) * 2018-12-07 2020-06-16 北京字节跳动网络技术有限公司 Information processing method and device
CN111327865A (en) * 2019-11-05 2020-06-23 杭州海康威视系统技术有限公司 Video transmission method, device and equipment
CN115333568A (en) * 2017-11-24 2022-11-11 三星电子株式会社 Electronic device and communication method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040261135A1 (en) * 2002-12-09 2004-12-23 Jens Cahnbley System and method for modifying a video stream based on a client or network enviroment
CN101146204A (en) * 2006-09-12 2008-03-19 腾讯科技(深圳)有限公司 Quality adjusting method and device for instant communication video
CN103686227A (en) * 2012-09-17 2014-03-26 南京中兴力维软件有限公司 Method, device and system for capturing and coding audio/video of mobile terminal
CN103916367A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and apparatus for transmission of multimedia data
CN104144311A (en) * 2013-05-07 2014-11-12 中兴通讯股份有限公司 Self-adaptation video adjusting method and system
CN104320669A (en) * 2014-10-24 2015-01-28 北京有恒斯康通信技术有限公司 Video transmission method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040261135A1 (en) * 2002-12-09 2004-12-23 Jens Cahnbley System and method for modifying a video stream based on a client or network enviroment
CN101146204A (en) * 2006-09-12 2008-03-19 腾讯科技(深圳)有限公司 Quality adjusting method and device for instant communication video
CN103686227A (en) * 2012-09-17 2014-03-26 南京中兴力维软件有限公司 Method, device and system for capturing and coding audio/video of mobile terminal
CN103916367A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Method and apparatus for transmission of multimedia data
CN104144311A (en) * 2013-05-07 2014-11-12 中兴通讯股份有限公司 Self-adaptation video adjusting method and system
CN104320669A (en) * 2014-10-24 2015-01-28 北京有恒斯康通信技术有限公司 Video transmission method and apparatus

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791570A (en) * 2016-12-30 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of video call terminal and its video calling optimization method, system
CN107071264A (en) * 2017-01-13 2017-08-18 维沃移动通信有限公司 A kind of image resolution ratio method of adjustment and mobile terminal
CN115333568A (en) * 2017-11-24 2022-11-11 三星电子株式会社 Electronic device and communication method thereof
CN108882027A (en) * 2018-07-17 2018-11-23 广东小天才科技有限公司 A kind of video communication method and wearable device
CN110012217A (en) * 2018-12-06 2019-07-12 香港乐蜜有限公司 The determination method, apparatus and electronic equipment of acquisition resolution
CN111291081A (en) * 2018-12-07 2020-06-16 北京字节跳动网络技术有限公司 Information processing method and device
CN110266383A (en) * 2019-06-18 2019-09-20 Oppo广东移动通信有限公司 Data transmission method and Related product
CN110266383B (en) * 2019-06-18 2021-07-20 Oppo广东移动通信有限公司 Data transmission method and related product
CN111327865A (en) * 2019-11-05 2020-06-23 杭州海康威视系统技术有限公司 Video transmission method, device and equipment

Similar Documents

Publication Publication Date Title
CN105872441A (en) Video communication method and device
US10904158B2 (en) Controlling of virtualized network functions for usage in communication network
US5706281A (en) Data transfer system
CN101510998B (en) Self-adapting flow control method for data transmission of wireless video monitoring system
CN103974060A (en) Method and device for adjusting video quality
CN104796422A (en) Online customer service staff equilibrium assignment method and online customer service staff equilibrium assignment device
WO2007115011A1 (en) Cross-layer video quality manager
CN110221817A (en) A kind of data recall module and recommender system
US20150146535A1 (en) Adaptive non-real-time traffic control method and terminal for same
CN104125429A (en) Video data transmission adjusting method and device
CN1759554A (en) Method for obtaining information about a transmission capability
WO2022104754A1 (en) Network resource management method, management apparatus, electronic device, and storage medium
Xing et al. Rate adaptation strategy for video streaming over multiple wireless access networks
CN109347606B (en) Data processing method and device, network side equipment and terminal equipment
CN114143270B (en) Bandwidth adjustment method and device
WO2023174254A1 (en) Video posting method and apparatus, and device and storage medium
CN111107144B (en) Comprehensive sensor network test platform based on edge calculation
CN103856558B (en) A kind of data processing method and device for terminal applies
CN104956733A (en) Admission control method and device for wireless communication network
CN104468152A (en) Network transmission method and device
CN101146030B (en) A dynamic allocation method and device of channel resource
CN101917406A (en) Data transmission method and data transmission system
CN205647835U (en) Video transcoding system under cloud environment
CN102378152A (en) Method, device and system for processing service
WO2015035573A1 (en) Network transmission method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160817

WD01 Invention patent application deemed withdrawn after publication