CN109963037A - The Cascading Methods of IP PBX line module based on the virtualization port SLIC - Google Patents

The Cascading Methods of IP PBX line module based on the virtualization port SLIC Download PDF

Info

Publication number
CN109963037A
CN109963037A CN201910162950.7A CN201910162950A CN109963037A CN 109963037 A CN109963037 A CN 109963037A CN 201910162950 A CN201910162950 A CN 201910162950A CN 109963037 A CN109963037 A CN 109963037A
Authority
CN
China
Prior art keywords
slic
main frame
port
expansion subrack
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910162950.7A
Other languages
Chinese (zh)
Other versions
CN109963037B (en
Inventor
王辉
刘继明
刘松
王晓冬
陈冬冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ITIBIA TECHNOLOGIES
Original Assignee
ITIBIA TECHNOLOGIES
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ITIBIA TECHNOLOGIES filed Critical ITIBIA TECHNOLOGIES
Priority to CN201910162950.7A priority Critical patent/CN109963037B/en
Publication of CN109963037A publication Critical patent/CN109963037A/en
Application granted granted Critical
Publication of CN109963037B publication Critical patent/CN109963037B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1053IP private branch exchange [PBX] functionality entities or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42314Systems providing special services or facilities to subscribers in private branch exchanges
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/009Arrangements for interconnection between switching centres in systems involving PBX or KTS networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to the Cascading Methods of the IP PBX line module based on the virtualization port SLIC, the mode of main frame combination expansion subrack realizes that the extension of SLIC line module, main frame and expansion subrack are connected using HW bus, and is communicated by HW bus;The SLIC line module on corresponding expansion subrack is fictionalized on main frame, all management of user and operation carry out on main frame;In use, carrying out signaling and interactive voice by HW line by main frame equipment and expansion subrack equipment, SLIC mouthfuls of user under different location of call is carried out.The cascade extension between multiple devices is realized using the method for the virtual creation port SLIC, when needing to expand analog way number of users for enterprise, by the method for connecting expansion subrack, and increase the Cascading Methods of this IP PBX line module based on the virtualization port SLIC of virtual SLIC port function on main frame, solve the demand of changeable user's scene and dilatation.

Description

The Cascading Methods of IP PBX line module based on the virtualization port SLIC
Technical field
The present invention relates to a kind of Cascading Methods of IP PBX line module based on the virtualization port SLIC.
Background technique
Currently, IPPBX equipment in the market, the route number that can be needed according to user before beginning, calculate equipment needs The SLIC user capacity of support, then go to select corresponding IPPBX equipment.
After the good corresponding voice plate card of device configuration and SLIC port number, route is arranged as requested.
If user capacity of some application will expand, may replacement equipment, replacement route etc., therefore there are dilatations Inconvenient problem.
Since main frame equipment is made of components such as CPU, DSP, the cost of main frame equipment is relatively high.
Therefore, above-mentioned Cascading Methods need replacing main frame and are just able to satisfy user's extension demand, will cause to increase cost.
Summary of the invention
The purpose of the present invention is overcoming the shortcomings of the prior art, a kind of IP based on the virtualization port SLIC is provided The Cascading Methods of PBX line module.
The purpose of the present invention is achieved through the following technical solutions:
The Cascading Methods of IP PBX line module based on the virtualization port SLIC, feature is: main frame combination expansion subrack Mode realizes that the extension of SLIC line module, main frame and expansion subrack are connected using HW bus, and is communicated by HW bus;? The SLIC line module on corresponding expansion subrack is fictionalized on main frame, all management of user and operation carry out on main frame; In use, carrying out signaling and interactive voice by HW line by main frame equipment and expansion subrack equipment, user under different location is carried out SLIC mouthfuls of call.
Further, it is above-mentioned based on virtualization the port SLIC IP PBX line module Cascading Methods comprising HW bus links management module, the registration for virtualizing the port SLIC and cancellation module, virtual SLIC port function module, main frame are logical Believe module, expansion subrack communication module and expansion subrack SLIC module,
The HW bus links management module, is connected between expansion subrack and main frame by HW bus, by HW bus links pipe It manages a physical path between the virtual port SLIC of module assignment and the port SLIC of expansion subrack and manages;Realize master in physical channel The HW bus links management module of the interaction between control message and speech message between frame and expansion subrack, main frame passes through extension Whether frame, which sends contact packet, is allocated and release physical access;
The registration of the virtualization port SLIC and cancellation module, the connection of the port SLIC for main frame administration extensions frame With disconnection;
The virtual SLIC port function module is implemented for virtual SLIC function;
The main frame communication module, requests the transmission of expansion subrack for main frame and the communication of response response, main frame pass through The data packet of hdlc encapsulation carries out the communication between master-slave equipment, and main frame realizes main frame using command request, response response mode With the communication of expansion subrack;
The expansion subrack communication module requests and responds the communication of response, expansion subrack to the transmission of main frame for expansion subrack The communication between master-slave equipment is carried out by the data packet of hdlc encapsulation, expansion subrack is real using command request, response response mode The now communication of main frame and expansion subrack;
The expansion subrack SLIC module, the SLIC function for expansion subrack implement.
Further, the Cascading Methods of the above-mentioned IP PBX line module based on the virtualization port SLIC, wherein virtual Change the registration of the port SLIC and the register flow path of cancellation module are as follows:
Step 1: main frame receives the practical SLIC port information that expansion subrack reports;
Step 2: creating the data of the virtual port SLIC on main frame for the practical SLIC port information received Structure;
Step 3: after completing to create the data structure of the virtual port SLIC on main frame, to the virtual of each creation The setting of the port SLIC progress state;
Virtualize the registration of the port SLIC and the logout flow path of cancellation module are as follows:
The LINK message that expansion subrack is sent is not received in main frame 10 seconds Step 1: detecting;
Step 2: removing the status information being arranged when creating the virtual port SLIC;
Step 3: the data structure for the virtual SLIC that main frame is created discharges.
Further, the Cascading Methods of the above-mentioned IP PBX line module based on the virtualization port SLIC, wherein main frame The interaction content of communication module includes:
A) main frame sends request:
Configuration information is passed to expansion subrack, is matched by expansion subrack configuring request, main frame by expansion subrack configuring request It sets;
Port controlling request, main frame is to expansion subrack port controlling;
B) main frame responds response:
Response request, to expansion subrack request-reply;
Link maintenance response, the LINK request-reply that expansion subrack is sent.
Further, the Cascading Methods of the above-mentioned IP PBX line module based on the virtualization port SLIC, wherein extension The interaction content of frame communication module includes:
A) expansion subrack sends request:
Link maintenance request, expansion subrack was every 1 second transmission link maintenance request, after main frame receives request, sends ACK and does For response message;If main frame does not receive link maintenance request within the time more than 10 seconds, then it is assumed that link does not exist;
Expansion subrack status request requests main frame to update expansion subrack state;
Board state request, requests main frame to update board state;
Port status request, requests main frame to update port status;
Event request requests main frame to submit channel event;
B) expansion subrack responds response:
Response request, to main frame request-reply;
Link maintenance response, the LINKACK request-reply that main frame is sent.
Further, the Cascading Methods of the above-mentioned IP PBX line module based on the virtualization port SLIC, including it is following Step:
(a) HW bus links management module distributes a physical channel
The port EXP of main frame provides the clock of PCM to expansion subrack, and expansion subrack equipment extracts the clock of HW route, main frame and The clock of expansion subrack is synchronous;
Expansion subrack judges whether the port HW connects HW line, and set is posted accordingly by the clock signal of detection HW route Storage;Main frame fails to provide testing mechanism to judge, if lower to hang expansion subrack, 1 contact packet of every 1s transmission is realized between the two Detection;
Expansion subrack board and port status are actively reported by expansion subrack, and the virtual SLIC port function module of main frame is extension Frame equipment adds associated member's variable in dev_info structure;
After two links all receive link maintenance packet, it is believed that link is got through, and the transmission of request can be started;
HW bus uses 8M clock, and every HW bus carries the 128 road channels TDM, and when needing to establish speech channel, main frame is random A time slot is selected, sends commands to expansion subrack, and speech channel is connected on the time slot;
Corresponding time slot is connected on SLIC by expansion subrack after receiving the order that main frame is sent;It is built by expansion subrack SLIC Vertical speech channel;
(b) expansion subrack SLIC module carries out the registration of the specific port SLIC
After expansion subrack powers on, detection hardware SLIC whether there is, if there is the presence of hardware SLIC, expansion subrack at this time SLIC module is handled specific SLIC hardware and is created the corresponding port SLIC, to facilitate the processing to the port SLIC;
The port SLIC, that is, subscriber's line circuit has the function of seven kinds, i.e., should have feed (B), overvoltage protection (O), ring (R), monitoring (S), single-line codec (C), hybrid circuit (H), test (T) seven kinds of functions;
The information of the port SLIC is sent by expansion subrack communication module toward main frame communication module;
(c) expansion subrack communication module sends practical SLIC port information to main frame communication module
After expansion subrack SLIC module completes the registration of the port SLIC, what the state detection module of expansion subrack will test SLIC port status is packaged into corresponding data structure, is encapsulated as the data structure of encapsulation again by expansion subrack communication module The data packet of hdlc is sent on main frame by HW bus;
Each request is correctly received and handles, and using dont answer request queue management, which sent by request Time is arranged, i.e., the request finally sent is placed on tail of the queue, is conducive to search for overtime dont answer request;
After request is sent, sender is linked into request the tail portion of dont answer queue;After recipient receives request, It completes to handle and sends response;After requesting sender to receive response, respective request is taken out from dont answer queue;If certain A dont answer request timed out then from dont answer queue takes out request, sends after recording sending time again, then again The request is linked into the tail portion of dont answer queue;
(d) main frame communication module receives SLIC port information
When expansion subrack sends main frame by HW bus for the SLIC port information of registration, the main frame communication module of main frame The message received is decapsulated, the type and ID number of the data packet are obtained, if corresponding is the registration port SLIC letter SLIC port information contents extraction in data packet is then come out, and gives SLIC port information to virtualization by the message of breath The port SLIC is registered or nullified to the registration of the port SLIC and cancellation module;
Meanwhile the ack message of one same sequence number of main frame communication module transmission gives expansion subrack communication module, informs and expands Frame is opened up, main frame has been received by the SLIC port information that expansion subrack sends over, and otherwise, expansion subrack can cycle through the port SLIC letter Breath, until request timed out;
(e) registration and cancellation module for virtualizing the port SLIC carry out the virtualization registration of the port SLIC and nullify
When receiving message is registration SLIC port message, the registration and cancellation module for virtualizing the port SLIC are called The data structure of the virtual port SLIC of ext_subscribe_register function creation, and the port SLIC virtualized Registration;
It is main when not receiving the LINK message request that expansion subrack is sent in HW bus links management module 10 seconds of main frame The registration of the virtualization port SLIC of frame and cancellation module just call ext_subscribe_unregister function to go to remove wound Build the port status information being arranged when virtualizing the port SLIC and the port virtualization SLIC for nullifying creation;
(f) virtual SLIC port function module realizes specific function
As the function that virtual SLIC port function module is completed with the function that expansion subrack SLIC module is specifically completed is, Including off-hook detection, DTMF detection, play TONE sound, the interface of virtual SLIC port function module by main frame communication module, It is sent to the expansion subrack communication module of expansion subrack in a manner of message, specific function is realized by expansion subrack SLIC module.
The present invention has significant advantages and beneficial effects compared with prior art, embodies in the following areas:
The present invention realizes the cascade extension between multiple devices using the method for the virtual creation port SLIC, and enterprise is needed When expanding analog way number of users, do not need that other means such as replacement equipment, replacement route is wanted to realize expansion as traditional approach Big analog way number of users, and the present invention is the method by connecting expansion subrack, and increases the virtual port SLIC on main frame The Cascading Methods of this IP PBX line module based on the virtualization port SLIC of function, solve changeable user's scene and expansion The demand of appearance.Since the resource using virtual method, main frame there can be expansion equipment function, therefore save cost;Equipment expands Exhibition is simple, easy to maintain.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification It is clear that by implementing specific embodiment of the invention understanding.The objectives and other advantages of the invention can be by institute Specifically noted structure is achieved and obtained in the specification write, claims.
Detailed description of the invention
Fig. 1: functional block diagram of the invention;
Fig. 2: idiographic flow schematic diagram of the invention;
The flow diagram of Fig. 3: HW bus links management module;
Fig. 4: the register flow path schematic diagram of the virtualization port SLIC;
Fig. 5: the logout flow path schematic diagram of the virtualization port SLIC;
Fig. 6: the communication process schematic diagram of main frame communication module and expansion subrack communication module.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, specific implementation is now described in detail Scheme.
The Cascading Methods of IP PBX line module based on the virtualization port SLIC, the mode of main frame combination expansion subrack are realized The extension of SLIC line module, main frame and expansion subrack are connected using HW bus, and are communicated by HW bus;It is empty on main frame The SLIC line module on corresponding expansion subrack is drawn up, all management of user and operation carry out on main frame;In use, by Main frame equipment and expansion subrack equipment carry out signaling and interactive voice by HW line, carry out under different location SLIC mouthful of user and lead to Words;Perceive the presence less than expansion subrack.
As shown in Figure 1 and Figure 2, functional module includes HW bus links management module 101, the registration for virtualizing the port SLIC With cancellation module 102, virtual SLIC port function module 103, main frame communication module 104, expansion subrack communication module 105 and expansion Open up frame SLIC module 106;
HW bus links management module 101, is connected between expansion subrack and main frame by HW bus, is managed by HW bus links Module 101 is distributed a physical path between the virtual port SLIC and the port SLIC of expansion subrack and is managed;It realizes physical channel The HW bus links management module of the interaction between control message and speech message between main frame and expansion subrack, main frame passes through expansion Whether exhibition frame, which sends contact packet, is allocated and release physical access;As shown in Figure 3;
Virtualize registration and the cancellation module 102 of the port SLIC, the connection of the port SLIC for main frame administration extensions frame With disconnection;
Virtual SLIC port function module 103, implements for virtual SLIC function;Such as: off-hook detection, DTMF inspection Survey, play TONE sound etc.;
Main frame communication module 104, requests the transmission of expansion subrack for main frame and the communication of response response, main frame pass through The data packet of hdlc encapsulation carries out the communication between master-slave equipment, and main frame realizes main frame using command request, response response mode With the communication of expansion subrack;
Expansion subrack communication module 105, requests the transmission of main frame for expansion subrack and the communication of response response, expansion subrack are logical The communication between the data packet progress master-slave equipment of hdlc encapsulation is crossed, expansion subrack is realized using command request, response response mode The communication of main frame and expansion subrack;
Expansion subrack SLIC module 106, the SLIC function for expansion subrack implement.
As shown in figure 4, the registration of the virtualization port SLIC and the register flow path of cancellation module 102 are as follows:
Step 1: main frame receives the practical SLIC port information that expansion subrack reports;
Step 2: creating the data of the virtual port SLIC on main frame for the practical SLIC port information received Structure;
Step 3: after completing to create the data structure of the virtual port SLIC on main frame, to the virtual of each creation The setting of the port SLIC progress state;
As shown in figure 5, the registration of the virtualization port SLIC and the logout flow path of cancellation module 102 are as follows:
The LINK message that expansion subrack is sent is not received in main frame 10 seconds Step 1: detecting;
Step 2: removing the status information being arranged when creating the virtual port SLIC;
Step 3: the data structure for the virtual SLIC that main frame is created discharges.
Main frame communication module and the specific communication process of expansion subrack communication module, as shown in Figure 6;
The interaction content of main frame communication module 104 includes:
A) main frame sends request:
Configuration information is passed to expansion subrack, is matched by expansion subrack configuring request, main frame by expansion subrack configuring request It sets;
Port controlling request, main frame is to expansion subrack port controlling;Such as there is ring to fxs, send tone, transmission CID;It is right Fxo has off-hook, on-hook and flash etc.;
B) main frame responds response:
Response request, to expansion subrack request-reply;
Link maintenance response, the LINK request-reply that expansion subrack is sent.
The interaction content of expansion subrack communication module 105 includes:
A) expansion subrack sends request:
Link maintenance request, expansion subrack was every 1 second transmission link maintenance request, after main frame receives request, sends ACK and does For response message;If main frame does not receive link maintenance request within the time more than 10 seconds, then it is assumed that link does not exist;
Expansion subrack status request requests main frame to update expansion subrack state;
Board state request, requests main frame to update board state;
Port status request, requests main frame to update port status;
Event request requests main frame to submit channel event;
B) expansion subrack responds response:
Response request, to main frame request-reply;
Link maintenance response, the LINKACK request-reply that main frame is sent.
As shown in Fig. 2, specific implementation flow of the invention are as follows:
(a) HW bus links management module distributes a physical channel
The port EXP of main frame provides the clock of PCM to expansion subrack, and expansion subrack equipment extracts the clock of HW route, main frame and The clock of expansion subrack is synchronous;
Expansion subrack judges whether the port HW connects HW line, and set is posted accordingly by the clock signal of detection HW route Storage;Main frame fails to provide testing mechanism to judge, if lower to hang expansion subrack, 1 contact packet of every 1s transmission is realized between the two Detection;
Expansion subrack board and port status are actively reported by expansion subrack, and the virtual SLIC port function module of main frame is extension Frame equipment adds associated member's variable in dev_info structure;
After two links all receive link maintenance packet, it is believed that link is got through, and the transmission of request can be started;
HW bus uses 8M clock, and every HW bus carries the 128 road channels TDM, and when needing to establish speech channel, main frame is random A time slot is selected, sends commands to expansion subrack, and speech channel is connected on the time slot;
Corresponding time slot is connected on SLIC by expansion subrack after receiving the order that main frame is sent;It is built by expansion subrack SLIC Vertical speech channel;
(b) expansion subrack SLIC module carries out the registration of the specific port SLIC
After expansion subrack powers on, detection hardware SLIC whether there is, if there is the presence of hardware SLIC, expansion subrack at this time SLIC module is handled specific SLIC hardware and is created the corresponding port SLIC, to facilitate the processing to the port SLIC;
The port SLIC, that is, subscriber's line circuit has the function of seven kinds, i.e., should have feed (B), overvoltage protection (O), ring (R), monitoring (S), single-line codec (C), hybrid circuit (H), test (T) seven kinds of functions;
The information of the port SLIC is sent by expansion subrack communication module toward main frame communication module;
(c) expansion subrack communication module sends practical SLIC port information to main frame communication module
After expansion subrack SLIC module completes the registration of the port SLIC, what the state detection module of expansion subrack will test SLIC port status is packaged into corresponding data structure, is encapsulated as the data structure of encapsulation again by expansion subrack communication module The data packet of hdlc is sent on main frame by HW bus;
Each request is correctly received and handles, and is managed using dont answer request queue (Non Ack Request Queue) Reason, the queue are to be arranged the time sent by request, i.e., the request finally sent is placed on tail of the queue, does not answer conducive to search time-out Answer request;
After request is sent, sender is linked into request the tail portion of dont answer queue;After recipient receives request, It completes to handle and sends response;After requesting sender to receive response, respective request is taken out from dont answer queue;If certain A dont answer request timed out then from dont answer queue takes out request, sends after recording sending time again, then again The request is linked into the tail portion of dont answer queue;
(d) main frame communication module receives SLIC port information
When expansion subrack sends main frame by HW bus for the SLIC port information of registration, the main frame communication module of main frame The message received is decapsulated, the type and ID number of the data packet are obtained, if corresponding is the registration port SLIC letter SLIC port information contents extraction in data packet is then come out, and gives SLIC port information to virtualization by the message of breath The port SLIC is registered or nullified to the registration of the port SLIC and cancellation module;
Meanwhile the ack message of one same sequence number of main frame communication module transmission gives expansion subrack communication module, informs and expands Frame is opened up, main frame has been received by the SLIC port information that expansion subrack sends over, and otherwise, expansion subrack can cycle through the port SLIC letter Breath, until request timed out;
(e) registration and cancellation module for virtualizing the port SLIC carry out the virtualization registration of the port SLIC and nullify
When receiving message is registration SLIC port message, the registration and cancellation module for virtualizing the port SLIC are called The data structure of the virtual port SLIC of ext_subscribe_register function creation, and the port SLIC virtualized Registration;
It is main when not receiving the LINK message request that expansion subrack is sent in HW bus links management module 10 seconds of main frame The registration of the virtualization port SLIC of frame and cancellation module just call ext_subscribe_unregister function to go to remove wound Build the port status information being arranged when virtualizing the port SLIC and the port virtualization SLIC for nullifying creation;
(f) virtual SLIC port function module realizes specific function
As the function that virtual SLIC port function module is completed with the function that expansion subrack SLIC module is specifically completed is, Including off-hook detection, DTMF detection, play TONE sound, the interface of virtual SLIC port function module by main frame communication module, It is sent to the expansion subrack communication module of expansion subrack in a manner of message, specific function is realized by expansion subrack SLIC module.
In conclusion the present invention realizes the cascade extension between multiple devices using the method for the virtual creation port SLIC, When needing to expand analog way number of users for enterprise, do not need to want replacement equipment as traditional approach, replace route etc. other Means, which are realized, expands analog way number of users, and the present invention is the method by connecting expansion subrack, and increases void on main frame The Cascading Methods of this IP PBX line module based on the virtualization port SLIC of quasi- SLIC port function, solve changeable use Family scene and the demand of dilatation.Due to using virtual method, the resource of main frame can by expansion equipment function, therefore save at This;Device extension is simple, easy to maintain.
It should be understood that the foregoing is merely the preferred embodiment of the present invention, the power that is not intended to limit the invention Sharp range;The description above simultaneously, should can be illustrated and implement for the special personage of correlative technology field, thus it is other without departing from The equivalent change or modification completed under disclosed spirit, should be included in claim.

