CN101222554B - Data transmission method and port conversion equipment - Google Patents

Data transmission method and port conversion equipment Download PDF

Info

Publication number
CN101222554B
CN101222554B CN2008100570669A CN200810057066A CN101222554B CN 101222554 B CN101222554 B CN 101222554B CN 2008100570669 A CN2008100570669 A CN 2008100570669A CN 200810057066 A CN200810057066 A CN 200810057066A CN 101222554 B CN101222554 B CN 101222554B
Authority
CN
China
Prior art keywords
equipment
fxo
port
send
hook
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
CN2008100570669A
Other languages
Chinese (zh)
Other versions
CN101222554A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2008100570669A priority Critical patent/CN101222554B/en
Publication of CN101222554A publication Critical patent/CN101222554A/en
Application granted granted Critical
Publication of CN101222554B publication Critical patent/CN101222554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for data transmission and a port conversion device, wherein the method comprises the following steps that: the port conversion device comprising a first external switching station (FXS) port and a second FXS port is arranged between two FXO devices; when the port conversion device is in connection status, the port conversion device receives the voice data transmitted by a first external exchange (FXO) device through the first FXS port, and transmits the voice data to a second FXO device through the second FXS port; moreover, the port conversion device can also receive the voice data transmitted by the second FXO device through the second FXS port, and transmits the voice data to the first FXO device through the first FXS port. Therefore, speech communication between the FXO devices is realized.

Description

The method of transfer of data and port conversion equipment
Technical field
The present invention relates to the network communications technology, particularly a kind of method of transfer of data and port conversion equipment.
Background technology
Conventional dedicated packet switch (PBX, Private Branch Exchange), public switch telephone network (PSTN, Public Switched Telephone Network) or the analog voice access interface that provides of the network equipment such as ip voice (VOIP) equipment be divided into FXS (FXS, ForeigneXchange Station) port, FXO (FXO) port and standard analog trunk interface etc., wherein, fxo port and FXS port are the ports of analog of telephone line, fxo port can only dock mutually with the FXS port, and can not with other port hybrid junction.Therefore, if the network equipment such as PBX, PSTN or VOIP equipment all has only fxo port when networking, this will inevitably cause between the network equipment and can't communicate, usually, the network equipment that has only fxo port is called FXO equipment, that is to say not have a kind of method in the prior art and can realize communication between the FXO equipment.
Summary of the invention
The invention provides a kind of method and port conversion equipment of transfer of data, so that realize the communication between the FXO equipment.
A kind of method of transfer of data is provided with the port conversion equipment that comprises the first FXS FXS port and the 2nd FXS port between two FXO FXO equipment, this method comprises:
When this port conversion equipment is in talking state, receive the speech data that a FXO equipment sends, this speech data is sent to the 2nd FXO equipment by the 2nd FXS port by a FXS port; Perhaps, this port conversion equipment receives the speech data that the 2nd FXO equipment sends by the 2nd FXS port, and this speech data is sent to a FXO equipment by a FXS port.
A kind of port conversion equipment, this port conversion equipment comprises: a FXS port, the 2nd FXS port, first data transmission unit and second data transmission unit;
Described first data transmission unit when being used to be in talking state, receives the speech data that a FXO equipment sends by a FXS port, and this speech data is sent to second data transmission unit; Receive the speech data that second data transmission unit sends, and this speech data is sent to a FXO equipment by a FXS port;
Described second data transmission unit when being used to be in talking state, receives the speech data that the 2nd FXO equipment sends by the 2nd FXS port, and this speech data is sent to first data transmission unit; Receive the speech data that first data transmission unit sends, and this speech data is sent to the 2nd FXO equipment by the 2nd FXS port.
As can be seen from the above technical solutions, in method provided by the invention and port conversion equipment, the port conversion equipment that comprises a FXS port and the 2nd FXS port is set between two FXO equipment, when this port conversion equipment is in talking state, receive the speech data that a FXO equipment sends by a FXS port, this speech data is sent to the 2nd FXO equipment by the 2nd FXS port; Perhaps, this port conversion equipment receives the speech data that the 2nd FXO equipment sends by the 2nd FXS port, and this speech data is sent to a FXO equipment by a FXS port.Because FXO equipment only has fxo port, and fxo port only can dock with the FXS port, the embodiment of the invention is by the speech data of a FXS port reception from a FXO equipment, and speech data is sent to another FXO equipment, thereby realized the voice communication between the FXO equipment from another FXS port.Promptly when the network equipment has only fxo port, can utilize method provided by the invention and port conversion equipment to satisfy the access demand of fxo port.
Description of drawings
The data transmission system structure chart that Fig. 1 provides for the embodiment of the invention;
The data transmission method flow chart that Fig. 2 provides for the embodiment of the invention;
The structure chart of the port conversion equipment that Fig. 3 provides for the embodiment of the invention;
The method flow diagram that Fig. 4 provides for the embodiment of the invention in conjunction with the port conversion equipment structure;
The instance graph of the port conversion equipment that Fig. 5 provides for the embodiment of the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Method provided by the invention mainly comprises: the port conversion equipment that comprises two FXS ports is set between two FXO equipment, when this port conversion equipment is in talking state, receive the speech data that a FXO equipment sends by one of them FXS port, this speech data is sent to another FXO equipment by another FXS port.
In this method, FXO equipment and the 2nd FXO equipment can be the terminal equipments such as substation etc., also can be the voice trunking equipment such as PBX, PSTN or VOIP etc.
Below by specific embodiment this method is described in detail, understands for convenience, the system that provides in conjunction with the embodiment of the invention is described this method.The system construction drawing that Fig. 1 provides for the embodiment of the invention, this system comprises: port conversion equipment, a FXO equipment and the 2nd FXO equipment; The one FXO equipment is connected with a FXS port of port conversion equipment, and the 2nd FXO equipment is connected with the 2nd FXS port of port conversion equipment.The method flow diagram that Fig. 2 provides for the embodiment of the invention, as shown in Figure 2, this method mainly may further comprise the steps:
Step 201: after port conversion equipment detects a FXO equipment off-hook, send bell signal to the 2nd FXO equipment, and send backward signalling to a FXO equipment by a FXS port by the 2nd FXS port.
After the 2nd FXO equipment receives bell signal, can learn and self receive calling, then can select off-hook to enter talking state.
The backward signalling that sends in this step is used for sending bell signal to the 2nd FXO equipment to FXO equipment notice, and the 2nd FXO equipment continues.Certainly, do not send the realization that backward signalling does not influence the embodiment of the invention.
Step 202: port conversion equipment is judged in setting-up time whether off-hook of the 2nd FXO equipment, if, execution in step 203; If not, execution in step 207 then.
Because self can form path behind the 2nd FXO equipment off-hook, port conversion equipment can detect the electric current by the 2nd FXO equipment, then can determine to detect the 2nd FXO equipment off-hook.
Step 203: port conversion equipment stops to send bell signal and backward signalling detect the 2nd FXO equipment off-hook in setting-up time after.
Step 204: port conversion equipment receives the speech data that a FXO equipment sends by a FXS port, and sends to the 2nd FXO equipment by the 2nd FXS port; Perhaps, receive the speech data that the 2nd FXO equipment sends, and send to a FXO equipment by a FXS port by the 2nd FXS port.Thereby realize the voice communication between FXO equipment and the 2nd FXO equipment.
Step 205: after port conversion equipment detects a FXO equipment on-hook, send busy-back signal to the 2nd FXO equipment by the 2nd FXS port.
If the on-hook of FXO equipment, then FXO equipment then can form and open circuit, and port conversion equipment can't detect the electric current from FXO equipment, can determine to detect the on-hook of FXO equipment this moment.
Step 206: after detecting the 2nd FXO equipment on-hook, stop to send this busy-back signal, enter holding state, process ends.
Step 207: port conversion equipment stops to send bell signal to the 2nd FXO equipment, sends busy-back signal by a FXS port to a FXO equipment.
Step 208: after detecting a FXO equipment on-hook, stop to send this busy-back signal, enter holding state, process ends.
After step 201, if not off-hook and the FXO equipment on-hook as yet of the 2nd FXO equipment, then port conversion equipment stops to send bell signal to the 2nd FXO equipment, stops to send backward signalling to a FXO equipment, and enters holding state.
The structure of the port conversion equipment that the embodiment of the invention is provided is described in detail below, the structure chart of the port conversion equipment that Fig. 3 provides for the embodiment of the invention, as shown in Figure 3, this port conversion equipment can comprise: a FXS port 301a, the 2nd FXS port 301b, the first data transmission unit 302a and the second data transmission unit 302b.
The first data transmission unit 302a when being used to be in talking state, receives the speech data that a FXO equipment sends by a FXS port 301a, and this speech data is sent to the second data transmission unit 302b; Receive the speech data that the second data transmission unit 302b sends, and this speech data is sent to a FXO equipment by a FXS port 301a.
The second data transmission unit 302b when being used to be in talking state, receives the speech data that the 2nd FXO equipment sends by the 2nd FXS port 301b, and this speech data is sent to the first data transmission unit 302a; Receive the speech data that the first data transmission unit 302a sends, and this speech data is sent to the 2nd FXO equipment by the 2nd FXS port 301b.
In addition, this port conversion equipment can also comprise: the first state detection unit 303a, the first ring transmitting element 305a, the second state detection unit 303b, the second ring transmitting element 305b and controller 304.
The first state detection unit 303a, be used to detect a FXO equipment off-hook after, send off-hook information to controller 304.
The second state detection unit 303b, be used to detect the 2nd FXO equipment off-hook after, send off-hook information to controller 304.
If make a call by a FXO equipment, then controller 304, after being used to receive the off-hook information of first state detection unit 303a transmission, send ringing instruction to the second ring transmitting element 305b, and control the first data transmission unit 302a and enter talking state, after receiving the off-hook information that the second state detection unit 303b sends, send to the second ring transmitting element 305b and to stop ringing instruction, and control the second data transmission unit 302b and enter talking state.
If make a call by the 2nd FXO equipment, then controller 304, after being used to receive the off-hook information of second state detection unit 303b transmission, send ringing instruction to the first ring transmitting element 305a, and control the second data transmission unit 302b and enter talking state, after receiving the off-hook information that the first state detection unit 303a sends, send to the first ring transmitting element 305a and to stop ringing instruction, and control the first data transmission unit 302a and enter talking state.
The first ring transmitting element 305a, after being used to receive the ringing instruction of controller 304 transmissions, send bell signal by a FXS port 301a to a FXO equipment,, then stop to send bell signal if receive the ringing instruction that stops of controller 304 transmissions.
The second ring transmitting element 305b after being used to receive the ringing instruction of controller 304 transmissions, sends bell signal by the 2nd FXS port 301b to the 2nd FXO equipment; If receive the ringing instruction that stops of controller 304 transmissions, then stop to send bell signal.
In addition, this port conversion equipment can also comprise: the first busy tone transmitting element 306a and the second busy tone transmitting element 306b.
If make a call by a FXO equipment, then controller 304, also be used for after the second ring transmitting element 305b sends ringing instruction, if in setting-up time, do not receive the off-hook information that the second state detection unit 303b sends, then send and stop ringing instruction to the second ring transmitting element 305b, control the second data transmission unit 302b and enter holding state, and to the instruction of first busy tone transmitting element 306a transmission busy tone, after receiving the on-hook information of first state detection unit 303a transmission, send to the first busy tone transmitting element 306a and to stop the busy tone instruction, and control the first data transmission unit 302a and enter holding state.
If make a call by the 2nd FXO equipment, then controller 304, also be used for after the first ring transmitting element 305a sends ringing instruction, in setting-up time, do not receive the off-hook information that the first state detection unit 303a sends, then send and stop ringing instruction to the first ring transmitting element 305a, control the first data transmission unit 302a and enter holding state, and to the instruction of second busy tone transmitting element 306b transmission busy tone, after receiving the on-hook information of second state detection unit transmission, send to the second busy tone transmitting element 306b and to stop the busy tone instruction, and control the second data transmission unit 302b and enter holding state.
The first busy tone transmitting element 306a, be used to receive the busy tone instruction that controller 304 sends after, send busy-back signal by a FXS port 301a to a FXO equipment, receive that controller 304 sends stop the busy tone instruction after, stop to send busy-back signal.
The second busy tone transmitting element 306b, be used to receive the busy tone instruction that controller 304 sends after, send busy-back signal by the 2nd FXS port 301b to the 2nd FXO equipment, receive that controller 304 sends stop the busy tone instruction after, stop to send busy-back signal.
The first state detection unit 303a, also be used to detect a FXO equipment on-hook after, send the on-hook information to controller 304.
The second state detection unit 303b, also be used to detect the 2nd FXO equipment on-hook after, send the on-hook information to controller 304.
This port conversion equipment can also comprise: the first ring-back transmitting element 307a and the second ring-back transmitting element 307b.
If make a call by a FXO equipment, then controller 304, also be used for when the second ring transmitting element 305b sends ringing instruction, send the ring-back instruction to the first ring-back transmitting element 307a, when second ring transmitting element 305b transmission stops ringing instruction, to the instruction of first ring-back transmitting element 307a transmission stopping ring-back;
If make a call by the 2nd FXO equipment, then controller 304, also be used for when the first ring transmitting element 305a sends ringing instruction, send the ring-back instruction to the second ring-back transmitting element 307b, when first ring transmitting element 305a transmission stops ringing instruction, to the instruction of second ring-back transmitting element 307b transmission stopping ring-back.
The first ring-back transmitting element 307a, be used to receive the ring-back instruction that controller 304 sends after, send backward signalling by a FXS port 301a to a FXO equipment, receive that controller 304 sends stop the ring-back instruction after, stop to send backward signalling.
The second ring-back transmitting element 307b, be used to receive the ring-back instruction that controller 304 sends after, send backward signalling by the 2nd FXS port 301b to the 2nd FXO equipment, receive that controller 304 sends stop the ring-back instruction after, stop to send backward signalling.
If in the voice data transmission process, one of them FXO equipment on-hook, then:
The first state detection unit 303a, be used to detect a FXO equipment on-hook after, send the on-hook information to controller 304.
The second state detection unit 303b, be used to detect the 2nd FXO equipment on-hook after, send the on-hook information to controller 304.
If FXO equipment elder generation on-hook, then controller 304, be used for being in the talking state process at the first state detection unit 303a and the second state detection unit 303b, after receiving the on-hook information of first state detection unit 303a transmission, control the first data transmission unit 302a and enter holding state, and to the instruction of second busy tone transmitting element 306b transmission busy tone, after receiving the on-hook information of second state detection unit 303b transmission, control the second data transmission unit 302b and enter holding state, and to the instruction of second busy tone transmitting element 306b transmission stopping busy tone.
If the 2nd FXO equipment elder generation on-hook, then controller 304, also be used for being in the talking state process at the first state detection unit 303a and the second state detection unit 303b, after receiving the on-hook information of second state detection unit 303b transmission, control the second data transmission unit 302b and enter holding state, and to the instruction of first busy tone transmitting element 306a transmission busy tone, after receiving the on-hook information of first state detection unit 302a transmission, control the first data transmission unit 302a and enter holding state, and to the instruction of first busy tone transmitting element 306a transmission stopping busy tone.
The first busy tone transmitting element 306a, be used to receive the busy tone instruction that controller 304 sends after, send busy-back signal by a FXS port 301a to a FXO equipment, receive that controller 304 sends stop the busy tone instruction after, stop to send busy-back signal.
The second busy tone transmitting element 306b, be used to receive the busy tone instruction that controller 304 sends after, send busy-back signal by the 2nd FXS port 301b to the 2nd FXO equipment, receive that controller 304 sends stop the busy tone instruction after, stop to send busy-back signal.
In addition, if a FXO equipment makes a call, then controller 304, also be used for after sending ringing instruction to the second ring transmitting element 305b, and before receiving the off-hook information that the second state detection unit 303b sends, if receive the on-hook information that the first state detection unit 303a sends, then send and stop ringing instruction to the second ring transmitting element 305b, control the second data transmission unit 302b and enter holding state, to the instruction of first ring-back transmitting element 307a transmission stopping ring-back, control the first data transmission unit 302a and enter holding state;
If a FXO equipment makes a call, then controller 304, also be used for after sending ringing instruction to the first ring transmitting element 305a, and before receiving the off-hook information that the first state detection unit 303a sends, if receive the on-hook information that the second state detection unit 303b sends, then send and stop ringing instruction to the first ring transmitting element 305a, control the first data transmission unit 302a and enter holding state, to the instruction of second ring-back transmitting element 307b transmission stopping ring-back, control the second data transmission unit 302b and enter holding state.
In the port conversion equipment shown in Figure 3, controller can be single-chip microcomputer, digital signal processor (DSP) or central processing unit (CPU) etc.
The first data transmission unit 302a, the first state detection unit 303a, the first ring transmitting element 305a, the first busy tone transmitting element 306a and the first ring-back transmitting element 307a can be arranged in the same unit and finish, for example, can be set to a FXS port chip or a chipset; The second data transmission unit 302b, the second state detection unit 303b, the second ring transmitting element 305b, the second busy tone transmitting element 306b and the second ring-back transmitting element 307b can be arranged in the same unit and finish, for example, can be set to the 2nd FXS port chip or chipset.Wherein, a FXS port chip and the 2nd FXS port chip can be user interface circuit+codec (SLIC+CODEC) chip.
Below in conjunction with first port conversion equipment that comprises FXS port chip and the 2nd FXS port chip the method that the embodiment of the invention provides is described in detail, the port conversion equipment structure of this moment as shown in Figure 5, dotted arrow presentation directives is mutual among Fig. 5, and the realization arrow is represented data interaction.The method flow diagram that Fig. 4 provides for the embodiment of the invention in conjunction with the port conversion equipment structure, suppose that the FXO equipment that is connected with a FXS port initiates caller, then as shown in Figure 4, the method that realizes FXO equipment and the 2nd FXO communication between devices can may further comprise the steps:
Step 401: a FXO equipment off-hook is initiated caller.
Step 402: a FXS port chip of port conversion equipment detects a FXO equipment off-hook, and this off-hook information is reported controller.
Step 403: the controller of port conversion equipment is controlled a FXS port chip and is entered talking state, controls a FXS port chip and sends backward signalling by a FXS port to a FXO equipment; And, control the 2nd FXS port chip and send bell signal to the 2nd FXO equipment by the 2nd FXS port.
Step 404: judge the 2nd FXO equipment off-hook whether in setting-up time, if in setting-up time off-hook, then continue execution in step 405, if do not have off-hook at setting-up time, then execution in step 410.
Step 405: the 2nd FXS port chip of port conversion equipment detects the 2nd FXO equipment off-hook, and this off-hook information is reported controller.
Step 406: the controller of port conversion equipment is controlled the 2nd FXS port chip and is entered talking state, and controls a FXS port chip and stop to send backward signalling.
Step 407: a FXS port chip will send to the 2nd FXS port chip by the speech data that a FXS port receives, and the 2nd FXS port chip sends to the 2nd FXO equipment with this speech data by the 2nd FXS port; The 2nd FXS port chip will send to a FXS port chip by the speech data that the 2nd FXS port receives, and a FXS port chip sends to a FXO equipment with this speech data by a FXS port.And realize voice data transmission between FXO equipment and the 2nd FXO equipment.
Step 408: when any one fxo port chip detection arrives the on-hook of FXO equipment, for example, after the FXO equipment on-hook of the first fxo port chip detection to the, this on-hook information is reported controller, controller is controlled the first fxo port chip and is entered holding state, and controls the 2nd FXS port chip and pass through the 2nd FXS port to the 2nd FXO equipment transmission busy-back signal.
Step 409: the 2nd FXS port chip reports controller with this on-hook information after detecting the 2nd FXO equipment on-hook, and controller is controlled the 2nd FXS port chip and entered holding state, and controls the 2nd FXS port chip and stop to send busy-back signal.Process ends.
Step 410: in the time of setting, do not have off-hook if the 2nd FXS port chip detects the 2nd FXO equipment, then should overtime not off-hook information report controller, controller is controlled the 2nd FXS port and is stopped to send bell signal, and a FXS port chip sends busy-back signal by a FXS port to a FXO equipment.
Step 411: a FXS port chip reports controller with this on-hook information after detecting a FXO equipment on-hook, and controller is controlled a FXS port chip and stopped to send busy-back signal, and controls a FXS port chip and enter holding state.Process ends.
In addition, if after step 403, the 2nd FXO equipment is not as yet before the off-hook, the one FXO equipment on-hook, the one FXO chip offers controller with detected on-hook information, at this moment, controller is controlled the 2nd FXS port chip and is stopped to send bell signal and enter holding state, controls a FXS port chip and stops to send backward signalling and enter holding state.
By above description as can be seen, in method and port conversion equipment that the embodiment of the invention provides, the port conversion equipment that comprises a FXS port and the 2nd FXS port is set between two FXO equipment, when this port conversion equipment is in talking state, receive the speech data that a FXO equipment sends by a FXS port, this speech data is sent to the 2nd FXO equipment by the 2nd FXS port; Perhaps, this port conversion equipment receives the speech data that the 2nd FXO equipment sends by the 2nd FXS port, and this speech data is sent to a FXO equipment by a FXS port.Thereby when the network equipment has only fxo port, can utilize method provided by the invention and port conversion equipment to satisfy the access demand of fxo port, realize the voice communication between the FXO equipment.
In addition, the embodiment of the invention also provides when FXO equipment off-hook, on-hook, the corresponding operating of port conversion equipment, and the corresponding operating of this port conversion equipment is adapted to the communication standard of existing analog telephone communication, need not FXO equipment is carried out any functionality change.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (12)

1. the method for a transfer of data is characterized in that, the port conversion equipment that comprises the first FXS FXS port and the 2nd FXS port is set between two FXO FXO equipment, and this method comprises:
When this port conversion equipment is in talking state, receive the speech data that a FXO equipment sends, this speech data is sent to the 2nd FXO equipment by the 2nd FXS port by a FXS port; Perhaps, this port conversion equipment receives the speech data that the 2nd FXO equipment sends by the 2nd FXS port, and this speech data is sent to a FXO equipment by a FXS port.
2. method according to claim 1 is characterized in that, also comprises before described port conversion equipment receives described speech data:
After described port conversion equipment detects a FXO equipment off-hook, send bell signal to the 2nd FXO equipment by the 2nd FXS port; If port conversion equipment stops to send described bell signal detect the 2nd FXO equipment off-hook in setting-up time after, enter talking state.
3. method according to claim 2 is characterized in that, when the 2nd FXO equipment sent bell signal, described port conversion equipment also sent backward signalling by a FXS port to a FXO equipment described; When stopping to send described bell signal, stop to send described backward signalling.
4. method according to claim 3, it is characterized in that, if at described the 2nd FXS port that passes through after the 2nd FXO equipment sends bell signal, and before detecting the 2nd FXO equipment off-hook, detect a FXO equipment on-hook, then stop to send described bell signal and backward signalling, and enter holding state.
5. method according to claim 2, it is characterized in that, if described port conversion equipment does not detect the 2nd FXO equipment off-hook in setting-up time, then stop to send described bell signal, and send busy-back signal to a FXO equipment by a FXS port; After detecting a described FXO equipment on-hook, stop to send described busy-back signal, enter holding state.
6. method according to claim 1 is characterized in that, this method also comprises:
Described port conversion equipment detects a FXO equipment on-hook in the talking state process after, send busy-back signal to the 2nd FXO equipment by the 2nd FXS port, detect the 2nd FXO equipment on-hook after, stop to send described busy-back signal, enter holding state.
7. a port conversion equipment is characterized in that, this port conversion equipment comprises: the first FXS FXS port, the 2nd FXS port, first data transmission unit and second data transmission unit;
Described first data transmission unit when being used to be in talking state, receives the speech data that the first FXO FXO equipment sends by a FXS port, and this speech data is sent to second data transmission unit; Receive the speech data that second data transmission unit sends, and this speech data is sent to a FXO equipment by a FXS port;
Described second data transmission unit when being used to be in talking state, receives the speech data that the 2nd FXO equipment sends by the 2nd FXS port, and this speech data is sent to first data transmission unit; Receive the speech data that first data transmission unit sends, and this speech data is sent to the 2nd FXO equipment by the 2nd FXS port.
8. port conversion equipment according to claim 7 is characterized in that, this port conversion equipment also comprises: first state detection unit, second state detection unit, second ring transmitting element and the controller;
Described first state detection unit, be used to detect a FXO equipment off-hook after, send off-hook information to described controller;
Described second state detection unit, be used to detect the 2nd FXO equipment off-hook after, send off-hook information to described controller;
Described controller, after being used to receive the off-hook information of first state detection unit transmission, send ringing instruction to the described second ring transmitting element, and control described first data transmission unit and enter talking state, after receiving the off-hook information of second state detection unit transmission, send to the described second ring transmitting element and to stop ringing instruction, and control described second data transmission unit and enter talking state;
The described second ring transmitting element after being used to receive the ringing instruction of described controller transmission, sends bell signal by the 2nd FXS port to the 2nd FXO equipment; If receive the ringing instruction that stops of described controller transmission, then stop to send described bell signal.
9. port conversion equipment according to claim 8 is characterized in that, this port conversion equipment also comprises: the first busy tone transmitting element;
Described controller, also be used for after the described second ring transmitting element sends ringing instruction, in setting-up time, do not receive the off-hook information that second state detection unit sends, then send and stop ringing instruction to the described second ring transmitting element, control second data transmission unit and enter holding state, and to the instruction of first busy tone transmitting element transmission busy tone, after receiving the on-hook information of first state detection unit transmission, send to the described first busy tone transmitting element and to stop the busy tone instruction, and control described first data transmission unit and enter holding state;
The described first busy tone transmitting element, be used to receive the busy tone instruction that described controller sends after, send busy-back signal by a FXS port to a FXO equipment, receive that described controller sends stop the busy tone instruction after, stop to send described busy-back signal;
Described first state detection unit, also be used to detect a FXO equipment on-hook after, send on-hook information to described controller.
10. port conversion equipment according to claim 8 is characterized in that, this port conversion equipment also comprises: the first ring-back transmitting element;
Described controller, also be used for when the described second ring transmitting element sends ringing instruction, send the ring-back instruction to the described first ring-back transmitting element, when described second ring transmitting element transmission stops ringing instruction, to the instruction of described first ring-back transmitting element transmission stopping ring-back;
The described first ring-back transmitting element, be used to receive the ring-back instruction that described controller sends after, send backward signalling by a FXS port to a FXO equipment, receive that described controller sends stop the ring-back instruction after, stop to send described backward signalling.
11. port conversion equipment according to claim 8 is characterized in that, described first state detection unit, also be used to detect a FXO equipment on-hook after, send on-hook information to described controller;
Described controller, also be used for after sending ringing instruction to the second ring transmitting element, and before receiving the off-hook information that second state detection unit sends, if receive the on-hook information that first state detection unit sends, then send and stop ringing instruction, and control second data transmission unit and first data transmission unit enters holding state to the second ring transmitting element.
12. port conversion equipment according to claim 7 is characterized in that, this port conversion equipment also comprises: first state detection unit, second state detection unit, the first busy tone transmitting element, second busy tone transmitting element and the controller;
Described first state detection unit, be used to detect a FXO equipment on-hook after, send on-hook information to described controller;
Described second state detection unit, be used to detect the 2nd FXO equipment on-hook after, send on-hook information to described controller;
Described controller, be used for being in the talking state process in described first state detection unit and second state detection unit, after receiving the on-hook information of first state detection unit transmission, control described first data transmission unit and enter holding state, and to the instruction of described second busy tone transmitting element transmission busy tone, after receiving the on-hook information of second state detection unit transmission, control described second data transmission unit and enter holding state, and to the instruction of described second busy tone transmitting element transmission stopping busy tone;
The described second busy tone transmitting element, be used to receive the busy tone instruction that described controller sends after, send busy-back signal by the 2nd FXS port to the 2nd FXO equipment, receive that described controller sends stop the busy tone instruction after, stop to send described busy-back signal.
CN2008100570669A 2008-01-29 2008-01-29 Data transmission method and port conversion equipment Active CN101222554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100570669A CN101222554B (en) 2008-01-29 2008-01-29 Data transmission method and port conversion equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100570669A CN101222554B (en) 2008-01-29 2008-01-29 Data transmission method and port conversion equipment

Publications (2)

Publication Number Publication Date
CN101222554A CN101222554A (en) 2008-07-16
CN101222554B true CN101222554B (en) 2010-07-21

Family

ID=39632116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100570669A Active CN101222554B (en) 2008-01-29 2008-01-29 Data transmission method and port conversion equipment

Country Status (1)

Country Link
CN (1) CN101222554B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610428B (en) * 2009-07-13 2012-01-04 厦门敏讯信息技术股份有限公司 Digital exchange test system, digital exchange and computer
CN102045464B (en) * 2009-10-15 2014-01-01 中兴通讯股份有限公司 Method and device for realizing called relay in telecommunication access network
CN106656771B (en) * 2016-11-07 2019-07-09 苏州工业园区服务外包职业学院 A kind of method that accessing gateway equipment and inside it loopback realize basic call
CN108134882B (en) * 2017-12-18 2020-09-22 迈普通信技术股份有限公司 Monitoring test method and device

Also Published As

Publication number Publication date
CN101222554A (en) 2008-07-16

Similar Documents

Publication Publication Date Title
US8189569B2 (en) Apparatus and method for realizing user switching between IP network and PSTN network
US7301940B1 (en) Dual-use packet/analog phone or phone-adapter in a packet telephony distribution system
JP4306908B2 (en) Telephone transmission control device
CN101222554B (en) Data transmission method and port conversion equipment
KR20030037135A (en) ADVANCED VoIP GATEWAY DEVICE
CN101090378B (en) Method and correlation device for identifying and setting call from IP network to PSTN
Cisco Direct Inward Dialing for Cisco IAD2420 Series Integrated Access Devices
CN101227535B (en) Method for transmitting data and port conversion equipment
KR100362346B1 (en) Network switching system for relaying subscriber line and method for offering communication service using the same
US20060245568A1 (en) Gateway device, private branch exchange system, and private branch exchange method
KR100582569B1 (en) Method for switching and waiting the telephone call of a telephone subscriber
CN100433677C (en) Method for realizing networked phone, and device of networked phone
KR100821576B1 (en) Call switching method in pbx using ip network
CN1274130C (en) Communication equipment and method capable of automatically selectively dial-connecting with public switching telephone or network telephone
KR100590861B1 (en) Method for switching the request signal of telephone call
KR101045865B1 (en) Network switching system for subscriber line relay and communication service providing method using same
KR20010079469A (en) A method and architecture of PSTN call on a Internet telephony gateway for SOHO
JPH0244848A (en) Tripartite communication equipment of public telephone set
JP2548388B2 (en) Button telephone device
JP2004253990A (en) Internet telephone adapter device
JPH11285037A (en) Terminal adaptor
KR20000015153A (en) Personal computer having a function of a digital keyphone telephone and control method thereof
JPH02268059A (en) Terminal adaptor
KR20020094433A (en) A exchange with wireless lan
EP2043344A2 (en) Method and apparatus for decentralizing operator workstations of telephone exchanges by means of IP networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address