CN100438553C - Method for decreasing facsimile negotiation frame collision - Google Patents
Method for decreasing facsimile negotiation frame collision Download PDFInfo
- Publication number
- CN100438553C CN100438553C CNB2006100806564A CN200610080656A CN100438553C CN 100438553 C CN100438553 C CN 100438553C CN B2006100806564 A CNB2006100806564 A CN B2006100806564A CN 200610080656 A CN200610080656 A CN 200610080656A CN 100438553 C CN100438553 C CN 100438553C
- Authority
- CN
- China
- Prior art keywords
- called
- caller
- dcs
- transferring equipment
- dis
- 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
- Facsimile Transmission Control (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域 technical field
本发明涉及传真技术,尤其涉及一种减少传真协商帧碰撞的方法。The invention relates to facsimile technology, in particular to a method for reducing collision of facsimile negotiation frames.
背景技术 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.
参见图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, PSTN gateway, FWT and MS can all be called transit devices.
参见图2所示的基本传真通信过程,主叫和被叫的呼叫接通后,通过多条传真协商帧的交互进行协商通信。首先,被叫向主叫发送表示自身性能的数字标识信号(DIS);主叫收到DIS后,向被叫返回数字命令信号(DCS),DCS中包括编码方式、传输速率、扫描密度等信息;紧随着DCS,主叫向被叫发送训练序列(TCF),检测链路质量能否达到传真页面传输的质量要求;被叫收到TCF后,对TCF进行检测,并判断链路质量是否能够达到要求,如果能够,则向主叫返回可接收证实(CFR),要求主叫开始发送报文,否则,向主叫返回训练失败(FTT),要求主叫重新训练;主叫收到CFR后,开始按页发送报文,被叫进行接收;若有多页数据需要发送,主叫则向被叫发送多页信号(MPS),如果全部数据已经发送完毕,主叫则向被叫发送过程结束(EOP);被叫收到MPS或EOP后,判断收到的页面质量是否良好,如果良好,则向主叫返回报文证实(MCF),否则,返回收报否定重新训练/收报肯定重新训练(RTN/RTP);最后,由主叫向被叫发送切断接续(DCN),以结束整个传真过程。Referring to the basic facsimile communication process shown in FIG. 2 , after the call is connected between the calling party and the called party, 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 can receive confirmation (CFR), request the caller to start sending messages, otherwise, return training failure (FTT) to the caller, request the caller to retrain; the caller receives the CFR After that, start to send messages by page, and the called party will receive them; 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 an MPS signal to the called party End of 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, it returns a message confirmation (MCF) to the calling party, otherwise, it returns negative retraining/acceptance retraining Training (RTN/RTP); Finally, the caller sends a disconnect connection (DCN) to the called party to end the entire fax process.
为保证传真通信的正常进行,传真协议规定:传真终端在发出一个传真命令帧后,如果超过一定的时间还没有收到响应帧,就重发相同的命令帧。比如,参见图3,主叫和被叫的线路接通后,被叫向主叫发送DIS,如果在定时器超时后,如3秒后,被叫还没有收到DCS,就向主叫重发DIS。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. Send DIS.
随着移动网络的发展和固定网络的演进,传真组网日趋复杂,传真通信过程中无线链路延迟及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.
发明内容 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.
为达到上述目的,本发明提供的技术方案如下:In order to achieve the above object, the technical scheme provided by the invention is as follows:
在传真过程中,通过中转设备将主叫和被叫之间的端到端传真过程分解为两个相互独立的子过程,中转设备控制向主叫和被叫发送传真协商帧的时间,分别与主叫和被叫进行协商通信;所述中转设备在收到来自主叫的数字命令信号DCS后,直接向主叫返回可接收证实CFR,然后存储主叫发来的报文,并在收到来自被叫的CFR后,将存储的来自主叫的报文转发给被叫。In the fax process, the end-to-end fax process between the calling party and the called party is decomposed into two independent sub-processes through the transfer device. The transfer device controls the time for sending fax negotiation frames to the calling party and the called party, respectively The calling party and the called party negotiate and communicate; after receiving the digital command signal DCS from the calling party, the transfer device directly returns the receiving confirmation CFR to the calling party, then stores the message sent by the calling party, and After receiving the CFR from the called party, forward the stored message from the calling party to the called party.
较佳地,所述中转设备控制向主叫和被叫发送传真协商帧的时间包括:传真呼叫接通后,中转设备构造DIS发送给主叫,在收到来自主叫的DCS后,向主叫返回CFR,并在收到来自被叫的DIS后,将收到的DCS发送给被叫。Preferably, the control of the time for the transfer device to send fax negotiation frames to the calling party and the called party includes: after the fax call is connected, the transfer device constructs a DIS to send to the calling party, and after receiving the DCS from the calling party, sends a message to the calling party. The caller returns the CFR, and after receiving the DIS from the called party, sends the received DCS to the called party.
较佳地,所述中转设备控制向主叫和被叫发送传真协商帧的时间包括:中转设备收到来自被叫的DIS后,将收到的DIS转发给主叫,在收到来自主叫的DCS后,向主叫返回CFR,并在收到来自被叫的DIS后,将收到的DCS发送给被叫。Preferably, the time for the transfer device to control sending fax negotiation frames to the calling party and the called party includes: after the transfer device receives the DIS from the called party, it forwards the received DIS to the calling party, and after receiving the DIS from the calling party After receiving the DCS, return the CFR to the calling party, and after receiving the DIS from the called party, send the received DCS to the called party.
较佳地,所述中转设备控制向主叫和被叫发送传真协商帧的时间包括:中转设备构造DIS发送给主叫,在收到来自主叫的DCS后,向主叫返回CFR,并在收到被叫发送来的DIS后,构造DCS发送给被叫。Preferably, the control of the time for the transfer device to send the fax negotiation frame to the calling party and the called party includes: the transfer device constructs a DIS to send to the calling party, returns a CFR to the calling party after receiving the DCS from the calling party, and After receiving the DIS from the called party, construct a DCS and send it to the called party.
其中,所述中转设备在收到来自被叫的DIS后,将收到的DCS发送给被叫包括:中转设备收到来自主叫的DCS后,判断当前时间距离上次收到来自被叫的DIS的时间是否在预期的不会发生碰撞的时间窗内,如果是,则直接将收到的DCS发送给被叫;否则,在下次收到来自被叫的DIS后,将收到的DCS发送给被叫。Wherein, after the transfer device receives the DIS from the called party, sending the received DCS to the called party includes: after the transfer device receives the DCS from the calling party, it judges that the current time is far from the last time it received the DCS from the called party. Whether the time of DIS is within the expected collision-free time window, if yes, send the received DCS to the called party directly; otherwise, after receiving the DIS from the called party next time, send the received DCS to be called.
对于第一种较佳方案,当中转设备收到的来自主叫的DCS中的速率高于来自被叫的DIS中的速率时,该方法进一步包括:中转设备收到来自主叫的DCS后,向主叫返回FTT,并根据DIS中的速率修改DCS中的速率,将修改后的DCS发送给被叫。对于第一种较佳方案,当中转设备收到的来自主叫的DCS中的速率低于来自被叫的DIS中的速率时,该方法进一步包括:中转设备收到来自主叫的DCS后,将收到的DCS转发给被叫。For the first preferred solution, when the rate in the DCS received by the relay device from the calling party is higher than the rate in the DIS from the called party, the method further includes: after the relay device receives the DCS from the calling party, Return the FTT to the calling party, modify the rate in the DCS according to the rate in the DIS, and send the modified DCS to the called party. For the first preferred solution, when the rate in the DCS received by the relay device from the calling party is lower than the rate in the DIS from the called party, the method further includes: after the relay device receives the DCS from the calling party, Forward the received DCS to the called party.
对于第一种较佳方案,当中转设备收到的来自主叫的DCS与来自被叫的DIS中的报文格式不一致时,该方法进一步包括:中转设备将收到的DCS直接转发给被叫。For the first preferred solution, when the format of the DCS received by the relay device from the calling party is inconsistent with the message format in the DIS from the called party, the method further includes: the relay device directly forwards the received DCS to the called party .
对于第一种较佳方案,当中转设备收到的来自主叫的DCS与来自被叫的DIS中的报文格式不一致时,该方法进一步包括:中转设备将来自被叫的DIS转发给主叫。For the first preferred solution, when the format of the DCS from the calling party received by the relay device is inconsistent with the message format in the DIS from the called party, the method further includes: the relay device forwards the DIS from the called party to the calling party .
较佳地,所述中转设备控制向主叫和被叫发送传真协商帧的时间包括:中转设备收到来自主叫的MPS或EOP后,直接向主叫返回MCF;并在报文转发给被叫完毕后,向被叫发送MPS或EOP。Preferably, the time for the transfer device to control sending fax negotiation frames to the calling party and the called party includes: after the transfer device receives the MPS or EOP from the calling party, it returns the MCF to the calling party directly; and forwards the message to the called party After calling, send MPS or EOP to the called party.
对于第四种较佳方案,当中转设备收到来自被叫的RTN/RTP时,该方法进一步包括:中转设备收到RTN/RTP后,向被叫重发DCS,并存储主叫发送来的报文,在主叫发送完报文后,对来自主叫的MPS响应RTN/RTP,并在收到主叫发送来的DCS后,根据被叫对重发DCS的响应向主叫返回FTT或CFR,并在收到被叫发送来的CFR后,将存储的报文转发给被叫。For the fourth preferred solution, when the relay device receives the RTN/RTP from the called party, the method further includes: after the relay device receives the RTN/RTP, resends the DCS to the called party, and stores the RTN/RTP sent by the calling party. message, after the calling party sends the message, it responds to RTN/RTP to the MPS from the calling party, and after receiving the DCS sent by the calling party, returns FTT or CFR, and after receiving the CFR sent by the called party, forward the stored message to the called party.
本发明所提供的方法进一步包括:主叫在传真结束时,向交换中心发送拆线请求;交换中心收到拆线请求后,向中转设备转发拆线请求;中转设备在被叫报文接收完毕后,向交换中心返回拆线应答;交换中心收到来自中转设备的拆线应答后,向被叫发送拆线请求;被叫收到拆线请求后,向交换中心返回拆线应答;交换中心收到来自被叫的拆线应答后,向主叫返回拆线应答,完成拆线操作。The method provided by the present invention further includes: the calling party sends a disconnection request to the switching center when the fax ends; the switching center forwards the disconnection request to the transfer device after receiving the disconnection request; After receiving the disconnection response from the transfer device, the switching center sends a disconnection request to the called party; after receiving the disconnection request, the called party returns a disconnection response to the switching center; the switching center After receiving the disconnection response from the called party, return the disconnection response to the calling party to complete the disconnection operation.
其中,所述交换中心为MSC、或为PSTN信令控制模块、或为FWT的信令控制模块、或为MS的信令控制模块。Wherein, the switching center is an MSC, or a PSTN signaling control module, or a FWT signaling control module, or an MS signaling control module.
所述中转设备为IWF、或为PSTN网关、或为FWT、或为MS。The transit device is an IWF, or a PSTN gateway, or a FWT, or an MS.
由此可见,本发明通过中转设备将主叫和被叫之间的端到端传真过程分解为两个相互独立的子过程,由中转设备控制向主叫和被叫发送传真协商帧的时间,使得中转设备分别与主叫和被叫进行协商通信。从时延的角度来看,分别协商相当于将一个较大的时延分解为若干个较小的时延,这样可以消除传真时延过大所带来的影响,减少传真协商帧的碰撞,从而提高传真成功率。It can be seen that the present invention decomposes the end-to-end facsimile process between the calling party and the called party into two mutually independent sub-processes through the transfer device, and the transfer device controls the time to send the fax negotiation frame to the calling party and the called party. This enables the transit device to negotiate and communicate with the calling party and the called party respectively. From the perspective of delay, negotiating separately is equivalent to decomposing a large delay into several smaller delays, which can eliminate the impact of excessive fax delay and reduce the collision of fax negotiation frames. Thereby improving the fax success rate.
附图说明 Description of drawings
图1为现有技术中传真组网的示意图;FIG. 1 is a schematic diagram of a facsimile network in the prior art;
图2为现有技术中基本传真通信过程示意图;FIG. 2 is a schematic diagram of the basic facsimile communication process in the prior art;
图3为现有技术中传真协商帧的碰撞示意图;FIG. 3 is a schematic diagram of collision of fax negotiation frames in the prior art;
图4为本发明实施例中的传真通信流程图;Fig. 4 is the facsimile communication flowchart in the embodiment of the present invention;
图5为本发明实施例中的传真通信过程示意图;FIG. 5 is a schematic diagram of a facsimile communication process in an embodiment of the present invention;
图6为本发明实施例中初始协商速率不一致时的处理过程示意图;FIG. 6 is a schematic diagram of the processing process when the initial negotiation rate is inconsistent in an embodiment of the present invention;
图7为本发明实施例中被叫响应RTN/RTP时的处理过程示意图;FIG. 7 is a schematic diagram of the processing process when the called party responds to RTN/RTP in the embodiment of the present invention;
图8为本发明实施例中的拆线流程图。Fig. 8 is a flowchart of disconnection in the embodiment of the present invention.
具体实施方式 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 basic idea of the present invention is: the end-to-end facsimile process between the calling party and the called party is decomposed into two mutually independent sub-processes through the transfer device, and the transfer device controls the time for sending the fax negotiation frame to the calling party and the called party, Negotiate and communicate with the calling party and the called party respectively.
参见图4所示的传真通信流程图、及图5所示的传真通信过程示意图,本实施例中的传真通信流程主要包括以下几个步骤:Referring to the facsimile communication flowchart shown in FIG. 4 and the facsimile communication process schematic diagram shown in FIG. 5, the facsimile communication process in this embodiment mainly includes the following steps:
步骤401:传真呼叫接通后,中转设备在等待被叫DIS的同时,根据系统实际状况构造一个DIS发送给主叫。比如构造一个描述系统所支持的最大能力的DIS,即按照系统所支持的最大传真速率来构造DIS。Step 401: After the facsimile call is connected, the relay device constructs a DIS according to the actual situation of the system and sends it to the calling party while waiting for the called party's DIS. For example, construct a DIS that describes the maximum capability supported by the system, that is, construct the DIS according to the maximum fax rate supported by the system.
步骤402:中转设备收到来自主叫的DCS后,向主叫返回CFR,并判断当前时间距离上次收到来自被叫的DIS的时间是否在预期的不会发生碰撞的时间窗内,如果是,则执行步骤403;否则,执行步骤404。Step 402: After the transit device receives the DCS from the calling party, it returns the CFR to the calling party, and judges whether the time between the current time and the last time it received the DIS from the called party is within the expected time window without collision, if If yes, execute
步骤403:中转设备直接将收到的DCS发送给被叫,然后执行步骤405。Step 403: The transit device directly sends the received DCS to the called party, and then executes
步骤404:中转设备在下次收到来自被叫的DIS后,将收到的DCS发送给被叫,然后执行步骤405。Step 404: After receiving the DIS from the called party next time, the transit device sends the received DCS to the called party, and then executes
另外,中转设备除了构造DIS发送给主叫,也可以构造DCS发送给被叫,而不是转发主叫发送来的DCS。也就是说,中转设备构造DIS发送给主叫,在收到来自主叫的DCS后,向主叫返回CFR,并在收到被叫发送来的DIS后,构造DCS发送给被叫。In addition, in addition to constructing a DIS to send to the calling party, the transit device can also construct a DCS to send to the called party instead of forwarding the DCS sent by the calling party. That is to say, the transit device constructs a DIS to send to the calling party, returns a CFR to the calling party after receiving the DCS from the calling party, and constructs a DCS to send to the calling party after receiving the DIS from the called party.
步骤405:中转设备接收到来自被叫的CFR后,将收到的来自主叫的报文转发给被叫。Step 405: After receiving the CFR from the called party, the transit device forwards the received message from the calling party to the called party.
步骤406:中转设备收到来自主叫的MPS或EOP后,直接向主叫回复MCF;并在报文转发完毕后,根据主叫的报文结束指示向被叫发送MPS或EOP。Step 406: After receiving the MPS or EOP from the calling party, the transit device directly replies the MCF to the calling party; and after the message is forwarded, sends the MPS or EOP to the called party according to the caller's message end instruction.
也就是说,如果主叫发送MPS,中转设备则在报文转发完毕后,向被叫发送MPS;如果主叫发送EOP,中转设备则在报文转发完毕后,向被叫发送EOP。That is to say, if the calling party sends MPS, the transit device sends MPS to the called party after the packet is forwarded; if the calling party sends EOP, the transit device sends EOP to the called party after the message is forwarded.
另外,关于主叫存在多页报文需要传送的情况,中转设备对于每页报文的处理与上述步骤类似,这里不再一一赘述。区别在于,对于第一页报文,中转设备是在收到来自被叫的CFR后转发给被叫;对于后续的报文,中转设备是在收到来自被叫的MCF后转发给被叫。In addition, regarding the situation that the calling party has multiple pages of messages to be transmitted, the processing of each page of messages by the transit device is similar to the above steps, and will not be repeated here. The difference is that, for the first page of messages, the transit device forwards them to the called party after receiving the CFR from the called party; for subsequent messages, the transit device forwards them to the called party after receiving the MCF from the called party.
步骤407:报文传送完毕后,结束整个传真流程。Step 407: After the message transmission is completed, the entire fax process is ended.
需要说明的是,图4、图5中所示的对于各个传真协商帧的处理方法既可以结合在一起使用,也可以分开使用。比如,仅对DIS和DCS进行分别协商,以避免DIS和DCS的碰撞;或者,仅对MPS/EOP和MCF进行分别协商,以避免MPS/EOP和MCF的碰撞。It should be noted that the processing methods for each fax negotiation frame shown in FIG. 4 and FIG. 5 can be used together or separately. For example, only the DIS and the DCS are separately negotiated to avoid the collision of the DIS and the DCS; or only the MPS/EOP and the MCF are separately negotiated to avoid the MPS/EOP and the MCF collision.
由以上描述可见,在传真过程中,中转设备通过分别与主叫和被叫进行协商,可以避免传真协商帧之间的碰撞,但是,分别协商可能会导致中转设备和主叫、及中转设备和被叫的协商结果不一致等问题的发生。下面将对几种可能出现的问题进行详细说明。It can be seen from the above description that during the fax process, the relay device can avoid collisions between fax negotiation frames by negotiating with the calling party and the called party respectively. Problems such as inconsistent negotiation results of the called party occur. Several possible problems will be described in detail below.
一、初始阶段协商速率不一致。1. The negotiation rate is inconsistent at the initial stage.
中转设备收到的来自主叫的DCS中规定的传输速率与来自被叫的DIS中规定的传输速率可能不一致。这样会造成中转设备和主叫、及中转设备和被叫之间的时序相差太大,对传真的实时性产生影响。The transmission rate specified in the DCS received by the transit device from the calling party may be inconsistent with the transmission rate specified in the DIS from the called party. In this way, the timing difference between the transfer device and the calling party, and between the transfer device and the called party will be too large, which will affect the real-time performance of the fax.
这时,可通过以下方法进行处理:如果中转设备收到的来自主叫的DCS中的速率高于来自被叫的DIS中的速率,参见图6所示,中转设备收到DCS后向主叫回送FTT,要求主叫降速率,同时根据DIS中的速率修改DCS中的速率,并将修改后的DCS发送给被叫;如果DCS中的速率低于DIS中的速率,中转设备则将收到的DCS转发给被叫,指示被叫使用DCS中的速率。通过这种方法,可将主叫和被叫的传输速率协调一致,从而可以保证中转设备和主叫、及中转设备和被叫之间的时序基本相同,避免对传真的实时性造成恶劣影响。At this time, the following methods can be used to deal with it: If the rate in the DCS received by the transfer device from the calling party is higher than the rate in the DIS from the called party, as shown in Figure 6, the transfer device will send a call to the caller after receiving the DCS Send FTT back, request the calling party to reduce the rate, modify the rate in DCS according to the rate in DIS, and send the modified DCS to the called party; if the rate in DCS is lower than the rate in DIS, the transit device will receive The DCS forwarded to the called party, instructing the called party to use the rate in the DCS. Through this method, the transmission rates of the calling party and the called party can be coordinated, so that the timing between the transfer device and the caller, and the transfer device and the called party can be basically the same, avoiding adverse effects on the real-time performance of the fax.
另外,还有一种情况是:中转设备收到的来自主叫的DCS与来自被叫的DIS中对于其它信息如报文格式的规定不一致。对于这种情况,中转设备可以有两种处理方式,一是将收到的DCS直接转发给被叫;二是丢弃主叫发送来的DCS,将来自被叫的DIS转发给主叫。实际应用中具体采用哪种方式,需视被叫DIS的内容而定。In addition, there is another situation: the DCS received by the transit device from the calling party is inconsistent with the provisions on other information such as message format in the DIS from the called party. For this situation, the transfer device can have two processing methods, one is to directly forward the received DCS to the called party; the other is to discard the DCS sent by the calling party and forward the DIS from the called party to the calling party. Which method to use in actual application depends on the content of the called DIS.
为了解决初始阶段协商速率不一致的问题,在步骤401中,中转设备也可以不构造DIS发送给主叫,而是在接收到被叫发送来的DIS后,直接将收到的DIS转发给主叫,后续相关步骤与图4相同。In order to solve the problem of inconsistent negotiation rates at the initial stage, in
二、被叫响应RTN/RTP。2. The called party responds to RTN/RTP.
在一页报文传送结束后,被叫可能对收到的MPS响应RTN/RTP。由于中转设备在收到主叫MPS后,已经回复MCF给主叫,因此,这样可能造成被叫的接收速率要小于主叫的发送速率,从而导致报文数据在中转设备上大量积压或者导致主叫提前拆线。After the transmission of a page message is completed, the called party may respond RTN/RTP to the received MPS. Since the transit device has already replied the MCF to the calling party after receiving the MPS from the calling party, this may cause the receiving rate of the called party to be lower than the sending rate of the calling party, resulting in a large backlog of message data on the transiting device or causing the called early stitch removal.
这时,参见图7所示,可通过如下方法解决:中转设备收到RTN/RTP后,向被叫重发DCS重新训练,以降低中转设备和被叫之间的报文传送速率;并且,中转设备存储在回复MCF给主叫后由主叫发送过来的报文,在主叫发送完报文后,对主叫发送来的MPS响应RTN/RTP,并在收到主叫发送来的DCS后,根据被叫对重发DCS的响应向主叫返回FTT或CFR,以降低主叫的发送速率,使得主叫的发送速率与被叫的接收速率相一致,中转设备在收到被叫发送来的CFR后,将存储的报文转发给被叫。其中,所述根据被叫对重发DCS的响应向主叫返回FTT或CFR是指,如果中转设备在重发DCS给被叫之后,收到来自被叫的FTT,则中转设备在收到来自主叫的DCS后,向主叫返回FTT;如果中转设备在重发DCS给被叫之后,收到来自被叫的CFR,则中转设备在收到来自主叫的DCS后,向主叫返回CFR。At this time, as shown in Figure 7, it can be solved by the following method: after the transfer device receives the RTN/RTP, it resends the DCS retraining to the called party to reduce the message transmission rate between the transfer device and the called party; and, The transit device stores the message sent by the caller after replying to the MCF to the caller. After the caller sends the message, it responds to the MPS sent by the caller with RTN/RTP, and receives the DCS sent by the caller. Finally, according to the response of the called party to resending DCS, return FTT or CFR to the calling party to reduce the sending rate of the calling party, so that the sending rate of the calling party is consistent with the receiving rate of the called party. After receiving the incoming CFR, forward the stored message to the called party. Wherein, the return of FTT or CFR to the calling party according to the response of the called party to the resending DCS refers to that if the transfer device receives the FTT from the called party after resending the DCS to the called party, the transfer device receives the FTT from the callee After the calling party receives the DCS, it returns FTT to the calling party; if the transit device receives the CFR from the called party after resending the DCS to the called party, the transit device returns the CFR to the calling party after receiving the DCS from the calling party .
三、拆线问题。Third, the thread removal problem.
中转设备分别与主叫和被叫进行协商,可能导致中转设备与主叫、及中转设备与被叫之间的交互时序不一致。比如,当主叫已经发送完报文时,被叫还正在接收报文,若此时主叫发起拆线请求,则根据现有协议,交换中心则将会立即将收到的拆线请求转发给被叫,然后作出拆线应答。这样必然会导致被叫立即拆线,从而不能将报文接收完整。The transfer device negotiates with the calling party and the called party separately, which may lead to inconsistent timing of interaction between the transfer device and the calling party, and between the transfer device and the called party. For example, when the calling party has finished sending the message, the called party is still receiving the message. If the calling party initiates a disconnection request at this time, according to the existing protocol, the switching center will immediately forward the received disconnection request to the called party, and then disconnect the answer. This will inevitably cause the called party to disconnect immediately, so that the message cannot be received completely.
NO.7信令系统中规定,拆线操作必须等拆线请求得到应答后才能完成。因此,参见图8所示,对于主叫发起的拆线,可通过如下步骤进行处理:The NO.7 signaling system stipulates that the disconnection operation must wait for the disconnection request to be answered before it can be completed. Therefore, as shown in Figure 8, the disconnection initiated by the calling party can be processed through the following steps:
步骤801:主叫在传真结束时,向交换中心发送拆线请求(Release_Req)。Step 801: the calling party sends a disconnection request (Release_Req) to the switching center when the fax ends.
步骤802:交换中心收到拆线请求后,向中转设备转发拆线请求,申请是否可以拆线。Step 802: After receiving the disconnection request, the switching center forwards the disconnection request to the transfer device to apply for whether disconnection is possible.
步骤803:中转设备在被叫报文接收完毕后,向交换中心返回拆线应答(Release_Ack)。Step 803: After receiving the called message, the transit device returns a release acknowledgment (Release_Ack) to the switching center.
步骤804:交换中心收到来自中转设备的拆线应答后,向被叫发送拆线请求。Step 804: After receiving the disconnection response from the transit device, the switching center sends a disconnection request to the called party.
步骤805:被叫收到拆线请求后,向交换中心返回拆线应答。Step 805: After receiving the disconnection request, the called party returns a disconnection response to the switching center.
步骤806:交换中心收到来自被叫的拆线应答后,向主叫返回拆线应答,完成拆线操作。Step 806: After receiving the disconnection response from the called party, the switching center returns a disconnection response to the calling party to complete the disconnection operation.
对于被叫发起的拆线,则认为是传真过程中断,交换网络立即将收到的拆线请求转发给被叫,具体处理过程与现有技术相同,这里不再一一赘述。For the disconnection initiated by the called party, it is considered that the facsimile process is interrupted, and the switching network immediately forwards the received disconnection request to the called party. The specific processing process is the same as that of the prior art, and will not be repeated here.
本文中所述的中转设备为IWF、PSTN网关、FWT或MS等。比如,对于移动网络,中转设备为IWF,交换中心为MSC;对于PSTN网络,中转设备为PSTN网关,交换中心为PSTN信令控制模块;对于FWT或MS,中转设备具体来说是FWT或MS的传真中转功能模块,交换中心是FWT或MS的信令控制模块。The transit device mentioned in this article is IWF, PSTN gateway, FWT or MS, etc. For example, for a mobile network, the transit device is IWF, and the switching center is MSC; for a PSTN network, the transit device is a PSTN gateway, and the switching center is a PSTN signaling control module; for FWT or MS, the transit device is specifically the FWT or MS Fax relay function module, switching center is the signaling control module of FWT or MS.
可见,本发明所提供的方法能够减少由于时延过大而造成的传真协商帧之间的碰撞,提高传真成功率。It can be seen that the method provided by the present invention can reduce the collision between fax negotiation frames caused by excessive time delay and improve the success rate of fax.
以上所述对本发明的目的、技术方案和有益效果进行了进一步的详细说明,所应理解的是,以上所述并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。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.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100806564A CN100438553C (en) | 2006-05-23 | 2006-05-23 | Method for decreasing facsimile negotiation frame collision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100806564A CN100438553C (en) | 2006-05-23 | 2006-05-23 | Method for decreasing facsimile negotiation frame collision |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1984215A CN1984215A (en) | 2007-06-20 |
CN100438553C true CN100438553C (en) | 2008-11-26 |
Family
ID=38166424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100806564A Expired - Fee Related CN100438553C (en) | 2006-05-23 | 2006-05-23 | Method for decreasing facsimile negotiation frame collision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100438553C (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1244324A (en) * | 1997-01-08 | 2000-02-09 | 夸尔柯姆股份有限公司 | Collision avoidance in half-duplex communication system |
CN1267408A (en) * | 1997-05-16 | 2000-09-20 | 夸尔柯姆股份有限公司 | Method of and apparatus for detecting and preventing message collisions in communication system |
CN1399446A (en) * | 2001-07-25 | 2003-02-26 | 华为技术有限公司 | Speed-limiting IP fax method and gateway speed-limiting method in IP fax |
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 |
US20030189720A1 (en) * | 2000-02-11 | 2003-10-09 | Lsi Logic Corporation | Method for eliminating multiple modulating and demodulating of group 3 fax over packet and low data rate digital networks |
US20060092465A1 (en) * | 2004-11-02 | 2006-05-04 | Samsung Electronics Co., Ltd. | Facsimile transmission method, medium, and apparatus |
-
2006
- 2006-05-23 CN CNB2006100806564A patent/CN100438553C/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1244324A (en) * | 1997-01-08 | 2000-02-09 | 夸尔柯姆股份有限公司 | Collision avoidance in half-duplex communication system |
CN1267408A (en) * | 1997-05-16 | 2000-09-20 | 夸尔柯姆股份有限公司 | Method of and apparatus for detecting and preventing message collisions in 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 |
US20030189720A1 (en) * | 2000-02-11 | 2003-10-09 | Lsi Logic Corporation | Method for eliminating multiple modulating and demodulating of group 3 fax over packet and low data rate digital networks |
CN1399446A (en) * | 2001-07-25 | 2003-02-26 | 华为技术有限公司 | Speed-limiting IP fax method and gateway speed-limiting method in IP fax |
US20060092465A1 (en) * | 2004-11-02 | 2006-05-04 | Samsung Electronics Co., Ltd. | Facsimile transmission method, medium, and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN1984215A (en) | 2007-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8526048B1 (en) | Systems and methods for the reliable transmission of facsimiles over packet networks | |
JP4298765B2 (en) | Digital network interface for analog fax machines | |
US7355735B1 (en) | Real time fax over packet based network | |
JP2007306578A5 (en) | ||
JP5049646B2 (en) | IP communication apparatus and data transmission method thereof | |
US5809116A (en) | Method and apparatus of certifying a telephonic transmission | |
US20130151715A1 (en) | Communication apparatus that performs communication using t.38 protocol, control method therefor, and storage medium | |
TW474098B (en) | Method and system for negotiating transmitting and receiving modes for transmitting facsimile data via a medium having a variable data transmission time | |
JP3944761B2 (en) | Real-time Internet facsimile machine | |
JP2003309562A (en) | Communication terminal device, communication system, and communication management method | |
JP2001292271A (en) | Internet fax gateway device and control method therefor | |
CN100438553C (en) | Method for decreasing facsimile negotiation frame collision | |
JP2000354127A (en) | Method for controlling real time type internet facsimile communication system | |
CN1984122A (en) | Method for decreasing facsimile protocol frame collision | |
JP2010219689A (en) | Printing system, and printer terminal | |
CN101197899A (en) | A wireless fax processing method, fax agent device and wireless terminal | |
CN100471221C (en) | A Way to Reduce Fax Delay | |
JP2007019649A (en) | Communication terminal | |
CN100385904C (en) | A Method, Device and System for Solving Frame Collision in Fax Process | |
JP3857033B2 (en) | COMMUNICATION TERMINAL DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM | |
CN1303802C (en) | Method for processing fax service | |
CN102572161B (en) | Method, system and terminal for wireless faxing | |
JP3977160B2 (en) | Network facsimile machine | |
JP2009017383A (en) | Network facsimile device and communication method thereof | |
JP3563977B2 (en) | Control method of real-time internet gateway facsimile machine |
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: 20081126 Termination date: 20130523 |