Claims (6)

1. the Cascading Methods of the IP PBX line module based on the virtualization port SLIC, it is characterised in that: main frame combination expansion subrack Mode realize that the extension of SLIC line module, main frame and expansion subrack are connected using HW bus, and communicated by HW bus; The SLIC line module on corresponding expansion subrack is fictionalized on main frame, all management of user and operation are enterprising in main frame Row;In use, carrying out signaling and interactive voice by HW line by main frame equipment and expansion subrack equipment, user under different location is carried out SLIC mouthfuls of call.
2. the Cascading Methods of the IP PBX line module according to claim 1 based on the virtualization port SLIC, feature It is: comprising HW bus links management module (101), the registration of the virtualization port SLIC and cancellation module (102), virtual SLIC Port function module (103), main frame communication module (104), expansion subrack communication module (105) and expansion subrack SLIC module (106),
The HW bus links management module (101), is connected between expansion subrack and main frame by HW bus, by HW bus links pipe Reason module (101) is distributed a physical path between the virtual port SLIC and the port SLIC of expansion subrack and is managed;Physical channel Realize that the control message between main frame and expansion subrack and the interaction between speech message, the HW bus links management module of main frame are logical Cross expansion subrack whether send contact packet be allocated and release physical access;
The registration of the virtualization port SLIC and cancellation module (102), the company of the port SLIC for main frame administration extensions frame Make and break is opened;
The virtual SLIC port function module (103) implements for virtual SLIC function;
The main frame communication module (104), requests the transmission of expansion subrack for main frame and the communication of response response, main frame pass through The data packet of hdlc encapsulation carries out the communication between master-slave equipment, and main frame realizes main frame using command request, response response mode With the communication of expansion subrack;
The expansion subrack communication module (105) requests and responds the communication of response, expansion subrack to the transmission of main frame for expansion subrack The communication between master-slave equipment is carried out by the data packet of hdlc encapsulation, expansion subrack is real using command request, response response mode The now communication of main frame and expansion subrack;
The expansion subrack SLIC module (106), the SLIC function for expansion subrack implement.
3. the Cascading Methods of the IP PBX line module according to claim 2 based on the virtualization port SLIC, feature It is: the registration of the virtualization port SLIC and the register flow path of cancellation module (102) are as follows:
Step 1: main frame receives the practical SLIC port information that expansion subrack reports;
Step 2: creating the data structure of the virtual port SLIC on main frame for the practical SLIC port information received;
Step 3: after completing to create the data structure of the virtual port SLIC on main frame, to the virtual end SLIC of each creation Mouth carries out the setting of state;
Virtualize the registration of the port SLIC and the logout flow path of cancellation module (102) are as follows:
The LINK message that expansion subrack is sent is not received in main frame 10 seconds Step 1: detecting;
Step 2: removing the status information being arranged when creating the virtual port SLIC;
Step 3: the data structure for the virtual SLIC that main frame is created discharges.
4. the Cascading Methods of the IP PBX line module according to claim 2 based on the virtualization port SLIC, feature Be: the interaction content of main frame communication module (104) includes:
A) main frame sends request:
Configuration information is passed to expansion subrack, is configured by expansion subrack configuring request, main frame by expansion subrack configuring request;
Port controlling request, main frame is to expansion subrack port controlling;
B) main frame responds response:
Response request, to expansion subrack request-reply;
Link maintenance response, the LINK request-reply that expansion subrack is sent.
5. the Cascading Methods of the IP PBX line module according to claim 2 based on the virtualization port SLIC, feature Be: the interaction content of expansion subrack communication module (105) includes:
A) expansion subrack sends request:
Link maintenance request, expansion subrack was every 1 second transmission link maintenance request, after main frame receives request, sent ACK as answering Answer message;If main frame does not receive link maintenance request within the time more than 10 seconds, then it is assumed that link does not exist;
Expansion subrack status request requests main frame to update expansion subrack state;
Board state request, requests main frame to update board state;
Port status request, requests main frame to update port status;
Event request requests main frame to submit channel event;
B) expansion subrack responds response:
Response request, to main frame request-reply;
Link maintenance response, the LINKACK request-reply that main frame is sent.
6. the Cascading Methods of the IP PBX line module according to claim 1 or 2 based on the virtualization port SLIC, special Sign is: the following steps are included:
(a) HW bus links management module distributes a physical channel
The port EXP of main frame provides the clock of PCM to expansion subrack, and expansion subrack equipment extracts the clock of HW route, main frame and extension The clock of frame is synchronous;
Expansion subrack judges whether the port HW connects HW line, and the corresponding register of set by the clock signal of detection HW route; Main frame fails to provide testing mechanism to judge, if lower to hang expansion subrack, every 1s sends 1 contact packet and realizes spy between the two It surveys;
Expansion subrack board and port status are actively reported by expansion subrack, and the virtual SLIC port function module of main frame sets for expansion subrack It is standby that associated member's variable is added in dev_info structure;
After two links all receive link maintenance packet, it is believed that link is got through, and the transmission of request can be started;
HW bus uses 8M clock, and every HW bus carries the 128 road channels TDM, when needing to establish speech channel, main frame random selection One time slot sends commands to expansion subrack, and speech channel is connected on the time slot;
Corresponding time slot is connected on SLIC by expansion subrack after receiving the order that main frame is sent;It is established and is talked about by expansion subrack SLIC Road;
(b) expansion subrack SLIC module carries out the registration of the specific port SLIC
After expansion subrack powers on, detection hardware SLIC whether there is, if there is the presence of hardware SLIC, expansion subrack SLIC mould at this time Block is handled specific SLIC hardware and is created the corresponding port SLIC, to facilitate the processing to the port SLIC;
The port SLIC, that is, subscriber's line circuit has the function of seven kinds, i.e., should have feed (B), overvoltage protection (O), ring (R), monitoring (S), Single-line codec (C), hybrid circuit (H), test (T) seven kinds of functions;
The information of the port SLIC is sent by expansion subrack communication module toward main frame communication module;
(c) expansion subrack communication module sends practical SLIC port information to main frame communication module
After expansion subrack SLIC module completes the registration of the port SLIC, the end SLIC that the state detection module of expansion subrack will test The data structure of encapsulation is encapsulated as hdlc's by expansion subrack communication module at corresponding data structure by mouth state encapsulation again Data packet is sent on main frame by HW bus;
Each request is correctly received and handles, and using dont answer request queue management, which is the time sent by request It is arranged, i.e., the request finally sent is placed on tail of the queue, is conducive to search for overtime dont answer request;
After request is sent, sender is linked into request the tail portion of dont answer queue;After recipient receives request, complete It handles and sends response;After requesting sender to receive response, respective request is taken out from dont answer queue;If some is not Response request timed out then takes out request from dont answer queue, sends after recording sending time again, then this is asked again Ask the tail portion for being linked into dont answer queue;
(d) main frame communication module receives SLIC port information
When expansion subrack sends main frame by HW bus for the SLIC port information of registration, the main frame communication module of main frame is docked The message received is decapsulated, and the type and ID number of the data packet are obtained, if corresponding is registration SLIC port information Message then comes out the SLIC port information contents extraction in data packet, and gives SLIC port information to the virtualization end SLIC The port SLIC is registered or nullified to the registration of mouth and cancellation module;
Meanwhile the ack message of one same sequence number of main frame communication module transmission gives expansion subrack communication module, informs extension Frame, main frame have been received by the SLIC port information that expansion subrack sends over, and otherwise, expansion subrack can cycle through SLIC port information, Until request timed out;
(e) registration and cancellation module for virtualizing the port SLIC carry out the virtualization registration of the port SLIC and nullify
When receiving message is registration SLIC port message, ext_ is called in the registration and cancellation module for virtualizing the port SLIC The data structure of the virtual port SLIC of subscribe_register function creation, and the note of the port SLIC virtualized Volume;
When not receiving the LINK message request that expansion subrack is sent in HW bus links management module 10 seconds of main frame, main frame The registration and cancellation module for virtualizing the port SLIC just call ext_subscribe_unregister function to go to remove creation void The port status information that is arranged when the quasi-ization port SLIC and the port virtualization SLIC for nullifying creation;
(f) virtual SLIC port function module realizes specific function
As the function that virtual SLIC port function module is completed with the function that expansion subrack SLIC module is specifically completed is, including Off-hook detection, plays TONE sound at DTMF detection, and the interface of virtual SLIC port function module is by main frame communication module, to disappear The mode of breath is sent to the expansion subrack communication module of expansion subrack, realizes specific function by expansion subrack SLIC module.
CN201910162950.7A 2019-03-05 2019-03-05 IP PBX user module cascading method based on virtualized SLIC port Active CN109963037B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910162950.7A CN109963037B (en) 2019-03-05 2019-03-05 IP PBX user module cascading method based on virtualized SLIC port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910162950.7A CN109963037B (en) 2019-03-05 2019-03-05 IP PBX user module cascading method based on virtualized SLIC port

Publications (2)

Publication Number Publication Date
CN109963037A true CN109963037A (en) 2019-07-02
CN109963037B CN109963037B (en) 2021-01-08

Family

ID=67024067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910162950.7A Active CN109963037B (en) 2019-03-05 2019-03-05 IP PBX user module cascading method based on virtualized SLIC port

Country Status (1)

Country Link
CN (1) CN109963037B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1030169A (en) * 1987-05-15 1989-01-04 北方电信有限公司 The protection equipment of telephone subscriber line interface circuit
CA2219436A1 (en) * 1996-10-25 1998-04-25 Northern Telecom Limited Simulating changes in telephone subscriber line
JP2000514615A (en) * 1996-07-05 2000-10-31 テレフオンアクチーボラゲツト エル エム エリクソン Device for controlling a subscriber interface circuit
CN1295746A (en) * 1998-01-30 2001-05-16 阿茨达科姆公司 Integrated analogldigital telephone interface
US20020101980A1 (en) * 2001-01-29 2002-08-01 Mark Ayoub Protection of subscriber line interface circuits (SLICS) without degradation in longitudinal balance
CN101656796A (en) * 2009-09-11 2010-02-24 中兴通讯股份有限公司 Method and device for forwarding PCM data by USB interface
TW201010301A (en) * 2008-08-19 2010-03-01 Tecom Co Ltd Integrated access device and communication method utilizing the same
WO2013123645A1 (en) * 2012-02-21 2013-08-29 华为技术有限公司 Multi-path speech signal multiplexing circuit, equipment and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1030169A (en) * 1987-05-15 1989-01-04 北方电信有限公司 The protection equipment of telephone subscriber line interface circuit
JP2000514615A (en) * 1996-07-05 2000-10-31 テレフオンアクチーボラゲツト エル エム エリクソン Device for controlling a subscriber interface circuit
CA2219436A1 (en) * 1996-10-25 1998-04-25 Northern Telecom Limited Simulating changes in telephone subscriber line
CN1295746A (en) * 1998-01-30 2001-05-16 阿茨达科姆公司 Integrated analogldigital telephone interface
US20020101980A1 (en) * 2001-01-29 2002-08-01 Mark Ayoub Protection of subscriber line interface circuits (SLICS) without degradation in longitudinal balance
TW201010301A (en) * 2008-08-19 2010-03-01 Tecom Co Ltd Integrated access device and communication method utilizing the same
CN101656796A (en) * 2009-09-11 2010-02-24 中兴通讯股份有限公司 Method and device for forwarding PCM data by USB interface
WO2013123645A1 (en) * 2012-02-21 2013-08-29 华为技术有限公司 Multi-path speech signal multiplexing circuit, equipment and method

