Background technology
(next generation network: Next Generation Network) network popularizes rapidly along with NGN; VOIP (internet protocol voice technology: Voice over Internet Protocol) obtained using widely; Based on the fax (Fax over VOIP) of VOIP, based on the modulator-demodulator (Modemover VOIP) of VOIP, based on point of sales terminal (the POS over VOIP of VOIP; Point of Sale overVOIP) etc. constantly promoted; At end product; For example: home gateway, IAD (Integrated AccessDevice, integrated access equipment) etc. are following, and (Plain Old Telephone Service: Plain OldTelephone Service) mouthful following extension Fax, Modem, POS progressively obtain operator, businessman and consumer's favor through POTS.Fax, Modem, POS are when using, and the DSP at terminal (Digital SignalProcessing, Digital Signal Processing) pattern all will switch to data service mode.
In realizing process of the present invention, the inventor finds to exist in the prior art following problem:
1. when present Modem, POS use, the DSP mode switch at terminal to VBD (use the voice channel transmission data: Voice band Data) data service mode has two kinds of methods:
1) (network access server: the answering tone (Answering Tone) that Network Access Server) produces is through UMG (Universal Media Gateway: Universal MediaGateway) pass through RTP (the Real-time Transport Protocol of NGN network again for the NAS in the PSTN network; Real time transport protocol) message passes to the terminal, judges whether to switch to the VBD data service mode by terminal D SP through detecting this answering tone again.
For this changing method, because the inevitable time delay of NGN network, packet loss, shake, lossy compression method G.729 and modulation to the distortion of analog signal, cause terminal D SP to detect unreliable, inaccurate, untimely defective.
2) detect answering tone by UMG and report soft switch, switch the VBD data service mode by soft switch notice terminal.
For this changing method, if the thresholding that UMG detects answering tone is controlled too strictly, will omission, and need detect for a long time, influential to the negotiation of back signal, cause negotiation time to prolong, the whole time just increases.If control De Taisong will detect more.In addition, many times UMG does not support the detection of answering tone.
2. when present Fax used, the DSP mode switch at terminal also had two kinds of methods to FaxRelay (fax relay) data service mode, and promptly the recipient detects and the transmit leg detection.
Yet, no matter be that the recipient detects facsimile signal, or transmit leg detection of call sound, above all existing 2) and the problem of lining thresholding control.The ring of some mobile phones is exactly CNG Tone (Calling tone, calling tone), when carrying out the VOIP calling, and the wrong easily Fax incident that detects.And a lot of facsimile machines the sound that flase drop goes out the next door facsimile machine also can occur when using together, and some sends facsimile machine and can not send out calling tone.
3. some new changing method is configuration Fax or Modem or a POS access code on the terminal, comes judgment model to switch through the numbers match analysis.
Yet this changing method can't use the terminal of not supporting the number analysis agreement, for example MGCP (Media Gateway Control Protocol, MGCP) agreement.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the present invention is explained further details below in conjunction with execution mode and accompanying drawing.At this, exemplary embodiment of the present invention and explanation thereof are used to explain the present invention, but not as to qualification of the present invention.
Embodiment one
The embodiment of the invention provides a kind of method for building up of link bearing data service, below in conjunction with accompanying drawing present embodiment is elaborated.
Fig. 1 is the flow chart of the method for present embodiment, and is as shown in Figure 1, and the method for building up of the link bearing data service of the embodiment of the invention comprises:
101: initiate the terminal receives the calling terminal that is connected with said port from its port calling;
In the present embodiment; Initiating the terminal can be home gateway (Home Gateway) or integrated access equipment IAD; Calling terminal for example can be telephone set, facsimile machine, modulator-demodulator, POS machine etc. for being hung on down the equipment of initiating the terminal, present embodiment not with this as restriction.
102: said initiation terminal switches to the pattern of the data service of corresponding said port;
In the present embodiment, be hung on instantly after a certain calling terminal off-hook of initiating the terminal makes a call, initiate the terminal and at first detect the port that connects this calling terminal, then business model is switched to data service mode that should port.
In the present embodiment; Before the calling terminal off-hook makes a call; The pattern of data service that each port at connected initiation terminal has been configured server configures respectively; Configuration server can be accomplished through step as shown in Figure 2 for the method for the professional pattern of each port configuration data of initiating, and please with reference to Fig. 2, this method comprises:
201: configuration server issues configuration-direct to said initiation terminal;
202: said initiation terminal receives said configuration-direct, makes its each port be respectively applied for the professional pattern of an association according to said configuration-direct.
Wherein, configuration server can be customer premises equipment, CPE wide area network management agreement CWMP server.The pattern of data service comprises: telephone service pattern, facsimile service pattern, modulation business model, point of sales terminal business model.
103: call signaling is sent to soft switch in said initiation terminal; Carry the sign of said data service in the said call signaling; The soft switch signaling that to be carried the sign of said data service by said soft switch sends to receiving terminal, makes said receiving terminal switch to the pattern of said data service;
In the present embodiment; The pattern of the data service of the port that the initiation terminal makes a call the business model switching for correspondence and off-hook calling terminal links to each other; Just can under the pattern of this data service, initiate normal the calling; For example send call signaling, carried the sign of this data service in this call signaling to soft switch.
Soft switch receives this call signaling, and the soft switch signaling that is about to carry the sign of this data service sends to receiving terminal, makes this receiving terminal also switch to the pattern of said data service.
Wherein, if receiving terminal is positioned at IP network, then the soft switch soft switch signaling that will carry the sign of this data service sends to receiving terminal; If receiving terminal is positioned at the PSTN network, then the soft switch soft switch signaling that will carry the sign of this data service sends to Universal Media Gateway UMG, switches to the pattern of corresponding data service by UMG, again with the receiving terminal exchange of signaling.
Wherein, UMG and receiving terminal exchange of signaling can be accomplished through existing means, repeat no more at this.
Wherein, the sign of data service can be X-fax or X-modem or X-pos for example, is used to show to be to be used to realize the facsimile service pattern, or the modulation business model, or the point of sales terminal business model.
104: set up the link that carries said data service between said initiation terminal and the said receiving terminal.
At present embodiment extremely; Initiate terminal and receiving terminal and all switch pattern for the data service of the port that links to each other with calling terminal that off-hook makes a call; Can initiate to set up the link that carries said data service between terminal and the receiving terminal, so on this link, hold consultation, train, work such as study.
The method for building up of the link bearing data service through present embodiment; Initiate the pattern of terminal according to the pre-configured data service of its port; When the calling terminal off-hook that is connected with its port makes a call; Automatically business model is switched to the pattern to data service that should port; And under this pattern, set up the link that carries this data service with receiving terminal, owing to need or not number analysis just to accomplish the switching of the pattern of data service through the detection signal sound yet, thus make the terminal bearing data service more accurate, practical.
Embodiment two
For the method that makes embodiment one is clear more understandable, describe below in conjunction with networking sketch map and Signalling exchange sketch map method to present embodiment.
Fig. 3 is the networking sketch map of the method for present embodiment; As shown in Figure 3; In the present embodiment; Initiate the terminal and hang calling terminal 32 31 times, this calling terminal 32 can be facsimile machine or modulator-demodulator or point of sales terminal, initiates terminal 31 and connects IP network through Digital Subscriber Line Access Multiplexer DSLAM (DigitalSubscriber Line Access Multiplexer) 33, Broadband Remote Access Server BRAS (Broadband Remote Access Server) 34; Configuration server 35 has disposed the pattern of the data service of each port through IP network for this initiation terminal 31; Soft switch 36 is connected IP network respectively with Universal Media Gateway 37, and when receiving terminal 38 during at IP network, soft switch 36 sends to this receiving terminal 38 with the soft switch signaling; Receiving terminal 38 promptly can switch to the pattern of corresponding data service, sets up with the initiation terminal and carries linking of above-mentioned data service; When receiving terminal 38 ' when PSTN nets; Soft switch 36 sends to Universal Media Gateway 37 with the soft switch signaling; Switch to the pattern of corresponding data service by Universal Media Gateway 37; Mutual through network access server NAS (Network AccessServer) 39, broadband services center 310 again with receiving terminal 38 ', at receiving terminal 38 ' with initiate to set up the link that carries said data service between the terminal 31, on this link, hold consultation then, train, work such as study.
Fig. 4 is the Signalling exchange sketch map of the method for present embodiment, and please with reference to Fig. 4, this method comprises:
401: configuration server is the pattern of the data service of each port of initiation terminal configuration;
Wherein, Configuration server can be the server under the customer premises equipment, CPE wide area network management agreement CWMP (Customer Premises Equipment WAN Management Protocol), and it can dispose certain port of initiating the terminal and come to carry out specially facsimile service or modulation business or point of sales terminal business as fax mouth or modulator-demodulator mouth or point of sales terminal mouth (Fax/Modem/Pos).
402: configuration server issues configuration-direct to initiating the terminal through customer premises equipment, CPE wide area network management agreement CWMP, makes certain port special use of initiating the terminal come Fax/Modem/Pos.
403: initiate the terminal and hang Fax/Modem/Pos down, the Fax/Modem/Pos off-hook makes a call, and the digital signal processing module of initiating the terminal just switches to the Fax/Modem/POS pattern, need not switch through the detection signal sound, does not also need number analysis.
404: initiate the terminal and send call signaling, carry the sign of data service of the model F ax/Modem/POS of corresponding above-mentioned data service in this call signaling to soft switch.
Wherein, the sign of data service can be X-fax/X-modem/X-pos, is used to show the professional type of data carried by data that will set up.
For example; If the facsimile machine off-hook that the initiation terminal hangs down makes a call; Then initiate the fax pattern of terminal, business model is switched to the fax pattern, then initiate the terminal and in call signaling, carry X-fax and notify to soft switch according to the port that is connected with this facsimile machine of configuration server.
405: soft switch receives above-mentioned call signaling, the sign of the data service in this call signaling is added to sending to receiving terminal or Universal Media Gateway in the soft switch signaling;
Wherein, if receiving terminal is in IP network, then soft switch sends to receiving terminal with the soft switch signaling; If receiving terminal is in the PSTN network, then soft switch sends to UMG with the soft switch signaling, sets up the link that carries this data service through UMG with initiating the terminal, and carries out Signalling exchange with receiving terminal.
Wherein, carry out Signalling exchange through UMG and receiving terminal and belong to prior art, repeat no more at this.
406: receiving terminal or Universal Media Gateway be according to the soft switch signaling that soft switch issues, and switches to the pattern to the data service of the sign of data service that should the soft switch signaling.
For example, if carry X-fax in this soft switch signaling, then receiving terminal or Universal Media Gateway switch to the fax pattern.
407: initiate to set up the link that carries said data service between terminal and the receiving terminal, can on this link, hold consultation, train, learn, realize that finally Fax/Modem/POS is professional.
Method through present embodiment; Make and initiate the business model that the terminal is supported according to pre-configured port; Switch to the data service mode of the corresponding port that is connected with this calling terminal according to the off-hook of calling terminal, and set up and receiving terminal between bearing link, avoided through detecting the defective that various signal tones just can switch to data service mode; And do not need analyzing called number, and support each quasi-protocol.
Embodiment three
The embodiment of the invention also provides a kind of initiation terminal, below in conjunction with accompanying drawing present embodiment is elaborated.
Fig. 5 is the composition structural representation block diagram at the initiation terminal of present embodiment, and is as shown in Figure 5, and the initiation terminal of the embodiment of the invention mainly comprises:
At least one port 51 is used to receive the calling of the calling terminal that is connected with said at least one port;
Switch unit 52 is used for the pattern of Digital Signal Processing mode switch for the data service of corresponding said at least one port;
Transmitting element 53; Be used for sending call signaling to soft switch; Carry the sign of said data service in the said call signaling; Send to receiving terminal so that said soft switch will be carried the soft switch signaling of the sign of said data service, make said receiving terminal switch to the pattern of said data service;
Set up unit 54, be used for setting up the link that carries said data service with said receiving terminal.
According to an execution mode of present embodiment, this initiation terminal also comprises:
Receiving element 55 is used to receive the CWMP server and is the configuration-direct of pattern that is used to realize said data service of said at least one port arrangement;
Dispensing unit 56, being used for according to said configuration-direct is the professional pattern of said at least one port configuration data;
Wherein, the pattern of said data service comprises telephone service pattern, facsimile service pattern, modulation business model, point of sales terminal business model.
Wherein, said data service is designated X-fax or X-modem or X-pos.
The initiation terminal of present embodiment can be a home gateway, also can be integrated access equipment, present embodiment not with this as restriction.
The function at the initiation terminal that the initiation terminal of present embodiment is used for realizing that preceding method embodiment introduces is owing in method embodiment, specify initiating the terminal, so repeat no more at this.
Initiation terminal through present embodiment; Behind this Fax/Modem/POS off-hook of initiating to hang under the terminal; Promptly switch to the pattern of corresponding data service; Need not switch to data service mode through detecting various signal tones, it is more accurate that the data service of initiating terminal and receiving terminal is switched.
Embodiment four
The embodiment of the invention also provides a kind of system that sets up of link bearing data service, below in conjunction with accompanying drawing present embodiment is elaborated.
Fig. 6 is that the system of present embodiment forms structured flowchart, and as shown in Figure 6, the system that sets up of the link bearing data service of the embodiment of the invention mainly comprises:
Initiate terminal 61, be used for calling, business model is switched to the pattern of the data service of the corresponding port that connects said calling terminal, and send the call signaling of the sign of carrying said data service to soft switch 62 according to calling terminal;
Soft switch 62 is used to receive said call signaling, and the soft switch signaling of the sign of carrying said data service is sent to receiving terminal 63;
Receiving terminal 63; Be used to receive said soft switch signaling; Business model is switched to the pattern of data service of the sign of corresponding said data service according to the sign of said data service, set up the link of the pattern of carrying said data service with said initiation terminal 61.
According to an execution mode of present embodiment, this system can also comprise:
Configuration server 64 is used to the professional pattern of at least one port configuration data at said initiation terminal 61.
According to the another one execution mode of present embodiment, this system can also comprise:
Universal Media Gateway 65; Link to each other with said receiving terminal 63 with said soft switch 62; Be used at said receiving terminal 63 receiving the soft switch signaling of said soft switch 62 during at the PSTN network, business model switched to the pattern of data service of the sign of the data service in the corresponding said soft switch signaling; Carry the link of the pattern of said data service with 61 foundation of said initiation terminal, control the Signalling exchange of said receiving terminal 63.
The function of each part of the system of present embodiment specifies in preceding method embodiment, so repeat no more at this.
System through present embodiment; After initiating the Fax/Modem/POS off-hook of hanging under the terminal; Promptly switch to the pattern of corresponding data service; Need not switch to data service mode, the data service of initiating terminal and receiving terminal is switched more quick and precisely through detecting various signal tones.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
Above-described embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.