Background technology
Telecommunication service can be divided into the professional and value-added service two big classes of basic call.Wherein, if basic call is described with half call technology, it is called out by two and half and forms, and each BCP basic call process all is the dynamic process of the establishment and the extinction of two and half call objects, and half data of calling out all are interim the existence; Value-added service can be divided into two kinds of Client-initiated and non-Client-initiateds again, non-Client-initiated value-added service is different from the professional and Client-initiated value-added service of basic call, it need preserve professional trigger condition, so that when condition satisfies, corresponding business can be triggered, therefore must this type of business could be realized by means of third party's administration module.These conditions mainly comprise: timing condition, for example, for alarm service, as the alarm time user that then should make a noise; The User Status change condition for example, for call back on busy service, when the called subscriber is not busy by busy change, should have been exhaled the calling subscriber.Third party's administration module and basic call module, data module all have corresponding interface, and it can know attribute of user information by data-interface, can carry out interacting message each other, also initiate newly to call out by the interface with the basic call module.
Call out for non-Client-initiated value-added service, the processing method that generally adopts is by the third party module timed sending message of calling terminal third party administration module active to called end at present, know state of user information by the regular detection initiatively of called end third party administration module, thereby whether decision uses business, sends message again to calling terminal third party administration module.There are following two subject matters in such processing method:
1., then can increase the load of system greatly if the interaction message between the calling and called third party administration module is too many;
2. be to manage by the method that a plurality of timers are set to a plurality of customer services and the situation of depositing, the timer resource that this has wasted whole system has increased the resource loss of system.
Therefore, if in the life cycle of calling service, called busy always, this method can increase system burden, and is especially when a plurality of calling subscribers have applied for non-Client-initiated value-added service to same called subscriber, all the more so.
Summary of the invention
The object of the present invention is to provide a kind of can in IP network, the employing to analyze non-Client-initiated value added service implementation method, so that reduce resource occupation, mitigation system burden by third party's administration module.
In order to achieve the above object, the invention provides a kind of non-Client-initiated value-added service and realize system, this system comprises; Called party terminal; Media gateway comprises calling terminal media gateway and called end media gateway; Call server comprises calling terminal basic call module and calling terminal third party administration module corresponding to described main dialing user, and corresponding to the called end basic call module and the called end third party administration module of described called party terminal; And database, described main dialing user links to each other with described call server via described media gateway with described called party terminal, described main dialing user sends the RT register traffic request by described calling terminal media gateway and described calling terminal basic call module, after the described calling terminal third party administration module of described call server received the request of described main dialing user, described called end third party administration module was put sign for described called party terminal in described database; When the state of described called party terminal changes, when satisfying the trigger condition of corresponding service, described database sends User Status message to described call server, after described call server is received message, has exhaled described main dialing user, the use of beginning business; Wherein, if there are a plurality of main dialing users to apply for business simultaneously, then described calling terminal third party administration module is ranked according to the sequencing of application business hours to all users, and only to coming the top user of formation timer is set.
In order to achieve the above object, another technical scheme of the present invention provides a kind of non-Client-initiated value added service implementation method, is used in the non-Client-initiated value-added service realization system, and described system comprises: main dialing user; Called party terminal; Media gateway comprises calling terminal media gateway and called end media gateway; Call server comprises calling terminal basic call module and calling terminal third party administration module corresponding to described main dialing user, and corresponding to the called end basic call module and the called end third party administration module of described called party terminal; And database, described main dialing user links to each other with described call server via described media gateway with described called party terminal, described value added service implementation method may further comprise the steps: described calling terminal basic call module receives the business registration request of described main dialing user, and described calling terminal third party administration module is registered described service request; And when the state of described called party terminal satisfies professional trigger condition, bring into use described business, wherein, if being arranged, a plurality of main dialing users apply for business simultaneously, then described calling terminal third party administration module is ranked according to the sequencing of application business hours to all users, and only to coming the top user of formation timer is set.
The present invention simply is a starting point with mitigation system load, minimizing resource loss, realization, adopts the passive receiving notice message of third party's administration module to come the mitigation system load, and the minimizing stand-by period; Make full use of half notion of calling out in the basic call module, caller half is called out and called half role who calls out can change mutually, just can realize non-Client-initiated value-added service by combination, and operation flow is simply clear, is easy to realize, has improved operating efficiency.
Be elaborated with reference to accompanying drawing below in conjunction with embodiment, so that purpose of the present invention, feature and advantage are had more deep understanding.
Embodiment
Fig. 1 is the hardware block diagram that present technique practices.
User 10 is by media gateway 30 (Media Gateway, abbreviation MG) sends the RT register traffic request, after call server 50 receives this customer service request, judge whether needs user 20 participation according to the type of this service request, as needs, put sign then in database 60, for user 20, illustrate that existing subscriber 10 has applied for corresponding business to it; When user 20 state changes, when satisfying the trigger condition of corresponding service, database 60 will send user 20 status message to call server, after call server 50 is received message, will exhale user 10, thus the professional use of beginning.After business was used successfully, call server 50 will be as required, removes the traffic flag that is provided with in user 20 the database 60.
Fig. 2 show in the call server software module and with the getting in touch of other module.
Two modules are arranged in call server, one is the basic call module, it comprises calling terminal basic call module 203 and called end basic call module 204 again, one is third party's administration module, it also comprises calling terminal third party administration module 201 and called end third party administration module 202 equally, and wherein calling terminal basic call module 203 links to each other with database 60 with media gateway 30, called end basic call module 204, the calling and called end third party administration module 201,202 of calling terminal; Called end basic call module 204 links to each other with calling terminal basic call module 203, called end media gateway 40 and database 60; Calling terminal third party administration module 201 links to each other with calling terminal basic call module 203, and interrelates by sending out message mutually with called end third party administration module 202; The calling and called end 201,202 of third party's administration module links to each other with database 60 respectively.
Fig. 3 shows the RT register traffic flow chart of non-Client-initiated IP network value-added service.
Receive calling subscriber's registration request when calling terminal basic call module after, send the RT register traffic request message to calling terminal third party administration module, calling terminal third party administration module receives aforesaid RT register traffic request message, step 301;
After calling terminal third party administration module is received message, judge whether this business needs the participation of opposite end (being called end), step 302; If desired, then send RT register traffic request message, step 303 to called end third party administration module; If there are a plurality of users to apply for business simultaneously, then all users are ranked according to the sequencing of application business hours, to coming the top user of formation timer is set; Otherwise the corresponding back of handling of finishing message directly sends the basic call module of registration response message to calling terminal, promptly goes to step 306; For the message of the called participation of needs,, in the database of called end,, illustrate that the existing subscriber has applied for corresponding business, step 304 to it for sign on called the putting by called end third party administration module; Send RT register traffic request-reply message to calling terminal third party administration module, step 305 by called end third party administration module then; Calling terminal third party administration module sends the registration response message to calling terminal basic call module, step 306 after receiving this response message; So far, the RT register traffic flow process finishes.
Fig. 4 shows the use business process map of non-Client-initiated IP network value-added service.
When called subscriber condition changes, send called state message, step 401 to called end third party administration module by database; After called end third party administration module is received message, judge this moment, whether called state satisfied professional trigger condition, step 402; If satisfy, then the third party's administration module to calling terminal sends use business request information, step 403; Otherwise, EO; After third party's administration module of calling terminal is received message, judge whether caller this moment state satisfies professional service condition, step 404; As satisfying, use business request information, step 405 to the basic call module transmission of calling terminal; Otherwise, send the third party's administration module that uses business to acknowledge message to called end by calling terminal third party administration module, promptly go to step 407; Calling terminal basic call module is initiated corresponding call after receiving and using business request information, sends then to use the third party administration module of response message to calling terminal, step 406; Send by calling terminal third party administration module again and use the professional third party's administration module that acknowledges message to called end, step 407; After called end third party administration module is received this message, remove called database sign as required, step 408; So far, use operation flow to finish.
Fig. 5 shows the business process map of cancelling of non-Client-initiated IP network value-added service.
When calling terminal basic call module receive the calling subscriber cancel service request after, send to calling terminal third party administration module and to cancel business request information, step 501; After calling terminal third party administration module is received message, judge whether this business needs the participation of opposite end (promptly called), step 502; If desired, then go to step 503, otherwise, finish direct transmission the in corresponding processing back of message cancelled the basic call module of professional response message to calling terminal, promptly go to step 506;
Calling terminal third party administration module sends to called end third party administration module and cancels business request information, step 503;
After called end third party administration module was received message, removing before was the traffic flag of called setting in the database of called end, step 504;
Send then and cancel professional response message to calling terminal third party administration module, step 505;
Transmission was cancelled professional response message to calling terminal basic call module, step 506 after calling terminal third party administration module was received and cancelled professional response message;
So far, cancelling operation flow finishes.
More than describe operation principle of the present invention in detail, and the concrete mode that realizes non-Client-initiated IP value-added service has been described, but this should not be considered to be limitation of the scope of the invention.
Because IP network is just as a kind of bearing mode, without any influence, so the present invention also goes for the Next Generation Telecommunication Networks by the carrying of other types packet network to functions implementing the present invention.