CN103237140B - Method for solving problems for modem - Google Patents
Method for solving problems for modem Download PDFInfo
- Publication number
- CN103237140B CN103237140B CN201310106574.2A CN201310106574A CN103237140B CN 103237140 B CN103237140 B CN 103237140B CN 201310106574 A CN201310106574 A CN 201310106574A CN 103237140 B CN103237140 B CN 103237140B
- Authority
- CN
- China
- Prior art keywords
- modem
- atn
- atk
- atf
- atr
- 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
Links
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method for solving problems for a modem. The method includes particular steps of (1), judging types of faults of the Modem when the faults occur in Modem communication so as to determine whether the faults are regional faults or national number faults or individual special faults; (2), selectively solving the faults by ATR, ATK, ATN or ATF mechanisms according to the types of the faults; (3), downloading instructions into system space in a patch file manner if the ATR or ATK mechanism is selected for solving the faults, storing manually inputted AT instructions in application program space if the ATN mechanism is selected for solving the faults, and executing 'Modem line repair' to generate repair instructions and storing the repair instructions in the system space if the ATF mechanism is selected for solving the faults; and (4), reading and executing the AT instructions in the ATR, ATK, ATN and ATF mechanisms before dialing of the Modem and then carrying out dialing communication. The method has the advantages that the various mechanisms are combined with one another in the resolution provided by the method, similar problems are classified and then are solved in a classified manner, workload for implementing the integral scheme is low, and the method can be implemented conveniently.
Description
Technical field
The present invention relates to fiber optic communication field, particularly propose a kind of method solving MODEM problem.
Background technology
Along with the carrying out of operator's fiber reforming, there is Modem dialing or data communication problem in a lot of POS originally normally worked at PSTN circuit, subject matter comprises:
1), circuit question, as lossy coding causes handshake to lose problem, impedance mismatch causes line signal quality problems, cancelling out echo causes failure problem etc. of shaking hands; Fig. 1 to Fig. 3 gives the recording of the Modem fault that several circuit question causes, and Fig. 1 is packet loss problem, and Fig. 2 is because impedance mismatch goes wrong, and Fig. 3 is then the problem that level causes.
2), net control device problem, cause particular number to go wrong, as answer tone problem; Fig. 4 just gives a problem caused due to answer tone.
3), the initialization matter of chip own; Fig. 5 gives the Modem dial-up issue recording that a chip initiation problem causes.
Modem communication is one of a kind of main communication mode in POS process of exchange, and Modem module is also one of important module of POS product.The main application scenarios of Modem communication is traditional public switched telephone network (PSTN), but along with the carrying out of operator's fiber reforming, increasing trade company needs to use Modem to carry out POS transaction under the non-PSTN environment such as VOIP environment.
Modem is used under non-PSTN environment; often there will be various dialing or data communication problem; these problems generally need to provide corresponding AT command string for each fault, are solved by some parameter such as answer tone detection time, transmission level, the impedance etc. of these AT command strings adjustment Modem.
Prior art needs the Modem for each trade company POS to dial and communication issue proposes corresponding solution, and during handling failure, want first artificially determine to be the Modem of certain model, determine to use the concrete AT of any bar to deal with problems with this, realize difficulty and workload is all larger.
Summary of the invention
The present invention proposes a kind of solution solving Modem problem, by designing four kinds of different AT Mechanism of command ATR, ATK, ATN, ATF, select different mechanism to carry out solution Modem fault for different situations, thus realize the object of Modem in POS proper communication under various circumstances.
The method of solution modem problem provided by the invention, for the POS that Modem dialing or data communication are broken down, before Modem initialization or dialing, according to fault category, selects to load corresponding AT command string for solving fault.
Further, described AT command string comprises ATR, ATK, ATN, ATF.
Further, described ATR, for solving the Modem dialing common problem in certain region, when Modem dial-up issue identical in a large number appears in certain region, can issue this service packs for this region, replace the AT command string of acquiescence in driving;
Described ATK proposes for solving special fault number, these fault numbers are generally arrange due to bank backstage NAC or cause due to the access switch of NAC, show as no matter when and where POS is dialing this fault number, all can produce dialing or data communication is abnormal and fault type consistent, comprise the known fault number in various places in this service packs and solve the corresponding A T order of this dial problem;
Described ATN is the AT order of being imported into for interface that it provides by bottom layer driving by application program, these AT are by manual input, deposit in application space, ATN both can be common AT instruction, also can be integrated AT instruction, an example of the relation of integrated AT instruction and common AT instruction is as shown in table 1, and integrated AT instruction realizes the compatibility to various chips AT instruction by " AT+ numeral ", use, remember very convenient;
Table 1
Described ATF repairs by " reparation of Modem circuit " program the AT command list (CLIST) obtained automatically, " reparation of Modem circuit " program attempts automatically selecting best AT parameter by the mode repeatedly dialled, choice criteria is as the criterion higher than 80% with success rate, this repairs result and is kept at system space, can as the special setting solving this POS Single Point of Faliure.
Further, the concrete steps of described method are as follows:
(1) during Modem communication broke down, judge Modem fault generic, belong to regional faults, nationwide number fault or monomer failure and special.
(2) solve according to fault category selection ATR, ATK, ATN or ATF.
(3) if select ATR or ATK to solve, then system space is downloaded to the form of patch file; If select ATN to solve, then the AT instruction manually inputted is stored in application space; If select ATF to solve, then perform " reparation of Modem circuit " and generate reparation instruction and be stored in system space;
(4) read before Modem dialing and perform the AT instruction in ATR, ATK, ATN and ATF, then carrying out dialcom.
The detailed execution step of above-mentioned steps (4) is:
(1) Modem initial phase, if there is ATR order, then replaces the initialization command of acquiescence in driving with ATR order;
(2) if do not have ATR order and dial mode is V22FC, then ATK order is performed;
(3) the ATN order of then manual input in executive utility;
(4) the ATF order of " reparation of Modem circuit " Program Generating is finally performed;
After executing mentioned order, Modem starts dialing, data communication.
Further, ATR performs at Modem initial phase, and ATK, ATN, ATF performed before dialing.The order performed below likely can cover order above, therefore the priority orders of ATK, ATN, ATF is ATF>ATN>ATK, can select concrete settlement mechanism according to Modem fault type and priority orders.
Accompanying drawing explanation
Describe exemplary embodiment of the present invention in more detail by referring to accompanying drawing, above and other aspect of the present invention and advantage will become and more be readily clear of, in the accompanying drawings:
Fig. 1: the packet loss problem schematic diagram in circuit question of the prior art;
Fig. 2: to go wrong schematic diagram due to impedance mismatch in circuit question of the prior art;
Fig. 3: the problem schematic diagram that the level in circuit question of the prior art causes;
Fig. 4: net control device problem schematic diagram of the prior art;
Fig. 5: the initialization matter schematic diagram of chip of the prior art own;
Fig. 6: performing step flow chart of the present invention.
Fig. 7: Modem dialing process figure in the present invention.
Embodiment
Hereinafter, more fully the present invention is described now with reference to accompanying drawing, various embodiment shown in the drawings.But the present invention can implement in many different forms, and should not be interpreted as being confined to embodiment set forth herein.On the contrary, provide these embodiments to make the disclosure will be thoroughly with completely, and scope of the present invention is conveyed to those skilled in the art fully.
Hereinafter, with reference to the accompanying drawings exemplary embodiment of the present invention is described in more detail.
The present invention is directed to the POS that Modem dials or data communication is broken down, before Modem initialization or dialing, according to fault category, selecting to load corresponding AT command string for solving fault, simplifying the solution process of Modem fault, the efficiency of raising Resolving probiems.
The present invention proposes Modem dialing and the communication issue that four kinds of mechanism solve POS, comprises ATR, ATK, ATN, ATF.
ATR is for solving the Modem dialing common problem in certain region.When Modem dial-up issue identical in a large number appears in certain region, this service packs can be issued for this region, replace the AT command string of acquiescence in driving.
ATK proposes for solving special fault number, these fault numbers are generally arrange due to bank backstage NAC or cause due to the access switch of NAC, show as no matter POS and when and where dialing this fault number, all can produce dialing or data communication is abnormal and fault type is consistent.The corresponding A T order of the known fault number in various places and this dial problem of solution is comprised in this service packs.
ATN is the AT order of being imported into for interface that it provides by bottom layer driving by application program.These AT, by manual input, deposit in application space; ATN both can be common AT instruction, also can be integrated AT instruction, an example of the relation of integrated AT instruction and common AT instruction is as shown in table 1, and integrated AT instruction realizes the compatibility to various chips AT instruction by " AT+ numeral ", use, remember very convenient;
Table 1
ATF repairs by " reparation of Modem circuit " program the AT command list (CLIST) obtained automatically." reparation of Modem circuit " program attempts automatically selecting best AT parameter by the mode repeatedly dialled, and choice criteria is as the criterion higher than 80% with success rate.This repairs result and is kept at system space, can as the special setting solving this POS Single Point of Faliure.
According to the type of Modem fault, select one or more of above four kinds of settlement mechanisms, solve Modem fault easily and efficiently.
The realization flow of this programme as shown in Figure 6.
(1) during Modem communication broke down, judge Modem fault generic, belong to regional faults, nationwide number fault or monomer failure and special;
(2) solve according to fault category selection ATR, ATK, ATN or ATF;
(3) if select ATR or ATK to solve, then system space is downloaded to the form of patch file; If select ATN to solve, then the AT instruction manually inputted is stored in application space; If select ATF to solve, then perform " reparation of Modem circuit " and generate reparation instruction and be stored in system space;
(4) read before Modem dialing and perform the AT instruction in ATR, ATK, ATN and ATF, then carrying out dialcom.
The detailed execution step of above-mentioned steps (4) as shown in Figure 7.
(1) Modem initial phase, if there is ATR order, then replaces the initialization command of acquiescence in driving with ATR order;
(2) if do not have ATR order and dial mode is V22FC, then ATK order is performed;
(3) the ATN order of then manual input in executive utility;
(4) the ATF order of " reparation of Modem circuit " Program Generating is finally performed; After executing mentioned order, Modem starts dialing, data communication.ATR performs at Modem initial phase, and ATK, ATN, ATF performed before dialing.The order performed below likely can cover order above, therefore the priority orders of ATK, ATN, ATF is ATF>ATN>ATK, can select concrete settlement mechanism according to Modem fault type and priority orders.
The present invention proposes a kind of convenient, effective mechanism, and sort out the Modem dialing of some general character and data communication problem, for different situations, classification solves; For indivedual special circumstances, also provide corresponding convenient settlement mechanism; Number of mechanisms combines, and solves Modem dialing and the communication issue of POS.By the solution that the present invention proposes, the different classes of Modem dialing in various places and communication issue effectively can be solved.Overall plan to realize workload little, it is convenient to realize.
This programme carries out analogue test in POS, and can solve the Modem communication issue of most of POS, I takes charge of in POS and am used widely now, is worthy to be popularized.
The foregoing is only embodiments of the invention, be not limited to the present invention.The present invention can have various suitable change and change.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. solve a method for modem problem, it is characterized in that:
For the POS that Modem dialing or data communication are broken down, before Modem initialization or dialing, according to fault category, select to load corresponding AT command string for solving fault;
Described AT command string comprises ATR, ATK, ATN, ATF;
Described ATR, for solving the Modem dialing common problem in certain region, when Modem dial-up issue identical in a large number appears in certain region, can issue this service packs for this region, replace the AT command string of acquiescence in driving;
Described ATK proposes for solving special fault number, these fault numbers are generally arrange due to bank backstage NAC or cause due to the access switch of NAC, show as no matter when and where POS is dialing this fault number, all can produce dialing or data communication is abnormal and fault type consistent, comprise the known fault number in various places in this service packs and solve the corresponding A T order of this dial problem;
Described ATN is the AT order of being imported into for interface that it provides by bottom layer driving by application program, and these AT, by manual input, deposit in application space;
Described ATF repairs by " reparation of Modem circuit " program the AT command list (CLIST) obtained automatically, " reparation of Modem circuit " program attempts automatically selecting best AT parameter by the mode repeatedly dialled, choice criteria is as the criterion higher than 80% with success rate, this repairs result and is kept at system space, can as the special setting solving this POS Single Point of Faliure.
2. the method solving modem problem as claimed in claim 1, is characterized in that:
The concrete steps of described method are as follows:
(1) during Modem communication broke down, judge Modem fault generic, belong to regional faults, nationwide number fault or monomer failure and special;
(2) solve according to fault category selection ATR, ATK, ATN or ATF;
(3) if select ATR or ATK to solve, then system space is downloaded to the form of patch file; If select ATN to solve, then the AT instruction manually inputted is stored in application space; If select ATF to solve, then perform " reparation of Modem circuit " and generate reparation instruction and be stored in system space;
(4) read before Modem dialing and perform the AT instruction in ATR, ATK, ATN and ATF, then carrying out dialcom.
3. the method solving modem problem as claimed in claim 2, is characterized in that:
The detailed execution step of above-mentioned steps (4) is:
(1) Modem initial phase, if there is ATR order, then replaces the initialization command of acquiescence in driving with ATR order;
(2) if do not have ATR order and dial mode is V22FC, then ATK order is performed;
(3) the ATN order of then manual input in executive utility;
(4) the ATF order of " reparation of Modem circuit " Program Generating is finally performed;
After executing mentioned order, Modem starts dialing, data communication.
4. the method solving modem problem as claimed in claim 3, is characterized in that:
ATR performs at Modem initial phase, ATK, ATN, ATF performed before dialing, the order performed below likely can cover order above, therefore the priority orders of ATK, ATN, ATF is ATF>ATN>ATK, can select concrete settlement mechanism according to Modem fault type and priority orders.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310106574.2A CN103237140B (en) | 2013-03-28 | 2013-03-28 | Method for solving problems for modem |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310106574.2A CN103237140B (en) | 2013-03-28 | 2013-03-28 | Method for solving problems for modem |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103237140A CN103237140A (en) | 2013-08-07 |
CN103237140B true CN103237140B (en) | 2015-03-11 |
Family
ID=48885155
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310106574.2A Active CN103237140B (en) | 2013-03-28 | 2013-03-28 | Method for solving problems for modem |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103237140B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270542B (en) * | 2014-09-16 | 2017-11-03 | 深圳市易联技术有限公司 | A kind of method and device of raising Modem communication reliabilities |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1329432A (en) * | 2000-06-09 | 2002-01-02 | 阿尔卡塔尔公司 | Detection of incoming call for starting modem of special-purpose small exchanger |
WO2002031671A2 (en) * | 2000-10-13 | 2002-04-18 | Palm, Inc. | Communication between a computer and a modem |
TW200528996A (en) * | 2003-08-26 | 2005-09-01 | Siemens Ag | Method for transferring text messages in text mode |
CN101145970A (en) * | 2007-10-11 | 2008-03-19 | 中兴通讯股份有限公司 | System and method for online location of communication system device failures |
CN102271155A (en) * | 2011-07-19 | 2011-12-07 | 中兴通讯股份有限公司 | Equipment and method for remotely operating same |
-
2013
- 2013-03-28 CN CN201310106574.2A patent/CN103237140B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1329432A (en) * | 2000-06-09 | 2002-01-02 | 阿尔卡塔尔公司 | Detection of incoming call for starting modem of special-purpose small exchanger |
WO2002031671A2 (en) * | 2000-10-13 | 2002-04-18 | Palm, Inc. | Communication between a computer and a modem |
TW200528996A (en) * | 2003-08-26 | 2005-09-01 | Siemens Ag | Method for transferring text messages in text mode |
CN101145970A (en) * | 2007-10-11 | 2008-03-19 | 中兴通讯股份有限公司 | System and method for online location of communication system device failures |
CN102271155A (en) * | 2011-07-19 | 2011-12-07 | 中兴通讯股份有限公司 | Equipment and method for remotely operating same |
Non-Patent Citations (1)
Title |
---|
AT command set for User Equipment (UE);3GPP;《3GPP TS 27.007 version 11.6.0 Release 11》;20130315;第10-28页,第92-196页,第278-281页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103237140A (en) | 2013-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7672295B1 (en) | Method and system for design for run-time control of voice XML applications | |
CA2845059C (en) | Test script generation system | |
US20050100137A1 (en) | Utilities module for proactive maintenance application | |
CN105159718B (en) | Firmware upgrade method and device | |
CN101998472A (en) | Complaint pre-treatment method as well as complaint treatment method, device and system | |
CN102306122A (en) | Automated testing method and equipment | |
CN112463211A (en) | System architecture transformation method compatible with multiple development architectures and system architecture | |
CN109871309A (en) | A kind of charge system test cases generation method and system | |
CN109766280A (en) | Method for testing software and software test platform | |
CN101631262A (en) | VoiceXML business integrated development system and realizing method thereof | |
Choung et al. | The co-evolution of technology and institution in the Korean information and communications industry | |
CN105487970A (en) | Interface display method and apparatus | |
CN110262975A (en) | Test data management method, device, equipment and computer readable storage medium | |
CN103237140B (en) | Method for solving problems for modem | |
CN114328256A (en) | Test method, test device, computer-readable storage medium and electronic equipment | |
CN102137179A (en) | Method and terminal for arranging address book information | |
CN101160617B (en) | Auto-recognition method, system and device for speeches in a limited scope | |
CN109815635B (en) | Boiler MFT automatic design system and method | |
CN107133040A (en) | A kind of standardized product service apparatus and business module extend method of replacing | |
CN104578418B (en) | Configuration method and system of automatic power distribution equipment based on 101 protocols, and equipment | |
CN110334513A (en) | A kind of restorative procedure based on (SuSE) Linux OS loophole | |
CN109639918A (en) | Softphone communication means, device, equipment and computer readable storage medium | |
CN100421394C (en) | Automatic testing device and method for user interface | |
CN112485483A (en) | Relay protection test state sequence generation method and platform | |
Felling | Solving the bi-level problem of a closed optimization of electricity price zone configurations using a genetic algorithm |
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 |