CN1859542A - Method, device and system for resolving frame collision in facsimile process - Google Patents

Method, device and system for resolving frame collision in facsimile process Download PDF

Info

Publication number
CN1859542A
CN1859542A CN 200610034479 CN200610034479A CN1859542A CN 1859542 A CN1859542 A CN 1859542A CN 200610034479 CN200610034479 CN 200610034479 CN 200610034479 A CN200610034479 A CN 200610034479A CN 1859542 A CN1859542 A CN 1859542A
Authority
CN
China
Prior art keywords
frame
treatment device
local terminal
intermediate treatment
response frame
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.)
Granted
Application number
CN 200610034479
Other languages
Chinese (zh)
Other versions
CN100385904C (en
Inventor
侯伟东
李毅
方震
周卫强
赵庆学
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100344796A priority Critical patent/CN100385904C/en
Publication of CN1859542A publication Critical patent/CN1859542A/en
Application granted granted Critical
Publication of CN100385904C publication Critical patent/CN100385904C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimile Transmission Control (AREA)

Abstract

The present invention discloses a frame collision method,which contains through end to end facsimile terminal intermediate treatment device realize frame collision detecting, transmitting and retransmission process, thereby realizing facsimile terminal frame interaction. The present invention also includes frame collision detective intermediate treatment device and facsimile communication system. The present invention can optimize frame processing mode, parameter configuration avoiding frame collision resulting to facsimile service failing, raising facsimile service success rate.

Description

A kind of methods, devices and systems that solve frame collision in the facsimile posting
Technical field
The present invention relates to communication field, be specifically related to the facsimile business field.
Background technology
Facsimile service is a kind of application basic telecommunications business very widely.The facsimile process of the T.30 agreement regulation of fax comprises process in call setup, message pre-treatment, the message, message reprocessing and calls out five processes that discharge as shown in Figure 1.
Stage A: call setup, calling both sides is communicated with by transmission line, the facsimile machine line attachment.
Stage B: the message pre-treatment, promptly carry out the preceding preparatory stage of message transmissions, comprise distinguishing and selecting of facsimile function, the pattern of transmission is established, and phase place is checked, the quality test of transmitting line etc.When the recipient assert and can receive, send the acknowledge signal that can receive to transmit leg, receive this signal to transmit leg till, facsimile machine has been finished consultation, reaches host-host protocol, can enter stage C, carries out the transmission of message.
Stage C: comprise C1 (rules in the message) signal in the message, i.e. synchronizing signal, error detection occurs and wireline inspection signal, in case the line interruption overstepping the time limit, or channel error code surpasses regulation, will remove circuit automatically, ends message transmissions.The message transmissions signal is the C2 signal.
Stage D: message reprocessing.In this process, whether the receiving-transmitting sides facsimile machine all will finish message transmissions, and whether the what state of reception also has message, and whether facsimile posting finish to wait and judge, so that definite next step turns to the E stage or turn back to the B stage.
Stage E: call out release, it is the recuperation of calling out.Facsimile machine will break away from circuit during this, promptly take out stitches.
B stage and D stage are the processing stage of being frame.T.30 Gui Ding frame mutual in, after the side transmit frame order, begin to wait for the response command of receiving terminal, if after 3 ± 15% seconds, do not receive response, will resend frame ordering.Send three times continuously and all do not receive response, will cause the facsimile service failure because of response timeout.If resending frame ordering in the time, the response frame of opposite end also arrives, and the problem of frame ordering collision will occur, and it is unusual to cause the frame processing procedure to occur, and finally influences the success rate of facsimile service.As shown in Figure 2.
Wherein, in the accompanying drawing herein the local terminal of indication be meant the facsimile terminal that sends command frame; The opposite end is meant the facsimile terminal of command frame being made response, and at this, local terminal is a relative notion with the opposite end.Time window is meant time range.
Local terminal is before retransmitting command frame, and the time that can receive the response frame of opposite end transmission is that frame time of reception window available relationship formula is expressed as follows:
Frame time of reception window=retransmit frames order interval-frame processing time-network delay
Wherein, the retransmit frames order is spaced apart 3 ± 15% seconds that agreement is stipulated;
In frame processing time=frame response length/300bps, T.30 the agreement regulation is transmitted with 300bps;
Network delay is the transmission line time delay that local terminal sends a frame to opposite end and opposite end transmission response frame.
By the above-mentioned relation formula as can be known, when frame time of reception window is 0, will the collision of frame appear.The retransmit frames order is fixed at interval, and T.30 the facsimile protocol regulation is 3 ± 15% seconds.If network delay is long, frame time of reception window is 0 may improve greatly, and the possibility that occurs frame collision like this is very high.In traditional circuit type switching network, the network delay<10ms of system is therefore hardly with considering the influence of network delay to facsimile service.
Along with the evolution of network, core net is developed to packet domain by circuit domain.When core net adopts packet domain, the variation, particularly time delay situation of the matter that the characteristic of network occurs.The network delay of at present superior in quality packet domain is 30~50ms.The problem of the numerous collision of frame frequency will appear in this moment.Frame collision causes response frame to be lost, and may cause facsimile posting unusual, causes the facsimile service failure.
At the frame collision problem, two kinds of IP-based solutions are arranged at present, storage is transmitted and real-time fax.
The Fax over IP of store-and-forward mode is similar to Email.The calling subscriber at first with facsimile transmission to server, server can send to it the server of far-end, by far-end server the most at last facsimile transmission to the called subscriber.Afterwards, whether successful caller obtain facsimile transmission information.The Fax over IP of store-and-forward mode is weak aspect following three: (1) does not send affirmation.Fax only sends to calledly just can be known, and confirms without any sending in process of transmitting.(2) scope of application is little.Store-and-forward mode can only send the fax paper that PC generates, and is to send by common facsimile machine terminal but in fact 90% fax is arranged.(3) process information that adopts the mode of similar Email to carry out, the no real-time of faxing, the facsimile service that can not in a calling procedure, finish.
The Fax over IP of load mode is just as common facsimile transmission in real time.Both sides' facsimile machine still will be through synchronous and transmission data, and it is not by telephone wire that the different just communications between the two places connects, but passes through IP network.Therefore end-to-end sequential requirement in the necessary satisfied T.30 facsimile protocol, this scheme still can't effectively solve the sequential relationship that frame is handled in the bigger network of time delay, that is to say the problem that still can not effectively solve frame collision in the facsimile posting.
In the practice fax, in a calling procedure,, just can not solve the frame collision problem that network delay causes if can not adjust the process that frame is handled dynamically, influence the success rate of facsimile service.
Summary of the invention
In view of this, the technical problem that the present invention mainly solves is, a kind of method of frame collision in the facsimile posting, a kind of intermediate treatment device and a kind of facsimile system of solving is provided.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method that solves frame collision in the facsimile posting, come achieve frame collision detection, forwarding and retransmission processes, may further comprise the steps by the intermediate treatment device between the facsimile terminal:
A, intermediate treatment device receive the command frame signal from local terminal, carry out the timestamp sign, and this command frame is forwarded to the opposite end, and start timer internal;
After b, opposite end receive command frame, send the response frame to this order, the intermediate treatment device receives response frame, carry out time marking, time difference between calculation command frame and the response frame compares time difference and preset time window, and response frame is transmitted to local terminal.
Step a further comprises:
After the intermediate treatment device was forwarded to the opposite end to command frame, the intermediate treatment device did not detect the previous video frames that the opposite end sends in acquiescence time of reception window, and the intermediate treatment device will send command frame once more to the opposite end.
Step b, the time difference, the intermediate treatment device frame that will make an immediate response was transmitted to local terminal in acquiescence time of reception window.
Among the step b, time difference, the intermediate treatment device is the described response frame of storage earlier in the collision detection time window, waited for that the opposite end repeating transmission sends described command frame, if receive the described command frame of the repeating transmission of local terminal in the collision detection time window, the response frame with storage is transmitted to local terminal immediately; If in the collision detection time window, do not receive the described command frame that local terminal is retransmitted, finish at the collision detection time window, the response frame of storing is transmitted to local terminal.
Among the step b, the time difference, in the time of reception window, the intermediate treatment device was transmitted to local terminal with response frame immediately after collision detection.
Comprise further among the step b that the intermediate treatment device sends response frame behind local terminal, receives described command frame once more, the described response frame that the intermediate treatment device will store immediately is transmitted to local terminal.
Described acquiescence time of reception window is the timer duration of the reception command response of agreement regulation T.30, promptly 3 ± 15% seconds; The time of reception window is to calculate according to the historical experience value after collision detection time window and the collision detection, and is configurable on the intermediate treatment device, and can adjust and optimize according to the real network situation.
The present invention also discloses a kind of intermediate treatment device, between local terminal and opposite end, comprises first fax module, second fax module and frame state processing module; The first fax processing module receives command frame, carries out the timestamp sign, and described command frame is transmitted to the frame state processing module; The frame state processing module is preserved described command frame, and described command frame is transmitted to the second fax processing module; The second fax processing module sends to the opposite end to described command frame; The second fax processing module receives response frame, carries out the timestamp sign, and described response frame is transmitted to the frame state processing module; The frame state processing module is preserved described response frame, calculates the time difference between described command frame timestamp and the described response frame timestamp, and time difference and preset time window are compared, and described response frame is transmitted to the first fax processing module; The first fax processing module is transmitted to local terminal to described response frame.
Described intermediate treatment device is fax gateway in the fixed network or the network interworking function device in the wireless network.
The present invention also discloses a kind of facsimile system, comprise local terminal, opposite end and facsimile network, be positioned at the intermediate treatment device on the fax core net, the intermediate treatment device receives the command frame signal from local terminal, carry out the timestamp sign, and this command frame is forwarded to the opposite end, after the opposite end receives command frame, transmission is to the response frame of described command frame, after the intermediate treatment device receives response frame, carry out timestamp and handle, the time difference between calculation command frame time stamp and the response frame timestamp, compare time difference and preset time window, the transmitted response frame is to local terminal.
Compared with prior art, the method of frame collision, intermediate treatment device and facsimile system in the solution facsimile posting provided by the present invention, avoid causing the problem that response frame is lost because of frame collision, in a calling procedure, finish the dynamic adjustment of frame, remedy the problem that network delay causes, guarantee in facsimile posting, can normally send and the received frame order between the terminal, improve the facsimile service success rate, realize the feasibility of facsimile service on the long time delay network.
Description of drawings
Fig. 1 is the stage schematic diagram of prior art facsimile process;
Fig. 2 is a frame collision procedure chart in the prior art facsimile posting;
Fig. 3 is that frame collision of the present invention detects and retransmission mechanism figure;
Fig. 4 is an intermediate treatment structure drawing of device of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments to the detailed description of the invention.
The method of frame collision in the solution facsimile posting provided by the invention, come achieve frame collision detection, forwarding and retransmission processes by the intermediate treatment device between the end-to-end facsimile terminal, the intermediate treatment device receives the command frame signal that comes from local terminal, carry out the timestamp sign, simultaneously this command frame is forwarded to the opposite end; The opposite end receives after the command frame, transmission is to the response frame of this order, and the intermediate treatment device also receives this response, carries out time marking, and judge and time difference of timestamp between command frame and the response frame to determine whether immediately response frame to be transmitted to local terminal according to the time difference.
Referring to Fig. 3, Fig. 3 is that frame collision of the present invention detects and retransmission mechanism figure, and concrete implementation procedure may further comprise the steps:
Receive the command frame signal that comes from local terminal at the intermediate treatment device, recorder is carried out the timestamp sign to the time of this command frame, and this command frame is forwarded to the opposite end, and starts timer internal;
Local terminal receives after the command frame, transmission is to the response frame of this order, the intermediate treatment device receives this response frame, intermediate module identifies by the mode of timestamp, and judge time difference of timestamp between command frame and the response frame, determine whether immediately response frame to be transmitted to local terminal according to this time difference:
If this time difference is within acquiescence time of reception window, then immediately response frame is transmitted to local terminal, as (1) position among Fig. 3.
If this time difference is in the collision detection time window, at this moment, the intermediate treatment device can store response frame earlier, waits for the command frame signal that local terminal sends for the second time.If in this window phase, receive the command frame of local terminal once more, then immediately the response frame of storing is sent to local terminal; If in this window phase, do not receive the command frame that local terminal is retransmitted once more, then after window phase finishes, the response frame that stores is directly sent to local terminal, as (2) position among Fig. 3.
If this time difference is after collision detection in the time of reception window, the intermediate treatment device can directly send to local terminal with response frame, as (3) position among Fig. 3.
If the intermediate treatment device sends after the response frame, but receive the command frame of last time, the response frame that the intermediate treatment device can will store after receiving command frame immediately originally sends local terminal.
Wherein, acquiescence time of reception window is the timer duration of the reception command response of T30 agreement regulation, promptly 3 ± 15% seconds; The time of reception window is to calculate according to the historical experience value after collision detection time window and the collision detection, and is configurable on the intermediate treatment device, and can adjust and optimize according to the real network situation.
In the foregoing description, if the intermediate treatment device is given command frame after the opposite end, the intermediate treatment device does not detect the previous video frames information that the opposite end sends in acquiescence time of reception window, and the intermediate treatment device will send command frame once more to the opposite end.
Intermediate treatment device provided by the invention as Fig. 4, between local terminal and opposite end, comprises first fax module, second fax module and frame state processing module; The first fax processing module receives command frame, carries out the timestamp sign, and described command frame is transmitted to the frame state processing module; The frame state processing module is preserved described command frame, and described command frame is transmitted to the second fax processing module; The second fax processing module sends to the opposite end to described command frame; The second fax processing module receives response frame, carries out the timestamp sign, and described response frame is transmitted to the frame state processing module; The frame state processing module is preserved described response frame, calculates the time difference between described command frame timestamp and the described response frame timestamp, and time difference and preset time window are compared, and described response frame is transmitted to the first fax processing module; The first fax processing module is transmitted to local terminal to described response frame.First and second fax processing modules facsimile terminals independent simultaneously and two ends carry out alternately, the frame state processing module control first and second fax processing modules, and it is synchronous to guarantee that the two ends facsimile terminal is handled, achieve frame collision detection, forwarding and functions of retransmission.
Facsimile provided by the invention system is made of fax local terminal, fax opposite end and facsimile network, comprises the intermediate treatment device that is positioned on the fax core net.The intermediate treatment device receives the command frame signal from local terminal, carry out the timestamp sign, and this command frame is forwarded to the opposite end, after the opposite end receives command frame, send response frame, after the intermediate treatment device receives response frame to described command frame, carrying out timestamp handles, time difference between calculation command frame time stamp and the response frame timestamp, compare time difference and preset time window, the transmitted response frame is to local terminal.
By the above as can be seen, the method of frame collision, intermediate treatment device and the fasystem that comprises the intermediate treatment device in the solution facsimile posting provided by the present invention, optimize the frame processing mode, and can effectively carry out parameter configuration in conjunction with the network transfer delay situation, the facsimile service failure of avoiding frame collision to cause, improve the success rate of facsimile service, realize the feasibility of facsimile service on the long time delay network.

Claims (9)

1, a kind of method that solves frame collision in the facsimile posting between fax local terminal and fax opposite end, is provided with the intermediate treatment device, may further comprise the steps:
A, intermediate treatment device receive the command frame from local terminal, carry out the timestamp sign, and the mentioned order frame is forwarded to the opposite end;
After b, opposite end receive command frame, send response frame, after the intermediate treatment device receives response frame to the mentioned order frame, carry out the timestamp sign, time difference between calculation command frame time stamp and the response frame timestamp, compare time difference and Preset Time window, the transmitted response frame is to local terminal.
2, the method for claim 1, it is characterized in that, further comprise among the step a that intermediate treatment device forward command frame is behind the opposite end, the intermediate treatment device does not detect the previous video frames that the opposite end sends in acquiescence time of reception window, the intermediate treatment device will send command frame once more to the opposite end.
3, method as claimed in claim 1 or 2 is characterized in that, among the step b, the time difference, the intermediate treatment device was transmitted to local terminal with response frame immediately in acquiescence time of reception window.
4, method as claimed in claim 1 or 2, it is characterized in that, among the step b, time difference is in the collision detection time window, the intermediate treatment device is the described response frame of storage earlier, described command frame is retransmitted in the wait opposite end, if receive the command frame that local terminal is retransmitted in the collision detection time window, the response frame with storage is transmitted to local terminal immediately; If in the collision detection time window, do not receive the command frame that local terminal is retransmitted, finish at the collision detection time window, the response frame of storing is transmitted to local terminal.
5, method as claimed in claim 1 or 2 is characterized in that, among the step b, the time difference, in the time of reception window, the intermediate treatment device was transmitted to local terminal with response frame immediately after collision detection.
6, method as claimed in claim 1 or 2 is characterized in that, further comprises among the step b, and the intermediate treatment device sends response frame behind local terminal, receives described command frame once more, and the intermediate treatment device is transmitted to local terminal with the response frame that stores immediately.
7, a kind of intermediate treatment device between local terminal and opposite end, is characterized in that, comprises first fax module, second fax module and frame state processing module;
The first fax processing module receives command frame, carry out the timestamp sign, and described command frame is transmitted to the frame state processing module, the frame state processing module is preserved described command frame, and described command frame be transmitted to second the fax processing module, second the fax processing module described command frame is sent to the opposite end;
The second fax processing module receives response frame, carry out the timestamp sign, and described response frame is transmitted to the frame state processing module, the frame state processing module is preserved described response frame, calculate the time difference between described command frame timestamp and the described response frame timestamp, time difference and preset time window are compared, described response frame is transmitted to the first fax processing module, the first fax processing module is transmitted to local terminal to described response frame.
8, device as claimed in claim 7 is characterized in that, is fax gateway in the fixed network or the network interworking function device in the wireless network.
9, a kind of facsimile system, comprise local terminal, opposite end and communication network, it is characterized in that, also comprise the intermediate treatment device on the communication network between local terminal and the opposite end, the intermediate treatment device receives the command frame signal from local terminal, carry out the timestamp sign, and this command frame is forwarded to the opposite end, after the opposite end receives command frame, send response frame, after the intermediate treatment device receives response frame to described command frame, carrying out timestamp handles, time difference between calculation command frame time stamp and the response frame timestamp, compare time difference and preset time window, the transmitted response frame is to local terminal.
CNB2006100344796A 2006-03-15 2006-03-15 Method, device and system for resolving frame collision in facsimile process Expired - Fee Related CN100385904C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100344796A CN100385904C (en) 2006-03-15 2006-03-15 Method, device and system for resolving frame collision in facsimile process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100344796A CN100385904C (en) 2006-03-15 2006-03-15 Method, device and system for resolving frame collision in facsimile process

Publications (2)

Publication Number Publication Date
CN1859542A true CN1859542A (en) 2006-11-08
CN100385904C CN100385904C (en) 2008-04-30

Family

ID=37298402

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100344796A Expired - Fee Related CN100385904C (en) 2006-03-15 2006-03-15 Method, device and system for resolving frame collision in facsimile process

Country Status (1)

Country Link
CN (1) CN100385904C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010034224A1 (en) * 2008-09-08 2010-04-01 华为终端有限公司 Method, device and management system for sending messages from terminal equipment
CN103441828A (en) * 2013-08-08 2013-12-11 深圳市共进电子股份有限公司 Detecting and sending method for usability of PVC based on PPPoE

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6147978A (en) * 1997-01-08 2000-11-14 Qualcomm Incorporated Method and apparatus for preventing message collisions in a half-duplex communication system
US6185195B1 (en) * 1997-05-16 2001-02-06 Qualcomm Incorporated Methods for preventing and detecting message collisions in a half-duplex communication system
AU1732700A (en) * 1998-11-17 2000-06-05 Hughes Electronics Corporation Improving facsimile call success rates in long delay and impaired channel environments without collision detection
JP4213530B2 (en) * 2003-07-01 2009-01-21 沖電気工業株式会社 FAX communication system and communication method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010034224A1 (en) * 2008-09-08 2010-04-01 华为终端有限公司 Method, device and management system for sending messages from terminal equipment
CN103441828A (en) * 2013-08-08 2013-12-11 深圳市共进电子股份有限公司 Detecting and sending method for usability of PVC based on PPPoE

Also Published As

Publication number Publication date
CN100385904C (en) 2008-04-30

Similar Documents

Publication Publication Date Title
CN1227854C (en) Link Layer acknowledgement and retransmission for cellular telecommunications
JP3734774B2 (en) Network facsimile apparatus and facsimile communication method
EP2590348B1 (en) Method and apparatus for transmitting and receiving media streams
US8693029B1 (en) Systems and methods for the reliable transmission of facsimiles over packet networks
US8898534B2 (en) Data transfer method
WO2009116788A1 (en) Method of transmitting rlc data
US6674541B1 (en) Method for transmitting facsimile data between facsimile apparatuses through an internet protocol network and relay apparatuses used in the method
CN1734997A (en) Data transmission method
US8891138B2 (en) Adaptive fax timers which adjust current time value based on predicted response time
CN1859542A (en) Method, device and system for resolving frame collision in facsimile process
US9549087B2 (en) System and method for guaranteed high speed fax delivery
JP3738948B2 (en) Communication device
CN101060504A (en) A method for negotiating the next generation of network media gateway fax switching mode
JP2008252246A (en) Image communication system and method
CN1101195A (en) Communication system
JP2010177850A (en) Facsimile machine and facsimile communication method
CN101039327A (en) Method and system for supporting multiple services using SIP protocol
CN1691571A (en) Method for data synchronization in communication system and apparatus therefor
CN1984122B (en) Method for decreasing facsimile protocol frame collision
JP3857033B2 (en) COMMUNICATION TERMINAL DEVICE, ITS CONTROL METHOD, AND COMMUNICATION SYSTEM
CN1731817A (en) Realization method for media stream conversion channel working mode switching on gateway
CN104703152A (en) Short message processing method and short message processing device
JP3522339B2 (en) Relay transfer system
CN101064537A (en) Method, equipment and system for managing faxes service in IP/packet network
JP2003533136A (en) Digital network interface for analog fax machines

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: 20080430

Termination date: 20130315