Summary of the invention
The purpose of this invention is to provide a kind of apparatus and method of carrying out full decentralized control queuing service in packet-switched speech on the net.Particularly relate to a kind of apparatus and method of in the ip voice that with the soft switch is the control core realizes lining up service field on the net, using.
In the ip voice net that with the soft switchcall server is the control core, because of control and execution are separated from each other, the control capacity can further enlarge, and is convenient to voice channel and message channel are merged control on the packet switching basis, thereby has simplified realization flow.Based on this, design of the present invention is: separate with the thought of decentralized control with execution with control in the soft switchcall server and construct the queuing server.
The present invention is achieved in that
A kind of at the online device of realizing full decentralized control queuing service of packet voice, it is characterized in that:
Described device comprises soft switchcall server, queue management device (queuing server), seat, all interconnects by packet switching network each other;
Described soft switchcall server is used for calling of overall importance control, will need to send to this server to the calling of the queuing server of appointment by control function module in the soft switchcall server and routing function module;
Described queuing server is used for control and management in this control field and the business field, and management subordinate each seat also will be called out according to certain principle and rank and distribute;
Described seat, be used to carry out the function that medium are handled, behind call distribution to a fixing seat, by the standard media control protocol in the soft switchcall server, with the media information and the opposite equip. exchange of seat, and carry out the transmission of medium (voice) by media transmission protocol.
Described queuing server is equivalent to all kinds of other gateways of same position.
Described seat is equivalent to the IP terminal that can carry out complex process.
Physically link to each other by the core packet-switched network network between described queuing server and the soft switchcall server, the bag by packet switching comes exchange message.
Physically link to each other between described queuing server and the seat, by medium (speech) contact of reality by packet switching network.
Information between described soft switchcall server, queuing server, the seat is control information.
High-rise control protocol between described soft switchcall server and the queuing server adopts the medium control protocol of any standard of using at present.
High-rise control protocol between described queuing server and the seat adopts the call control protocol of having used at present.
CCF module in the described soft switchcall server is used in all users' of this system calling control, control user's playback, collect the digits, number analysis, called routing inquiry etc.
Routing function module in the described soft switchcall server finds one to called best route according to topology of networks and networking mode, and provide alternative route when best route is unreachable, and the CCF module that offers soft switchcall server is used.
Protocol adaptation functional module in the described soft switchcall server is used for after being routed to the destination, receipt of call message, and be that agreement and other gateway devices of standard carries out communication with message conversion.
Protocol adaptation functional module in the described queuing server is used for becoming message related to calls to offer the CCF module of queuing server the message conversion of standard agreement.
CCF module in the described queuing server is used to control whole call flow, finishes the switching of call state and the processing of each message related to calls, and determines next step flow process trend according to call model.
Queuing management functional module in the described queuing server by to the management of call queue and the management of seat formation, is distributed to each seat with calling out by certain principle, plays the effect of queue machine.
Position administration functional module in the described queuing server detects the state of seat by administrative messag, and handles operations such as inaccessible and locking, and the state of seat is directly reflected in the seat formation.
Telephone service protocol adaptation functional module in the described queuing server is the message of action with the control terminal operation telephone service agreement that converts standard to and the functive of doing reverse operation.
Monitoring in the described queuing server and configuration feature module are used for completion queue server day-to-day operation needed monitoring and statistical work to seat, and daily data configuration is safeguarded.
Interface function module in the described seat, be used to provide graphical and the user carries out mutual instrument, the operation at interface is after logical process, the adaption function module that directly enters the telephone service agreement is carried out message conversion, and the message of this adaption function module also is directly reflected in the variation at interface.
Medium processing capacity module in the described IP seat is used for whether beginning and finish Media Stream by message (sending by the telephone service agreement) control from the queuing server, and determines relevant parameter.
Medium processing capacity module in the described IP seat comprises that the packing of the compressed and decompressed and RTP of encoding and decoding to voice, voice packet unpacks.
Make a call of the calling (as Virtual User group exchange call out or special service call) of the type of call of initiation for needing queuing to soft switchcall server by the user;
The route that the CCF module of soft switchcall server is inquired about this calling by the routing function module need arrive the queuing server process, then continues route up to the queuing server that finds an appointment;
Initiation is carried out the order of information position to the queuing server, and the user is in wait state;
Message related to calls all by the queuing server forwards, is carried out the exchange of media capability and information simultaneously in calling procedure;
Seat is being received message related to calls, and interface prompt has calling to enter, and is ready to medium (speech) simultaneously.
Described user is a user on the other types gateway.
The described initiation when the queuing server carries out the order of information position if the queuing server finds idle seat, then given seat with call distribution, responds success message simultaneously and gives soft switchcall server, made a call to the appointment seat that distributes by soft switchcall server.
Described seat is being received message related to calls, interface prompt has calls out when entering, and the operator handles, and media information brings soft switchcall server by the queuing server on the response message band, the medium of soft switchcall server by revising and exchangeing subscriber are conversed and information interchange user and seat user.
Constitute technical scheme of the present invention, can reach following effect:
At first, because classification and dispersion are carried out in control, in soft switchcall server, it is the same that the calling of queuing is handled with ordinary call, do not cause extra control burden, the size of queueing capacity depends on the size that can handle call capacity in the soft switchcall server, can not cause bottleneck.After route finishes in soft switch, can determine a queue management device of ranking, therefore can exist a plurality of queue management devices to manage separately formation respectively, can not be restricted on the capacity.Seat is as the executor, and function singleness is easy to realize, and on capacity equally without limits.Therefore, after having realized classification and decentralized control, treatable queued call of queuing system institute capacity is greatly improved.
Secondly, queue management device itself does not have the function of overall route, only carry out queue management, the management authority of this part can be transferred to user oneself fully finishes, the user can formulate queuing policy according to the requirement of oneself, additions and deletions seat quantity etc., and can carry out monitoring in the certain limit to the behavior of seat.
At last, because the division of labor is clear and definite between each function, simplified handling process.Medium control section, position administration part, media delivery part can realize by standard agreement, help interconnecting between the equipment.
Embodiment
Below in conjunction with description of drawings structure of the present invention, principle and call model:
Device of the present invention is the equipment in a kind of packet switching network, comprises three functional entitys, soft switchcall server, queue management device (we are referred to as the server of lining up), seat, and they interconnect by Packet Based Network.
Needs can be sent to this server to the calling of the queuing server of appointment by control ability powerful in the soft switchcall server and routing capabilities, the queuing server is responsible for the management of each seat of subordinate and will be called out according to certain principle and rank and distribute.Behind call distribution to a fixing seat,,, and carry out the transmission of medium (finger speech sound here) by media transmission protocol with the media information and the opposite equip. exchange of seat by the standard media control protocol in the soft switchcall server.
In these three equipment, soft switchcall server is finished calling control of overall importance, and queue management device is finished control and the management function in this control field and the business field, and seat is finished the function that executor's medium are handled, be a kind of relation of hierarchical control, to reach the purpose of decentralized control.
Fig. 1 has described core of the present invention: the structural relation in queuing server and the soft switchcall server between the each several part.Physically link to each other between queuing server and the soft switchcall server by the core packet-switched network network, between bag by packet switching come exchange message; And be packet switching network equally between queuing server and the seat.Information between these three parts is control information, and actual medium such as speech are getting in touch between seat and all kinds of gateway, and physical entity is packet switching network equally.That is to say that this system constructs fully on IP, meet the basic demand that in next generation network, moves.
Simultaneously, as seen from Figure 1, from the angle of call model, the queuing server is in and the identical position of all kinds of other gateways, and the status of seat is the same with other common seats, is equivalent to the IP terminal that can carry out complex process.Therefore the high-rise control protocol between soft switchcall server and the queuing server can adopt the medium control protocol of any standard of present use, and like this from the soft switchcall server angle, the queuing server is exactly an independently gateway.High-rise control protocol between queuing server and the seat can adopt the call control protocol of having used at present.
According to above-mentioned 26S Proteasome Structure and Function demand, we can obtain functional module exploded view as shown in Figure 2: from Fig. 2 we as can be seen: the call function the soft switchcall server is responsible for the CCF of all users in this system, control user's playback, collect the digits, number analysis, called routing inquiry etc.; The routing function module then finds one to called best route according to topology of networks and networking mode, and the CCF module that provides alternative route, this function to offer soft switchcall server when best route is unreachable is used; After being routed to the destination, message related to calls is given to the protocol adaptation functional module, here the message agreement and other gateway devices that are converted into standard carries out communication.
In the queuing server, the protocol adaptation functional module becomes message related to calls to offer the CCF module message conversion of standard agreement equally; The whole call flow of CCF module controls is finished the switching of call state and the processing of each message related to calls, and determines next step flow process trend according to call model;
The queuing management function is by to the management of call queue and the management of seat formation, distributes to each seat with calling out by certain principle, plays the effect of queue machine; The position administration function detects the state of seat by administrative messag, and handles operations such as inaccessible and locking, and the state of seat is directly reflected in the seat formation; The telephone service protocol adaptation layers is the message of the telephone service agreement that converts standard to of the action with control terminal operation and the functive of doing reverse operation; Monitoring and then needed monitoring and statistical work of completion queue server day-to-day operation of configuration feature to seat, and daily data configuration is safeguarded.
In seat, interface function provides graphical and the user carries out mutual instrument, and the operation at interface is after logical process, and the adaptation layer that directly enters the telephone service agreement is carried out message conversion, and the message of this adaptation layer also is directly reflected in the variation at interface.As the IP seat, also need a very important function piece, it is the function of Media Stream, whether begin and finish Media Stream by message (sending) control by the telephone service agreement from the queuing server, and determine that relevant parameter, this function comprise that the packing of the compressed and decompressed and RTP of encoding and decoding to voice, voice packet unpacks.
By introduce their course of work as the exemplary call model flow process of Fig. 3:
A is a user on the other types gateway, and A makes a call to soft switchcall server, the calling (as Virtual User group exchange call out or special service call) of the type of call of initiation for needing queuing;
The route that the CCF module is inquired about this calling by the routing function module need arrive the queuing server process, then continues route up to the queuing server that finds an appointment;
Initiation is carried out the order of information position to the queuing server, this moment, the party A-subscriber was in wait state, if the queuing server finds idle seat, then gave seat with call distribution, respond success message simultaneously and give soft switchcall server, make a call to the appointment seat that distributes by soft switchcall server;
Message related to calls all by the queuing server forwards, and is done certain control, carries out the exchange of media capability and information in calling procedure simultaneously;
Seat is being received message related to calls, has to call out in interface prompt to enter, and is ready to medium (speech) simultaneously;
If the operator handles, media information brings soft switchcall server by the queuing server on the response message band, and soft switchcall server converses and information interchange party A-subscriber and operator by revising and exchange party A-subscriber's medium.