CN103139529B - Video call switching method between sip server, video call device - Google Patents

Video call switching method between sip server, video call device Download PDF

Info

Publication number
CN103139529B
CN103139529B CN201310057827.1A CN201310057827A CN103139529B CN 103139529 B CN103139529 B CN 103139529B CN 201310057827 A CN201310057827 A CN 201310057827A CN 103139529 B CN103139529 B CN 103139529B
Authority
CN
China
Prior art keywords
video call
account
call device
video
described
Prior art date
Application number
CN201310057827.1A
Other languages
Chinese (zh)
Other versions
CN103139529A (en
Inventor
王风涛
丁大海
Original Assignee
青岛海信宽带多媒体技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 青岛海信宽带多媒体技术有限公司 filed Critical 青岛海信宽带多媒体技术有限公司
Priority to CN201310057827.1A priority Critical patent/CN103139529B/en
Publication of CN103139529A publication Critical patent/CN103139529A/en
Application granted granted Critical
Publication of CN103139529B publication Critical patent/CN103139529B/en

Links

Abstract

The invention discloses a kind of sip server, video call switching method between video call device, described method comprises: sip server is during the first video call device of a SIP account is in video call state with call opposite end, if detect, the second video call device of the 2nd SIP account is online, then send subscribe request message to the second video call device, and after receiving the notify message returned, invite message is sent according to the second video call device, and send re-invite message to described call opposite end, set up the video calling between the second video call device and described call opposite end, wherein, the 2nd SIP account and a SIP account belong to same group of account, thus when need not break of video call, the video calling of the first video call device is switched to the second video call device.

Description

Video call switching method between sip server, video call device

Technical field

The present invention relates to the communication technology, particularly relate to the video call switching method between a kind of sip server, video call device.

Background technology

Along with the fast lifting of the network bandwidth and the development of hardware device and universal, the market of video calling also enters Rapid development stage.Video calling needs the terminal equipment (as smart mobile phone, PC, panel computer etc.) of two networkings (3G, the Internet), realizes sound, the transmission of video real time bidirectional by integrated software or third party software.Video calling mainly contains four kinds of common form: PC-to-PC(Computer-to-Computer), PC-to-Phone(computer is to mobile phone), Phone-to-PC(mobile phone is to computer) and Phone-to-Phone(mobile phone to mobile phone) between by the video calling of the Internet (via Internet).PC-to-PC grows up the earliest, the Video chat of such as Tencent QQ.Phone-to-Phone via Internet is in recent years along with the rise of mobile Internet, becomes market focus, such as Vsir(farsighted person gradually), the video calling software such as Iphone4 facetime, Google talk, Tango of releasing.

The video call function of mobile terminal (comprising mobile phone, panel computer etc.), owing to using, has greater flexibility whenever and wherever possible, and more and more by universal.

And along with the development of science and technology, digitlization is more and more gone into the thick of life, TV TV is also moving towards intelligent in recent years.The intelligent television of current release has the application platform advantage not available for traditional tv.Intelligent television achieves the various application services such as web search, Internet Protocol Television, video request program, digital music based on Set Top Box, can have the function of video calling simultaneously; The basis of these application services, function is all be based upon Set Top Box to be connected on the basis of network.The advantage realizing video calling based on Set Top Box is, screen is large, is carrying out in video call process, is having preferably video display effect.

So, such scene may be there is in real world applications: user, when certain occasion uses mobile terminal to carry out video calling, also has the Set Top Box of video call function simultaneously in this occasion; So, in order to obtain better video effect, user may wish the video calling on mobile terminal to be switched to Set Top Box, by video screen display video.Now, user has to notify that the video calling of mobile terminal is first hung up in opposite end, then calls out opposite end by Set Top Box; After Set Top Box and opposite end set up video calling, then carry out video calling by Set Top Box.But the experience of user and opposite end is not good in this process, both sides all have to experience one section of video calling interrupt, then again call out, re-establish call connect process, can not realize from mobile terminal seamless switching video calling to Set Top Box.That is, prior art can not realize from a video call device seamless switching video calling to another video call device.

Summary of the invention

Embodiments provide the video call switching method between a kind of sip server, video call device, realize from a video call device seamless switching video calling to another video call device.

According to an aspect of the present invention, provide the video call switching method between a kind of video call device, comprising:

Sip server is during the first video call device of a SIP account is in video call state with call opposite end, if detect, the second video call device of the 2nd SIP account is online, then send the subscription subscribe request message carrying reference order information to the second video call device;

After resource that what described sip server received that the second video call device returns comprise can obtain the notice notify message of information, to send to the second video call device according to the SIP account of described call opposite end and carry the audio frequency and video IP address of described call opposite end and the call request invite message of port information; After the response ok message receiving the audio frequency and video IP address of carrying the second video call device that the second video call device returns and port information, to send to described call opposite end according to the SIP account of the second video call device and carry the audio frequency and video IP address of the second video call device and the re-invite of the call request again message of port information; Afterwards,

Described sip server sends on-hook bye message to the first video call device, to disconnect the video calling between the first video call device and described call opposite end, sets up the video calling between the second video call device and described call opposite end;

Wherein, the 2nd SIP account and a SIP account belong to same group of account.

Preferably, described to second video call device send carry the subscription subscribe request message of reference order information before, also comprise:

If described sip server receives the invite message that the first video call device sends, the called account parsed from described invite message equals set point, then confirm to receive switching command; And

Describedly send to the second video call device the subscription subscribe request message carrying reference order information and be specially:

Described sip server sends the subscription subscribe request message carrying reference order information after confirming to receive switching command to the second video call device.

Preferably, the 2nd SIP account is the unique primary account number belonged in each account of described group of account; And other account belonging to described group of account is secondary account.

Preferably, before described the second video call device the 2nd SIP account being detected is online, also comprise:

Described sip server receives the registration register message that the first video call device sends, and carries SIP account, the password of the first video call device in this register message, and described group of account and secondary account number; And

Described sip server receive second video call device send register message, carry SIP account, the password of the second video call device in this register message, and described group of account and primary account number mark;

After the register message that described sip server sends in confirmation first video call device is identical with the group account of the register message that the second video call device sends, determine that the SIP account of the first video call device and the SIP account of the second video call device belong to same group of account, there is incidence relation.

Preferably, the first video call device is specially mobile phone, and the second video call device is specially Set Top Box.

Preferably, described to second video call device send carry the subscription subscribe request message of reference order information after, also comprise:

After second video call device receives described subscribe request message, if the event type therefrom parsed is expansion event transfer type, then confirm to receive the subscribe request message carrying reference order information;

Second video call device shows the inquiry message whether carrying out video calling switching after confirming to receive described reference order information by video screen; After the confirmation receiving user's input, return to described sip server and comprise the notice notify message that resource can obtain information.

Preferably, the group account of the first video call device and secondary account number, and the group account of the second video call device and primary account number mark carry out applying for obtaining to described sip server in advance.

Preferably, before the first video call device and the call opposite end of a described SIP account are in video call state, also comprise:

First video call device sends invite message according to the SIP account of described call opposite end to described sip server; Or

Described call opposite end sends invite message according to the SIP account of the first video call device to described sip server.

According to another aspect of the present invention, additionally provide a kind of sip server, comprising:

On-line checkingi module, during being in video call state in the first video call device of a SIP account with call opposite end, whether the video call device that detection account and a SIP account belong to same group of account is online; If detect, the second video call device of the 2nd SIP account belonging to same group of account with a SIP account is online, then send switching notice;

Switching controls module, after receiving switching notice that described on-line checkingi module sends, sends to the second video call device and carries the subscription subscribe request message of reference order information; After resource can obtain the notice notify message of information in comprising of receiving that the second video call device returns, to send to the second video call device according to the SIP account of described call opposite end and carry the audio frequency and video IP address of described call opposite end and the call request invite message of port information; After the response ok message receiving the audio frequency and video IP address of carrying the second video call device that the second video call device returns and port information, to send to described call opposite end according to the SIP account of the second video call device and carry the audio frequency and video IP address of the second video call device and the re-invite of the call request again message of port information; Afterwards, send on-hook bye message to the first video call device, to disconnect the video calling between the first video call device and described call opposite end, set up the video calling between the second video call device and described call opposite end.

Further, described sip server also comprises:

Registering modules, for receiving the registration register message that the first video call device sends, SIP account, the password of the first video call device is carried in this register message, and described group of account and secondary account number, the first video call device is registered; And receive second video call device send register message, carry SIP account, the password of the second video call device in this register message, and described group of account and primary account number mark, the second video call device is registered.

According to another aspect of the present invention, additionally provide another kind of sip server, comprising:

On-line checkingi module, during being in video call state in the first video call device of a SIP account with call opposite end, whether the video call device that detection account and a SIP account belong to same group of account is online; If detect, the second video call device of the 2nd SIP account belonging to same group of account with a SIP account is online, then send notification line;

Switch and confirm module, for receive described on-line checkingi module send notification line after, if receive the invite message that the first video call device sends, the called account parsed from described invite message equals set point, then confirm to receive switching command; After confirmation receives described switching command, send switching notice;

Switching controls module, for receive described switch the switching notice confirming that module sends after, send to the second video call device and carry the subscription subscribe request message of reference order information, after in comprising of receiving that the second video call device returns, resource can obtain the notice notify message of information, SIP account according to described call opposite end sends the call request invite message of carrying the first audio frequency and video IP address, video call device opposite end and port message to the second video call device, after the response ok message receiving the audio frequency and video IP address of carrying the second video call device that the second video call device returns and port information, SIP account according to the second video call device carries the audio frequency and video IP address of the second video call device and the re-invite of the call request again message of port information to the transmission of described call opposite end, afterwards, send on-hook bye message to the first video call device, to disconnect the video calling between the first video call device and described call opposite end, set up the video calling between the second video call device and described call opposite end.

According to another aspect of the present invention, additionally provide a kind of video call device, comprising:

Reference order receiver module, for receive sip server send subscribe request message after, if the event type therefrom parsed is expansion event transfer type, then confirm receive the subscribe request message carrying reference order information; After confirmation receives described reference order information, send switching process notice;

Switching processing module, after the switching process sent notifies, shows the inquiry message whether carrying out video calling switching for receiving described reference order receiver module by video screen; After the confirmation receiving user's input, return to described sip server and comprise the notice notify message that resource can obtain information; Or described switching processing module returns directly to described sip server and comprises the notice notify message that resource can obtain information after notifying for the switching process receiving the transmission of described reference order receiver module;

Video calling module, for receiving described sip server according to after the invitation invite message of the SIP account transmission of call opposite end, sets up video calling with described call opposite end.

According to another aspect of the present invention, additionally provide another kind of video call device, comprising:

Switching command sending module, for in the video call process of this video call device with call opposite end, if receive the switching command of user's input, then send to sip server and carry the invite message of switching command, in order to notify the video call device organizing other account under account belonging to the SIP account that the video calling of this video call device to be switched to this video call device by described sip server.

In the technical scheme of the embodiment of the present invention, carry out in video call process in the first video call device of a SIP account with call opposite end, sip server can detect online with second video call device of other account (other account be associated with a SIP account) belonging to same group of account of a SIP account after, SIP account according to call opposite end sends invite message to the second video call device, SIP account according to the second video call device sends re-invite message to call opposite end, set up the video calling between the second video call device and described call opposite end, thus when need not break of video call, the video calling of the first video call device is switched to the second video call device, realizes the object from a video call device seamless switching video calling to another video call device.

Accompanying drawing explanation

Fig. 1 a is the flow chart that the first video call device of the embodiment of the present invention is registered to sip server;

Fig. 1 b is the flow chart that the second video call device of the embodiment of the present invention is registered to sip server;

Fig. 2 is that the first video call device of the embodiment of the present invention sets up the flow chart of video calling with call opposite end;

Fig. 3,4 is the video calling of the embodiment of the present invention is switched to the second video call device method flow diagram from the first video call device;

Fig. 5 is a kind of internal structure block diagram of the sip server of the embodiment of the present invention;

Fig. 6 is the another kind of internal structure block diagram of the sip server of the embodiment of the present invention;

Fig. 7 is a kind of internal structure block diagram of the video call device of the embodiment of the present invention.

Embodiment

For making object of the present invention, technical scheme and advantage clearly understand, enumerate preferred embodiment referring to accompanying drawing, the present invention is described in more detail.But it should be noted that, the many details listed in specification are only used to make reader to have a thorough understanding, even if do not have these specific details also can realize these aspects of the present invention to one or more aspect of the present invention.

The term such as " module " used in this application, " system " is intended to comprise the entity relevant to computer, such as but not limited to hardware, firmware, combination thereof, software or executory software.Such as, module can be, but be not limited in: the thread of the process that processor runs, processor, object, executable program, execution, program and/or computer.For example, application program computing equipment run and this computing equipment can be modules.One or more module can be positioned at an executory process and/or thread.

In technical scheme of the present invention, the SIP account of two or more video call device can be associated, server preserves the incidence relation between account, and for having the video call device of incidence relation, realizes the seamless switching of the video calling between these equipment.

The technical scheme of the embodiment of the present invention is described in detail below in conjunction with accompanying drawing.Two or more video call device after registering to sip server, the incidence relation that sip server can confirm between them according to same group of account of these video call device, and preserve the incidence relation confirmed.Fig. 1 a shows the process that mobile phone carries out as one of them video call device (the first video call device) registering:

S101: mobile phone sends registration (register) message to sip server.

Particularly, mobile phone after powering, or will send a register message to sip server every setting-up time section (such as 10 minutes) in video calling program operation process.In the inventive solutions, register message is expanded: except carrying standard information in the register message that mobile phone sends, comprise: SIP account, the password of this video call device (namely as the mobile phone of the first video call device), outside, the information of expansion is also comprised: group account in register message, and the master of account or secondary mark.SIP account is belong to same group of account, then have incidence relation each other.Preferably, belong in each account of same group of account, can arrange a SIP account as unique primary account number, other SIP account is then secondary account.

Such as, in the register message that mobile phone sends to sip server, SIP account, the password of the first video call device can be carried, and the group account of this video call device (the first video call device) and secondary account number.This secondary account number shows that the SIP account of the first video call device is secondary account under this group account.For ease of describing, the SIP account of the first video call device is called a SIP account herein.

After the success of S102:SIP server registration, return 200ok message to mobile phone, confirm to succeed in registration.

Particularly, sip server, after the register message receiving mobile phone transmission, carries out certification according to the SIP account in register message and codon pair mobile phone; After certification is passed through, sip server returns the response message of status200ok to mobile phone, represents that certification is passed through.And whether sip server records identical group of account before also searching; If found, then under the SIP account of mobile phone and secondary account number thereof being recorded to this group account, thus record the incidence relation of each account under same group of account.

Fig. 1 b shows the process that Set Top Box carries out as another video call device (the second video call device) registering:

S111: Set Top Box sends registration register message to sip server.

Particularly, Set Top Box after powering, or will send a register message to sip server every setting-up time section (such as 10 minutes) in video calling program operation process.

In the register message that Set Top Box sends to sip server, SIP account, the password of the second video call device can be carried, and the group account of this video call device (the second video call device) and primary account number mark.This primary account number mark shows that the SIP account of the second video call device is primary account number under this group account.For ease of describing, the SIP account of the second video call device is called the 2nd SIP account herein.

After the success of S112:SIP server registration, return 200ok message to Set Top Box, confirm to succeed in registration.

Particularly, sip server, after the register message receiving Set Top Box transmission, carries out certification according to the SIP account in register message and codon pair Set Top Box; After certification is passed through, sip server returns the response message of status200ok to mobile phone, represents that certification is passed through.And whether sip server records identical group of account before also searching; If found, then by the SIP account of Set Top Box and primary account number identification record thereof under this group account, thus record the incidence relation of each account under same group of account.Such as, before sip server finds, the group account of the mobile phone of record is identical with the group account in the register message that this receives, then by the SIP account of Set Top Box and primary account number identification record thereof under the group account of the mobile phone recorded before, thus have recorded the incidence relation between mobile phone and the account of Set Top Box.

The group account of the first video call device and secondary account number, and the group account of the second video call device and primary account number mark carry out applying for obtaining to described sip server in advance; Particularly, the group account application webpage that the first above-mentioned video call device and the group account of the second video call device can be provided by sip server in advance by user carries out applying for obtaining.Such as, user's use video call device (such as mobile phone, Set Top Box) to access group account application webpage application that sip server provides is to a group account, and user's SIP account that can arrange this video call device is primary account number under this group account or secondary account.Such as, user is after application to a group account, and the SIP account that can arrange above-mentioned mobile phone in group account application webpage is secondary account, and the SIP account arranging above-mentioned Set Top Box is primary account number; After setting comes into force, video call device preserves the group account and master or secondary account number of applying for, uses for during registration.

In a practical application scene, above-mentioned mobile phone, as the first video call device, sets up video calling with call opposite end; The foundation of this video calling, can be initiated by the first video call device: the first video call device sends invite message according to the SIP account of described call opposite end to described sip server, to set up the video calling between the first video call device and call opposite end; Also can be initiated by call opposite end: call opposite end sends invite message according to the SIP account of the first video call device to described sip server, to set up the video calling between the first video call device and call opposite end.

Fig. 2 shows the process being initiated, set up video calling by the first video call device, comprises the steps:

S201: mobile phone sends call request message (invite message) to sip server according to the SIP account of call opposite end.

In this step, mobile phone is according in the invite message of the SIP account transmission of call opposite end, and the caller account of carrying is the SIP account of this mobile phone, and the called account of carrying is the SIP account of call opposite end.

S202:SIP server forwards invite message to call opposite end.

S203:SIP server returns trying message (provisional response message) to mobile phone.

S204: return trying message to sip server after call opposite end receives invite message.

S205: call opposite end also returns ALERTING message (ring message) to sip server.

S206:SIP server forwards ring message to mobile phone.

S207: call opposite end, after receiving off-hook operational order, returns response message (ok message) to sip server, agrees that setting up call connects.

The video call device had (as being provided with the Set Top Box of automatic-answering back device) is not then needed to any operation of user, return response message (ok message) directly to sip server, agree that setting up call connects.

S208:SIP server forwards ok message to mobile phone.

S209: ack message (acknowledge message) responded by mobile phone.

S210:SIP server forwards ack message to call opposite end; Mobile phone establishes video calling with call opposite end and is connected.

Establish after video calling is connected, if there is the video call device belonging to same group of account with this mobile phone, than Set Top Box described above in the user place occasion of mobile phone at mobile phone and call opposite end; User wishes the video calling on mobile phone to be seamlessly switched to Set Top Box, the video screen of Set Top Box is utilized to carry out better video display, then sip server controls the video calling of the first video call device with call opposite end, switch to as the second video call device Set Top Box with call opposite end video calling, detailed process as shown in Figure 3, comprises the steps:

S301: in the video call process of mobile phone (the first video call device) with call opposite end, if sip server detects that second video call device (Set Top Box) of the 2nd SIP account belonging to same group of account with a SIP account is online, then send the subscription subscribe request message carrying reference order information to the second video call device.

Particularly, sip server establishes after video calling is connected at mobile phone (the first video call device) and call opposite end, can detect the video call device belonging to other account of same group of account with a SIP account whether online online; The video call device belonging to other account of same group of account if detect is online, then send to it subscribe request message carrying reference order information.As a kind of more excellent execution mode, for the situation having multiple secondary account under same group of account, sip server is after detecting that the video call device belonging to the primary account number of same group of account with a SIP account is online, the subscribe request message carrying reference order information is sent, to start video call device video calling being switched to this primary account number to it.

Or, sip server is after mobile phone (the first video call device) and call opposite end establish a period of time that video calling is connected, if detect, the video call device belonging to other account of same group of account with a SIP account logs in, then the video call device to this login sends the subscribe request message carrying reference order information.As a kind of more excellent execution mode, for the situation having multiple secondary account under same group of account, sip server is after detecting that the video call device belonging to the primary account number of same group of account with a SIP account logs in, the subscribe request message carrying reference order information is sent, to start video call device video calling being switched to this primary account number to it.

Because the 2nd SIP account and a SIP account belong to same group of account, more preferably, 2nd SIP account is the primary account number under this group account, therefore, if sip server detects that the second video call device (Set Top Box) as the 2nd SIP account of primary account number is online, then send the subscribe request message carrying reference order information to the second video call device.

In technical scheme of the present invention, expansion is also done to subscribe request message: if indicating event type at the head of subscribe request message is that transfer(expands event) type, namely show to carry reference order information in this subscribe request message.

After S302: the second video call device (Set Top Box) receives subscribe request message, return ok message.

After S303: the second video call device (Set Top Box) parses reference order information from subscribe request message, whether inquiry carries out video calling switching; After receiving the confirmation of user's input, return to described sip server and comprise the notice notify message that resource can obtain information.

Particularly, second video call device (Set Top Box) is resolved the subscribe request message received, if the event type therefrom parsed is expansion event transfer type, then confirm to receive the subscribe request message carrying reference order information; Second video call device (Set Top Box) shows the inquiry message whether carrying out video calling switching after confirming to receive reference order information by video screen; If user have selected "Yes" according to the inquiry message of display, then the second video call device (Set Top Box) is after the confirmation receiving user's input, return to sip server and comprise the notice notify message that resource can obtain information, agree that Switch Video is conversed.

After resource that what S304:SIP server received that the second video call device (Set Top Box) returns comprise can obtain the notice notify message of information, the SIP account according to call opposite end sends call request invite message to the second video call device.

Particularly, after resource that what sip server received that the second video call device returns comprise can obtain the notify message of information, sip server to send to the second video call device according to the SIP account of call opposite end and carries the call audio frequency and video IP address of opposite end and the invite message of port information.Particularly, in the invite message that sip server sends to the second video call device, the caller account of carrying is the SIP account of call opposite end, and the called account of carrying is the SIP account of the second video call device; In addition, the SDP(Session Description Protocol of invite message, Session Description Protocol) also comprise audio frequency and video IP address and the port information of call opposite end in information.

After S305: the second video call device (Set Top Box) receives invite message, return ok message.

Particularly, after the second video call device (Set Top Box) receives invite message, return and carry the audio frequency and video IP address of the second video call device (this video call device) and the ok message of port information.

S306:SIP server receive the response invite message that the second video call device (Set Top Box) returns carry the OK message of session negotiation SDP information after, send call request re-invite message again according to the SIP account of the second video call device, audio frequency and video IP address and port information to described call opposite end.

Particularly, after sip server receives the ok message of the response invite message that the second video call device (Set Top Box) returns, the SIP account according to the second video call device carries the audio frequency and video IP address of the second video call device and the re-invite of the call request again message of port information to the transmission of described call opposite end.Particularly, in the re-invite message that sip server sends to described call opposite end, the caller account of carrying is the SIP account of the second video call device, and the called account of carrying is the SIP account of call opposite end; In addition, the SDP(Session Description Protocol in re-invite message, Session Description Protocol) also include audio frequency and video IP address and the port information of the second video call device in information.

Call opposite end is after receiving re-invite message, ok message is returned to sip server, and revise audio frequency and video IP address and the port information of partner in video calling according to the audio frequency and video IP address of carrying in re-invite message and port information, so that the transmission of follow-up audio frequency and video and reception.

S307:SIP server sends on-hook bye message to the first video call device (mobile phone).

Send on-hook bye message at sip server to the first video call device (mobile phone), after the first video call device returns ok message, thus be disconnected the video calling between the first video call device and described call opposite end; Further, the response ok message that sip server is receiving the second video call device (Set Top Box) and returns, and after the ok message that returns of call opposite end, set up the video calling between the second video call device and described call opposite end; Thus achieve video calling seamlessly switches to the second video call device object from the first video call device.That is, seamlessly switch to the process of the second video call device at video calling from the first video call device, the video calling of call opposite end is not interrupted all the time, and this handoff procedure can't be discovered for the user of call opposite end, and the call that can not affect the user of call opposite end is experienced.

As a kind of more excellent embodiment, user can control the first video call device and issue instructions to sip server, and sip server is according to the switching of the instruction triggers video calling received, and detailed process as shown in Figure 4, comprises the steps:

S401: in the video call process of the first video call device (mobile phone) with call opposite end, the first video call device sends the invite message carrying switching command to sip server.

Particularly, in the video call process of the first video call device (mobile phone) with call opposite end, if user wishes video calling to be switched to the second video call device (Set Top Box), video calling button in the operation interface that the video calling program then pressing operation in the first video call device (mobile phone) provides, thus the invite message triggering that the first video call device carries switching command to sip server transmission.In fact, the called account in invite message can be set to a set point of making an appointment by the first video call device (mobile phone), thus the invite message that generation carries switching command sends.

After S402:SIP server confirms to receive switching command, if detect, the second video call device of the 2nd SIP account is online, then send the subscribe request message carrying reference order information to the second video call device (Set Top Box).

Particularly, after sip server receives the invite message of the first video call device transmission, if the called account therefrom parsed equals set point, then confirm to receive switching command; Sip server, after confirmation receives switching command, can detect the video call device belonging to other account of same group of account with a SIP account online whether online; Preferably, the video call device belonging to the primary account number of same group of account with a SIP account can be detected online whether online; If detect online (such as detecting that satisfactory second video call device of account is online), then send the subscribe request message carrying reference order information to the second video call device (Set Top Box).

S403: the second video call device (Set Top Box), according to the subscribe request message received, directly returns and comprises the notice notify message that resource can obtain information.

Particularly, after the second video call device (Set Top Box) receives subscribe request message, ok message is returned; After subscribe request message is resolved, confirm to receive reference order information, then directly return and comprise the notice notify message that resource can obtain information.

After resource that what S404:SIP server received that the second video call device (Set Top Box) returns comprise can obtain the notice notify message of information, to send to the second video call device according to the SIP account of call opposite end and carry the audio frequency and video IP address of described call opposite end and the invite message of port information; In invite message, the caller account of carrying is the SIP account of call opposite end, and the called account of carrying is the SIP account of the second video call device; In addition, audio frequency and video IP address and the port information of call opposite end is also comprised in the SDP information of invite message.

After S405: the second video call device (Set Top Box) receives invite message, return ok message.

Particularly, after the second video call device (Set Top Box) receives invite message, return and carry the audio frequency and video IP address of the second video call device (this video call device) and the ok message of port information.

After S406:SIP server receives the ok message that the second video call device (Set Top Box) returns, to send to described call opposite end according to the SIP account of the second video call device and carry the audio frequency and video IP address of the second video call device and the re-invite message of port information.

S407:SIP server, after receiving the response ok message that the second video call device (Set Top Box) returns, sends on-hook bye message to the first video call device (mobile phone).

According to above-mentioned video call switching method, a kind of internal structure block diagram of the sip server that the embodiment of the present invention provides, as shown in Figure 5, comprising: on-line checkingi module 501, switching controls module 502.

On-line checkingi module 501 is during for the first video call device in a SIP account, opposite end is in video call state with call, and whether detecting account and a SIP account, to belong to the video call device of same group of account online; If detect, the second video call device of the 2nd SIP account belonging to same group of account with a SIP account is online, then send switching notice; Preferably, the 2nd SIP account is the unique primary account number belonged in each account of described group of account; And other account belonging to described group of account is secondary account.

Switching controls module 502, for after the switching notice that receives on-line checkingi module 501 and send, sends to the second video call device and carries the subscription subscribe request message of reference order information; After resource can obtain the notice notify message of information in comprising of receiving that the second video call device returns, to send to the second video call device according to the SIP account of described call opposite end and carry the audio frequency and video IP address of described call opposite end and the call request invite message of port information; After the response ok message receiving the audio frequency and video IP address of carrying the second video call device that the second video call device returns and port information, to send the audio frequency and video IP address of carrying the second video call device and port information to described call opposite end according to the SIP account of the second video call device; And, send on-hook bye message to the first video call device, to disconnect the video calling between the first video call device and described call opposite end, set up the video calling between the second video call device and described call opposite end.

Further, also comprise in the sip server shown in Fig. 5: Registering modules 503.

The registration register message that Registering modules 503 sends for receiving the first video call device, SIP account, the password of the first video call device is carried in this register message, and described group of account and secondary account number, the first video call device is registered; And receive second video call device send register message, carry SIP account, the password of the second video call device in this register message, and described group of account and primary account number mark, the second video call device is registered.

According to above-mentioned video call switching method, the another kind of internal structure block diagram of the sip server that the embodiment of the present invention provides, as shown in Figure 6, comprising: on-line checkingi module 601, switching confirm module 602, switching controls module 603.

On-line checkingi module 601 is during for the first video call device in a SIP account, opposite end is in video call state with call, and whether detecting account and a SIP account, to belong to the video call device of same group of account online; If detect, the second video call device of the 2nd SIP account belonging to same group of account with a SIP account is online, then send notification line; Preferably, the 2nd SIP account is the unique primary account number belonged in each account of described group of account; And other account belonging to described group of account is secondary account.

Switch confirm module 602 for receive on-line checkingi module 601 send notification line after, if receive the invite message that the first video call device sends, the called account parsed from described invite message equals set point, then confirm to receive switching command; After confirmation receives described switching command, send switching notice;

Switching controls module 603 sends the subscription subscribe request message carrying reference order information confirm the switching notice of module 602 transmission for receiving switching after to the second video call device; After resource can obtain the notice notify message of information in comprising of receiving that the second video call device returns, to send to the second video call device according to the SIP account of described call opposite end and carry the audio frequency and video IP address of described call opposite end and the invite message of port information; After the response ok message receiving the audio frequency and video IP address of carrying the second video call device that the second video call device returns and port information, to send to described call opposite end according to the SIP account of the second video call device and carry the audio frequency and video IP address of the second video call device and the re-invite message of port information; And, send on-hook bye message to the first video call device, to disconnect the video calling between the first video call device and described call opposite end, set up the video calling between the second video call device and described call opposite end.

Further, also comprise in the sip server shown in Fig. 6: Registering modules 604.

The registration register message that Registering modules 604 sends for receiving the first video call device, SIP account, the password of the first video call device is carried in this register message, and described group of account and secondary account number, the first video call device is registered; And receive second video call device send register message, carry SIP account, the password of the second video call device in this register message, and described group of account and primary account number mark, the second video call device is registered.

According to above-mentioned video call switching method, the internal structure block diagram of a kind of video call device that the embodiment of the present invention provides, as shown in Figure 7, comprising: reference order receiver module 701, switching processing module 702, video calling module (not marking in figure).

Reference order receiver module 701 for receive sip server send subscribe request message after, if the event type therefrom parsed is expansion event transfer type, then confirm to receive the subscribe request message carrying reference order information; After confirmation receives described reference order information, send switching process notice;

Switching processing module 702 shows the inquiry message whether carrying out video calling switching after notifying for the switching process receiving reference order receiver module 701 transmission by video screen; After the confirmation receiving user's input, return to described sip server and comprise the notice notify message that resource can obtain information; Or described switching processing module returns directly to described sip server and comprises the notice notify message that resource can obtain information after notifying for the switching process receiving the transmission of described reference order receiver module;

Video calling module, for receiving described sip server according to after the invitation invite message of the SIP account transmission of call opposite end, sets up video calling with described call opposite end.

Video call device shown in Fig. 7 can be specifically Set Top Box.

According to above-mentioned video call switching method, can comprise in the internal structure of the another kind of video call device that the embodiment of the present invention provides: switching command sending module.

Switching command sending module, for in the video call process of this video call device with call opposite end, if receive the switching command of user's input, then send to sip server and carry the invite message of switching command, in order to notify the video call device organizing other account under account belonging to the SIP account that the video calling of this video call device to be switched to this video call device by described sip server.Preferably, other account described specifically refers to primary account number.This video call device can be specifically mobile phone.

In fact, above-mentioned reference order receiver module 701, switching processing module 702, video calling module 703, and switching command sending module can be integrated in a call video software, is installed in same video call device.

In the technical scheme of the embodiment of the present invention, carry out in video call process in the first video call device of a SIP account with call opposite end, sip server can detect online with second video call device of other account (other account be associated with a SIP account) belonging to same group of account of a SIP account after, SIP account according to call opposite end sends invite message to the second video call device, SIP account according to the second video call device sends re-invite message to call opposite end, set up the video calling between the second video call device and described call opposite end, thus when need not break of video call, the video calling of the first video call device is switched to the second video call device, realizes the object from a video call device seamless switching video calling to another video call device.

One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc.

The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (15)

1. the video call switching method between video call device, is characterized in that, comprising:
Sip server is during the first video call device of a SIP account is in video call state with call opposite end, if detect, the second video call device of the 2nd SIP account is online, then send the subscription subscribe request message carrying reference order information to the second video call device;
After resource that what described sip server received that the second video call device returns comprise can obtain the notice notify message of information, to send to the second video call device according to the SIP account of described call opposite end and carry the audio frequency and video IP address of described call opposite end and the call request invite message of port information; After the response ok message receiving the audio frequency and video IP address of carrying the second video call device that the second video call device returns and port information, to send to described call opposite end according to the SIP account of the second video call device and carry the audio frequency and video IP address of the second video call device and the re-invite of the call request again message of port information; Afterwards,
Described sip server sends on-hook bye message to the first video call device, to disconnect the video calling between the first video call device and described call opposite end, sets up the video calling between the second video call device and described call opposite end;
Wherein, the 2nd SIP account and a SIP account belong to same group of account.
2. the method for claim 1, is characterized in that, described to second video call device send carry the subscription subscribe request message of reference order information before, also comprise:
If described sip server receives the invite message that the first video call device sends, the called account parsed from described invite message equals set point, then confirm to receive switching command; And
Describedly send to the second video call device the subscription subscribe request message carrying reference order information and be specially:
Described sip server sends the subscription subscribe request message carrying reference order information after confirming to receive switching command to the second video call device.
3. method as claimed in claim 1 or 2, it is characterized in that, the 2nd SIP account is the unique primary account number belonged in each account of described group of account; And other account belonging to described group of account is secondary account.
4. method as claimed in claim 3, is characterized in that, described detect that the second video call device of the 2nd SIP account is online before, also comprise:
Described sip server receives the registration register message that the first video call device sends, and carries SIP account, the password of the first video call device in this register message, and described group of account and secondary account number; And
Described sip server receive second video call device send register message, carry SIP account, the password of the second video call device in this register message, and described group of account and primary account number mark;
After the register message that described sip server sends in confirmation first video call device is identical with the group account of the register message that the second video call device sends, determine that the SIP account of the first video call device and the SIP account of the second video call device belong to same group of account, there is incidence relation.
5. method as claimed in claim 4, it is characterized in that, the first video call device is specially mobile phone, and the second video call device is specially Set Top Box.
6. method as claimed in claim 5, is characterized in that, described to send to the second video call device carry the subscription subscribe request message of reference order information after, also comprise:
After second video call device receives described subscribe request message, if the event type therefrom parsed is expansion event transfer type, then confirm to receive the subscribe request message carrying reference order information;
Second video call device shows the inquiry message whether carrying out video calling switching after confirming to receive described reference order information by video screen; After the confirmation receiving user's input, return to described sip server and comprise the notice notify message that resource can obtain information.
7. method as claimed in claim 6, is characterized in that, the group account of the first video call device and secondary account number, and the group account of the second video call device and primary account number mark carry out applying for obtaining to described sip server in advance.
8. method as claimed in claim 1 or 2, is characterized in that, before the first video call device and the call opposite end of a described SIP account are in video call state, also comprises:
First video call device sends invite message according to the SIP account of described call opposite end to described sip server; Or
Described call opposite end sends invite message according to the SIP account of the first video call device to described sip server.
9. a sip server, is characterized in that, comprising:
On-line checkingi module, during being in video call state in the first video call device of a SIP account with call opposite end, whether the video call device that detection account and a SIP account belong to same group of account is online; If detect, the second video call device of the 2nd SIP account belonging to same group of account with a SIP account is online, then send switching notice;
Switching controls module, after receiving switching notice that described on-line checkingi module sends, sends to the second video call device and carries the subscription subscribe request message of reference order information; After resource can obtain the notice notify message of information in comprising of receiving that the second video call device returns, to send to the second video call device according to the SIP account of described call opposite end and carry the audio frequency and video IP address of described call opposite end and the call request invite message of port information; After the response ok message receiving the audio frequency and video IP address of carrying the second video call device that the second video call device returns and port information, to send to described call opposite end according to the SIP account of the second video call device and carry the audio frequency and video IP address of the second video call device and the re-invite of the call request again message of port information; Afterwards, send on-hook bye message to the first video call device, to disconnect the video calling between the first video call device and described call opposite end, set up the video calling between the second video call device and described call opposite end.
10. server as claimed in claim 9, is characterized in that, also comprise:
Registering modules, for receiving the registration register message that the first video call device sends, SIP account, the password of the first video call device is carried in this register message, and described group of account and secondary account number, the first video call device is registered; And receive second video call device send register message, carry SIP account, the password of the second video call device in this register message, and described group of account and primary account number mark, the second video call device is registered.
11. servers as described in claim 9 or 10, it is characterized in that, the 2nd SIP account is the unique primary account number belonged in each account of described group of account; And other account belonging to described group of account is secondary account.
12. 1 kinds of sip servers, is characterized in that, comprising:
On-line checkingi module, during being in video call state in the first video call device of a SIP account with call opposite end, whether the video call device that detection account and a SIP account belong to same group of account is online; If detect, the second video call device of the 2nd SIP account belonging to same group of account with a SIP account is online, then send notification line;
Switch and confirm module, for receive described on-line checkingi module send notification line after, if receive the invite message that the first video call device sends, the called account parsed from described invite message equals set point, then confirm to receive switching command; After confirmation receives described switching command, send switching notice;
Switching controls module, for receive described switch the switching notice confirming that module sends after, send to the second video call device and carry the subscription subscribe request message of reference order information, after in comprising of receiving that the second video call device returns, resource can obtain the notice notify message of information, SIP account according to described call opposite end sends the call request invite message of carrying the first audio frequency and video IP address, video call device opposite end and port message to the second video call device, after the response ok message receiving the audio frequency and video IP address of carrying the second video call device that the second video call device returns and port information, SIP account according to the second video call device carries the audio frequency and video IP address of the second video call device and the re-invite of the call request again message of port information to the transmission of described call opposite end, afterwards, send on-hook bye message to the first video call device, to disconnect the video calling between the first video call device and described call opposite end, set up the video calling between the second video call device and described call opposite end.
13. servers as claimed in claim 12, is characterized in that, also comprise:
Registering modules, for receiving the registration register message that the first video call device sends, SIP account, the password of the first video call device is carried in this register message, and described group of account and secondary account number, the first video call device is registered; And receive second video call device send register message, carry SIP account, the password of the second video call device in this register message, and described group of account and primary account number mark, the second video call device is registered.
14. servers as described in claim 12 or 13, it is characterized in that, the 2nd SIP account is the unique primary account number belonged in each account of described group of account; And other account belonging to described group of account is secondary account.
15. 1 kinds of video call device, is characterized in that, comprising:
Reference order receiver module, for receive sip server send subscribe request message after, if the event type therefrom parsed is expansion event transfer type, then confirm receive the subscribe request message carrying reference order information; After confirmation receives described reference order information, send switching process notice;
Switching processing module, after the switching process sent notifies, shows the inquiry message whether carrying out video calling switching for receiving described reference order receiver module by video screen; After the confirmation receiving user's input, return to described sip server and comprise the notice notify message that resource can obtain information; Or described switching processing module returns directly to described sip server and comprises the notice notify message that resource can obtain information after notifying for the switching process receiving the transmission of described reference order receiver module;
Video calling module, for receiving described sip server according to after the invitation invite message of the SIP account transmission of call opposite end, sets up video calling with described call opposite end.
CN201310057827.1A 2013-02-22 2013-02-22 Video call switching method between sip server, video call device CN103139529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310057827.1A CN103139529B (en) 2013-02-22 2013-02-22 Video call switching method between sip server, video call device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310057827.1A CN103139529B (en) 2013-02-22 2013-02-22 Video call switching method between sip server, video call device

Publications (2)

Publication Number Publication Date
CN103139529A CN103139529A (en) 2013-06-05
CN103139529B true CN103139529B (en) 2015-10-21

Family

ID=48498765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310057827.1A CN103139529B (en) 2013-02-22 2013-02-22 Video call switching method between sip server, video call device

Country Status (1)

Country Link
CN (1) CN103139529B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348989B (en) * 2013-08-05 2017-11-21 中国移动通信集团公司 The method and application server of set top box and call terminal handoff calls
CN104349204A (en) * 2013-08-09 2015-02-11 上海未来宽带技术股份有限公司 HTTP (hypertext transfer protocol) keep-alive connection-based two-way keep-alive connection system for set top boxes
CN105141879B (en) * 2014-06-03 2018-08-21 南宁富桂精密工业有限公司 Video calling conversion method and mobile terminal
CN104539869A (en) * 2014-12-10 2015-04-22 佛山络威网络技术有限公司 Video call service method
CN104853135A (en) * 2015-05-13 2015-08-19 广州物联家信息科技股份有限公司 Method and system for video switching during voice communication process
CN104917996A (en) * 2015-06-19 2015-09-16 三星电子(中国)研发中心 Method and system for switching video call
CN106470326A (en) * 2015-08-17 2017-03-01 中兴通讯股份有限公司 The terminal switching method of audio/video communication and device
CN105898181A (en) * 2015-11-30 2016-08-24 乐视致新电子科技(天津)有限公司 Video conversation system and method and related equipment
CN105528254B (en) * 2015-12-07 2019-02-22 贵阳朗玛信息技术股份有限公司 A kind of method for processing business and device
CN105872439A (en) * 2015-12-15 2016-08-17 乐视致新电子科技(天津)有限公司 Multi-device video call method and device, and server
CN105681829A (en) * 2016-01-12 2016-06-15 深圳市茁壮网络股份有限公司 TV terminal oriented message processing method and device
CN107231333A (en) * 2016-03-24 2017-10-03 中兴通讯股份有限公司 The method of media server backup, apparatus and system
CN108243162A (en) * 2016-12-26 2018-07-03 大唐移动通信设备有限公司 A kind of method and device of SIP registration
CN107295419A (en) * 2017-07-25 2017-10-24 湖南克拉视通科技有限公司 Set-top box video call implementing method
CN108632560A (en) * 2018-05-14 2018-10-09 聚好看科技股份有限公司 Video call method, device and terminal device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791267A (en) * 2004-12-17 2006-06-21 华为技术有限公司 Conversation switching method and system based on SIP protocol
CN1898972A (en) * 2004-12-17 2007-01-17 华为技术有限公司 Method and system for maintaining conversation continuity
CN101389077A (en) * 2008-10-24 2009-03-18 华为技术有限公司 Method, apparatus and system for call switching
CN101741857A (en) * 2009-12-11 2010-06-16 中兴通讯股份有限公司 Method and system for realizing SIP protocol-based intercommunication between set-top box and PC client end
CN101888381A (en) * 2010-06-29 2010-11-17 北京邮电大学 Communication system and method for realizing terminal switching by crossing networks and operators
CN102394992A (en) * 2011-11-07 2012-03-28 华为技术有限公司 Terminal conversation switching method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791267A (en) * 2004-12-17 2006-06-21 华为技术有限公司 Conversation switching method and system based on SIP protocol
CN1898972A (en) * 2004-12-17 2007-01-17 华为技术有限公司 Method and system for maintaining conversation continuity
CN101389077A (en) * 2008-10-24 2009-03-18 华为技术有限公司 Method, apparatus and system for call switching
CN101741857A (en) * 2009-12-11 2010-06-16 中兴通讯股份有限公司 Method and system for realizing SIP protocol-based intercommunication between set-top box and PC client end
CN101888381A (en) * 2010-06-29 2010-11-17 北京邮电大学 Communication system and method for realizing terminal switching by crossing networks and operators
CN102394992A (en) * 2011-11-07 2012-03-28 华为技术有限公司 Terminal conversation switching method and device

Also Published As

Publication number Publication date
CN103139529A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
US8988481B2 (en) Web based access to video associated with calls
US8405705B2 (en) Versatile conference adapter and method employing same
KR101104713B1 (en) Method and Application Server for providing early-media service based on session initiation protocol using early session
RU2499359C2 (en) Client controlled dynamic call forwarding
AU2018208684B2 (en) User controlled call management
ES2529680T3 (en) Activation of combinational services in a communications network
US9369500B2 (en) Call handling using IP multimedia subsystem
EP2847979B1 (en) Multiple versions of call invites
CN101795269B (en) Presence information sharing apparatus, method, program and system
US8195147B2 (en) Method of enabling a combinational service and communication network implementing the service
US8274966B2 (en) Mobile communication device providing integrated access to telephony and internet
US8667142B2 (en) Communication terminal, terminal switching system, and terminal switching method
EP1235408B1 (en) Network application decentralized execution system
JP2012050137A (en) User interface for communication device
US20100027531A1 (en) Communication control apparatus, system, method and program
US20150350723A1 (en) Video Communication Method, Home Terminal, and Home Server
JP4172458B2 (en) Connection control apparatus, communication system, and connection control method
EP2779579B1 (en) Method and apparatuses for realizing voip call in cloud computing environment
CN102572584A (en) Intelligent television system and intelligent television method capable of expanding cellphone
US20070123224A1 (en) Information processing method and system for preventing leakage of information from mobile phone
US8730945B2 (en) Systems and methods for using a recipient handset as a remote screen
US9065788B2 (en) Method, device and system for voice communication
US8180933B2 (en) Dynamic call handling from multiple attached devices wherein devices advertize its capabililes before facilitating call through appropriate device
JP2005124183A (en) Device and method for sending identification information of a plurality of communication devices active on communication session to information receiving component
US9198223B2 (en) Telecommunication network

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model