CN101431436B - Method and apparatus for signaling message transmission through Q.921 link - Google Patents
Method and apparatus for signaling message transmission through Q.921 link Download PDFInfo
- Publication number
- CN101431436B CN101431436B CN2008101846002A CN200810184600A CN101431436B CN 101431436 B CN101431436 B CN 101431436B CN 2008101846002 A CN2008101846002 A CN 2008101846002A CN 200810184600 A CN200810184600 A CN 200810184600A CN 101431436 B CN101431436 B CN 101431436B
- Authority
- CN
- China
- Prior art keywords
- link
- processing module
- module
- signaling processing
- current
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention discloses a method to transmit signaling message through link Q.921 and a device thereof, to improve security of transmitting signaling message through link Q.921. The method of transmitting signaling message through link Q.921 provided in the invention comprising the following procedures: detecting work status of current link Q.921 in the process of transmitting signaling message through current link Q.921; switching current signaling message that need to be transmitted to the other link Q.921 for transmission utilizing value of state variable saved in signaling processing module corresponding to link Q.921 when fault confirmed in current link Q.921. Security of transmitting signaling message through link Q.921 is improved by using link Q.921 for signaling message transmission.
Description
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of Q.921 method and device of link transmission signaling message of passing through.
Background technology
Integrated Service Digital Network is the digitlization telecommunications network that is formed by Digital Transmission and digital exchange, and the link layer of ISDN agreement adopts Q.921 link transmission signaling message.
Use link Q.921 to insert (PRA) agreement as the cluster speed that comprises of data link.When Q.921 the PRA protocol interface uses the link transmission signaling message; Article one, the PRA signaling link have only one Q.921 link be used for signaling message transmission; There is not protection mechanism to this signaling link; When the signaling processing module of WMG (MG) breaks down and causes this Q.921 link breaks down, just can cause service disconnection.
In sum and since in the prior art PRA signaling link have only one Q.921 link be used for signaling message transmission, cause service disconnection easily, so prior art adopts the reliability of link transmission signaling message Q.921 relatively poor.
Summary of the invention
The embodiment of the invention provides a kind of Q.921 method and device of link transmission signaling message of passing through, and passes through the Q.921 reliability of link transmission signaling message in order to improve.
The embodiment of the invention provides a kind ofly comprises through the method for link transmission signaling message Q.921:
In the process that adopts current Q.921 link transmission signaling message, regularly detect the operating state of current Q.921 link;
Current Q.921 when link breaks down when confirming, removes the signaling processing module of current Q.921 link correspondence and the semi-permanent connection of E1/T1 Interface module;
The value of accepting state variable, send state variable and the affirmation state variable of storing in the signaling processing module that current Q.921 link is corresponding is synchronized in the new signaling processing module;
New signaling processing module and E1/T1 Interface module are set up semi-permanent connection, obtain new Q.921 link;
According to first RR frame that receives from new Q.921 link or I frame signaling message, upgrade the value of accepting state variable, send state variable and the affirmation state variable of new signaling processing module storage;
Adopt new Q.921 link as current Q.921 link transmission signaling message.
The embodiment of the invention provides a kind ofly comprises through the device of link transmission signaling message Q.921:
Upper application module is used for regularly detecting the operating state of current Q.921 link, and is current Q.921 when link breaks down when confirming, the notification transmission signalling module;
The command transmitting module comprises with lower module:
Be used for when confirming currently Q.921 when link breaks down, remove the module of semi-permanent connection of signaling processing module and the E1/T1 Interface module of current Q.921 link correspondence;
The value that is used for accepting state variable, send state variable and affirmation state variable that the signaling processing module that current Q.921 link is corresponding stores is synchronized to the module in the new signaling processing module;
Be used for new signaling processing module and E1/T1 Interface module are set up semi-permanent connection, obtain the module of new Q.921 link;
Be used for according to first RR frame or the I frame signaling message that receive from new Q.921 link, upgrade the module of the value of accepting state variable, send state variable and affirmation state variable that new signaling processing module stores;
Be used to adopt the module of new Q.921 link as current Q.921 link transmission signaling message.
The embodiment of the invention through in the process that adopts current Q.921 link transmission signaling message, regularly detects the operating state of current Q.921 link; Current Q.921 when link breaks down when confirming; Adopt another Q.921 link as current Q.921 link transmission signaling message; Thereby realized when one Q.921 link breaks down; Can switch to another subsequent use Q.921 link and continue signaling message transmission, avoid service disconnection, improve the Q.921 reliability of link transmission signaling message.
Description of drawings
A kind of Q.921 structural representation of the device of link transmission signaling message that passes through that Fig. 1 provides for the embodiment of the invention;
A kind of Q.921 schematic flow sheet of the group method of link transmission signaling message that passes through that Fig. 2 provides for the embodiment of the invention;
A kind of Q.921 schematic flow sheet of the concrete grammar of link transmission signaling message that passes through that Fig. 3 provides for the embodiment of the invention;
A kind of current Q.921 workflow sketch map when link is in running order that Fig. 4 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of Q.921 method and device of link transmission signaling message of passing through, and passes through the Q.921 reliability of link transmission signaling message in order to improve.
The present invention is provided with at least two signaling processing modules in advance; Be used to set up Q.921 link; These signaling processing modules signaling processing module that backups each other; When set up through signaling processing module Q.921 link breaks down the time, the Q.921 link that can adopt another signaling processing module to set up continues signaling message transmission, thereby improves through the reliability of link transmission signaling message Q.921.
Below in conjunction with accompanying drawing the technical scheme that the embodiment of the invention provides is described.
Referring to Fig. 1, the embodiment of the invention provides a kind ofly comprises through the device of link transmission signaling message Q.921:
Upper application module 11 is used for regularly detecting the operating state of current Q.921 link, and is current Q.921 when link breaks down when confirming, notification transmission signalling module 12.
Preferably, command transmitting module 12 comprises: administration module 121, main with signaling processing module 122, E1/T1 Interface module 123 and subsequent use signaling processing module 124.
Need to prove that the embodiment of the invention is not limited to two subsequent use each other signaling processing modules,, be suitable for the technical scheme that the embodiment of the invention provides equally for more subsequent use each other signaling processing module.
So-called semi-permanent connection, be with forever continue corresponding, semi-permanent connection refer between the circuit continuing fixing after, can also remove or rebulid and continue through revising methods such as data configuration.
Main with signaling processing module 122, be used for control according to administration module 121, set up semi-permanent connection with E1/T1 Interface module 123, obtain mainly with link Q.921, and adopt and should mainly use Q.921 link as current Q.921 link transmission signaling message; And, according to the control of administration module 121, remove and should mainly use Q.921 link, and the value that will lead with the state variable that Q.921 link is corresponding sends to subsequent use signaling processing module 124.
Subsequent use signaling processing module 124 is used for the control according to administration module 121, sets up semi-permanent connection with E1/T1 Interface module 123, obtains subsequent use Q.921 link, and adopts this subsequent use Q.921 link as current Q.921 link transmission signaling message; And, according to the control of administration module 121, remove this subsequent use Q.921 link, and the value of will this subsequent use Q.921 link corresponding state variable sends to main with signaling processing module 122.
Main foundation with the semi-permanent connection between signaling processing module 122 or subsequent use signaling processing module 124 and the E1/T1 Interface module 123 specifically comprises: through the data configuration on the configuration interface; Can know the signaling processing module that to set up semi-permanent connection and the information of E1/T1 Interface module; This information is kept in the database;, upper application module 11 notice administration modules 121 (comprise in this notice) when carrying out semi-permanent connection specifically to carrying out the explanation of semi-permanent connection between any piece signaling processing module (main) and the E1/T1 Interface module 123 with signaling processing module 122 or subsequent use signaling processing module 124; Administration module 121 is according to the announcement information from upper application module 11; In database, find the signaling processing module that need carry out semi-permanent connection and the details of E1/T1 Interface module 123; Comprise unit, subelement, time slot, HW (HIGH WAY) number or the like; Couple together corresponding signaling processing module and E1/T1 Interface module 123 then, semi-permanent connection is accomplished.
When initial, main is to confirm the active and standby relation of using through competition with signaling processing module 122 and subsequent use signaling processing module 124.
Preferably, upper application module 11 comprises:
The active and standby identifying unit of using; Be used for sending detect-message to main with signaling processing module 122 and subsequent use signaling processing module 124 simultaneously; The signaling processing module of the response message that returns detect-message is at first used signaling processing module as main, with another signaling processing module as subsequent use signaling processing module; And the control of notice administration module 121 adopts the main main link of setting up with signaling processing module 122 of using Q.921 as current Q.921 link.
Fault detection module is used for regularly detecting the operating state of current Q.921 link, and is current Q.921 when link breaks down when confirming, 121 controls of notice administration module adopt another Q.921 link as current Q.921 link.Wherein, described current Q.921 link is the main Q.921 link of setting up with signaling processing module 122, perhaps is the Q.921 link that subsequent use signaling processing module 124 is set up.
Main use signaling processing module 122 in the embodiment of the invention is mutually redundant two signaling processing modules with subsequent use signaling processing module 124; When wherein signaling processing module and E1/T1 Interface plate are set up semi-permanent connection; When carrying Q.921 link data; An other signaling processing module is used for backup, and when the signaling processing module that carries data broke down, the signaling processing module of backup and E1/T1 Interface plate were set up semi-permanent connection; In order to continuing to carry Q.921 link data, thereby the assurance business is not interrupted.
Preferably, the master in the embodiment of the invention is identical with the structure of subsequent use signaling processing module 124 with signaling processing module 122, and arbitrary signaling processing module comprises:
Set up the link unit, be used for control, set up semi-permanent connection, obtain Q.921 link with E1/T1 Interface module 123 according to administration module 121, and adopt this Q.921 link as current Q.921 link transmission signaling message.
Remove the link unit, be used for control, remove current Q.921 link, and the value of the accepting state variable V (R) of self storing, send state variable V (S) and affirmation state variable V (A) is sent to another signaling processing module according to administration module 121.
Set up new link unit; Be used for control, obtain the value of V (R), V (S) and V (A), and set up semi-permanent connection with the E1/T1 Interface module from another signaling processing module according to administration module 121; Obtain new Q.921 link; Through from this first RR frame or I frame signaling message of receiving of link Q.921, upgrade the value of V (R), V (S) and the V (A) of self storage, adopt this new Q.921 link as current Q.921 link transmission signaling message then.
Wherein, the sequence number of the I frame of the next sequential queue of above-mentioned accepting state variable V (R) expression hope reception; V (R) can get 0 to the interior value of n-1 scope; Whenever receive that V (R) just added 1 when the N that sends sequence number (S) equaled the I frame of zero defect sequential queue of V (R).
The sequence number of the next I frame that will send of send state variable V (S) expression; V (S) can get 0 to the interior arbitrary value of n-1 scope; Continuous I frame of every transmission, V (S) value just adds 1, but it is worth big k than V (A) at most; K is the number of I frame to be confirmed, 1<=k<=127.
Confirm that state variable V (A) is used to discern the most last frame [V (A)-1 equals the N (S) of the last I frame of confirming] by its similar affirmation; V (A) can get 0 to the interior arbitrary value of n-1 scope; The value of V (A) should be upgraded according to similar effective Receive sequence number N (R) value received from it; Effectively N (R) value refers to the value in V (A)<=N (R)<=V (S) scope.
The N (S) that sends sequence number promptly sends sending sequence number of I frame, has only the I frame to have N (S), specifies when being used to send when the I of sequential queue frame, make N (S) value equal V (S) value.
Receive sequence number N (R), desirable next receive sending sequence number of I frame, all I frames with keep watch on frame and all have N (R), when giving directions the frame that sends the above-mentioned type again, make N (R) value equal V (R).Data link layer entity that this N (R) is sent in N (R) expression has correctly received whole I frames that sequence number is less than or equal to N (R)-1.
After subsequent use signaling processing module has received and has stored V (R), V (S) and V (A) value of another signaling processing module transmission; Link state machine in this subsequent use signaling processing module SBR of moving into needs to upgrade the value of V (R), V (S) and the V (A) of self storage; The new Q.921 link of having set up does not send any signaling message under this state, receive only the other side's signaling message.When receive first normal message from the other side after; According to N that sends sequence number (S) in this message and Receive sequence number N (R); Revise V (S), V (A) and the V (R) of local link state machine, set up state to the link state machine multiframe of moving into then, begin normal signaling message transmitting-receiving.
Described link state machine is the state machine that the Q.921 entity that on signaling processing module, moves is safeguarded; During the transmitting-receiving signaling message; Need carry out different processing through this link state machine, all be provided with link state machine on the primary, spare signaling processing module.
Described normal message is meant signaling message (I frame) and the heartbeat message (RR frame) when the link operate as normal, received.Do not comprise the Q.921 maintain message of Link State, as put asynchronous balanced mode extended and order (SABME), cut off and order (DISC), cut-out mode to respond message such as (DM).
Below in conjunction with accompanying drawing the method that the embodiment of the invention provides is described.
Referring to Fig. 2, the embodiment of the invention provides a kind ofly totally comprises step through the method for link transmission signaling message Q.921:
S201, in adopting the process of current Q.921 link transmission signaling message, regularly detect the operating state of current Q.921 link.
S202, current Q.921 when link breaks down when confirming, adopt another Q.921 link as current Q.921 link transmission signaling message.
Illustrate; With ISDN Q.921 customer adaptation layer protocol (IUA) be the upper-layer service module; With database management module (DB) is administration module; Be link Q.921 with D channel link visit rules (LAPD) link, referring to Fig. 3, the embodiment of the invention provides a kind ofly specifically comprises step through the method for link transmission signaling message Q.921:
S301. configure the data of IUA and LAPD link, and be two signaling processing modules of LAPD link configuration.
The S302.IUA module is according to the LAPD link configuration data that obtain, and the LAPD process on two signaling processing modules is sent detect-message respectively, and timer T1 is set simultaneously, gets into initial condition.
S303. overtime and when not receiving as T1 from the replying of LAPD process on two signaling processing modules, continue to send detect-message.
If S304. receive the detection response message from the LAPD process of a certain signaling processing module, think that then this signaling processing module is normal, remove timer T1.
S305. this signaling processing module of mark is the main signaling processing module of using in the data field.
S306. send a notification message to the DB module, lead semi-permanent connection, obtain the main LAPD link of using with signaling processing module and E1/T1 Interface module.
S307., timer T2 is set, main with LAPD link entering operating state, main through this with LAPD link transmission signaling message.
As shown in Figure 4, be provided with timer T2 after, the workflow when in running order comprises step with the LAPD link when main:
S401. timer T2 is overtime, sends detect-message to main with the LAPD link, and timer T3 is set simultaneously.
S402. when timer T3 does not have overtime and receives the detection response message from the LAPD process, remove timer T3, and reset timer T2, main still in running order with the LAPD link.
S403. when timer T3 is overtime, remove the active link sign of current LAPD link.
S404. send a notification message to the DB module, remove former main semi-permanent connection with the LAPD link.
S405. notify subsequent use signaling processing module to become main use signaling processing module, the i.e. signaling processing module of current employing.
S406. synchronous former master leads with signaling processing module (being the said subsequent use signaling processing module of step S405) to current with the value of V (R), V (S) and the V (A) of LAPD link on the signaling processing module.
S407. send a notification message to the DB module, carry out current main semi-permanent connection, obtain the new main LAPD link of using with signaling processing module and E1/T1 Interface module.
S408., timer T2 is set, and new leading with the LAPD link gets into operating state, in this new leading with LAPD link transmitting signaling message.
In sum; The embodiment of the invention through in the process that adopts current Q.921 link transmission signaling message, regularly detects the operating state of current Q.921 link; Current Q.921 when link breaks down when confirming; Adopt subsequent use Q.921 link as current Q.921 link transmission signaling message, thereby realized when one Q.921 link breaks down, can switch to another Q.921 link continuation signaling message transmission; Avoid service disconnection, improved the Q.921 reliability of link transmission signaling message.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.
Claims (5)
1. one kind is passed through the Q.921 method of link transmission signaling message, it is characterized in that this method comprises:
In the process that adopts current Q.921 link transmission signaling message, regularly detect the operating state of current Q.921 link;
Current Q.921 when link breaks down when confirming, removes the signaling processing module of current Q.921 link correspondence and the semi-permanent connection of E1/T1 Interface module;
The value of accepting state variable, send state variable and the affirmation state variable of storing in the signaling processing module that current Q.921 link is corresponding is synchronized in the new signaling processing module;
New signaling processing module and E1/T1 Interface module are set up semi-permanent connection, obtain new Q.921 link;
According to first RR frame that receives from new Q.921 link or I frame signaling message, upgrade the value of accepting state variable, send state variable and the affirmation state variable of new signaling processing module storage;
Adopt new Q.921 link as current Q.921 link transmission signaling message.
2. method according to claim 1 is characterized in that, said current Q.921 link is for through main setting up the resulting Q.921 link of semi-permanent connection with signaling processing module and E1/T1 Interface module with predetermined; Perhaps, for through predetermined subsequent use signaling processing module and E1/T1 Interface module are set up the resulting Q.921 link of semi-permanent connection.
3. method according to claim 2 is characterized in that, confirms that in advance said main step with signaling processing module and said subsequent use signaling processing module comprises:
Dispose two signaling processing modules, and send detect-message to said two signaling processing modules simultaneously;
The signaling processing module of the response message that returns said detect-message is at first used signaling processing module as main, and another signaling processing module is as subsequent use signaling processing module.
4. one kind is passed through the Q.921 device of link transmission signaling message, it is characterized in that this device comprises:
Upper application module is used for regularly detecting the operating state of current Q.921 link, and is current Q.921 when link breaks down when confirming, the notification transmission signalling module;
The command transmitting module comprises with lower module:
Be used for when confirming currently Q.921 when link breaks down, remove the module of semi-permanent connection of signaling processing module and the E1/T1 Interface module of current Q.921 link correspondence;
The value that is used for accepting state variable, send state variable and affirmation state variable that the signaling processing module that current Q.921 link is corresponding stores is synchronized to the module in the new signaling processing module;
Be used for new signaling processing module and E1/T1 Interface module are set up semi-permanent connection, obtain the module of new Q.921 link;
Be used for according to first RR frame or the I frame signaling message that receive from new Q.921 link, upgrade the module of the value of accepting state variable, send state variable and affirmation state variable that new signaling processing module stores;
Be used to adopt the module of new Q.921 link as current Q.921 link transmission signaling message.
5. device according to claim 4 is characterized in that, said current Q.921 link is for through main setting up the resulting Q.921 link of semi-permanent connection with signaling processing module and E1/T1 Interface module with predetermined; Perhaps, for through predetermined subsequent use signaling processing module and E1/T1 Interface module are set up the resulting Q.921 link of semi-permanent connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101846002A CN101431436B (en) | 2008-12-17 | 2008-12-17 | Method and apparatus for signaling message transmission through Q.921 link |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101846002A CN101431436B (en) | 2008-12-17 | 2008-12-17 | Method and apparatus for signaling message transmission through Q.921 link |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101431436A CN101431436A (en) | 2009-05-13 |
CN101431436B true CN101431436B (en) | 2012-06-13 |
Family
ID=40646615
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101846002A Expired - Fee Related CN101431436B (en) | 2008-12-17 | 2008-12-17 | Method and apparatus for signaling message transmission through Q.921 link |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101431436B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8908504B2 (en) * | 2011-07-01 | 2014-12-09 | Qualcomm Incorporated | Pre-agreed radio link failure recovery channel sequence |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1273472A (en) * | 1999-05-10 | 2000-11-15 | 深圳市华为技术有限公司 | Maintenance and management method for user access network |
CN1466336A (en) * | 2002-07-05 | 2004-01-07 | 华为技术有限公司 | Method for realixing adaption layer procotol of ISDN user |
CN1889707A (en) * | 2006-07-05 | 2007-01-03 | 华为技术有限公司 | Method and system for realizing Q.921 chain circuit backup |
-
2008
- 2008-12-17 CN CN2008101846002A patent/CN101431436B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1273472A (en) * | 1999-05-10 | 2000-11-15 | 深圳市华为技术有限公司 | Maintenance and management method for user access network |
CN1466336A (en) * | 2002-07-05 | 2004-01-07 | 华为技术有限公司 | Method for realixing adaption layer procotol of ISDN user |
CN1889707A (en) * | 2006-07-05 | 2007-01-03 | 华为技术有限公司 | Method and system for realizing Q.921 chain circuit backup |
Also Published As
Publication number | Publication date |
---|---|
CN101431436A (en) | 2009-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100461697C (en) | Service take-over method based on device disaster tolerance, service switching device and backup machine | |
CN100479434C (en) | Method and system for realizing virtual router redundant protocol master and standby equipment switching | |
CN1536819B (en) | Method for implementing dual location in next network | |
CN101160794B (en) | Disaster recovery system and method of service controlling device in intelligent network | |
CN101197634B (en) | Method, system and single board device for implementing automatic protection rearrangement of main and standby plate | |
JP2001511964A (en) | Redundant configuration for telecommunication systems | |
CN101159504B (en) | Synchronous digital hierarchy based ethernet protecting method | |
CN102025562A (en) | Path detection method and device | |
CN100438362C (en) | A method for implementing software hot-backup of main and reserve machines | |
CN101083559A (en) | Method and system for switching master control module and slave control module | |
CN103036716A (en) | Method and system for link switchover | |
CN101136711B (en) | Optical terminal service, clock, cross service high integration veneer service smooth switch system of SDH system | |
CN101431436B (en) | Method and apparatus for signaling message transmission through Q.921 link | |
CN100364246C (en) | Method and device for realizing single board backup in communication network device | |
CN102231700A (en) | Exchange card switching information transmission method and exchange card hot backup system | |
KR960002469B1 (en) | Isdn communication system maintenance in the impedance by using present and reserved isdn communication device | |
CN101247213A (en) | Method and system for master/standby rearrangement | |
CN103036819B (en) | Switching method, system and the data exchange communications equipment of Packet Service bus | |
CN102571310B (en) | The disaster recovery method of Voice Mail Service and device | |
CN107888491A (en) | HSB standby systems and the AC double hot standby methods based on two layers of networking VRRP agreements | |
Cisco | Alarm Condition Messages | |
CN202841134U (en) | Main control exchange board heat backup system based on data center | |
CN102571398A (en) | Method and system for protecting channels among communication equipment | |
CN102045263A (en) | Automatic gapless smooth switching method of backup link of multi protocol label switching virtual private network (MPLS VPN) tunnel | |
CN100463373C (en) | Centralized control and hierarchical implementing switching control method and device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120613 Termination date: 20171217 |
|
CF01 | Termination of patent right due to non-payment of annual fee |