CN104954724B - A kind of video call switching method, Intelligent television terminal, mobile terminal and system - Google Patents
A kind of video call switching method, Intelligent television terminal, mobile terminal and system Download PDFInfo
- Publication number
- CN104954724B CN104954724B CN201510258457.7A CN201510258457A CN104954724B CN 104954724 B CN104954724 B CN 104954724B CN 201510258457 A CN201510258457 A CN 201510258457A CN 104954724 B CN104954724 B CN 104954724B
- Authority
- CN
- China
- Prior art keywords
- intelligent television
- terminal
- mobile terminal
- address
- television terminal
- 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.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of video call switching method, Intelligent television terminal, mobile terminal and system, the call handover method includes:Detection Intelligent television terminal establishes the instruction of video calling;Intelligent television terminal receives the passage handover request order of user, obtains the channel information of current Intelligent television terminal and current medium stream information;The channel information and medium stream information that Intelligent television terminal is switched over needs by broadcast communication are broadcasted;Mobile terminal in same LAN receives broadcast and receives handover request, the IP address of mobile terminal is forged using the local ip address of the broadcast message of Intelligent television terminal and the IP address of receiving terminal, mobile terminal sendaisle information and medium stream information to receiving terminal.The present invention forges technology using IP address and smart mobile phone of the TV in same LAN is pretended, and it is possessed peritelevision and carries out speech voice input function, improves the quality of video calling, provide users with the convenient.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of video call switching method, Intelligent television terminal, movement
Terminal and system.
Background technology
With the popularization of intelligent television, the improvement of lifting and network foundation environment of the chip for video processing capabilities,
Video calling will welcome rare opportunity, and the large-size screen monitors based on TV, HD video chat are undoubtedly more favored by masses.And TV
Following limitation in voice call be present in Video chat:
First, audio collection problem, camera is normally placed on TV in chat, and the microphone collection energy of many cameras
Power is limited, and user, which must be close to the TV other side that speaks, can just catch, and chat very tired.And common camera does not possess drop generally
Make an uproar function, the low noise for being difficult to eliminate in communication process generally be present, influence speech quality;
2nd, echo problem, audio are the bases of Video chat, audio quality and comfort level undoubtedly can left and right user choosing
Select, apart from tv speaker excessively closely, the sound come out from loudspeaker is collected and exported to right by microphone again microphone
End, echogenicity, moves in circles to send and utters long and high-pitched sounds, have a strong impact on communication effect.
Therefore, prior art has yet to be improved and developed.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided a kind of video calling is cut
Change method, Intelligent television terminal, mobile terminal and system, it is intended to solve in the prior art using TV progress Video chat when by
It is limited in one's ability and the defects of the echo of microphone causes speech quality difference in audio collection.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of video call switching method, wherein, the video call switching method comprises the following steps:
Intelligent television terminal detects that user establishes the instruction of video calling by Intelligent television terminal;
Intelligent television terminal receives the passage handover request order of user, obtains the channel information of current Intelligent television terminal
And current medium stream information;
The channel information and medium stream information that Intelligent television terminal is switched over needs by broadcast communication are broadcasted;
After mobile terminal in same LAN receives broadcast, receive or refuse handover request according to the instruction of user;
If mobile terminal receives handover request, the local ip address in the broadcast message of Intelligent television terminal and reception are utilized
The IP address at end is forged to the IP address of mobile terminal, mobile terminal simulated television sendaisle information and medium stream information
To receiving terminal.
Described video call switching method, wherein:
The channel information refers to local communication address and the mailing address of receiving terminal of Intelligent television terminal.
Described video call switching method, wherein, the method that the IP address of the mobile terminal is forged and information is sent
Specifically include following steps:
If mobile terminal receives handover request, the broadcast message of Intelligent television terminal is parsed;
Mobile terminal constructs IP address and UDP head essential informations according to the IP address of Intelligent television terminal;
Mobile terminal establishes raw socket according to receiving terminal address, while starts the collection of audio frequency of mobile terminal and compile
Code;
Data are formed packet by the medium stream information in broadcast message, and simulation Intelligent television terminal sends packet
To receiving terminal.
Described video call switching method, wherein, the raw socket is by source IP address, source port, purpose IP
Address, destination interface and host-host protocol composition.
A kind of Intelligent television terminal, wherein, including:
Detection module, the instruction of video calling is established for detecting user by Intelligent television terminal;
Reception and acquisition module, for receiving the passage handover request order of user, obtain current Intelligent television terminal
Channel information and current medium stream information;
Information broadcast module, the channel information for being switched over needs by broadcast communication for Intelligent television terminal and matchmaker
Body stream information is broadcasted.
Described Intelligent television terminal, wherein,
The channel information refers to local communication address and the mailing address of receiving terminal of Intelligent television terminal.
A kind of mobile terminal, wherein, including:
Control module, after the broadcast for receiving the Intelligent television terminal in same LAN, connect according to the instruction of user
By or refusal handover request;
IP address is forged and sending module, if receiving handover request for mobile terminal, utilizes the wide of Intelligent television terminal
The IP address for broadcasting the local ip address in information and receiving terminal is forged to the IP address of mobile terminal, mobile terminal simulation electricity
Depending on sendaisle information and medium stream information to receiving terminal.
Described mobile terminal, wherein, the IP address is forged and sending module specifically includes:
Resolution unit, if receiving handover request for mobile terminal, parse the broadcast message of Intelligent television terminal;
IP address structural unit, IP address and UDP heads are constructed according to the IP address of Intelligent television terminal for mobile terminal
Essential information;
Collection and coding unit, establish raw socket, while start movement for mobile terminal according to receiving terminal address
The collection of terminal audio frequency and coding;
Packet transmitting element, data are formed into packet for the medium stream information in broadcast message, simulate intelligence
Energy television terminal sends packet to receiving terminal.
Described mobile terminal, wherein, the raw socket is by source IP address, source port, purpose IP address, purpose
Port and host-host protocol composition.
A kind of video calling switching system, wherein, including:
Intelligent television terminal, the instruction of video calling is established for detecting user by Intelligent television terminal;Receive and use
The passage handover request order at family, obtains the channel information of current Intelligent television terminal and current medium stream information;For intelligence
The channel information and medium stream information that energy television terminal is switched over needs by broadcast communication are broadcasted;
Mobile terminal, after the broadcast for receiving the Intelligent television terminal in same LAN, connect according to the instruction of user
By or refusal handover request;If mobile terminal receives handover request, the local IP in the broadcast message of Intelligent television terminal is utilized
The IP address of address and receiving terminal is forged to the IP address of mobile terminal, mobile terminal simulated television sendaisle information and
Medium stream information is to receiving terminal.
Beneficial effects of the present invention:Video calling switching system in the present invention, the collection of audio, coding are sent into migration
To mobile phone, following benefit will be brought:
First, independence, for bluetooth subsidiary communications and other similar to solution, they are merely responsible for adopting for data mostly
Collection, that does is good also with regard to that can accomplish the degree of coding, and the auxiliary terminal in the present invention is not only responsible for the collection of data, encoded,
Also packing, the output of data.This can undoubtedly greatly promote the disposal ability of TV, the audio number that script is responsible for by television
According to collection, coding, send work give mobile phone completely to realize, such TV can vacates more multiple resource to handle video
Data, reduce the performance pressures of TV;
2nd, flexibility, compared to the stationarity for the common camera that TV is connected to by USB, auxiliary mobile phone is as electricity
Depending on mobile microphone, user can be made not limited strictly by the distance with TV, as long as in a LAN just can easily
Cosily carry out Video chat;
3rd, functional completeness, after mobile phone is transferred in data acquisition, as the microphone of voice data collection, and voice data
The loudspeaker distance of broadcasting is remote, and many mobile phones possess hardware decrease of noise functions, and so either echo or background noise be all
Good processing has been obtained, has improved the quality of call.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the preferred embodiment of video call switching method of the present invention.
Fig. 2 is a kind of configuration diagram of the first Application Example of video calling switching system of the present invention.
Fig. 3 is a kind of timing diagram of the first Application Example of video call switching method of the present invention.
Fig. 4 is a kind of flow chart of the second Application Example of video call switching method of the present invention.
Fig. 5 is a kind of principle of work and power of the preferred embodiment of the Intelligent television terminal of video calling switching system of the present invention
Block diagram.
Fig. 6 is a kind of principle of work and power frame of the preferred embodiment of the mobile terminal of video calling switching system of the present invention
Figure.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and do not have to
It is of the invention in limiting.
Video chat is exactly audio-video frequency media stream on two passages having had built up briefly from the angle of technology
Real time bidirectional transmission is carried out, it is exactly by source IP, source port, purpose IP, destination interface that this passage, which corresponds to operating system aspect,
An and socket determined by transport protocol type this five-tuple.It is full duplex, and its data feedback channel is responsible for local terminal number
According to output, down going channel be responsible for receive remote data.When TV is as the entity to communicate, its down going channel is by distally referring to
Fixed, we are very difficult to change;And for data feedback channel, we can detect and simulate its this client information, so we
Just have an opportunity by IP address spoofing technology, i.e., using raw socket programming to carry out data transmission, and then simulated television is carried out
Communication, the collection of speech data for so being responsible for carrying out by TV originally, coding, transmission can then transfer to completely other-end
It is responsible for completion.
A kind of video call switching method described in present pre-ferred embodiments, as shown in figure 1, the video calling switches
Method comprises the following steps:
Step S100, Intelligent television terminal detects that user establishes the instruction of video calling by Intelligent television terminal.
When it is implemented, intelligent television sets up video calling by Video chat application, mobile terminal also opens video
Talk application software, specifically, the intelligent television and mobile terminal are generally in same LAN.
Step S200, Intelligent television terminal receives the passage handover request order of user, obtains current Intelligent television terminal
Channel information and current medium stream information.
Specifically, the channel information refers to local communication address and the mailing address of receiving terminal of Intelligent television terminal.Tool
During body implementation, user initiates passage handover request by application interface, and television application carries out local data feedback channel information as originally
Ground mailing address, remote communication address, and current transmission medium stream information such as current channel mark(Synchronization
Source Identifier, SSRC), current RTP(Real-time Transport Protocol, RTP)Number
According to the collection of the sequence number of bag and time stamp etc..
Step S300, the channel information and medium stream information that Intelligent television terminal is switched over needs by broadcast communication
Broadcasted.Specifically, television application passes through broadcast communication, it would be desirable to which the channel information and current media switched over spreads
Defeated information is broadcasted.
Step S400, after the mobile terminal in same LAN receives broadcast, received or refused to cut according to the instruction of user
Change request.
If step S500, mobile terminal receives handover request, the local IP in the broadcast message of Intelligent television terminal is utilized
The IP address of address and receiving terminal is forged to the IP address of mobile terminal, mobile terminal simulated television sendaisle information and
Medium stream information is to receiving terminal.
When it is implemented, after the mobile phone in same LAN receives broadcast, need to select to receive according to user or refusal is cut
Request is changed, if receiving handover request, parsing broadcast message, and IP heads, UDP head essential informations are constructed according to TV IP address,
Raw socket is established according to far-end address, while starts the collection of audio, coding, and the media information in broadcast message
Data are packaged and sent to terminal..
The step S500 specifically includes following steps:
If step S501, mobile terminal receives handover request, the broadcast message of Intelligent television terminal is parsed;
Step S502, mobile terminal constructs IP address and UDP head essential informations according to the IP address of Intelligent television terminal;
Step S503, mobile terminal establishes raw socket according to receiving terminal address, while starts audio frequency of mobile terminal
Collection and coding;
Data are formed packet by medium stream information step S504, in broadcast message, simulate Intelligent television terminal
Packet is sent to receiving terminal.
Specifically, the raw socket is by source IP address, source port, purpose IP address, destination interface and transmission association
View composition.
Present invention also offers a kind of system architecture schematic diagram of the first Application Example of video call switching method, such as
Shown in Fig. 2, user Alice and user Bob carries out Video chat in the present embodiment, and the system includes intelligent television, auxiliary intelligence
Can mobile phone, router, Sip servers, receiving terminal.Specifically operation principle is:
Intelligent television is set up by Sip servers where intelligent television and router and Bob used in Alice first
Receiving terminal between establish session connection;
When intelligent television is not communicated using auxiliary smart mobile phone, it is logical that intelligent television can use voice data to send
Road, audio-frequency information is sent to router, router and uses media flow transmission(P2P)Or transmission of multimedia streams(proxy)Form
Audio-frequency information is sent to the receiving terminal to where Bob.
When sending voice data using smart mobile phone auxiliary, the intelligent television used in Alice passes through broadcast and auxiliary intelligence
Can mobile phone establish control link, auxiliary smart mobile phone is responsible for the collection of voice data, coding, IP camouflages, data packing and sent,
By the voice data sendaisle of mobile phone, voice data is sent to router, router and uses media flow transmission(P2P)Or
Transmission of multimedia streams(proxy)Form sends audio-frequency information the receiving terminal to where Bob, completes the hair of a voice data
Send.
Current invention assumes that television and mobile phone terminal are equipped with the cruel Video chat software of Skyworth's research and development, the present invention will be at him
On the basis of be extended realize mobile phone can peritelevision carry out voice output.
The application of television Video chat need to increase following function:
1st, the sip protocol stack of bottom communication, finished in signaling negotiation, it is necessary to create a broadcast to audio stream management entity
Socket, and specify broadcast address and port(9090), create related dependant resource;
2nd, addition control entrance, the Jing Yin interface of reusable in the UI of upper strata, and user is prompted, audio input can be transmitted when Jing Yin
To mobile phone;
3rd, underlying protocol stack collects the audio letter of local audio passage and current transmission when receiving UI mute command
Breath, and it is broadcasted.
The application of mobile phone terminal Video chat need to add following function:
1st, UDP socket is created after protocol stack starts and binds 9090 ports, reusable SIP UDP listening ports;
2nd, after mobile phone terminal receives broadcast message, the verification of message is carried out, after verifying successfully, gives user's prompting, judgement is
It is no to need the audio for receiving television to send request;
3rd, after mobile phone refusal receives handover request, refuse information is sent to TV, TV recovers to continue original data feedback channel
Data processing work;
4th, confirm phone after receiving handover request, send an acknowledgement message to television, television receive confirmation message after,
Suspend collection, coding and the transmission work of original voice data;
5th, mobile phone terminal creates the collection of audio, coding thread, and according to the camouflage IP heads of the message constructing TV of broadcast,
UDP heads, create raw socket;
6th, mobile phone terminal log-on data is gathered, and the data encoded are sent directly into distal end.
A kind of timing diagram of the first Application Example of video call switching method is additionally provided in the present invention, such as Fig. 3 institutes
Show, specific sequential is followed successively by:
The receiving terminal where intelligent television and Bob used in Alice establishes session negotiation;
Smart mobile phone is aided in start mobile phone terminal Video chat application;
Intelligent television used in Alice establishes streaming media passage, creates broadcast socket and related resource, Alice
Streaming media is carried out between receiving terminal where intelligent television and Bob used;
Aid in smart mobile phone to create UDP socket and bind 9090 ports, start the service of monitoring;
User opens mute request;
Intelligent television used in Alice suspends capturing and coding and the transmission of to be switched Media Stream, and collects channel information
And current media stream information, handover request is broadcasted to LAN;
Auxiliary smart mobile phone receives the switching of television discovery(It is Jing Yin)Request, and the message that will accept confirmation send to
Intelligent television used in Alice;
Smart mobile phone analysis broadcast data is aided in, IP heads, the UDP heads of camouflage is constructed, creates the resources such as collecting thread;To adopting
The data of collection carry out G729 codings, and the data after coding are beaten into RTP heads and sent to the receiving terminal where Bob;
After conversation end, the intelligent television used in user to Alice, which is sent, closes mute request;
Intelligent television used in Alice switches back into television request to auxiliary smart mobile phone sendaisle;
Smart mobile phone is aided in collect current media stream information, feedback current transmission medium stream information to the intelligence used in Alice
Can TV;Related resource is discharged, completes once to aid in intelligent television to carry out Video chat by smart mobile phone.
Present invention also offers a kind of flow chart of the second Application Example of video call switching method, as shown in figure 4,
Specifically include step:
Step S10, TV opens Video chat, and TV is carried out Jing Yin;
Step S20, television reminding audio user passage switches;
Step S30, TV judges whether audio data feedback channel switching to mobile phone, if it is, performing step S50, such as
Fruit is no, then performs step S40;
Step S40, TV microphone is cancelled Jing Yin;
Step S50, TV collects upstream transmission passage and current transmission medium stream information;
Step S60, TV sends broadcast message to mobile phone;
Step S70, mobile phone terminal starts Video chat application;
Step S80, mobile phone listening broadcast message;
Step S90, mobile phone parsing broadcast message content;
Step S91, mobile phone ejection switching channel is asked to user, if user refuses, direct step S97, if with
Family receives then to perform step S92;
Step S92, handset replies confirm message to TV;
Step S93, the related resource such as handset configuration IP heads, UDP heads, establishment thread;
Step S94, handset starting data acquisition thread carries out data acquisition;
Step S95, mobile phone carries out G729 compressed encodings to the voice data of collection;
Step S96, the data encoded are carried out RTP packings by mobile phone, are sent to distal end;
Step S97, handset replies refuse information is to TV.
It is pseudo- by using smart mobile phone the invention provides a kind of video call switching method from above-described embodiment
IP technologies are made, when carrying out Video chat now with intelligent television in fact, audio output are carried out using smart mobile phone, so as to improve
Speech quality during Video chat is carried out using intelligent television, is provided users with the convenient.
Based on above-described embodiment, the present invention also provides a kind of Intelligent television terminal 10, as shown in figure 5, including:
Detection module 11, detect that user establishes by Intelligent television terminal the finger of video calling for Intelligent television terminal
Order;As detailed above.
Reception and acquisition module 12, the passage handover request order of user is received for Intelligent television terminal, is obtained current
The channel information of Intelligent television terminal and current medium stream information;As detailed above.
Information broadcast module 13, for Intelligent television terminal by broadcast communication will need the channel information that switches over and
Medium stream information is broadcasted;As detailed above.
Described Intelligent television terminal, wherein,
The channel information refers to local communication address and the mailing address of receiving terminal of Intelligent television terminal;Specific as above institute
State.
The present invention also provides a kind of functional schematic block diagram of the preferred embodiment of mobile terminal 20, as shown in fig. 6, wherein,
Including:
Control module 21, after the broadcast for receiving the Intelligent television terminal in same LAN, according to the instruction of user
Receive or refuse handover request;As detailed above.
IP address is forged and sending module 22, if receiving handover request for mobile terminal, utilizes Intelligent television terminal
The IP address of local ip address and receiving terminal in broadcast message is forged to the IP address of mobile terminal, mobile terminal simulation
TV sendaisle information and medium stream information are to receiving terminal;As detailed above.
Wherein, the IP address is forged and sending module 22 specifically includes:
Resolution unit, if receiving handover request for mobile terminal, parse the broadcast message of Intelligent television terminal;Specifically such as
It is upper described.
IP address structural unit, IP address and UDP heads are constructed according to the IP address of Intelligent television terminal for mobile terminal
Essential information;As detailed above.
Collection and coding unit, establish raw socket, while start movement for mobile terminal according to receiving terminal address
The collection of terminal audio frequency and coding;As detailed above.
Packet transmitting element, data are formed into packet for the medium stream information in broadcast message, simulate intelligence
Energy television terminal sends packet to receiving terminal;As detailed above.
Described mobile terminal, wherein, the raw socket is by source IP address, source port, purpose IP address, purpose
Port and host-host protocol composition;As detailed above.
Further, the invention also provides a kind of video calling switching system, wherein, system includes:
Intelligent television terminal, the instruction of video calling is established for detecting user by Intelligent television terminal;Receive and use
The passage handover request order at family, obtains the channel information of current Intelligent television terminal and current medium stream information;For intelligence
The channel information and medium stream information that energy television terminal is switched over needs by broadcast communication are broadcasted;Specific as above institute
State.
Mobile terminal, after the broadcast for receiving the Intelligent television terminal in same LAN, connect according to the instruction of user
By or refusal handover request;If mobile terminal receives handover request, the local IP in the broadcast message of Intelligent television terminal is utilized
The IP address of address and receiving terminal is forged to the IP address of mobile terminal, mobile terminal simulated television sendaisle information and
Medium stream information is to receiving terminal;As detailed above.
In summary, the invention provides a kind of video call switching method, Intelligent television terminal, mobile terminal and it is
System, methods described include:Intelligent television terminal detects that user establishes the instruction of video calling by Intelligent television terminal;Intelligence
Television terminal receives the passage handover request order of user, obtains the channel information of current Intelligent television terminal and current media
Stream information;The channel information and medium stream information that Intelligent television terminal is switched over needs by broadcast communication are broadcasted;
After mobile terminal in same LAN receives broadcast, receive or refuse handover request according to the instruction of user;If mobile terminal
Receive handover request, using the local ip address in the broadcast message of Intelligent television terminal and the IP address of receiving terminal to mobile whole
The IP address at end is forged, mobile terminal simulated television sendaisle information and medium stream information to receiving terminal.The present invention can
Technology is forged using IP address to pretend smart mobile phone of the TV in same LAN, it is possessed peritelevision progress
Speech voice input function, the quality of video calling is improved, is provided users with the convenient.
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, can
To be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present invention
Protect scope.
Claims (10)
1. a kind of video call switching method, it is characterised in that the video call switching method comprises the following steps:
Intelligent television terminal detects that user establishes the instruction of video calling by Intelligent television terminal;Intelligent television terminal connects
The passage handover request order of user is received, obtains the channel information of current Intelligent television terminal and current medium stream information;
The channel information and medium stream information that Intelligent television terminal is switched over needs by broadcast communication are broadcasted;
After mobile terminal in same LAN receives broadcast, receive or refuse handover request according to the instruction of user;
If mobile terminal receives handover request, the local ip address in the broadcast message of Intelligent television terminal and receiving terminal are utilized
IP address is forged to the IP address of mobile terminal, and mobile terminal simulated television sendaisle information and medium stream information are to connecing
Receiving end;
The Intelligent television terminal also needs to perform following steps, including:
The Session Initiation Protocol stack of bottom communication is created, after signaling negotiation, a broadcast socket is created to audio stream management entity
Word, and broadcast address and port 9090 are specified, create related dependant resource;
Addition control entrance, is multiplexed Jing Yin interface in the UI of upper strata, and prompts user, and audio input can be crossing to hand when Jing Yin
Machine;
Underlying protocol stack is collected the audio-frequency information of local audio passage and current transmission, gone forward side by side when receiving UI mute command
Row broadcast;
The mobile terminal also needs to perform following steps, including:
Protocol stack creates UDP socket and binds 9090 ports after starting, be multiplexed SIP UDP listening ports;
After mobile terminal receives broadcast message, the verification of message is carried out, after verifying successfully, user's prompting is given, judges whether to need
The audio for receiving Intelligent television terminal passes through request;
After mobile terminal refusal receives handover request, send refuse information to Intelligent television terminal, Intelligent television terminal recover after
Continue the data processing work of original data feedback channel;
Mobile terminal is confirmed after receiving handover request, sends an acknowledgement message to Intelligent television terminal, Intelligent television terminal receives
After confirmation message, suspend collection, coding and the transmission work of original voice data;
Mobile terminal creates the collection of audio, coding thread, and the camouflage IP of the message constructing Intelligent television terminal according to broadcast
Head, UDP heads, create raw socket;
Mobile terminal log-on data is gathered, and the data encoded are sent directly into distal end.
2. video call switching method according to claim 1, it is characterised in that:
The channel information refers to local communication address and the mailing address of receiving terminal of Intelligent television terminal.
3. video call switching method according to claim 2, it is characterised in that the IP address of the mobile terminal is forged
And the method that information is sent specifically includes following steps:
If mobile terminal receives handover request, the broadcast message of Intelligent television terminal is parsed;
Mobile terminal constructs IP address and UDP head essential informations according to the IP address of Intelligent television terminal;
Mobile terminal establishes raw socket according to receiving terminal address, while starts collection and the coding of audio frequency of mobile terminal;
Data are formed packet by medium stream information in broadcast message, and simulation Intelligent television terminal sends packet to connecing
Receiving end.
4. video call switching method according to claim 3, it is characterised in that the raw socket is by source IP
Location, source port, purpose IP address, destination interface and host-host protocol composition.
A kind of 5. Intelligent television terminal, it is characterised in that including:
Detection module, detect that user establishes by Intelligent television terminal the instruction of video calling for Intelligent television terminal;
Reception and acquisition module, the passage handover request order of user is received for Intelligent television terminal, it is electric to obtain current intelligence
Channel information and current medium stream information depending on terminal;
Information broadcast module, the channel information and Media Stream for being switched over needs by broadcast communication for Intelligent television terminal
Information is broadcasted;
The Intelligent television terminal also includes following function:
The Session Initiation Protocol stack of bottom communication, after signaling negotiation, a broadcast socket is created to audio stream management entity,
And broadcast address and port 9090 are specified, create related dependant resource;
Addition control entrance, is multiplexed Jing Yin interface in the UI of upper strata, and prompts user, and audio input can be crossing to mobile phone when Jing Yin;
Underlying protocol stack is collected the audio-frequency information of local audio passage and current transmission, gone forward side by side when receiving UI mute command
Row broadcast;
Protocol stack creates UDP socket and binds 9090 ports after starting, be multiplexed SIP UDP listening ports;
After mobile terminal receives broadcast message, the verification of message is carried out, after verifying successfully, user's prompting is given, judges whether to need
The audio for receiving Intelligent television terminal passes through request;
After mobile terminal refusal receives handover request, send refuse information to Intelligent television terminal, Intelligent television terminal recover after
Continue the data processing work of original data feedback channel;
Mobile terminal is confirmed after receiving handover request, sends an acknowledgement message to Intelligent television terminal, Intelligent television terminal receives
After confirmation message, suspend collection, coding and the transmission work of original voice data;
Mobile terminal creates the collection of audio, coding thread, and the camouflage IP of the message constructing Intelligent television terminal according to broadcast
Head, UDP heads, create raw socket;
Mobile terminal log-on data is gathered, and the data encoded are sent directly into distal end.
6. Intelligent television terminal according to claim 5, it is characterised in that
The channel information refers to local communication address and the mailing address of receiving terminal of Intelligent television terminal.
A kind of 7. mobile terminal, it is characterised in that including:
Control module, after the broadcast for receiving the Intelligent television terminal in same LAN, according to the instruction of user receive or
Refuse handover request;
IP address is forged and sending module, if receiving handover request for mobile terminal, is believed using the broadcast of Intelligent television terminal
The IP address of local ip address and receiving terminal in breath is forged to the IP address of mobile terminal, mobile terminal simulated television hair
Channel information and medium stream information are sent to receiving terminal;
The mobile terminal also includes following function:
Protocol stack creates UDP socket and binds 9090 ports after starting, be multiplexed SIP UDP listening ports;
After mobile terminal receives broadcast message, the verification of message is carried out, after verifying successfully, user's prompting is given, judges whether to need
The audio for receiving Intelligent television terminal passes through request;
After mobile terminal refusal receives handover request, send refuse information to Intelligent television terminal, Intelligent television terminal recover after
Continue the data processing work of original data feedback channel;
Mobile terminal is confirmed after receiving handover request, sends an acknowledgement message to Intelligent television terminal, Intelligent television terminal receives
After confirmation message, suspend collection, coding and the transmission work of original voice data;
Mobile terminal creates the collection of audio, coding thread, and the camouflage IP of the message constructing Intelligent television terminal according to broadcast
Head, UDP heads, create raw socket;
Mobile terminal log-on data is gathered, and the data encoded are sent directly into distal end.
8. mobile terminal according to claim 7, it is characterised in that the IP address is forged and sending module specifically wraps
Include:
Resolution unit, if receiving handover request for mobile terminal, parse the broadcast message of Intelligent television terminal;
IP address structural unit, IP address is constructed according to the IP address of Intelligent television terminal for mobile terminal and UDP heads are basic
Information;
Collection and coding unit, establish raw socket, while start mobile terminal for mobile terminal according to receiving terminal address
The collection of audio and coding;
Packet transmitting element, data are formed into packet for the medium stream information in broadcast message, simulate intelligence electricity
Packet is sent to receiving terminal depending on terminal.
9. mobile terminal according to claim 8, it is characterised in that the raw socket is by source IP address, source
Mouth, purpose IP address, destination interface and host-host protocol composition.
A kind of 10. video calling switching system, it is characterised in that including:
Intelligent television terminal and mobile terminal;
The Intelligent television terminal is the Intelligent television terminal described in claim 5 or 6;
The mobile terminal is the mobile terminal described in claim any one of 7-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510258457.7A CN104954724B (en) | 2015-05-20 | 2015-05-20 | A kind of video call switching method, Intelligent television terminal, mobile terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510258457.7A CN104954724B (en) | 2015-05-20 | 2015-05-20 | A kind of video call switching method, Intelligent television terminal, mobile terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104954724A CN104954724A (en) | 2015-09-30 |
CN104954724B true CN104954724B (en) | 2018-01-23 |
Family
ID=54169025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510258457.7A Active CN104954724B (en) | 2015-05-20 | 2015-05-20 | A kind of video call switching method, Intelligent television terminal, mobile terminal and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104954724B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105893242A (en) * | 2015-12-11 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Method for testing application, and test device |
CN106200515B (en) * | 2016-09-30 | 2018-12-11 | 北京小米移动软件有限公司 | intelligent control method and device |
CN106412483B (en) * | 2016-10-28 | 2020-03-17 | 腾讯科技(深圳)有限公司 | Camera sharing method and device |
CN106507029A (en) * | 2016-12-05 | 2017-03-15 | 无锡纽微特科技有限公司 | The method for switching audio-frequence player device in video call system and video calling |
CN111385513B (en) * | 2018-12-28 | 2021-08-20 | 华为技术有限公司 | Call method and related equipment |
CN113497909B (en) * | 2020-03-18 | 2022-12-02 | 华为技术有限公司 | Equipment interaction method and electronic equipment |
CN111669661B (en) * | 2020-06-23 | 2021-06-22 | 四川长虹电器股份有限公司 | Television audio and video call system and method based on TRTC protocol |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635820A (en) * | 2004-08-18 | 2010-01-27 | 华为技术有限公司 | Set-top box system with multimedia communication function |
CN101860494A (en) * | 2010-04-15 | 2010-10-13 | 深圳创维-Rgb电子有限公司 | Instant messaging method of network television and network television system |
CN102387335A (en) * | 2011-11-18 | 2012-03-21 | 康佳集团股份有限公司 | Method and system based on mobile phone realizing video call through set-top box |
CN102857729A (en) * | 2012-08-08 | 2013-01-02 | 青岛海信宽带多媒体技术有限公司 | Set top box based video conversation method and system |
CN103428468A (en) * | 2012-05-21 | 2013-12-04 | 中兴通讯股份有限公司 | Method and system for visual communication based on cooperation of mobile terminal box and set top box |
CN103475706A (en) * | 2013-09-09 | 2013-12-25 | 中国科学技术大学苏州研究院 | Counterfeit TCP covert communication method based on SYN-ACK dual-server rebound pattern |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060132595A1 (en) * | 2004-10-15 | 2006-06-22 | Kenoyer Michael L | Speakerphone supporting video and audio features |
CN101282464B (en) * | 2007-04-03 | 2012-12-19 | 联想(北京)有限公司 | Terminal and method for transferring video |
US8599235B2 (en) * | 2009-07-27 | 2013-12-03 | Cisco Technology, Inc. | Automatic display latency measurement system for video conferencing |
US20110242268A1 (en) * | 2010-03-31 | 2011-10-06 | Jin Kim | Television Appliance |
US8723914B2 (en) * | 2010-11-19 | 2014-05-13 | Cisco Technology, Inc. | System and method for providing enhanced video processing in a network environment |
-
2015
- 2015-05-20 CN CN201510258457.7A patent/CN104954724B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101635820A (en) * | 2004-08-18 | 2010-01-27 | 华为技术有限公司 | Set-top box system with multimedia communication function |
CN101860494A (en) * | 2010-04-15 | 2010-10-13 | 深圳创维-Rgb电子有限公司 | Instant messaging method of network television and network television system |
CN102387335A (en) * | 2011-11-18 | 2012-03-21 | 康佳集团股份有限公司 | Method and system based on mobile phone realizing video call through set-top box |
CN103428468A (en) * | 2012-05-21 | 2013-12-04 | 中兴通讯股份有限公司 | Method and system for visual communication based on cooperation of mobile terminal box and set top box |
CN102857729A (en) * | 2012-08-08 | 2013-01-02 | 青岛海信宽带多媒体技术有限公司 | Set top box based video conversation method and system |
CN103475706A (en) * | 2013-09-09 | 2013-12-25 | 中国科学技术大学苏州研究院 | Counterfeit TCP covert communication method based on SYN-ACK dual-server rebound pattern |
Non-Patent Citations (2)
Title |
---|
A43视频聊天使用教程-----教你分分钟玩转视频聊天;天天向上;《http://itbbs.pconline.com.cn/tv/52226967.html》;20150428;第4页第5节,第4页图1-2,第5页第1段,第5页图1-2 * |
酷酷视频聊天使用教程-----教你分分钟玩转视频聊天;花花O(∩_∩)O~;《http://bbs.coocaa.com/forum.php?mod=viewthread&tid=362172》;20150518;第5-6页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104954724A (en) | 2015-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104954724B (en) | A kind of video call switching method, Intelligent television terminal, mobile terminal and system | |
EP1346536B1 (en) | Method, terminal devices and network element for modifying a connection parameter | |
CN102868873B (en) | A kind of remote presentation method, terminal and system | |
US20040158647A1 (en) | Gateway for connecting networks of different types and system for charging fees for communication between networks of different types | |
WO2010075696A1 (en) | System and method for supporting the share of mobile phone tv programs | |
KR20080013983A (en) | Signaling quality of service (qos) parameters for a multimedia session | |
CN101909192B (en) | Television terminal and communication method thereof | |
CN104426832A (en) | Multi-terminal multichannel independent playing method and device | |
GB0317124D0 (en) | Charging in a communication system | |
JP2004507979A (en) | Communication terminal, system and method for internet / network telephony | |
CN106850399A (en) | A kind of communication means based on WebRTC technology instant messages | |
WO2010096983A1 (en) | Camera controlling method and system for visual user device | |
CN108924872A (en) | Data transmission method, terminal and equipment of the core network | |
CN101778244B (en) | Wireless video conference system and method for adding common voice user | |
WO2011109972A1 (en) | Method and system for implementing multimedia conference | |
CN103517033B (en) | Video conference processing method and mobile terminals | |
WO2014176965A1 (en) | Capability negotiation processing method and device, and telepresence endpoint | |
CN101272383A (en) | Real-time audio data transmission method | |
US20090299735A1 (en) | Method for Transferring an Audio Stream Between a Plurality of Terminals | |
CN108366044A (en) | A kind of VoIP remote audio-videos sharing method | |
WO2008048557A3 (en) | Apparatus and method for making calls via internet | |
CN104580983A (en) | Method for achieving video communication PTT | |
KR20070058772A (en) | Apparatus and method for communicating voice packet in wireless communication system | |
CN103684970A (en) | Transmission method and thin terminals for media data streams | |
CN101686288A (en) | Receiver apparatus and method, and sending and receiving system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |