CN107659857B - Method and equipment for realizing access of far-end telephone user to PBX based on FPGA - Google Patents

Method and equipment for realizing access of far-end telephone user to PBX based on FPGA Download PDF

Info

Publication number
CN107659857B
CN107659857B CN201711030269.4A CN201711030269A CN107659857B CN 107659857 B CN107659857 B CN 107659857B CN 201711030269 A CN201711030269 A CN 201711030269A CN 107659857 B CN107659857 B CN 107659857B
Authority
CN
China
Prior art keywords
code stream
ptn
data packet
pcm code
pbx
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
Application number
CN201711030269.4A
Other languages
Chinese (zh)
Other versions
CN107659857A (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.)
Shenou Communication Equipment Co ltd
Original Assignee
Shenou Communication Equipment Co ltd
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 Shenou Communication Equipment Co ltd filed Critical Shenou Communication Equipment Co ltd
Priority to CN201711030269.4A priority Critical patent/CN107659857B/en
Publication of CN107659857A publication Critical patent/CN107659857A/en
Application granted granted Critical
Publication of CN107659857B publication Critical patent/CN107659857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q3/00Selecting arrangements
    • H04Q3/04Circuit arrangements for receivers of routing digits
    • H04Q3/10Circuit arrangements for receivers of routing digits for PBX selectors, i.e. private branch exchange selectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • H04B10/2589Bidirectional transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • H04B10/2589Bidirectional transmission
    • H04B10/25891Transmission components
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention relates to the technical field of communication, in particular to a method and equipment for realizing the access of a far-end telephone user to a PBX (private branch exchange) based on an FPGA (field programmable gate array). By applying the technical scheme of the invention, a far-end analog telephone terminal can be connected to gateway equipment through a telephone line, the gateway equipment is directly connected with a PBX host through Ethernet or optical fiber or is firstly connected with a PTN network, and then is connected with the PBX host through the PTN network, and the PTN label packet switching technology is adopted in communication, so that the purpose of enabling the far-end analog telephone terminal to be accessed to the PBX system and become an internal extension of the PBX is achieved. When the far-end telephone user is accessed into the PBX, compared with the method of multiplexing equipment such as a telephone channel multiplexer and the like on the market at present, the method and the equipment can remarkably reduce the deployment cost of the whole system.

Description

Method and equipment for realizing access of far-end telephone user to PBX based on FPGA
Technical Field
The invention relates to the technical field of communication, in particular to a method and equipment for realizing the access of a far-end telephone user to a PBX (private branch exchange) based on an FPGA (field programmable gate array).
Background
In the actual networking of voice communication equipment, there is often a demand for distributed networking, that is, telephone terminals at a plurality of points (branch offices and offices) which are far apart (a linear distance of 1Km or more) are connected into the same PBX; because the direct access distance of the analog telephone line is limited (not more than 1 Km), other equipment is required to access the remote extension telephone to the PBX, and the equipment cost of the current commercial solution is relatively high.
As shown in fig. 1, a scheme diagram on the market at present is shown, and the implementation process is as follows:
on the PBX side of the voice switch, the extensions to be extended to the far end are FXS_1 to FXS_8,8 extensions, and the 8 extensions are directly connected with the near-end multiplexing equipment; the near-end multiplexing equipment is connected with the far-end multiplexing equipment through an optical fiber; the remote multiplexing device restores FXS_1 to FXS_8 and then interfaces with the remote telephone, thereby achieving the purpose of accessing the remote telephone to the PBX.
The PBX side, FXS represents a user board card, is usually used for receiving telephone sets, and occupies more user boards as the telephone sets are more; in the figure, an extension port which needs to be extended to a far end is connected to multiplexing equipment at a near end;
the near-end multiplexing equipment can be docked with the extension ports of the PBX only by configuring an FXO board card, and the more the extension ports are, the more the FXO board card is correspondingly increased; the function of the near-end multiplexing equipment is that of analog-digital/digital-analog conversion; that is, the analog signal received from FXS port of PBX is converted into digital signal, which is sent to far-end multiplexing equipment through optical fiber; simultaneously, the digital signals received from the far-end multiplexing equipment through the optical fiber are restored to analog signals and sent to the FXS port of the PBX;
the near-end multiplexing equipment and the far-end multiplexing equipment are connected through special optical fibers, namely the optical fibers are exclusively used;
from the above description, it is known that in the scheme of fig. 1, the hardware used is configured with: (1) a PBX user board card; (2) a near-end multiplexing device; (3) far-end multiplexing equipment, more equipment is used; when the number of the far-end phones is increased, the number of the PBX end user boards is increased, the number of the near-end multiplexing equipment boards is increased, and the overall hardware cost of the scheme is obviously increased; in addition, the near-end multiplexing equipment and the far-end multiplexing equipment are in butt joint by using special optical fibers, so that relatively tense optical fiber resources are occupied; during engineering construction, PBX end users need to directly approach end multiplexing equipment, the more the number of paths is, the higher the construction complexity is, and the higher the overall cost of the scheme is.
Disclosure of Invention
The invention aims at the problems and provides a method and equipment for realizing the access of a far-end telephone user to a PBX based on an FPGA.
The technical scheme adopted by the invention is as follows: a method for implementing remote telephone subscriber access to a PBX (private branch exchange) based on an FPGA (field programmable gate array), comprising at least the steps of:
1. the process of sending signals by the analog phone used by the user is as follows:
analog telephone signals of a far end are subjected to analog-to-digital conversion, so that the analog telephone signals are converted into digital signals and further converted into a Pulse Code Modulation (PCM) code stream format;
the PCM code stream is sent to an FPGA, the FPGA receives the PCM code stream, performs corresponding processing, packages the PCM code stream into PTN data packets suitable for being transmitted in a PTN (packet transport network) network, and then sends the PTN data packets to a PBX;
on the PBX, the FPGA is used for receiving the PTN data packet, and the PTN data packet is restored into a PCM code stream and is connected into a switching network of the PBX, so that the signal transmission of the analog telephone of the far-end telephone user is completed;
2. the process of receiving signals by the analog telephone used by the user is as follows:
the PBX uses the FPGA to pack the PCM code stream distributed to the remote telephone user into PTN network data packet and sends out;
the remote end uses the FPGA to receive the PTN network data packet, and carries out corresponding analysis and then restores the PTN network data packet into a PCM code stream;
and then the PCM code stream is subjected to digital-to-analog conversion, and then the analog signal is sent to an analog telephone used by a user, so that the analog telephone of the remote telephone user receives the signal.
The process of sending signals by the analog telephone used by the user includes the steps that after the FPGA receives the PCM code stream, corresponding processing is carried out, and the method specifically includes:
after receiving the PCM code stream, the FPGA analyzes the data of each time slot in the code stream, separates the data according to the time slot number, stores the data in a cache RAM, stores the data in different queues according to the time slot number, and each queue corresponds to different RAM addresses;
and then, respectively packaging the parsed data stored in different queues into PTN network data packets, and transmitting the PTN network data packets to the PBX through the Ethernet or the optical fiber.
In the process of sending signals by using an analog telephone set, a PBX receives the PTN data packet by using an FPGA and restores the PTN data packet into a PCM code stream, which comprises the following steps:
after receiving the PTN data packets, the FPGA analyzes each data packet, carries out corresponding QoS processing on each data packet according to QoS information in each data packet, and caches the analyzed voice data into the RAM according to the queue number according to the information corresponding to the original PCM code stream time slot in each data packet, wherein the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses;
the FPGA then converts the data in each queue in the RAM into PCM code stream, and the PCM code stream is accessed into the switching network of the PBX, so that the signal transmission of the analog telephone of the remote telephone user is completed.
In the process that a user receives signals by using an analog telephone, the PBX uses the FPGA to pack the PCM code stream distributed to the remote telephone user into a PTN network data packet and sends the PTN network data packet out through the Ethernet or the optical fiber, and the method specifically comprises the following steps:
the FPGA analyzes the time slot information in the PCM code stream distributed to the remote telephone user, divides the PCM code stream into different queues according to time slot numbers, stores the queues into a cache RAM, and each queue corresponds to different RAM addresses;
and then, respectively packaging the analyzed data stored in different queues into PTN network data packets, wherein the PTN network data packets comprise time slot information, voice data and QoS information, and then transmitting the PTN network data packets to a far end through an Ethernet or an optical fiber.
In the process that a user uses an analog phone to receive signals, a remote end uses an FPGA to receive PTN network data packets, and the PTN network data packets are correspondingly analyzed and then restored into a PCM code stream, which comprises the following steps:
after receiving the PTN data packets, the FPGA analyzes each data packet, carries out corresponding QoS processing on each data packet according to QoS information in each data packet, and caches the analyzed voice data into the RAM according to the queue number according to the information corresponding to the original PCM code stream time slot in each data packet, wherein the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses;
and then, the FPGA converts the data in each queue in the RAM into a PCM code stream, and then the PCM code stream is sent to the digital-to-analog conversion module for conversion, and the converted analog signals are sent to an analog phone used by a user.
An apparatus for implementing access of a far-end telephone user to a PBX based on FPGA at least comprises:
(1) A remote device comprising the following:
the analog-to-digital conversion module is used for performing analog-to-digital conversion on the far-end analog telephone signal to enable the analog telephone signal to be converted into a digital signal and further converted into a PCM code stream format; or the PCM code stream signal is restored into an analog signal and sent to an analog telephone of a remote telephone user;
the PCM code stream/PTN data packet processing module is used for packaging the PCM code stream into data packets suitable for transmission in the PTN network in the process of sending signals by the analog telephone; in the process of receiving signals by the analog telephone, the analog telephone is used for analyzing the received PTN network data packet and restoring the PTN network data packet into a PCM code stream;
the PTN data packet receiving and transmitting module is used for receiving/transmitting the PTN data packet;
(2) A PBX end device comprising:
the PCM code stream/PTN data packet processing module is used for analyzing the received PTN network data packet, restoring the PTN network data packet into a PCM code stream and accessing the PCM code stream into a switching network of the PBX in the process of sending signals by the analog telephone; during the process of receiving signals by the analog telephone, the PCM code stream is packed into data packets suitable for transmission in the PTN network;
and the PTN data packet receiving and transmitting module is used for receiving/transmitting the PTN data packet.
The analog-to-digital/digital-to-analog conversion module of the remote device is specifically configured to:
in the direction of sending signals by the far-end analog telephone, analog-to-digital conversion is carried out on the far-end analog telephone signal, so that the analog telephone signal is converted into a digital signal and further converted into a PCM code stream format; and/or the number of the groups of groups,
and in the direction of receiving signals by the remote analog telephone, the PCM code stream signals are restored into analog signals and are sent to the analog telephone of the remote telephone user.
The PCM code stream/PTN data packet processing module of the remote device is specifically configured to:
in the process of sending signals by a remote analog telephone, after receiving a PCM code stream, analyzing data of each time slot in the code stream, dividing the data according to time slot numbers, storing the data into a cache RAM, and storing the data into different queues according to the time slot numbers, wherein each queue corresponds to different RAM addresses; then, respectively packaging the parsed data stored in different queues into PTN network data packets;
in the process of receiving signals by a remote analog telephone, after receiving PTN data packets, analyzing each data packet, and carrying out corresponding QoS processing on each data packet according to QoS information in each data packet; according to the information corresponding to the original PCM code stream time slot in each data packet, the parsed voice information is cached into the RAM according to the queue number, the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses; the data in each queue in RAM is then converted to PCM streams.
The PTN data packet transceiver module of the remote device is specifically configured to:
in the process of sending signals by a remote analog telephone, a PTN network data packet is sent to PBX end equipment through an Ethernet or an optical fiber;
in the process of receiving signals by a remote analog telephone, receiving PTN network data packets through Ethernet or optical fibers;
the PTN data packet transceiver module of the PBX end device is specifically configured to:
in the process of sending signals by a remote analog telephone, receiving PTN network data packets through Ethernet or optical fibers;
in the process of receiving signals by the far-end analog telephone, PTN network data packets are sent to far-end equipment through Ethernet or optical fibers.
The PCM code stream/PTN data packet processing module of the PBX end device is specifically used for:
analyzing each PTN data packet sent by the remote equipment in the process of sending signals by the remote analog telephone, and performing corresponding QoS processing on each data packet according to QoS information in each data packet; according to the information corresponding to the original PCM code stream time slot in each data packet, the parsed voice information is cached into the RAM according to the queue number, the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses; then, converting the data in each queue in the RAM into PCM code stream and accessing into the switching network of the PBX;
in the process of receiving signals by a remote analog telephone, analyzing time slot information in a PCM code stream distributed to a remote telephone user by a PBX, dividing the time slot information into different queues according to time slot numbers, and storing the queues into a cache RAM, wherein each queue corresponds to different RAM addresses; and then, respectively packaging the analyzed data stored in different queues into PTN network data packets, wherein the PTN network data packets comprise time slot information, voice digital signals and QoS information.
The beneficial effects of the invention are as follows: by applying the technical scheme of the invention, only one special board card is required to be configured at the PBX side, thereby saving near-end multiplexing equipment in the prior art scheme and reducing the overall hardware cost; with the increase of the number of extensions to be extended to the far end, the hardware cost is unchanged at the PBX side, and the defect of steep increase of the hardware cost in the existing scheme is overcome; the special board card on the PBX uses an optical fiber or Ethernet interface to communicate with a remote gateway through a PTN network or a direct connection mode; the tight fiber resources are not exclusive. Compared with the prior art, the method can obviously reduce hardware cost and construction complexity in the whole scheme of realizing the access of the remote telephone to the PBX.
Drawings
FIG. 1 is a schematic diagram of a scheme currently on the market.
Fig. 2 is a schematic diagram of an embodiment of the present invention.
Fig. 3 is a flowchart of a method according to an embodiment of the present invention.
Fig. 4 is a block diagram of a remote gateway device shown in fig. 3.
Fig. 5 is a block diagram of a PBX-side dedicated board card shown in fig. 3.
Detailed Description
As described in the background art, in the prior art, more hardware devices are used, and when the number of remote phones is more, the number of PBX end user boards is increased, the number of near-end multiplexing device boards is increased, and the overall hardware cost of the scheme is obviously increased; in addition, the near-end multiplexing equipment and the far-end multiplexing equipment are in butt joint by using special optical fibers, so that relatively tense optical fiber resources are occupied; during engineering construction, PBX end users need to directly approach end multiplexing equipment, the more the number of paths is, the higher the construction complexity is, and the higher the overall cost of the scheme is.
In order to overcome the defects, the embodiment of the invention provides a method and equipment for realizing the access of a far-end telephone user to a PBX based on an FPGA, and by applying the technical scheme of the embodiment of the invention, only one special board card is required to be configured at the PBX side, thereby saving near-end multiplexing equipment in the prior art and reducing the overall hardware cost; with the increase of the number of extensions to be extended to the far end, the hardware cost is unchanged at the PBX side, and the defect of steep increase of the hardware cost in the existing scheme is overcome; the special board card on the PBX uses an optical fiber or Ethernet interface to communicate with a remote gateway through a PTN network or a direct connection mode, so that the special board card does not monopolize the optical fiber resources. By applying the technical scheme of the embodiment of the invention, only one special board card is required to be configured at the PBX side, thereby saving near-end multiplexing equipment in the prior art scheme and reducing the overall hardware cost; with the increase of the number of extensions to be extended to the far end, the hardware cost is unchanged at the PBX side, and the defect of steep increase of the hardware cost in the existing scheme is overcome; the special board card on the PBX uses an optical fiber or Ethernet interface to communicate with a remote gateway through a PTN network or a direct connection mode, so that the special board card does not monopolize the optical fiber resources.
Fig. 3 is a flowchart of a method provided in an embodiment of the present invention, specifically including:
the remote telephone is connected to the PBX to become an internal extension of the PBX, so that the remote telephone needs to communicate with the PBX, and the remote telephone can be distinguished according to the signal transmission direction in the process, and can respectively send signals and receive signals from the remote telephone in 2 directions, so that the flow chart can be analyzed.
In the direction in which the remote telephone sends signals, the method specifically comprises the following steps:
analog-to-digital conversion is carried out on the far-end analog telephone signal, so that the analog telephone signal is converted into a digital signal and further converted into a PCM code stream format signal; simulating an analog port number occupied by the telephone, corresponding to a time slot in the PCM code stream; (finally, after the PBX receives the signal, the extension number is corresponding to the PCM code stream time slot number;)
And then the PCM code stream is sent to the FPGA, and the FPGA receives the PCM code stream and performs corresponding processing, which specifically comprises the following steps:
firstly, analyzing the data of each time slot in the code stream, dividing the data according to time slot numbers, storing the data into a cache RAM, storing the data into different queues according to the time slot numbers, and enabling each queue to correspond to different RAM addresses;
then, the FPGA reorganizes the data which are analyzed and stored in different queues before packaging, mainly increases and perfects the data which are needed by packaging, and then packages the data in the queues into PTN network data packets respectively.
Then using Ethernet or optical fiber interface to send the PTN data packet to PBX through PTN network;
after receiving PTN data packets, an FPGA on a PBX special board analyzes each data packet, carries out corresponding QoS processing on each data packet according to QoS information in each data packet, and caches analyzed voice digital signals into a RAM according to a queue number according to information corresponding to an original PCM code stream time slot in each data packet, wherein the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses;
and then, the FPGA converts the data in each queue in the RAM into a PCM code stream and accesses the PCM code stream into a switching network of the PBX.
In this way, the signaling of the analog phone of the remote phone user is completed.
In the process of receiving signals by a remote telephone (in the direction of sending signals by a PBX end), the method specifically comprises the following steps:
the FPGA on the special board card of the PBX analyzes the time slot information in the PCM code stream distributed to the remote telephone user, and divides the PCM code stream into different queues according to the time slot number, and stores the queues into a cache RAM, and each queue corresponds to different RAM addresses;
then, respectively packaging the analyzed data stored in different queues into PTN network data packets, wherein the PTN network data packets comprise time slot information, voice data, qoS information and the like, and then transmitting the PTN network data packets to a far end through a PTN network by using an Ethernet or an optical fiber;
after receiving PTN data packets, the FPGA on the far-end gateway analyzes each data packet, carries out corresponding QoS processing on each data packet according to QoS information in each data packet, and caches analyzed voice data into the RAM according to the queue number according to the information corresponding to the original PCM code stream time slot in each data packet, wherein the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses; then converting the data in each queue into PCM code stream;
and then the PCM code stream is sent to a digital-to-analog conversion module for conversion, and the converted analog signal is sent to an analog telephone used by a user. In this way, the signal reception of the analog phone of the far-end telephone user is completed. The flow shown in fig. 3 is described above in terms of the 2 directions of receiving and sending signals from and to the analog phone of the remote phone user.
Fig. 4 is a block diagram of a remote device in the flowchart of fig. 3, specifically including:
(1) Analog-to-digital/digital-to-analog conversion module: analog-to-digital conversion is carried out on the far-end analog telephone signal, so that the analog telephone signal is converted into a digital signal and further converted into a PCM code stream format; or the PCM code stream signal is restored into an analog signal and sent to an analog telephone of a remote telephone user;
(2) PCM code stream/PTN packet processing module: in the process of sending signals by the analog telephone, the data of each time slot in the code stream are analyzed, separated according to the time slot number and stored in a cache RAM (random access memory), and stored in different queues according to the time slot number, each queue corresponds to different RAM addresses, then the analyzed data stored in different queues are subjected to data recombination before packaging, mainly the data required by packaging is increased and perfected, and then the data in the queues are respectively packaged into PTN (packet transport network) network data packets; in the process of receiving signals by the analog telephone, the analog telephone is used for analyzing each data packet after receiving the PTN data packet, carrying out corresponding QoS processing on each data packet according to QoS information in each data packet, caching the analyzed voice data into the RAM according to the queue number according to the information corresponding to the original PCM code stream time slot in each data packet, wherein the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses; then converting the data in each queue into PCM code stream;
(3) PTN data packet receiving and transmitting module: for receiving/transmitting PTN packets via a network cable or an optical fiber;
fig. 5 is a block diagram of a board card dedicated to the PBX side in the flow of fig. 3, specifically including:
(1) PTN data packet receiving and transmitting module: for receiving/transmitting PTN packets via a network cable or an optical fiber;
(2) PCM code stream/PTN packet processing module: in the process of sending signals by the analog telephone, the analog telephone is used for analyzing each data packet after receiving the PTN data packet, carrying out corresponding QoS processing on each data packet according to QoS information in each data packet, caching the analyzed voice data into the RAM according to the queue number according to the information corresponding to the original PCM code stream time slot in each data packet, wherein the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses; then converting the data in each queue into PCM code stream and accessing into the switching network of PBX; in the process of receiving signals of the analog telephone, the data of each time slot in the code stream allocated to the far-end analog telephone by the PBX are resolved, separated according to time slot numbers, stored in a cache RAM, and stored in different queues according to time slot numbers, each queue corresponds to different RAM addresses, the resolved data stored in different queues are recombined before being packed, the data needed by the packing is mainly increased and perfected, and then the data in the queues are respectively packed into PTN network data packets and are delivered to a PTN data packet transceiver module;
compared with the prior art, the technical scheme provided by the embodiment of the invention has the following advantages:
by applying the technical scheme of the embodiment of the invention, only one special board card is required to be configured at the PBX side, thereby saving near-end multiplexing equipment in the prior art scheme and reducing the overall hardware cost; with the increase of the number of extensions to be extended to the far end, the hardware cost is unchanged at the PBX side, and the defect of steep increase of the hardware cost in the existing scheme is overcome; the special board card on the PBX uses an optical fiber or Ethernet interface to communicate with a remote gateway through a PTN network or a direct connection mode, so that the special board card does not monopolize the optical fiber resources.
From the above description of the embodiments, it will be clear to those skilled in the art that the present invention may be implemented in hardware, or may be implemented by means of software plus necessary general hardware platforms. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which may be stored in a non-volatile storage medium, and includes several instructions for causing a computer device to perform the method described in the various implementation scenarios of the present invention.
Those skilled in the art will appreciate that the drawing is merely a schematic illustration of a preferred implementation scenario and that the modules and flows in the drawing are not necessarily required to practice the invention.
Those skilled in the art will appreciate that modules in an apparatus in an implementation scenario may be distributed in an apparatus in an implementation scenario according to an implementation scenario description, or that corresponding changes may be located in one or more apparatuses different from the implementation scenario. The modules of the implementation scenario may be further split into a plurality of sub-modules.
The foregoing disclosure is merely illustrative of some embodiments of the invention, and the invention is not limited thereto, as modifications may be made by those skilled in the art without departing from the scope of the invention.

Claims (8)

1. A method for realizing the access of a far-end telephone user to a PBX based on an FPGA is characterized by at least comprising the following steps:
1. the process of sending signals by the analog phone used by the user is as follows:
analog-to-digital conversion is carried out on the far-end analog telephone signal, so that the analog telephone signal is converted into a digital signal and further converted into a PCM code stream format;
the PCM code stream is sent to an FPGA, the FPGA receives the PCM code stream, performs corresponding processing, packages the PCM code stream into PTN data packets suitable for transmission in a PTN network, and then sends the PTN data packets to a PBX;
on the PBX, the FPGA is used for receiving the PTN data packet, and the PTN data packet is restored into a PCM code stream and is connected into a switching network of the PBX, so that the signal transmission of the analog telephone of the far-end telephone user is completed;
2. the process of receiving signals by the analog telephone used by the user is as follows:
the PBX uses the FPGA to pack the PCM code stream distributed to the remote telephone user into PTN network data packet and sends out;
the remote end uses the FPGA to receive the PTN network data packet, and carries out corresponding analysis and then restores the PTN network data packet into a PCM code stream;
then the PCM code stream is subjected to digital-to-analog conversion, and then an analog signal is sent to an analog telephone used by a user, so that the analog telephone of the remote telephone user receives the signal;
in the process of sending signals by using an analog telephone set, a PBX receives the PTN data packet by using an FPGA and restores the PTN data packet into a PCM code stream, which comprises the following steps:
after receiving the PTN data packets, the FPGA analyzes each data packet, carries out corresponding QoS processing on each data packet according to QoS information in each data packet, and caches the analyzed voice data into the RAM according to the queue number according to the information corresponding to the original PCM code stream time slot in each data packet, wherein the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses;
the FPGA then converts the data in each queue in the RAM into PCM code stream, and the PCM code stream is accessed into the switching network of the PBX, so that the signal transmission of the analog telephone of the remote telephone user is completed.
2. The method for implementing the access of the far-end telephone user to the PBX based on the FPGA according to claim 1, wherein the process of sending signals by the analog telephone used by the user is characterized in that the FPGA receives the PCM code stream and then carries out corresponding processing, and the method specifically comprises the following steps:
after receiving the PCM code stream, the FPGA analyzes the data of each time slot in the code stream, separates the data according to the time slot number, stores the data in a cache RAM, stores the data in different queues according to the time slot number, and each queue corresponds to different RAM addresses;
and then, respectively packaging the parsed data stored in different queues into PTN network data packets, and transmitting the PTN network data packets to the PBX through the Ethernet or the optical fiber.
3. The method for implementing the remote telephone subscriber to access the PBX based on the FPGA of claim 1, wherein the PBX uses the FPGA to package the PCM code stream allocated to the remote telephone subscriber into a PTN network data packet and send the PTN network data packet out through the ethernet or the optical fiber during the process of receiving the signal by the subscriber using the analog telephone, specifically comprising:
the FPGA analyzes the time slot information in the PCM code stream distributed to the remote telephone user, divides the PCM code stream into different queues according to time slot numbers, stores the queues into a cache RAM, and each queue corresponds to different RAM addresses;
and then, respectively packaging the analyzed data stored in different queues into PTN network data packets, wherein the PTN network data packets comprise time slot information, voice data and QoS information, and then transmitting the PTN network data packets to a far end through an Ethernet or an optical fiber.
4. The method for implementing the remote telephone user to access the PBX based on the FPGA according to claim 1, wherein the remote terminal uses the FPGA to receive the PTN network data packet and correspondingly analyze the PTN network data packet and restore the PTN network data packet to a PCM code stream during the process of using the analog telephone to receive the signal by the user, specifically comprising the following steps:
after receiving the PTN data packets, the FPGA analyzes each data packet, carries out corresponding QoS processing on each data packet according to QoS information in each data packet, and caches the analyzed voice data into the RAM according to the queue number according to the information corresponding to the original PCM code stream time slot in each data packet, wherein the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses;
and then, the FPGA converts the data in each queue in the RAM into a PCM code stream, and then the PCM code stream is sent to the digital-to-analog conversion module for conversion, and the converted analog signals are sent to an analog phone used by a user.
5. An apparatus for implementing access of a remote telephone user to a PBX based on an FPGA, comprising at least:
a remote device comprising the following:
the analog-to-digital conversion module is used for performing analog-to-digital conversion on the far-end analog telephone signal to enable the analog telephone signal to be converted into a digital signal and further converted into a PCM code stream format; or the PCM code stream signal is restored into an analog signal and sent to an analog telephone of a remote telephone user;
the PCM code stream/PTN data packet processing module is used for packaging the PCM code stream into data packets suitable for transmission in the PTN network in the process of sending signals by the analog telephone; in the process of receiving signals by the analog telephone, the analog telephone is used for analyzing the received PTN network data packet and restoring the PTN network data packet into a PCM code stream;
the PTN data packet receiving and transmitting module is used for receiving/transmitting the PTN data packet;
a PBX end device comprising:
the PCM code stream/PTN data packet processing module is used for analyzing the received PTN network data packet, restoring the PTN network data packet into a PCM code stream and accessing the PCM code stream into a switching network of the PBX in the process of sending signals by the analog telephone; during the process of receiving signals by the analog telephone, the PCM code stream is packed into data packets suitable for transmission in the PTN network;
a PTN data packet transceiver module for receiving/transmitting PTN data packets,
the PCM code stream/PTN data packet processing module of the PBX end device is specifically used for:
analyzing each PTN data packet sent by the remote equipment in the process of sending signals by the remote analog telephone, and performing corresponding QoS processing on each data packet according to QoS information in each data packet; according to the information corresponding to the original PCM code stream time slot in each data packet, the parsed voice information is cached into the RAM according to the queue number, the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses; then, converting the data in each queue in the RAM into PCM code stream and accessing into the switching network of the PBX;
in the process of receiving signals by a remote analog telephone, analyzing time slot information in a PCM code stream distributed to a remote telephone user by a PBX, dividing the time slot information into different queues according to time slot numbers, and storing the queues into a cache RAM, wherein each queue corresponds to different RAM addresses; and then, respectively packaging the analyzed data stored in different queues into PTN network data packets, wherein the PTN network data packets comprise time slot information, voice digital signals and QoS information.
6. The device for implementing the PBX access by the remote telephone subscriber based on the FPGA of claim 5, wherein the analog-to-digital/digital-to-analog conversion module of the remote device is specifically configured to:
in the direction of sending signals by the far-end analog telephone, analog-to-digital conversion is carried out on the far-end analog telephone signal, so that the analog telephone signal is converted into a digital signal and further converted into a PCM code stream format; and/or the number of the groups of groups,
and in the direction of receiving signals by the remote analog telephone, the PCM code stream signals are restored into analog signals and are sent to the analog telephone of the remote telephone user.
7. The device for implementing PBX access by a remote telephone subscriber based on FPGA of claim 5, wherein the PCM code stream/PTN packet processing module of the remote device is specifically configured to:
in the process of sending signals by a remote analog telephone, after receiving a PCM code stream, analyzing data of each time slot in the code stream, dividing the data according to time slot numbers, storing the data into a cache RAM, and storing the data into different queues according to the time slot numbers, wherein each queue corresponds to different RAM addresses; then, respectively packaging the parsed data stored in different queues into PTN network data packets;
in the process of receiving signals by a remote analog telephone, after receiving PTN data packets, analyzing each data packet, and carrying out corresponding QoS processing on each data packet according to QoS information in each data packet; according to the information corresponding to the original PCM code stream time slot in each data packet, the parsed voice information is cached into the RAM according to the queue number, the queue number corresponds to the time slot number, and each queue corresponds to different RAM addresses; the data in each queue in RAM is then converted to PCM streams.
8. The device for implementing PBX access by a remote telephone subscriber based on FPGA of claim 5, wherein the PTN packet transceiver module of the remote device is specifically configured to:
in the process of sending signals by a remote analog telephone, a PTN network data packet is sent to PBX end equipment through an Ethernet or an optical fiber;
in the process of receiving signals by a remote analog telephone, receiving PTN network data packets through Ethernet or optical fibers;
the PTN data packet transceiver module of the PBX end device is specifically configured to:
in the process of sending signals by a remote analog telephone, receiving PTN network data packets through Ethernet or optical fibers;
in the process of receiving signals by the far-end analog telephone, PTN network data packets are sent to far-end equipment through Ethernet or optical fibers.
CN201711030269.4A 2017-10-30 2017-10-30 Method and equipment for realizing access of far-end telephone user to PBX based on FPGA Active CN107659857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711030269.4A CN107659857B (en) 2017-10-30 2017-10-30 Method and equipment for realizing access of far-end telephone user to PBX based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711030269.4A CN107659857B (en) 2017-10-30 2017-10-30 Method and equipment for realizing access of far-end telephone user to PBX based on FPGA

Publications (2)

Publication Number Publication Date
CN107659857A CN107659857A (en) 2018-02-02
CN107659857B true CN107659857B (en) 2023-06-23

Family

ID=61096395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711030269.4A Active CN107659857B (en) 2017-10-30 2017-10-30 Method and equipment for realizing access of far-end telephone user to PBX based on FPGA

Country Status (1)

Country Link
CN (1) CN107659857B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953649B (en) * 2020-06-29 2022-06-28 广州广哈通信股份有限公司 Terminal authentication method, device, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742596A (en) * 1995-11-12 1998-04-21 Phonet Communication Ltd. Network based distributed PBX system
CN2884710Y (en) * 2005-12-07 2007-03-28 上海欣泰通信技术有限公司 Exchanging distance net bridge appliance with virtual net function for providing multiple interfaces
CN101232544A (en) * 2008-03-04 2008-07-30 北京佳讯飞鸿电气股份有限公司 Far-end attendant console system
CN102316229A (en) * 2010-07-07 2012-01-11 北京讯光科技发展有限责任公司 Inter-pulse code modulation (PCM) equipment telephone service interconnection device and method
CN106301918A (en) * 2016-08-16 2017-01-04 安徽省瑞鼎电子技术有限公司 Communications network system based on remote action data protection equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5742596A (en) * 1995-11-12 1998-04-21 Phonet Communication Ltd. Network based distributed PBX system
CN2884710Y (en) * 2005-12-07 2007-03-28 上海欣泰通信技术有限公司 Exchanging distance net bridge appliance with virtual net function for providing multiple interfaces
CN101232544A (en) * 2008-03-04 2008-07-30 北京佳讯飞鸿电气股份有限公司 Far-end attendant console system
CN102316229A (en) * 2010-07-07 2012-01-11 北京讯光科技发展有限责任公司 Inter-pulse code modulation (PCM) equipment telephone service interconnection device and method
CN106301918A (en) * 2016-08-16 2017-01-04 安徽省瑞鼎电子技术有限公司 Communications network system based on remote action data protection equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑明德 ; 范成发 ; 廖志耕 ; .综合接入IP网关在高速公路视频监控中的应用.广西科学院学报.2005,(S1),第1-3节. *

Also Published As

Publication number Publication date
CN107659857A (en) 2018-02-02

Similar Documents

Publication Publication Date Title
CN106789609B (en) FC-EG gateway, communication conversion method between fiber channel and Ethernet
CN101141768B (en) Test method and device for simulating voice quality variation aroused by network characteristic
CN108737912B (en) Message intercommunication method, POTN intercommunication module and POTN system
CN101159751A (en) Method and device of transmitting time division multiplex service through IP switch network
CN103746937A (en) Data acquisition service bus system applied to smart power distribution network and implementation method thereof
CN101527724B (en) Data transport container for transferring different data in internet protocol network
CN107659857B (en) Method and equipment for realizing access of far-end telephone user to PBX based on FPGA
RU2474869C1 (en) Multifunctional documentary information exchange station
CN105580322B (en) Home network signals relay and home network signals trunking method in its access net is used in access net
US7796583B1 (en) Packet handler for high-speed data networks
CN114390009B (en) Data processing method and device in time-sensitive network
CN101465858B (en) Method for implementing private network penetration of monitoring business, network appliance and server
CN101184040B (en) Router and method of implementing circuit simulation applying the router
CN110446275A (en) A kind of method, terminal and the system of E1 point-to-point communication
CN102238164A (en) Internet protocol (IP) telecommunication network-oriented multi-protocol message adaptation method
CN101909284B (en) Data transmission method and system for mobile terminal
CN109076111B (en) Cable media converter management method, apparatus and system
CN103166710B (en) Downlink signal transmission, access device and trunking
KR101416701B1 (en) High speed transceiver system using 1 core gigabit ethernet cable
CN102420835A (en) Method for realizing real-time transport protocol (RTP) media stream agent in unified communication system
US20200351117A1 (en) Adaptive Network Access System for Existing Infrastructure
RU2768799C1 (en) Telecommunication hardware and software complex and method for ensuring seamless integration of communication networks via an ip network (variants)
KR20120064862A (en) Method and system for the performance evaluation of next generation network
CN213342350U (en) Ethernet-analog telephone transmission equipment
CN105323160B (en) Message receiving and sending method and device, channel unit and communication equipment

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