CN1984122B - Method for decreasing facsimile protocol frame collision - Google Patents
Method for decreasing facsimile protocol frame collision Download PDFInfo
- Publication number
- CN1984122B CN1984122B CN2006100785074A CN200610078507A CN1984122B CN 1984122 B CN1984122 B CN 1984122B CN 2006100785074 A CN2006100785074 A CN 2006100785074A CN 200610078507 A CN200610078507 A CN 200610078507A CN 1984122 B CN1984122 B CN 1984122B
- Authority
- CN
- China
- Prior art keywords
- fax
- terminal
- time
- frame
- delay time
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Facsimile Transmission Control (AREA)
- Facsimiles In General (AREA)
Abstract
本发明公开了一种减少传真协商帧碰撞的方法,设置第一延迟时长和第二延迟时长,传真中转设备根据设置的第一延迟时长调整向第一传真终端发送来自第二传真终端的传真协商帧的时间,根据设置的第二延迟时长调整向第二传真终端发送来自第一传真终端的传真协商帧的时间。本发明所提出的方法能够减少传真协商帧的碰撞,提高传真成功率。
The invention discloses a method for reducing the collision of fax negotiation frames. The first delay time and the second delay time are set, and the fax transfer device adjusts and sends the fax negotiation from the second fax terminal to the first fax terminal according to the set first delay time. frame time, adjusting the time for sending the fax negotiation frame from the first fax terminal to the second fax terminal according to the set second delay time. The method proposed by the invention can reduce the collision of fax negotiation frames and improve the success rate of fax.
Description
技术领域technical field
本发明涉及传真技术,尤其涉及一种减少传真协商帧碰撞的方法。 The invention relates to facsimile technology, in particular to a method for reducing collision of facsimile negotiation frames. the
背景技术Background technique
传真通信是利用扫描和光电变换技术,将文字、图片、照片等静态图像由发端经有线或无线信道送往收端,并在收端重现静止图像的通信方式。20世纪70年代以来,由于在公用电话交换网(Public Switched TelephoneNetwork,PSTN)上开放文件传真业务,传真通信得到了大力发展,成为人们传输信息的手段之一。 Facsimile communication is a communication method that uses scanning and photoelectric conversion technology to send static images such as text, pictures, and photos from the source to the receiving end through wired or wireless channels, and reproduce the still images at the receiving end. Since the 1970s, due to the opening of the file fax service on the Public Switched Telephone Network (PSTN), fax communication has been vigorously developed and has become one of the means for people to transmit information. the
参见图1所示的传真组网示意图,PSTN侧传真终端直接连到PSTN网络上,通过PSTN网络与其它传真终端进行协商通信;移动侧传真终端通过外接无线固定终端(FWT)或移动终端(MS)连到移动网络上,通过移动网络与其它传真终端进行协商通信。为了保证在移动网络中传真能够正常协商完成,通常在移动交换中心(MSC)中集成一个专门用来处理传真业务的互通功能模块(InterWorking Function,IWF),IWF对传真呼叫信令和数据的传输相当于起了一个网关的作用,其功能与PSTN网关的功能相类似。其中,IWF、PSTN网关、FWT和MS都可以称为传真中转设备。 Referring to the fax network diagram shown in Figure 1, the fax terminal on the PSTN side is directly connected to the PSTN network, and negotiates and communicates with other fax terminals through the PSTN network; the fax terminal on the mobile side connects to a fixed wireless terminal (FWT) or mobile terminal (MS ) is connected to the mobile network, and negotiates and communicates with other fax terminals through the mobile network. In order to ensure that the fax can be negotiated normally in the mobile network, an interworking function module (InterWorking Function, IWF) specially used to process the fax service is usually integrated in the Mobile Switching Center (MSC), and the IWF transmits the fax call signaling and data It is equivalent to playing the role of a gateway, and its function is similar to that of the PSTN gateway. Among them, the IWF, the PSTN gateway, the FWT and the MS can all be referred to as fax transfer devices. the
参见图2所示的基本传真流程图,主叫和被叫的线路接通后,通过多条传真协商帧的交互进行协商通信。首先,被叫向主叫发送表示自身性能的数字标识信号(DIS);主叫收到DIS后,向被叫返回数字命令信号(DCS),DCS中包括编码方式、传输速率、扫描密度等信息;紧随着DCS,主叫向被叫发送训练序列(TCF),检测链路质量能否达到传真页面传输的质量要求;被叫收到TCF后,对TCF进行检测,并判断链路质量是否能够达到要求,如果能够,则向主叫返回可接收证实(CFR),要求主叫开始发送传真页面,否则,向主叫返回训练失败(FTT),要求主叫重新训练;主叫收到CFR后,开始按页发送报文数据,被叫进行接收;若有多页数据需要发送,主叫则向被叫发送多页信号(MPS),如果全部数据已经发送完毕,主叫则向被叫发送过程结束(EOP);被叫收到MPS或EOP后,判断收到的页面质量是否良好,如果良好,则向主叫返回报文证实(MCF),否则,返回收报否定重新训练/收报肯定重新训练(RTN/RTP);最后,由主叫向被叫发送切断接续(DCN),以结束整个传真过程。Referring to the basic fax flow chart shown in Figure 2, after the calling and called lines are connected, negotiation communication is performed through the interaction of multiple fax negotiation frames. First, the called party sends a digital identification signal (DIS) indicating its own performance to the calling party; after receiving the DIS, the calling party returns a digital command signal (DCS) to the called party, which includes information such as encoding mode, transmission rate, scanning density, etc. ; Immediately following the DCS, the calling party sends a training sequence (TCF) to the called party to detect whether the link quality can meet the quality requirements for fax page transmission; after the called party receives the TCF, it detects the TCF and judges whether the link quality is Can meet the requirements, if so, then return to the caller a confirmation of receipt (CFR), requiring the caller to start sending fax pages, otherwise, return training failure (FTT) to the caller, requiring the caller to retrain; the caller receives the CFR After that, start to send the message data page by page, and the called party will receive it; if there are multiple pages of data to be sent, the calling party will send a multi-page signal (MPS) to the called party; if all the data has been sent, the calling party will send End of sending process (EOP); after the called party receives MPS or EOP, it judges whether the quality of the received page is good, if it is good, returns the message confirmation (MCF) to the calling party, otherwise, returns the receipt negative retraining/reception confirmation Retraining (RTN/RTP); Finally, the caller sends a disconnection (DCN) to the called party to end the entire fax process.
为保证传真通信的正常进行,传真协议规定:传真终端在发出一个传真命令帧后,如果超过一定的时间还没有收到响应帧,就重发相同的命令帧。比如,参见图3,主叫和被叫的线路接通后,被叫向主叫发送DIS,如果在定时器超时后,被叫还没有收到DCS,就向主叫重发DIS,其中,定时器的时间一般设置为3秒。 In order to ensure the normal progress of fax communication, the fax protocol stipulates that after the fax terminal sends a fax command frame, if it has not received a response frame within a certain period of time, it will resend the same command frame. For example, see Figure 3. After the calling and called lines are connected, the called sends a DIS to the calling. If the called has not received the DCS after the timer expires, it resends the DIS to the calling. Among them, The timer time is generally set to 3 seconds. the
随着移动网络的发展和固定网络的演进,传真组网日趋复杂,传真通信过程中无线链路延迟及IP承载等各种因素的影响,使得传真端到端之间的时延越来越大,比如卫星传真、长途传真等。由于现有传真协议是半双工协议,传真终端不能同时进行传真协商帧的收发,因此,传真时延过大很容易造成传真协商帧的碰撞,比如,参见图3所示,由于时延过大,被叫重发的DIS与主叫响应的DCS在传输过程中发生碰撞,从而导致传真失败。 With the development of mobile networks and the evolution of fixed networks, the fax network is becoming more and more complex. The influence of various factors such as wireless link delay and IP bearer in the fax communication process makes the end-to-end delay of fax more and more , such as satellite fax, long-distance fax, etc. Since the existing fax protocol is a half-duplex protocol, the fax terminal cannot send and receive fax negotiation frames at the same time. Therefore, excessive fax delays can easily cause collisions of fax negotiation frames. For example, as shown in Figure 3, due to delay Large, the called party resends the DIS and the calling party responds to the DCS during transmission, which causes the fax to fail. the
发明内容Contents of the invention
有鉴于此,本发明的目的在于提供一种减少传真协商帧碰撞的方法,减少传真协商帧之间的碰撞,提高传真成功率。 In view of this, the object of the present invention is to provide a method for reducing the collision of fax negotiation frames, reduce the collision between fax negotiation frames, and improve the success rate of fax. the
为达到上述目的,本发明提供的技术方案如下: In order to achieve the above object, the technical scheme provided by the invention is as follows:
A、设置第一延迟时长和第二延迟时长,传真中转设备将首次收到的来自第一传真终端的命令帧发送给第二传真终端,并判断是否收到来自第二传真终端的响应帧,如果收到,则执行步骤B;否则,执行步骤C; A. Set the first delay time and the second delay time. The fax transfer device sends the first received command frame from the first fax terminal to the second fax terminal, and judges whether a response frame from the second fax terminal is received. If received, go to step B; otherwise, go to step C;
B、传真中转设备判断当前时间距离上次收到来自第一传真终端的命令帧的时间差是否大于第一延迟时长,如果是,则将收到的响应帧发送给第一传真终端,并结束本流程的处理;否则,返回执行步骤B; B. The facsimile transfer device judges whether the time difference between the current time and the time difference between the last received command frame from the first facsimile terminal is greater than the first delay time, if yes, then sends the received response frame to the first facsimile terminal, and ends this session Process processing; otherwise, return to step B;
C、传真中转设备判断当前时间距离上次发送命令帧给第二传真终端的时间差是否大于第二延迟时长,如果是,则将收到的命令帧重新发送给第二传真终端,否则,返回执行步骤C。 C. The fax transfer device judges whether the time difference between the current time and the last command frame sent to the second fax terminal is greater than the second delay time, if yes, resends the received command frame to the second fax terminal, otherwise, returns to execute Step C. the
其中,所述设置第一延迟时长和第二延迟时长为:传真中转设备根据传真协议设置第一延迟时长和第二延迟时长。 Wherein, the setting of the first delay duration and the second delay duration is: the fax transfer device sets the first delay duration and the second delay duration according to the fax protocol. the
其中,所述设置第一延迟时长为:传真中转设备分别记录收到相邻命令帧的时间,并将二者时间之差设置为第一延迟时长。 Wherein, the setting of the first delay time is as follows: the fax transfer device respectively records the time when adjacent command frames are received, and sets the difference between the two times as the first delay time. the
其中,所述传真中转设备为IWF、或为PSTN网关、或为FWT、或为MS。 Wherein, the fax transfer device is an IWF, or a PSTN gateway, or a FWT, or an MS. the
所述命令帧为数字表示信号DIS,所述响应帧为数字命令信号DCS。 The command frame is a digital representation signal DIS, and the response frame is a digital command signal DCS. the
或者,所述命令帧为TCF,所述响应帧为CFR或FTT。 Alternatively, the command frame is TCF, and the response frame is CFR or FTT. the
或者,所述命令帧为MPS或EOP,所述响应帧为MCF或RTN/RTP。 Alternatively, the command frame is MPS or EOP, and the response frame is MCF or RTN/RTP. the
由此可见,本发明中,中转设备根据设置的第一延迟时长和第二延迟时长,调整收到的传真协商帧的发送时间,有效减少了传真协商帧之间的碰撞,从而提高了传真成功率。 It can be seen that in the present invention, the transfer device adjusts the sending time of the received fax negotiation frame according to the set first delay time and second delay time, which effectively reduces the collision between fax negotiation frames, thereby improving the fax success rate. Rate. the
附图说明Description of drawings
图1为现有技术中传真组网的示意图; Fig. 1 is the schematic diagram of facsimile networking in the prior art;
图2为现有技术中传真的基本流程图; Fig. 2 is the basic flowchart of fax in the prior art;
图3为传真协商帧的碰撞示意图; Fig. 3 is the collision diagram of facsimile negotiation frame;
图4为本发明实施例中减少传真协商帧碰撞的方法流程图; Fig. 4 is the flow chart of the method for reducing facsimile negotiation frame collision in the embodiment of the present invention;
图5为本发明实施例中减少DIS和DCS碰撞的方法示意图; Fig. 5 is the schematic diagram of the method for reducing DIS and DCS collision in the embodiment of the present invention;
图6为本发明实施例中减少DIS和DCS碰撞的方法流程图。 Fig. 6 is a flowchart of a method for reducing collisions between DIS and DCS in an embodiment of the present invention. the
具体实施方式Detailed ways
为使本发明的目的、技术方案及优点更加清楚明白,下面参照附图并举实施例,对本发明作进一步详细说明。 In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples. the
本发明的基本思想是:设置第一延迟时长和第二延迟时长,传真中转设备根据设置的第一延迟时长调整向第一传真终端发送来自第二传真终端的传真协商帧的时间,根据设置的第二延迟时长调整向第二传真终端发送来自第一传真终端的传真协商帧的时间。 The basic idea of the present invention is: set the first delay time and the second delay time, the fax transfer device adjusts the time for sending the fax negotiation frame from the second fax terminal to the first fax terminal according to the set first delay time, and according to the set The second delay length adjusts the time for sending the fax negotiation frame from the first fax terminal to the second fax terminal. the
其中,所述第一延迟时长为传真中转设备与第一传真终端之间的延迟时长;第二延迟时长为传真中转设备与第二传真终端之间的延迟时长。传真中转设备根据实际情况设置第一延迟时长和第二延迟时长,比如根据现有传真协议,设置为3秒。 Wherein, the first delay time is the delay time between the fax transfer device and the first fax terminal; the second delay time is the delay time between the fax transfer device and the second fax terminal. The fax transfer device sets the first delay time and the second delay time according to the actual situation, for example, according to the existing fax protocol, it is set to 3 seconds. the
参见图4所示,本实施例中减少传真协商帧碰撞的方法主要包括以下步骤: Referring to shown in Figure 4, the method for reducing fax negotiation frame collision in the present embodiment mainly includes the following steps:
步骤401:传真中转设备将首次收到的来自第一传真终端的命令帧发送给第二传真终端,并判断是否收到来自第二传真终端的响应帧,如果收到,则执行步骤402;否则,执行步骤404。 Step 401: The fax transfer device sends the command frame received for the first time from the first fax terminal to the second fax terminal, and judges whether a response frame from the second fax terminal is received, and if so, executes
步骤402:传真中转设备判断当前时间距离上次收到来自第一传真终端的命令帧的时间差是否大于第一延迟时长,如果是,则执行步骤403;否则,返回执行步骤402。 Step 402: The fax relay device judges whether the time difference between the current time and the last received command frame from the first fax terminal is greater than the first delay time, if yes, execute
步骤403:传真中转设备将收到的响应帧发送给第一传真终端,并结束本流程的处理。 Step 403: The fax relay device sends the received response frame to the first fax terminal, and ends the process of this process. the
也就是说,如果当前时间距离上次收到来自第一传真终端的命令帧的时间差不大于第一延迟时长,则为了避免发送的响应帧与第一传真终端重发的命令帧发生碰撞,传真中转设备延迟发送响应帧给第一传真终端,直到所述时间差大于第一延迟时长时,才将响应帧发送给第一传真终端。在传真中转设备等待发送响应帧的时间内,传真中转设备即使收到第一传真终端重发的 命令帧,也不会转发给第二传真终端。 That is to say, if the time difference between the current time and the last received command frame from the first facsimile terminal is not greater than the first delay duration, then in order to avoid collision between the sent response frame and the command frame resent by the first facsimile terminal, the facsimile The relay device delays sending the response frame to the first fax terminal, and does not send the response frame to the first fax terminal until the time difference is greater than the first delay duration. In the time when the fax relay equipment is waiting to send the response frame, even if the fax relay equipment receives the command frame resent by the first fax terminal, it will not be forwarded to the second fax terminal. the
这里,传真中转设备也可以判断当前时间距离上次收到来自第一传真终端的命令帧的时间差是否在一范围内,比如当所述时间差在T1-15%T1和T1+15%T1之间时延迟发送响应帧,直到所述时间差大于T1+15%T1时,才将响应帧发送给第一传真终端。其中,T1表示第一延迟时长。 Here, the fax transfer device can also determine whether the time difference between the current time and the last received command frame from the first fax terminal is within a range, for example, when the time difference is between T1-15%T1 and T1+15%T1 The response frame is delayed until the time difference is greater than T1+15%T1, and the response frame is not sent to the first fax terminal. Wherein, T1 represents the first delay time. the
步骤404:传真中转设备判断当前时间距离上次发送命令帧给第二传真终端的时间差是否大于第二延迟时长,如果是,则执行步骤405;否则,返回返回执行步骤404。 Step 404: The fax relay device judges whether the time difference between the current time and the last command frame sent to the second fax terminal is greater than the second delay time, if yes, execute
步骤405:传真中转设备将收到的命令帧重新发送给第二传真终端。 Step 405: the fax relay device resends the received command frame to the second fax terminal. the
也就是说,如果当前时间距离上次发送命令帧给第二传真终端的时间差不大于第二延迟时长,则为了避免重发的命令帧与第二传真终端发送的响应帧发生碰撞,传真中转设备延迟重发命令帧的时间,直到所述时间差大于第二延迟时长时,才向第二传真终端重发命令帧。在传真中转设备等待重发命令帧的时间内,如果收到来自第二传真终端的响应帧,则传真中转设备不再向第二传真终端重发命令帧,而是按照收到响应帧的流程进行处理,即执行步骤402。 That is to say, if the time difference between the current time and the last time the command frame is sent to the second fax terminal is not greater than the second delay duration, in order to avoid the collision between the retransmitted command frame and the response frame sent by the second fax terminal, the fax relay device The time for resending the command frame is delayed, and the command frame is not resent to the second fax terminal until the time difference is greater than the second delay duration. If the fax transfer device receives a response frame from the second fax terminal while waiting for the retransmission command frame, the fax transfer device will no longer resend the command frame to the second fax terminal, but will follow the process of receiving the response frame To process, that is to execute
这里,传真中转设备也可以判断当前时间距离上次发送命令帧给第二传真终端的时间差是否在一范围内,比如当所述时间差在T2-15%T2和T2+15%T2之间时延迟重发命令帧,直到所述时间差大于T2+15%T2时,才向第二传真终端重发命令帧。其中,T2表示第二延迟时长。 Here, the fax transfer device can also determine whether the time difference between the current time and the last time the command frame is sent to the second fax terminal is within a certain range, for example, when the time difference is between T2-15% T2 and T2+15% T2 The command frame is resent, and the command frame is not resent to the second fax terminal until the time difference is greater than T2+15%T2. Wherein, T2 represents the second delay time. the
需要说明的是,如果步骤403执行完毕之后,即传真中转设备已经向第一传真终端发送响应帧之后,第一传真终端还是没有收到响应帧,则重复执行步骤402。如果步骤405执行完毕之后,即传真中转设备已经向第二传真终端重发命令帧之后,传真中转设备还是没有收到来自第二传真终端的响应帧,则重复执行步骤404。 It should be noted that, if the first fax terminal still does not receive the response frame after
其中,所述传真中转设备为IWF、PSTN网关、FWT、或MS等。所述命令帧为传真中转设备已经收到的G3传真流程定义(T30)规定的传真协 商帧,所述响应帧为传真中转设备将收到的传真协商帧发送出去后,等待接收的T30规定的传真协商帧。比如,命令帧为DIS,响应帧为DCS;或者,命令帧为TCF,响应帧为CFR或FTT;或者,命令帧为MPS或EOP,响应帧为MCF或RTN/RTP。 Wherein, the fax transfer device is an IWF, PSTN gateway, FWT, or MS. The command frame is the fax negotiation frame specified in the G3 fax process definition (T30) that the fax transfer device has received, and the response frame is the T30 regulation that is waiting to be received after the fax transfer device sends out the received fax negotiation frame. fax negotiation frame. For example, the command frame is DIS, and the response frame is DCS; or, the command frame is TCF, and the response frame is CFR or FTT; or, the command frame is MPS or EOP, and the response frame is MCF or RTN/RTP. the
其中,第一延迟时长和第二延迟时长可以根据现有传真协议进行设置。比如,将第一延迟时长设置为3秒;或者,传真中转设备分别记录收到相邻命令帧的时间,并将二者时间之差设置为第一延迟时长。第二延迟时长为传真中转设备在收到响应前不断重发命令帧的间隔时长,其值由传真中转设备定义,比如设置为3s。另外,可根据实际需要将第一延迟时长和第二延迟时长的值设计为可变的,比如,每次按照一定的规则进行递增或递减等。 Wherein, the first delay time and the second delay time can be set according to the existing fax protocol. For example, the first delay time is set to 3 seconds; or, the fax relay device records the time of receiving adjacent command frames respectively, and sets the difference between the two times as the first delay time. The second delay time is the interval for the fax relay device to continuously resend the command frame before receiving a response, and its value is defined by the fax relay device, for example, it is set to 3s. In addition, the values of the first delay duration and the second delay duration can be designed to be variable according to actual needs, for example, each time they are incremented or decremented according to a certain rule. the
参见图5所示,以IWF处理来自被叫传真终端的DIS、及来自主叫传真终端的DCS为例,说明本实施例中减少DIS和DCS碰撞的处理过程。其中,所述第一传真终端为被叫传真终端;第二传真终端为主叫传真终端。T1为第一延迟时长,即IWF与被叫之间的延迟时长;T2为第二延迟时长,即IWF与主叫之间的延迟时长。 Referring to FIG. 5 , taking the IWF processing the DIS from the called fax terminal and the DCS from the calling fax terminal as an example, the process of reducing the collision between DIS and DCS in this embodiment is described. Wherein, the first fax terminal is the called fax terminal; the second fax terminal is the calling fax terminal. T1 is the first delay time, that is, the delay time between the IWF and the called party; T2 is the second delay time, that is, the delay time between the IWF and the calling party. the
参见图6所示,本实施例中IWF根据T1或T2调整DCS或DIS发送时间的过程主要包括以下步骤: Referring to Fig. 6, the process of IWF adjusting DCS or DIS transmission time according to T1 or T2 in this embodiment mainly includes the following steps:
步骤601:IWF将首次收到的来自被叫的DIS发送给主叫,并判断是否收到来自主叫的DCS,如果收到,则执行步骤602;否则,执行步骤604。 Step 601: The IWF sends the first received DIS from the called party to the calling party, and judges whether it has received the DCS from the calling party, and if so, executes
步骤602:IWF判断当前时间距离上次收到DIS的时间差是否大于T1,如果是,则执行步骤603;否则,返回执行步骤602。 Step 602: The IWF judges whether the time difference between the current time and the last time the DIS is received is greater than T1, if yes, execute
步骤603:IWF将收到的DCS发送给被叫,然后结束本流程的处理。 Step 603: The IWF sends the received DCS to the called party, and then ends the processing of this flow. the
另外,IWF也可以判断当前时间距离上次收到DIS的时间差是否在某一范围内,比如当所述时间差在T1-15%T1和T1+15%T1之间时,为了避免碰撞,IWF延迟发送DCS,直到所述时间差大于T1+15%T1时,才将DCS发送出去。在IWF等到发送DCS的时间内,IWF即使收到被叫重发的DIS,也不会转发给主叫。 In addition, the IWF can also determine whether the time difference between the current time and the last received DIS is within a certain range. For example, when the time difference is between T1-15%T1 and T1+15%T1, in order to avoid collisions, the IWF delays The DCS is sent, and the DCS is not sent until the time difference is greater than T1+15%T1. During the time when the IWF waits until sending the DCS, even if the IWF receives the resent DIS from the called party, it will not forward it to the calling party. the
步骤604:IWF判断当前时间距离上次发送DIS给主叫的时间差是否大于T2,如果是,则执行步骤605;否则,返回执行步骤604。 Step 604: The IWF judges whether the time difference between the current time and the last time the DIS is sent to the caller is greater than T2, if yes, execute
步骤605:IWF将收到的DIS重新发送给主叫。 Step 605: The IWF resends the received DIS to the calling party. the
另外,IWF也可以判断当前时间距离上次发送DIS给主叫的时间差是否在某一范围内,比如当所述时间差在T2-15%T2和T2+15%T2之间时,为了避免碰撞,IWF延迟重发DIS的时间,直到所述时间差大于T2+15%T2时,才将DIS重发给主叫。在IWF等待重发DIS的时间内,如果收到来自主叫的DCS,则IWF不再向主叫重发DIS,而是按照收到DCS的流程进行处理,即执行步骤602。 In addition, the IWF can also determine whether the time difference between the current time and the last DIS sent to the caller is within a certain range, for example, when the time difference is between T2-15%T2 and T2+15%T2, in order to avoid collision, The IWF delays the time for resending the DIS, and does not resend the DIS to the calling party until the time difference is greater than T2+15%T2. During the time when the IWF is waiting to resend the DIS, if it receives the DCS from the calling party, the IWF will not resend the DIS to the calling party, but process it according to the process of receiving the DCS, that is, execute
需要说明的是,如果在IWF已经向被叫发送DCS之后,被叫还是没有收到DCS,则重复执行步骤602。如果在IWF已经向主叫重发DIS之后,IWF还是没有收到来自主叫的DCS,则重复执行步骤604。 It should be noted that, if the called party still does not receive the DCS after the IWF has sent the DCS to the called party,
其中,T1和T2的值由IWF根据实际情况进行设置。比如,T1的值可以设置为IWF收到相邻DIS的时间差。如果IWF在收到DCS时,还未收到第二个DIS,也就是说,IWF无法根据收到相邻DIS的时间计算得到T1,那么,IWF可预先设置一T1时长,并根据预先设置的T1调整DCS的发送时间。在后续传真协商帧的传输过程中,IWF可以一直根据预设的T1进行处理,也可以根据实际情况对预设的T1进行调整。 Wherein, the values of T1 and T2 are set by the IWF according to the actual situation. For example, the value of T1 can be set as the time difference between the IWF receiving adjacent DISs. If the IWF has not received the second DIS when receiving the DCS, that is to say, the IWF cannot calculate T1 based on the time of receiving the adjacent DIS, then the IWF can preset a T1 duration, and according to the preset T1 adjusts the sending time of the DCS. In the subsequent transmission process of the fax negotiation frame, the IWF can always process according to the preset T1, and can also adjust the preset T1 according to the actual situation. the
T2的值可以设置为IWF发送DIS给主叫的时间与IWF收到主叫发送来的DCS的时间之差。由于IWF不知道主叫何时发送DCS,因此,IWF重发的DIS可能与主叫发送的DCS在途中发生碰撞,一旦发生碰撞,则很可能会造成后续重发的帧继续碰撞,从而导致此次传真呼叫失败。为了避免这种情况的发生,可根据实际情况将T2的值设计为可变的,比如,按照一定的规则增加T2的时长,以避免后续重发的帧继续碰撞,保证传真成功率。 The value of T2 can be set as the time difference between the time when the IWF sends the DIS to the calling party and the time when the IWF receives the DCS from the calling party. Since the IWF does not know when the caller sends the DCS, the DIS retransmitted by the IWF may collide with the DCS sent by the caller on the way. Once a collision occurs, it is likely to cause subsequent retransmitted frames to continue to collide, resulting in Fax calls failed. In order to avoid this situation, the value of T2 can be designed to be variable according to the actual situation. For example, the duration of T2 can be increased according to certain rules to avoid continued collision of subsequent retransmitted frames and ensure the fax success rate. the
可见,本发明提供的方法减少了传真协商帧碰撞,提高了传真成功率。 It can be seen that the method provided by the present invention reduces the collision of fax negotiation frames and improves the success rate of fax. the
需要说明的是,以上针对IWF根据设置的T1或T2调整DCS或DIS发送时间的过程进行了详细阐述,对于其它的各种中转设备处理各种传真协 商帧的情况,均与上述情况类似,这里不再一一赘述。 It should be noted that the process of IWF adjusting the sending time of DCS or DIS according to the set T1 or T2 has been described in detail above, and the processing of various fax negotiation frames by other transfer devices is similar to the above situation. I won't go into details here. the
以上所述对本发明的目的、技术方案和有益效果进行了进一步的详细说明,所应理解的是,以上所述并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The purpose, technical solutions and beneficial effects of the present invention have been further described in detail above. It should be understood that the above description is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. shall be included in the protection scope of the present invention. the
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006100785074A CN1984122B (en) | 2006-05-08 | 2006-05-08 | Method for decreasing facsimile protocol frame collision |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006100785074A CN1984122B (en) | 2006-05-08 | 2006-05-08 | Method for decreasing facsimile protocol frame collision |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1984122A CN1984122A (en) | 2007-06-20 |
| CN1984122B true CN1984122B (en) | 2011-05-04 |
Family
ID=38166355
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2006100785074A Expired - Fee Related CN1984122B (en) | 2006-05-08 | 2006-05-08 | Method for decreasing facsimile protocol frame collision |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1984122B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102185684B (en) * | 2011-02-22 | 2014-07-09 | 华为终端有限公司 | Faxing control method and device |
| CN102685358B (en) * | 2012-05-04 | 2015-11-25 | 华为终端有限公司 | Fax transferring equipment and facsimile method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1244324A (en) * | 1997-01-08 | 2000-02-09 | 夸尔柯姆股份有限公司 | Collision avoidance in half-duplex communication system |
| US6603577B1 (en) * | 1998-11-17 | 2003-08-05 | Hughes Electronics Corporation | Facsimile call success rates in long delay and impaired channel environments without collision detection |
-
2006
- 2006-05-08 CN CN2006100785074A patent/CN1984122B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1244324A (en) * | 1997-01-08 | 2000-02-09 | 夸尔柯姆股份有限公司 | Collision avoidance in half-duplex communication system |
| US6603577B1 (en) * | 1998-11-17 | 2003-08-05 | Hughes Electronics Corporation | Facsimile call success rates in long delay and impaired channel environments without collision detection |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1984122A (en) | 2007-06-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4298765B2 (en) | Digital network interface for analog fax machines | |
| JP3958652B2 (en) | Facsimile data transmission method | |
| JP2007306578A5 (en) | ||
| US6603577B1 (en) | Facsimile call success rates in long delay and impaired channel environments without collision detection | |
| JP3907945B2 (en) | Gateway apparatus, control method therefor, and communication system | |
| CN1984122B (en) | Method for decreasing facsimile protocol frame collision | |
| JP4008632B2 (en) | Facsimile communication system | |
| JP2000354127A (en) | Control method for real-time Internet facsimile communication system | |
| US6411689B1 (en) | Facsimile call success rates in long delay environments | |
| CN100438553C (en) | The Method of Reducing Fax Negotiation Frame Collision | |
| CN100471221C (en) | A Way to Reduce Fax Delay | |
| JP3857033B2 (en) | COMMUNICATION TERMINAL DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM | |
| CN100403762C (en) | Non-real-time wireless fax system and method and fax server | |
| WO2001086939A1 (en) | Digital network interface for analog fax equipment | |
| US20060028692A1 (en) | Network facsimile apparatus | |
| JP2009212998A (en) | Facsimile gateway and data transfer method in facsimile gateway | |
| KR100500529B1 (en) | Method For Controlling FAX Call | |
| CN100385904C (en) | A Method, Device and System for Solving Frame Collision in Fax Process | |
| CN101753750B (en) | Method and system for realizing multi-page faxing | |
| JP4184734B2 (en) | Communication system, network gateway apparatus, network facsimile apparatus, facsimile apparatus, communication method, network gateway apparatus control method, network facsimile apparatus control method, and facsimile apparatus control method | |
| JP2009017383A (en) | Network facsimile apparatus and communication method therefor | |
| JP4208752B2 (en) | Real-time Internet gateway device and control method thereof | |
| JP3977160B2 (en) | Network facsimile machine | |
| JP2002185738A (en) | Facsimile communication method | |
| JP2003179650A (en) | Facsimile gateway, facsimile gateway control method, and facsimile gateway control program |
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 | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110504 Termination date: 20130508 |