The content of the invention
In view of the shortcomings of the prior art, the present invention proposes a kind of many software terminal resource-sharings of IMS terminal equipment and application association
Same device and method, reduces software terminal and IMS core net signaling redundancy, realizes resource-sharing and application association between software terminal to reach
Same and raising is shared and the purpose for cooperateing with efficiency.
A kind of many software terminal resource-sharings of IMS terminal equipment and applicating cooperation device, the device are arranged at together with software terminal
One IMS terminal equipment, the device includes information filtering module, applicating cooperation module, resource-sharing module, acquisition software terminal information
Module and memory module, wherein,
Information filtering module:Registered to IMS core net for the cycle, while receiving what local software terminal sent
Registration request, is parsed to registration request, authenticated and is responded, and extracts the information of software terminal in registration request, receives IMS core
Message that net and local software terminal send simultaneously is parsed, that is, determine how to process and response message, and select by which mould
Block processes message, and realizes and applicating cooperation module, resource-sharing module, acquisition software terminal information module, the letter of memory module
Breath interaction;
Applicating cooperation module:For to being parsed by the request from IMS core net of information filtering module forwards, i.e.,
Judge the type of service of request;And the record in memory module, judge current the carrying out phase same trade for whether having and working
The local software terminal of service type, if so, then being sent to above-mentioned software terminal request by information filtering module, otherwise, is being supported
In the software terminal of the type of service, according to the service response priority of setting, the software terminal of highest priority is determined, by the soft end
The software terminal as the above-mentioned request of response is held, and the result is sent to information filtering module;
Resource-sharing module:For to being parsed by the request from local software terminal of information filtering module forwards,
Or the request from IMS core net of information filtering module forwards is parsed, that is, determine local soft needed for the request
Whether just terminal is the shared resource of the request institute contention, and the record in memory module, judge the contention for shared recources
Occupied, if so, then being judged according to resource-sharing priority, whether the resource-sharing priority of required local software terminal is high
In the resource-sharing priority of the local software terminal for taking the resource, if it is not, then sent by information filtering module ringing
Its request failure should be informed to requestor;If so, then judge whether the local software terminal for now taking the resource can be preempted,
If can be occupied, message be sent to the local software terminal, inform that it terminates to take the business of the resource, and request is logical
Information filtering module is crossed to send to respondent;If can not be occupied, information filtering module sends response to requestor, informs it
Request failure;
Obtain software terminal information module:Professional ability for obtaining local software terminal, and determined according to professional ability soft
Terminal takes the resource of IMS terminal equipment, i.e., the shared resource between local software terminal, and sets service response priority, money
Whether the shared priority in source and each software terminal can be preempted when taking resource, will set result and send and be protected into memory module
Deposit;
Memory module:Log-on message, local software terminal working condition, shared resource work for storing local software terminal
State, local software terminal professional ability, shared resource, service response priority, resource-sharing priority and each software terminal take
Whether mark can be preempted during resource.
The method carried out using many software terminal resource-sharings of IMS terminal equipment and applicating cooperation device, is comprised the following steps:
Step 1, local software terminal ask to register by information filtering module to IMS core net, and idiographic flow is as follows:
Whether step 1-1, the local software terminal information according to record in memory module, deposited using information filtering module polls
In the local software terminal of registration, if in the presence of the IMS accounts used using local software terminal initiate registration to IMS core net please
Ask, and the registering result sent according to IMS core net changes the login state of the IMS accounts in memory module, that is, succeed in registration
Or registration failure, if succeeding in registration, step 1-2 is performed, when next registration period is reached, re-execute step 1-1;If note
Volume failure, then initiate registration request to IMS core net again using the IMS accounts, until success;
Step 1-2, when local software terminal to information filtering module send registration request when, information filtering module to registration please
Ask and parsed, and complete to the authentication of the request, if authenticate successfully, execution step 1-3, otherwise, information filtering module to
Software terminal sends failed authentication response, and return to step 1-2;
Step 1-3, the identification information in local software terminal registration request is obtained using information filtering module, during generation registration
Between, and send to being preserved in memory module;
Step 1-4, the login state that the IMS accounts that memory module is recorded are judged using information filtering module, if state
To succeed in registration, then response being sent to the local software terminal, informing that it succeeds in registration, otherwise, information filtering module will be registered please
Transmission to IMS core net is asked to be registered;
Step 1-5, IMS core net send to information filtering module registering result, and information filtering module sends response and accuses
Know the local software terminal, if succeed in registration, if success, changes the login state of the local software terminal in a storage module,
It is revised as succeeding in registration, otherwise, is revised as registration failure, and the registration request is sent again is carried out into IMS core net
Registration, until succeeding in registration;
Step 2, the professional ability using the acquisition software terminal information module local software terminal of acquisition, and obtained according to professional ability
The resource that local software terminal takes IMS terminal equipment, i.e., the shared resource between local software terminal are taken, and is sent to memory module
In preserved;
Step 3, service response priority, resource-sharing that each local software terminal is set using acquisition software terminal information module
Whether priority and each local software terminal can be preempted when taking resource, and be preserved in transmission to memory module;
Step 4, receive by information filtering module forwards from local software terminal or application when resource-sharing module
During the request of cooperative module, the local software terminal according to needed for request, the local software terminal needed for determining the request is the request institute
The shared resource of contention, and whether can be preempted with the local software terminal for taking the resource according to resource-sharing priority, it is determined that
Whether the request succeeds, and comprises the following steps that:
Step 4-1, receive by information filtering module forwards from local software terminal or straight when resource-sharing module
When receiving request from applicating cooperation module, resource-sharing module is parsed to the request, that is, needed for determining the request
The contention for shared recources of local software terminal;
Whether step 4-2 resource-sharings module is recorded according in memory module, judges contention for shared recources just occupied,
If unoccupied, the request is sent to respondent by information filtering module, it is preferential according to resource-sharing if occupied
Level, the resource-sharing priority of local software terminal needed for judging whether higher than the local software terminal for taking the resource resource
Shared priority, if so, then performing step 4-3, otherwise, response is sent to requestor by information filtering module, informs that it please
Ask failure;
Whether the local software terminal that step 4-3, judgement now take the resource can be preempted, if so, then local soft to this
Terminal send message, inform that it terminates to take the business of the resource, and by the request by information filtering module send to
Respondent, otherwise, information filtering module sends response to requestor, informs its request failure;
Step 5, when the request from IMS core net by information filtering module forwards is received, applicating cooperation module
Request is parsed, that is, judges the type of service of request, determine local software terminal needed for it, and return to execution step 4, specifically
Step is as follows:
Step 5-1, when the request from IMS core net by information filtering module forwards is received, applicating cooperation mould
Block is parsed to the request, that is, judge the type of service of request;
Whether step 5-2, the record using applicating cooperation module in memory module, judgement currently have what is worked
The local software terminal of identical services type is carried out, if so, the software terminal is then sent the request to, otherwise, according in memory module
Record obtain the software terminal set for supporting the type of service, if the software terminal collection is combined into sky, information filtering module sends rings
Its request failure should be informed to requestor, otherwise, according to the service response priority of setting, determine the soft end of highest priority
End, and perform step 5-3;
Step 5-3, the software terminal of the highest priority that will be obtained using applicating cooperation module are used as responding above-mentioned request
Software terminal, and the 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 is:The class of business that software terminal is supported, including audio, video, text and figure
Piece.
Shared resource described in step 2 includes:Earphone, microphone, camera and screen.
The professional ability that software terminal is obtained using acquisition software terminal information module described in step 2, acquisition modes are included:Adopt
With software terminal information module is obtained by way of request-response, actively initiate to obtain request to local software terminal, and from soft end
Obtained in the response message at end;Or the message that local software terminal sends is parsed using information filtering module, that is, judge to disappear
Whether contain professional ability information in breath, if so, the local software terminal professional ability message then is sent into acquisition software terminal letter
Breath module is obtained.
The service response priority using acquisition software terminal information module each software terminal of setting described in step 3, resource are common
Enjoy when priority and each software terminal take resource whether the mode that can be preempted includes:User's setting artificial manually, or according to
The sequencing of each local software terminal hour of log-on, determines the mode of service response priority and resource-sharing priority, registration
Time is more early, and priority is higher.
The information of software terminal in request, including IP address, port numbers and IMS accounts are extracted in parsing described in step 1-2.
Identification information described in step 1-3 includes user agent's header field value and port numbers of the software terminal.
Advantage of the present invention:
A kind of many software terminal resource-sharings of IMS terminal equipment of the present invention and applicating cooperation device and method, by IMS ends
Management and control is carried out to the multiple software terminal on this terminal device by the device in end equipment, software terminal and IMS can be effectively reduced
The signaling message quantity of core net interaction, helps avoid the generation of message storm in network, so that mitigate offered load pressure,
Resource that the reasonable shared terminal equipment of the multiple software terminal on same terminal device has can be realized and resource-sharing is improved
Energy rational and orderly response business is so as to reach applicating cooperation purpose and provide applicating cooperation effect between efficiency, and multiple software terminal
Rate.
Specific embodiment
An embodiment of the present invention is described further below in conjunction with the accompanying drawings.
In the embodiment of the present invention, as shown in figure 1, many software terminal resource-sharings of IMS terminal equipment and applicating cooperation device, should
Device is arranged at same IMS terminal equipment with software terminal, and the device includes that information filtering module, applicating cooperation module, resource are common
Enjoy module, obtain software terminal information module and memory module;In the embodiment of the present invention, described IMS terminal equipment is using support
The smart mobile phone of IMS;Described software terminal is the APP softwares being installed in IMS terminal equipment.
As shown in figure 1, software terminal and apparatus of the present invention (IMS-MUCP:IMS multi-user end Collaborative Agent IMS-MUCP, IMS
Multiple User Agents Cooperative Proxy) interaction signaling message, signaling message is by Message screening module
Afterwards, corresponding module is transferred to process according to the different problems being related to, registration message is filtered to be realized in Message screening module, generation
Software terminal professional ability and resource-sharing information process realize that applicating cooperation is in applicating cooperation in software terminal information module is obtained
Realized in module, resource-sharing is realized in resource-sharing module.Solved by realizing IMS-MUCP in IMS terminal equipment
The three aspect problems that many software terminal bring in IMS terminal equipment (UE):Message storm, resource-sharing, applicating cooperation.According to many
The thought that software terminal is managed, by safeguarding related administrative information, the information related to user agent UA in software terminal, with UA
The relevant information of professional ability and occupancy UE resources, and according to message screening rule, resource-sharing rule, the applicating cooperation formulated
Rule solves the problems, such as three aspects, is described as follows:
Described information filtering module is used for being registered to IMS core net for cycle, while receiving local software terminal
The registration request of transmission, is parsed to registration request, authenticated and is responded, and extracts the information of software terminal in registration request, is received
Message that IMS core net and local software terminal send simultaneously is parsed, that is, determine how to process and response message, and select by
Which resume module message, and realize and applicating cooperation module, resource-sharing module, acquisition software terminal information module, storage mould
The information exchange of block;
Described applicating cooperation module is used to parse information filtering module forwards from the request of IMS core net,
Judge the type of service of request;And the record in memory module, judge current whether have carrying out of working identical
The local software terminal of type of service, if so, then sending to above-mentioned software terminal, otherwise, in branch request by information filtering module
Hold in the software terminal of the type of service, according to the service response priority of setting, determine the software terminal of highest priority, this is soft
The result is sent to information filtering module as responding the software terminal of above-mentioned request by terminal;
Described resource-sharing module is used to parse the local software terminal request by information filtering module forwards, or
Request from IMS core net of the person to information filtering module forwards is parsed, that is, the local soft end needed for determining the request
Whether it is the shared resource of the request institute contention to hold, and the record in memory module, judge the contention for shared recources
It is occupied, if so, then judged according to resource-sharing priority, the resource-sharing priority of required local software terminal whether be higher than
The resource-sharing priority of the local software terminal of the resource is being taken, if it is not, then sending response by information filtering module
To requestor, its request failure is informed;If so, then judge whether the local software terminal for now taking the resource can be preempted, if
Can be occupied, then message is sent to the local software terminal, inform that it terminates to take the business of the resource, and request is passed through
Information filtering module is sent to respondent;If can not be occupied, information filtering module sends response to requestor, informs that it please
Ask failure;
Described acquisition software terminal information module is used to obtain the professional ability of local software terminal, and true according to professional ability
Determine the resource that software terminal takes IMS terminal equipment, i.e., the shared resource between local software terminal, and it is preferential to set service response
Whether level, resource-sharing priority and each software terminal can be preempted when taking resource, will set result and send into memory module
Preserved;
Described memory module is used to store the log-on message of local software terminal, local software terminal working condition, shared money
Source working condition, local software terminal professional ability, shared resource, service response priority, resource-sharing priority and each soft end
Whether end can be preempted mark when taking resource.
In the embodiment of the present invention, as shown in phantom in Figure 2, in IMS terminal equipment UE, for example, the intelligent hand of IMS is supported
Machine, correspondence multiple different IMS business, such as communication of immediate voice communication, instant video, IPTV etc., by independent soft of multiple
Terminal realizes service interaction and experience, and separate software terminal then directly carries out signaling message and interact with IMS core net.Such as
Shown in solid in Fig. 2, apparatus of the present invention act on behalf of (Outbound Proxy) as the out-of-band signalling of software terminal, and management and control is with it same
All IMS software terminal user agents (UA) in one IMS terminal equipment, the whole conversation initials with exterior I MS network interactions are assisted
View (SIP) signaling message.
The method carried out using many software terminal resource-sharings of IMS terminal equipment and applicating cooperation device, method flow diagram is such as
Described in Fig. 3, comprise the following steps:
Step 1, local software terminal ask to register by information filtering module to IMS core net, and idiographic flow is as follows:
Whether step 1-1, the local software terminal information according to record in memory module, deposited using information filtering module polls
In the local software terminal of registration, if in the presence of the IMS accounts used using local software terminal initiate registration to IMS core net please
Ask, and the registering result sent according to IMS core net changes the login state of the IMS accounts in memory module, that is, succeed in registration
Or registration failure, if succeeding in registration, step 1-2 is performed, when next registration period is reached, re-execute step 1-1;If note
Volume failure, then initiate registration request to IMS core net again using the IMS accounts, until success;
In the embodiment of the present invention, the user agent 1 (UA1) in software terminal is installed in IMS terminal equipment, shares IMS public
There is mark (IMPU):Public_id_1@domain, UA1 login state in information filtering module are to have registered,
The Message screening module of apparatus of the present invention is by 5069 ports and IMS core Network Communication;
The information inquiry of software terminal of the information filtering module in memory module is to have noted with the presence or absence of login state
The software terminal of volume, because UA1 meets condition, then information filtering module public_id_1@domain generate registration message, and
Registration message is sent to IMS core net by 5069 ports, and completes authentication process, the response of IMS core net is succeeded in registration and disappeared
After breath 200OK, the login state of modification memory module public_id_1@domain is to succeed in registration.
Step 1-2, when local software terminal to information filtering module send registration request when, information filtering module to registration please
Ask and parsed, and complete to the authentication of the request, if authenticate successfully, execution step 1-3, otherwise, information filtering module to
Software terminal sends failed authentication response, and return to step 1-2;
In the embodiment of the present invention, the user agent 1 (UA1) in software terminal is mounted on IMS ends with user agent 2 (UA2)
In end equipment, the publicly-owned marks of IMS (IMPU) is shared:Public_id_1@domain, the message of apparatus of the present invention (IMS-MUCP)
Filtering module is passed through by 5060 ports and 5062 port communications of user agent 1, the Message screening module of apparatus of the present invention
5069 ports and IMS core Network Communication, in the embodiment of the present invention, the registration of the hour of log-on earlier than user agent 2 of user agent 1
Time;
In the embodiment of the present invention, as shown in figure 5, wherein, 501 represent that user agent 1 (UA1) uses public_id_1@
Domain as SIP registration message header field Uniform Resource Identifier (URI), user agent 1 (UA1) receive sip message end
Slogan is that registration message is sent to 5060 ports that IMS-MUCP receives the signaling message of software terminal by 5062, UA1.
In the embodiment of the present invention, message screening rule is in registration process:Software terminal completes to register first in IMS-MUCP
401 unauthorized Unauthorized certifications of request, in Fig. 5,502 represent that IMS-MUCP sends 401Unauthorized to UA1
Response, 503 expressions user agent 1 (UA1) successfully complete certification.
Step 1-3, the identification information in local software terminal registration request is obtained using information filtering module, during generation registration
Between, and send to being preserved in memory module;
In the embodiment of the present invention, the user agent's header field value in a sip message of user agent 1 is UA_Name_1;Such as Fig. 4
Shown, the value public_id_1@domain in From header fields in 401 in IMS-MUCP extractions registration message are carried as IMPU
The value port numbers therein in Via header field are taken as software terminal communication port numbers.
In the embodiment of the present invention, 402 in Fig. 4 in judge with the presence or absence of user agent's header field in message, if in the presence of,
The value UA_Name_1 in user agent's header field is extracted in 403;Whether 404 represent inquire about store UA_ in a storage module
Name_1, software terminal UA1 information is increased if not storing, in 406 in a storage module;If there is storage, the IMS- in 405
MUCP updates the corresponding user's client information of the value of storage;Judge to whether there is user agent's header field in message in 402, if not depositing
, then judge in 407 IMS-MUCP inquiry whether the stored value, if so, then in 408 IMS-MUCP update storage
The corresponding user's client information of the value;Otherwise, IMS-MUCP increases new user terminal letter in user's client information of storage in 409
Breath;
Step 1-4, the login state that the IMS accounts that memory module is recorded are judged using information filtering module, if state
To succeed in registration, then response being sent to the local software terminal, informing that it succeeds in registration, otherwise, information filtering module will be registered please
Transmission to IMS core net is asked to be registered;
In the embodiment of the present invention, as shown in figure 4, judge whether the current IMPU succeeds in registration in 410, if having registered
Work(, then directly send succeed in registration response, in the present embodiment, current IMS accounts public_id_1@in 413 to software terminal
Domain does not succeed in registration, therefore, information filtering module regenerates new registration message and is sent out to IMS core net in 411
Play registration request and complete subsequent authentication and re-registration process.
Step 1-5, IMS core net send to information filtering module registering result, and information filtering module sends response and accuses
Know the local software terminal, if succeed in registration, if success, changes the login state of the local software terminal in a storage module,
It is revised as succeeding in registration, otherwise, is revised as registration failure, and the registration request is sent again is carried out into IMS core net
Registration, until succeeding in registration;
In the embodiment of the present invention, as shown in figure 5,504 represent that information filtering module initiates registration request to IMS core net,
505 represent that information filtering module receives 401 route certificate authority informations of core net, after 506 represent IMS-MUCP addition certification message
Re-registration.507 expression core net IMS send the response message that succeeds in registration to UA1, and IMS-MUCP receives IMS core net in 412
After final success response message, the login state success in modification software terminal information table, and the response message that will succeed in registration
(200OK) is sent to software terminal UA1, and such as 508.
In the embodiment of the present invention, as shown in figure 4,509 to 712 expressions user agent 2 (UA2) make in user agent 1 (UA1)
After being succeeded in registration with public_id_1@domain, register again, because IMS-MUCP maintains public_id_1@domain
The information for succeeding in registration, it is therefore not necessary to be registered to IMS core net again, user is responded to directly in response to 200OK successful registrations are sent
2 (UA2) of agency.
Step 2, the professional ability using the acquisition software terminal information module local software terminal of acquisition, and obtained according to professional ability
The resource that local software terminal takes IMS terminal equipment, i.e., the shared resource between local software terminal are taken, and is sent to memory module
In preserved;
The described professional ability that software terminal is obtained using acquisition software terminal information module, acquisition modes are included:Using obtaining
Software terminal information module is taken by way of request-response, actively initiates to obtain request to local software terminal, and from software terminal
Obtained in response message;Or the message that local software terminal sends is parsed using information filtering module, that is, in judging message
Whether professional ability information is contained, if so, the local software terminal professional ability message then is sent into acquisition software terminal information mould
Block is obtained, and the method that acquisition software terminal information module is obtained is identical with the method that response is extracted in first way.
The first acquisition modes is used in the embodiment of the present invention.
In the embodiment of the present invention, the present apparatus actively sends sip request message to two by obtaining software terminal information module
Software terminal, flow chart is as shown in Figure 6:The software terminal information of software terminal information module inquiry storage is obtained in 601, traversal is registered
Work(does not have the software terminal of storage service ability and resource-sharing information, inquires user agent 1 (UA1) and meets condition, then exist
The present apparatus sends request message in 602, using the IMPU of software terminal UA1 registrations as the URI of To header field, generates request message, and
Request message is sent to user agent 1;In 603, obtain software terminal information module and receive user agent 1 to request message
Response, the professional ability information and shared resource information of the corresponding software terminal in extraction message, because user agent 1 only supports language
Sound, therefore, media information audio therein is extracted, it is dev_audio_play and dev_ to be mapped as taking resource information
audio_record;The software terminal professional ability and resource-sharing information of storage are updated in a storage module.Active inquiry UA2's
The same UA1 of process.
In the embodiment of the present invention, user agent 1 (UA1), user agent 2 (UA2) only prop up in IMS terminal equipment 1 (UE1)
Voice call is held, that is, it is audio-frequence player device (dev_audio_play) and audio collecting device (dev_audio_ to take resource
record)。
Step 3, service response priority, resource-sharing that each local software terminal is set using acquisition software terminal information module
Whether priority and each local software terminal can be preempted when taking resource, and be preserved in transmission to memory module;
Because UA1 is than UA2 elder generations successful registration, so the resource-sharing priority UA1 of acquiescence is higher than UA2, it is respectively 1 and 2.
As shown in fig. 6, stored in the software terminal professional ability that memory module is stored in 604 and resource-sharing information
User agent 1 and the professional ability of user agent 2 and resource-sharing information, provide the user to user agent 1 and the industry of user agent 2
The configuration interface of business ability and resource-sharing information, 2 pairs of responses of the service request of reception of configuration user agent 1 and user agent
Whether priority, software terminal can be preempted mark to the priority of resource occupation during software terminal occupancy resource.
In the embodiment of the present invention, user improves the priority of UA2 voice responsive business, and to audio-frequence player device and audio
The occupancy priority of collecting device, then be upgraded to 1 by the priority of UA2 by 2, then the priority of UA1 is handed over the original priority of UA2
Change.Due to UA1 be configured to can contention mode, user allows in UA1 to have built up session and take audio-frequence player device and audio
During collecting device, UA2 can forcible occupying audio frequency apparatus, IMS-MUCP then changes UA1 sessions, audio-frequence player device and audio adopted
Collection hold facility power gives user agent 2.
Step 4, receive by information filtering module forwards from local software terminal or application when resource-sharing module
During the request of cooperative module, the local software terminal according to needed for request, the local software terminal needed for determining the request is the request institute
The shared resource of contention, and whether can be preempted with the local software terminal for taking the resource according to resource-sharing priority, it is determined that
Whether the request succeeds, and comprises the following steps that:
Step 4-1, receive by information filtering module forwards from local software terminal or straight when resource-sharing module
When receiving request from applicating cooperation module, resource-sharing module is parsed to the request, that is, needed for determining the request
The contention for shared recources of local software terminal;
Whether step 4-2 resource-sharings module is recorded according in memory module, judges contention for shared recources just occupied,
If unoccupied, the request is sent to respondent by information filtering module, it is preferential according to resource-sharing if occupied
Level, the resource-sharing priority of local software terminal needed for judging whether higher than the local software terminal for taking the resource resource
Shared priority, if so, then performing step 4-3, otherwise, response is sent to requestor by information filtering module, informs that it please
Ask failure;
Whether the local software terminal that step 4-3, judgement now take the resource can be preempted, if so, then local soft to this
Terminal send message, inform that it terminates to take the business of the resource, and by the request by information filtering module send to
Respondent, otherwise, information filtering module sends response to requestor, informs its request failure;
In the embodiment of the present invention, user agent 1 (UA1), user agent 3 (UA3) share in IMS terminal equipment 1 (UE1)
The publicly-owned marks of IMS (IMPU) is:Public_id_1@domain, UA1 take audio-frequence player device and audio collecting device than UA3
Priority is high, and UA3 can be preempted in the occupancy of the two resources, and user agent 4 (UA4) is another IMS terminal
The user agent in software terminal in equipment, UA3 sets up audio frequency media session with UA4, the IMPU difference that UA2, UA4 are used
Be public_id_2@domain, public_id_3@domain, UA1 to UA2 initiate audio call ask, information filtering module
It is 5060 with software terminal COM1, is 5069 with IMS core Network Communication port.
Resource-sharing flow chart during software terminal active request is as shown in fig. 7, UA1 calling UA2 successful responds part signaling flow
Journey is as shown in Figure 8:
In the embodiment of the present invention, as shown in figure 8, UA1 initiates call request in 801, invitation message, To header field URI are generated
The IMPU for being UA2 is:public_id_3@domain.Media row m is that property column a has audio in Session Description Protocol (SDP)
Audio information.Transmission invites message to 5060 ports of IMS-MUCP.
In the embodiment of the present invention, as shown in fig. 7, the signaling message for receiving is parsed in 701, by the SDP in signaling message
The media information of message is converted to contention for resources collection.It is contention for resources collection to extract media row m and property column a information in SDP, by
M=audio, a=sendrecv in SDP message, so being mapped as broadcasting and the collecting device of audio.702nd, in 703,704
It is that traversal contention for resources collection checks whether resource is occupied, checks Current resource occupancy table, audio-frequence player device and audio collection
Equipment is taken by UA3, and correspondence resource in resource set is deleted if being unsatisfactory for 705 conditionals, in 707, if meeting 705 conditionals,
Then IMS-MUCP modifications UA3 takes the session of audio-frequence player device and audio collecting device in 706, and IMS-MUCP can be according to session
Holding mechanism sends special invitation message, i.e. session and keeps what the INVITE that requestor sends was carried in asking to UA3 and UA4
Media row m=audio in SDP message, property column a=recvonly in property column a=sendonly, 200OK response.
In the embodiment of the present invention, as shown in figure 8, being special INVITE requests and association requests and response in 802 to 810
Message.
In the embodiment of the present invention, as shown in fig. 7, in 708 after all contention for resources of contention for resources collection are terminated, if resource
Collection is empty, that is, illustrate by not having contention to resource after IMS-MUCP resource coordinations, if judging in 709, the message is that request disappears
Breath, then the response of IMS-MUCP failed regenerations is sent to the entity for sending the request in 710.If response message is directly abandoned.If
Resource set is not sky, illustrates that successfully contention, to resource, is contention to audio-frequence player device and audio collecting device for UA1, can
To continue to ask to set up session, it is necessary to generate new call request INVITE (invitation) message with UA2.New message is generated in 711,
New INVITE corresponding with the INVITE of UA1.
In the embodiment of the present invention, as shown in figure 8, message in such as 811, generates SDP message and is added to new according to resource set
The message body of INVITE, and new INVITE is sent to destination entity.812 to 818 be call request reach UA2 and into
Work(sets up media session process.Final UA3 takes audio-frequence player device and audio collecting device and realizes sound with UA2 on UE1
Frequency session.
Step 5, when the request from IMS core net by information filtering module forwards is received, applicating cooperation module
Request is parsed, that is, judges the type of service of request, determine local software terminal needed for it, and return to execution step 4, specifically
Step is as follows:
Step 5-1, when the request from IMS core net by information filtering module forwards is received, applicating cooperation mould
Block is parsed to the request, that is, judge the type of service of request;
In the embodiment of the present invention, user agent 1 (UA1), user agent 2 (UA2), user in IMS terminal equipment 1 (UE1)
3 (UA3) of agency share the publicly-owned marks of IMS (IMPU):Public_id_1@domain, UA1 only support audio service, that is, support
Medium type Voice & Video business is supported as UA3 for audio audio, UA2, that is, the medium type supported is audio
Audio and video video.But UA2 is higher than the response Video priority that UA3 is set, user agent 4 (UA4) is another IMS end
The user agent in software terminal in end 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, UA4 initiates video to public_id_1@domain
Calling UA2 response part signaling processes are as shown in Figure 10:
It is as shown in Figure 10, in 1001 that UA4 initiates call request to public_id_1@domain in the embodiment of the present invention
INVITE, has video information in the message body Session Description Protocol (SDP) in INVITE.It is IMS cores in 1002
The INVITE that UA4 sends is sent to the heart net IMS-MUCP on UE1.
In the embodiment of the present invention, as shown in figure 9, service feature information in request message is extracted in 901, in extraction message body
It is video video to carry the media row m in SDP message, and property column a receives sendrecv to send.
Whether step 5-2, the record using applicating cooperation module in memory module, judgement currently have what is worked
The local software terminal of identical services type is carried out, if so, the software terminal is then sent the request to, otherwise, according in memory module
Record obtain the software terminal set for supporting the type of service, if the software terminal collection is combined into sky, information filtering module sends rings
Its request failure should be informed to requestor, otherwise, according to the service response priority of setting, determine the soft end of highest priority
End, and perform step 5-3;
There is no video session business in the present embodiment in current UE 1.
In the embodiment of the present invention, as shown in figure 9, according to media information in service feature information and the SDP for getting in 902
The software terminal professional ability and resource-sharing information of storage are inquired about, is obtained and is supported the current of video traffic and video medium types
The all software terminal for succeeding in registration, UA2 and UA3 meet condition, and the priority according to software terminal respond request is constituted from high to low
Meet the software terminal set of condition, be as a result UA2 preceding.
In the embodiment of the present invention, if as shown in figure 9, judge that meeting the software terminal collection of condition is combined into sky in 903, in 905
IMS-MUCP sends failure response to the service request entity is sent, due to UA2, the software terminal set non-NULL of UA3 compositions, then
The Current resource occupied information that storage is inquired about in 904 judges whether to carry out the industry with service request feature matches
The software terminal of business, if in the presence of determining to respond the service request by the software terminal, otherwise determining by highest service response priority
Software terminal is responded, due in the absence of ongoing video traffic, so determining to be asked by UA2 response video traffics.
Step 5-3, the software terminal of the highest priority that will be obtained using applicating cooperation module are used as responding above-mentioned request
Software terminal, and the result and request are sent in resource-sharing module, and return to execution step 4.
By applicating cooperation result, i.e., video traffic is responded by UA2, and video traffic request is sent to resource-sharing mould
Block, the signaling message that parsing is received can be obtained by step 4-1, and the media information of the SDP message in signaling message is converted to
Contention for resources collection, the media row m and property column a information extracted in SDP are contention for resources collection, due to m=video in SDP message,
A=sendrecv, so being mapped as broadcasting and the collecting device of video.Traversal contention for resources collection can be obtained according to step 4-2 to look into
See whether resource is occupied, check Current resource occupancy table, video playback apparatus and video capture device do not have occupied, then will
The request is sent to respondent by information filtering module, will the video traffic request by information filtering module send to
UA2, in the embodiment of the present invention, generates new video call request message and sends according to new dialog information as shown in Figure 10, in 1003
Give the UA2.1004 to 1009 be UA2 receive from UA4 video calls request after be successfully established video session signaling procedure.