CN109963037B - IP PBX user module cascading method based on virtualized SLIC port - Google Patents
IP PBX user module cascading method based on virtualized SLIC port Download PDFInfo
- Publication number
- CN109963037B CN109963037B CN201910162950.7A CN201910162950A CN109963037B CN 109963037 B CN109963037 B CN 109963037B CN 201910162950 A CN201910162950 A CN 201910162950A CN 109963037 B CN109963037 B CN 109963037B
- Authority
- CN
- China
- Prior art keywords
- slic
- port
- frame
- main frame
- expansion
- 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
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1053—IP private branch exchange [PBX] functionality entities or arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42314—Systems providing special services or facilities to subscribers in private branch exchanges
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/009—Arrangements for interconnection between switching centres in systems involving PBX or KTS networks
Abstract
The invention relates to a method for cascading IP PBX user modules based on virtualized SLIC ports, wherein the expansion of the SLIC user modules is realized in a mode that a main frame is combined with an expansion frame, and the main frame and the expansion frame are connected by a HW bus and communicate through the HW bus; a SLIC user module on a corresponding expansion frame is virtually simulated on a main frame, and all management and operation of a user are carried out on the main frame; when the system is used, the main frame device and the expansion frame device carry out signaling and voice interaction through the HW line, and conversation of SLIC ports of users at different positions is carried out. The method for virtually establishing the SLIC port is adopted to realize the cascade expansion among a plurality of devices, and for enterprises needing to expand the number of users of analog telephone channels, the IP PBX user module cascade method based on the virtualized SLIC port solves the variable user scenes and the requirement of capacity expansion by a method of connecting an expansion frame and adding the virtual SLIC port function on a main frame.
Description
Technical Field
The invention relates to a method for cascading IP PBX user modules based on a virtualized SLIC port.
Background
At present, before opening an office, an ip pbx device in the market calculates, according to the number of lines required by a user, the SLIC user capacity that the device needs to support, and then selects a corresponding ip pbx device.
After the equipment is configured with the corresponding voice board card and SLIC port number, the circuit is arranged as required.
If the user capacity of a certain application needs to be expanded, the device may need to be replaced, the line may need to be replaced, and therefore, the capacity expansion is inconvenient.
Since the main frame device is composed of components such as a CPU, a DSP, and the like, the cost of the main frame device is relatively high.
Therefore, the above-mentioned cascading method needs to replace the main frame to meet the expansion requirement of the user, which inevitably results in increased cost.
Disclosure of Invention
The invention aims to overcome the defects in the prior art and provides a method for cascading IP PBX user modules based on virtualized SLIC ports.
The purpose of the invention is realized by the following technical scheme:
a method for cascading IP PBX user modules based on virtualized SLIC ports is characterized in that: the expansion of the SLIC user module is realized by combining the main frame with the expansion frame, and the main frame and the expansion frame are connected by adopting a HW bus and communicate through the HW bus; a SLIC user module on a corresponding expansion frame is virtually simulated on a main frame, and all management and operation of a user are carried out on the main frame; when the system is used, the main frame device and the expansion frame device carry out signaling and voice interaction through the HW line, and conversation of SLIC ports of users at different positions is carried out.
Further, the method for cascading IP PBX user modules based on the virtualized SLIC port comprises a HW bus link management module, a registration and cancellation module of the virtualized SLIC port, a virtual SLIC port function module, a main frame communication module, an expansion frame communication module and an expansion frame SLIC module,
the HW bus link management module is connected between the expansion frame and the main frame through an HW bus, and a physical channel between a virtual SLIC port and the SLIC port of the expansion frame is distributed and managed by the HW bus link management module; the physical channel realizes the interaction between the control message and the voice message between the main frame and the expansion frame, and the HW bus link management module of the main frame distributes and releases a physical channel by whether the expansion frame sends a contact packet or not;
the registration and logout module of the virtualized SLIC port is used for connecting and disconnecting the SLIC port of the main frame management expansion frame;
the virtual SLIC port function module is used for specifically realizing the virtual SLIC function;
the main frame communication module is used for the main frame to carry out communication of a sending request and a response of the expansion frame, the main frame carries out communication between a main device and a slave device through a data packet packaged by hdlc, and the main frame realizes the communication between the main frame and the expansion frame in a command request and response mode;
the extension frame communication module is used for the communication of the transmission request and the response of the extension frame to the main frame, the extension frame carries out the communication between the main equipment and the slave equipment through a data packet packaged by hdlc, and the extension frame realizes the communication between the main frame and the extension frame in a command request and response mode;
and the expansion frame SLIC module is used for specifically realizing the SLIC function of the expansion frame.
Further, in the above method for cascading IP PBX user modules based on the virtualized SLIC port, the registration and deregistration processes of the virtualized SLIC port are as follows:
step one, a main frame receives actual SLIC port information reported by an expansion frame;
step two, for the received actual SLIC port information, a data structure of a virtual SLIC port is established on a main frame;
step three, after finishing establishing the data structure of the virtual SLIC port on the main frame, setting the state of each established virtual SLIC port;
the log-in and log-out process of the log-in and log-out module of the virtualized SLIC port comprises the following steps:
step one, detecting that a main frame does not receive a LINK message sent by an expansion frame within 10 seconds;
clearing state information set when the virtual SLIC port is created;
and step three, releasing the data structure of the virtual SLIC created by the main frame.
Further, in the above method for cascading IP PBX user modules based on virtualized SLIC port, the interactive content of the main frame communication module includes:
a) the main frame sends a request:
the main frame transmits the configuration information to the expansion frame through the expansion frame configuration request for configuration;
port control request, the main frame controls the port of the expansion frame;
b) the main frame responds to the response:
a response request for requesting a response to the extension frame;
and the LINK maintenance response is a response to the LINK request sent by the expansion frame.
Further, the method for cascading IP PBX user modules based on virtualized SLIC port described above, wherein the interactive content of the extension frame communication module includes:
a) the extension frame sends a request:
the method comprises the steps that a link maintenance request is sent by an expansion frame every 1 second, and ACK is sent as a response message after a main frame receives the request; if the main frame does not receive the link maintenance request within the time of more than 10 seconds, the main frame considers that the link is not in;
an expanded frame state request requesting the main frame to update the expanded frame state;
requesting the main frame to update the board state by the board state request;
a port state request requesting the main frame to update the port state;
requesting the main frame to submit the channel event by the event request;
b) the extension box responds to the response:
a response request, which requests a response to the main frame;
and the link maintenance response is a LINKACK request response sent by the main frame.
Further, the method for cascading IP PBX user modules based on virtualized SLIC ports includes the following steps:
(a) HW bus link management module allocates a physical channel
The EXP port of the main frame provides a PCM clock to the expansion frame, the expansion frame device extracts the clock of the HW line, and the clocks of the main frame and the expansion frame are synchronous;
the expansion frame judges whether the HW port is connected with the HW line or not by detecting a clock signal of the HW line and sets a corresponding register; the main frame can not provide a detection mechanism to judge whether to hang down the extension frame or not, and 1 contact packet is sent every 1s to realize the detection between the main frame and the extension frame;
the expansion frame board card and the port state are actively reported by an expansion frame, and a virtual SLIC port function module of a main frame adds related member variables in a dev _ info structure for expansion frame equipment;
after both links receive the link maintenance packet, the link is considered to be open, and the request transmission can be started;
the HW bus adopts an 8M clock, each HW bus bears 128 TDM channels, when a speech channel needs to be established, a main frame randomly selects a time slot, sends a command to an expansion frame and connects the speech channel to the time slot;
after receiving the command sent by the main frame, the expansion frame connects the corresponding time slot to the SLIC; establishing a speech path by an expansion frame SLIC;
(b) registration of specific SLIC port by expansion frame SLIC module
When the expansion frame is electrified, detecting whether a hardware SLIC exists, if the hardware SLIC exists, the expansion frame SLIC module processes specific SLIC hardware and creates a corresponding SLIC port so as to facilitate the processing of the SLIC port;
the SLIC port, namely a user circuit, has seven functions, namely seven functions of feeding (B), overvoltage protection (O), ringing (R), monitoring (S), single-circuit codec (C), hybrid circuit (H) and testing (T);
sending the information of the SLIC port to a main frame communication module through an expansion frame communication module;
(c) the expansion frame communication module sends the actual SLIC port information to the main frame communication module
After the SLIC module of the expansion frame completes the registration of the SLIC port, the state detection module of the expansion frame encapsulates the detected SLIC port state into a corresponding data structure, the encapsulated data structure is encapsulated into a hdlc data packet again through the communication module of the expansion frame, and the hdlc data packet is sent to the main frame through the HW bus;
each request is correctly received and processed, and is managed by adopting an unanswered request queue, wherein the queue is arranged according to the time for sending the request, namely the last sent request is placed at the tail of the queue, so that the overtime unanswered request searching is facilitated;
after the request is sent, the sender hangs the request into the tail part of the unanswered queue; after receiving the request, the receiver completes the processing and sends a response; when the request sender receives the response, taking out the corresponding request from the non-response queue; if a certain unanswered request is overtime, taking the request out of the unanswered queue, re-recording the sending time and then sending the request, and then hanging the request into the tail part of the unanswered queue again;
(d) main frame communication module for receiving SLIC port information
When the expansion frame sends the registered SLIC port information to the main frame through the HW bus, a main frame communication module of the main frame de-encapsulates the received message to obtain the type and the ID number of the data packet, if the message corresponding to the registered SLIC port information is obtained, the information content of the SLIC port in the data packet is extracted, and the SLIC port information is delivered to a registration and cancellation module of a virtualized SLIC port to register or cancel the SLIC port;
meanwhile, the main frame communication module sends an ack message with the same serial number to the expansion frame communication module to inform the expansion frame that the main frame has received the SLIC port information sent by the expansion frame, otherwise, the expansion frame circularly sends the SLIC port information until the request is overtime;
(e) registration and logout module of virtualized SLIC port for performing virtualized registration and logout of SLIC port
When the received message is a message for registering the SLIC port, the registration and logout module of the virtualized SLIC port calls an ext _ describe _ register function to create a data structure of the virtual SLIC port and registers the virtualized SLIC port;
when the HW bus LINK management module of the main frame does not receive a LINK message request sent by the expansion frame within 10 seconds, the registration and logout module of the virtualized SLIC port of the main frame calls an ext _ describe _ unregister function to remove port state information set when the virtualized SLIC port is created and logout the created virtualized SLIC port;
(f) virtual SLIC port function module realizing specific function
The functions completed by the virtual SLIC port function module are the same as the functions specifically completed by the expansion frame SLIC module, including off-hook detection, DTMF detection and TONE TONE playing, the interface of the virtual SLIC port function module is sent to the expansion frame communication module of the expansion frame in a message mode through the main frame communication module, and the specific functions are realized by the expansion frame SLIC module.
Compared with the prior art, the invention has obvious advantages and beneficial effects, and is embodied in the following aspects:
the invention adopts the method of virtually creating the SLIC port to realize the cascade expansion among a plurality of devices, when enterprises need to expand the number of the analog telephone channel users, the expansion of the number of the analog telephone channel users is realized without replacing the devices, replacing lines and other means like the traditional method, but the invention adopts the method of connecting the expansion frame and adds the functions of the virtual SLIC port on the main frame, thereby solving the requirements of changeable user scenes and capacity expansion. Because a virtual method is adopted, the resources of the main frame can have the function of the expansion equipment, so the cost is saved; the equipment is simple to expand and convenient to maintain.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims thereof.
Drawings
FIG. 1: functional module block diagram of the invention;
FIG. 2: the specific flow diagram of the invention;
FIG. 3: flow diagram of HW bus link management module;
FIG. 4: a registration flow diagram of a virtualized SLIC port;
FIG. 5: a logout flow diagram of a virtualized SLIC port;
FIG. 6: and the communication flow diagrams of the main frame communication module and the expansion frame communication module.
Detailed Description
In order to more clearly understand the technical features, objects, and effects of the present invention, specific embodiments will now be described in detail.
The method for cascading IP PBX user modules based on virtualized SLIC ports comprises the steps that a main frame is combined with an expansion frame to realize expansion of the SLIC user modules, and the main frame and the expansion frame are connected through a HW bus and communicate through the HW bus; a SLIC user module on a corresponding expansion frame is virtually simulated on a main frame, and all management and operation of a user are carried out on the main frame; when the system is used, the main frame equipment and the expansion frame equipment carry out signaling and voice interaction through a HW line, and conversation of SLIC ports of users at different positions is carried out; the presence of the expansion block is not perceived.
As shown in fig. 1 and 2, the functional modules include a HW bus link management module 101, a registration and deregistration module 102 of a virtualized SLIC port, a virtual SLIC port functional module 103, a main frame communication module 104, an expansion frame communication module 105, and an expansion frame SLIC module 106;
the HW bus link management module 101 is connected between the expansion frame and the main frame through an HW bus, and the HW bus link management module 101 allocates a physical path between a virtual SLIC port and an SLIC port of the expansion frame and manages the physical path; the physical channel realizes the interaction between the control message and the voice message between the main frame and the expansion frame, and the HW bus link management module of the main frame distributes and releases a physical channel by whether the expansion frame sends a contact packet or not; as shown in fig. 3;
a registration and deregistration module 102 of a virtualized SLIC port, configured to connect and disconnect the SLIC port of a main frame management expansion frame;
a virtual SLIC port function module 103, configured to implement a virtual SLIC function; such as: off-hook detection, DTMF detection, TONE playing, etc.;
the main frame communication module 104 is used for the main frame to send a request and respond to the response of the expansion frame, the main frame performs communication between the main device and the slave device through the hdlc encapsulated data packet, and the main frame realizes the communication between the main frame and the expansion frame by adopting a command request and response mode;
the extension frame communication module 105 is used for the communication of the transmission request and the response of the extension frame to the main frame, the extension frame performs communication between the main equipment and the slave equipment through a data packet packaged by hdlc, and the extension frame realizes the communication between the main frame and the extension frame in a command request and response mode;
and the expansion frame SLIC module 106 is used for specifically realizing the SLIC function of the expansion frame.
As shown in fig. 4, the registration flow of the registration and deregistration module 102 of the virtualized SLIC port is as follows:
step one, a main frame receives actual SLIC port information reported by an expansion frame;
step two, for the received actual SLIC port information, a data structure of a virtual SLIC port is established on a main frame;
step three, after finishing establishing the data structure of the virtual SLIC port on the main frame, setting the state of each established virtual SLIC port;
as shown in fig. 5, the log-in and log-out process of the registration and log-out module 102 of the virtualized SLIC port includes:
step one, detecting that a main frame does not receive a LINK message sent by an expansion frame within 10 seconds;
clearing state information set when the virtual SLIC port is created;
and step three, releasing the data structure of the virtual SLIC created by the main frame.
A specific communication flow of the main frame communication module and the extension frame communication module is shown in fig. 6;
the interactive contents of the main frame communication module 104 include:
a) the main frame sends a request:
the main frame transmits the configuration information to the expansion frame through the expansion frame configuration request for configuration;
port control request, the main frame controls the port of the expansion frame; for example, there are ring, tone, CID, etc. for fxs; for fxo, off-hook, on-hook, flash and the like exist;
b) the main frame responds to the response:
a response request for requesting a response to the extension frame;
and the LINK maintenance response is a response to the LINK request sent by the expansion frame.
The interactive contents of the extension box communication module 105 include:
a) the extension frame sends a request:
the method comprises the steps that a link maintenance request is sent by an expansion frame every 1 second, and ACK is sent as a response message after a main frame receives the request; if the main frame does not receive the link maintenance request within the time of more than 10 seconds, the main frame considers that the link is not in;
an expanded frame state request requesting the main frame to update the expanded frame state;
requesting the main frame to update the board state by the board state request;
a port state request requesting the main frame to update the port state;
requesting the main frame to submit the channel event by the event request;
b) the extension box responds to the response:
a response request, which requests a response to the main frame;
and the link maintenance response is a LINKACK request response sent by the main frame.
As shown in fig. 2, the specific implementation flow of the present invention is as follows:
(a) HW bus link management module allocates a physical channel
The EXP port of the main frame provides a PCM clock to the expansion frame, the expansion frame device extracts the clock of the HW line, and the clocks of the main frame and the expansion frame are synchronous;
the expansion frame judges whether the HW port is connected with the HW line or not by detecting a clock signal of the HW line and sets a corresponding register; the main frame can not provide a detection mechanism to judge whether to hang down the extension frame or not, and 1 contact packet is sent every 1s to realize the detection between the main frame and the extension frame;
the expansion frame board card and the port state are actively reported by an expansion frame, and a virtual SLIC port function module of a main frame adds related member variables in a dev _ info structure for expansion frame equipment;
after both links receive the link maintenance packet, the link is considered to be open, and the request transmission can be started;
the HW bus adopts an 8M clock, each HW bus bears 128 TDM channels, when a speech channel needs to be established, a main frame randomly selects a time slot, sends a command to an expansion frame and connects the speech channel to the time slot;
after receiving the command sent by the main frame, the expansion frame connects the corresponding time slot to the SLIC; establishing a speech path by an expansion frame SLIC;
(b) registration of specific SLIC port by expansion frame SLIC module
When the expansion frame is electrified, detecting whether a hardware SLIC exists, if the hardware SLIC exists, the expansion frame SLIC module processes specific SLIC hardware and creates a corresponding SLIC port so as to facilitate the processing of the SLIC port;
the SLIC port, namely a user circuit, has seven functions, namely seven functions of feeding (B), overvoltage protection (O), ringing (R), monitoring (S), single-circuit codec (C), hybrid circuit (H) and testing (T);
sending the information of the SLIC port to a main frame communication module through an expansion frame communication module;
(c) the expansion frame communication module sends the actual SLIC port information to the main frame communication module
After the SLIC module of the expansion frame completes the registration of the SLIC port, the state detection module of the expansion frame encapsulates the detected SLIC port state into a corresponding data structure, the encapsulated data structure is encapsulated into a hdlc data packet again through the communication module of the expansion frame, and the hdlc data packet is sent to the main frame through the HW bus;
each Request is correctly received and processed, and is managed by adopting a Non-response Request Queue (Non Ack Request Queue), and the Queue is arranged according to the time of Request sending, namely the last sent Request is placed at the tail of the Queue, so that the search of overtime Non-response requests is facilitated;
after the request is sent, the sender hangs the request into the tail part of the unanswered queue; after receiving the request, the receiver completes the processing and sends a response; when the request sender receives the response, taking out the corresponding request from the non-response queue; if a certain unanswered request is overtime, taking the request out of the unanswered queue, re-recording the sending time and then sending the request, and then hanging the request into the tail part of the unanswered queue again;
(d) main frame communication module for receiving SLIC port information
When the expansion frame sends the registered SLIC port information to the main frame through the HW bus, a main frame communication module of the main frame de-encapsulates the received message to obtain the type and the ID number of the data packet, if the message corresponding to the registered SLIC port information is obtained, the information content of the SLIC port in the data packet is extracted, and the SLIC port information is delivered to a registration and cancellation module of a virtualized SLIC port to register or cancel the SLIC port;
meanwhile, the main frame communication module sends an ack message with the same serial number to the expansion frame communication module to inform the expansion frame that the main frame has received the SLIC port information sent by the expansion frame, otherwise, the expansion frame circularly sends the SLIC port information until the request is overtime;
(e) registration and logout module of virtualized SLIC port for performing virtualized registration and logout of SLIC port
When the received message is a message for registering the SLIC port, the registration and logout module of the virtualized SLIC port calls an ext _ describe _ register function to create a data structure of the virtual SLIC port and registers the virtualized SLIC port;
when the HW bus LINK management module of the main frame does not receive a LINK message request sent by the expansion frame within 10 seconds, the registration and logout module of the virtualized SLIC port of the main frame calls an ext _ describe _ unregister function to remove port state information set when the virtualized SLIC port is created and logout the created virtualized SLIC port;
(f) virtual SLIC port function module realizing specific function
The functions completed by the virtual SLIC port function module are the same as the functions specifically completed by the expansion frame SLIC module, including off-hook detection, DTMF detection and TONE TONE playing, the interface of the virtual SLIC port function module is sent to the expansion frame communication module of the expansion frame in a message mode through the main frame communication module, and the specific functions are realized by the expansion frame SLIC module.
In summary, the method for virtually creating the SLIC port is adopted to realize the cascade expansion among a plurality of devices, and when enterprises need to expand the number of the analog voice channel users, the expansion of the number of the analog voice channel users is realized without other means such as replacing the devices and replacing lines in the traditional way. Due to the adoption of a virtual method, the resources of the main frame can be expanded by the functions of the equipment, so that the cost is saved; the equipment is simple to expand and convenient to maintain.
It should be noted that: the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention; while the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
Claims (5)
1. The IP PBX user module cascading method based on the virtualized SLIC port is characterized in that: the expansion of the SLIC user module is realized by combining the main frame with the expansion frame, and the main frame and the expansion frame are connected by adopting a HW bus and communicate through the HW bus; a SLIC user module on a corresponding expansion frame is virtually simulated on a main frame, and all management and operation of a user are carried out on the main frame; when the system is used, the main frame equipment and the expansion frame equipment carry out signaling and voice interaction through a HW line, and conversation of SLIC ports of users at different positions is carried out;
the functional modules comprise a HW bus link management module (101), a registration and logout module (102) of a virtualized SLIC port, a virtual SLIC port functional module (103), a main frame communication module (104), an expansion frame communication module (105) and an expansion frame SLIC module (106),
the HW bus link management module (101) is connected between the expansion frame and the main frame through the HW bus, and the HW bus link management module (101) allocates a physical path between the virtual SLIC port and the SLIC port of the expansion frame and manages the physical path; the physical channel realizes the interaction between the control message and the voice message between the main frame and the expansion frame, and the HW bus link management module of the main frame distributes and releases a physical channel by whether the expansion frame sends a contact packet or not;
the registration and logout module (102) of the virtualized SLIC port is used for connecting and disconnecting the SLIC port of the main frame management expansion frame;
the virtual SLIC port function module (103) is used for specifically realizing the virtual SLIC function;
the main frame communication module (104) is used for the main frame to send a request and respond to response communication of the expansion frame, the main frame carries out communication between a main device and a slave device through a data packet packaged by hdlc, and the main frame realizes the communication between the main frame and the expansion frame in a command request and response mode;
the extension frame communication module (105) is used for the extension frame to carry out communication of a sending request and a response of the main frame, the extension frame carries out communication between the main equipment and the slave equipment through a data packet packaged by hdlc, and the extension frame realizes the communication of the main frame and the extension frame in a command request and response mode;
and the expansion frame SLIC module (106) is used for specifically realizing the SLIC function of the expansion frame.
2. The method of cascading IP PBX user modules based on virtualized SLIC ports of claim 1, wherein: the registration flow of the registration and logout module (102) of the virtualized SLIC port is as follows:
step one, a main frame receives actual SLIC port information reported by an expansion frame;
step two, for the received actual SLIC port information, a data structure of a virtual SLIC port is established on a main frame;
step three, after finishing establishing the data structure of the virtual SLIC port on the main frame, setting the state of each established virtual SLIC port;
the log-in and log-out process of the registration and log-out module (102) of the virtualized SLIC port comprises the following steps:
step one, detecting that a main frame does not receive a LINK message sent by an expansion frame within 10 seconds;
clearing state information set when the virtual SLIC port is created;
and step three, releasing the data structure of the virtual SLIC created by the main frame.
3. The method of cascading IP PBX user modules based on virtualized SLIC ports of claim 1, wherein: the interactive contents of the main frame communication module (104) comprise:
a) the main frame sends a request:
the main frame transmits the configuration information to the expansion frame through the expansion frame configuration request for configuration;
port control request, the main frame controls the port of the expansion frame;
b) the main frame responds to the response:
a response request for requesting a response to the extension frame;
and the LINK maintenance response is a response to the LINK request sent by the expansion frame.
4. The method of cascading IP PBX user modules based on virtualized SLIC ports of claim 1, wherein: the interactive contents of the extension frame communication module (105) include:
a) the extension frame sends a request:
the method comprises the steps that a link maintenance request is sent by an expansion frame every 1 second, and ACK is sent as a response message after a main frame receives the request; if the main frame does not receive the link maintenance request within the time of more than 10 seconds, the main frame considers that the link is not in;
an expanded frame state request requesting the main frame to update the expanded frame state;
requesting the main frame to update the board state by the board state request;
a port state request requesting the main frame to update the port state;
requesting the main frame to submit the channel event by the event request;
b) the extension box responds to the response:
a response request, which requests a response to the main frame;
and the link maintenance response is a LINKACK request response sent by the main frame.
5. The method of cascading IP PBX user modules based on virtualized SLIC ports of claim 1, wherein: the method comprises the following steps:
(a) HW bus link management module allocates a physical channel
The EXP port of the main frame provides a PCM clock to the expansion frame, the expansion frame device extracts the clock of the HW line, and the clocks of the main frame and the expansion frame are synchronous;
the expansion frame judges whether the HW port is connected with the HW line or not by detecting a clock signal of the HW line and sets a corresponding register; judging whether to hang down the extension frame or not under the condition that the main frame fails to provide a detection mechanism, and sending 1 contact packet every 1s to realize detection between the main frame and the extension frame;
the expansion frame board card and the port state are actively reported by an expansion frame, and a virtual SLIC port function module of a main frame adds related member variables in a dev _ info structure for expansion frame equipment;
after both links receive the link maintenance packet, the link is considered to be open, and the request transmission can be started;
the HW bus adopts an 8M clock, each HW bus bears 128 TDM channels, when a speech channel needs to be established, a main frame randomly selects a time slot, sends a command to an expansion frame and connects the speech channel to the time slot;
after receiving the command sent by the main frame, the expansion frame connects the corresponding time slot to the SLIC; establishing a speech path by an expansion frame SLIC;
(b) registration of specific SLIC port by expansion frame SLIC module
When the expansion frame is electrified, detecting whether a hardware SLIC exists, if the hardware SLIC exists, the expansion frame SLIC module processes specific SLIC hardware and creates a corresponding SLIC port so as to facilitate the processing of the SLIC port;
the SLIC port, namely a user circuit, has seven functions, namely seven functions of feeding (B), overvoltage protection (O), ringing (R), monitoring (S), single-circuit codec (C), hybrid circuit (H) and testing (T);
the information of the SLIC port is sent to a main frame communication module through an expansion frame communication module;
(c) the expansion frame communication module sends the actual SLIC port information to the main frame communication module
After the SLIC module of the expansion frame completes the registration of the SLIC port, the state detection module of the expansion frame encapsulates the detected SLIC port state into a corresponding data structure, the encapsulated data structure is encapsulated into a hdlc data packet again through the communication module of the expansion frame, and the hdlc data packet is sent to the main frame through the HW bus;
each request is correctly received and processed, and is managed by adopting an unanswered request queue, wherein the queue is arranged according to the time for sending the request, namely the last sent request is placed at the tail of the queue, so that the overtime unanswered request searching is facilitated;
after the request is sent, the sender hangs the request into the tail part of the unanswered queue; after receiving the request, the receiver completes the processing and sends a response; when the request sender receives the response, taking out the corresponding request from the non-response queue; if a certain unanswered request is overtime, taking the request out of the unanswered queue, re-recording the sending time and then sending the request, and then hanging the request into the tail part of the unanswered queue again;
(d) main frame communication module for receiving SLIC port information
When the expansion frame sends the registered SLIC port information to the main frame through the HW bus, a main frame communication module of the main frame de-encapsulates the received message to obtain the type and the ID number of the data packet, if the message corresponding to the registered SLIC port information is obtained, the information content of the SLIC port in the data packet is extracted, and the SLIC port information is delivered to a registration and cancellation module of a virtualized SLIC port to register or cancel the SLIC port;
meanwhile, the main frame communication module sends an ack message with the same serial number to the expansion frame communication module to inform the expansion frame that the main frame has received the SLIC port information sent by the expansion frame, otherwise, the expansion frame circularly sends the SLIC port information until the request is overtime;
(e) registration and logout module of virtualized SLIC port for performing virtualized registration and logout of SLIC port
When the received message is a message for registering the SLIC port, the registration and logout module of the virtualized SLIC port calls an ext _ describe _ register function to create a data structure of the virtual SLIC port and registers the virtualized SLIC port;
when the HW bus LINK management module of the main frame does not receive a LINK message request sent by the expansion frame within 10 seconds, the registration and logout module of the virtualized SLIC port of the main frame calls an ext _ describe _ unregister function to remove port state information set when the virtualized SLIC port is created and logout the created virtualized SLIC port;
(f) virtual SLIC port function module realizing specific function
The functions completed by the virtual SLIC port function module are the same as the functions specifically completed by the expansion frame SLIC module, including off-hook detection, DTMF detection and TONE TONE playing, the interface of the virtual SLIC port function module is sent to the expansion frame communication module of the expansion frame in a message mode through the main frame communication module, and the specific functions are realized by the expansion frame SLIC module.
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 CN109963037A (en) | 2019-07-02 |
CN109963037B true 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 (2)
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 |
CN101656796A (en) * | 2009-09-11 | 2010-02-24 | 中兴通讯股份有限公司 | Method and device for forwarding PCM data by USB interface |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SE9602679L (en) * | 1996-07-05 | 1998-01-06 | Ericsson Telefon Ab L M | Method and arrangement for controlling the operating mode of a subscriber line circuit |
CA2219436C (en) * | 1996-10-25 | 2003-02-04 | Northern Telecom Limited | Simulating changes in telephone subscriber line |
AU2569499A (en) * | 1998-01-30 | 1999-08-16 | Utstarcom, Inc. | An integrated analog/digital 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 |
WO2013123645A1 (en) * | 2012-02-21 | 2013-08-29 | 华为技术有限公司 | Multi-path speech signal multiplexing circuit, equipment and method |
-
2019
- 2019-03-05 CN CN201910162950.7A patent/CN109963037B/en active Active
Patent Citations (2)
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 |
CN101656796A (en) * | 2009-09-11 | 2010-02-24 | 中兴通讯股份有限公司 | Method and device for forwarding PCM data by USB interface |
Also Published As
Publication number | Publication date |
---|---|
CN109963037A (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109963037B (en) | IP PBX user module cascading method based on virtualized SLIC port | |
EP2173110B1 (en) | A realizing method for re-answering call | |
EP1560409A2 (en) | Apparatus and method for multiplexing communication signals | |
CN105959453A (en) | Multi-channel synchronous test VOIP test system and test method thereof | |
CN102118705B (en) | Method and device for notifying call information | |
WO2019061070A1 (en) | User equipment access method and apparatus for use with r2 device | |
CN104113537A (en) | System and method supporting access of TDM-circuit-based PBX devices of different protocol interface types to IMS network | |
CN100550760C (en) | A kind of video conference terminal and mixing network method thereof | |
JP6780540B2 (en) | Communication systems, communication methods, subscriber servers, and communication programs | |
CN113225512A (en) | Audio and video distribution method and system for seat terminal of video call center | |
WO2016039497A1 (en) | Communication service providing method and system for switching between general communication mode and internet communication mode | |
US7248679B2 (en) | Apparatus and method for transmitting-receiving CID in a PBX | |
CN101472011B (en) | Detection method of analog trunk line | |
CN102355412A (en) | Method and equipment for transmitting voice call request | |
WO2012070794A2 (en) | Fmc-communication-based call-setting method, and call connection infrastructure | |
CN114189499B (en) | Converged communication system, method and device for multi-service association interaction | |
CN107395625B (en) | Method for realizing steady-state call redundancy of soft switching equipment | |
CN101212521A (en) | Method for implementing hotline service in IP multimedia subsystem | |
CN100353798C (en) | Method for positoning call fault | |
US20120246328A1 (en) | Protocol interworking device for network telephone system and method for using the same | |
JP3251613B2 (en) | Communication control method, telephone and communication control system | |
CN103780768B (en) | A kind of playback method of testing and playback platform | |
JP2019083460A (en) | Telephone control unit | |
KR100888157B1 (en) | Method and system of supporting video telephone additional service | |
WO2017086562A1 (en) | Caller identification display method and service server for internet telephone |
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 |