METHOD OF QUICK CONNECTION OF PSTN MODEMS AND PSTN MODEM WITH FAST CONNECTION ACCORDING TO SUCH METHOD
20230110136 · 2023-04-13
Assignee
Inventors
Cpc classification
International classification
Abstract
A method of quick set up of PSTN modem connection is proposed. The method of quick set up of PSTN modem connection comprises: setting access to the data channel, identifying channel characteristics, configuring PSTN modems depending on the characteristics of the channel, configuring echo compensators of PSTN modems, negotiating the connection protocol and data transfer between PSTN modems according to the configuration using the agreed protocol where: data transmission is carried out in duplex mode with the separation of signals of reception and transmission by echo compensation, identification of channel characteristics and adjustment of the echo compensator of each of the PSTN modems is performed, respectively, when receiving and transmitting at least one training sequence by each PSTN modem, access to the data channel is carried out by sending call by PSTN modem, which contains the training sequence and connection parameters for negotiation, where using a multiple access protocol, when each of the PSTN modems is connected to the data channel asynchronously, without agreeing on the time of connection and without the need to pre-allocate the roles of calling and responding modems.
Claims
1. A method of quick set up of PSTN modem connection, which includes setting access to the data channel, identifying channel characteristics, configuring PSTN modems depending on the characteristics of the channel, configuring echo compensators of PSTN modems, negotiating the connection protocol and data transfer between PSTN modems according to the configuration using the agreed protocol where: data transmission is carried out in duplex mode with the separation of signals of reception and transmission by echo compensation, identification of channel characteristics and adjustment of the echo compensator of each of the PSTN modems is performed, respectively, when receiving and transmitting at least one training sequence by each PSTN modem, access to the data channel is carried out by sending call by PSTN modem, which contains the training sequence and connection parameters for negotiation, where using a multiple access protocol, when each of the PSTN modems is connected to the data channel asynchronously, without agreeing on the time of connection and without the need to pre-allocate the roles of calling and responding modems.
2. The method according to claim 1, characterized in that the connection protocol negotiation includes role allocation, signal parameter negotiation, and data rate.
3. The method according to claim 1, characterized in that after switching on, each of the PSTN modems enters the call reception mode, and in the absence of a call, each PSTN modem transmits a call sequence, and then enters into the mode of receiving response.
4. The method according to claim 1, characterized in that an independent assignment of a pause after a call by each PSTN modem (TimeOut) is performed, whereas the pause is defined as a random variable that has a distribution of the baseline value close to normal, the mean value of which is preferably greater than the expected delay in the channel (round trip), and is within the standard deviation less than the mathematical expectation of time delays.
5. The method according to claim 1, characterized in that the conditions of normality of the random variable distribution and standard deviation are determined by PSTN-modem on the basis of machine learning algorithm.
6. The method according to claim 1, characterized in that after receiving the response, the PSTN modem determines mutually acceptable parameters of the data signal and the data rate, followed by the transmission of the sequence of confirmation of the selected parameters to another PSTN modem and the start of information transmission at the agreed rate.
7. The method according to claim 1, characterized in that random numbering of each call and ignoring the answer with the number that coincides with the number of the last call is applied.
8. The method according to claim 2, characterized in that the distribution of roles includes assigning the modem that first received the call as the answering modem, followed by this modem sending a message in response to the modem from which the call was received.
9. PSTN modem with fast connection set up, which includes a means of communication with a telephone line, modulator/demodulator, echo compensator, digital-to-analog converter and an analog-to-digital converter, and a series-connected means of data transmission in duplex mode, scrambler, deserializer, at least one encoder, transmission filter, and series-connected input filter, equalizer, at least one decision-making device, descrambler and serializer, whereas further comprising a automatic connection protocol, the input of which is connected to the output of the serializer and the output of the decoder, and the output of the automatic connection protocol is connected to the data transmission means in duplex mode, and the automatic connection protocol is suitable for alternating the phases of connection set up and installation of connection protocol data depending on the results of the evaluation of the characteristics of the channel by the modem and the information received from the modem from which the response was received.
10. PSTN modem according to claim 9, characterized in that the switch is used as a means of data transmission in duplex mode.
11. PSTN modem according to claim 10, characterized in that the automatic connection protocol is connected to the switch to transmit switch control data.
12. PSTN modem according to claim 11, characterized in that the automatic connection protocol is connected to the switch to transmit connection protocol data.
13. PSTN modem according to claim 11, characterized in that the connection protocol data includes the connection phase and data rate and the parameters of the data signal.
14. PSTN modem according to claim 9, characterized in that the said modem additionally contains a frequency response corrector, and the input of the automatic connection protocol is connected to the output of the frequency response corrector.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The invention is illustrated by an example of embodiment of a fast PSTN modem with a quick connection and a method of fast connection between such PSTN modems. The example is illustrated by the following images:
[0028]
[0029]
[0030]
[0031]
[0032] These examples and the images used do not limit other possible embodiments of the invention, but only explain its essence and confirm the feasibility.
DETAILED DESCRIPTION OF THE INVENTION
[0033] The PSTN modem includes a switch (1) as a means of transmitting data in duplex mode, the input of which is fed with data for transmission in the form of a bit stream. The output of the switch (1) is connected to a series-connected scrambler (2), deserializer (3), encoding means: a lattice encoder (4) and a signal encoder (5) and a low-frequency transmission filter (6). The output of the low-frequency transmission filter (6) and the reference frequency generator (7) are connected to the modulator. The output of the modulator is connected to a digital-to-analog converter, DAC (8). The output of the DAC (8) is connected via differential circuit (9) with telephone line PSTN (10). The output of the differential circuit (9) is connected to an analog-to-digital converter, ADC (11). The PSTN modem also includes an echo compensator filter (12), the input of which is connected to the modulator and the unit for calculating the echo suppression coefficients (13), the frequency response corrector (14), and a series-connected input filter (15), equalizer (16) Viterbi decoder (17) as a decision-making device, descrambler (18) and serializer (19). A band-pass adaptive filter is used as the input filter (15).
[0034] The PSTN modem further comprises an automatic connection protocol processor (20), the input of which is connected to the output of the serializer (19), the output of the Viterbi decoder (17) and the input of the frequency response corrector (14). The output of the automatic connection protocol processor (20) is connected to the switch (1) for transmitting control data of the switch and for transmitting data of the connection protocol. The automatic connection protocol processor (20) is a processor device suitable for alternating connection establishment and connection protocol data depending on the results of the modem channel evaluation and the information received from the modem from which the response is received.
[0035] To transmit data over the telephone line, the bitstream obtained through the switch (1) is scrambled using a scrambler (2) and grouped into groups of several bits in the deserializer (3). The number of groups depends on the transmission rate and is encoded by the lattice encoder (4) in accordance with the rules of convolutional coding. Each symbol from the output of the lattice encoder (4) is displayed in the signal encoder (5) in the symbols of the signal constellation (see
[0036] The signal from the transmitter of the correspondent through the telephone line (10) is allocated by the differential circuit (9) and is fed to the ADC (11). The ADC (11) converts the analog signal into a sequence of real numbers that reflect the value of the analog signal at the time of sampling. The input sequence is filtered in the frequency response corrector (14) in order to increase the signal-to-noise ratio. From the output of the frequency response corrector (14) the signal is fed to the demodulator, which converts the sequence of real numbers into a sequence of complex numbers, which reflects the value of the demodulated signal (analytical representation). The demodulated signal passes through the equalizer (16), which adjusts the phase and frequency characteristics of the channel and enters the Viterbi decoder (17). Next, the character stream is descrambled in the descrambler (18) and converted into a bit stream through the serializer (19). In this case, the automatic connection protocol processor (20) provides alternation of connection phases and setting of connection parameters (in particular, data transmission rate) depending on the results of evaluation of channel characteristics by the modem and information received from the correspondent modem.
[0037] The operation of a PSTN modem in duplex mode can be divided into two periods: connection set up and data exchange. The connection is established from the moment the command is received from the terminal to set up a connection. The two modems are considered equivalent devices, but the modem that received the command to set up the connection is considered the calling modem. Such a modem starts sending call signals at random intervals. The modem that first accepted the correspondent's modem call answers the call. In the process of transmitting a call and answering a call, each of the modems configures the echo compensator. In the process of receiving a call and receiving a response to a call, each of the modems evaluates the frequency and statistical parameters of the channel, adjusts the frequency response corrector (14) and the input filter (15).
[0038] The connection set up sequence can be represented as alternating the following phases of the modem operation and the operation phases of the modem transmitter shown in the PSTN modem operation diagram in
[0048] List and encode parameters to match connection parameters:
[0049] Coding of connection parameters (RA, RC)
[0050] The first word RA, RC (16 bits) [0051] _SkewTr=$f000;—Request Skew transmitter AFC: Skew: <8-left,>8-right) [0052] _KoefSN=$f000;—s/n estimation or transmitter frequency correction request} [0053] _NonLin=$0800;—Channel nonlinearity found [0054] _CoeFSN=$0400;—s/n transfer sign in first hex digit of SkewTr [0055] _MadeSkewTr=$0200;—Transmitter frequency correction is realized [0056] _Reconnect=$0100;—Parameter exchange completed [0057] _AsimSpeed=$0080;—Asymmetrical speed available [0058] _isRND=$0004;—Random number take place in first hex digit [0059] _hDupl_av=$0020;—hDuplex mode available [0060] _UseV25=$0010;—To use V.25 protocol mandatory [0061] _Wire=$0008;—Wire/Radio h-Duplex mode set [0062] _hDupl=$0040;—h-Duplex mode [0063] _Faza=$0003; {—Connection Phase}
[0064] The second word RA, RC (16 bits) [0065] _9600t=$0080;—9600 transmit available [0066] _9600r=$0040;—9600 receive available [0067] _4800r=$0010;—4800 receive available [0068] _4800t=$0020;—4800 transmit available [0069] _14400t=$0008;—14400 transmit available [0070] _14400r=$0004;—14400 receive available [0071] _14400r=$ff00;—CRC8 of two words
[0072] Description of modem phases:
TABLE-US-00001 FazaMod = 0 The receiver is active, searching for the beginning of the call or answer the call from the correspondent, the transmitter is blocked (FazaRes = 8) FazaMod = 1 The transmitter issues a call (phases 1-4), the receiver is locked (FazaRes = 8) FazaMod = 2 After receiving the call training sequence of the correspondent, the modem transmitter issues a response to the received call (phases 1-3 of the training sequence), and then definitely goes into phase: FazaMod: = 4; FazaRes: = 4 FazaMod = 3 The calling modem receives the first three phases (S, −S, TRN) of the training sequence of the modem that corresponds to FazaMod = 4 Receiving the second training sequence (S, -S, TRN) of the calling modem and issuing a speed selection signal (FazaTr = 4) until the end of receiving the training sequence FazaMod = 5 Issue of the second training sequence by the calling modem (FazaTr = 1-3), the synchronization of the receiver when receiving R2 (FazaRes = 4) FazaMod = 6 Issue of EA and B segments by the called modem and reception of the RC segment by the calling modem FazaMod = 7 Issue of RC, EC, B segments by the calling modem and reception of EA and B segments FazaMod = 8 Data transmission by the called modem and data reception FazaMod = 9 Data transmission by the calling modem and data reception
[0073] Transmitter phase description:
TABLE-US-00002 FazaTr = 0 Bringing the transmitter into readiness and transfer to phase 1 FazaTr = 1 Segment S (transmission of ABAB . . . AB) FazaTr = 2 Segment −S (transmission of CDCD . . . CD) FazaTr = 3 TRN segment (scrambled units) FazaTr =4 Segments R1, R2, R3 (speed selection combinations) FazaTr = 5 Segment E (speed selection end combination) FazaTr = 6 Segment B1 (scrambled and coded units) FazaTr = 7 Data transmission FazaTr = 8 Issue of zeros in the TLC, preparation of the transmission buffer for the issue of samples of the first phase of the transmitter FazaTr = 9 Resetting the transmitter output, continuing to issue previously recorded in the transmitter output buffer FazaTr = 10 Clear the buffer, reset the transmitter into initial condition
[0074] The parameters of the phases of the modem transmitter are presented in the table.
TABLE-US-00003 TABLE Parameters of phases of operation of the modem transmitter Initial Word Initial sample Transmitter Modulation number character number Convolutional phase Designation type (16 bits) number (9600 Hz) coding Scrambling 1 S PM4 0-3 0 0 None None 2 ¦ ¬S PM4 4 32 128 None None 3 TRN PM4 5-36 40 160 None None 4 RA, RC PM8 37 . . . 306 1 224 Present Present 5 EA, EC PM8 n + 38 Present Present 6 B PM8, n + 39-42 Present Present QAM16-128 7 D PM8, n + 43 Present Present QAM16-128
[0075] Description of receiver phases:
TABLE-US-00004 FazaRes = 0 Bringing the receiver into readiness for transfer to the first phase FazaRes = 1 Search in the input signal of segment S (reception of ABAB . . . AB) FazaRes = 2 Reception of segment -S (reception of CDCD . . . CD) FazaRes = 3 Reception of the TRN segment identifying the frequency and statistical characteristics of the channel FazaRes = 4 Receiving RA or RS segments (receiving a combination of speed selection and common speed selection) FazaRes = 5 Reception of segment EA or EC (reception of a combination of the end of a speed selection) FazaRes = 6 Reception of segment B (scrambled and coded units). Checking the possibility of transition to the data exchange phase FazaRes = 7 Data reception FazaRes = 8 Reception is prohibited, the receiver does not work
[0076] The connection set up protocol according to the claimed method is also illustrated by a state transition diagram (STD),