Also Published As

Publication number Publication date
CN109963037B (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN106209592A (en) Wechat customer service system and customer service method for message interaction thereof
CN108924887A (en) Data service switching method and equipment
CN103152493A (en) Cloud position implementation method, cloud position implementation system and cloud position server
WO2008019550A1 (en) A method and system of video communication and synthesis media resources server
CN105430143A (en) Communication processor, method for realizing VoLTE, mobile terminal and data card
CN101753339B (en) Method for realizing conference backup function of multi-point control unit and system thereof
CN113055539B (en) Communication system based on VoIP dual-redundancy exchange server
CN105472187B (en) A kind of voice communication control system based on TDM and IP dual bus
CN108881772A (en) A kind of data processing method and device of view networking
CN107959761B (en) Transmit-receive double-link realization method and device based on open source telephone soft switching system
WO2009146634A1 (en) Media resource adaptation method, media gateway controller and server
CN104756447B (en) A kind of method and Video Record Processor for recording session information
CN109963037A (en) The Cascading Methods of IP PBX line module based on the virtualization port SLIC
CN100407682C (en) Multiside speaking system
CN104104803B (en) Call business method and system and system end and calling terminal
CN109327360A (en) A kind of method and device of multiplexed port
US7539288B2 (en) Apparatus and method for simulating a trunk gateway in a telecommunications switch test system
CN104158989A (en) Fixed telephone roaming system and method
EP2621154A1 (en) System and method for achieving call traffic wholesale based on soft switch
CN104113537A (en) System and method supporting access of TDM-circuit-based PBX devices of different protocol interface types to IMS network
CN113225512A (en) Audio and video distribution method and system for seat terminal of video call center
CN109429180A (en) The method and apparatus of data exchange
CN104702567B (en) The method and system of xenogenesis voice resource intercommunication based on IP scheduling switch
CN103685790B (en) The foundation of Call- Control1 business, management method and device and embedded gateway
CN101895852A (en) Method and calling terminal for realizing multiparty call

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant