CN100508503C - Method, system and the third-party module for changing the binding device with the Skype - Google Patents

Method, system and the third-party module for changing the binding device with the Skype Download PDF

Info

Publication number
CN100508503C
CN100508503C CNB2006101620774A CN200610162077A CN100508503C CN 100508503 C CN100508503 C CN 100508503C CN B2006101620774 A CNB2006101620774 A CN B2006101620774A CN 200610162077 A CN200610162077 A CN 200610162077A CN 100508503 C CN100508503 C CN 100508503C
Authority
CN
China
Prior art keywords
module
skype
application program
local
equipment
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.)
Expired - Fee Related
Application number
CNB2006101620774A
Other languages
Chinese (zh)
Other versions
CN1996965A (en
Inventor
郭廷良
谢律
傅群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CNB2006101620774A priority Critical patent/CN100508503C/en
Publication of CN1996965A publication Critical patent/CN1996965A/en
Application granted granted Critical
Publication of CN100508503C publication Critical patent/CN100508503C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

This invention discloses one method to update Skye binding, which comprises the following steps: establishing third module and local Skye application programs; getting bind device relative information from remote Skye application program and determining the message with local Skye application bind device; then informing local Skye application program device. This invention discloses one system to update bind device of Skye, which comprises third module, local Skye module and remote Skye module.

Description

Method, system and third party's module of the equipment of change and Skype binding
Technical field
The present invention relates to network communications technology field, be specifically related to method, system and third party's module of the equipment of a kind of change and Skype binding.
Background technology
At present, Skype is the fastest the Internet instant messaging product of global evolution, utilizes the Skype application program, and no matter Skype user can both carry out free, unconfined voice and video communication with other Skype user wherever.2005, Skype begins to provide application interface (API) for third party developer, Skype API is Skype to the interface of third party application issue visit Skype function, for example: the hardware device of calling, send Word message, obtain the Skype subscriber data, change and Skype binding etc.The API of Skype can move on Windows, Mac OS X and linux system, anyly can use it to come free developer to use and non-commercial applications program per capita.
The remote video communication of Skype can be supported a variety of hardware devices, such as camera, TV card, capture card etc.But at any time, can only be an apparatus bound to Skype, and the long-distance user can't change the hardware device of the other side Skype binding, this has brought inconvenience to the user to a certain extent. such as, on local personal computer (PC), be mounted with camera and two kinds of hardware devices of TV card that Skype supports, and the equipment of current and local Skype binding is camera, the long-distance user can only use camera equipment so, unless local Skype user is a TV card by manually being provided with the equipment change with local Skype binding, otherwise the long-distance user can not watch TV.
Summary of the invention
The invention provides method, system and third party's module of the equipment of a kind of change and Skype binding, need not under the manual condition that participates in the hardware device of change and Skype binding.
Technical scheme of the present invention is achieved in that
The method of the equipment of a kind of change and Skype binding comprises:
Third party's module and local Skype application program connect, get access to the bound device related news that long-range Skype application program is sent from local Skype application program afterwards, determine and the equipment of local Skype application program binding according to this message, notify local Skype application program to bind this equipment then.
Described third party's module and local Skype application program connect and comprise: third party's module is to the handle of local system broadcasting self, after local Skype application program is received the handle of this third party's module, handle to local system broadcasting self, third party's module is received the handle of local Skype application program, with the foundation that is connected of local Skype application program.
Described bound device related news are the change device request, and the device name after the change is carried in this request.
Described third party's module after local Skype application program gets access to the bound device related news that long-range Skype application program sends, determine further to comprise before the equipment with local Skype application program binding: third party's module judges that whether described long-range Skype application program is the long-range Skype application program of conversing with local Skype application program, if, according to the equipment that described message is determined and local Skype application program is bound; Otherwise, not dealing with, this flow process finishes.
Described third party's module determines after the equipment with local Skype application program binding, notify local Skype application program further to comprise before binding this equipment:
Third party's module judge local Skype application program whether just in video call process and conversation be not suspended, if, then notify local Skype closing application program video, notify local Skype application program to bind described equipment then, notify local Skype application program to open video at last; Otherwise, directly notify local Skype application program to bind described equipment.
Described third party's module determines after the equipment with local Skype application program binding, notify local Skype application program further to comprise before binding this equipment:
Third party's module judges that local Skype application program is whether just in communication process, if, then notify local Skype closing application program conversation, notify local Skype application program to bind described equipment then, notify at last local Skype application program call out again described close the conversation before with self the conversation long-range Skype application program; Otherwise, directly notify local Skype application program to bind described equipment.
Described third party's module is obtained the bound device related news that long-range Skype application program sends from local Skype application program and comprised: third party's module is obtained long-range Skype application program from local Skype application program in real time and is mail to the text message of local Skype application program, and detects text information and comprise described change device request.
Described method further comprises: third party's module sets in advance the corresponding relation of Skype user name and bound device title;
Described bound device related news are call request.
Described third party's module is determined to comprise with the equipment of local Skype application program binding: the long-range Skype user name that third party's module is carried according to described call request, in described corresponding relation, find the corresponding equipment title, determine that this device name corresponding device is the equipment that long-range Skype application program requires local Skype application program binding.
Described third party's module is determined after the equipment with local Skype application program binding, is notified local Skype application program to bind before this equipment, further comprise: third party's module judges whether current local Skype application program is using described definite bound device, if return busy indication to long-range Skype application program by local Skype application program; Otherwise, notify local Skype application program to bind this equipment.
After the equipment that described third party's module is determined to bind with local Skype application program, notify local Skype application program to bind before this equipment, further comprise: third party's module detects that local Skype application program is current sends the long-range Skype application program conversation of other of described call request with non-, third party's module is notified local Skype closing application program current talking, whether the equipment of judging current local Skype application program binding afterwards is identical with described long-range Skype user name corresponding equipment, if send the call accepted indication to local Skype application program; Otherwise, notify local Skype application program to bind this equipment, and after receiving that indication is finished in binding that local Skype application program is returned, send the call accepted indication to local Skype application program.
Described equipment is video equipment, or audio frequency apparatus, or looks the audio frequency equipment complex.
The system of the equipment of a kind of change and Skype binding comprises: third party's module, local Skype module and long-range Skype module, wherein:
Third party's module, be used for the handle sent according to local Skype module, connect with local Skype module, the bound device related news of sending according to the long-range Skype module of obtaining from local Skype module, determine and the equipment of local Skype module binding, this device name is sent to local Skype module;
Local Skype module, be used for the handle sent according to third party's module, connect with third party's module, the bound device related news that long-range Skype module is sent send to third party's module, and the device name corresponding equipment that third party's module is sent is tied to self;
Long-range Skype module is used for sending the bound device related news in that determine will be with apparatus bound on local Skype module the time to local Skype module.
Third party's module of the equipment of a kind of change and Skype binding comprises:
Connect and set up module, be used for handle, receive the handle that local Skype module is sent to local Skype module broadcasting self;
Change device request acquisition module, be used for obtaining the information that long-range Skype module is sent from local Skype module, detect this information and comprise the change device request, device name after the change that this request is carried sends to change device command sending module, and sends to the video calling judge module and to start indication;
The video calling judge module, be used for after receiving the startup indication, judge current local Skype module whether just in video call process and conversation be not suspended, if, notify local Skype module to close video, send the change indication to change device command sending module afterwards, reinform local Skype module and open video; Otherwise, directly send the change indication to change device command sending module;
Change device command sending module, receive the change indication after, the device name after the change of receiving is sent to local Skype module by the change device command.
Described change device request acquisition module is further used for, judge the long-range Skype module send the change device request whether be with the long-range Skype module of local Skype module conversation, if, device name after the change that this request is carried sends to change device command sending module, and sends to the video calling judge module and to start indication; Otherwise, do not deal with.
Third party's module of the equipment of a kind of change and Skype binding comprises:
Connect and set up module, be used for handle, receive the handle that local Skype module is sent to local Skype module broadcasting self;
Change device request acquisition module, be used for obtaining the information that long-range Skype module is sent from local Skype module, detect this information and comprise the change device request, device name after the change that this request is carried sends to change device command sending module, and sends and start indication to closing the calling order sending module;
Close the calling order sending module, be used for after receiving the startup indication, judge that current local Skype module is whether just in communication process, if, notify local Skype module to close conversation, send the change indication to change device command sending module afterwards, notify afterwards local Skype module call out before with the long-range Skype module of self conversation; Otherwise, directly send the change indication to change device command sending module;
Change device command sending module is used for after receiving the change indication device name after the change of receiving being sent to local Skype module by the change device command.
Third party's module of the equipment of a kind of change and Skype binding comprises:
Connect and set up module, be used for handle, receive the handle that local Skype module is sent to local Skype module broadcasting self;
Skype user name acquisition module is used for obtaining long-range Skype module from local Skype module and sends call request, and the long-range Skype user's that carries in this request user name is sent to user name bound device mapping block;
User name bound device mapping block, be used to preserve the corresponding relation of Skype user name and bound device title, receive long-range Skype user name, determine corresponding bound device title, notify local Skype module binding and this device name corresponding equipment according to described corresponding relation.
Described user name bound device mapping block is further used for, detect current local Skype module and using bound device and other long-range Skype module communication of described long-range Skype user name correspondence, then return busy indication to long-range Skype module by local Skype module.
Described user name bound device mapping block is further used for, detect that local Skype module is current to be conversed with non-other long-range Skype module of sending call request, notify local Skype module to close conversation, whether the equipment of judging current local Skype module binding afterwards is identical with described long-range Skype user name corresponding equipment, if send the call accepted indication to local Skype module; Otherwise, send the change device command to local Skype module, carry described long-range Skype user name corresponding equipment title in this order, and after receiving that indication is finished in binding that local Skype application program is returned, send the call accepted indication to local Skype module.
Compared with prior art, the present invention is by after third party's module and local Skype application program connect, if get access to the bound device related news that long-range Skype application program mails to local Skype application program from local Skype application program, then determine equipment with local Skype application program binding according to this message, notify local Skype application program to bind this equipment then, realized need not under the manual condition that participates in the purpose of the hardware device of change and the binding of Skype application program.
Particularly, the present invention can be in long-range Skype application program and local Skype application program communication process, and the hardware device of change and the binding of local Skype application program is realized the Remote Dynamic program request; Also can be different long-range Skype users and set different bound device,,, satisfied Skype user's personalized requirement local Skype application program and different hardware device bindings according to the long-range Skype user name that makes a call.
Description of drawings
The flow chart of the equipment of change that Fig. 1 provides for the embodiment of the invention and Skype binding;
The flow chart of the equipment of change that Fig. 2 provides for the embodiment of the invention one and Skype binding;
The flow chart of the equipment of change that Fig. 3 provides for the embodiment of the invention two and Skype binding;
The flow chart of the equipment of change that Fig. 4 provides for the embodiment of the invention three and Skype binding;
System's composition diagram of the equipment of change that Fig. 5 provides for the embodiment of the invention and Skype binding;
The structural representation of the Skypemate module of the equipment of change that Fig. 6 provides for the embodiment of the invention one and Skype binding;
The structural representation of the Skypemate module of the equipment of change that Fig. 7 provides for the embodiment of the invention two and Skype binding;
The structural representation of the Skypemate module of the equipment of change that Fig. 8 provides for the embodiment of the invention three and Skype binding.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
To utilize third party's module of api interface visit Skype application program to be called the Skypemate module, to be called local Skype application program with the Skype application program that the Skypemate module operates under the same user identity of operating system, will be called long-range Skype application program with the Skype application program of local Skype interapplication communications.
The flow chart of the equipment of change that Fig. 1 provides for the embodiment of the invention and Skype binding, as shown in Figure 1, its concrete steps are as follows:
The handle of step 101:Skypemate module all application program module broadcasting self in local system.
In this step, the message of Skypemate module broadcasting is the standard message that defines among the Skype API: " SkypeControlAPIDiscover " message, and the handle of appointment self in message parameter.
Step 102: after local Skype application program is received the handle of Skypemate, the handle of all application program module broadcasting self in local system.
In this step, the message of local Skype application program broadcasting is similarly the standard message that defines among the Skype API: " SkypeControlAPIAttach " message, and the handle of appointment self in message parameter.
Step 103:Skypemate module is received the handle of local Skype application program, preserves this handle, with the foundation that is connected of local Skype application program.
Step 104:Skypemate module gets access to the bound device related command that long-range Skype application program is sent to local Skype application program from local Skype application program, according to this order determine will with the equipment of local Skype application program binding.
The equipment of mentioning among the present invention can be video equipment, or audio frequency apparatus, or looks the audio frequency equipment complex
Step 105:Skypemate module is carried at described definite bound device title in the change device command of Skype API definition and sends to local Skype application program.
Step 106: after local Skype application program is received described change device command, the apparatus bound of indicating in the described order is arrived self.
Below at two kinds of concrete application, the present invention is further elaborated.
The flow chart of the equipment of change that Fig. 2 provides for the embodiment of the invention one and Skype binding, in the present embodiment, local Skype application program can be with long-range Skype interapplication communications the time, answer long-range Skype user's requirement, change the equipment of self binding, as shown in Figure 2, its concrete steps are as follows:
The handle of step 201:Skypemate module all application program module broadcasting self in local system.
Step 202: after local Skype application program is received the handle of Skypemate module, the handle of all application program module broadcasting self in local system.
Step 203:Skypemate module is received the handle of local Skype application program, preserves this handle, with the foundation that is connected of local Skype application program.
Step 204:Skypemate module gets access to the text message of sending with the long-range Skype application program of local Skype interapplication communications from local Skype application program, detect and comprise the change device request in the text information, carry the device name after the change in this request.
After Skypemate module and local Skype application program connected, the Skypemate module just began to obtain local Skype application program and the mutual text message of long-range Skype application program from local Skype application program in real time.When the Skypemate module detect contain predefined change device request in the text message that long-range Skype application program mails to local Skype application program after, then carry out subsequent step.
The form of the device name after the change in the change device request can be consulted to determine by local Skype application program by Skypemate module and long-range Skypemate application program, the Skypemate module need be preserved the corresponding relation of the standard name of this equipment that defines among definite device name of negotiation and the Skype API, with according to this corresponding relation, the device name that long-range Skype application program is sent is converted to the equipment standard title in the operating system.
Step 205:Skypemate module is according to the local Skype application program that gets access to and the call-information of long-range Skype application program, judge current local Skype application program and long-range Skype application program whether just in video call process and conversation be not suspended, if, execution in step 208; Otherwise, execution in step 206.
Information such as the state that local Skype application program can be conversed self and long-range Skype application program in real time, attribute, content send to the Skypemate module; Perhaps, the Skypemate module also can be obtained current talking state to local Skype application program get access to the change device request that long-range Skype application program sends from local Skype application program after.In the Windows system, local Skype application program can be by Windows system definition WM_COPYDATA message self information such as talking state, attribute, content are sent to the Skypemate module, CHATMESSAGEID parameter tags in this WM_COPYDATA message the attribute of text chat information, the CALL parameter tags look, the various attributes of voice-frequency telephony, the content that has then comprised text chat information in the CHATMESSAGE CHATIDBODY parameter has then write down talking state in the CALL CallID Status parameter.
After execution of step 204, the Skypemate module can be further according to self from the accessed call-information of local Skype application program, judge the long-range Skype application program sending the request of updating the equipment whether be with the long-range Skype application program of local Skype application program conversation, if, execution in step 205; Otherwise, not dealing with, this flow process finishes.
Step 206:Skypemate module sends to local Skype application program after described change device request being converted to the change device command that defines among the Skype API.
The change video equipment order that defines among the Skype API is: SET VIDEO_INsVideoInDeviceName, wherein, sVideoInDeviceName is the video equipment title.
Step 207: after local Skype application program is received described change device command, be the equipment of indicating in the described order with the equipment change of self binding, this flow process finishes.
Step 208:Skypemate module sends the video commands of closing that defines among the Skype API to local Skype application program, after local Skype application program receives that this closes video commands, close current video, close and finish, return to close to the Skypemate module and finish indication.
The video commands of closing that defines among the Skype API is: ALTER CALL+sCurrentCallID+STOP_VIDEO_SEND, wherein, sCurrentCallID is the conversation sign of current talking.The Skypemate module can be obtained the current talking sign by the call-information with long-range Skype application program that local Skype application program is sent.
Step 209:Skypemate equipment receive close finish indication after, with the change device request be converted to the change device command that defines among the Skype API, should change device command and send to local Skype application program.
Step 210: local Skype application program is received the change device command, will be the equipment of described order indication with the equipment change of self binding, and binding is finished, and returns binding to the Skypemate module and finishes indication.
Step 211:Skypemate module sends the unlatching video commands that defines among the Skype API to local Skype application program after receiving that indication is finished in binding, after local Skype application program is received this unlatching video commands, opens video.
The unlatching video commands that defines among the Skype API is: ALTER CALL+sCurrentCallID+START_VIDEO_SEND, wherein, sCurrentCallID is the conversation sign of current talking.
The flow chart of the equipment of change that Fig. 3 provides for the embodiment of the invention two and Skype binding, the application scenarios of present embodiment is identical with embodiment one, and as shown in Figure 3, its concrete steps are as follows:
Step 301~304 are identical with step 201~204.
Step 305:Skypemate module is judged current local Skype application program whether just in communication process, if, execution in step 307; Otherwise, execution in step 306.
Step 306:Skypemate module sends to local Skype application program after described change device request being converted to the change device command that defines among the Skype API, goes to step 309.
Step 307:Skypemate module sends to local Skype application program and closes calling order.
In step 305, the Skypemate module judges after current local Skype application program is just in communication process, can further judge the long-range Skype application program of initiating the request of updating the equipment whether be with the long-range Skype application program of local Skype application program conversation, if, execution in step 307; Otherwise, not dealing with, this flow process finishes.
Step 308:Skypemate module receives that closing that local Skype application program returns finish indication, sends to local Skype application program after described change device request being converted to the change device command that defines among the Skype API.
Step 309: local Skype application program is received the change device command, will be the equipment of described order indication with the equipment change of self binding, and binding is finished, and returns binding to the Skypemate module and finishes indication.
After step 310:Skypemate module receives that indication is finished in binding, notify before the conversation of local Skype application program call-closure the long-range Skype application program with self conversation, to converse again with this long-range Skype application program.
The flow chart of the equipment of change that Fig. 4 provides for the embodiment of the invention three and Skype binding, in the present embodiment, local Skype application program can be according to different Skype users' call request, with different equipment and self binding, as shown in Figure 4, its concrete steps are as follows:
Step 401:Skymate module is preserved the corresponding relation of Skype user name and bound device title in advance.
The handle of step 402:Skypemate module all application program module broadcasting self in system.
Step 403: after local Skype application program is received this handle, the handle of all application program module broadcasting self in system.
Step 404:Skypemate module is received the handle of local Skype application program, preserves this handle, with the foundation that is connected of local Skype application program.
Step 405:Skypemate module listens to the call request that long-range Skype application program is sent to local Skype application program, according to the long-range Skype user name of carrying in this call request, in the bound device title that self finds this long-range Skype user name correspondence.
Local Skype application program sends to the Skypemate module with the information such as talking state, attribute, content of self on one's own initiative or according to the request of Skypemate module in real time, and the Skypemate module can learn currently whether have long-range Skype application program to call out local Skype application program according to the talking state parameter.
Step 406:Skypemate module sends to local Skype application program with this bound device title by the change device command that defines among the Skype API.
In actual applications, after if the Skypemate module is received call request and is determined the bound device title of long-range Skype user name correspondence, converse if detect current this bound device title corresponding equipment and other the long-range Skype application program used of local Skype application program, then the Skypemate module can be returned busy indication to long-range Skype application program by local Skype application program, after long-range Skype application program is received this busy indication, can send the call request to local Skype application program at set intervals, till this call request is responded;
Perhaps, after if the Skypemate module is received call request and is determined the bound device title of long-range Skype user name correspondence, local Skype application program is current to be conversed with other long-range Skype application program as if detecting, then the Skypemate module is notified local Skype closing application program current talking, and after closing of receiving that local Skype application program returns finished indication, whether the equipment of judging current local Skype application program binding is identical with described long-range Skype user name corresponding equipment, if send the call accepted indication to local Skype application program; Otherwise, send the change device command to local Skype application program, carry described long-range Skype user name corresponding equipment title in this order, and after receiving that indication is finished in binding that local Skype application program is returned, send the call accepted indication to local Skype application program.
Step 407: local Skype application program is according to described change device command, with the apparatus bound of described order indication to from one's body, beginning is conversed with long-range Skype application program, returns binding to the Skypemate module and finishes indication.
Owing to after local Skype application program may be set to bind video equipment and finishes, open this video equipment automatically; After also may being set to bind video equipment and finishing, need extraneous the triggering just open this video equipment.Therefore, if in the step 405 the Skypemate module searches to the bound device name of long-range Skype user name correspondence be called the video equipment title, after then the Skypemate module receives that indication is finished in binding, need judge also whether the video equipment of binding is opened, if do not deal with; Otherwise, send the unlatching video commands to local Skype application program.
From the above embodiment of the invention one, two and three as can be seen: no matter whether local Skype application program is conversed, no matter local Skype application program with whose conversation, the change that the present invention can the local Skype application program of long-range realization bound device.
Below, will be called local Skype module with the Skype application program that the Skypemate module operates under the same user identity of operating system, will be called long-range Skype module with the Skype module of local Skype module communication.
Fig. 5 is system's composition diagram of the equipment of change provided by the invention and Skype binding, and as shown in Figure 5, it mainly comprises: Skypemate module 51, local Skype module 52 and long-range Skype module 53, wherein:
Skypemate module 51: be used for handle, when receiving the handle that local Skype module 52 sends, preserve this handle, connect with local Skype module 52 to all application program modules of local system broadcasting self; When getting access to the bound device related news that the long-range Skype module 53 of communicating by letter with local Skype module 52 sends from local Skepe module 52, determine and the device name of local Skype module 52 bindings according to this message, notify local Skype module 52 by the change device command that defines among the Skype API this device name.
Local Skype module 52: be used for when receiving the handle that Skypemate module 51 is sent, preserving this handle, and send the handle of self to Skypemate module 51; Receive the bound device related news that long-range Skype module 53 is sent, these bound device related news are sent to Skypemate module 51; Receive the change device command that Skypemate module 51 is sent, the device name according in this order is tied to self on the corresponding device.
Long-range Skype module 53: be used for this device name being carried at sending to local Skype module 52 in the bound device related news in that determine will be with apparatus bound on local Skype module 52 time.
The structural representation of the Skypemate module that Fig. 6 provides for the embodiment of the invention one, as shown in Figure 6, it mainly comprises: connects and sets up module 61, change device request acquisition module 62, video calling judge module 63 and change device command sending module 64, wherein:
Connect and set up module 61: be used for when starting, the handle of all application program module broadcasting in local system self receives the handle that local Skype module 52 is sent, and preserves this handle.
Change device request acquisition module 62: be used for obtaining the text message that long-range Skype module 53 is issued local Skype module 52 from local Skype module 52, detect when comprising the change device request in the text information, device name after the change that this request is carried sends to change device command sending module 64, and sends to video calling judge module 63 and to start indication.
Change device request acquisition module 62 is further used for, judge the long-range Skype module 53 send the change device request whether be with the long-range Skype module of local Skype module 52 conversations, if, device name after the change that this request is carried sends to change device command sending module 64, and sends to video calling judge module 63 and to start indication; Otherwise, do not deal with.
Video calling judge module 63: be used for after receiving the startup indication that change device request acquisition module 62 is sent, according to the local Skype module of obtaining from local Skype module 52 and the current talking information of long-range Skype module, judge current local Skype module 52 whether just in video call process and conversation be not suspended, if, close video commands to local Skype module 52 transmissions, after closing of receiving that local Skype module 52 returns finished indication, send the change indication to change device command sending module 64, and after receiving that indication is finished in binding that local Skype module 52 is returned, send to local Skype module 52 and to open video commands; Otherwise, directly send the change indication to change device command sending module 64.
Change device command sending module 64: be used for after receiving the change indication that video calling judge module 63 is sent, the device name after the change that change device request acquisition module 62 is sent sends to local Skype module 52 by the change device command that defines among the Skype API.
The structural representation of the Skypemate module that Fig. 7 provides for the embodiment of the invention two, as shown in Figure 7, it mainly comprises: connects and sets up module 71, changes device request acquisition module 72, closes calling order sending module 73 and change device command sending module 74, wherein:
Connect and set up module 71: be used for when starting, the handle of all application program module broadcasting in local system self receives the handle that local Skype module 52 is sent, and preserves this handle.
Change device request acquisition module 72: be used for obtaining the text message that long-range Skype module 53 is issued local Skype module 52 from local Skype module 52, detect when comprising the change device request in the text information, device name after the change that this request is carried sends to change device command sending module 74, and sends and start indication to closing calling order sending module 73.
Change device request acquisition module 72 is further used for, the long-range Skype module 53 of judging the change device request send whether be with the long-range Skype module of local Skype module 52 conversations, if, device name after the change that this request is carried sends to change device command sending module 74, and sends and start indication to closing calling order sending module 73; Otherwise, do not deal with.
Close calling order sending module 73: be used for after receiving the startup indication that change device request acquisition module 72 is sent, according to the local Skype module of obtaining from local Skype module 52 and the current talking information of long-range Skype module, judge that current local Skype module 52 is whether just in communication process, if, close calling order to local Skype module 52 transmissions, and after closing of receiving that local Skype module 52 sends finished indication, send the change indication to change device command sending module 74, and after receiving that indication is finished in binding that local Skype module 52 is returned, notify local Skype module 52 call remote Skype modules 53; Otherwise, directly send the change indication to change device command sending module 74.
Change device command sending module 74: be used for receive close the change indication that calling order sending module 73 sends after, the device name after the change that change device request acquisition module 62 is sent sends to local Skype module 52 by the change device command that defines among the SkypeAPI.
The structural representation of the equipment of change that Fig. 8 provides for the embodiment of the invention three and Skype binding, as shown in Figure 8, it mainly comprises: connect and set up module 81, Skype user name acquisition module 82, user name bound device mapping block 83, wherein:
Connect and set up module 81: be used for when starting, the handle of all application program module broadcasting in local system self receives the handle that local Skype module 52 is sent, and preserves this handle.
Skype user name acquisition module 82: be used for the long-range Skype user name of carrying in this request being sent to user name bound device mapping block 83 getting access to long-range Skype module 53 from local Skype module 52 when local Skype module 52 is sent call request.
User name bound device mapping block 83: the corresponding relation that is used to preserve Skype user name and bound device title, when the long-range Skype user name of receiving that Skype user name acquisition module 82 sends, in described corresponding relation, find the bound device title of this long-range Skype user name correspondence, this bound device title is sent to local Skype module 52 by the change device command that defines among the Skype API.
Further, user name bound device mapping block 83 is used for, detect local Skype module 52 current long-range Skype user name corresponding equipment and other the long-range Skype modules used and converse, then send busy indication to long-range Skype53 module by local Skype module 52.
Accordingly, after long-range Skype module 53 is received busy indication, send the call request to local Skype module 52 at set intervals, till this call request is responded.
Perhaps, further, user name bound device mapping block 83 is used for, detect that local Skype module 52 is current to be conversed with other long-range Skype module, then send and close calling order, and after closing of receiving that local Skype module 52 returns finished indication, judge whether the equipment of current local module 52 bindings is identical with described long-range Skype user name corresponding equipment to local Skype module 52, if send the call accepted indication to local Skype module 52; Otherwise, send the change device command to local Skype module 52, carry described long-range Skype user name corresponding equipment title in this order, and after receiving that indication is finished in change that local Skype module 52 is returned, send the call accepteds indication to local Skype module 52.Here, other long-range Skype module refers to the long-range Skype module except that the long-range Skype module of sending call request.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (20)

1, the method for the equipment of a kind of change and Skype binding is characterized in that, comprising:
Third party's module and local Skype application program connect, get access to the bound device related news that long-range Skype application program is sent from local Skype application program afterwards, determine and the equipment of local Skype application program binding according to this message, notify local Skype application program to bind this equipment then.
2, the method for claim 1, it is characterized in that, described third party's module and local Skype application program connect and comprise: third party's module is to the handle of local system broadcasting self, after local Skype application program is received the handle of this third party's module, handle to local system broadcasting self, third party's module is received the handle of local Skype application program, with the foundation that is connected of local Skype application program.
3, the method for claim 1 is characterized in that, described bound device related news are the change device request, and the device name after the change is carried in this request.
4, method as claimed in claim 3, it is characterized in that, described third party's module after local Skype application program gets access to the bound device related news that long-range Skype application program sends, determine further to comprise before the equipment with local Skype application program binding: third party's module judges that whether described long-range Skype application program is the long-range Skype application program of conversing with local Skype application program, if, according to the equipment that described message is determined and local Skype application program is bound; Otherwise, not dealing with, the method flow of the equipment of described change and Skype binding finishes.
As claim 3 or 4 described methods, it is characterized in that 5, described third party's module determines after the equipment with local Skype application program binding, notify local Skype application program further to comprise before binding this equipment:
Third party's module judge local Skype application program whether just in video call process and conversation be not suspended, if, then notify local Skype closing application program video, notify local Skype application program to bind described equipment then, notify local Skype application program to open video at last; Otherwise, directly notify local Skype application program to bind described equipment.
As claim 3 or 4 described methods, it is characterized in that 6, described third party's module determines after the equipment with local Skype application program binding, notify local Skype application program further to comprise before binding this equipment:
Third party's module judges that local Skype application program is whether just in communication process, if, then notify local Skype closing application program conversation, notify local Skype application program to bind described equipment then, notify at last local Skype application program call out again described close the conversation before with self the conversation long-range Skype application program; Otherwise, directly notify local Skype application program to bind described equipment.
7, method as claimed in claim 5, it is characterized in that, described third party's module is obtained the bound device related news that long-range Skype application program sends from local Skype application program and comprised: third party's module is obtained long-range Skype application program from local Skype application program in real time and is mail to the text message of local Skype application program, and detects text information and comprise described change device request.
8, method as claimed in claim 6, it is characterized in that, described third party's module is obtained the bound device related news that long-range Skype application program sends from local Skype application program and comprised: third party's module is obtained long-range Skype application program from local Skype application program in real time and is mail to the text message of local Skype application program, and detects text information and comprise described change device request.
9, the method for claim 1 is characterized in that, described method further comprises: third party's module sets in advance the corresponding relation of Skype user name and bound device title;
Described bound device related news are call request.
10, method as claimed in claim 9, it is characterized in that, described third party's module is determined to comprise with the equipment of local Skype application program binding: the long-range Skype user name that third party's module is carried according to described call request, in described corresponding relation, find the corresponding equipment title, determine that this device name corresponding device is the equipment that long-range Skype application program requires local Skype application program binding.
11, method as claimed in claim 10, it is characterized in that, described third party's module is determined after the equipment with local Skype application program binding, is notified local Skype application program to bind before this equipment, further comprise: third party's module judges whether current local Skype application program is using described definite bound device, if return busy indication to long-range Skype application program by local Skype application program; Otherwise, notify local Skype application program to bind this equipment.
12, method as claimed in claim 10, it is characterized in that, after the equipment that described third party's module is determined to bind with local Skype application program, notify local Skype application program to bind before this equipment, further comprise: third party's module detects that local Skype application program is current sends the long-range Skype application program conversation of other of described call request with non-, third party's module is notified local Skype closing application program current talking, whether the equipment of judging current local Skype application program binding afterwards is identical with described long-range Skype user name corresponding equipment, if send the call accepted indication to local Skype application program; Otherwise, notify local Skype application program to bind this equipment, and after receiving that indication is finished in binding that local Skype application program is returned, send the call accepted indication to local Skype application program.
13, the method for claim 1 is characterized in that, described equipment is video equipment, or audio frequency apparatus, or looks the audio frequency equipment complex.
14, the system of the equipment of a kind of change and Skype binding is characterized in that, comprising: third party's module, local Skype module and long-range Skype module, wherein:
Third party's module, be used for the handle sent according to local Skype module, connect with local Skype module, the bound device related news of sending according to the long-range Skype module of obtaining from local Skype module, determine and the equipment of local Skype module binding, this device name is sent to local Skype module;
Local Skype module, be used for the handle sent according to third party's module, connect with third party's module, the bound device related news that long-range Skype module is sent send to third party's module, and the device name corresponding equipment that third party's module is sent is tied to self;
Long-range Skype module is used for sending the bound device related news in that determine will be with apparatus bound on local Skype module the time to local Skype module.
15, third party's module of the equipment of a kind of change and Skype binding is characterized in that, comprising:
Connect and set up module, be used for handle, receive the handle that local Skype module is sent to local Skype module broadcasting self;
Change device request acquisition module, be used for obtaining the information that long-range Skype module is sent from local Skype module, detect this information and comprise the change device request, device name after the change that this request is carried sends to change device command sending module, and sends to the video calling judge module and to start indication;
The video calling judge module, be used for after receiving the startup indication, judge current local Skype module whether just in video call process and conversation be not suspended, if, notify local Skype module to close video, send the change indication to change device command sending module afterwards, reinform local Skype module and open video; Otherwise, directly send the change indication to change device command sending module;
Change device command sending module, receive the change indication after, the device name after the change of receiving is sent to local Skype module by the change device command.
16, third party's module as claimed in claim 15, it is characterized in that, described change device request acquisition module is further used for, judge the long-range Skype module send the change device request whether be with the long-range Skype module of local Skype module conversation, if, device name after the change that this request is carried sends to change device command sending module, and sends to the video calling judge module and to start indication; Otherwise, do not deal with.
17, third party's module of the equipment of a kind of change and Skype binding is characterized in that, comprising:
Connect and set up module, be used for handle, receive the handle that local Skype module is sent to local Skype module broadcasting self;
Change device request acquisition module, be used for obtaining the information that long-range Skype module is sent from local Skype module, detect this information and comprise the change device request, device name after the change that this request is carried sends to change device command sending module, and sends and start indication to closing the calling order sending module;
Close the calling order sending module, be used for after receiving the startup indication, judge that current local Skype module is whether just in communication process, if, notify local Skype module to close conversation, send the change indication to change device command sending module afterwards, notify afterwards local Skype module call out before with the long-range Skype module of self conversation; Otherwise, directly send the change indication to change device command sending module;
Change device command sending module is used for after receiving the change indication device name after the change of receiving being sent to local Skype module by the change device command.
18, third party's module of the equipment of a kind of change and Skype binding is characterized in that, comprising:
Connect and set up module, be used for handle, receive the handle that local Skype module is sent to local Skype module broadcasting self;
Skype user name acquisition module is used for obtaining long-range Skype module from local Skype module and sends call request, and the long-range Skype user's that carries in this request user name is sent to user name bound device mapping block;
User name bound device mapping block, be used to preserve the corresponding relation of Skype user name and bound device title, receive long-range Skype user name, determine corresponding bound device title, notify local Skype module binding and this device name corresponding equipment according to described corresponding relation.
19, third party's module as claimed in claim 18, it is characterized in that, described user name bound device mapping block is further used for, detect current local Skype module and using bound device and other long-range Skype module communication of described long-range Skype user name correspondence, then return busy indication to long-range Skype module by local Skype module.
20, third party's module as claimed in claim 18, it is characterized in that, described user name bound device mapping block is further used for, detect that local Skype module is current to be conversed with non-other long-range Skype module of sending call request, notify local Skype module to close conversation, whether the equipment of judging current local Skype module binding afterwards is identical with described long-range Skype user name corresponding equipment, if send the call accepted indication to local Skype module; Otherwise, send the change device command to local Skype module, carry described long-range Skype user name corresponding equipment title in this order, and after receiving that indication is finished in binding that local Skype application program is returned, send the call accepted indication to local Skype module.
CNB2006101620774A 2006-12-08 2006-12-08 Method, system and the third-party module for changing the binding device with the Skype Expired - Fee Related CN100508503C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101620774A CN100508503C (en) 2006-12-08 2006-12-08 Method, system and the third-party module for changing the binding device with the Skype

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101620774A CN100508503C (en) 2006-12-08 2006-12-08 Method, system and the third-party module for changing the binding device with the Skype

Publications (2)

Publication Number Publication Date
CN1996965A CN1996965A (en) 2007-07-11
CN100508503C true CN100508503C (en) 2009-07-01

Family

ID=38251902

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101620774A Expired - Fee Related CN100508503C (en) 2006-12-08 2006-12-08 Method, system and the third-party module for changing the binding device with the Skype

Country Status (1)

Country Link
CN (1) CN100508503C (en)

Also Published As

Publication number Publication date
CN1996965A (en) 2007-07-11

Similar Documents

Publication Publication Date Title
CN101159890B (en) Method of performing free group calling and intercommunication between multiple mobile phones in mobile communication network
CN106657521A (en) Smart device voice communication method, apparatus and system
EP2022242B1 (en) Dynamic speed dial number mapping
CN104184898A (en) Incoming call information display processing method and device
CN102014335A (en) Method, system and mobile terminal for sharing resources in communication process
CN101237633A (en) System and method for calling network mobile phone and calling via a computer
CN101459885A (en) Method, system and device for customer state automatic playing
CN103227980A (en) Information outputting method and device
US20080037456A1 (en) System of establishing VoIP connection by mobile phone
EP1883204B1 (en) Method and system for unified communication
CN101521702B (en) Multimedia personalized call method and communication terminals
CN1984401A (en) Monitoring cell-phone and long-range monitoring method
CN101257679A (en) Split type mobile terminal calling record synchronies method and system thereof
CN100508503C (en) Method, system and the third-party module for changing the binding device with the Skype
CN103024671A (en) Cellphone method and equipment for remote control
CN104967621B (en) The display methods and system of voice calling service
CN104168395A (en) Conversation data processing method and device
CN101237489A (en) Processing method and device based on voice communication content
CN105827846B (en) The method and communication terminal of communication terminal call and control communication terminal call
CN104506413A (en) Information processing method, server and terminal
CN104243728A (en) Calling and called method of terminal, calling and called terminals and communication method and system
CN101645951A (en) Adaptive network telephone device and method for controlling same
JP2015023485A (en) Information terminal adaptive to voice command with specific sound
CN102868837A (en) Conference call control system and conference call control method
CN107508752B (en) Enterprise converged call method based on WeChat enterprise number and IPPBX

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090701

Termination date: 20111208