CN104270542A - Method and device for improving Modem communication reliability - Google Patents
Method and device for improving Modem communication reliability Download PDFInfo
- Publication number
- CN104270542A CN104270542A CN201410472129.2A CN201410472129A CN104270542A CN 104270542 A CN104270542 A CN 104270542A CN 201410472129 A CN201410472129 A CN 201410472129A CN 104270542 A CN104270542 A CN 104270542A
- Authority
- CN
- China
- Prior art keywords
- transmission level
- state information
- modem
- automatic adjustment
- file
- 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
Links
Landscapes
- Communication Control (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method and device for improving Modem communication reliability. The method comprises the steps that the carrier wave state information of a Modem is detected during a data communication process; when abnormal carrier wave state information is detected, the Modem is hanged; whether the abnormal carrier wave state information meets a preset automatic level adjusting-sending triggering condition is judged; when the judging result shows that the abnormal carrier wave state information meets the preset automatic level adjusting-sending triggering condition, an automatic level adjusting-sending event is carried out; and after the automatic level adjusting-sending event is carried out, a normal dialing process is carried out. According to the method, automatic adjusting of Modem parameters under the situation of abnormal communication is carried out through software, problems of carrier wave losing caused by a circuit, a exchanger and the like are solved in a self-adaptive mode, Modem communication reliability is improved, and loss of manpower and material resources is lowered. The method and device can be widely used in the technical field of modem communication reliability.
Description
Technical field
The present invention relates to modem technology, more particularly, the present invention relates to a kind of method and the device that improve Modem communication reliability.
?
Background technology
POS (point of sale: point-of-sale terminal) is a kind of multi-functional terminal end, the franchised business it being arranged on bank card is unified into network with accepting in site with computer, just can realize electronic funds automatic account transfer, it has functions such as supporting consumption, pre-authorization, inquiry into balance and account transfer.
POS is by connecting NAC net control device by switch after dialing, and send Transaction Information, NAC process Transaction Information also issues backstage with message form, backstage receives message and after process, result is issued NAC (Network Access Controller: net control device), after NAC process, send to POS.
POS divides wired and wireless terminal, catv terminal uses NET or telephone network and Background communication to complete transaction, the POS terminal of telephone network is wherein used to adopt Modem(modulator-demodulator) mechanics of communication, there is following circuit question: the signal that (1) POS terminal sends is through telecommunication line, sometimes become the very serious of decay, opposite end NAC net control device can not normally identify, or is amplified excessive by circuit and cut top distortion.NAC net control device can not receive suitable signal and disconnects the loss of carrier that carrier wave causes end side; (2) when telecommunication line is optical fiber, optical fiber Modem opens the function of echo cancellor, and when transmission level and the signal difference received are very large, the signal of a side is easy to be eliminated, and causes loss of carrier.
Prior art needs the Modem Communication occurred for different trade company, different circuit, different backstage to debug, and provides solution, needs technical staff's on-site support, the manpower and materials of at substantial.
Summary of the invention
In order to solve the problems of the technologies described above, the first object of the present invention is to provide a kind of method improving Modem communication reliability.
The second object of the present invention is to provide a kind of device improving Modem communication reliability.
First technical scheme of the present invention is: a kind of method improving Modem communication reliability, and the method comprises:
Modem detects its Carrier State information in process of data communication; When abnormal Carrier State information being detected, on-hook;
Judge whether described abnormal Carrier State information meets the trigger condition of default automatic adjustment transmission level;
When judged result shows the trigger condition of the automatic adjustment transmission level that described abnormal Carrier State information conforms is preset, perform and automatically regulate transmission level event;
Normal dialing flow process is performed after execution regulates transmission level event automatically.
Preferably, described automatic adjustment transmission level event, comprises sub-step:
S21, judge whether to exist and automatically regulate file, described automatic adjustment file is for preserving pre-transmission level value order and transmission level pointer P; If do not exist, enter step S22, enter step S23 if exist;
S22, establishment regulate file automatically, and by pre-transmission level value in order stored in automatically regulating in file, transmission level pointer P sets to 0, and by first pre-transmission level value write temporary variable, enter step S24;
S23, the content read in described automatic adjustment file; Read described transmission level pointer P, if value is not in scope or point to last level value, then P=0, otherwise P adds 1, gets transmission level pointer P and points to level value write temporary variable;
S24, the parameter value of temporary variable being assigned to the level that setting data sends in Modem send corresponding level value to serial ports.
Preferably, the trigger condition of described automatic adjustment transmission level is double appearance occur that the probability of loss of carrier reaches more than 30% in loss of carrier or 20 transaction.
Second technical scheme of the present invention is: a kind of device improving Modem communication reliability, and this device comprises:
Carrier State information detecting module: detect its Carrier State information for Modem in process of data communication; When abnormal Carrier State information being detected, on-hook;
Trigger condition judge module: for judging whether described abnormal Carrier State information meets the trigger condition of default automatic adjustment transmission level;
Automatic adjustment transmission level Executive Module: for showing the trigger condition of the automatic adjustment transmission level that described abnormal Carrier State information conforms is preset when judged result, perform and automatically regulate transmission level event;
Dial module: for performing normal dialing flow process after execution regulates transmission level event automatically.
Preferably, described automatic adjustment transmission level event, comprising:
Judge module, regulates file automatically for judging whether to exist, and described automatic adjustment file is for preserving pre-transmission level value order and transmission level pointer P; If do not exist, then perform creation module; If exist, then perform level value adjustment module;
Creation module, regulates file automatically for creating, and by pre-transmission level value in order stored in automatically regulating in file, transmission level pointer P sets to 0, and by first pre-transmission level value write temporary variable, performs assignment module;
Level value adjustment module, for reading the content automatically regulated in file; Read transmission level pointer P, if value is not in scope or point to last level value, then P=0, otherwise P adds 1, gets transmission level pointer P and points to level value and write temporary variable;
Assignment module, sends corresponding level value for the parameter value of temporary variable being assigned to the level that setting data sends in Modem to serial ports.
Preferably, the trigger condition of described automatic adjustment transmission level is double appearance occur that the probability of loss of carrier reaches more than 30% in loss of carrier or 20 transaction.
First beneficial effect of the present invention is:
The present invention is by software automatic adjustment to Modem parameter in communication abnormality situation, and the problem of the loss of carrier that self adaptation solution causes due to the problem such as circuit, switch, improves Modem communication reliability, reduce the loss of manpower and materials.
Second beneficial effect of the present invention is:
A kind of device improving Modem communication reliability of the present invention, the problem of the loss of carrier that the solution of energy self adaptation causes due to the problem such as circuit, switch.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described further:
Fig. 1 is a kind of schematic flow sheet improving the method for Modem communication reliability of the present invention;
Fig. 2 is the embodiment schematic flow sheet automatically regulating transmission level event in the method for the invention;
Fig. 3 is a kind of apparatus structure block diagram improving Modem communication reliability of the present invention.
Embodiment
Be described the principle of invention and feature below in conjunction with accompanying drawing, example, only for explaining invention, is not intended to limit scope of the present invention.
Fig. 1 is a kind of schematic flow sheet improving the method for Modem communication reliability of the present invention, and as shown in Figure 1, the method comprises: Modem detects its Carrier State information in process of data communication; When abnormal Carrier State information being detected, on-hook; Judge whether described abnormal Carrier State information meets the trigger condition of default automatic adjustment transmission level, preset in the present embodiment and automatically regulate the trigger condition of transmission level to be double appearance occur that the probability of loss of carrier reaches more than 30% in loss of carrier or 20 transaction; When judged result shows the trigger condition of the automatic adjustment transmission level that described abnormal Carrier State information conforms is preset, perform and automatically regulate transmission level event; Normal dialing flow process is performed after execution regulates transmission level event automatically.
Fig. 2 is the embodiment schematic flow sheet automatically regulating transmission level event in the method for the invention, as shown in Figure 2, automatically regulates transmission level event to comprise sub-step in the present embodiment:
S21, judge whether to there is automatic adjustment (autoadjust) file, described automatic adjustment file is for preserving pre-transmission level value order and transmission level pointer P; If do not exist, enter step S22, enter step S23 if exist;
S22, establishment regulate file automatically, and by pre-transmission level value in order stored in automatically regulating in file, transmission level pointer P sets to 0, and by first pre-transmission level value write temporary variable temp, enter step S24;
S23, the content read in described automatic adjustment file; Read described transmission level pointer P, if value is not in scope or point to last level value, then P=0, otherwise P adds 1, gets transmission level pointer P and points to level value write temporary variable temp;
S24, the value of temporary variable is assigned to the parameter ATS91 of the level that setting data sends in Modem as transmission level value, sends corresponding level value to serial ports.
The invention also discloses a kind of device improving Modem communication reliability, Fig. 3 is a kind of apparatus structure block diagram improving Modem communication reliability of the present invention, and as shown in Figure 3, this device comprises: this device comprises:
Carrier State information detecting module: detect its Carrier State information for Modem in process of data communication; When abnormal Carrier State information being detected, on-hook;
Trigger condition judge module: for judging whether described abnormal Carrier State information meets the trigger condition of default automatic adjustment transmission level; Automatically the trigger condition of transmission level is regulated to be double appearance occur that the probability of loss of carrier reaches more than 30% in loss of carrier or 20 transaction in the present embodiment.
Automatic adjustment transmission level Executive Module: for showing the trigger condition of the automatic adjustment transmission level that described abnormal Carrier State information conforms is preset when judged result, perform and automatically regulate transmission level event;
Dial module: for performing normal dialing flow process after execution regulates transmission level event automatically.
Described automatic adjustment transmission level event in the present embodiment, comprising:
Judge module, regulates file automatically for judging whether to exist, and described automatic adjustment file is for preserving pre-transmission level value order and transmission level pointer P; If do not exist, then perform creation module; If exist, then perform level value adjustment module;
Creation module, regulates file automatically for creating, and by pre-transmission level value in order stored in automatically regulating in file, transmission level pointer P sets to 0, and by first pre-transmission level value write temporary variable, performs assignment module;
Level value adjustment module, for reading the content automatically regulated in file; Read transmission level pointer P, if value is not in scope or point to last level value, then P=0, otherwise P adds 1, gets transmission level pointer P and points to level value and write temporary variable;
Assignment module, sends corresponding level value for the parameter value of temporary variable being assigned to the level that setting data sends in Modem to serial ports.
What automatically regulate transmission level to adopt in the specific embodiment of the invention is the mechanism of file, the pointer P of the level value of transmission level value order and current setting preserved by autoadjust file, if triggered, so this pointer P adds one, S91 register can be set the value corresponding according to this pointer simultaneously, namely the level that Modem data send is set.
More than that better enforcement of the present invention is illustrated, but the invention is not limited to embodiment, those of ordinary skill in the art also can make all equivalent variations or replacement under the prerequisite without prejudice to spirit of the present invention, and these equivalent distortion or replacement are all included in the application's claim limited range.
Claims (6)
1. improve a method for Modem communication reliability, it is characterized in that: the method comprises:
Modem detects its Carrier State information in process of data communication; When abnormal Carrier State information being detected, on-hook;
Judge whether described abnormal Carrier State information meets the trigger condition of default automatic adjustment transmission level;
When judged result shows the trigger condition of the automatic adjustment transmission level that described abnormal Carrier State information conforms is preset, perform and automatically regulate transmission level event;
Normal dialing flow process is performed after execution regulates transmission level event automatically.
2. a kind of method improving Modem communication reliability according to claim 1, is characterized in that: described automatic adjustment transmission level event, comprises sub-step:
S21, judge whether to exist and automatically regulate file, described automatic adjustment file is for preserving pre-transmission level value order and transmission level pointer P; If do not exist, enter step S22, enter step S23 if exist;
S22, establishment regulate file automatically, and by pre-transmission level value in order stored in automatically regulating in file, transmission level pointer P sets to 0, and by first pre-transmission level value write temporary variable, enter step S24;
S23, the content read in described automatic adjustment file; Read described transmission level pointer P, if value is not in scope or point to last level value, then P=0, otherwise P adds 1, gets transmission level pointer P and points to level value write temporary variable;
S24, the parameter value of temporary variable being assigned to the level that setting data sends in Modem send corresponding level value to serial ports.
3. a kind of method improving Modem communication reliability according to claim 1 and 2, is characterized in that: the trigger condition of described automatic adjustment transmission level is double appearance occur that the probability of loss of carrier reaches more than 30% in loss of carrier or 20 transaction.
4. improve a device for Modem communication reliability, it is characterized in that: this device comprises:
Carrier State information detecting module: detect its Carrier State information for Modem in process of data communication; When abnormal Carrier State information being detected, on-hook;
Trigger condition judge module: for judging whether described abnormal Carrier State information meets the trigger condition of default automatic adjustment transmission level;
Automatic adjustment transmission level Executive Module: for showing the trigger condition of the automatic adjustment transmission level that described abnormal Carrier State information conforms is preset when judged result, perform and automatically regulate transmission level event;
Dial module: for performing normal dialing flow process after execution regulates transmission level event automatically.
5. a kind of device improving Modem communication reliability according to claim 4, is characterized in that: described automatic adjustment transmission level event, comprising:
Judge module, regulates file automatically for judging whether to exist, and described automatic adjustment file is for preserving pre-transmission level value order and transmission level pointer P; If do not exist, then perform creation module; If exist, then perform level value adjustment module;
Creation module, regulates file automatically for creating, and by pre-transmission level value in order stored in automatically regulating in file, transmission level pointer P sets to 0, and by first pre-transmission level value write temporary variable, performs assignment module;
Level value adjustment module, for reading the content automatically regulated in file; Read transmission level pointer P, if value is not in scope or point to last level value, then P=0, otherwise P adds 1, gets transmission level pointer P and points to level value and write temporary variable;
Assignment module, sends corresponding level value for the parameter value of temporary variable being assigned to the level that setting data sends in Modem to serial ports.
6. a kind of device improving Modem communication reliability according to claim 4 or 5, is characterized in that: the trigger condition of described automatic adjustment transmission level is double appearance occur that the probability of loss of carrier reaches more than 30% in loss of carrier or 20 transaction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410472129.2A CN104270542B (en) | 2014-09-16 | 2014-09-16 | A kind of method and device of raising Modem communication reliabilities |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410472129.2A CN104270542B (en) | 2014-09-16 | 2014-09-16 | A kind of method and device of raising Modem communication reliabilities |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104270542A true CN104270542A (en) | 2015-01-07 |
CN104270542B CN104270542B (en) | 2017-11-03 |
Family
ID=52162030
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410472129.2A Active CN104270542B (en) | 2014-09-16 | 2014-09-16 | A kind of method and device of raising Modem communication reliabilities |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104270542B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05325039A (en) * | 1992-05-20 | 1993-12-10 | Nitsuko Corp | Pos device with monitor function |
CN1416620A (en) * | 2000-02-04 | 2003-05-07 | 摩托罗拉公司 | Method and appts. for control of modem transmit power |
CN103237140A (en) * | 2013-03-28 | 2013-08-07 | 福建联迪商用设备有限公司 | Method for solving problems for modem |
-
2014
- 2014-09-16 CN CN201410472129.2A patent/CN104270542B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05325039A (en) * | 1992-05-20 | 1993-12-10 | Nitsuko Corp | Pos device with monitor function |
CN1416620A (en) * | 2000-02-04 | 2003-05-07 | 摩托罗拉公司 | Method and appts. for control of modem transmit power |
CN103237140A (en) * | 2013-03-28 | 2013-08-07 | 福建联迪商用设备有限公司 | Method for solving problems for modem |
Also Published As
Publication number | Publication date |
---|---|
CN104270542B (en) | 2017-11-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101299867B (en) | Method, apparatus and system for detecting network cover | |
CN105550876A (en) | Mobile payment monitoring method and system and intelligent terminal | |
US10298453B2 (en) | Adaptive method and device based on FPGA RRU interface protocol | |
CN1917703B (en) | Method and device of network resorce management based on 3G | |
CN101335920A (en) | Rubbish short message recognition system and method based on calling number location and transmitted content | |
CN103079286A (en) | Method and device for intelligently disconnecting wifi (wireless fidelity) hot points | |
CN104469831B (en) | Fault detection method and device are shunk in the network coverage | |
CN106681581B (en) | Application icon arrangement method and device | |
CN105376785B (en) | Processing method, application processor and the mobile terminal of network communicating function exception | |
CN103517451B (en) | Device for achieving Bluetooth connecting request quick automatic sending and device for receiving connecting request | |
CN106685855A (en) | Data transmission method and data transmission device | |
CN102801866B (en) | Group-texting method of mobile terminal | |
CN104580695B (en) | Card missing recovery method for SIM (subscriber identity module) card | |
CN103857040A (en) | Device and method for configuration of quasi empty subframe, and wireless communication heterogeneous network | |
CN109981421A (en) | A kind of smart machine distribution method and apparatus | |
WO2015188529A1 (en) | Method and system for managing embedded monitoring device | |
CN109257094A (en) | A kind of the pre-add weight values obtaining value method and device of the transmitter that serially unstrings | |
CN102378212A (en) | Device and method for automatically testing compatibility of subscriber identity module (SIM) card | |
CN105517030B (en) | Network communicating function abnormal processing method, modem and mobile terminal | |
CN101123483A (en) | Detection method and device for service link | |
CN103825910A (en) | Method and device for acquiring internet authentication information | |
CN116436823B (en) | State monitoring method of intelligent network card and related equipment | |
CN104270542A (en) | Method and device for improving Modem communication reliability | |
CN103581953B (en) | A kind of method of wireless drive test data and monitoring signaling data association | |
CN106961529B (en) | Work order processing method and communication service equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |