CN104270542B - A kind of method and device of raising Modem communication reliabilities - Google Patents

A kind of method and device of raising Modem communication reliabilities Download PDF

Info

Publication number
CN104270542B
CN104270542B CN201410472129.2A CN201410472129A CN104270542B CN 104270542 B CN104270542 B CN 104270542B CN 201410472129 A CN201410472129 A CN 201410472129A CN 104270542 B CN104270542 B CN 104270542B
Authority
CN
China
Prior art keywords
transmission level
automatically
state information
modem
value
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.)
Active
Application number
CN201410472129.2A
Other languages
Chinese (zh)
Other versions
CN104270542A (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.)
SHENZHEN YILIAN TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN YILIAN TECHNOLOGY 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 SHENZHEN YILIAN TECHNOLOGY Co Ltd filed Critical SHENZHEN YILIAN TECHNOLOGY Co Ltd
Priority to CN201410472129.2A priority Critical patent/CN104270542B/en
Publication of CN104270542A publication Critical patent/CN104270542A/en
Application granted granted Critical
Publication of CN104270542B publication Critical patent/CN104270542B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a kind of method and device of raising Modem communication reliabilities, this method includes:Modem detects its Carrier State information in process of data communication;When detecting abnormal Carrier State information, on-hook;Judge whether the abnormal Carrier State information meets the default trigger condition for automatically adjusting transmission level;When judged result shows that the abnormal Carrier State information meets the default trigger condition for automatically adjusting transmission level, execution automatically adjusts transmission level event;Normal dialing flow is performed after execution automatically adjusts transmission level event.The method of the invention is automatically adjusted by software in the case of communication abnormality to Modem parameters, adaptive to solve, due to the problem of loss of carrier, improving Modem communication reliabilities caused by circuit, interchanger etc., to reduce the loss of manpower and materials.It the composite can be widely applied to modem communication reliability engineering field.

Description

A kind of method and device of raising Modem communication reliabilities
Technical field
The present invention relates to modem technology, a kind of raising Modem communication reliabilities are specifically related to Method and device.
Background technology
POS(point of sale:Point-of-sale terminal) it is a kind of multi-functional terminal end, it is arranged on the contributing business of bank card Family and accept in site and to be unified into network with computer, can be achieved with electronic funds automatic account transfer, it, which has, supports consumption, pre-granted The functions such as power, inquiry into balance and account transfer.
POS sends Transaction Information by connecting NAC net control devices by interchanger after dialing, and NAC processing Transaction Information is simultaneously Backstage is issued in message form, backstage receives message and result is issued into NAC (Network Access after handling Controller:Net control device), it is sent to POS after being handled through NAC.
POS points of wired and wireless terminals, catv terminal completes to merchandise using NET or telephone network with Background communication, wherein Modem is used using the POS terminal of telephone network(Modem), there is following circuit question in mechanics of communication:(1)POS is whole The signal that end is sent passes through telecommunication line, sometimes becomes the very serious of decay, opposite end NAC net control devices can not be recognized normally, or Person amplifies excessive and cuts top distortion by circuit.NAC net control devices can not receive suitable signal and disconnect the load that carrier wave causes end side Ripple is lost;(2)When telecommunication line is optical fiber, optical fiber Modem opens the function of echo cancellor, when transmission level and receives When signal difference is very big, the signal of a side is easy to be eliminated, and causes loss of carrier.
Prior art needs to be adjusted for the Modem Communications that different trade companies, different circuits, different backstages occur Examination, provides solution, it is necessary to which technical staff's on-site support, expends substantial amounts of manpower and materials.
The content of the invention
In order to solve the above-mentioned technical problem, the first object of the present invention is to provide a kind of raising Modem communication reliabilities Method.
The second object of the present invention is to provide a kind of device of raising Modem communication reliabilities.
First technical scheme of the present invention is:A kind of method of raising Modem communication reliabilities, this method bag Include:
Modem detects its Carrier State information in process of data communication;When detecting abnormal Carrier State information, hang Machine;
Judge whether the abnormal Carrier State information meets the default trigger condition for automatically adjusting transmission level;
When judged result shows that the abnormal Carrier State information meets the default triggering for automatically adjusting transmission level Condition, execution automatically adjusts transmission level event;
Normal dialing flow is performed after execution automatically adjusts transmission level event.
It is preferred that, it is described to automatically adjust transmission level event, including sub-step:
S21, judge whether to automatically adjust file, the file that automatically adjusts is used to preserve pre- transmission level value order With transmission level pointer P;If being not present, into step S22, enter step S23 if existing;
S22, establishment automatically adjust file, and pre- transmission level value is stored in order and automatically adjusted in file, transmission level Pointer P is set to 0, and first pre- transmission level value is write into temporary variable, into step S24;
The content in file is automatically adjusted described in S23, reading;The transmission level pointer P is read, if value is not in scope Or point to last level value, then P=0, otherwise P add 1, take transmission level pointer P to point to level value write-in temporary variable;
S24, the parameter for the level for being assigned to set data to send in Modem by the value of temporary variable send corresponding electricity to serial ports Level values.
It is preferred that, there is loss of carrier or 20 transaction to be double in the trigger condition for automatically adjusting transmission level The middle probability for loss of carrier occur reaches more than 30%.
Second technical scheme of the present invention is:A kind of device of raising Modem communication reliabilities, the device bag Include:
Carrier State information detecting module:Its Carrier State information is detected in process of data communication for Modem;Detection During to abnormal Carrier State information, on-hook;
Trigger condition judge module:For judging whether the abnormal Carrier State information meets default automatically adjust The trigger condition of transmission level;
Automatically adjust transmission level performing module:For showing the abnormal Carrier State information symbol when judged result The default trigger condition for automatically adjusting transmission level is closed, execution automatically adjusts transmission level event;
Dial module:For performing normal dialing flow after execution automatically adjusts transmission level event.
It is preferred that, it is described to automatically adjust transmission level event, including:
Judge module, for judging whether to automatically adjust file, the file that automatically adjusts is used to preserve pre- transmission Level value order and transmission level pointer P;If being not present, creation module is performed;If in the presence of execution level value regulation mould Block;
Creation module, automatically adjusts file for creating, pre- transmission level value is stored in order and automatically adjusted in file, Transmission level pointer P is set to 0, and first pre- transmission level value is write into temporary variable, assignment module is performed;
Level value adjustment module, for reading the content automatically adjusted in file;Transmission level pointer P is read, if value Not in scope or last level value is pointed to, then P=0, otherwise P adds 1, take transmission level pointer P to point to level value write-in and face Variations per hour;
Assignment module, for the parameter of level that is assigned to set data to send in Modem by the value of temporary variable to serial ports Send corresponding level value.
It is preferred that, there is loss of carrier or 20 friendships to be double in the trigger condition for automatically adjusting transmission level The probability for loss of carrier occur in easily reaches more than 30%.
The present invention the first beneficial effect be:
The present invention is automatically adjusted by software in the case of communication abnormality to Modem parameters, is adaptively solved due to line The problem of the problems such as road, interchanger caused loss of carrier, Modem communication reliabilities are improved, reduce the loss of manpower and materials.
The present invention the second beneficial effect be:
A kind of device of raising Modem communication reliabilities of the present invention, the problems such as adaptively solving due to circuit, interchanger The problem of caused loss of carrier.
Brief description of the drawings
The embodiment to the present invention is described further below in conjunction with the accompanying drawings:
Fig. 1 is a kind of schematic flow sheet of the method for raising Modem communication reliabilities of the present invention;
Fig. 2 is to automatically adjust the embodiment schematic flow sheet of transmission level event in the method for the invention;
Fig. 3 is a kind of apparatus structure block diagram of raising Modem communication reliabilities of the present invention.
Embodiment
The principle and feature of invention are described below in conjunction with accompanying drawing, example is served only for explaining invention, not uses In restriction the scope of the present invention.
Fig. 1 is a kind of schematic flow sheet of the method for raising Modem communication reliabilities of the present invention, as shown in figure 1, this method Including:Modem detects its Carrier State information in process of data communication;When detecting abnormal Carrier State information, on-hook; Judge whether the abnormal Carrier State information meets the default trigger condition for automatically adjusting transmission level, in the present embodiment In preset and automatically adjust the trigger condition of transmission level and occur carrying in loss of carrier or 20 transaction to be double The probability that ripple is lost reaches more than 30%;When judged result shows that the abnormal Carrier State information meets default automatic tune The trigger condition of transmission level is saved, execution automatically adjusts transmission level event;Held after execution automatically adjusts transmission level event Row normal dialing flow.
Fig. 2 is automatically adjusts the embodiment schematic flow sheet of transmission level event in the method for the invention, such as Fig. 2 institutes Show, transmission level event package enclosed tool step is automatically adjusted in the present embodiment:
S21, judge whether to automatically adjust(autoadjust)File, the file that automatically adjusts is used to preserve pre- hair Power transmission level values order and transmission level pointer P;If being not present, into step S22, enter step S23 if existing;
S22, establishment automatically adjust file, and pre- transmission level value is stored in order and automatically adjusted in file, transmission level Pointer P is set to 0, and first pre- transmission level value is write into temporary variable temp, into step S24;
The content in file is automatically adjusted described in S23, reading;The transmission level pointer P is read, if value is not in scope Or point to last level value, then P=0, otherwise P add 1, take transmission level pointer P to point to level value write-in temporary variable temp;
S24, the parameter ATS91 for the level for being assigned to the value of temporary variable to set data to send in Modem are used as and send electricity Level values, corresponding level value is sent to serial ports.
The invention also discloses a kind of device of raising Modem communication reliabilities, Fig. 3 improves Modem for the present invention is a kind of The apparatus structure block diagram of communication reliability, as shown in figure 3, the device includes:The device includes:
Carrier State information detecting module:Its Carrier State information is detected in process of data communication for Modem;Detection During to abnormal Carrier State information, on-hook;
Trigger condition judge module:For judging whether the abnormal Carrier State information meets default automatically adjust The trigger condition of transmission level;The trigger condition of transmission level is automatically adjusted in the present embodiment to occur carrier wave to be double and lose The probability for losing or loss of carrier occur in merchandising for 20 times reaches more than 30%.
Automatically adjust transmission level performing module:For showing the abnormal Carrier State information symbol when judged result The default trigger condition for automatically adjusting transmission level is closed, execution automatically adjusts transmission level event;
Dial module:For performing normal dialing flow after execution automatically adjusts transmission level event.
It is described in the present embodiment to automatically adjust transmission level event, including:
Judge module, for judging whether to automatically adjust file, the file that automatically adjusts is used to preserve pre- transmission Level value order and transmission level pointer P;If being not present, creation module is performed;If in the presence of execution level value regulation mould Block;
Creation module, automatically adjusts file for creating, pre- transmission level value is stored in order and automatically adjusted in file, Transmission level pointer P is set to 0, and first pre- transmission level value is write into temporary variable, assignment module is performed;
Level value adjustment module, for reading the content automatically adjusted in file;Transmission level pointer P is read, if value Not in scope or last level value is pointed to, then P=0, otherwise P adds 1, take transmission level pointer P to point to level value write-in and face Variations per hour;
Assignment module, for the parameter of level that is assigned to set data to send in Modem by the value of temporary variable to serial ports Send corresponding level value.
The mechanism that transmission level uses file, autoadjust files are automatically adjusted in the specific embodiment of the invention The pointer P of the level value of transmission level value order and current setting is preserved, if triggering, then this pointer P adds one, meeting simultaneously S91 registers, that is, the level for setting Modem data to send are set according to the corresponding value of the pointer.
Above is the preferable implementation to the present invention is illustrated, but the invention is not limited to embodiment, ripe A variety of equivalent variations or replacement can also be made on the premise of without prejudice to spirit of the invention by knowing those skilled in the art, this Equivalent deformation or replacement are all contained in the application claim limited range a bit.

Claims (4)

1. a kind of method of raising Modem communication reliabilities, it is characterised in that:This method includes:
Modem detects its Carrier State information in process of data communication;When detecting abnormal Carrier State information, on-hook;
Judge whether the abnormal Carrier State information meets the default trigger condition for automatically adjusting transmission level;
When judged result shows that the abnormal Carrier State information meets the default trigger condition for automatically adjusting transmission level, Execution automatically adjusts transmission level event;
Normal dialing flow is performed after execution automatically adjusts transmission level event;
It is described to automatically adjust transmission level event, including sub-step:
S21, judge whether to automatically adjust file, the file that automatically adjusts is used to preserve pre- transmission level value order and hair The flat pointer P of power transmission;If being not present, into step S22, enter step S23 if existing;
S22, establishment automatically adjust file, and pre- transmission level value is stored in order and automatically adjusted in file, transmission level pointer P Set to 0, first pre- transmission level value is write into temporary variable, into step S24;
The content in file is automatically adjusted described in S23, reading;Read the transmission level pointer P, if value not in scope or Last level value is pointed to, then P=0, otherwise P adds 1, take transmission level pointer P to point to level value write-in temporary variable;
S24, the parameter for the level for being assigned to set data to send in Modem by the value of temporary variable send corresponding level to serial ports Value.
2. a kind of method of raising Modem communication reliabilities according to claim 1, it is characterised in that:The automatic tune The trigger condition of section transmission level reaches for the double probability for occurring loss of carrier occur in loss of carrier or 20 transaction More than 30%.
3. a kind of device of raising Modem communication reliabilities, it is characterised in that:The device includes:
Carrier State information detecting module:Its Carrier State information is detected in process of data communication for Modem;Detect different During normal Carrier State information, on-hook;
Trigger condition judge module:Default transmission is automatically adjusted for judging whether the abnormal Carrier State information meets The trigger condition of level;
Automatically adjust transmission level performing module:For showing that the abnormal Carrier State information meets default when judged result The trigger condition for automatically adjusting transmission level, execution automatically adjust transmission level event;
Dial module:For performing normal dialing flow after execution automatically adjusts transmission level event;
It is described to automatically adjust transmission level event, including:
Judge module, for judging whether to automatically adjust file, the file that automatically adjusts is used to preserve pre- transmission level Value order and transmission level pointer P;If being not present, creation module is performed;If in the presence of execution level value adjustment module;
Creation module, automatically adjusts file for creating, pre- transmission level value is stored in order and automatically adjusted in file, sends Level pointer P is set to 0, and first pre- transmission level value is write into temporary variable, assignment module is performed;
Level value adjustment module, for reading the content automatically adjusted in file;Transmission level pointer P is read, if value does not exist Scope points to last level value, then P=0, and otherwise P adds 1, takes transmission level pointer P to point to level value write-in interim Variable;
Assignment module, the parameter of the level for the value of temporary variable to be assigned to set data to send in Modem is sent to serial ports Corresponding level value.
4. a kind of device of raising Modem communication reliabilities according to claim 3, it is characterised in that:The automatic tune The trigger condition of section transmission level reaches for the double probability for occurring loss of carrier occur in loss of carrier or 20 transaction To more than 30%.
CN201410472129.2A 2014-09-16 2014-09-16 A kind of method and device of raising Modem communication reliabilities Active CN104270542B (en)

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 CN104270542A (en) 2015-01-07
CN104270542B true 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)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05325039A (en) * 1992-05-20 1993-12-10 Nitsuko Corp Pos device with monitor function
US7085316B1 (en) * 2000-02-04 2006-08-01 General Electric Co. Method and apparatus for the control of modem transmit power
CN103237140B (en) * 2013-03-28 2015-03-11 福建联迪商用设备有限公司 Method for solving problems for modem

Also Published As

Publication number Publication date
CN104270542A (en) 2015-01-07

Similar Documents

Publication Publication Date Title
CN104216761B (en) It is a kind of that the method for sharing equipment is used in the device that can run two kinds of operating system
CN101335920A (en) Rubbish short message recognition system and method based on calling number location and transmitted content
CN102801866B (en) Group-texting method of mobile terminal
CN104917796A (en) Credit account creating method, system and method
CN105573711A (en) Data caching methods and apparatuses
CN103647619A (en) A transmission and reception method for an electric power terminal to change the length of a data frame and an apparatus
CN104270542B (en) A kind of method and device of raising Modem communication reliabilities
CN102387255B (en) Method and device for utilizing intelligent card to process third-party expanded service data
CN106375064A (en) Password keyboard USB communication anomaly recovery method and system
CN104270496B (en) The method and device of display of calling side's information
CN107608711A (en) Upgrade method, device, system and electronic equipment
CN110673965A (en) Method and device for capturing second-killing commodities
CN111311250A (en) Method, device and system for supporting off-line and on-line payment
CN100342745C (en) Processing method for calling conversion display state of mobile communication terminal
CN105592032A (en) Internet-based security information interaction method
CN104660834A (en) Junk call protection method and device
CN101277503B (en) Method for supporting WiMAX system test of analog baseband
CN101437180A (en) POS access equipment and off-hook method thereof
CN104657898A (en) Method and device for processing transaction through internet transit system
CN104065543A (en) Network card drive design method based on data transmission management
CN215990831U (en) Safety isolation device supporting PCI-E wireless network card
CN203909840U (en) Automatic network sale system
CN109271152A (en) A kind of method of calibration, device, storage medium and the terminal of input frame content
CN114785610B (en) Data security transmission system based on cloud computing
CN210324216U (en) Information management system based on two-dimensional code

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