Summary of the invention
For the shortcoming of prior art, the present invention proposes a kind of IMS terminal equipment many software terminal resource-sharing and applicating cooperation device and method, reduces software terminal and IMS core network signalling redundancy, realizes resource-sharing and applicating cooperation between software terminal and improve the object of sharing and co-operation efficiency to reach.
A kind of IMS terminal equipment many software terminal resource-sharing and applicating cooperation device, this device and software terminal are arranged at same IMS terminal equipment, this device comprises information filtering module, applicating cooperation module, resource-sharing module, obtains software terminal information module and memory module, wherein
Information filtering module: for registering to IMS core net of cycle, receive the registration request that local software terminal sends simultaneously, to registration request resolve, authentication and response, extract the information of software terminal in registration request, the message that reception IMS core net and local software terminal send is also resolved, determine how to process and response message, and select by which resume module message, and realization and applicating cooperation module, resource-sharing module, obtain the information interaction of software terminal information module, memory module:
Applicating cooperation module: for to being resolved by the request from IMS core net of information filtering module forwards, judge the type of service of request; And according to the record in memory module, judge the current local software terminal that carries out identical services type of working that whether has, if, request is sent to above-mentioned software terminal by information filtering module, otherwise, in the software terminal of this type of service of support, according to the service response priority of setting, determine the software terminal that priority is the highest, the software terminal using this software terminal as the above-mentioned request of response, and this result is sent to information filtering module;
Resource-sharing module: for to being resolved by the request from local software terminal of information filtering module forwards, or the request from IMS core net to information filtering module forwards is resolved, determine the shared resource that the required local software terminal of this request is this request institute contention, and according to the record in memory module, judge that whether this contention for shared recources is just occupied, if, judge according to resource-sharing priority, whether the resource-sharing priority of required local software terminal is higher than the resource-sharing priority of local software terminal that takies this resource, if not, send and respond to requestor by information filtering module, inform that it asks unsuccessfully, if so, judge whether the local software terminal that now takies this resource can be preempted, if can be occupied, send message to this this locality software terminal, inform that it finishes to take the business of this resource, and request is sent to respondent by information filtering module, if can not be occupied, information filtering module sends and responds to requestor, informs that it asks unsuccessfully,
Obtain software terminal information module: for obtaining the professional ability of local software terminal, and determine that according to professional ability software terminal takies the resource of IMS terminal equipment, it is the shared resource between local software terminal, and arrange when service response priority, resource-sharing priority and each software terminal take resource and whether can be preempted, be sent in memory module and preserve result is set;
Memory module: for storing when the log-on message of local software terminal, local software terminal operating state, shared resource operating state, local software terminal professional ability, shared resource, service response priority, resource-sharing priority and each software terminal take resource whether can be preempted mark.
The method that adopts IMS terminal equipment many software terminal resource-sharing and applicating cooperation device to carry out, comprises the following steps:
Step 1, local software terminal are by information filtering module to the registration of IMS core network requests, and idiographic flow is as follows:
Step 1-1, according to the local software terminal information recording in memory module, adopt the inquiry of information filtering module whether to have the local software terminal of registration, if exist, use the IMS account that local software terminal uses to initiate registration request to IMS core net, and according to the login state of this IMS account in the registering result amendment memory module of IMS core net transmission, succeed in registration or registration failure, if succeed in registration, perform step 1-2, in the time reaching next registration period, re-execute step 1-1; If registration failure, uses this IMS account again to initiate registration request to IMS core net, until success;
Step 1-2, send when registration request to information filtering module when local software terminal, information filtering module is resolved registration request, and complete the authentication to this request, if authentication success, perform step 1-3, otherwise information filtering module sends failed authentication response to software terminal, and returns to step 1-2;
Step 1-3, adopt information filtering module to obtain the identification information in local software terminal registration request, generate hour of log-on, and be sent in memory module and preserve;
Step 1-4, employing information filtering module judge the login state of this IMS account of memory module record, if state is for succeeding in registration, send response to this this locality software terminal, inform that it succeeds in registration, otherwise information filtering module is sent to IMS core net by registration request and registers;
Registering result is sent to information filtering module by step 1-5, IMS core net, information filtering module sends response and informs this this locality software terminal, whether succeed in registration, if the login state of this soft local terminal is revised in success in memory module, be revised as and succeed in registration, otherwise, be revised as registration failure, and again this registration request be sent in IMS core net and registered, until succeed in registration;
Step 2, adopt the professional ability of obtaining software terminal information module and obtain local software terminal, and obtain local software terminal and take the resource of IMS terminal equipment according to professional ability, i.e. shared resource between local software terminal, and be sent in memory module and preserve;
Step 3, adopt to obtain when service response priority, resource-sharing priority and each local software terminal that software terminal information module arranges each local software terminal take resource and whether can be preempted, and be sent in memory module and preserve;
Step 4, in the time that resource-sharing module receives the request from local software terminal or applicating cooperation module by information filtering module forwards, according to the required local software terminal of request, determine the shared resource of the required local software terminal of this request for this request institute contention, and whether can be preempted according to resource-sharing priority and the local software terminal that takies this resource, determine that whether this request is successful, concrete steps are as follows:
Step 4-1, when resource-sharing module receive by information filtering module forwards from local software terminal or while directly receiving the request from applicating cooperation module, resource-sharing module is resolved this request, determines the contention for shared recources of the required local software terminal of this request;
Step 4-2 resource-sharing module is according to record in memory module, judge that whether contention for shared recources is just occupied, if unoccupied, this request is sent to respondent by information filtering module, if occupied, according to resource-sharing priority, whether the resource-sharing priority that judges required local software terminal is higher than the resource-sharing priority of local software terminal that takies this resource, if, perform step 4-3, otherwise, send and respond to requestor by information filtering module, inform that it asks unsuccessfully;
Whether the local software terminal that step 4-3, judgement now take this resource can be preempted, if, send message to this this locality software terminal, inform that it finishes to take the business of this resource, and this request is sent to respondent by information filtering module, otherwise information filtering module sends and responds to requestor, inform that it asks unsuccessfully;
Step 5, when receive by information filtering module forwards the request from IMS core net time, applicating cooperation module is resolved request, i.e. the type of service of judgement request, determines its required local software terminal, and returns to execution step 4, concrete steps are as follows:
Step 5-1, when receive by information filtering module forwards the request from IMS core net time, applicating cooperation module is resolved this request, i.e. the type of service of judgement request;
Step 5-2, employing applicating cooperation module are according to the record in memory module, judge the current local software terminal that carries out identical services type of working that whether has, if, send the request to this software terminal, otherwise, obtain the software terminal set of supporting this type of service according to the record in memory module, if this software terminal set is empty, information filtering module sends and responds to requestor, inform that it asks unsuccessfully, otherwise, according to the service response priority of setting, determine the software terminal that priority is the highest, and perform step 5-3;
Step 5-3, the software terminal of employing applicating cooperation module using the software terminal the highest priority obtaining as the above-mentioned request of response, and this result and request are sent in resource-sharing module, and return to execution step 4.
Described software terminal is the application software of IMS terminal equipment.
Professional ability described in step 2 for: the class of business that software terminal is supported, comprises audio frequency, video, text and picture.
Shared resource described in step 2 comprises: earphone, microphone, camera and screen.
The professional ability of software terminal is obtained software terminal information module and is obtained in employing described in step 2, obtain manner comprises: adopt and obtain software terminal information module by the mode of request-response, initiatively initiate to obtain request to local software terminal, and obtain from the response message of software terminal; Or the message that adopts information filtering module to send local software terminal resolves, judge in message whether contain professional ability information, if having, this this locality software terminal professional ability message is sent to and obtain software terminal information module and obtain.
Employing described in step 3 is obtained the mode that whether can be preempted when service response priority, resource-sharing priority and each software terminal that software terminal information module arranges each software terminal take resource and is comprised: manually artificial setting of user, or according to the sequencing of each local software terminal hour of log-on, determine the mode of service response priority and resource-sharing priority, more early, priority is higher for hour of log-on.
Parsing described in step 1-2 extracts the information of software terminal in request, comprises IP address, port numbers and IMS account.
Identification information described in step 1-3 comprises user agent's header field value and the port numbers of this software terminal.
Advantage of the present invention:
A kind of IMS terminal equipment many software terminal resource-sharing of the present invention and applicating cooperation device and method, by the multiple software terminal on this terminal equipment are carried out to management and control by this device on IMS terminal equipment, can effectively reduce the mutual signaling message quantity of software terminal and IMS core net, help avoid the generation of message storm in network, thereby alleviate offered load pressure, the resource that the reasonable shared terminal equipment of multiple software terminal on same terminal equipment of can realizing has also improves resource-sharing efficiency, thereby and can rational and orderly response service reach applicating cooperation object and applicating cooperation efficiency is provided between multiple software terminal.
Embodiment
Below in conjunction with accompanying drawing, an embodiment of the present invention is described further.
In the embodiment of the present invention, as shown in Figure 1, the many software terminal resource-sharing of IMS terminal equipment and applicating cooperation device, this device and software terminal are arranged at same IMS terminal equipment, and this device comprises information filtering module, applicating cooperation module, resource-sharing module, obtains software terminal information module and memory module; In the embodiment of the present invention, described IMS terminal equipment adopts the smart mobile phone of supporting IMS; Described software terminal is the APP software being installed on IMS terminal equipment.
As shown in Figure 1, (IMS-MUCP:IMS multi-user holds Collaborative Agent IMS-MUCP for software terminal and apparatus of the present invention, IMS Multiple User Agents Cooperative Proxy) mutual signaling message, signaling message is after message screening module, transfer to corresponding module processing according to the different problems that relate to, registration message filters and realizes in message screening module, generating software terminal professional ability and resource-sharing information process realizes obtaining in software terminal information module, applicating cooperation is realized in applicating cooperation module, resource-sharing realizes in resource-sharing module.Solve by realize IMS-MUCP on IMS terminal equipment the three aspects: problem that the upper many software terminal of IMS terminal equipment (UE) bring: message storm, resource-sharing, applicating cooperation.According to the thought that many software terminal are managed, by safeguarding related administrative information, to the information that in software terminal, user agent UA is relevant, with UA professional ability and take the relevant information of UE resource, and solve three aspects: problem according to the message screening rule of formulating, resource-sharing rule, applicating cooperation rule, be described as follows:
Described information filtering module is registered to IMS core net for the cycle, receive the registration request that local software terminal sends simultaneously, to registration request resolve, authentication and response, extract the information of software terminal in registration request, the message that reception IMS core net and local software terminal send is also resolved, determine how to process and response message, and select by which resume module message, and realization and applicating cooperation module, resource-sharing module, obtain the information interaction of software terminal information module, memory module;
Described applicating cooperation module is for to the resolving from IMS core network requests of information filtering module forwards, i.e. the type of service of judgement request; And according to the record in memory module, judge the current local software terminal that carries out identical services type of working that whether has, if, request is sent to above-mentioned software terminal by information filtering module, otherwise, in the software terminal of this type of service of support, according to the service response priority of setting, determine the software terminal that priority is the highest, the software terminal using this software terminal as the above-mentioned request of response, and this result is sent to information filtering module;
Described resource-sharing module is used for being resolved by the local software terminal request of information filtering module forwards, or the request from IMS core net to information filtering module forwards is resolved, determine the shared resource that the required local software terminal of this request is this request institute contention, and according to the record in memory module, judge that whether this contention for shared recources is just occupied, if, judge according to resource-sharing priority, whether the resource-sharing priority of required local software terminal is higher than the resource-sharing priority of local software terminal that takies this resource, if not, send and respond to requestor by information filtering module, inform that it asks unsuccessfully, if so, judge whether the local software terminal that now takies this resource can be preempted, if can be occupied, send message to this this locality software terminal, inform that it finishes to take the business of this resource, and request is sent to respondent by information filtering module, if can not be occupied, information filtering module sends and responds to requestor, informs that it asks unsuccessfully,
Described obtains software terminal information module for obtaining the professional ability of local software terminal, and determine that according to professional ability software terminal takies the resource of IMS terminal equipment, it is the shared resource between local software terminal, and arrange when service response priority, resource-sharing priority and each software terminal take resource and whether can be preempted, be sent in memory module and preserve result is set;
Described memory module is for storing when the log-on message of local software terminal, local software terminal operating state, shared resource operating state, local software terminal professional ability, shared resource, service response priority, resource-sharing priority and each software terminal take resource whether can be preempted mark.
In the embodiment of the present invention, as shown in phantom in Figure 2, on IMS terminal equipment UE, for example support the smart mobile phone of IMS, corresponding multiple different IMS business, such as immediate voice communication, instant video communication, IPTV etc., realize service interaction and experience by multiple independently software terminal, separate software terminal directly and IMS core net to carry out signaling message mutual.As shown in solid line in Fig. 2, apparatus of the present invention are as the out-of-band signalling agency (Outbound Proxy) of software terminal, management and control and its all IMS software terminal user agents (UA) on same IMS terminal equipment, with whole session initiation protocols (SIP) signaling message of exterior I MS network interaction.
The method that adopts IMS terminal equipment many software terminal resource-sharing and applicating cooperation device to carry out, method flow diagram as described in Figure 3, comprises the following steps:
Step 1, local software terminal are by information filtering module to the registration of IMS core network requests, and idiographic flow is as follows:
Step 1-1, according to the local software terminal information recording in memory module, adopt the inquiry of information filtering module whether to have the local software terminal of registration, if exist, use the IMS account that local software terminal uses to initiate registration request to IMS core net, and according to the login state of this IMS account in the registering result amendment memory module of IMS core net transmission, succeed in registration or registration failure, if succeed in registration, perform step 1-2, in the time reaching next registration period, re-execute step 1-1; If registration failure, uses this IMS account again to initiate registration request to IMS core net, until success;
In the embodiment of the present invention, user agent 1 (UA1) in software terminal is installed on IMS terminal equipment, share IMS public identify (IMPU): public_id_1@domain, the login state in information filtering module is for registering for UA1, and the message screening module of apparatus of the present invention is communicated by letter with IMS core net by 5069 ports;
Whether information filtering module exists login state for chartered software terminal according to the information inquiry of the software terminal in memory module, because UA1 satisfies condition, information filtering module generates registration message with public_id_1@domain, and registration message is sent to IMS core net by 5069 ports, and complete authentication process, the response of IMS core net is succeeded in registration after message 200OK, and the login state of amendment memory module public_id_1@domain is for succeeding in registration.
Step 1-2, send when registration request to information filtering module when local software terminal, information filtering module is resolved registration request, and complete the authentication to this request, if authentication success, perform step 1-3, otherwise information filtering module sends failed authentication response to software terminal, and returns to step 1-2;
In the embodiment of the present invention, user agent 1 (UA1) in software terminal and user agent 2 (UA2) are all installed on IMS terminal equipment, share IMS public identify (IMPU): public_id_1@domain, the message screening module of apparatus of the present invention (IMS-MUCP) is by 5060 ports and user agent's 1 5062 port communications, the message screening module of apparatus of the present invention is communicated by letter with IMS core net by 5069 ports, in the embodiment of the present invention, user agent 1 hour of log-on is early than user agent 2 hour of log-on;
In the embodiment of the present invention, as shown in Figure 5, wherein, 501 represent that user agent 1 (UA1) uses the Uniform Resource Identifier (URI) of public_id_1@domain as SIP registration message header field, the port numbers that user agent 1 (UA1) receives sip message is 5060 ports that 5062, UA1 sends to registration message the signaling message of IMS-MUCP reception software terminal.
In the embodiment of the present invention, in registration process, message screening rule is: first software terminal completes 401 unauthorized Unauthorized certifications of registration request at IMS-MUCP, in Fig. 5,502 represent that IMS-MUCP sends 401Unauthorized response to UA1, and 503 represent that user agent 1 (UA1) is successfully completed certification.
Step 1-3, adopt information filtering module to obtain the identification information in local software terminal registration request, generate hour of log-on, and be sent in memory module and preserve;
In the embodiment of the present invention, the user agent header field value of user agent 1 in sip message is UA_Name_1; As shown in Figure 4, IMS-MUCP extracts value public_id_1@domain in the From header field in registration message as IMPU in 401, extracts value in Via header field port numbers wherein as software terminal communication port numbers.
In the embodiment of the present invention, in Fig. 4, judge in message whether have user agent's header field in 402, if exist, in 403, extract the value UA_Name_1 in user agent's header field; Whether 404 are illustrated in memory module inquiry has stored UA_Name_1, if not storage increases software terminal UA1 information in 406 in memory module.
Step 1-4, employing information filtering module judge the login state of this IMS account of memory module record, if state is for succeeding in registration, send response to this this locality software terminal, inform that it succeeds in registration, otherwise information filtering module is sent to IMS core net by registration request and registers;
In the embodiment of the present invention, as shown in Figure 4, in 410, judge whether current this IMPU succeeds in registration, if succeed in registration, directly send to software terminal the response of succeeding in registration in 413, in the present embodiment, current I MS account public_id_1@domain does not succeed in registration, therefore, in 411, information filtering module regenerates new registration message and initiates registration request and complete subsequent authentication and registration process again to IMS core net.
Registering result is sent to information filtering module by step 1-5, IMS core net, information filtering module sends response and informs this this locality software terminal, whether succeed in registration, if the login state of this soft local terminal is revised in success in memory module, be revised as and succeed in registration, otherwise, be revised as registration failure, and again this registration request be sent in IMS core net and registered, until succeed in registration;
In the embodiment of the present invention, as shown in Figure 5,504 represent that information filtering module is to IMS core net initiation registration request, and 505 represent that information filtering modules receive 401 route certificate authority information of core net, and 506 represent to register after IMS-MUCP add authentication message again.507 represent that core net IMS sends to UA1 the response message that succeeds in registration, in 412, IMS-MUCP receives after the final success response message of IMS core net, login state success in amendment software terminal information table, and the response message (200OK) that will succeed in registration sends to software terminal UA1, as 508.
In the embodiment of the present invention, as shown in Figure 4,509 to 712 expression user agents 2 (UA2) are after user agent 1 (UA1) uses public_id_1@domain to succeed in registration, registration again, because IMS-MUCP has safeguarded the information that public_id_1@domain succeeds in registration, therefore, without again, to IMS registers kernel network, directly response sends 200OK and successfully registers response to user agent 2 (UA2).
Step 2, adopt the professional ability of obtaining software terminal information module and obtain local software terminal, and obtain local software terminal and take the resource of IMS terminal equipment according to professional ability, i.e. shared resource between local software terminal, and be sent in memory module and preserve;
The professional ability of software terminal is obtained software terminal information module and is obtained in described employing, obtain manner comprises: adopt and obtain software terminal information module by the mode of request-response, initiatively initiate to obtain request to local software terminal, and obtain from the response message of software terminal; Or the message that adopts information filtering module to send local software terminal is resolved, judge and in message, whether contain professional ability information, if have, this this locality software terminal professional ability message is sent to and obtain software terminal information module and obtain, obtain the method that software terminal information module obtains identical with the method for extracting response in first kind of way.In the embodiment of the present invention, adopt the first obtain manner.
In the embodiment of the present invention, this device initiatively sends sip request message to two software terminal by obtaining software terminal information module, flow chart is as shown in Figure 6: the software terminal information of obtaining software terminal information module inquiry storage in 601, traversal succeeds in registration and does not have the software terminal of storage service ability and resource-sharing information, inquiring user agent 1 (UA1) satisfies condition, in 602, this device sends a request message, the IMPU registering using software terminal UA1 is as the URI of To header field, generate request message, and request message is sent to user agent 1; In 603, obtain software terminal information module and receive the response of user agent 1 to request message, extract professional ability information and the shared resource information of the corresponding software terminal in message, due to only support voice of user agent 1, therefore, extract media information audio wherein, be mapped as that to take resource information be dev_audio_play and dev_audio_record; In memory module, upgrade software terminal professional ability and the resource-sharing information of storage.The same UA1 of process of active inquiry UA2.
In the embodiment of the present invention, all support voice calls of user agent 1 (UA1), user agent 2 (UA2) in IMS terminal equipment 1 (UE1), taking resource is audio-frequence player device (dev_audio_play) and audio collecting device (dev_audio_record).
Step 3, adopt to obtain when service response priority, resource-sharing priority and each local software terminal that software terminal information module arranges each local software terminal take resource and whether can be preempted, and be sent in memory module and preserve;
Because UA1 is than the first successfully registration of UA2, so the resource-sharing priority UA1 of acquiescence is higher than UA2, be respectively 1 and 2.
As shown in Figure 6, user agent 1 and user agent's 2 professional abilities and resource-sharing information in the software terminal professional ability that in 604, memory module is stored and resource-sharing information, are stored, for user provides the configuration interface to user agent 1 and user agent's 2 professional abilities and resource-sharing information, configure user agency 1 and the response priority of user agent 2 to the service request receiving, whether the priority of software terminal to resource occupation, can be preempted mark when software terminal takies resource.
In the embodiment of the present invention, user improves the priority of UA2 voice responsive business, and the priority that takies to audio-frequence player device and audio collecting device, and the priority of UA2 is upgraded to 1 by 2, the original priority exchange of the priority of UA1 and UA2.Due to UA1, be configured to can contention mode, user allows to have set up session and taken audio-frequence player device and when audio collecting device at UA1, UA2 can forcible occupying audio frequency apparatus, and IMS-MUCP revises UA1 session, gives user agent 2 by audio-frequence player device and audio collecting device right to occupation.
Step 4, in the time that resource-sharing module receives the request from local software terminal or applicating cooperation module by information filtering module forwards, according to the required local software terminal of request, determine the shared resource of the required local software terminal of this request for this request institute contention, and whether can be preempted according to resource-sharing priority and the local software terminal that takies this resource, determine that whether this request is successful, concrete steps are as follows:
Step 4-1, when resource-sharing module receive by information filtering module forwards from local software terminal or while directly receiving the request from applicating cooperation module, resource-sharing module is resolved this request, determines the contention for shared recources of the required local software terminal of this request;
Step 4-2 resource-sharing module is according to record in memory module, judge that whether contention for shared recources is just occupied, if unoccupied, this request is sent to respondent by information filtering module, if occupied, according to resource-sharing priority, whether the resource-sharing priority that judges required local software terminal is higher than the resource-sharing priority of local software terminal that takies this resource, if, perform step 4-3, otherwise, send and respond to requestor by information filtering module, inform that it asks unsuccessfully;
Whether the local software terminal that step 4-3, judgement now take this resource can be preempted, if, send message to this this locality software terminal, inform that it finishes to take the business of this resource, and this request is sent to respondent by information filtering module, otherwise information filtering module sends and responds to requestor, inform that it asks unsuccessfully;
In the embodiment of the present invention, user agent 1 (UA1) in IMS terminal equipment 1 (UE1), user agent 3 (UA3) shares IMS public identify (IMPU): public_id_1@domain, UA1 takies audio-frequence player device than UA3 and audio collecting device priority is high, and UA3 can be preempted taking of these two resources, user agent 4 (UA4) is the user agent in the software terminal on another IMS terminal equipment, UA3 sets up audio frequency media session with UA4, UA2, the IMPU that UA4 uses is respectively public_id_2@domain, public_id_3@domain, UA1 initiates audio call request to UA2, information filtering module and software terminal communication port are 5060, with IMS core net communication port be 5069.
When software terminal active request, as shown in Figure 7, UA1 calls out UA2 successful respond part signaling process as shown in Figure 8 to resource-sharing flow chart:
In the embodiment of the present invention, as shown in Figure 8, the UA1 request of making a call in 801, generates invitation message, and To header field URI is that the IMPU of UA2 is: public_id_3@domain.In Session Description Protocol (SDP), the capable m of media is that property column a has audio frequency audio information.Transmission invites message to 5060 ports of IMS-MUCP.
In the embodiment of the present invention, as shown in Figure 7, resolve the signaling message receiving in 701, the media information of the SDP message in signaling message is converted to contention for resources collection.The capable m of media and the property column a information extracted in SDP are contention for resources collection, and due to m=audio in SDP message, a=sendrecv, so be mapped as broadcasting and the collecting device of audio frequency.702, 703, in 704, be that traversal contention for resources collection checks that whether resource is occupied, check current resource occupation table, audio-frequence player device and audio collecting device are taken by UA3, if do not meet 705 conditionals, delete corresponding resource in resource set in 707, if meet 705 conditionals, IMS-MUCP amendment UA3 takies the session of audio-frequence player device and audio collecting device in 706, IMS-MUCP can keep mechanism to send special invitation message to UA3 and UA4 according to session, be the capable m=audio of media in the SDP message of carrying in the INVITE request of session maintenance requestor transmission, property column a=sendonly, property column a=recvonly in 200OK response.
In the embodiment of the present invention, as shown in Figure 8, be special INVITE request and association requests and response message in 802 to 810.
In the embodiment of the present invention, as shown in Figure 7, in 708 when finishing after all contention for resources of contention for resources collection, if resource set is empty, illustrate after IMS-MUCP resource coordination and there is no contention to resource, if this message of judgement is request message in 709, the response of IMS-MUCP failed regeneration sends to the entity that sends this request in 710.If response message directly abandons.If resource set is not empty, illustrate that successful contention is to resource, be that contention arrives audio-frequence player device and audio collecting device for UA1, can continue request and set up session with UA2, need to generate new call request INVITE (invitation) message.In 711, generate new message, the new INVITE corresponding with the INVITE of UA1.
In the embodiment of the present invention, as shown in Figure 8, as message in 811, the message body that generates SDP message and add new INVITE to according to resource set, and send new INVITE to destination entity.812 to 818 is that call request arrives UA2 and successfully sets up media session process.Final UA3 takies audio-frequence player device and audio collecting device and realizes audio session with UA2 on UE1.
Step 5, when receive by information filtering module forwards the request from IMS core net time, applicating cooperation module is resolved request, i.e. the type of service of judgement request, determines its required local software terminal, and returns to execution step 4, concrete steps are as follows:
Step 5-1, when receive by information filtering module forwards the request from IMS core net time, applicating cooperation module is resolved this request, i.e. the type of service of judgement request;
In the embodiment of the present invention, in IMS terminal equipment 1 (UE1), user agent 1 (UA1), user agent 2 (UA2), the shared IMS public identify (IMPU) of user agent 3 (UA3) are: public_id_1@domain, UA1 only supports audio service, the medium type of supporting is audio frequency audio, UA2 support Voice & Video business the same as UA3, the medium type of supporting is audio frequency audio and video video.But the response video priority that UA2 arranges than UA3 is high, and user agent 4 (UA4) is the user agent in the software terminal on another IMS terminal equipment, UA4 initiates video traffic call request to public_id_1@domain.
Software terminal receives request applicating cooperation flow chart as shown in Figure 9, and UA4 initiates video call UA2 response part signaling process as shown in figure 10 to public_id_1@domain:
In the embodiment of the present invention, as shown in figure 10, be UA4 in 1001 to the public_id_1@domain request INVITE that makes a call, in the message body Session Description Protocol (SDP) in INVITE, there is video information.In 1002, be that the INVITE that IMS core net is sent UA4 sends to the IMS-MUCP on UE1.
In the embodiment of the present invention, as shown in Figure 9, extract service feature information in request message in 901, extracting the capable m of media carrying in SDP message in message body is video video, and property column a receives sendrecv for sending.
Step 5-2, employing applicating cooperation module are according to the record in memory module, judge the current local software terminal that carries out identical services type of working that whether has, if, send the request to this software terminal, otherwise, obtain the software terminal set of supporting this type of service according to the record in memory module, if this software terminal set is empty, information filtering module sends and responds to requestor, inform that it asks unsuccessfully, otherwise, according to the service response priority of setting, determine the software terminal that priority is the highest, and perform step 5-3;
In the present embodiment, in current UE 1, there is no video session business.
In the embodiment of the present invention, as shown in Figure 9, in 902 according to software terminal professional ability and the resource-sharing information of media information inquiry storage in service feature information and the SDP that gets, obtain the current all software terminal that succeed in registration of supporting video traffic and video medium type, UA2 and UA3 satisfy condition, form from high to low the software terminal set satisfying condition according to the priority of software terminal response request, result is that UA2 is front.
In the embodiment of the present invention, as shown in Figure 9, the software terminal set satisfying condition if judge in 903 is for empty, IMS-MUCP sends failure response to sending this service request entity in 905, due to UA2, the software terminal set non-NULL of UA3 composition, the current resource occupation information of inquiry storage judges whether to exist the software terminal that carries out this business matching with service request feature in 904, determine to respond this service request by this software terminal if exist, otherwise determine to be responded by the software terminal of the highest service response priority, owing to there not being ongoing video traffic, so determine by the request of UA2 response video traffic.
Step 5-3, the software terminal of employing applicating cooperation module using the software terminal the highest priority obtaining as the above-mentioned request of response, and this result and request are sent in resource-sharing module, and return to execution step 4.
By applicating cooperation result, by UA2 response video traffic, and this video traffic request sends to resource-sharing module, can obtain and resolve the signaling message receiving by step 4-1, the media information of the SDP message in signaling message is converted to contention for resources collection, and the capable m of media and the property column a information extracted in SDP are contention for resources collection, due to m=video in SDP message, a=sendrecv, so be mapped as broadcasting and the collecting device of video.Can obtain traversal contention for resources collection according to step 4-2 and check that whether resource is occupied, check current resource occupation table, video playback apparatus and video capture device do not have occupied, this request is sent to respondent by information filtering module, be sent to UA2 by this video traffic request by information filtering module, in the embodiment of the present invention, as shown in figure 10, generate new video call request message according to new dialog information in 1003 and send to this UA2.1004 to 1009 is that UA2 receives from successfully setting up video session signaling procedure after the request of UA4 video call.