CN101662390B - Upgrade protecting method and device thereof - Google Patents
Upgrade protecting method and device thereof Download PDFInfo
- Publication number
- CN101662390B CN101662390B CN 200910190255 CN200910190255A CN101662390B CN 101662390 B CN101662390 B CN 101662390B CN 200910190255 CN200910190255 CN 200910190255 CN 200910190255 A CN200910190255 A CN 200910190255A CN 101662390 B CN101662390 B CN 101662390B
- Authority
- CN
- China
- Prior art keywords
- message
- session
- upgrading
- access device
- client
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/14—Charging, metering or billing arrangements for data wireline or wireless communications
- H04L12/1453—Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network
- H04L12/1471—Methods or systems for payment or settlement of the charges for data transmission involving significant interaction with the data transmission network splitting of costs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses an upgrade protecting method and a device thereof in the communication field. The upgrade protecting method is capable of protecting the upgrade of an access apparatus in an on-line charging system. The system comprises a client carrying out service logic management, the access apparatus carrying out session management and a service end carrying out charging management. The upgrade protecting method comprises the steps of sending an upgrade message to the client, informing the client to refuse to receive a new session; after the session treatment of the access apparatus is finished, sending a treatment finishing message and updating. The information of the access apparatus is protected through the upgrade protecting device and information loss of the access apparatus caused by the upgrade is prevented.
Description
Technical field
The present invention relates to communication field, specially refer to upgrade protecting method and device in a kind of Online Charging System.
Background technology
(Online Charging System OCS) can be used for realizing online charging to Online Charging System, and functions such as pre-payment and account's processing in real time are provided.Existing online charging system can be separated client's traffic controlled function and billing function, sets up the directly mutual of billing mechanism and session/service control, and charging can be participated in the use of service.So, the great ability that both can utilize independent counting can utilize the real-time characteristic of participating in use again so that the flexibility that approaches the quasi real time charging system to be provided, and drops to the arrearage cost minimum.
At present, the online charging agreement (OCP) of access Online Charging System employing is the basis usually with the Diameter.The Diameter basic agreement is that various authentication business provide framework safe, reliable and that be easy to expand.Defining Diameter based on this uses; Only need the definition application protocol application identities, participate in message content and protocol procedures between the functional entity of the network functional entity of communication and intercommunication mutually, just can rely on specific access and the applied business of Diameter basic agreement completion fully.
Because software upgrading speed is fast, therefore need often the software in the Online Charging System to be carried out upgrading processing.In escalation process, the equipment of upgrading can not use, other equipment of need giving advance notice.If upgrading opportunity, improper (such as the completion of being untreated of message in the equipment) will cause losing of message, the reliability of Online Charging System is reduced.
Summary of the invention
One of the object of the invention can promote the reliability of Online Charging System for a kind of upgrade protecting method and device are provided.
The present invention proposes a kind of upgrade protecting method; Upgrading to the access device in the Online Charging System is protected; Said system comprises the client of carrying out service logic management, carries out the access device of session management and the service end of carrying out accounting management, and said upgrade protecting method comprises step:
Send upgrading message to client, notify this client rejection new session;
Detect in the access device whether the session of being untreated is arranged; When completion is untreated in the session of said access device, then proceed session and handle, finish dealing with until session; After the session of said access device is finished dealing with, send the message of finishing dealing with and upgrade.
The present invention also proposes a kind of upgrading protective device; Upgrading to the access device in the Online Charging System is protected; Said system comprises the client of carrying out service logic management, carries out the access device of session management and the service end of carrying out accounting management; Said upgrading protective device comprises: the upgrading protection module is used for the information protection during upgrading of said access device; The reception of refusal new session before upgrading, and after the message of finishing dealing with, carry out the upgrading of said access device; Said upgrading protection module specifically comprises: message sending unit, send upgrading message to said client, the rejection new session; The session detecting unit detects in the access device whether the session of being untreated is arranged; When completion is untreated in the session of said access device, then proceed session and handle, finish dealing with until session; After the session of said access device is finished dealing with, send the message of finishing dealing with and upgrade.
The upgrade protecting method of access device and device in the Online Charging System of the present invention, through sending upgrading message to client before the access device upgrading, the refusal new session receives; And access device detected, confirm that its session is finished dealing with after, can upgrade; Make and in the escalation process of access device, can not cause information dropout, promote the reliability of Online Charging System.
Description of drawings
Fig. 1 is the structural representation of the said device of one embodiment of the invention;
Fig. 2 is the structural representation that the said device of one embodiment of the invention reduces the call loss module;
Fig. 3 is another structural representation that the said device of one embodiment of the invention reduces the call loss module;
Fig. 4 is the structural representation of the said device link management of one embodiment of the invention submodule;
Fig. 5 is another structural representation of the said device of one embodiment of the invention;
Fig. 6 is the structural representation of the upgrading protection module of the said device of one embodiment of the invention;
Fig. 7 is the structural representation of the service end protection module of the said device of one embodiment of the invention;
Fig. 8 is the steps flow chart sketch map of the said method of another embodiment of the present invention;
Fig. 9 is the steps flow chart sketch map of method described in another embodiment of the present invention one execution mode;
Figure 10 is the structural representation of the said system of another embodiment of the present invention;
Figure 11 is another structural representation of the said system of another embodiment of the present invention;
Figure 12 is the structural representation of the reduction call loss module of the said system of another embodiment of the present invention;
Figure 13 is the structural representation of the said system link management submodule of another embodiment of the present invention;
Figure 14 is the structural representation of the access device of the said system of another embodiment of the present invention;
Figure 15 is the structural representation of the upgrading protection module of the said system of another embodiment of the present invention;
Figure 16 is the handling process sketch map of access device in the upgrading protection of the said system of another embodiment of the present invention;
Figure 17 is the handling process sketch map of client in the upgrading protection of the said system of another embodiment of the present invention;
Figure 18 is the structural representation of the service end protection module of the said system of another embodiment of the present invention;
Figure 19 is the handling process sketch map of service end in restarting protection of the said system of another embodiment of the present invention;
Figure 20 is the handling process sketch map of access device in restarting protection of the said system of another embodiment of the present invention;
Figure 21 is the handling process sketch map of client in restarting protection of the said system of another embodiment of the present invention;
Figure 22 is the steps flow chart sketch map of the said method of another embodiment of the present invention;
Figure 23 is another steps flow chart sketch map of the said method of another embodiment of the present invention;
Figure 24 is the another steps flow chart sketch map of the said method of another embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will combine embodiment, further specify with reference to accompanying drawing.
Embodiment
Access device is connected between the client and service end of OCS (Online Charging System) through inciting somebody to action independently in the present invention.This access device can be to using that layer conversation is controlled and the link between itself and the service end being safeguarded.This client (business control nodes) can be controlled and the link between itself and the access device is safeguarded service logic.
Can adopt the self-defined message interface to be connected communication between above-mentioned client and the access device; Can adopt Diameter Extended Protocol interface to be connected communication between the service end of this access device and OCS.
Set up physical connection earlier between above-mentioned access device and the above-mentioned service end; Carrying out capabilities exchange (Capabilities-Exchange; CE) after; Carry out the application layer link establishment again, after link is stable, notify above-mentioned client to send CC (Credit Control) message, avoid the unripe call drop that causes of link.
Above-mentioned access device can dynamically be adjusted the distribution policy of message according to above-mentioned service end (a plurality of service end) loading condition in the process of handling CC message, avoid service end to cross busy and cause message congestion.
Above-mentioned access device also can pass through Device-Watchdog message detection link, and client is notified in the discovery chain rupture immediately, and it is unreachable to avoid message to send.
Above-mentioned access device also can detect reply overtime after, message is retransmitted, avoid call drop.
Above-mentioned access device can be after receiving the DP of OCS (Disconnect-Peer) request, and according to the reason of DP, the strategy that notice client correction message is sent is avoided because service end is crossed busy or restarted and cause call loss.
Above-mentioned access device is through to the session managements such as load balancing management of session, and its link with service end is carried out link managements such as contingency management, link configuration and detection, the reduction call drop.
With reference to Fig. 1, the present invention proposes the device 30 of a kind of online charging reduction call loss of an embodiment, is connected communication with the client 20 and the service end 40 of online charging respectively, and this device 30 comprises:
Reduce call loss module 32, receive the information that this intercommunication module 31 transmits, wherein conversation message is identified with differentiating sessions the guild's words management of going forward side by side;
Communicating by letter between above-mentioned intercommunication module 31 and the above-mentioned client 20 can be carried out according to custom protocol, and this custom protocol can be formulated according to concrete needs.
Above-mentioned reduction call loss module 32 can communicate with above-mentioned client 20 through above-mentioned intercommunication module 31, receives the information that this client 20 transmits.This reduction call loss module 32 can identify and manage conversation message, produces session identification.Above-mentioned information can comprise conversation message, event information, heartbeat message, upgrading message and chain rupture message etc.Above-mentioned session management can comprise load balancing etc., the service logic management is separated with session management carry out, to reduce call loss.
Said external communication module 33 can connect above-mentioned reduction call loss module 32 and service end 40, makes both can carry out information interaction.Between this external communication module 33 and this service end 40, can communicate through Diameter.
With reference to Fig. 2, in an execution mode of present embodiment, above-mentioned reduction call loss module 32 comprises session identification unit 321 and Load Balance Unit 322.This session identification unit 321 can identify to produce session identification, differentiating sessions conversation message; This Load Balance Unit 322 can detect the business load situation of this service end 40, and carry out session according to this business load situation and distribute; This business load situation can comprise service traffics, response time and/or expired times.
The conversation message of the 321 pairs of receptions in above-mentioned session identification unit identifies, and produces session identification, guarantees the integrality and the uniqueness of session.
Above-mentioned Load Balance Unit 322 can detect the business load situation of its service end that connects 40, according to business load situation assign sessions.So can give the light service end 40 of business load with the new session priority allocation.Above-mentioned service traffics can be that online charging reduces the device 30 of call loss and the communication flows of service end 40; This response time can be the response time to conversation request; These expired times can be to the expired times of conversation request response etc.The service end 40 that this business load is light, can be itself and online charging reduce device 30 communication flowss of call loss few, to the conversation request response time the short and/or service end 40 few to conversation request response timeout number of times.This Load Balance Unit 322 can be sent to the best service end of loading condition 40 with the service groups package informatin in the session and handle through detection and the selection to service end 40, can guarantee quality of the conversation, reduces the percent of call lost.For guaranteeing the integrality of above-mentioned session, the service groups package informatin of same session mails to same service end 40 only to be handled.
Above-mentioned selection to service end 40 also can be decided by client 20.This client 20 can be selected service end 40 through the load balancing by concrete professional decision.Can carry out Business Processing according to telephone number type selecting service end 40 such as client 20.
With reference to Fig. 3 and Fig. 4, above-mentioned reduction call loss module 32 also comprises link management submodule 325, and link is detected management, and is unimpeded with the maintenance link through the maintenance to link.Wherein, said link management submodule 325 comprises emergent flow process unit 323 and/or dynamic link unit 324; Emergent flow process unit 323 can be checked and handles link, carry out in the session transmissions overtime repeating transmission, meet busy notice and/or masterslave switchover.
Above-mentioned emergent flow process unit 323 can carry out the emergent flow process of Diameter regulation.Above-mentioned overtime repeating transmission can be the expansion of on Diameter, retransmitting mode, comprises repeating transmission modes such as original link repeating transmission and the repeating transmission of congenerous link, realizes the integrality of session; Should can notify above-mentioned client 20 in emergent flow process unit 323, and make the time-out time of 20 pairs of sessions of this client do suitable adjustment, prevent the service groups package informatin that abandons session because of overtime.Above-mentioned notice to client 20 (inside story) can be carried out through sending CER (Capabilities-Exchange-Request, ability interaction message) message.
The busy notice of above-mentioned chance be when the return results of service end 40 when busy, can carry out the OCS replacement, and when notifying end, refund automatically when busy.
Above-mentioned masterslave switchover is that the service end 40 with same function is divided into one group, each other can be active and standby each other.
Communicating by letter between above-mentioned emergent flow process unit 323 and the service end 40; After can being DWR/DWA (Device-Watchdog-Request/Device-Watchdog-Answer) flow process of when link establishment, carrying out repeatedly; Just allow to send application layer messages; Prevent that nonsynchronous phenomenon from appearring in link and concrete operation flow, reduces the percent of call lost.This repeatedly can be about 3 times.
Above-mentioned dynamic link unit 324 is revised configuration and is upgraded link, allows to carry out the replacing of dynamic client 20 or service end 40.
Above-mentioned dynamic link unit 324 can be configured modification after the increase and decrease of carrying out dynamic link.This configuration modification comprises the configuration modification of relevant information and Diameter relevant information.Above-mentioned modification can be carried out the renewal of link after accomplishing, and sends message to client 20 and service end 40 then, notifies both restoring communication.This message that sends to client 20 can be the accurate message of sending out; This message that sends to service end 40 can be CER message.
With reference to Fig. 5, in another execution mode of present embodiment, the device 30 that above-mentioned online charging reduces call loss also comprises upgrading protection module 34, is used for said apparatus 30 information protection during upgrading; The reception of refusal new session before upgrading, and after the message of finishing dealing with, carry out the upgrading of said apparatus 30.
With reference to Fig. 6, above-mentioned upgrading protection module 34 comprises message sending unit 341, session detecting unit 342, chain rupture transmitting element 343 and starting and upgrading unit 344.This message sending unit 341 is sent upgrading message to above-mentioned client 20, the rejection new session; Whether this session detecting unit 342 detects session and finishes dealing with, and sends the message of finishing dealing with; This chain rupture transmitting element 343 receives the above-mentioned message of finishing dealing with, and sends chain rupture message to above-mentioned client 20 and service end 40; This starting and upgrading unit 344 receives the feedback message of above-mentioned client 20 and service end, closes said apparatus 30, upgrades.
Above-mentioned message sending unit 341 is sent upgrading message to above-mentioned client 20, notify this client 20 its will reject new session; This client 20 will be sought other network element (online charging reduces the device 30 of call loss) through heartbeat detection and communicate.Whether the session in above-mentioned session detecting unit 342 checkout gears 30 finishes dealing with; Do not accomplish if handle, can proceed to handle; If finish dealing with, above-mentioned chain rupture transmitting element 343 will send chain rupture message, and (DPR Disconnect-Peer-Request) to client 20 and service end 40, upgrades.When above-mentioned client 20 is untreated completion in the session of need update device 30, continue to send the session of being untreated and accomplishing, up to receiving the chain rupture message that this device 30 sends to this device 30; Simultaneously, this client 20 can be sent to new session the network element of other searching.Above-mentioned starting and upgrading unit 344 receive 20 pairs of above-mentioned clients and 40 pairs of DPR message of service end feedback message (DPA, Disconnect-Peer-Answer) after, close said apparatus 30 and upgrade, prevent the information dropout in the escalation process.After upgrading was accomplished, the end notification assembly 3410 of above-mentioned message sending unit 341 can send the upgrading end to above-mentioned client 20, restarts communication.
With reference to Fig. 5; In another execution mode of present embodiment; The device 30 that above-mentioned online charging reduces call loss also comprises service end protection module 35; Being used for the information protection that said service end 40 is restarted, whether have subsequent use service end 40 carry out switching services, can before restarting, control the reception of new session if detecting.
With reference to Fig. 7, above-mentioned service end protection module 35 can comprise and receiving and detecting unit 351, second transmitting element 352, second detecting unit 353 and link establishment unit 354; This receives and detecting unit 351, receives the chain rupture message (DPR) that service end 40 is sent, and detects whether subsequent use service end 40 is arranged; This second transmitting element 352 will send service end 40 and restart message to above-mentioned client 20, the rejection new session; Whether this second detecting unit 353 detects session and finishes dealing with, and sends the message of finishing dealing with; This link establishment unit 354 receives service end 40 link setup message, rebulids with service end 40 to link, and sends the message of recovering new session to client 20.
Above-mentioned reception and detecting unit 351 receive the chain rupture message (DPR) that service end 40 is sent, and detect whether subsequent use service end 40 is arranged; When subsequent use service end 40 was arranged, said apparatus 30 can directly be switched business to subsequent use service end 40; When not having subsequent use service end 40, above-mentioned second transmitting element 352 will send service end 40 and restart message to above-mentioned client 20, the rejection new session; Second detecting unit 353, whether the session in the checkout gear 30 finishes dealing with, and sends the message of finishing dealing with; The completion if be untreated then continues to detect through above-mentioned reception and detecting unit 351 whether subsequent use service end 40 is arranged; If finish dealing with, then this second detecting unit 353 will send DPA message to service end 40, and this service end 40 restarts after receiving DPA message, prevents the information dropout in the restarting process.This service end 40 will be installed 30 to this and send link setup message after being restarted completion.
After above-mentioned link establishment unit 354 receives above-mentioned link setup message, will send CER message to this service end 40, this service end 40 will be returned CEA (Capabilities-Exchange-Answer) message; Then, this link establishment unit 354 sends DWR message to service end 40 again, and this service end 40 is returned DWA message; After continuing three DWR/DWA processes, set up link.Be that this link establishment unit 354 will send the message of recovering new session and give this client 20, recover the processing of new session again.
With reference to Fig. 8; The present invention proposes the method for a kind of online charging reduction call loss of another embodiment; Be applied to comprise the client of carrying out service logic management, carry out the access device of session management and carry out in the Online Charging System of service end of accounting management that said method comprises:
Step S21, said access device receive the information that client is sent;
Step S22, the conversation message in the said information is identified with differentiating sessions the guild's words management of going forward side by side;
Step S23, and will identify and manage after conversation message be sent to service end.
Of above-mentioned step S21, this client can load and control service logic, and business information is packaged and identifies; This client can load one or more at least service logics, control practical business flow process, business functions such as completion is deducted fees, authentication; And issue above-mentioned access device after each service logic information group bag, sign (for identification code of each traffic assignments) distinguished.And this client also can be managed the link between itself and the access device; The customized adopted intercommunication mechanism of this client is filtered non-loaded with traffic, encrypt concrete business information (giving the information distribution password) and detection link activity state (employing heartbeat detection).
Of above-mentioned step S22, above-mentioned access device can identify and manage conversation message, produces session identification.Above-mentioned information can comprise conversation message etc.Above-mentioned session management can comprise load balancing etc., the service logic management is separated with session management carry out, to reduce call loss.
Above-mentioned load balancing is meant that above-mentioned access device can be through detecting the business load situation of its service end that connects (a plurality of service end), according to business load situation assign sessions to the respective service end.So can give the light service end of business load with new session message priority allocation.The service end that this business load is light can be that itself and access device communication flows are few, short and/or to the few service end of conversation request response timeout number of times to the conversation request response time.This access device can be sent to the best service end of loading condition with the service groups package informatin in the session and handle through detection and the selection to service end, can guarantee quality of the conversation, reduces the percent of call lost.For guaranteeing the integrality of above-mentioned session, the service groups package informatin of same session mails to same service end only to be handled.
Of above-mentioned step S23, the session that said access device will pass through after the load balance process sends to service end, carries out accounting processing.
With reference to Fig. 9, in an execution mode of present embodiment, comprise before the said step S23:
Step S24, link is detected and maintenance management.
Of above-mentioned step S24, above-mentioned access device can also detect the link of access device and service end and maintenance management; Said detection and maintenance management to link comprises contingency management, link configuration and detection etc., reduces call drop.
Contingency management is meant that above-mentioned access device can check and handle the link of itself and service end, carry out in the session transmissions overtime repeating transmission, meet busy notice and/or masterslave switchover.
This access device can carry out the emergent flow process of Diameter regulation.Above-mentioned overtime repeating transmission can be the expansion of on Diameter, retransmitting mode, comprises repeating transmission modes such as original link repeating transmission and the repeating transmission of congenerous link, realizes the integrality of session; This access device can be notified above-mentioned client, makes this client do suitable adjustment to the time-out time of session, prevents the service groups package informatin that abandons session because of overtime.Above-mentioned notice to client can be carried out through sending CER message.The busy notice of above-mentioned chance be when the return results of service end when busy, can carry out the OCS replacement, and when notifying end, refund automatically when busy.Above-mentioned masterslave switchover is that the service end with same function is divided into one group, each other can be active and standby each other.
Communicating by letter between above-mentioned access device and the service end, can be the DWR/DWA flow process of when link establishment, carrying out repeatedly after, just allow to send application layer messages, prevent that nonsynchronous phenomenon from appearring in link and concrete operation flow, reduces the percent of call lost.This repeatedly can be about 3 times.
Above-mentioned link configuration and detection are meant that above-mentioned access device can revise configuration and upgrade link, allow to carry out the replacing of dynamic client or service end.This access device can be configured modification after the increase and decrease of carrying out dynamic link.This configuration modification comprises the configuration modification of relevant information and Diameter relevant information.Above-mentioned modification can be carried out the renewal of link after accomplishing, and sends message to client and service end then, notifies both restoring communication.This message that sends to client can be the accurate message of sending out; This message that sends to service end can be CER message.
With reference to Figure 10, the present invention proposes the system of a kind of online charging reduction call loss of another embodiment, and client 20 and service end 40 that it comprises online charging also comprise the access device 50 that carries out session control; Above-mentioned client 20 is carried out control and management to service logic; Above-mentioned access device 50 is connected communication, interactive information with above-mentioned client 20 and service end 40 respectively; Receive the information that this client 20 transmits, wherein conversation message is identified with differentiating sessions the guild's words management of going forward side by side; Above-mentioned service end receives said conversation message and carries out accounting management.
But above-mentioned access device 50 handle link maintenances, session control and interface conversion etc.The client 20 and the access device 50 of online charging can use self-defining inside story interface, partable on the physical connection.Above-mentioned client 20 can be any access service end 40 that needs and carries out the business control client 20 that online charging is handled.Above-mentioned access device 50 and service end 40 all can be provided with a plurality of, and the quantity of above-mentioned client 20 can be decided according to the maximum load of this access device 50 and service end 40.
Above-mentioned access device 50 can be service logic control and conversation maintaining separate management, through equipment redundancy, dynamic load feedback, overtime repeating transmission, link is unusual and meet mechanism such as busy notice and protect service message safety.
With reference to Figure 11, in an execution mode of present embodiment, above-mentioned client 20 can comprise service logic control module 21 and first communication module 22; This service logic control module 21 loads and the control service logic, and business information is packaged and identifies; This first communication module 22 is connected communication with above-mentioned service logic control module 21 and access device 50 respectively, carries out information interaction.
Above-mentioned service logic control module 21 is used for loading one or more at least service logics, may command practical business flow process, business functions such as completion is deducted fees, authentication; And issue first communication module 22 after each service logic information group bag, sign (for identification code of each traffic assignments) distinguished.
But the link between above-mentioned first communication module 22 administrative clients 20 and the access device 50; When a plurality of access device 50 is arranged, can realize the redundancy of multiple access equipment 50, and with access device 50 between communicate by letter.Customized adopted intercommunication mechanism in this first communication module 22 is filtered non-loaded with traffic, encrypt concrete business information (giving the information distribution password) and detection link activity state (employing heartbeat detection).
Above-mentioned access device 50 comprises intercommunication module 51, reduces call loss module 52 and external communication module 53; This intercommunication module 51 is connected communication with the first communication module 22 of above-mentioned client 20, carries out information interaction; This reduces call loss module 52, receives the information that above-mentioned intercommunication module 51 transmits, and wherein conversation message is identified to produce session identification the guild's words management of going forward side by side; This external communication module 53 is connected communication with above-mentioned reduction call loss module 52 and service end 40 respectively, carries out information interaction.
With reference to Figure 12 and 13, above-mentioned reduction call loss module 52 comprises session identification unit 521, Load Balance Unit 522, link management submodule 525; This session identification unit 521 identifies generation session identification, differentiating sessions to conversation message; This Load Balance Unit 522 detects the business load situation of above-mentioned service end 40, and carries out session according to this business load situation and distribute; Above-mentioned business load situation comprises service traffics, response time and/or expired times; This link management submodule 525 comprises emergent flow process unit 523 and/or dynamic link unit 524, and this emergent flow process unit 523 is checked and handled link, carry out in the session transmissions overtime repeating transmission, meet busy notice and/or masterslave switchover; This dynamic link unit 524 is revised configuration and is upgraded link, allows to carry out the replacing of dynamic client 20 or service end 40.
In another execution mode of present embodiment, above-mentioned access device 50 also comprises upgrading protection module 54 with reference to Figure 14, is used for above-mentioned access device 50 information protection during upgrading; The reception of refusal new session before upgrading, and after the message of finishing dealing with, carry out the upgrading of above-mentioned access device 50.This upgrading protection module 54 comprises message sending unit 541, session detecting unit 542, chain rupture transmitting element 543 and starting and upgrading unit 544.(with reference to Figure 15)
In escalation process, the handling process of above-mentioned access device 50 is (with reference to Figure 16):
Steps A, send upgrading message to client 20;
Earlier send upgrading message to above-mentioned client 20 by above-mentioned message sending unit 541, notify this client 20 its will reject new session.
Whether step B, detection have the session of being untreated;
Whether the session in 542 pairs of above-mentioned access devices 50 of above-mentioned session detecting unit finishes dealing with; Do not accomplish if handle, carry out step B1; Otherwise, carry out step B2.
Step B1, above-mentioned access device 50 can be proceeded session and handle, and finish dealing with until session;
Step B2, transmission DPR message are upgraded to client 20 and service end 40;
Send DPR message to client 20 and service end by above-mentioned chain rupture transmitting element 543,, start upgrading by above-mentioned starting and upgrading unit 544 with this client 20 and service end break link.
Step C, transmission upgrading end to client 20;
End notification assembly 5410 by above-mentioned message sending unit 541 sends upgrading end to client 20, notifies the upgrading of its access device 50 to finish.
In escalation process, the handling process of above-mentioned client 20 is (with reference to Figure 17):
The upgrading message that step D, the above-mentioned access device 50 of reception send is utilized the access device 50 that heartbeat detection is sought has heartbeat in addition;
Step e, judge the session that receives whether be new session, in this way, carry out step e 1; Otherwise, carry out step e 2;
Step e 1, the access device 50 that session is sent to searching are handled;
Step e 2, session is sent to the access device 50 that needs upgrading continue to handle;
Step F, judge whether to receive the DPR message that above-mentioned access device 50 sends; Carry out step F 1 in this way, otherwise carry out step F 2;
The link of the access device 50 of step F 1, disconnection and need upgrading returns DPA message, carries out step F 11;
Step F 11, the access device 50 that session is sent to searching is handled;
Step F 2, judge whether to receive the upgrading end, in this way, carry out step G; Otherwise return step F 11;
Step G, return feedback message, refund the access device 50 that upgrading accomplishes and communicate.
With reference to Figure 14; In another execution mode of present embodiment, above-mentioned access device 50 also comprises service end protection module 55, is used for the information protection that said service end 40 is restarted; Whether have subsequent use service end 40 carry out switching services, can before restarting, control the reception of new session if detecting.This service end protection module 55 can comprise and receiving and detecting unit 551, second transmitting element 552, second detecting unit 553 and link establishment unit 554.(with reference to Figure 18)
In the process that service end 40 is restarted, the handling process of above-mentioned service end 40 is (with reference to Figure 19):
Step a, when restarting, send the DPR message to access device 50; The reason of this DPR message (Casue) can be written as Rebooting;
Step b, receive the DPA message that access device 50 sends, restart;
The CER message that step c, reception access device 50 send is sent CEA message to this access device 50;
3 DWR message that steps d, reception access device 50 send are sent 3 DWA message to this access device 50, set up with this access device 50 to link.
In the process that service end 40 is restarted, the handling process of above-mentioned access device 50 is (with reference to Figure 20):
Step e, this access device 50 receive the DPR message that above-mentioned service end 40 is sent;
Receive the DPR message that above-mentioned service end 40 is sent by above-mentioned reception and detecting unit 551.
Step f, judge whether subsequent use service end 40; In this way, carry out step f1; Otherwise, carry out step f2;
Above-mentioned reception and detecting unit 551 detect this access device 50 and whether are connected with subsequent use service end 40 after receiving this DPR message.
Step f1, send service ends to client 20 and restart message, the rejection new session;
Send service end by above-mentioned second transmitting element 552 and restart message to client 20, notice client 20 rejection new sessions.
Step f2, switch to subsequent use service end 40 and handle;
Whether step g, detection have session to be untreated; In this way, return step f; Otherwise, carry out step g 1;
Detect in this access device 50 whether also have untreated session by above-mentioned second detecting unit 553.
Step g 1, transmission DPA message make service end 40 carry out step b to service end 40;
Step h, this access device 50 send CER message to service end 40, will carry out step c if service end 40 is restarted completion, and this access device 50 can receive the CEA message that service end 40 is returned;
This access device 50 sends CER message through above-mentioned link establishment unit 554 to service end 40, confirms communication capacity.
Step I, this access device 50 send 3 DWR message to service end 40, and receive 3 DWA message that service end 40 is returned, and set up with service end 40 to link; And send and recover message to client 20, recover to receive new session.
This access device 50 is set up with service end 40 through above-mentioned link establishment unit 554 and is linked, and notice client 20 is recovered the new session reception.
In the process that service end 40 is restarted, the handling process of above-mentioned client 20 is (with reference to Figure 21):
The service end that step j, reception access device 50 send is restarted message, the rejection new session;
Session is not accomplished in step k, processing;
The recovery message that step l, reception access device 50 send recovers to receive new session.
With reference to Figure 22; The present invention proposes the method for a kind of online charging reduction call loss of another embodiment; Be applied to comprise the client of carrying out service logic management, carry out the access device of session management and carry out in the Online Charging System of service end of accounting management that said method comprises:
Step S10, service logic is controlled through above-mentioned client;
Step S11, the conversation message in the said client transmission information is identified with differentiating sessions the guild's words management of going forward side by side through above-mentioned access device.
Of above-mentioned step S10, this client can load and control service logic, and business information is packaged and identifies; This client can load one or more at least service logics, control practical business flow process, business functions such as completion is deducted fees, authentication; And issue above-mentioned access device after each service logic information group bag, sign (for identification code of each traffic assignments) distinguished.And this client also can be managed the link between itself and the access device; The customized adopted intercommunication mechanism of this client is filtered non-loaded with traffic, encrypt concrete business information (giving the information distribution password) and detection link activity state (employing heartbeat detection).
Of above-mentioned step S11, above-mentioned access device can identify and manage conversation message, produces session identification.Above-mentioned information can comprise conversation message etc.Above-mentioned session management can comprise load balancing etc., the service logic management is separated with session management carry out, to reduce call loss.
Above-mentioned access device can also detect the link of access device and service end and maintenance management; Said detection and maintenance management to link comprises contingency management, link configuration and detection etc.
Above-mentioned load balancing is meant that above-mentioned access device can be through detecting the business load situation of its service end that connects (a plurality of service end), according to business load situation assign sessions to the respective service end.So can give the light service end of business load with new session message priority allocation.The service end that this business load is light can be that itself and access device communication flows are few, short and/or to the few service end of conversation request response timeout number of times to the conversation request response time.This access device can be sent to the best service end of loading condition with the service groups package informatin in the session and handle through detection and the selection to service end, can guarantee quality of the conversation, reduces the percent of call lost.For guaranteeing the integrality of above-mentioned session, the service groups package informatin of same session mails to same service end only to be handled.
Above-mentioned access device can also detect the link of access device and service end and maintenance management; Said detection and maintenance management to link comprises contingency management, link configuration and detection etc., can reduce call drop.
Contingency management is meant that above-mentioned access device can check and handle the link of itself and service end, carry out in the session transmissions overtime repeating transmission, meet busy notice and/or masterslave switchover.
This access device can carry out the emergent flow process of Diameter regulation.Above-mentioned overtime repeating transmission can be the expansion of on Diameter, retransmitting mode, comprises repeating transmission modes such as original link repeating transmission and the repeating transmission of congenerous link, realizes the integrality of session; This access device can be notified above-mentioned client, makes this client do suitable adjustment to the time-out time of session, prevents the service groups package informatin that abandons session because of overtime.Above-mentioned notice to client can be carried out through sending CER message.The busy notice of above-mentioned chance be when the return results of service end when busy, can carry out the OCS replacement, and when notifying end, refund automatically when busy.Above-mentioned masterslave switchover is that the service end with same function is divided into one group, each other can be active and standby each other.
Communicating by letter between above-mentioned access device and the service end, can be the DWR/DWA flow process of when link establishment, carrying out repeatedly after, just allow to send application layer messages, prevent that nonsynchronous phenomenon from appearring in link and concrete operation flow, reduces the percent of call lost.This repeatedly can be about 3 times.
Above-mentioned link configuration and detection are meant that above-mentioned access device can revise configuration and upgrade link, allow to carry out the replacing of dynamic client or service end.This access device can be configured modification after the increase and decrease of carrying out dynamic link.This configuration modification comprises the configuration modification of relevant information and Diameter relevant information.Above-mentioned modification can be carried out the renewal of link after accomplishing, and sends message to client and service end then, notifies both restoring communication.This message that sends to client can be the accurate message of sending out; This message that sends to service end can be CER message.
With reference to Figure 23, can comprise behind the above-mentioned steps S10:
Step 100, the heartbeat detection through above-mentioned client are to carrying out choosing of access device.
Of above-mentioned step S100, when a plurality of access device is arranged, can realize redundancy to multiple access equipment, utilize the heartbeat detection mode that these a plurality of access devices are chosen.
With reference to Figure 24, can comprise behind the above-mentioned steps S11:
Step S110, through the protection of upgrading of above-mentioned access device.
Of above-mentioned step S110, above-mentioned upgrading protection flow process can be: at first send upgrading message to above-mentioned client by above-mentioned access device, notify this client its will reject new session; This client will be sought other network element (access device) through heartbeat detection and communicate.Then, whether the above-mentioned access device detection session that needs to upgrade finishes dealing with; Do not accomplish if handle, this access device can be proceeded to handle; If finish dealing with, it will send DPR message to client and service end, upgrade.When above-mentioned client is untreated completion in the session of access device, continue to send the session of being untreated and accomplishing, up to receiving the chain rupture message that this access device sends to this access device; Simultaneously, this client can be sent to new session the network element of other searching.The access device that needs upgrading receive above-mentioned client to and the feedback message (DPA) of service end to DPR message after, close above-mentioned access device and upgrade, prevent the information dropout in the escalation process.At last, after upgrading was accomplished, the access device that upgrading is accomplished can send the upgrading end to above-mentioned client, restarts communication.
Also can comprise behind the above-mentioned steps S11:
Step S111, carry out service end through above-mentioned access device and restart protection.
Of above-mentioned step S111, above-mentioned service end is restarted the protection flow process and can be: this service end was being restarted forward direction access device transmission chain rupture message before this.Detect whether subsequent use service end is arranged after the chain rupture message that this access device reception service end is sent; When subsequent use service end was arranged, this access device can directly be switched business to subsequent use service end; When not having subsequent use service end, this access device will send service end restarts message to above-mentioned client, the rejection new session; And whether this access device can detect its session and finish dealing with, if be untreated completion, then continues to detect whether subsequent use service end is arranged; If finish dealing with, then will send DPA message to service end, this service end restarts after receiving DPA message, prevents the information dropout in the restarting process.This service end will be sent link setup message to this access device after restarting completion.
After above-mentioned access device receives above-mentioned link setup message, will send CER message to this service end, this service end will be returned CEA message; Then, this access device sends DWR message to service end again, and this service end is returned DWA message; After continuing three DWR/DWA processes, set up link.Be that this access device will send and recover message to this client, recover the processing of new session again.
The above is merely the preferred embodiments of the present invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (8)
1. upgrade protecting method; It is characterized in that; Upgrading to the access device in the Online Charging System is protected; Said system comprises the client of carrying out service logic management, carries out the access device of session management and the service end of carrying out accounting management, and said upgrade protecting method comprises step:
Send upgrading message to client, notify this client rejection new session;
Detect in the access device whether the session of being untreated is arranged; When completion is untreated in the session of said access device, then proceed session and handle, finish dealing with until session; After the session of said access device is finished dealing with, send the message of finishing dealing with and upgrade.
2. upgrade protecting method according to claim 1 is characterized in that, said upgrade protecting method also comprises step:
According to the said message of finishing dealing with, send chain rupture message to client and service end.
3. upgrade protecting method according to claim 2 is characterized in that, said upgrade protecting method also comprises step:
Receive the feedback message of said client and service end, close said access device, upgrade.
4. upgrade protecting method according to claim 3 is characterized in that, said upgrade protecting method also comprises step:
Send upgrading and accomplish message to client and service end, the notice upgrading finishes.
5. upgrading protective device; It is characterized in that; Upgrading to the access device in the Online Charging System is protected, and said system comprises the client of carrying out service logic management, carries out the access device of session management and the service end of carrying out accounting management, and said upgrading protective device comprises:
The upgrading protection module is used for the information protection during upgrading of said access device; The reception of refusal new session before upgrading, and after the message of finishing dealing with, carry out the upgrading of said access device;
Said upgrading protection module specifically comprises:
Message sending unit is sent upgrading message to said client, the rejection new session;
The session detecting unit detects in the access device whether the session of being untreated is arranged; When completion is untreated in the session of said access device, then proceed session and handle, finish dealing with until session; After the session of said access device is finished dealing with, send the message of finishing dealing with and upgrade.
6. upgrading protective device according to claim 5 is characterized in that, said upgrading protection module also comprises:
The chain rupture transmitting element receives the said message of finishing dealing with, and sends chain rupture message to said client and service end.
7. upgrading protective device according to claim 6 is characterized in that, said upgrading protection module also comprises:
The starting and upgrading unit receives the feedback message of said client and service end, closes said access device, upgrades.
8. upgrading protective device according to claim 7 is characterized in that, said message sending unit comprises:
The end notification assembly sends upgrading and accomplishes message to client and service end, and the notice upgrading finishes.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910190255 CN101662390B (en) | 2009-09-24 | 2009-09-24 | Upgrade protecting method and device thereof |
PCT/CN2010/075239 WO2011035639A1 (en) | 2009-09-24 | 2010-07-19 | Method and apparatus for upgrade protection |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910190255 CN101662390B (en) | 2009-09-24 | 2009-09-24 | Upgrade protecting method and device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101662390A CN101662390A (en) | 2010-03-03 |
CN101662390B true CN101662390B (en) | 2012-10-10 |
Family
ID=41790196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910190255 Active CN101662390B (en) | 2009-09-24 | 2009-09-24 | Upgrade protecting method and device thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101662390B (en) |
WO (1) | WO2011035639A1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101662390B (en) * | 2009-09-24 | 2012-10-10 | 中兴通讯股份有限公司 | Upgrade protecting method and device thereof |
CN101697517B (en) * | 2009-09-24 | 2012-06-06 | 中兴通讯股份有限公司 | Device, system and method for reducing call loss in on-line billing |
CN102710433B (en) | 2012-04-28 | 2015-11-25 | 华为技术有限公司 | A kind of online upgrading processing method, relevant apparatus and system |
CN105897450B (en) * | 2015-01-06 | 2020-02-04 | 阿尔卡特朗讯 | Method and apparatus for Diameter connection management |
CN107508848A (en) * | 2016-06-14 | 2017-12-22 | 中兴通讯股份有限公司 | Session method for handover control, device and access point apparatus |
CN111526409B (en) * | 2020-04-26 | 2022-03-11 | 海信视像科技股份有限公司 | Display device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1356812A (en) * | 2002-01-08 | 2002-07-03 | 广东省电信科学技术研究院 | Distributed authentication/charge server system and its implementation method |
CN101105756A (en) * | 2007-08-21 | 2008-01-16 | 中兴通讯股份有限公司 | Multi-core terminal firmware upgrading method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100542103C (en) * | 2006-10-25 | 2009-09-16 | 华为技术有限公司 | A kind of method of hot upgrade of network processor and device |
CN101212532B (en) * | 2006-12-30 | 2010-05-19 | 中国电信股份有限公司 | Combined billing system and method |
CN101662390B (en) * | 2009-09-24 | 2012-10-10 | 中兴通讯股份有限公司 | Upgrade protecting method and device thereof |
-
2009
- 2009-09-24 CN CN 200910190255 patent/CN101662390B/en active Active
-
2010
- 2010-07-19 WO PCT/CN2010/075239 patent/WO2011035639A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1356812A (en) * | 2002-01-08 | 2002-07-03 | 广东省电信科学技术研究院 | Distributed authentication/charge server system and its implementation method |
CN101105756A (en) * | 2007-08-21 | 2008-01-16 | 中兴通讯股份有限公司 | Multi-core terminal firmware upgrading method |
Also Published As
Publication number | Publication date |
---|---|
CN101662390A (en) | 2010-03-03 |
WO2011035639A1 (en) | 2011-03-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101662390B (en) | Upgrade protecting method and device thereof | |
CN101401352B (en) | A method and system for accounting access by users to data networks | |
CN101208943A (en) | Controlling provision of services in a communications network | |
CN1659910A (en) | System and method for packet data serving node load balancing and fault tolerance | |
CN101783846A (en) | Charging service processing method and charging gateway | |
CN103685461A (en) | Cluster management device, system and method | |
EP3556052B1 (en) | Online charging mechanism during ocs non-responsiveness | |
CN103442394A (en) | Method and device for controlling network capacity | |
CN101022454B (en) | Interentity auditing method and system | |
CN101170482B (en) | Method for realizing SPC activation/deactivation via control plane in ASON network | |
CN102647697A (en) | Charging control method and device | |
CN102612164A (en) | Method, device and system for releasing resource after network element restart | |
CN101697517B (en) | Device, system and method for reducing call loss in on-line billing | |
US7194654B2 (en) | Communications system for and method of recovering from communications failure | |
CN101695049A (en) | Method and device for processing businesses in monitoring system | |
CN101594602B (en) | Method and system for realizing cross-protocol failover | |
CN101110679A (en) | Charging process protection method, system and business control point of on-line accounting system | |
CN106454788A (en) | Method, system and device for realizing online charging | |
CN102281580A (en) | M2M system and service processing method thereof | |
US6954631B2 (en) | Apparatus and method for telecommunications services | |
CN102149216B (en) | Activation processing method and device | |
EP3944645B1 (en) | Charging method, apparatus and system, and computer readable storage medium | |
CN100499500C (en) | Method for realizing management for multistage communication device | |
CN109040991A (en) | The method and apparatus of wireless communication | |
CN101771904B (en) | Method and system for carrying out service maintenance in smart optical 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |