WO2010078766A1 - Ip传真机的训练方法与装置 - Google Patents

Ip传真机的训练方法与装置 Download PDF

Info

Publication number
WO2010078766A1
WO2010078766A1 PCT/CN2009/074111 CN2009074111W WO2010078766A1 WO 2010078766 A1 WO2010078766 A1 WO 2010078766A1 CN 2009074111 W CN2009074111 W CN 2009074111W WO 2010078766 A1 WO2010078766 A1 WO 2010078766A1
Authority
WO
WIPO (PCT)
Prior art keywords
training
fax machine
local
receiving
signal
Prior art date
Application number
PCT/CN2009/074111
Other languages
English (en)
French (fr)
Inventor
舒畅
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to EP09837323A priority Critical patent/EP2372995A4/en
Publication of WO2010078766A1 publication Critical patent/WO2010078766A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/327Initiating, continuing or ending a single-mode communication; Handshaking therefor
    • H04N1/32704Establishing a communication with one of a facsimile and another telecommunication apparatus sharing a single line
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32358Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter
    • H04N1/324Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter intermediate the transmitter and receiver terminals, e.g. at an exchange
    • H04N1/32406Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using picture signal storage, e.g. at transmitter intermediate the transmitter and receiver terminals, e.g. at an exchange in connection with routing or relaying, e.g. using a fax-server or a store-and-forward facility
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0077Types of the still picture apparatus
    • H04N2201/0093Facsimile machine

Definitions

  • the present invention relates to a method and apparatus for training a facsimile machine, and more particularly to a method and apparatus for training an IP facsimile machine.
  • the T.38 protocol for real-time fax relay in an IP network has been increasingly applied.
  • the T.38 gateway at one end demodulates the modulated signal from the fax machine connected to it, and encapsulates the demodulated data into a message conforming to the T.38 protocol, and sends it to the peer T.38 through the IP network. Gateway.
  • the peer T.38 gateway parses out the data from the received message, modulates the data and sends it to the fax machine connected to the peer T.38 gateway.
  • the first is the call setup phase, which is completed manually or automatically, in line with the IP phone call process. After the call is established, a voice call can be made. The calling party can manually press the start button of the fax machine to send a fax tone signal to the called party, and the called party will hear a "beep".
  • this phase has entered the real fax phase, mainly to complete the fax machine capability identification, fax training and synchronization.
  • the digital identification signal is sent by the called fax machine for capability identification.
  • message synchronization and transmission phase message synchronization, error detection and error correction, and line monitoring are completed.
  • the file is transmitted, and the transmission is performed according to the modulation mode, transmission time, transmission mode and the like defined in T.4.
  • the message verification phase the message confirmation, multi-page file renewal and fax end signal are mainly completed.
  • the release phase of a fax call the call is released based on the fax end signal or network factor such as timeout.
  • most media gateways with T.38 relay function have two methods for fax training in the negotiation phase between fax machines, namely local training mode and remote training mode. In the local training mode, the sending fax machine gateway will not forward the training data to the receiving fax machine gateway, but only send a training instruction.
  • the receiving fax machine gateway After receiving the training instruction, the receiving fax machine gateway adopts the method of spoofing.
  • the modulation mode of the training instruction generates training data and sends it to the receiving fax machine.
  • the sending fax machine gateway sends the training data demodulated from the sending fax machine (about 1.5 seconds of all 0 data) in addition to the training instructions, and the receiving fax machine gateway.
  • the job is to send the received training data to the receiving fax machine.
  • the sending fax gateway and the receiving fax gateway have four configurations for the training mode, and the other ones are: remote-distal, local-local, remote-local, and local. -remote.
  • the gateways of both parties can smoothly carry out the training process, and the configuration compatibility problem occurs in the latter two combinations.
  • the receiving fax machine gateway will receive the T.38 training data message that is not expected, which may cause an abnormality; in the local-remote configuration, the receiving fax machine gateway will Looking forward to the T.38 training data message, but not receiving the message, it will definitely lead to training failure.
  • the main object of the present invention is to provide a training method and apparatus for an IP fax machine, which can be compatible with various training mode configurations, and ensures smooth transmission of fax files between IP fax machines.
  • the present invention provides a training method for an IP fax machine, the method comprising: determining, by a receiving fax machine, a training instruction message, determining a current training mode of the receiving fax machine, if local training In the mode, local training is performed; if it is in the remote training mode, the remote training is performed when the training signal message is received, and the previous training signal is not found when the training signal message is not received, if found, Perform remote training and perform local training if not found.
  • the method is: switching the receiving fax machine to a local training mode, and generating a training signal according to the training instruction message when receiving the next training instruction message, and sending the The receiving fax machine performs local training according to the training signal.
  • the receiving fax machine gateway discards the received training signal message.
  • the sending fax machine sends only the training instruction message to the receiving fax machine gateway through the sending fax machine gateway, and does not send the training signal. Text.
  • the receiving fax machine gateway communicates with the originating fax machine gateway based on an IP protocol.
  • the present invention also provides a training device for an IP facsimile machine, the device comprising: a training mode judging unit, configured to judge when the receiving fax machine gateway receives the training instruction message Disconnecting the current training mode of the receiving fax machine, if it is the local training mode, triggering the local training unit, if it is the remote training mode, triggering the training signal text determining unit; the local training unit for performing local training; the training signal a message determining unit, configured to determine whether the receiving fax machine gateway receives a training signal message, if received, triggering a remote training unit, otherwise triggering a search unit; and a remote training unit for performing remote training And a search unit for finding the previous training signal message, if found, triggering the remote training unit, otherwise triggering the local training unit.
  • a training mode judging unit configured to judge when the receiving fax machine gateway receives the training instruction message Disconnecting the current training mode of the receiving fax machine, if it is the local training mode, triggering the local training unit, if it is
  • the local training unit performs local training, specifically: generating a training signal according to the training instruction message, and sending the training signal to the receiving fax machine, where the receiving fax machine performs local training according to the training signal.
  • the receiving fax machine gateway discards the received training signal message.
  • the sending fax machine sends only the training instruction message to the receiving fax machine gateway through the sending fax machine gateway, and does not send the training signal message.
  • the receiving fax machine gateway communicates with the originating fax machine gateway based on an IP protocol.
  • the invention configures the gateway of the receiving fax machine to determine whether to generate a training signal or wait for a training signal at the far end according to the current training mode of the receiving fax machine when receiving the training instruction message, and at the far end. After the training signal expires, the receiving fax machine changes the remote training mode to the local training mode to generate a training signal and receive the training signal when the receiving fax machine gateway receives the remote training instruction.
  • the local fax machine performs local training to facilitate fax transmission between the originating fax machine and the receiving fax machine.
  • the invention can be compatible with the configuration of various training modes, and ensures the smooth transmission of fax files between IP fax machines.
  • FIG. 1 is a flow chart showing a method for training an IP fax machine in a local training mode according to an embodiment of the present invention
  • FIG. 2 is a receiving fax according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram showing the structure of a training apparatus of an IP fax machine according to an embodiment of the present invention.
  • the basic idea of the present invention is: The corresponding flow configuration is performed at the receiving fax machine gateway so that when the training instruction is received, the current training mode of the receiving fax machine is determined to be
  • the training signal is generated or waited for the training signal of the far end, and after the training signal of the far end expires, the receiving fax machine changes the remote training mode to the local training mode to receive the remote next time at the receiving fax machine gateway.
  • a training signal is generated and the receiving fax machine is locally trained to facilitate fax transmission between the sending fax machine and the receiving fax machine.
  • the invention can be compatible with the configuration of various training modes, and ensures the smooth transmission of fax files between IP fax machines.
  • FIG. 1 is a flowchart of a method for training an IP fax machine in a local training mode according to an embodiment of the present invention. As shown in FIG. 1, the receiving fax machine is in a local training mode.
  • the training method of the IP fax machine includes the following steps:
  • the sender gateway is set to the local training mode. Text, but does not send subsequent T.38 all 0 training data.
  • the sending fax machine sends a modulated signal of the training instruction to the sending fax machine gateway through a Pulse Code Modulation (PCM) bus. After demodulation, the demodulated training instruction information is IP encapsulated into The training instruction is sent to the receiving fax machine gateway.
  • PCM Pulse Code Modulation
  • the sending fax machine sends a training data sequence to the sending fax machine through the PCM bus after the transmitting signal is sent to the sending fax machine gateway, and is demodulated and performed.
  • the IP encapsulation sends a training signal message to the receiving fax machine gateway. If the sending fax machine is in the local training mode, the receiving fax machine will directly discard the training data sequence when it receives the training data sequence.
  • Step 102 After receiving the training instruction message, the receiving fax machine gateway determines that the training mode of the receiving fax machine connected to the receiving fax machine gateway is a local training mode, and unpacks and re-sends the training instruction message.
  • the training instruction signal is modulated and sent to the receiving fax machine, and at the same time, the training data sequence generated by the receiving fax machine is modulated, wherein the training sequence is specifically a locally generated training data sequence.
  • the training data sequence is determined according to the training indication information, and the training indication information is mainly used to indicate the duration of the training sequence, and the training data sequence is still a data sequence of all "0".
  • the recipient gateway is set to the local training mode. If the receiving fax machine gateway receives the training signal message sequence, the training signal message is discarded if the receiving fax machine's training mode is the local training mode.
  • Step 103 After the local fax machine performs local training, send the training success or failure information to the sending fax machine gateway through the receiving fax machine gateway, and the sending fax machine gateway sends the training success or failure information to the sending fax machine. , the training is over. In this step, the sender gateway is set to the local training mode.
  • a training success confirmation (CFR)/training failure (FTT) signal is sent to the receiving fax gateway, and the receiving fax machine demodulates and performs the CFR/FTT signal of the receiving fax machine.
  • the IP encapsulation is a CFR/FTT message and is sent to the originating fax machine gateway, which then modulates it into a CFR/FTT signal to the originating fax machine.
  • a training process is over. 2 is a flow chart of a method for training an IP fax machine in a remote training mode according to an embodiment of the present invention. As shown in FIG. 2, the receiving fax machine is an IP in the remote training mode.
  • the training method of the fax machine includes the following steps: Indicate the message.
  • the sending fax machine sends a modulated signal of the training instruction to the sending fax machine gateway through the PCM bus. After demodulation, the demodulated training instruction information is IP-encapsulated into a training instruction message, and sent to the 4-way fax machine gateway. .
  • the sending fax machine sends a training data sequence to the sending fax machine through the PCM bus after the transmitting signal is sent to the sending fax machine gateway, and is demodulated and performed.
  • the IP encapsulation sends a training signal message to the receiving fax machine gateway. If the sending fax machine is in the local training mode, the receiving fax machine will directly discard the training data sequence when it receives the training data sequence.
  • Step 202 After receiving the training instruction message, the receiving fax machine gateway determines that the training mode of the receiving fax machine connected to the receiving fax machine gateway is the remote training mode, and then waits for the training of the sending fax machine gateway side.
  • the signal 4 ⁇ if the training signal is received, the training signal is unpacked, modulated and sent to the receiving fax machine, and the receiving fax machine performs training according to the training signal; if waiting for the sending fax machine
  • the training signal on the gateway side times out, the receiving fax machine sends a training failure signal (FTT), and the receiving fax machine gateway 1 FTT demodulates and loads it into the FTT 4 ⁇ text to the sending fax machine gateway, and then Modulate to the sending fax machine.
  • FTT training failure signal
  • the receiving fax machine gateway determines whether the training signal of the sending fax machine gateway side is received during the previous training process, and if not, switches to the local training mode, otherwise, the previous training signal is Send to the receiving fax machine for training.
  • the receiving gateway is set to the remote training mode, and after receiving the training indication message, the receiving fax machine determines that the training mode of the receiving fax machine connected to the receiving fax machine gateway is the remote training mode.
  • Step 203 The sending fax machine initiates secondary training. The method of initiating is exactly the same as step 201, and details are not described herein again.
  • Step 204 The sending fax machine performs secondary training, and sends a fax to the sending party through the gateway of the receiving fax machine.
  • the machine gateway sends training success or failure information, and the sending fax machine gateway sends the training success or failure information to the sending fax machine, and the training ends.
  • the receiving fax machine After receiving the training instruction message, the receiving fax machine unpacks and re-modulates the training instruction message into a training instruction signal, and sends it to the receiving fax machine, and starts to modulate the generated training data to the receiving fax machine. sequence.
  • the training data sequence is determined according to the training indication information, and the training indication information is mainly used to indicate the duration of the training sequence, and the training data sequence is still a data sequence of all "0".
  • the CFR/FTT signal is sent to the receiving fax machine gateway, and the receiving fax machine demodulates the CFR/FTT signal of the receiving fax machine and encapsulates the IP into a CFR/FTT message. It is sent to the sending fax machine gateway, and the sending fax machine gateway modulates it into a CFR/FTT signal to the sending fax machine.
  • the second training process is over.
  • a computer readable medium having stored thereon computer executable instructions for causing a computer or processor to perform, for example, when executed by a computer or processor The processing of the steps shown in Figs. 1 and 2, optionally, one or more of the above embodiments may be performed.
  • FIG. 3 is a schematic structural diagram of a training apparatus of an IP facsimile machine according to an embodiment of the present invention.
  • the training apparatus of the IP facsimile includes a training mode judging unit 30, a local training unit 31, and training.
  • the mode if it is the local training mode, triggers the local training unit 31, and if it is the far-end training mode, the training signal 4 is detected.
  • the local training unit 31 is configured to perform local training, that is, generate a training signal according to the training instruction message received by the receiving fax machine gateway, and send the training signal to the receiving fax machine, where the receiving fax is locally performed according to the training signal. training.
  • the training signal 4 ⁇ ⁇ determining unit 32 is configured to determine whether the receiving fax machine gateway receives the training signal, and if so, triggers the remote training unit 33; otherwise, the searching unit 34 is triggered. When the receiving fax machine is in the remote training mode, it must perform remote training according to the received training signal message, and it is necessary to determine whether the training signal is received.
  • the remote training unit 33 is configured to perform remote training, that is, when the receiving fax machine gateway receives the training signal message, parsing, and sending the parsed training signal to the receiving fax machine, and receiving the fax signal.
  • the received training signal is trained.
  • the searching unit 34 is configured to search for the previous training signal, and if found, triggers the remote training unit 33, otherwise the local training unit 31 is triggered.
  • the searching unit 34 searches for the previous receiving training in the receiving fax machine gateway. The signal is processed, and if so, the training signal received before is parsed and sent to the receiving fax machine for remote training. Otherwise, the training mode of the receiving fax machine is modified to local training.
  • the mode generates a training signal according to the next training instruction message received by the receiving fax machine gateway, and sends the training signal to the receiving fax machine, and the receiving fax performs local training according to the training signal.
  • the receiving fax machine gateway discards the received training signal message.
  • the sending fax machine is in the local training mode, the sending party does not send a training signal message. Based on the receiving fax machine gateway and the sending fax machine gateway
  • the receiving fax machine After receiving the training instruction message, the receiving fax machine unpacks and re-modulates the training instruction message into a training instruction signal, and sends it to the receiving fax machine, and starts to modulate the generated training data to the receiving fax machine. sequence.
  • the training data sequence is determined according to the training indication information, and the training indication information is mainly used to indicate the duration of the training sequence, and the training data sequence is still a data sequence of all "0".
  • the CFR/FTT signal is sent to the receiving fax machine gateway, and the receiving fax machine demodulates the CFR/FTT signal of the receiving fax machine and encapsulates the IP into a CFR/FTT message.
  • the solution provided by the embodiment of the invention can be compatible with the configuration of various training modes, and ensures the smooth transmission of the fax file between the IP fax machines.
  • the implementation of the present invention does not modify the system architecture and the current processing flow, is easy to implement, facilitates promotion in the technical field, and has strong industrial applicability. The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Facsimile Transmission Control (AREA)
  • Telephonic Communication Services (AREA)

Description

IP传真机的训练方法与装置 技术领域 本发明涉及一种传真机训练的方法与装置, 尤其涉及一种 IP传真机的 训练方法与装置。 背景技术 随着互联网的发展, 在 IP网络中进行实时传真中继的 T.38协议得到了 越来越多的应用。 通常, 一端的 T.38网关将来自与其连接的传真机的调制信 号进行解调, 并将解调的数据封装成符合 T.38协议规定的报文, 通过 IP网 络发给对端的 T.38 网关。 对端 T.38 网关从接收的报文中解析出数据, 将该 数据调制并发送给与该对端 T.38网关连接的传真机。 以下筒单介绍 ip传真的过程: 首先是呼叫建立阶段, 通过手动或自动 的方式完成呼叫, 与 IP电话的呼叫过程一致。 呼叫建立完成后, 可以进行语 音通话。主叫端可以手动按传真机的启动按键,发送传真单音信号给被叫端 , 被叫端会听到 "嘀" 的一声。 其次是传真机能力协商和握手阶段, 该阶段已 进入真正的传真阶段, 主要完成传真机能力标识、 传真训练以及同步等。 由 被叫端传真机发送数字标识信号来进行能力识别。 报文同步及传送阶段, 完 成报文同步 , 误码检测纠错以及线路监控。 同时根据 T.4的规程传输文件 , 按照 T.4定义的调制方式、 传输时间、 传输方式等规定进行传输。 报文证实 阶段, 主要完成报文证实、 多页文件续发以及传真结束信号。 传真呼叫的释 放阶段, 根据传真结束信号或因为超时等网络因素释放呼叫。 目前, 绝大多数具有 T.38 中继功能的媒体网关对传真机间协商阶段的 传真训练有两种方式, 分别是本地训练方式和远端训练方式。 本地训练方式 下, 发方传真机网关不会向收方传真机网关转发训练数据, 而只是发送一个 训练指示的 4艮文;收方传真机网关接收该训练指示后,采用哄骗的方式, 按训练指示的调制方式, 生成训练数据并发送给收方传真机。 远端训练方式 下 , 发方传真机网关除发送训练指示 4艮文外 , 还要发送从发方传真机解调出 来的训练数据 (约 1.5秒的全 0数据), 收方传真机网关的工作就是将接收到 的训练数据发送给收方传真机。 这样, 在一次传真中, 发方传真机网关和收方传真机网关对于训练方式 的配置就有四种, 分另' J是: 远端-远端、本地-本地、远端-本地以及本地-远端。 前两种组合下双方网关可以顺利进行训练过程, 而后两种组合下就会出现配 置兼容性的问题。 其中, 远端-本地的配置下, 收方传真机网关会接收到并不 期待的 T.38训练数据报文, 可能会造成异常; 而本地-远端的配置下, 收方 传真机网关会期待 T.38训练数据报文 , 但又收不到该报文 , 必定会导致训练 失败。 发明内容 有鉴于此, 本发明的主要目的在于提供一种 IP传真机的训练方法与装 置,能兼容各种训练方式的配置,保证了 IP传真机之间传真文件的顺利传送。 为达到上述目的, 本发明提供了一种 IP传真机的训练方法, 该方法包 括: 收方传真机网关接收到训练指示报文时,判断所述收方传真机当前训练 模式, 若为本地训练模式, 则进行本地训练; 若为远端训练方式, 则在接收 到训练信号报文时进行远端训练, 未接收到训练信号报文时查找前次的训练 信号 4艮文, 若查找到则进行远端训练, 未查找到则进行本地训练。 优选地, 未查找到则进行本地训练, 具体为: 切换所述收方传真机为本 地训练方式, 并在接收到下次训练指示报文时根据所述训练指示报文生成训 练信号, 发送至所述收方传真机, 所述收方传真 艮据所述训练信号进行本 地训练。 优选地, 所述收方传真机为本地训练方式时, 所述收方传真机网关丢弃 所接收到的训练信号报文。 优选地, 所述发方传真机为本地训练方式时, 所述发方传真机通过所述 发方传真机网关仅向所述收方传真机网关发送训练指示报文, 不发送训练信 号 4艮文。 优选地,所述收方传真机网关与发方传真机网关之间基于 IP协议通信。 本发明还提供了一种 IP传真机的训练装置, 该装置包括: 训练模式判断单元, 用于在收方传真机网关接收到训练指示报文时, 判 断所述收方传真机当前训练模式, 若为本地训练模式, 则触发本地训练单元, 若为远端训练方式, 则触发训练信号 文判断单元; 本地训练单元 , 用于进行本地训练; 训练信号 4艮文判断单元,用于判断所述收方传真机网关是否接收到训练 信号报文, 若接收到则触发远端训练单元, 否则触发查找单元; 远端训练单元, 用于进行远端训练; 以及 查找单元, 用于查找前次的训练信号报文, 若查找到则触发远端训练单 元, 否则触发本地训练单元。 优选地, 所述本地训练单元进行本地训练, 具体为: 根据所述训练指示 报文生成训练信号, 发送至所述收方传真机, 所述收方传真机根据所述训练 信号进行本地训练。 优选地, 所述收方传真机为本地训练方式时, 所述收方传真机网关丢弃 所接收到的训练信号报文。 优选地, 所述发方传真机为本地训练方式时, 所述发方传真机通过所述 发方传真机网关仅向所述收方传真机网关发送训练指示报文, 不发送训练信 号报文。 优选地,所述收方传真机网关与发方传真机网关之间基于 IP协议通信。 本发明通过对收方传真机网关进行流程配置,使其在收到训练指示报文 时, 根据收方传真机的当前训练模式确定是生成训练信号还是等待远端的训 练信号, 以及在远端的训练信号超时后, 收方传真机将远端训练方式 4爹改为 本地训练方式, 以在收方传真机网关接收到远端的下次训练指示 4艮文时, 生 成训练信号并致使收方传真机进行本地训练, 以促成发方传真机与收方传真 机之间的传真传送。 本发明能兼容各种训练方式的配置, 保证了 IP传真机之 间传真文件的顺利传送。 附图说明 此处所说明的附图用来提供对本发明的进一步理解 ,构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1为才艮据本发明实施例的收方传真机为本地训练方式下的 IP传真机 的训练方法的流程图; 图 2为才艮据本发明实施例的收方传真机为远端训练方式下的 IP传真机 的训练方法的 程图; 图 3为才艮据本发明实施例的 IP传真机的训练装置的组成结构示意图。 具体实施方式 功能相克述 本发明的基本思想是: 在收方传真机网关进行相应的流程配置 , 使其在 收到训练指示 4艮文时, 才艮据收方传真机的当前训练模式确定是生成训练信号 还是等待远端的训练信号, 以及在远端的训练信号超时后, 收方传真机将远 端训练方式修改为本地训练方式, 以在收方传真机网关接收到远端的下次训 练指示报文时, 生成训练信号并致使收方传真机进行本地训练, 以促成发方 传真机与收方传真机之间的传真传送。 本发明能兼容各种训练方式的配置, 保证了 IP传真机之间传真文件的顺利传送。 为使本发明的目的、技术方案和优点更加清楚明白 , 以下举实施例并参 照附图 , 对本发明进一步详细说明。 由于本发明技术方案是对呼叫建立完成后的传真机能力协商和握手阶 段的改进, 因此对整个 IP传真过程不再赘述, 仅对改进部分进行详述。 方法实施例 图 1为才艮据本发明实施例的收方传真机为本地训练方式下的 IP传真机 的训练方法的流程图, 如图 1所示, 收方传真机为本地训练方式下的 IP传真 机的训练方法包括以下步骤:
指示 4艮文。 在实际应用中, 上述过程可以具体为: 发送方网关被设置为本地训练模 文,但不发送后续的 T.38全 0训练数据。 发方传真机通过^冲编码调制 ( Pulse Code Modulation , 筒称为 PCM ) 总线向发方传真机网关发送训练指示的调制信号, 经过解调后, 将解调后的 训练指示信息进行 IP封装为训练指示 4艮文, 发送给收方传真机网关。 发方传真机为远端训练方式时,发方传真机在向发方传真机网关发送训 练指示的调制信号后 , 还通过 PCM总线向发方传真机网关发送训练数据序 列, 经过解调、 进行 IP封装为训练信号报文发送给收方传真机网关。 如果发 方传真机为本地训练方式, 收方传真机网关接收到训练数据序列时, 直接将 其丢弃。 步骤 102: 收方传真机网关接收到训练指示报文后, 判断与所述收方传 真机网关连接的收方传真机的训练模式为本地训练模式, 将所述训练指示报 文解包并重新调制为训练指示信号, 并发送给收方传真机, 同时开始向收方 传真机调制生成的训练数据序列, 其中, 上述训练序列具体为本地生成的训 练数据序列。 这里, 训练数据序列才艮据训练指示信息确定, 训练指示信息主 要用于指示训练序列的持续时长, 所述的训练数据序列仍为全 "0" 的数据 序列。 在步骤 102中, 接收方网关被设置为本地训练模式。 如果收方传真机网关接收到了训练信号报文序列,在收方传真机的训练 模式为本地训练模式的情况下, 丢弃训练信号报文。 步骤 103: 收方传真机进行本地训练后, 通过收方传真机网关向发方传 真机网关发送训练成功或失败信息, 发方传真机网关将所述训练成功或失败 信息发送给发方传真机, 训练结束。 在该步骤中, 发送方网关被设置为本地 训练模式。 收方传真机的本地训练完成后, 向收方传真机网关发送训练成功确认 ( CFR ) /训练失败( FTT )信号 , 收方传真机网关将收方传真机的 CFR/FTT 信号解调并进行 IP封装为 CFR/FTT报文, 并发给发方传真机网关, 发方传 真机网关再将其调制为 CFR/FTT信号至发方传真机。 至此,一次训练过程结 束。 图 2为才艮据本发明实施例的收方传真机为远端训练方式下的 IP传真机 的训练方法的流程图, 如图 2所示, 收方传真机为远端训练方式下的 IP传真 机的训练方法包括以下步骤: 指示报文。 发方传真机通过 PCM 总线向发方传真机网关发送训练指示的调制信 号, 经过解调后, 将解调后的训练指示信息进行 IP封装为训练指示报文, 发 送给 4欠方传真机网关。 发方传真机为远端训练方式时,发方传真机在向发方传真机网关发送训 练指示的调制信号后 , 还通过 PCM总线向发方传真机网关发送训练数据序 列, 经过解调、 进行 IP封装为训练信号报文发送给收方传真机网关。 如果发 方传真机为本地训练方式, 收方传真机网关接收到训练数据序列时, 直接将 其丢弃。 步骤 202: 收方传真机网关接收到训练指示报文后, 判断与所述收方传 真机网关连接的收方传真机的训练模式为远端训练模式, 则等待发方传真机 网关侧的训练信号 4艮文, 如果接收到训练信号 4艮文, 则解包所述训练信号, 经过调制后发送至收方传真机, 收方传真机根据所述训练信号进行训练; 若 等待发方传真机网关侧的训练信号 4艮文超时, 收方传真机发出训练失败信号 ( FTT ), 收方传真机网关^1 FTT解调并 装为 FTT 4艮文的形式送给发方传 真机网关, 继而调制给发方传真机。 同时 , 收方传真机网关检测到 FTT信号 后, 判断在前次训练过程中是否收到发方传真机网关侧的训练信号, 如果没 有, 切换为本地训练方式, 否则, 将前次的训练信号发送至收方传真机, 以 使其进行训练。 在步骤 202中, 接收方网关被设置为远端训练模式, 收方传真机网关接 收到训练指示报文后, 判断与收方传真机网关连接的收方传真机的训练模式 为远端训练模式, 则等待发方传真机网关侧的训练信号报文, 若接收到训练 信号报文, 则直接将训练信号发送至收方传真机, 使其进行远端训练; 若等 待训练信号报文超时, 收方传真机发出 FTT信号, 收方传真机网关将前次训 练信号发送至收方传真机或通知发方传真机进行二次训练, 同时切换训练方 式为本地训练方式。 步骤 203:发方传真机发起二次训练。其发起方式与步骤 201完全相同, 这里不再赘述。 步骤 204: 发方传真机进行二次训练, 通过收方传真机网关向发方传真 机网关发送训练成功或失败信息, 发方传真机网关将所述训练成功或失败信 息发送给发方传真机, 训练结束。 收方传真机网关接收到训练指示报文后,将所述训练指示报文解包并重 新调制为训练指示信号, 并发送给收方传真机, 并开始向收方传真机调制生 成的训练数据序列。 这里, 训练数据序列根据训练指示信息确定, 训练指示 信息主要用于指示训练序列的持续时长, 所述的训练数据序列仍为全 "0" 的数据序列。 收方传真机的本地训练完成后, 向收方传真机网关发送 CFR/FTT信号, 收方传真机网关将收方传真机的 CFR/FTT信号解调并进行 IP封装为 CFR/FTT报文, 并发给发方传真机网关, 发方传真机网关再将其 调制为 CFR/FTT信号至发方传真机。 至此, 二次训练过程结束。 才艮据本发明实施例, 还提供了一种计算机可读介质, 该计算机可读介质 上存储有计算机可执行的指令, 当该指令被计算机或处理器执行时, 使得计 算机或处理器执行如图 1和图 2所示的各步骤的处理, ύ选地, 可以执行上 述实施例中的一个或多个。 装置实施例 图 3为才艮据本发明实施例的 IP传真机的训练装置的组成结构示意图, 如图 3所示, IP传真机的训练装置包括训练模式判断单元 30、 本地训练单元 31、 训练信号4艮文判断单元 32、 远端训练单元 33和查找单元 34, 其中, 训 练模式判断单元 30 用于在收方传真机网关接收到训练指示报文时, 判断所 述收方传真机当前训练模式, 若为本地训练模式, 则触发本地训练单元 31 , 若为远端训练方式, 则触发训练信号 4艮文判断单元 32。 本地训练单元 31用 于进行本地训练, 即根据收方传真机网关接收到的训练指示报文生成训练信 号, 发送至所述收方传真机, 所述收方传真 艮据所述训练信号进行本地训 练。 训练信号 4艮文判断单元 32 用于判断所述收方传真机网关是否接收到训 练信号 4艮文, 若接收到则触发远端训练单元 33 , 否则触发查找单元 34。 在 收方传真机为远端训练模式时, 则其必须根据所接收的训练信号报文进行远 端训练, 则需要判断是否收到训练信号 4艮文。 远端训练单元 33 用于进行远 端训练, 即在收方传真机网关接收到训练信号报文时, 进行解析, 将所解析 出的训练信号发送至收方传真机, 收方传真 艮据所接收到的训练信号进行 训练。 查找单元 34 用于查找前次的训练信号 4艮文, 若查找到则触发远端训 练单元 33 , 否则触发本地训练单元 31。 查找单元 34在确定收方传真机网关 未接收到训练信号 4艮文时, 查找该收方传真机网关中是否存在前次接收到训 练信号 4艮文 , 若有则解析所述前次接收到训练信号 ~¾文 , 并发送至收方传真 机使其进行远端训练 , 否则,将收方传真机的训练模式修改为本地训练模式 , 根据收方传真机网关接收到的下一训练指示报文生成训练信号, 发送至所述 收方传真机 , 所述收方传真 艮据所述训练信号进行本地训练。 该装置中, 所述收方传真机为本地训练方式时, 所述收方传真机网关丢 弃所接收到的训练信号报文。 所述发方传真机为本地训练方式时, 所述发方 文, 不发送训练信号报文。 所述收方传真机网关与发方传真机网关之间基于
IP协议通信。 收方传真机网关接收到训练指示报文后,将所述训练指示报文解包并重 新调制为训练指示信号, 并发送给收方传真机, 并开始向收方传真机调制生 成的训练数据序列。 这里, 训练数据序列根据训练指示信息确定, 训练指示 信息主要用于指示训练序列的持续时长, 所述的训练数据序列仍为全 "0" 的数据序列。 收方传真机的本地训练完成后, 向收方传真机网关发送 CFR/FTT信号, 收方传真机网关将收方传真机的 CFR/FTT信号解调并进行 IP封装为 CFR/FTT报文, 并发给发方传真机网关, 发方传真机网关再将其 调制为 CFR/FTT信号至发方传真机。 本发明实施例提供的方案能兼容各种训练方式的配置, 保证了 IP传真 机之间传真文件的顺利传送。 另外,本发明的实现没有对系统架构和目前的处理流程修改,易于实现, 便于在技术领域中进行推广, 具有较强的工业适用性。 以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保护 范围。

Claims

权 利 要 求 书
1 一种 IP传真机的训练方法, 其特征在于, 包括:
收方传真机网关接收到训练指示报文时, 判断所述收方传真机当 前训练模式, 若为本地训练模式, 则进行本地训练; 若为远端训练方 式, 则在接收到训练信号报文时进行远端训练, 未接收到训练信号报 文时查找前次的训练信号 4艮文, 若查找到则进行远端训练, 未查找到 则进行本地训练。
2. 根据权利要求 1所述的方法, 其特征在于, 未查找到则进行本地训练, 具体为: 切换所述收方传真机为本地训练方式, 并在接收到下次训练 指示报文时根据所述训练指示报文生成训练信号, 发送至所述收方传 真机 , 所述收方传真机根据所述训练信号进行本地训练。
3. 根据权利要求 1或 2所述的方法, 其特征在于, 所述收方传真机为本 地训练方式时, 所述收方传真机网关丢弃所接收到的训练信号报文。
4 根据权利要求 1所述的方法, 其特征在于, 所述发方传真机为本地训 真机网关发送训练指示报文, 不发送训练信号报文。 根据权利要求 1所述的方法, 其特征在于, 所述收方传真机网关与发 方传真机网关之间基于 IP十办议通信。
6. 一种 IP传真机的训练装置, 其特征在于, 包括:
训练模式判断单元, 用于在收方传真机网关接收到训练指示报文 时, 判断所述收方传真机当前训练模式, 若为本地训练模式, 则触发 本地训练单元, 若为远端训练方式, 则触发训练信号报文判断单元; 本地训练单元 , 用于进行本地训练;
训练信号 4艮文判断单元, 用于判断所述收方传真机网关是否接收 到训练信号报文, 若接收到则触发远端训练单元, 否则触发查找单元; 远端训练单元, 用于进行远端训练;
查找单元, 用于查找前次的训练信号报文, 若查找到则触发远端 训练单元, 否则触发本地训练单元。 才艮据权利要求 6所述的装置, 其特征在于, 所述本地训练单元进行本 地训练, 具体为: 根据所述训练指示报文生成训练信号, 发送至所述 收方传真机, 所述收方传真机根据所述训练信号进行本地训练。 根据权利要求 6或 7所述的装置, 其特征在于, 所述收方传真机为本 地训练方式时, 所述收方传真机网关丢弃所接收到的训练信号报文。
9. 根据权利要求 6所述的装置, 其特征在于, 所述发方传真机为本地训 练方式时,
真机网关发送训练指示报文, 不发送训练信号报文。
10. 根据权利要求 6所述的装置, 其特征在于, 所述收方传真机网关与发 方传真机网关之间基于 IP十办议通信。
PCT/CN2009/074111 2008-12-29 2009-09-22 Ip传真机的训练方法与装置 WO2010078766A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP09837323A EP2372995A4 (en) 2008-12-29 2009-09-22 METHOD AND APPARATUS FOR LEARNING FOR AN IP FAX

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008102468985A CN101448062B (zh) 2008-12-29 2008-12-29 Ip传真机的训练方法与装置
CN200810246898.5 2008-12-29

Publications (1)

Publication Number Publication Date
WO2010078766A1 true WO2010078766A1 (zh) 2010-07-15

Family

ID=40743442

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/074111 WO2010078766A1 (zh) 2008-12-29 2009-09-22 Ip传真机的训练方法与装置

Country Status (3)

Country Link
EP (1) EP2372995A4 (zh)
CN (1) CN101448062B (zh)
WO (1) WO2010078766A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101448062B (zh) * 2008-12-29 2011-05-11 中兴通讯股份有限公司 Ip传真机的训练方法与装置
CN109245783B (zh) * 2018-11-16 2020-12-22 苏州裕太微电子有限公司 一种双向传输有线通信系统接收器训练方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070195376A1 (en) * 2006-02-17 2007-08-23 Murata Kikai Kabushiki Kaisha Communication Terminal Device
CN101056349A (zh) * 2006-04-10 2007-10-17 广东省电信有限公司研究院 以网关控制协议支持的高速传真的信令流程的实现方法
CN101448062A (zh) * 2008-12-29 2009-06-03 中兴通讯股份有限公司 Ip传真机的训练方法与装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001292271A (ja) * 2000-04-04 2001-10-19 Canon Inc インターネットfaxゲートウェイ装置及びその制御方法
US20030223463A1 (en) * 2002-05-30 2003-12-04 Mehrdad Abrishami Method to improve fax transmission quality over packet based networks with significant delay and packet jitter using protocol re-timing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070195376A1 (en) * 2006-02-17 2007-08-23 Murata Kikai Kabushiki Kaisha Communication Terminal Device
CN101056349A (zh) * 2006-04-10 2007-10-17 广东省电信有限公司研究院 以网关控制协议支持的高速传真的信令流程的实现方法
CN101448062A (zh) * 2008-12-29 2009-06-03 中兴通讯股份有限公司 Ip传真机的训练方法与装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MENG JIN: "Internet facsimile communication study", PAPER FOR MASTER'S DEGREE OF PLA INFORMATION ENGINEERING UNIVERSITY, 31 January 2004 (2004-01-31) *

Also Published As

Publication number Publication date
CN101448062B (zh) 2011-05-11
CN101448062A (zh) 2009-06-03
EP2372995A4 (en) 2012-10-31
EP2372995A1 (en) 2011-10-05

Similar Documents

Publication Publication Date Title
RU2008105747A (ru) Ассоциирование телефонного вызова с диалогом, основанным на компьютерном протоколе, таком как sip
WO2011130987A1 (zh) 一种基于voip的传真方法及其系统
US20130151715A1 (en) Communication apparatus that performs communication using t.38 protocol, control method therefor, and storage medium
US20040146050A1 (en) Communication terminal device
WO2010078766A1 (zh) Ip传真机的训练方法与装置
US20090153908A1 (en) Facsimile device for directly communicating over ip networks
US20050243871A1 (en) Communication deivce and communication method
US20150103379A1 (en) System and Method for Guaranteed High Speed Fax Delivery with a Fax Adapter
WO2006081769A1 (en) A method for t.38 gateway processing non-standard frame
US7769872B2 (en) Gateway apparatus, network terminal apparatus and communication method
US20110289166A1 (en) Method for realizing a message interaction and a converged service system
JP2013046226A (ja) ファクシミリ装置、ファクシミリ装置の制御方法、プログラム
WO2010072092A1 (zh) Ip传真中的方法与系统
US7489633B2 (en) Method and apparatus for differential link bring-up for MoIP on the Internet
US20170359399A1 (en) Image processing apparatus, information processing method, and storage medium
US9578138B2 (en) Sip session management for fax communication
KR100535241B1 (ko) 에스아이피 프로토콜 기반의 무응답 시 호 전환 방법
JP2011114839A (ja) ファクシミリ中継装置、中継方法、及びプログラム
JP3811314B2 (ja) 音声・ファックス通信切替方法および装置、その方法を記憶した記録媒体
CN104902136B (zh) 图像通信装置及其控制方法
JP3974483B2 (ja) ネットワーク通信装置
CN107547483B (zh) 精准传真协商的方法及接入网关
US20060077987A1 (en) Method and apparatus for improving voice band data (VBD) connectivity in a communications network
WO2008025286A1 (fr) Procédé d'alternance, dispositif et système pour multifréquence à deux tonalités sous structure séparée
JP3828403B2 (ja) リアルタイムゲートウェイファクシミリ装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09837323

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2009837323

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2009837323

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE