CN101227535B - Method for transmitting data and port conversion equipment - Google Patents

Method for transmitting data and port conversion equipment Download PDF

Info

Publication number
CN101227535B
CN101227535B CN2008100570654A CN200810057065A CN101227535B CN 101227535 B CN101227535 B CN 101227535B CN 2008100570654 A CN2008100570654 A CN 2008100570654A CN 200810057065 A CN200810057065 A CN 200810057065A CN 101227535 B CN101227535 B CN 101227535B
Authority
CN
China
Prior art keywords
port
fxo
fxs
transmission unit
data transmission
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
CN2008100570654A
Other languages
Chinese (zh)
Other versions
CN101227535A (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 CN2008100570654A priority Critical patent/CN101227535B/en
Publication of CN101227535A publication Critical patent/CN101227535A/en
Application granted granted Critical
Publication of CN101227535B publication Critical patent/CN101227535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data transmission process and a port conversion device, wherein the process comprises arranging a port conversion device which comprises two foreign exchange office (FXO) ports between the two FXS devices, receiving the voice data of one foreign exchange station (FXS) through one FXO port and transmitting the voice data to the other FXS device through the other FXO device when the port conversion device is in a conversation state. Two FXO ports are provided to transmit the voice data from one FXS device to the other FXS device, thereby realizing the communication between the FXS devices.

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, system and port conversion equipment.
Background technology
Conventional dedicated packet switch (PBX, Private Branch Exchange), public switch telephone network (PSTN, Public Switched Telephone Network) or ip voice (VOIP, VoiceOver IP) the analog voice access interface that provides of the network equipment such as equipment is divided into FXS (FXS, Foreign eXchange Station) port, FXO (FXO, Foreign eXchange Office) port and standard analog trunk interface etc., wherein, fxo port and FXS port are the ports of analog of telephone line, the FXS port can only dock mutually with fxo port, and can not with other port hybrid junction.Therefore, if the network equipment such as PBX, PSTN or VOIP equipment all has only the FXS port when networking, this will inevitably cause between the network equipment and can't communicate, usually, the network equipment that has only the FXS port is called FXS equipment, that is to say not have a kind of method in the prior art and can realize communication between the FXS 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 FXS equipment.
A kind of method of transfer of data is provided with the port conversion equipment comprise two fxo ports between two FXS equipment, this method comprises: after described port conversion equipment detects any one fxo port and receives bell signal, enter talking state; When described port conversion equipment was in talking state, the speech data by a FXS FXS equipment of one of them fxo port reception sent to another FXS equipment by another fxo port with described speech data.
A kind of port conversion equipment, this port conversion equipment comprises: the first ring detecting unit, the second ring detecting unit, first controller, first fxo port and second fxo port, first data transmission unit and second data transmission unit;
The first ring detecting unit after being used for receiving bell signal by first fxo port, sends ringing to described first controller;
The second ring detecting unit after being used for receiving bell signal by second fxo port, sends ringing to described first controller;
Described first controller after being used to receive the ringing of described first ring detecting unit or the transmission of the second ring detecting unit, is controlled described first data transmission unit and second data transmission unit and is entered talking state;
Described first data transmission unit, when being used to be in talking state, receive speech data, and this speech data is sent to second data transmission unit by first fxo port, receive the speech data that second data transmission unit sends, and send out by first fxo port;
Described second data transmission unit, when being used to be in talking state, receive the speech data that first data transmission unit sends, and send out by second fxo port, receive speech data by second fxo port, and this speech data is sent to first data transmission unit.
As can be seen from the above technical solutions, the present invention is by being provided with the port conversion equipment that comprises two fxo ports between two FXS equipment, when this port conversion equipment is in talking state, speech data by a FXS equipment of one of them fxo port reception sends to another FXS equipment by another fxo port with described speech data.Because FXS equipment only comprises the FXS port, and the FXS port only can dock mutually with fxo port, the embodiment of the invention will pass to another FXS equipment from the speech data of a FXS equipment by two fxo ports are provided, thereby realize the communication between the FXS equipment.Has only the occasion of FXS port at the network equipment, the access demand that can use method that the embodiment of the invention provides and port conversion equipment to solve the FXS port.
Description of drawings
The method flow diagram that Fig. 1 embodiment of the invention provides;
The system construction drawing that Fig. 2 provides for the embodiment of the invention;
The port conversion equipment structure chart that Fig. 3 provides for the embodiment of the invention;
The instance graph of the port conversion equipment that Fig. 4 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 fxo ports is set between two FXS equipment, when this port conversion equipment is in talking state, speech data by a FXS equipment of one of them FXO port reception sends to another FXS equipment by another fxo port with this speech data.
The method flow diagram that Fig. 1 provides for the embodiment of the invention in this embodiment, sets in advance the port conversion equipment that comprises first fxo port and second fxo port, as shown in Figure 2, is used to the communication between the FXS equipment of realizing and the 2nd FXS equipment.As shown in Figure 1, this method mainly may further comprise the steps:
Step 101: port conversion equipment enters talking state after receiving the bell signal of FXS equipment transmission by first fxo port.
In this step, port conversion equipment enters talking state after also can receiving the bell signal of the 2nd FXS equipment transmission by second fxo port.That is to say that port conversion equipment all enters talking state after receiving bell signal by self any one fxo port.
Port conversion equipment can comprise two kinds of operating states, and a kind of is holding state, when not carrying out the transmission of speech data, can self be set to holding state, during holding state, port conversion equipment and FXS equipment room form and open circuit, and can not carry out voice data transmission; Another kind is a talking state, and during talking state, port conversion equipment and FXS equipment room form path, and port conversion equipment enters talking state can carry out the transmission of speech data.
Because when port conversion equipment and FXS equipment room form path, having electric current passes through, therefore, FXS equipment can determine whether the port conversion equipment that is attached thereto is in talking state by electric current is detected, and, after detecting the port conversion equipment that is attached thereto and being in talking state, begin to carry out the transmission of speech data.Therefore, after port conversion equipment receives bell signal, enter talking state, so that further receive the speech data that a FXS equipment sends.
Step 102: port conversion equipment carries out the transmission of speech data between FXS equipment and the 2nd FXS equipment by first fxo port and second fxo port.
In this step, port conversion equipment can pass through the speech data of first fxo port reception from a FXS equipment, and by second fxo port this speech data is sent to the 2nd FXS equipment; Also can pass through the speech data of second fxo port reception, and this speech data be sent to the 2nd FXS equipment by first fxo port from the 2nd FXS equipment.
Step 103: port conversion equipment is monitored the speech data of transmission in carrying out the voice data transmission process, receive busy-back signal if monitor any one fxo port, then control and self enter holding state, stop the communication between FXS equipment and the 2nd FXS equipment.
Busy-back signal also belongs to a kind of of speech data, a kind of sign voice signal that sends when being the end of FXS devices communicating, and therefore, port conversion equipment can adopt the busy tone monitoring of software to realize the monitoring of busy-back signal.
The port conversion equipment that the embodiment of the invention is provided is described in detail below.The port conversion equipment structure chart that Fig. 3 provides for the embodiment of the invention.As shown in Figure 3, this port conversion equipment mainly comprises: first fxo port 301 and second fxo port 302, first data transmission unit 303 and second data transmission unit 304.
First data transmission unit 303, when being used to be in talking state, receiving speech data by first fxo port 301, and this speech data is sent to second data transmission unit 304, receive the speech data that second data transmission unit 304 sends, and send out by first fxo port 301.
Second data transmission unit 304, when being used to be in talking state, receive the speech data that first data transmission unit 303 sends, and send out by second fxo port 302, receive speech data by second fxo port 302, and this speech data is sent to first data transmission unit 303.
In addition, this port conversion equipment also comprises: the first ring detecting unit 305, the second ring detecting unit 306 and first controller 307.
The first ring detecting unit 305 after being used for receiving bell signal by first fxo port, sends ringings to first controller 307.
The second ring detecting unit 306 after being used for receiving bell signal by second fxo port, sends ringings to first controller 307.
First controller 307 after being used to receive the ringing of the first ring detecting unit 305 or 306 transmissions of the second ring detecting unit, is controlled described first data transmission unit 303 and second data transmission unit 304 and is entered talking state.
That is to say that any one ring detecting unit detects bell signal, all control two data transmission units and enter talking state.
Wherein, the first ring detecting unit 305 and first data transmission unit 303 can be set to the first fxo port chip; The second ring detecting unit 306 and second data transmission unit 304 can be set to the second fxo port chip.The first fxo port chip and the second fxo port chip can for example, can be DAA+codec (DAA+CODEC) chip for any fxo port chip or chipset that possesses the bell signal monitoring, possesses talking state and holding state.Bell signal is a kind of big voltage signal, and the fxo port chip can detect bell signal by the mode of monitoring voltage.
This port conversion equipment can also comprise: second controller 308, be used to detect the speech data that sends between first data transmission unit 303 and second data transmission unit 304, if detect busy-back signal, then control described first data transmission unit 303 and second data transmission unit 304 and enter holding state.
Wherein, first controller 307 and second controller 308 can be single-chip microcomputer, Digital Signal Processing (DSP) chip or central processing unit (CPU) etc.Signaling between controller and the fxo port chip can adopt the form of bus to carry out alternately.
First data transmission unit 303 and second data transmission unit 304 when also being used to be in holding state, do not receive and send any speech data.
Busy-back signal also belongs to a kind of of speech data, a kind of sign voice signal that sends when being the end of FXS devices communicating, because the monitoring of busy-back signal can not be undertaken by the mode of monitoring voltage merely, therefore, usually, can adopt in controller and to load the monitoring that the busy tone monitoring of software is realized busy-back signal.
The method that the embodiment of the invention is provided below in conjunction with the port conversion equipment description of giving an example.The port conversion equipment structure that adopts as shown in Figure 4, in the figure, the single line arrow is represented the transmission of control command, double-lined arrow is represented the transmission of data.Suppose FXS equipment initiation caller, originally the first fxo port chip and the second fxo port chip of port conversion equipment are in holding state, and this method can comprise following process:
The one FXS equipment sends bell signal to port conversion equipment, and first fxo port of port conversion equipment receives this bell signal, after first fxo port detects this bell signal, sends ringing to controller.
After microcontroller receives ringing, control the first fxo port chip and the second fxo port chip off-hook and enter talking state.
The one FXS Equipment Inspection is behind the port conversion equipment off-hook, send speech data to port conversion equipment, first fxo port of port conversion equipment receives this speech data, and send to the first fxo port chip, the first fxo port chip sends to the second fxo port chip with this speech data, and sends to the 2nd FXS equipment by second fxo port; Behind the speech data that second fxo port the 2nd FXS equipment that receives sends, send to the second fxo port chip, the second fxo port chip sends to the 2nd FXS equipment with this speech data by second fxo port, thereby realizes two voice data transmission between the FXS equipment.
Controller is monitored the speech data that sends between the first fxo port chip and the second fxo port chip, in case monitor busy-back signal, then controls the first fxo port chip and the second fxo port chip off-hook and enters holding state.
So far, this data transmission procedure finishes.
By above description as can be seen, the embodiment of the invention is by being provided with the port conversion equipment that comprises two fxo ports between two FXS equipment, when this port conversion equipment is in talking state, speech data by a FXS equipment of one of them fxo port reception sends to another FXS equipment by another fxo port with described speech data.By providing two fxo ports will pass to another FXS equipment, thereby realized the communication between the FXS equipment from the speech data of a FXS equipment.Has only the occasion of FXS port at the network equipment, the access demand that can use method that the embodiment of the invention provides and port conversion equipment to solve the FXS port.
More preferably, concrete operations when the embodiment of the invention also provides port conversion equipment to receive bell signal that FXS equipment sends and busy-back signal, when promptly receiving bell signal by any one fxo port, enter talking state, monitor any one fxo port when receiving busy-back signal, enter holding state, thereby be adapted to the transmission standard of existing analog telephone communication more.
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 (7)

1. the method for a transfer of data is characterized in that, the port conversion equipment that comprises two FXO fxo ports is set between two FXS equipment, and this method comprises:
After described port conversion equipment detects any one fxo port and receives bell signal, enter talking state;
When described port conversion equipment was in talking state, the speech data by a FXS FXS equipment of one of them fxo port reception sent to another FXS equipment by another fxo port with described speech data.
2. method according to claim 1 is characterized in that, described port conversion equipment also comprises the first fxo port chip, second fxo port chip and the controller;
After described port conversion equipment detects any one fxo port and receives bell signal, entering talking state specifically comprises: after the arbitrary fxo port chip detection in the described port conversion equipment receives bell signal to the fxo port direct-connected with it, controller report ringing information in port conversion equipment, described controller are controlled the described first fxo port chip and the second fxo port chip enters talking state;
Described port conversion equipment is in talking state, by the speech data of one of them fxo port reception from a FXS FXS equipment, by another fxo port described speech data being sent to another FXS equipment specifically comprises: the described first fxo port chip and the second fxo port chip enter talking state, one of them fxo port chip will be direct-connected with it speech data of the FXS FXS equipment that receives of fxo port send to another FXS equipment by another fxo port chip and another fxo port.
3. method according to claim 2 is characterized in that, the speech data of transmitting between two fxo port chips of described monitoring control devices, detect busy-back signal after, control the described first fxo port chip and the second fxo port chip and enter holding state.
4. method according to claim 1, it is characterized in that, this method also comprises: described port conversion equipment is monitored the described speech data that receives, after detecting speech data that any one fxo port receives and being busy-back signal, enter holding state, do not receive and send any speech data.
5. port conversion equipment, it is characterized in that this port conversion equipment comprises: the first ring detecting unit, the second ring detecting unit, first controller, first fxo port and second fxo port, first data transmission unit and second data transmission unit;
The first ring detecting unit after being used for receiving bell signal by first fxo port, sends ringing to described first controller;
The second ring detecting unit after being used for receiving bell signal by second fxo port, sends ringing to described first controller;
Described first controller after being used to receive the ringing of described first ring detecting unit or the transmission of the second ring detecting unit, is controlled described first data transmission unit and second data transmission unit and is entered talking state;
Described first data transmission unit, when being used to be in talking state, receive speech data, and this speech data is sent to second data transmission unit by first fxo port, receive the speech data that second data transmission unit sends, and send out by first fxo port;
Described second data transmission unit, when being used to be in talking state, receive the speech data that first data transmission unit sends, and send out by second fxo port, receive speech data by second fxo port, and this speech data is sent to first data transmission unit.
6. port conversion equipment according to claim 5, it is characterized in that, this port conversion equipment also comprises: second controller, be used to detect the speech data that sends between described first data transmission unit and second data transmission unit, if detect busy-back signal, then control described first data transmission unit and second data transmission unit and enter holding state;
When described first data transmission unit and second data transmission unit are in holding state, do not receive and send any speech data.
7. port conversion equipment according to claim 6 is characterized in that, the described first ring detecting unit and first data transmission unit are set to the first fxo port chip;
The described second ring detecting unit and second data transmission unit are set to the second fxo port chip;
Described first controller and second controller are single-chip microcomputer, digital signal processing chip or central processing unit.
CN2008100570654A 2008-01-29 2008-01-29 Method for transmitting data and port conversion equipment Active CN101227535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100570654A CN101227535B (en) 2008-01-29 2008-01-29 Method for transmitting data and port conversion equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100570654A CN101227535B (en) 2008-01-29 2008-01-29 Method for transmitting data and port conversion equipment

Publications (2)

Publication Number Publication Date
CN101227535A CN101227535A (en) 2008-07-23
CN101227535B true CN101227535B (en) 2011-05-11

Family

ID=39859277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100570654A Active CN101227535B (en) 2008-01-29 2008-01-29 Method for transmitting data and port conversion equipment

Country Status (1)

Country Link
CN (1) CN101227535B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662542B (en) * 2008-08-26 2012-06-06 福建星网锐捷通讯股份有限公司 System and method for testing foreign exchange station interface

Also Published As

Publication number Publication date
CN101227535A (en) 2008-07-23

Similar Documents

Publication Publication Date Title
US7929517B2 (en) Voice over IP auto-switching/backup for emergency calls
CN101489004B (en) Remote diagnosis method and system for VoIP terminal
WO2011010820A2 (en) Auto reply and loopback method for the remote measurement of the quality of an internet phone
CN101222554B (en) Data transmission method and port conversion equipment
CN101159719B (en) VoIP analogy gateway and inside switch method of implementing conversation under fault condition
CN104735669A (en) Method and system for realizing access of mobile phone to internal secure communication network based on Bluetooth
CN101227535B (en) Method for transmitting data and port conversion equipment
CN101951702A (en) Method for implementing simplex communication based on mobile phone terminal
CN101557447B (en) VOIP/PSTN telephone line switcher
CN1249964C (en) Method for realizing no answer transferring business by calling based on internet speech gate
CN201910856U (en) Integrated access device
CN102118525B (en) Mine broadcasting telephone system based on VoIP (Voice over Internet Phone)
CN101645982B (en) Method and service veneer for voice terminal simulation test
US20060245568A1 (en) Gateway device, private branch exchange system, and private branch exchange method
CN201682546U (en) Conversation adapter
KR102530643B1 (en) Apparatus and method for ethernet conversion of 2W telephone signal in private PSTN
CN102857648A (en) Enterprise-level voice transmission soft exchange communication system
CN108322238A (en) Integrated form computer room call module and its communication device for lift, elevator communication system
CN100433677C (en) Method for realizing networked phone, and device of networked phone
CN108769441B (en) Soft switch conversation method and system
JPS6120458A (en) Busy tone signal converting circuit
CN1274130C (en) Communication equipment and method capable of automatically selectively dial-connecting with public switching telephone or network telephone
KR200283051Y1 (en) Internetphone small gateway for long distance subscriber by VoIP(voice over internet protocol)
CN201097456Y (en) Adaptor for connection between network phone and traditional phone
CN103051816B (en) A kind of digital audio matrix and TeleConference Bridge

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