CN107277420A - A kind of video calling implementation method and terminal - Google Patents
A kind of video calling implementation method and terminal Download PDFInfo
- Publication number
- CN107277420A CN107277420A CN201610218874.3A CN201610218874A CN107277420A CN 107277420 A CN107277420 A CN 107277420A CN 201610218874 A CN201610218874 A CN 201610218874A CN 107277420 A CN107277420 A CN 107277420A
- Authority
- CN
- China
- Prior art keywords
- business
- way video
- video
- network quality
- talk business
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
- H04N7/147—Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of video calling implementation method, including:The network quality of network environment residing for monitoring terminal;Get the first network quality of network environment residing for the terminal;Judge whether the first network quality meets the first preparatory condition;Wherein, first preparatory condition, which characterizes the first network quality, can not carry two-way video talk business;According to judged result, video calling pattern is determined;Using the video calling pattern of determination, one-way video talk business or two-way video talk business are initiated.The present invention also discloses a kind of terminal.
Description
Technical field
The present invention relates to video calling field, more particularly to a kind of video calling implementation method and terminal.
Background technology
VoWiFi (Voice over WiFi) technology is procotol (IP, Internet Protocol) phone,
Its basic thought is by analog signal digital, route by voice compression coding, packing packet, distribution,
The exchange processing such as storage is exchanged, unpacking decompression are realized real-time on ip networks or on internet (Internet)
Voice communication.And ViWiFi (Video over WiFi) ViWiFi technologies are developed on the basis of VoWiFi
A kind of video media transmission scheme got up.
It is well known that video flowing transmission can take more bandwidth than voice flow transmission, so to WiFi band
Width requires higher.And for application provider, even operator, existing WiFi transmission channel is
In the presence of very high uncontrollable factor, so when user uses ViWiFi business, it is desirable to ensure higher call
Quality is just extremely difficult.
Based on this, industry, which has, much to be used based on encoding and decoding optimization or protocol optimization to improve the side of call experience
Case, but this scheme has certain effect of optimization when being conversed in application product region, but if with
Still need erection gateway when other products or operator's big net business intercommunication and carry out encoding and decoding conversion and agreement turn
Change, then secondary effect can be produced to speech quality by just necessarily having when gateway is changed, and cause call
Discontinuity.
In summary, the discontinuity for how solving ViWiFi service calls is still and urgently to be resolved hurrily asked at present
Topic.
The content of the invention
To solve existing technical problem, the embodiment of the present invention provide a kind of video calling implementation method and
Terminal.
To reach above-mentioned purpose, what the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of video calling implementation method, including:
The network quality of network environment residing for monitoring terminal;
Get the first network quality of network environment residing for the terminal;
Judge whether the first network quality meets the first preparatory condition;Wherein, first preparatory condition
Two-way video talk business can not be carried by characterizing the first network quality;
According to judged result, video calling pattern is determined;
Using the video calling pattern of determination, one-way video talk business or two-way video talk business are initiated.
It is described according to judged result in such scheme, video calling pattern is determined, including:
When the judged result sign first network quality meets first preparatory condition, video calling is determined
Pattern is conversed for one-way video;
Correspondingly, one-way video talk business is initiated.
In such scheme, the initiation one-way video talk business, including:
In Session Description Protocol (SDP, the Session Description entrained by the first business request information
Protocol first is set to identify in);It is one-way video talk business that first mark, which characterizes the business initiated,;
Send first business request information.
In such scheme, the initiation one-way video talk business, in addition to:
Calling number and called media address are added in first business request information.
In such scheme, carry out after one-way video talk business, methods described also includes:
Get the second network quality of network environment residing for the terminal;
Judge whether second network quality meets first preparatory condition;
When judged result, which characterizes second network quality, is unsatisfactory for first preparatory condition, video is determined
Call mode is conversed for two-way video;
Initiate two-way video talk business.
In such scheme, the initiation two-way video talk business, including:
Second is set to identify in the SDP entrained by the second business request information;Second mark characterizes hair
The business risen is two-way video talk business;
Send second business request information.
In such scheme, methods described also includes:
Carry out after one-way video talk business or two-way video talk business, remove video calling before the first moment
Video calling stream corresponding to business;First moment is corresponding with the video calling pattern of determination unidirectional
Carved at the beginning of video call service or two-way video talk business.
The embodiment of the present invention additionally provides a kind of terminal, including:
Monitoring unit, the network quality for monitoring network environment residing for the terminal;
Acquiring unit, the first network quality for getting network environment residing for the terminal;
Judging unit, for judging whether the first network quality meets the first preparatory condition;Wherein, institute
Two-way video talk business can not be carried by stating the first preparatory condition sign first network quality;
Determining unit, for according to judged result, determining video calling pattern;
Business initiate unit, for using determine video calling pattern, initiate one-way video talk business or
Two-way video talk business.
In such scheme, the determining unit, specifically for:Judged result characterizes the first network quality
When meeting first preparatory condition, determine that video calling pattern is conversed for one-way video;
Correspondingly, business initiates unit and initiates one-way video talk business.
In such scheme, the business initiates unit, specifically for:
First is set to identify in the SDP entrained by the first business request information;First mark characterizes hair
The business risen is one-way video talk business;And send first business request information.
In such scheme, the acquiring unit, for carrying out after one-way video talk business, is got described
Second network quality of network environment residing for terminal;
The judging unit, for judging whether second network quality meets first preparatory condition;
The determining unit, for be unsatisfactory for described first pre- when judged result characterizes second network quality
If during condition, determining that video calling pattern is conversed for two-way video;
The business initiates unit, for initiating two-way video talk business.
In such scheme, the terminal also includes:
Unit is removed, for carrying out after one-way video talk business or two-way video talk business, first is removed
Video calling stream before moment corresponding to video call service;First moment is the video calling with determination
Carved at the beginning of the corresponding one-way video talk business of pattern or two-way video talk business.
Video calling implementation method and terminal provided in an embodiment of the present invention, network environment residing for monitoring terminal
Network quality;Get the first network quality of network environment residing for the terminal;Judge the first network
Whether quality meets the first preparatory condition;Wherein, first preparatory condition characterizes the first network quality
Two-way video talk business can not be carried;According to judged result, video calling pattern is determined;Utilize determination
Video calling pattern, initiates one-way video talk business or two-way video talk business, according to residing for terminal
The network quality of network environment, controls video calling pattern to be conversed for one-way video or two-way video call, such as
This, can guarantee that the continuity of video calling.
Brief description of the drawings
In accompanying drawing (it is not necessarily drawn to scale), similar reference can be in different views
Described in similar part.Similar reference numerals with different letter suffix can represent the difference of similar component
Example.Accompanying drawing generally shows each embodiment discussed herein by way of example and not limitation.
Fig. 1 is the implementation method schematic flow sheet of the video calling of the embodiment of the present invention one;
Fig. 2 is the implementation method schematic flow sheet of the video calling of the embodiment of the present invention two;
Fig. 3 is a kind of terminal structure schematic diagram of the embodiment of the present invention three;
Fig. 4 is another terminal structure schematic diagram of the embodiment of the present invention three.
Embodiment
Below in conjunction with the accompanying drawings and embodiment to the present invention be described in further detail again.
As described by background technology, ViWiFi technologies grow up on the basis of VoWiFi
Video media transmission technology, therefore it is a kind of towards connectionless application, its data transfer and VoWiFi
Equally, all following a kind of principle of " doing one's best " (best effort), (network maximum possibility to the greatest extent is sent out
Deliver newspaper text, any guarantee is not provided to performances such as time delay, reliabilities).So IP video bags are sent from distal end
Afterwards, its paths traversed and do not know, time delay can not ensure that packet loss is also unexpected.But during network
It is change with the quality of network condition to prolong and shake, so with immeasurability and uncertainty.This
Problem long-standing problem user and research staff.
In order to solve the problem, at present many application providers from encoding and decoding optimization (such as OPUS, H.265,
H.264, VP8, VP9 etc.), improve video speech quality in terms of protocol optimization.
The access way of current ViWiFi voice calls accesses for Internet, due to opening for Internet network
Putting property and uncontrollability, although at this stage based on the voice (VoLTE, Voice over LTE) on Long Term Evolution
Circuit domain dropping (CSFB, Circuit Switched Fallback), single wireless voice calling continuity
(SRVCC, Single Radio Voice Call Continuity), enhanced single wireless audio call are continuous
Property the technology such as (eSRVCC, Enhanced Single Radio Voice Call Continuity) in operation
Used well in the equipment of the core network of business.But, it is above-mentioned using volume for ViWiFi business
The schemes such as decoding optimization, protocol optimization are (such as:Skype, Facetime, QQ, wechat etc. possess video
The application of call) with other products or operator's big net business intercommunication when, it is necessary to set up gateway carry out encoding and decoding
Conversion and protocol conversion, the conversion of gateway can bring quality problems (packet loss and signalling efficiency), while
All problems such as load balancing, additional investment can be brought.
In summary, industry not yet draws good technical scheme to ViWiFi voice fallback and service optimization.
Based on this, in various embodiments of the present invention:The network quality of network environment residing for monitoring terminal;
Get the first network quality of network environment residing for the terminal;Judge whether the first network quality is full
The first preparatory condition of foot;Wherein, first preparatory condition, which characterizes the first network quality, can not carry double
To video call service;According to judged result, video calling pattern is determined;Utilize the video calling mould of determination
Formula, initiates one-way video talk business or two-way video talk business.
Embodiment one
The implementation method of the present embodiment video calling, as shown in figure 1, applied to terminal, comprising the following steps:
Step 101:The network quality of network environment residing for monitoring terminal;
Step 102:Get the first network quality of network environment residing for the terminal;
Step 103:Judge whether the first network quality meets the first preparatory condition;Wherein, described
One preparatory condition, which characterizes the first network quality, can not carry two-way video talk business;
Here, the network quality can be come by average opinion value (MOS, Mean Opinion Score)
Reflection, MOS is higher, and explanation network quality is better, on the contrary, the lower explanation networks of MOS are poor.It is actual to answer
Whether the used time, it is necessary to set corresponding first threshold, two-way video can be carried with the network quality for embodying acquisition
Talk business.
Specifically, when the MOS of acquisition is less than first threshold, illustrate that network quality now is poor, no
Two-way video talk business can be carried;When the MOS of acquisition is more than or equal to first threshold, illustrate now
Network quality preferably, can carry two-way video talk business.
During practical application, the network quality can also be reflected by network signal intensity (dB), network
Signal intensity is usually negative value, poorer closer to zero explanation network quality, on the contrary, further away from zero explanation network
Quality is better.Now, it is still necessary to which corresponding Second Threshold is set, whether can with the network quality for embodying acquisition
Carry two-way video talk business.
Specifically, when the network signal intensity of acquisition is less than or equal to Second Threshold, network matter now is illustrated
Amount is preferable, can carry two-way video talk business;When the network signal intensity of acquisition is more than Second Threshold,
Illustrate that network quality now is poor, it is impossible to carry two-way video talk business.
The network quality can also reflect that the smaller explanation network quality of network delay is better by network delay,
On the contrary, the bigger explanation network of network delay is poor., it is necessary to set corresponding 3rd threshold value during practical application,
To embody whether the network quality obtained can carry two-way video talk business.
Specifically, when the network delay of acquisition is more than three threshold values, illustrate that network quality now is poor,
Two-way video talk business can not be carried;When the network delay of acquisition is less than or equal to three threshold values, illustrate this
When network quality preferably, two-way video talk business can be carried.
Wherein, during practical application, network delay can be determined by way of obtaining pin bags.
Step 104:According to judged result, video calling pattern is determined;
When judged result, which characterizes the first network quality, meets first preparatory condition, determine that video leads to
Words pattern is conversed for one-way video;When judged result characterizes the first network quality, to be unsatisfactory for described first pre-
If during condition, determining that video calling pattern is conversed for two-way video.
Step 105:Using the video calling pattern of determination, one-way video talk business or two-way video are initiated
Talk business.
Specifically, when it is determined that video calling pattern is one-way video call, one-way video talk business is initiated;
Or,
When it is determined that video calling pattern is two-way video call, two-way video talk business is initiated.
Wherein, the one-way video call refers to:Calling and called only one can see the video of transmission;
Correspondingly, the two-way video call refers to:Calling and called can see video.
The initiation one-way video talk business, is specifically included:
First is set to identify in the SDP entrained by the first business request information;First mark characterizes hair
The business risen is one-way video talk business;
Send first business request information.
Here, in addition it is also necessary to calling number and called media address are added in first business request information,
To allow network side to know caller and corresponding called, so as to carry out the negotiation of one-way video talk business media.
During practical application, first business request information can be to invite (INVITE) message, in INVITE
A rows are set in entrained SDP:=sendonly (the first mark), to initiate one-way video call industry
Business.Meanwhile, calling number and called media address are added in INVITE message, it is complete to be formed
INVITE message.
It is described to send first business request information, refer to:The terminal is to the network side (many matchmakers of IP
Body subsystem (IMS, IP Multimedia Subsystem) core net application server (AS,
Application Server)) first business request information is sent, to consult one-way video talk business
Corresponding media.
In one embodiment, carry out after one-way video talk business, this method can also include:
Get the second network quality of network environment residing for the terminal;
Judge whether second network quality meets first preparatory condition;
When judged result, which characterizes second network quality, is unsatisfactory for first preparatory condition, video is determined
Call mode is conversed for two-way video;
Initiate two-way video talk business.
Wherein, the initiation two-way video talk business, is specifically included:
Second is set to identify in the SDP entrained by the second business request information;Second mark characterizes hair
The business risen is two-way video talk business;
Send second business request information.
Here, during practical application, it is still necessary in second business request information add calling number and by
Media address is, to allow network side to know caller and corresponding called, so as to carry out two-way video call industry
The negotiation of business media.
During practical application, second business request information can attach most importance to invitation (re-INVITE) message,
A rows are set in SDP entrained by re-INVITE:=send (the second mark), to initiate two-way video
Talk business.Meanwhile, calling number and called media address are added in re-INVITE message, to be formed
Complete re-INVITE message.
It is described to send second business request information, refer to:The terminal is to the network side (IMS cores
The AS of heart net) second business request information is sent, to consult the corresponding matchmaker of two-way video talk business
Body.
During practical application, after one-way video talk business or two-way video talk business is carried out, first is removed
Video calling stream before moment corresponding to video call service;First moment is the video calling with determination
Carved at the beginning of the corresponding one-way video talk business of pattern or two-way video talk business.
Specifically, when the video call service before first moment is one-way video talk business, i.e.,
When the video calling pattern of determination is that two-way video is conversed, the video corresponding to one-way video talk business is removed
Talk streams (delete the media that one-way video talk business is consulted);When the video before first moment leads to
When call business is two-way video talk business, that is, when the video calling pattern determined is that one-way video is conversed, tear open
Except the video calling stream corresponding to two-way video talk business (deletes what two-way video talk business was consulted
Media).
The implementation method of video calling provided in an embodiment of the present invention, can be applied in following application scenarios:
Video calling is carried out using WiFi network, that is, carries out ViWiFi business.Residing for real-time monitoring terminal
The network quality of WiFi network environment;According to the network quality of WiFi network, the video calling pattern is controlled to be
One-way video is conversed or two-way video call, i.e., converse and cut between two-way video call in one-way video
Change, so, active demand of the user to video calling can be at least met when network quality is not good.
The implementation method of video calling provided in an embodiment of the present invention, the network of network environment residing for monitoring terminal
Quality;Get the first network quality of network environment residing for the terminal;Judge the first network quality
Whether first preparatory condition is met;Wherein, the first preparatory condition sign first network quality can not
Carry two-way video talk business;According to judged result, video calling pattern is determined;Utilize the video of determination
Call mode, initiates one-way video talk business or two-way video talk business, the network according to residing for terminal
The network quality of environment, controls video calling pattern to be conversed for one-way video or two-way video call, in this way,
It can guarantee that the continuity of video calling.
In addition, carrying out after one-way video talk business, the second net of network environment residing for the terminal is got
Network quality;Judge whether second network quality meets first preparatory condition;When judged result is characterized
When second network quality is unsatisfactory for first preparatory condition, it is two-way video to determine video calling pattern
Call;Two-way video talk business is initiated, when network quality meets the condition of two-way video call, is carried out
Two-way video is conversed, and further ensures the continuity of video calling, meanwhile, also improve Consumer's Experience.
Embodiment two
The present embodiment is on the basis of embodiment one, to be described in detail under the application scenarios of ViWiFi business,
How the process of video calling is carried out.
The application scenarios of the present embodiment are:User A and user B carries out ViWiFi business.Wherein, user
A is caller, and user B is called;The scheme of the present embodiment is realized each via ViWiFi clients.
Fig. 2 is the schematic flow sheet that the present embodiment carries out video calling.As shown in Fig. 2 the flow include with
Lower step:
Step 201:WiFi network quality residing for user A ViWiFi client monitors users A;
Step 202:It was found that the WiFi residing for active user A is second-rate, it is impossible to carry out two-way video call
Business;Now user A is desired with video calling;User A ViWiFi clients are in INVITE institutes
In the SDP of carrying a rowers it is bright=sendonly, and add in INVITE message calling number and called matchmaker
Body address, to the AS initiating business requests message (initiate one-way video talk business) of IMS core net, i.e.,
Send INVITE message;
Here, WiFi network quality can be reflected by MOS, the higher explanation WiFi network matter of MOS
Amount is better, on the contrary, the lower explanation WiFi networks of MOS are poor., it is necessary to set corresponding during practical application
Whether first threshold, two-way video talk business can be carried with the WiFi network quality for embodying acquisition.
Specifically, when the MOS of acquisition is less than first threshold, illustrate that WiFi network now is second-rate,
Two-way video talk business can not be carried;When the MOS of acquisition is more than or equal to first threshold, illustrate now
WiFi network quality preferably, two-way video talk business can be carried.
During practical application, the WiFi network quality can also be reflected by network signal intensity (dB),
Network signal intensity is usually negative value, poorer closer to zero explanation WiFi network quality, on the contrary, further away from zero
Illustrate that WiFi network quality is better.Now, it is still necessary to set corresponding Second Threshold, to embody acquisition
Whether WiFi network quality can carry two-way video talk business.
Specifically, when the network signal intensity of acquisition is less than or equal to Second Threshold, WiFi now is illustrated
Network quality preferably, can carry two-way video talk business;When the network signal intensity of acquisition is more than the second threshold
During value, illustrate that WiFi network now is second-rate, it is impossible to carry two-way video talk business.
The WiFi network quality can also be reflected by network delay, the smaller explanation WiFi nets of network delay
Network quality is better, on the contrary, the bigger explanation WiFi network of network delay is poor., it is necessary to set during practical application
Whether corresponding 3rd threshold value, two-way video talk business can be carried with the WiFi network quality for embodying acquisition.
Specifically, when the network delay of acquisition is more than three threshold values, illustrate WiFi network quality now compared with
Difference, it is impossible to carry two-way video talk business;When the network delay of acquisition is less than or equal to three threshold values, say
Bright WiFi network quality now preferably, can carry two-way video talk business.
Wherein, during practical application, network delay can be determined by way of obtaining pin bags.
In the SDP entrained by INVITE a rowers it is bright=sendonly after, illustrate just to start one-way video
Talk business.
Step 203:AS receives business request information, and business request information is sent to called (user B);
Here, AS receives business request information (INVITE message) afterwards, it is necessary to service request to receiving
Message is transmitted relevant treatment, then by the business request information (new INVITE message) after processing
It is sent to called.
Step 204:User B ViWiFi clients are received after business request information, send response message (200
OK message) to AS;
Step 205:AS is received after response message, and response message (200OK is sent to caller (user A)
Message);
Here, the effect of step 202 to 205 is to carry out media negotiation (one-way video call).
Step 206:User A and user B carries out one-way video call;
Step 207:During carrying out one-way video call, user A ViWiFi clients continue to monitor
WiFi network quality residing for user A;It was found that active user A WiFi mass possesses two-way video call
Bandwidth requirement, user A ViWiFi clients automatically initiate standard two-way video call request to AS;
In other words, user A ViWiFi clients send re-INVITE message to AS;
Wherein, user A ViWiFi clients a rowers in the SDP entrained by re-INVITE it is bright=send,
And calling number and called media address are added in re-INVITE message, disappear to AS initiating business requests
Breath, that is, send re-INVITE message.
Step 208:AS is received after business request information, and business request information is sent to called (user B);
Here, AS receives business request information (re-INVITE message) afterwards, it is necessary to please to the business received
Message is asked to be transmitted relevant treatment, then (new re-INVITE disappears by the business request information after processing
Breath) be sent to it is called.
Step 209:User B ViWiFi clients are received after business request information, send response message (200
OK message) to AS;
Step 210:AS is received after response message, and response message (200OK is sent to caller (user A)
Message);
Here, the effect of step 207 to 210 is to carry out media negotiation (two-way video call).
Step 211:User A and user B carries out two-way video call;
Step 212:User A ViWiFi clients send BYE message to AS, by original list
To video calling stream automatic disassembling;
Step 213:AS is received after BYE message, and BYE message is sent to user AB, will be original
One-way video talk streams automatic disassembling.
From the above description, it will be seen that the scheme that the present embodiment is provided, before video calling is initiated, first
The network state current to user A is detected, if current network quality is insufficient for two-way video and led to
There is provided one-way video call when words are required.In one-way video communication process, when user A network state
Change again, network quality meets two-way video call when requiring, then it is automatic carry out one-way video converse to
The switching of two-way video call, so as to solve the problem of ViWiFi speech qualities are controlled.
Using the scheme of the embodiment of the present invention, have the advantages that:
First, in terms of Session continuity, WiWiFi industries do not have effective solution, only exist unidirectional
The scheme of video streaming, and it is only applied to the related service scenes such as monitoring.And it is provided in an embodiment of the present invention
Scheme, one-way video call and ViWiFi quality of services (network quality) are combined, pass through client or end
End judges user's current network quality as the trigger mechanism of business, in this way, being effective to ensure that the company of call
Continuous property.
Secondly, one-way video communicating tech is embedded into ViWiFi products, service flexibility is improved, protected
The urgent video calling demand of user has been demonstrate,proved, the experience of user has been effectively raised, improves the satisfaction of user
Degree.
3rd, during using currently existing scheme, video calling be based on two-way video media flow transmission data,
I.e. in addition to sending the video flowing of itself, the video flowing of opposite end transmission is also received, using the embodiment of the present invention
Scheme after, on the premise of the network bandwidth is constant, one-way video communicating tech is then used when network quality is poor,
Video flowing i.e. only from body is without receiving the video flowing of opposite end or only receiving the video flowing of opposite end without sending certainly
The video flowing of body, so, just can save at least half of bandwidth of original two-way video call, it is to avoid network
Video speech quality the difference even generation of chain breaking problem caused by signal is not enough.
Embodiment three
Method to realize the embodiment of the present invention, present embodiments provides a kind of terminal, as shown in figure 3, should
Terminal includes:
Monitoring unit 31, the network quality for monitoring network environment residing for the terminal;
Acquiring unit 32, the first network quality for getting network environment residing for the terminal;
Judging unit 33, for judging whether the first network quality meets the first preparatory condition;Wherein,
First preparatory condition, which characterizes the first network quality, can not carry two-way video talk business;
Determining unit 34, for according to judged result, determining video calling pattern;
Business initiates unit 35, for using the video calling pattern determined, initiating one-way video talk business
Or two-way video talk business.
Wherein, the network quality can be reflected by MOS, and MOS is higher, and explanation network quality is better,
On the contrary, the lower explanation networks of MOS are poor., it is necessary to corresponding first threshold be set, with body during practical application
Whether the network quality now obtained can carry two-way video talk business.
Specifically, when the MOS of acquisition is less than first threshold, illustrate that network quality now is poor, no
Two-way video talk business can be carried;When the MOS of acquisition is more than or equal to first threshold, illustrate now
Network quality preferably, can carry two-way video talk business.
During practical application, the network quality can also be reflected by network signal intensity (dB), network
Signal intensity is usually negative value, poorer closer to zero explanation network quality, on the contrary, further away from zero explanation network
Quality is better.Now, it is still necessary to which corresponding Second Threshold is set, whether can with the network quality for embodying acquisition
Carry two-way video talk business.
Specifically, when the network signal intensity of acquisition is less than or equal to Second Threshold, network matter now is illustrated
Amount is preferable, can carry two-way video talk business;When the network signal intensity of acquisition is more than Second Threshold,
Illustrate that network quality now is poor, it is impossible to carry two-way video talk business.
The network quality can also reflect that the smaller explanation network quality of network delay is better by network delay,
On the contrary, the bigger explanation network of network delay is poor., it is necessary to set corresponding 3rd threshold value during practical application,
To embody whether the network quality obtained can carry two-way video talk business.
Specifically, when the network delay of acquisition is more than three threshold values, illustrate that network quality now is poor,
Two-way video talk business can not be carried;When the network delay of acquisition is less than or equal to three threshold values, illustrate this
When network quality preferably, two-way video talk business can be carried.
Wherein, during practical application, network delay can be determined by way of obtaining pin bags.
When judged result, which characterizes the first network quality, meets first preparatory condition, the determination list
Member 34 determines that video calling pattern is conversed for one-way video;When judged result characterizes the first network quality not
When meeting first preparatory condition, the determining unit 34 determines that video calling pattern is conversed for two-way video.
Correspondingly, when it is determined that video calling pattern is one-way video call, the business initiates unit 35
Initiate one-way video talk business;Or,
When it is determined that video calling pattern is two-way video call, the business initiates unit 35 and initiates two-way regard
Frequency talk business.
Wherein, the one-way video call refers to:Calling and called only one can see the video of transmission;
Correspondingly, the two-way video call refers to:Calling and called can see video.
The business initiates unit 35, specifically for:
First is set to identify in the SDP entrained by the first business request information;First mark characterizes hair
The business risen is one-way video talk business;And send first business request information.
Here, the business initiates unit 35 can also add calling number in first business request information
And called media address, to allow network side to know caller and corresponding called, lead to so as to carry out one-way video
The negotiation of call business media.
During practical application, first business request information can be invitation (INVITE) message, the industry
Business is initiated a rows in the SDP entrained by INVITE of unit 35 and is set to:=sendonly (the first mark),
To initiate one-way video talk business.Meanwhile, the business is initiated unit 35 and added in INVITE message
Calling number and called media address, to form complete INVITE message.
It is described to send first business request information, refer to:The business initiates unit 35 to the network
Side (AS of IMS core net) sends first business request information, to consult one-way video call industry
It is engaged in corresponding media.
In one embodiment, the acquiring unit 32, for carrying out after one-way video talk business, gets
Second network quality of network environment residing for the terminal;
The judging unit 33, for judging whether second network quality meets first preparatory condition;
The determining unit 34, for being unsatisfactory for described first when judged result characterizes second network quality
During preparatory condition, determine that video calling pattern is conversed for two-way video;
The business initiates unit 35, for initiating two-way video talk business.
Wherein, the business initiates unit 35, specifically for:
Second is set to identify in the SDP entrained by the second business request information;Second mark characterizes hair
The business risen is two-way video talk business;And
Send second business request information.
Here, during practical application, the business initiates unit 35 still can be in second business request information
Calling number and called media address are added, to allow network side to know caller and corresponding called, so as to enter
The negotiation of row two-way video talk business media.
During practical application, second business request information can attach most importance to invitation (re-INVITE) message, institute
The business initiation a rows in the SDP entrained by re-INVITE of unit 35 are stated to be set to:=send (the second marks
Know), to initiate two-way video talk business.Meanwhile, the business is initiated unit 35 and disappeared in re-INVITE
Calling number and called media address are added in breath, to form complete re-INVITE message.
It is described to send second business request information, refer to:The business initiates unit 35 to the network
Side (AS of IMS core net) sends second business request information, to consult two-way video call industry
It is engaged in corresponding media.
During practical application, as shown in figure 4, the terminal can also include:
Unit 36 is removed, for carrying out after one-way video talk business or two-way video talk business, the is removed
Video calling stream corresponding to the forward sight frequency talk business of one moment;First moment is logical for the video with determination
Carved at the beginning of the corresponding one-way video talk business of words pattern or two-way video talk business.
Specifically, when the video call service before first moment is one-way video talk business, i.e.,
When the video calling pattern of determination is that two-way video is conversed, the dismounting unit 36 removes one-way video call industry
The corresponding video calling stream of business (deletes the media that one-way video talk business is consulted);When described first
When video call service before moment is two-way video talk business, that is, the video calling pattern determined is unidirectional
During video calling, the video calling stream corresponding to the dismounting of the dismounting unit 36 two-way video talk business is (i.e.
Delete the media that two-way video talk business is consulted).
During practical application, the monitoring unit 31, business initiate unit 35 and dismounting unit 36 can be by terminal
In central processing unit (CPU, Central Processing Unit), microprocessor (MCU, Micro Control
Unit), digital signal processor (DSP, Digital Signal Processor) or programmable logic array (FPGA,
Field-Programmable Gate Array) combine communication chip realization;The acquiring unit 32, judgement
Unit 33, determining unit 34 can be realized by CPU, MCU, DSP or FPGA in terminal.
The implementation of video calling provided in an embodiment of the present invention, can be applied in following application scenarios:
Video calling is carried out using WiFi network, that is, carries out ViWiFi business.Residing for real-time monitoring terminal
The network quality of WiFi network environment;According to the network quality of WiFi network, the video calling pattern is controlled to be
One-way video is conversed or two-way video call, i.e., converse and cut between two-way video call in one-way video
Change, so, active demand of the user to video calling can be at least met when network quality is not good.
The implementation of video calling provided in an embodiment of the present invention, residing for the monitoring terminal of monitoring unit 31
The network quality of network environment;The acquiring unit 32 gets the first net of network environment residing for the terminal
Network quality;The judging unit 33 judges whether the first network quality meets the first preparatory condition;Wherein,
First preparatory condition, which characterizes the first network quality, can not carry two-way video talk business;It is described true
Order member 34 determines video calling pattern according to judged result;The business initiates unit 35 using determination
Video calling pattern, one-way video talk business or two-way video talk business are initiated, according to residing for terminal
Network environment network quality, control video calling pattern for one-way video converse or two-way video call,
In this way, can guarantee that the continuity of video calling.
In addition, carrying out after one-way video talk business, the acquiring unit 32 gets net residing for the terminal
Second network quality of network environment;It is described that the judging unit 33 judges whether second network quality meets
First preparatory condition;When judged result, which characterizes second network quality, is unsatisfactory for first preparatory condition,
The determining unit 34 determines that video calling pattern is conversed for two-way video;The business is initiated unit 35 and sent out
Two-way video talk business is played, when network quality meets the condition of two-way video call, two-way video is carried out
Call, further ensures the continuity of video calling, meanwhile, also improve Consumer's Experience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can using hardware embodiment, software implementation or combine software and
The form of the embodiment of hardware aspect.Moreover, the present invention can be used wherein includes calculating one or more
The computer-usable storage medium of machine usable program code (includes but is not limited to magnetic disk storage and optical storage
Device etc.) on the form of computer program product implemented.
The present invention is with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Flow chart and/or block diagram describe.It should be understood that can be by computer program instructions implementation process figure and/or side
Each flow and/or square frame in block diagram and flow and/or the knot of square frame in flow chart and/or block diagram
Close.Can provide these computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor or
The processor of other programmable data processing devices is to produce a machine so that by computer or other can
The instruction of the computing device of programming data processing equipment is produced for realizing in one flow or multiple of flow chart
The device for the function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices
In the computer-readable memory worked in a specific way so that be stored in the computer-readable memory
Instruction, which is produced, includes the manufacture of command device, and the command device is realized in one flow of flow chart or multiple streams
The function of being specified in one square frame of journey and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and series of operation steps performed on computer or other programmable devices to produce computer implemented processing,
So as to which the instruction performed on computer or other programmable devices is provided for realizing in one flow of flow chart
Or specified in one square frame of multiple flows and/or block diagram or multiple square frames function the step of.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the protection model of the present invention
Enclose.
Claims (12)
1. a kind of video calling implementation method, it is characterised in that methods described includes:
The network quality of network environment residing for monitoring terminal;
Get the first network quality of network environment residing for the terminal;
Judge whether the first network quality meets the first preparatory condition;Wherein, first preparatory condition
Two-way video talk business can not be carried by characterizing the first network quality;
According to judged result, video calling pattern is determined;
Using the video calling pattern of determination, one-way video talk business or two-way video talk business are initiated.
2. according to the method described in claim 1, it is characterised in that described according to judged result, it is determined that regarding
Frequency call mode, including:
When the judged result sign first network quality meets first preparatory condition, video calling is determined
Pattern is conversed for one-way video;
Correspondingly, one-way video talk business is initiated.
3. method according to claim 2, it is characterised in that the initiation one-way video talk business,
Including:
First is set to identify in the Session Description Protocol SDP entrained by the first business request information;Described
It is one-way video talk business that one mark, which characterizes the business initiated,;
Send first business request information.
4. method according to claim 3, it is characterised in that the initiation one-way video talk business,
Also include:
Calling number and called media address are added in first business request information.
5. method according to claim 2, it is characterised in that carry out after one-way video talk business,
Methods described also includes:
Get the second network quality of network environment residing for the terminal;
Judge whether second network quality meets first preparatory condition;
When judged result, which characterizes second network quality, is unsatisfactory for first preparatory condition, video is determined
Call mode is conversed for two-way video;
Initiate two-way video talk business.
6. method according to claim 5, it is characterised in that the initiation two-way video talk business,
Including:
Second is set to identify in the SDP entrained by the second business request information;Second mark characterizes hair
The business risen is two-way video talk business;
Send second business request information.
7. the method according to any one of claim 1 to 6, it is characterised in that methods described also includes:
Carry out after one-way video talk business or two-way video talk business, remove video calling before the first moment
Video calling stream corresponding to business;First moment is corresponding with the video calling pattern of determination unidirectional
Carved at the beginning of video call service or two-way video talk business.
8. a kind of terminal, it is characterised in that the terminal includes:
Monitoring unit, the network quality for monitoring network environment residing for the terminal;
Acquiring unit, the first network quality for getting network environment residing for the terminal;
Judging unit, for judging whether the first network quality meets the first preparatory condition;Wherein, institute
Two-way video talk business can not be carried by stating the first preparatory condition sign first network quality;
Determining unit, for according to judged result, determining video calling pattern;
Business initiate unit, for using determine video calling pattern, initiate one-way video talk business or
Two-way video talk business.
9. terminal according to claim 8, it is characterised in that the determining unit, specifically for:
When the judged result sign first network quality meets first preparatory condition, video calling pattern is determined
Conversed for one-way video;
Correspondingly, business initiates unit and initiates one-way video talk business.
10. terminal according to claim 9, it is characterised in that the business initiates unit, specifically
For:
First is set to identify in the SDP entrained by the first business request information;First mark characterizes hair
The business risen is one-way video talk business;And send first business request information.
11. terminal according to claim 9, it is characterised in that
The acquiring unit, for carrying out after one-way video talk business, gets network residing for the terminal
Second network quality of environment;
The judging unit, for judging whether second network quality meets first preparatory condition;
The determining unit, for be unsatisfactory for described first pre- when judged result characterizes second network quality
If during condition, determining that video calling pattern is conversed for two-way video;
The business initiates unit, for initiating two-way video talk business.
12. the terminal according to any one of claim 8 to 11, it is characterised in that the terminal is also wrapped
Include:
Unit is removed, for carrying out after one-way video talk business or two-way video talk business, first is removed
Video calling stream before moment corresponding to video call service;First moment is the video calling with determination
Carved at the beginning of the corresponding one-way video talk business of pattern or two-way video talk business.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610218874.3A CN107277420A (en) | 2016-04-08 | 2016-04-08 | A kind of video calling implementation method and terminal |
PCT/CN2017/075503 WO2017173903A1 (en) | 2016-04-08 | 2017-03-02 | Video call implementation method, terminal, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610218874.3A CN107277420A (en) | 2016-04-08 | 2016-04-08 | A kind of video calling implementation method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107277420A true CN107277420A (en) | 2017-10-20 |
Family
ID=60000206
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610218874.3A Pending CN107277420A (en) | 2016-04-08 | 2016-04-08 | A kind of video calling implementation method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107277420A (en) |
WO (1) | WO2017173903A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756797A (en) * | 2017-11-07 | 2019-05-14 | 阿里巴巴集团控股有限公司 | Double upper linked methods, optical network management equipment and optical transmission system |
CN110650109A (en) * | 2018-06-26 | 2020-01-03 | 展讯通信(上海)有限公司 | Method, device and terminal for replying specific response message in unidirectional video scene |
CN112054914A (en) * | 2019-06-06 | 2020-12-08 | 中移互联网有限公司 | Broadband quality evaluation method and device and electronic equipment |
CN113301289A (en) * | 2020-02-21 | 2021-08-24 | 深圳市万普拉斯科技有限公司 | Communication processing method, communication processing device, electronic equipment and storage medium |
CN114845078A (en) * | 2020-12-01 | 2022-08-02 | 华为技术有限公司 | Communication method and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351014B (en) * | 2019-07-12 | 2022-10-21 | 平安普惠企业管理有限公司 | Data processing method, data processing device, computer readable storage medium and computer equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101207783A (en) * | 2006-12-21 | 2008-06-25 | 乐金电子(中国)研究开发中心有限公司 | Video telephone of self-adapting network condition and network self-adapting regulation method |
CN103905771A (en) * | 2012-12-28 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Video communication method and user terminal |
EP2890120A1 (en) * | 2013-12-30 | 2015-07-01 | Telefonaktiebolaget L M Ericsson (Publ) | Internet protocol video telephony with carrier grade voice |
CN105359515A (en) * | 2013-07-26 | 2016-02-24 | 高通股份有限公司 | Video pause indication in video telephony |
CN105406890A (en) * | 2015-11-28 | 2016-03-16 | 广东欧珀移动通信有限公司 | Data transmission method and device for communication terminal and communication terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9445051B1 (en) * | 2015-08-14 | 2016-09-13 | Qualcomm Incorporated | Sender side video telephony downgrade |
-
2016
- 2016-04-08 CN CN201610218874.3A patent/CN107277420A/en active Pending
-
2017
- 2017-03-02 WO PCT/CN2017/075503 patent/WO2017173903A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101207783A (en) * | 2006-12-21 | 2008-06-25 | 乐金电子(中国)研究开发中心有限公司 | Video telephone of self-adapting network condition and network self-adapting regulation method |
CN103905771A (en) * | 2012-12-28 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Video communication method and user terminal |
CN105359515A (en) * | 2013-07-26 | 2016-02-24 | 高通股份有限公司 | Video pause indication in video telephony |
EP2890120A1 (en) * | 2013-12-30 | 2015-07-01 | Telefonaktiebolaget L M Ericsson (Publ) | Internet protocol video telephony with carrier grade voice |
CN105406890A (en) * | 2015-11-28 | 2016-03-16 | 广东欧珀移动通信有限公司 | Data transmission method and device for communication terminal and communication terminal |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109756797A (en) * | 2017-11-07 | 2019-05-14 | 阿里巴巴集团控股有限公司 | Double upper linked methods, optical network management equipment and optical transmission system |
CN110650109A (en) * | 2018-06-26 | 2020-01-03 | 展讯通信(上海)有限公司 | Method, device and terminal for replying specific response message in unidirectional video scene |
CN110650109B (en) * | 2018-06-26 | 2022-03-01 | 展讯通信(上海)有限公司 | Method, device and terminal for replying specific response message in unidirectional video scene |
CN112054914A (en) * | 2019-06-06 | 2020-12-08 | 中移互联网有限公司 | Broadband quality evaluation method and device and electronic equipment |
CN112054914B (en) * | 2019-06-06 | 2023-10-27 | 中移互联网有限公司 | Broadband quality evaluation method and device and electronic equipment |
CN113301289A (en) * | 2020-02-21 | 2021-08-24 | 深圳市万普拉斯科技有限公司 | Communication processing method, communication processing device, electronic equipment and storage medium |
CN114845078A (en) * | 2020-12-01 | 2022-08-02 | 华为技术有限公司 | Communication method and electronic equipment |
CN114845078B (en) * | 2020-12-01 | 2023-04-11 | 华为技术有限公司 | Call method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2017173903A1 (en) | 2017-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107277420A (en) | A kind of video calling implementation method and terminal | |
JP4763800B2 (en) | Method and apparatus for establishing a multimedia communication session | |
US10594744B2 (en) | Speech communication terminal, intermediate node, processing device, connection method, and non-transitory computer-readable recording medium | |
US11799922B2 (en) | Network core facilitating terminal interoperation | |
US11082455B2 (en) | Network gateway transcoder-utilization-aware session control | |
US9826072B1 (en) | Network-terminal interoperation using compatible payloads | |
CN106804049B (en) | Inter-system switching method and device | |
US7978604B2 (en) | Optimising resource usage in a packet switched network | |
CN103188168B (en) | A kind of QoS optimization method and equipment | |
GB2440381A (en) | An internet protocol multimedia subsystem network element for reducing signalling overhead | |
CN107770473A (en) | A kind of audio, video data transfer control method and device | |
WO2018076376A1 (en) | Voice data transmission method, user device, and storage medium | |
WO2007121647A1 (en) | A system, device and method for filtering session initiation protocol message | |
JP2011029703A (en) | Sip server device, and call connection system | |
US20180013682A1 (en) | Method and apparatus for implementing congestion control negotiation | |
US20200336516A1 (en) | Call control | |
CN103929436B (en) | A kind of method of media negotiation repeatedly in limitation IMS network | |
JP5729222B2 (en) | Phone terminal | |
CN104683610B (en) | A kind of method and apparatus improving VoIP voice quality | |
Rankin et al. | Validating VoLTE: A Definitive Guide to Successful Deployments | |
EP3654604A1 (en) | Internet protocol multimedia subsystem, ims call setup time booster | |
Mkwawa et al. | Open IMS core with VoIP quality adaptation | |
CN104468622B (en) | The method that Three-Way Calling is realized based on Session Initiation Protocol call waiting | |
US20090103519A1 (en) | Method and Computer Product for Switching Subsequent Messages With Higher Priority Than Invite Messages in a Softswitch | |
US20220167454A1 (en) | Processing of a call by videoconference between two terminals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171020 |
|
RJ01 | Rejection of invention patent application after publication |