CN106209723A - Call processing method based on BAC cluster and BAC Extension arrangement - Google Patents
Call processing method based on BAC cluster and BAC Extension arrangement Download PDFInfo
- Publication number
- CN106209723A CN106209723A CN201510209786.2A CN201510209786A CN106209723A CN 106209723 A CN106209723 A CN 106209723A CN 201510209786 A CN201510209786 A CN 201510209786A CN 106209723 A CN106209723 A CN 106209723A
- Authority
- CN
- China
- Prior art keywords
- message
- bac
- rear end
- equipment
- bac equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of call processing method based on BAC cluster and BAC Extension arrangement, its method includes: entrance BAC equipment receives the sip message that calling terminal sends;Calling terminal address in the contact header field of the sip message that calling terminal is sent by entrance BAC equipment replaces with the internal address of entrance BAC equipment, and is forwarded to rear end BAC equipment;The internal address of the entrance BAC equipment in the contact header field of the sip message that entrance BAC equipment is sent by rear end BAC equipment replaces with the outer net address of rear end BAC equipment, and is sent to terminal called.The method of the present invention and BAC Extension arrangement, multiple stage BAC equipment is formed cluster, resource can be processed according to BAC in BAC dynamical load distribution cluster, it is applicable to all sip users being accessed IMS network by BAC, realize the load balancing that signaling message is processed, improve network operation efficiency, reduce enterprise and dispose the cost of BAC, improve the motility disposed.
Description
Technical field
The present invention relates to IMS technical field, particularly relate to a kind of calling based on BAC cluster
Processing method and BAC Extension arrangement.
Background technology
During IMS (IP Multimedia Subsystem, IP multimedia system) carry voice traffic,
For mobile IMS voice terminal, the fixing software terminal being deployed in family or SIP (Session
Initiation Protocol, session initiation protocol) hard terminal, need accessing IMS core network element
Front increase service edge Access Control BAC equipment.BAC equipment solve network safe,
The problems such as QoS, private network pass through.The BAC domain name access IMS clothes that IMS terminal configuration is unified
Business.DNS (Domain Name System, domain name system) authorization server can be by BAC domain name
Resolve to a unified BAC IP address.
Along with the development of network IPization, enterprise starts to dispose IP-based instantaneous communication system,
For the safety of application layer, how to deploy BAC in enterprise's private network exit.Normal conditions
Under, a corresponding registering IP address of BAC, if number of users increases, need to dispose multiple
BAC (multiple address), owing to cannot pass through public network dns resolution, needs to join in client
Put different registered addresses.When userbase expands, BAC equipment need to be increased, one
The corresponding registering IP address of BAC, disposes cumbersome.Owing to public network DNS cannot be passed through
Resolve, need in the differently configured registered address of client, have terminal certain ability to want
Asking, at present, the common load-balancing device in existing network is only responsible for two layers of forwarding, and place ought to not
With layer, it is impossible to BAC is formed cluster.
Summary of the invention
In view of this, the technical problem that the invention solves the problems that is to provide a kind of based on BAC collection
The call processing method of group, it is possible to sip message is distributed to rear end by entrance BAC equipment
BAC equipment.
A kind of call processing method based on BAC cluster, including: entrance BAC equipment receives
The sip message sent to calling terminal;Calling terminal is sent by described entrance BAC equipment
Calling terminal address in the contact header field of sip message replaces with described entrance BAC equipment
Internal address, and it is forwarded to rear end BAC equipment;Described rear end BAC equipment is by described entrance
Described entrance BAC equipment interior in the contact header field of the sip message that BAC equipment sends
Net address replaces with the outer net address of described rear end BAC equipment, and is sent to terminal called.
According to one embodiment of present invention, further, described rear end BAC equipment receives
The sip message that terminal called sends;The SIP that terminal called is sent by described rear end BAC equipment
Terminal called address in the contact header field of message replaces with the Intranet of described entrance BAC equipment
Address, and it is forwarded to described entrance BAC equipment;Described entrance BAC equipment is by described rear end
Described entrance BAC equipment interior in the contact header field of the sip message that BAC equipment sends
Net address replaces with calling terminal address, and is forwarded to calling terminal.
According to one embodiment of present invention, further, described entrance BAC equipment receives
The register message that calling terminal sends, by the master of contact header field in described register message
Terminal address is made to replace with the internal address of described entrance BAC equipment;Described entrance BAC equipment
Described register message is forwarded to rear end BAC equipment, and locally stored calling terminal with
The corresponding forwarding relation of rear end BAC equipment.
According to one embodiment of present invention, further, when receive terminal log-down message or
When endpoint registration refreshes time exceeded message, described rear end BAC equipment deletes this endpoint registration shape
State, and send notice of cancellation message to described entrance BAC equipment;Wherein, described notice of cancellation
Message is option message, comprises endpoint registration number field in this option message;Described
Entrance BAC equipment, according to described notice of cancellation message, deletes this terminal and rear end BAC equipment
Corresponding forwarding relation.
According to one embodiment of present invention, further, described entrance BAC equipment is to described
Rear end BAC equipment sends option message;Described rear end BAC equipment is to described entrance BAC
Equipment returns load condition message;Wherein, described load condition message is 200OK message, this
200OK message includes loading weight field;Described entrance BAC equipment storage described load power
The load information that weight field is carried.
According to one embodiment of present invention, further, described entrance BAC equipment is according to depositing
The load information of storage, is forwarded to the rear end BAC that present load is minimum by described register message
Equipment.
According to one embodiment of present invention, further, described entrance BAC equipment receives
The invite message that calling terminal sends, by the caller of contact header field in described invite message
Terminal address replaces with the internal address of described entrance BAC equipment;Described entrance BAC equipment is sentenced
The disconnected corresponding forwarding relation whether preserving this calling terminal and rear end BAC equipment in this locality, as
Fruit is then described invite message to be forwarded to the rear end BAC corresponding with this calling terminal and set
Standby, if it is not, then according to described load information, described invite message is forwarded to present load
Minimum rear end BAC equipment, and between locally stored calling terminal and rear end BAC equipment
Corresponding forwarding relation.
The technical problem that the invention solves the problems that is to provide a kind of BAC Extension arrangement, it is possible to logical
Cross entrance BAC equipment and sip message is distributed to rear end BAC equipment.
A kind of BAC Extension arrangement, including: entrance BAC equipment, including: entry message connects
Receive unit, for receiving the sip message that calling terminal sends;Entry message converting unit, uses
Calling terminal address in the contact header field of the sip message sent by calling terminal replaces with
The internal address of described entrance BAC equipment;Entry message transmitting element, is used for forwarding SIP to disappear
Breath is to rear end BAC equipment;Rear end BAC equipment, including: rear end message reception units, it is used for
Receive the sip message sent from described entrance BAC equipment;Rear end message converting unit, is used for
Described entrance in the contact header field of the sip message that described entrance BAC equipment is sent
The internal address of BAC equipment replaces with the outer net address of described rear end BAC equipment;Rear end message
Transmitting element, for being sent to terminal called by sip message.
According to one embodiment of present invention, further, described rear end message reception units, also
For receiving the sip message that terminal called sends;Described rear end message converting unit, be additionally operable to by
Terminal called address in the contact header field of the sip message that terminal called sends replaces with described
The internal address of entrance BAC equipment;Described rear end message sending unit, is additionally operable to disappear SIP
Breath is sent to described entrance BAC equipment;Described entry message converting unit, is additionally operable to described
Described entrance BAC equipment in the contact header field of the sip message that rear end BAC equipment sends
Internal address replace with calling terminal address;Described entry message transmitting element, be additionally operable to by
Sip message is forwarded to calling terminal.
According to one embodiment of present invention, further, described entry message receives unit, also
For receiving the register message that calling terminal sends;Described entry message converting unit, also uses
In the calling terminal address of contact header field in described register message is replaced with described entrance
The internal address of BAC equipment;Described entry message transmitting element, is additionally operable to described register
Message is forwarded to rear end BAC equipment, described entrance BAC equipment, also includes: forwarding relation is deposited
Storage unit, for storing the calling terminal corresponding forwarding relation with rear end BAC equipment.
According to one embodiment of present invention, further, described rear end message reception units, also
For when receiving terminal log-down message or endpoint registration refreshes time exceeded message, deleting this terminal
Login state, described rear end message sending unit, it is additionally operable to send notice of cancellation message;Its
In, described notice of cancellation message is option message, comprises endpoint registration in this option message
Number field;Described forwarding relation memory element, is additionally operable to according to described notice of cancellation message,
Delete the corresponding forwarding relation of this terminal and rear end BAC equipment.
According to one embodiment of present invention, further, state detection unit, for described
Rear end BAC equipment sends option message;State feedback unit, for described entrance BAC
Equipment returns load condition message;Wherein, described load condition message is 200OK message, this
200OK message includes loading weight field;Wherein, the storage of described state detection unit is described
The load information that load weight field carries.
According to one embodiment of present invention, further, described entry message transmitting element, also
For the load information according to storage, described register message is forwarded to present load minimum
Rear end BAC equipment.
According to one embodiment of present invention, further, described entry message receives unit, also
For receiving the invite message that calling terminal sends;Described entry message converting unit, is additionally operable to
The calling terminal address of contact header field in described invite message is replaced with described entrance BAC
The internal address of equipment;Described entry message transmitting element, is additionally operable to judge whether to preserve in this locality
There is the corresponding forwarding relation of this calling terminal and rear end BAC equipment, if it is, by described
Invite message is forwarded to the rear end BAC equipment corresponding with this calling terminal, if it is not, then according to
Described load information, the rear end BAC described invite message being forwarded to present load minimum sets
Standby;Described forwarding relation memory element, is additionally operable to store this calling terminal and rear end BAC equipment
Between corresponding forwarding relation.
The call processing method based on BAC cluster of the present invention and BAC Extension arrangement, will be many
Platform BAC equipment composition cluster, it is achieved process resource according to BAC in load distribution cluster,
It is capable of the load balancing that signaling message is processed, improves network operation efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will
The accompanying drawing used required in embodiment or description of the prior art is briefly described, aobvious and easy
Insight, the accompanying drawing in describing below is only some embodiments of the present invention, common for this area
From the point of view of technical staff, on the premise of not paying creative work, it is also possible to according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 is an embodiment of the call processing method based on BAC cluster according to the present invention
Flow chart;
Fig. 2 is another enforcement of the call processing method based on BAC cluster according to the present invention
The message flow chart of example;
Fig. 3 is another enforcement of the call processing method based on BAC cluster according to the present invention
The flow chart of example;
Fig. 4 is the networking structure signal of an embodiment of the BAC Extension arrangement according to the present invention
Figure;
Fig. 5 is the modular structure signal of an embodiment of the BAC Extension arrangement according to the present invention
Figure.
Detailed description of the invention
With reference to the accompanying drawings the present invention is described more fully, the example of the present invention is wherein described
Property embodiment.Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the skill in the embodiment of the present invention
Art scheme is clearly and completely described, it is clear that described embodiment is only the present invention one
Section Example rather than whole embodiments.Based on the embodiment in the present invention, this area is general
All other embodiments that logical technical staff is obtained under not making creative work premise, all
Belong to the scope of protection of the invention.Below in conjunction with each figure and embodiment to technical scheme
Carry out many descriptions.
Fig. 1 is an embodiment of the call processing method based on BAC cluster according to the present invention
Flow chart, as shown in Figure 1:
Step 101, entrance BAC equipment receives the sip message that calling terminal sends.
Step 102, the contact head of the sip message that calling terminal is sent by entrance BAC equipment
Calling terminal address in territory replaces with the internal address of entrance BAC equipment, and is forwarded to rear end
BAC equipment.
Step 103, the sip message that entrance BAC equipment is sent by rear end BAC equipment
The internal address of the entrance BAC equipment in contact header field replaces with outside the BAC equipment of rear end
Net address, and it is sent to terminal called.
The call processing method based on BAC cluster of above-described embodiment, by application layer SIP
The process of message specific header field field, it is achieved multiple stage BAC equipment collaboration works so that multiple stage
The process resource of BAC equipment obtains elasticity and calls.
Contact header field for INVITE, ACK and REGISTER request and successfully rings
Answer, call progress responds and redirects response message, provides the ground directly communicated thereafter with user
Location.That entrance BAC equipment judges that calling terminal sends is INVITE, REGISTER etc.
Sip message, replaces " Contact " header field, in order to rear end BAC can correctly process application layer
Message, an example with the sip message of Contact header field is as follows:
MESSAGE sip:1897778888@192.168.2.48:6010SIP/2.0
Call-ID:8e12c17121ac4121bf927f6fd8013358@192.168.2.89
From:<sip:01052237300@192.168.2.89>;Tag=-0037-708c9a5cba8dd878
To:<sip:1897778888@192.168.2.89>
CSeq:1MESSAGE
Via:SIP/2.0/UDP 192.168.2.89:14010;Branch=z9hG4bK--22bd7222
Max-Forwards:30
Allow:INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,UPDATE,PRACK,RE
FER,SUBSCRIBE,NOTIFY,MESSAGE
Contact:<sip:192.168.2.89:14010>
Content-Type:text/plain
Content-Length:5
Entrance BAC equipment sends option message, periodically inquiry rear end BAC state and load
State, the example of an option message is as follows:
OPTIONS sip:carol@chicago.com
Via:SIP/2.0/UDP pc33.atlanta.com;Branch=z9Hg4bKhjhs8ass877
Max-Forwards:70
To:<sip:carol@chicago.com>
From:Alice<sip:alice@atlanta.com>;Tag=1928301774
Call-ID:a84b4c76e66710
Cseq:63104OPTIONS
Contact:<sip:alice@pc33.atlanta.com>
Accept:application/sdp
Content-Length:0
Rear end BAC equipment returns duty by 200OK (option) to access device
And load, the load of rear end BAC is carried out by entrance BAC equipment by the status information of feedback
Relatively, distribute BAC and record forwarding relation.During terminal log-down or endpoint registration refreshes super
Time, rear end BAC equipment is while deleting this endpoint registration state, by option message
Notice entrance BAC equipment.Entrance BAC equipment according to the option message of rear end BAC,
Delete existing forwarding relation.
Fig. 2 is another enforcement of the call processing method based on BAC cluster according to the present invention
The message flow chart of example;As shown in Figure 2:
Step 201, the register that calling terminal sends Session Initiation Protocol to entrance BAC equipment disappears
Breath, carries the public network IP ground of calling terminal self in the contact header field in register message
Location.
Step 202, entrance BAC equipment receives the register message that calling terminal sends, will
In register message, the calling terminal address of contact header field replaces with the interior of entrance BAC equipment
Net address.Register message is forwarded to rear end BAC equipment by entrance BAC equipment, and at this
Ground stores the corresponding forwarding relation of calling terminal and rear end BAC equipment.
Step 203, the register message that entrance BAC equipment is sent by rear end BAC equipment
The internal address of the entrance BAC equipment in contact header field replaces with outside the BAC equipment of rear end
Net address, and the terminal called being sent in IMS network.
Step 204, rear end BAC equipment receives what the terminal called in IMS network sent
200OK message.
Step 205, the 200OK message that terminal called is sent by rear end BAC equipment
Terminal called address in contact header field replaces with the internal address of entrance BAC equipment, and turns
It is dealt into entrance BAC equipment.
Step 206, the sip message that rear end BAC equipment is sent by entrance BAC equipment
The internal address of the entrance BAC equipment in contact header field replaces with calling terminal address, and turns
It is dealt into calling terminal.
Entrance BAC equipment only replaces contact header field, does not process in other sip messages
Hold: UNI terminal address is replaced with self UNN address, submit rear end BAC process to;
BAC address, UNN rear end is replaced with self UNI address, submits terminal processes to.Rear end
BAC processes sip message, is responsible for application layer protection, and, rear end BAC processes media money
Source distribution, media forward.
Step 207, entrance BAC equipment BAC equipment to the back-end sends option message.
Step 208, rear end BAC equipment returns load condition message to entrance BAC equipment.Negative
Carrying status message is 200OK message, and this 200OK message is extended, including load power
Weight field.The load information that entrance BAC equipment storage load weight field carries.
The entrance BAC equipment work shape by OPTION message detection rear end BAC equipment
State, rear end BAC according to current own load, returning right weight values in response message.Load
Status message refers to be sent to entrance BAC equipment the OPTION message of rear end BAC equipment
Response, i.e. rear end BAC equipment is sent to the 200OK (option) of entrance BAC.
Such as, expanding field, such as a=50 in 200OK (option), " a " is weight
Value, the highest by 100 (representing at full capacity), is carried out according to own load situation by rear end BAC equipment
Filling, entrance BAC equipment compares " a " value of each rear end BAC, the conduct that preferred value is little
Forward target.OPTION mutual between entrance BAC equipment and rear end BAC equipment and
Contact header field in 200OK message need not be replaced.
Register message can be forwarded to by entrance BAC equipment according to the load information of storage
The rear end BAC equipment that present load is minimum.
Step 209, when receiving terminal log-down message or endpoint registration refreshes time exceeded message,
Rear end BAC equipment deletes this endpoint registration state, and it is logical to send cancellation to entrance BAC equipment
Know message.Notice of cancellation message is option message, and this option message is extended, bag
Containing endpoint registration number field, such as, endpoint registration number field is b, the note of carried terminal
Volume number information.
Step 210, entrance BAC equipment, according to notice of cancellation message, deletes this terminal and rear end
The corresponding forwarding relation of BAC equipment.
Fig. 3 is another enforcement of the call processing method based on BAC cluster according to the present invention
The flow chart of example, as shown in Figure 3:
Step 301, entrance BAC equipment receives the message that calling terminal sends.Entrance BAC
Whether detection UNI side is sip message bag, is responsible for two layers of protection.
Step 302, it is judged that whether this message is sip message, if it is, enter step
304, abandon this message, if it is not, then enter step 303.
Step 303, it may be judged whether be configured with rear end BAC equipment, if it has, then enter step
305, if it is not, then enter step 304.
Step 305, entrance BAC equipment judge whether this locality preserve this calling terminal with after
The corresponding forwarding relation of end BAC equipment.If it is, enter step 307, if it does not, enter
Step 306.
Step 306, processes sip message.Such as invite message, by invite message
The calling terminal address of middle contact header field replaces with the internal address of entrance BAC equipment, according to
Load information, is forwarded to the rear end BAC equipment that present load is minimum by invite message, and
Corresponding forwarding relation between locally stored calling terminal with rear end BAC equipment.BAC is responsible for should
With the process of layer sip message, complete application layer protection.
Step 307, is forwarded to invite message the rear end BAC corresponding with this calling terminal and sets
Standby.Preferentially forwarding initial message bag to the BAC of light load, BAC group resource obtains all
Weighing apparatus uses.
The call processing method based on BAC cluster that above-described embodiment provides, for current two
The problem that BAC cannot be formed cluster by layer load-balancing device, it is proposed that by right
The extension of OPTION message, the optimization of BAC handling process, by multiple stage BAC equipment group
The method becoming cluster, it is achieved process money according to BAC in BAC dynamical load distribution cluster
Source.
The call processing method based on BAC cluster that above-described embodiment provides, former not changing
There is sip user to the sip message flow process of IMS/ flexible exchanging network, substantially follow existing network
On the premise of framework, unified terminal and the Signalling exchange entrance of network, make full use of at BAC
Reason resource, reduces enterprise and disposes the cost of BAC, improves the motility disposed, improve net
Network operational efficiency.
Fig. 4 is the networking structure signal of an embodiment of the BAC Extension arrangement according to the present invention
Figure, as shown in Figure 4: the Extension arrangement being made up of multiple stage BAC equipment includes: entrance BAC
Equipment 31 and rear end BAC equipment 32,33.Entrance BAC31 process sip terminal 34,
35 calling procedures carried out, replace the contact header field in sip message, in order to rear end
BAC equipment 32,33 can correctly process application layer messages.
The load of rear end BAC equipment 32,33 is sought by entrance BAC equipment 31,
Compare according to rear end BAC equipment response result.Resource, note is processed according to comparing distribution
Record forwarding relation.Rear end BAC equipment 32,33 is according to current own load, to entrance
The OPTION message of BAC, carries out response.
BAC Extension arrangement is by an entrance BAC equipment 31 and multiple stage rear end BAC equipment
32,33 composition.The inquiry of BAC equipment 32,33 the most to the back-end of entrance BAC equipment 31
Duty and loading condition.Rear end BAC equipment 32,33 optimizes service logic, will enter
The mouth external address of BAC equipment 31 mutually maps with the machine private net address.
The BAC Extension arrangement of above-described embodiment, can make UNI side user terminal by unified
Address and network interaction, BAC cluster can be according in BAC dynamical load distribution cluster
BAC processes resource.
Fig. 5 is the modular structure signal of an embodiment of the BAC Extension arrangement according to the present invention
Figure, as shown in Figure 5: BAC Extension arrangement includes: entrance BAC equipment 40 and rear end
BAC equipment 50.Entry message receives unit 41 and receives the sip message that calling terminal sends.
Master in the contact header field of the sip message that calling terminal is sent by entry message converting unit 42
Terminal address is made to replace with the internal address of entrance BAC equipment;Entry message transmitting element 43 turns
Send out sip message to rear end BAC equipment.
Rear end message reception units 51 receives the sip message sent from entrance BAC equipment;Rear end
In the contact header field of the sip message that entrance BAC equipment is sent by message converting unit 52
The internal address of entrance BAC equipment replaces with the outer net address of rear end BAC equipment.Rear end message
Sip message is sent to terminal called by transmitting element 53.
Rear end message reception units 51 receives the sip message that terminal called sends.Rear end message turns
Change the terminal called address in the contact header field of the sip message that terminal called is sent by unit 52
Replace with the internal address of entrance BAC equipment.Sip message is sent out by rear end message sending unit 53
Deliver to entrance BAC equipment.Rear end BAC equipment is sent by entry message converting unit 42
The internal address of the entrance BAC equipment in the contact header field of sip message replaces with calling terminal
Address, sip message is forwarded to calling terminal by entry message transmitting element 43.
In one embodiment, entry message receives unit 41 and receives what calling terminal sent
Register message.Entry message converting unit 42 is by contact header field in register message
Calling terminal address replaces with the internal address of entrance BAC equipment.Entry message transmitting element 43
Register message is forwarded to rear end BAC equipment.Forwarding relation memory element 44 stores caller
The corresponding forwarding relation of terminal and rear end BAC equipment.
Rear end message reception units 51 is when receiving terminal log-down message or endpoint registration refreshing time-out
During message, deleting this endpoint registration state, rear end message sending unit 53 sends notice of cancellation
Message.Notice of cancellation message is option message, comprises endpoint registration in this option message
Number field.Forwarding relation memory element 44 according to notice of cancellation message, delete this terminal with after
The corresponding forwarding relation of end BAC equipment.
State detection unit 45 BAC equipment to the back-end sends option message.Feedback of status list
Unit 54 returns load condition message to entrance BAC equipment.Load condition message is that 200OK disappears
Breath, this 200OK message includes loading weight field, state detection unit storage load weight
The load information that field is carried.
Register message, according to the load information of storage, is forwarded to by entry message transmitting element 43
The rear end BAC equipment that present load is minimum.Entry message reception unit 41 receives calling terminal and sends out
The invite message sent, entry message converting unit 42 is by contact header field in invite message
Calling terminal address replaces with the internal address of entrance BAC equipment, entry message transmitting element 43
Judge whether the corresponding forwarding relation preserving this calling terminal in this locality with rear end BAC equipment,
If it is, invite message to be forwarded to the rear end BAC equipment corresponding with this calling terminal;
If it is not, then according to load information, invite message is forwarded to the rear end that present load is minimum
BAC equipment, forward relation memory element 44 store this calling terminal and rear end BAC equipment it
Between corresponding forwarding relation.
The call processing method based on BAC cluster provided in above-described embodiment and BAC cluster
Device, by the extension of OPTION message, the optimization of BAC handling process, by multiple stage
BAC equipment composition cluster, it is achieved according to BAC process in BAC dynamical load distribution cluster
Resource.
The call processing method based on BAC cluster provided in above-described embodiment and BAC cluster
Device, it is adaptable to all sip users being accessed IMS network by BAC, it is possible to it is right to realize
The load balancing that BAC signaling message processes, improves network operation efficiency.
The call processing method based on BAC cluster provided in above-described embodiment and BAC cluster
Device, solves current two layers of load-balancing device and BAC cannot form the problem of cluster,
Method by multiple stage BAC equipment composition cluster, it is achieved according to BAC dynamical load distribution collection
In Qun, BAC processes resource.Further, original sip user is not being changed to IMS/ soft exchanging network
The sip message flow process of network, substantially follow existing network framework on the premise of, unified terminal and net
The Signalling exchange entrance of network, makes full use of BAC and processes resource, reduces enterprise and disposes BAC
Cost, improve dispose motility, improve network operation efficiency.
The method and system of the present invention may be achieved in many ways.Such as, can be by soft
Part, hardware, firmware or software, hardware, any combination of firmware realize the side of the present invention
Method and system.For the said sequence of step of method merely to illustrate, the present invention's
The step of method is not limited to order described in detail above, unless specifically stated otherwise.
Additionally, in certain embodiments, the present invention also can be embodied as the journey recorded in the recording medium
Sequence, these programs include the machine readable instructions for realizing the method according to the invention.Cause
And, the present invention also covers the record of the program for performing the method according to the invention that stores and is situated between
Matter.
Description of the invention is given for the sake of example and description, and is not exhaustively
Or it limit the invention to disclosed form.Many modifications and variations are for the common skill of this area
It is obvious for art personnel.Selecting and describing embodiment is the principle in order to the present invention is more preferably described
Apply with reality, and make those of ordinary skill in the art it will be appreciated that the present invention thus design is suitable
The various embodiments with various amendments in special-purpose.
Claims (14)
1. a call processing method based on BAC cluster, it is characterised in that including:
Entrance BAC equipment receives the sip message that calling terminal sends;
In the contact header field of the sip message that calling terminal is sent by described entrance BAC equipment
Calling terminal address replaces with the internal address of described entrance BAC equipment, and is forwarded to rear end
BAC equipment;
The sip message that described entrance BAC equipment is sent by described rear end BAC equipment
The internal address of the described entrance BAC equipment in contact header field replaces with described rear end BAC
The outer net address of equipment, and it is sent to terminal called.
2. the method for claim 1, it is characterised in that:
Described rear end BAC equipment receives the sip message that terminal called sends;
In the contact header field of the sip message that terminal called is sent by described rear end BAC equipment
Terminal called address replaces with the internal address of described entrance BAC equipment, and enters described in being forwarded to
Mouth BAC equipment;
The sip message that described rear end BAC equipment is sent by described entrance BAC equipment
The internal address of the described entrance BAC equipment in contact header field replaces with calling terminal address,
And it is forwarded to calling terminal.
3. method as claimed in claim 1 or 2, it is characterised in that:
Described entrance BAC equipment receives the register message that calling terminal sends, by described
In register message, the calling terminal address of contact header field replaces with described entrance BAC equipment
Internal address;
Described register message is forwarded to rear end BAC equipment by described entrance BAC equipment, and
Corresponding forwarding relation at locally stored calling terminal with rear end BAC equipment.
4. method as claimed in claim 3, it is characterised in that:
When receiving terminal log-down message or endpoint registration refreshes time exceeded message, described rear end
BAC equipment deletes this endpoint registration state, and it is logical to send cancellation to described entrance BAC equipment
Know message;Wherein, described notice of cancellation message is option message, wraps in this option message
Containing endpoint registration number field;
Described entrance BAC equipment, according to described notice of cancellation message, deletes this terminal and rear end
The corresponding forwarding relation of BAC equipment.
5. method as claimed in claim 4, it is characterised in that:
Described entrance BAC equipment sends option message to described rear end BAC equipment;
Described rear end BAC equipment returns load condition message to described entrance BAC equipment;Its
In, described load condition message is 200OK message, and this 200OK message includes load power
Weight field;
Described entrance BAC equipment stores the load information that described load weight field carries.
6. method as claimed in claim 5, it is characterised in that:
Described register message, according to the load information of storage, is turned by described entrance BAC equipment
It is dealt into the rear end BAC equipment that present load is minimum.
7. method as claimed in claim 5, it is characterised in that:
Described entrance BAC equipment receives the invite message that calling terminal sends, by described
In invite message, the calling terminal address of contact header field replaces with described entrance BAC equipment
Internal address;
Described entrance BAC equipment judges whether to preserve this calling terminal and rear end BAC in this locality
The corresponding forwarding relation of equipment, if it is, be forwarded to described invite message with this caller eventually
The rear end BAC equipment that end is corresponding, if it is not, then according to described load information, by described invite
Message is forwarded to the rear end BAC equipment that present load is minimum, and locally stored calling terminal with
Corresponding forwarding relation between the BAC equipment of rear end.
8. a BAC Extension arrangement, it is characterised in that including:
Entrance BAC equipment, including:
Entry message receives unit, for receiving the sip message that calling terminal sends;
Entry message converting unit, the contact head of the sip message for calling terminal is sent
Calling terminal address in territory replaces with the internal address of described entrance BAC equipment;
Entry message transmitting element, is used for forwarding sip message to rear end BAC equipment;
Rear end BAC equipment, including:
Rear end message reception units, disappears for receiving the SIP sent from described entrance BAC equipment
Breath;
Rear end message converting unit, for by the sip message of described entrance BAC equipment transmission
The internal address of the described entrance BAC equipment in contact header field replaces with described rear end BAC
The outer net address of equipment;
Rear end message sending unit, for being sent to terminal called by sip message.
9. BAC Extension arrangement as claimed in claim 8, it is characterised in that:
Described rear end message reception units, is additionally operable to receive the sip message that terminal called sends;
Described rear end message converting unit, is additionally operable to the sip message sent by terminal called
Terminal called address in contact header field replaces with the internal address of described entrance BAC equipment;
Described rear end message sending unit, is additionally operable to sip message is sent to described entrance BAC
Equipment;
Described entry message converting unit, is additionally operable to the SIP sent by described rear end BAC equipment
The internal address of the described entrance BAC equipment in the contact header field of message replaces with calling terminal
Address;
Described entry message transmitting element, is additionally operable to sip message is forwarded to calling terminal.
10. BAC Extension arrangement as claimed in claim 8 or 9, it is characterised in that:
Described entry message receives unit, and the register being additionally operable to receive calling terminal transmission disappears
Breath;
Described entry message converting unit, is additionally operable to contact head in described register message
The calling terminal address in territory replaces with the internal address of described entrance BAC equipment;
Described entry message transmitting element, is additionally operable to described register message is forwarded to rear end
BAC equipment,
Described entrance BAC equipment, also includes:
Forwarding relation memory element, for storing the calling terminal corresponding the turning with rear end BAC equipment
The relation of sending out.
11. BAC Extension arrangements as claimed in claim 10, it is characterised in that:
Described rear end message reception units, is additionally operable to when receiving terminal log-down message or terminal note
When volume refreshes time exceeded message, delete this endpoint registration state,
Described rear end message sending unit, is additionally operable to send notice of cancellation message;Wherein, described
Notice of cancellation message is option message, comprises endpoint registration Number character in this option message
Section;
Described forwarding relation memory element, is additionally operable to according to described notice of cancellation message, deletes this eventually
Hold the corresponding forwarding relation with rear end BAC equipment.
12. BAC Extension arrangements as claimed in claim 11, it is characterised in that:
Described entrance BAC equipment, also includes:
State detection unit, for sending option message to described rear end BAC equipment;
Described rear end BAC equipment, also includes:
State feedback unit, for returning load condition message to described entrance BAC equipment;Its
In, described load condition message is 200OK message, and this 200OK message includes load power
Weight field;
Wherein, described state detection unit stores the load information that described load weight field carries.
13. BAC Extension arrangements as claimed in claim 12, it is characterised in that:
Described entry message transmitting element, is additionally operable to the load information according to storage by described
Register message is forwarded to the rear end BAC equipment that present load is minimum.
14. BAC Extension arrangements as claimed in claim 12, it is characterised in that:
Described entry message receives unit, is additionally operable to receive the invite message that calling terminal sends;
Described entry message converting unit, is additionally operable to contact header field in described invite message
Calling terminal address replace with the internal address of described entrance BAC equipment;
Described entry message transmitting element, is additionally operable to judge whether to preserve this calling terminal in this locality
With the corresponding forwarding relation of rear end BAC equipment, if it is, by described invite message forward
To the rear end BAC equipment corresponding with this calling terminal, if it is not, then according to described load letter
Breath, is forwarded to the rear end BAC equipment that present load is minimum by described invite message;
Described forwarding relation memory element, is additionally operable to store this calling terminal and rear end BAC equipment
Between corresponding forwarding relation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510209786.2A CN106209723B (en) | 2015-04-29 | 2015-04-29 | Call processing method and BAC Extension arrangement based on BAC cluster |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510209786.2A CN106209723B (en) | 2015-04-29 | 2015-04-29 | Call processing method and BAC Extension arrangement based on BAC cluster |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106209723A true CN106209723A (en) | 2016-12-07 |
CN106209723B CN106209723B (en) | 2019-08-13 |
Family
ID=57457468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510209786.2A Active CN106209723B (en) | 2015-04-29 | 2015-04-29 | Call processing method and BAC Extension arrangement based on BAC cluster |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106209723B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112653661A (en) * | 2020-09-08 | 2021-04-13 | 厦门亿联网络技术股份有限公司 | Media recovery method and system under VoIP network limitation |
CN114979006A (en) * | 2021-10-14 | 2022-08-30 | 中移互联网有限公司 | SIP message processing method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102608A (en) * | 2007-08-08 | 2008-01-09 | 中兴通讯股份有限公司 | A method for realizing central server call in IP multimedia subsystem |
CN101345672A (en) * | 2007-07-11 | 2009-01-14 | 中国电信股份有限公司 | Method for VOIP business terminal recognition and business control |
CN102404283A (en) * | 2010-09-13 | 2012-04-04 | 中国电信股份有限公司 | Communication method and system of internet protocol (IP) multimedia subsystem (IMS) |
CN102957670A (en) * | 2011-08-24 | 2013-03-06 | 中国电信股份有限公司 | Method and system for original calling number transmission |
-
2015
- 2015-04-29 CN CN201510209786.2A patent/CN106209723B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101345672A (en) * | 2007-07-11 | 2009-01-14 | 中国电信股份有限公司 | Method for VOIP business terminal recognition and business control |
CN101102608A (en) * | 2007-08-08 | 2008-01-09 | 中兴通讯股份有限公司 | A method for realizing central server call in IP multimedia subsystem |
CN102404283A (en) * | 2010-09-13 | 2012-04-04 | 中国电信股份有限公司 | Communication method and system of internet protocol (IP) multimedia subsystem (IMS) |
CN102957670A (en) * | 2011-08-24 | 2013-03-06 | 中国电信股份有限公司 | Method and system for original calling number transmission |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112653661A (en) * | 2020-09-08 | 2021-04-13 | 厦门亿联网络技术股份有限公司 | Media recovery method and system under VoIP network limitation |
CN114979006A (en) * | 2021-10-14 | 2022-08-30 | 中移互联网有限公司 | SIP message processing method and system |
CN114979006B (en) * | 2021-10-14 | 2023-09-05 | 中移互联网有限公司 | Session Initiation Protocol (SIP) message processing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106209723B (en) | 2019-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103220323B (en) | For the device of Service controll | |
US8379655B2 (en) | Data network and method for executing forking | |
US9571528B2 (en) | Method and apparatus for providing network based services to non-registering endpoints | |
US8918518B2 (en) | Access session controller, IP multimedia subsystem and registration and session method thereof | |
CN101030964B (en) | Session controller and controlling method | |
CN109417569A (en) | Recovery to service call session control and application server functionality | |
CN108712516B (en) | Method, device, equipment and storage medium for acquiring SIP server address | |
US20110292839A1 (en) | Method and system for selective call forwarding based on media attributes in telecommunication network | |
CN108141440A (en) | Sip server with multiple identifiers | |
US9246955B2 (en) | Capability query handling in a communication network | |
CN102948124B (en) | Method and apparatus for handling public identities in an internet protocol multimedia subsystem network | |
JP5794891B2 (en) | Routing method for signaling message using flow switch device and network system | |
CN101449551A (en) | Method and system for processing a control message in an internet protocol-based mobile communication system supporting a multimedia service | |
JP2008148313A (en) | Method and system for controlling establishment of communication channel for enabling transmission of multimedia information | |
US8874684B2 (en) | Facilitating subscription services in the IMS | |
CN101529883B (en) | System and method to provide combinational services to anonymous callers | |
EP2574137A1 (en) | Method and device for forking call request to called user address | |
CN102148739A (en) | IMS (IP (Internet Protocol) Multimedia Subsystem) session routing control method and system | |
CN105262847B (en) | Communication means and system between terminal device | |
EP2068524A1 (en) | A method and a system for acquiring the transmission path of the sip message | |
WO2020063911A1 (en) | Communication method, apparatus and system | |
CN106209723A (en) | Call processing method based on BAC cluster and BAC Extension arrangement | |
CN102158466A (en) | Media transfer method among user equipment (UE) and application server (AS) | |
CN101384085A (en) | Terminal registration method, apparatus and system | |
EP2497249B1 (en) | Method and system for forwarding a message in a session initiation protocol based communications network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |