CN109561194A - A kind of POS machine Dialing Method and device - Google Patents
A kind of POS machine Dialing Method and device Download PDFInfo
- Publication number
- CN109561194A CN109561194A CN201811607092.4A CN201811607092A CN109561194A CN 109561194 A CN109561194 A CN 109561194A CN 201811607092 A CN201811607092 A CN 201811607092A CN 109561194 A CN109561194 A CN 109561194A
- Authority
- CN
- China
- Prior art keywords
- dialing
- dtmf
- pulse
- parameter
- mode parameter
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/30—Devices which can set up and transmit only one digit at a time
- H04M1/50—Devices which can set up and transmit only one digit at a time by generating or selecting currents of predetermined frequencies or combinations of frequencies
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07G—REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
- G07G1/00—Cash registers
- G07G1/12—Cash registers electronically operated
- G07G1/14—Systems including one or more distant stations co-operating with a central processing unit
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of POS machine Dialing Method and devices, are related to network technique field, and method includes identification dialing mode parameter;According to the dialing mode parameter, dtmf dialing or pulse dialing are carried out;If the dialing mode parameter is not set, it then carries out dtmf dialing and/or pulse dialing is attempted, after connection, setting dialing mode parameter is corresponding dialing mode parameter, the present invention carries out POS machine dialing by setting dialing mode parameter, when dialing mode parameter is not set, it then carries out dtmf dialing and/or pulse dialing is attempted, after connection, setting dialing mode parameter is corresponding dialing mode parameter, so that user is not necessarily to manual setting dial mode, further, it is adaptive by dialing parameters, it is more user-friendly, improve dialing efficiency.
Description
Technical field
The present invention relates to network technique fields, more particularly, to a kind of POS machine Dialing Method and device.
Background technique
POS (point of sale) machine is a kind of multi-functional point of sales terminal, is generally deployed in each emporium, hotel, adds
The ground such as petrol station, savings point, and bank's background system is accessed by multiple communication modes.PSTN dial-up access is commonplace POS
The mode of machine access bank's back-end system.For the POS machine using PSTN route access banking system, including dtmf dialing
Different therefore applicable dial modes is different with the telephone-switching network environment of pulse dialing two ways, different user, for the first time
Dial mode is configured when use, for a user, the difficulty that dial mode is arranged is higher.
Further, since network condition is different, therefore applicable dialing parameters are different, if increasing use by user setting
Family uses threshold.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.For this purpose, of the invention
One purpose is to provide a kind of POS machine Dialing Method without user setting dial mode.
For this purpose, a second object of the present invention is to provide a kind of POS machine dialing that dial mode is arranged in a kind of wireless user
Device.
The technical scheme adopted by the invention is that:
Include the following steps: in a first aspect, the present invention provides one kind
Identify dialing mode parameter;
According to the dialing mode parameter, dtmf dialing or pulse dialing are carried out;
If the dialing mode parameter is not set, carries out dtmf dialing and/or pulse dialing is attempted, after connection, setting
Dialing mode parameter is corresponding dialing mode parameter.
Further, the dtmf dialing includes the following steps:
Dtmf signal duration parameters are obtained, are dialled according to the dtmf signal duration parameters;
If dialing is failed, the dtmf signal duration parameters are adjusted, are dialled again, until the number that dials
More than preset value, stop dialing;
If dial-up success, current dtmf signal duration parameters are saved.
Further, the step: if dialing is failed, adjusting the dtmf signal duration parameters, again into
Row dialing, until dialling, number further comprises the steps of: after stopping dialing by dialing number clearing more than preset value, and prompts to occur
Failure.
Further, the pulse dialing includes the following steps:
Pulse dialing duty cycle parameters are obtained, pulse dialing is carried out,;
If dialing is failed, the pulse dialing duty cycle parameters are adjusted, are dialled again, until dialing number is more than pre-
If value stops dialing;
If dial-up success, current PRF duty cycle dial parameter is saved.
Further, if the step dialing mode parameter is not set, dtmf dialing and/or pulse dialing are carried out
It attempts, after connection, setting dialing mode parameter is corresponding dialing mode parameter specifically:
It is dialled using dtmf dialing;
If the number that dials is less than preset value, it is corresponding to set dtmf dialing for the dialing mode parameter for dial-up
Parameter;
If the number that dials is greater than preset value still access failure, pulse dialing is used;
If the number that dials is less than preset value, it is corresponding to set pulse dialing for the dialing mode parameter for dial-up
Parameter;
If the number that dials is greater than preset value still access failure, prompt to break down.
Second aspect, the present invention provide a kind of POS machine dialing mechanism, comprising:
Dialing mode conditioning unit is attempted for carrying out dtmf dialing and/or pulse dialing, after connection, setting dialing mould
Formula parameter is corresponding dialing mode parameter;
Dtmf dialing device and/or pulse dialing device, the dtmf dialing device is for carrying out dtmf dialing, the arteries and veins
Dialing mechanism is rushed for carrying out pulse dialing.
Further, the dtmf dialing device includes DTMF parameter set unit, dtmf dialing counting unit and DTMF
Dialing unit, the DTMF parameter set unit is for adjusting dtmf dialing parameter, and the dtmf dialing counting unit is based on
Number dialing number, the dtmf dialing unit is for dialling.
Further, the pulse dialing device includes pulse parameter setting unit, pulse dialing counting unit and pulse
Dialing unit, the pulse parameter setting unit is for adjusting pulse dialing parameter, and the pulse dialing counting unit is based on
Number dialing number, the pulse dialing unit is for dialling.
The beneficial effects of the present invention are:
The present invention carries out POS dialing by setting dialing mode parameter and then carries out when dialing mode parameter is not set
Dtmf dialing and/or pulse dialing are attempted, and after connection, setting dialing mode parameter is corresponding dialing mode parameter, so that
User is not necessarily to manual setting dial mode, user-friendly.
Further, adaptive by dialing parameters, it is more user-friendly, improve dialing efficiency.
Detailed description of the invention
Fig. 1 is a kind of flow chart of one specific embodiment of POS machine Dialing Method in the present invention;
Fig. 2 is a kind of dtmf dialing flow chart of one specific embodiment of POS machine Dialing Method in the present invention;
Fig. 3 is a kind of pulse dialing flow chart of one specific embodiment of POS machine Dialing Method in the present invention;
Fig. 4 is a kind of structural principle block diagram of one specific embodiment of POS machine dialing mechanism in the present invention;
Fig. 5 is a kind of structural principle frame of dtmf dialing device in one specific embodiment of POS machine dialing mechanism in the present invention
Figure;
Fig. 6 is a kind of structural principle frame of pulse dialing mechanism in one specific embodiment of POS machine dialing mechanism in the present invention
Figure.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.
As shown in Figure 1, a kind of POS machine Dialing Method includes the following steps: in the present invention
S1 identifies dialing mode parameter;
S2 carries out dtmf dialing or pulse dialing according to the dialing mode parameter;
S3 carries out dtmf dialing and/or pulse dialing is attempted if the dialing mode parameter is not set, after connection, if
Setting dialing mode parameter is corresponding dialing mode parameter.
When each POS machine dialing, progress dtmf dialing or pulse dialing are automatically selected by reading dialing mode parameter;When
POS machine is linked into network for the first time, and when dialing mode identification parameter is not yet arranged, POS machine carries out dtmf dialing and/or pulse dialing
It attempts, after connection, setting dialing mode parameter is corresponding dialing mode parameter, and next time can be according to dialing mode when using
Parameter dial-in direct, no setting is required.
As shown in Fig. 2, Fig. 2 is dtmf dialing flow chart, dtmf dialing includes the following steps:
Step1 obtains dtmf signal duration parameters, is dialled according to the dtmf signal duration parameters;
Step2 adjusts the dtmf signal duration parameters, dials again if dialing is failed, until dialling
Number number is more than preset value, stops dialing;
Step3 saves current dtmf signal duration parameters if dial-up success;
Dialing number is reset, and prompts to break down by Step4.
Because line-hit or other reasons cause network condition unstable, the applicable DTMF of dialing believes every time
Number duration is not necessarily the same, in order to improve dialing efficiency, every time when dialing, when being continued using the dtmf signal of last time dialing
Between, when dialling unsuccessful, the adjusting dtmf signal duration attempts again, and when dialing number is more than preset value, end is dialled
Number, discharge bandwidth resources.
The number preset value that dials in the present embodiment is 3 times, and the dtmf signal duration is divided into and is set as 50ms, 100ms
And 250ms enters step Step4 when dialling unsuccessful three times, dialing number is reset, and prompt to break down.
As shown in figure 3, Fig. 2 is pulse dialing flow chart, pulse dialing includes the following steps:
Procedure1 obtains pulse dialing duty cycle parameters, carries out pulse dialing;
Procedure2 adjusts the pulse dialing duty cycle parameters, dials again if dialing is failed, until dialling
Number number is more than preset value, stops dialing;
Procedure3 saves current PRF duty cycle dial parameter if dial-up success.
In order to improve dialing efficiency, every time dialing when, using last time dial pulse dialing duty cycle parameters, when dialing not
It when success, adjusts pulse dialing duty cycle parameters and attempts again, when dialing number is more than preset value, end dialing discharges band
Wide resource.
The number preset value that dials in the present embodiment is 3 times, and pulse dialing duty cycle parameters, which are divided into, is set as 0,1 and 2, respectively
Representing pulses per second is 10, and duty ratio is 39%~61%, pulses per second 20, and duty ratio is 39%~61%, per second
Umber of pulse is 20, and duty ratio is 33%~67%, when pulse dialing duty ratio, which is respectively set to above-mentioned parameter, to be still not turned on,
Stop dialing, dialing number is reset.
In the present embodiment, when the dialing mode parameter is not set, carry out what dtmf dialing and/or pulse dialing were attempted
Specific step is as follows:
It is dialled using dtmf dialing;
If the number that dials is less than preset value, it is corresponding to set dtmf dialing for the dialing mode parameter for dial-up
Parameter;
If the number that dials is greater than preset value still access failure, pulse dialing is used;
If the number that dials is less than preset value, it is corresponding to set pulse dialing for the dialing mode parameter for dial-up
Parameter;
If the number that dials is greater than preset value still access failure, prompt to break down.
Dtmf dialing trial is carried out first, is put through and is successfully saved dtmf signal duration parameters afterwards and join dialing mode
Number is set as dtmf dialing and corresponds to parameter;
It when dtmf dialing attempts failed, is attempted using pulse dialing, pulse dialing duty cycle parameters is saved after putting through,
And pulse dialing is set by dialing mode parameter and corresponds to parameter;Specific dtmf dialing and pulse dialing step and above-mentioned one
It causes, repeats no more again.
As shown in figure 4, the invention also discloses a kind of POS machine dialing mechanisms, comprising:
Dialing mode conditioning unit is attempted for carrying out dtmf dialing and/or pulse dialing, after connection, setting dialing mould
Formula parameter is corresponding dialing mode parameter;
Dtmf dialing device and/or pulse dialing device, the dtmf dialing device is for carrying out dtmf dialing, the arteries and veins
Dialing mechanism is rushed for carrying out pulse dialing.
As shown in figure 5, specifically, dtmf dialing device include DTMF parameter set unit, dtmf dialing counting unit and
Dtmf dialing unit, the DTMF parameter set unit are used for adjusting dtmf dialing parameter, the dtmf dialing counting unit
In counting the number that dials, the dtmf dialing unit is for dialling.
As shown in fig. 6, specifically, pulse dialing device include pulse parameter setting unit, pulse dialing counting unit and
Pulse dialing unit, the pulse parameter setting unit are used for adjusting pulse dialing parameter, the pulse dialing counting unit
In counting the number that dials, the pulse dialing unit is for dialling.
It is to be illustrated to preferable implementation of the invention, but the invention is not limited to the implementation above
Example, those skilled in the art can also make various equivalent variations on the premise of without prejudice to spirit of the invention or replace
It changes, these equivalent deformations or replacement are all included in the scope defined by the claims of the present application.
Claims (8)
1. a kind of POS machine Dialing Method, which comprises the steps of:
Identify dialing mode parameter;
According to the dialing mode parameter, dtmf dialing or pulse dialing are carried out;
If the dialing mode parameter is not set, carries out dtmf dialing and/or pulse dialing is attempted, after connection, described in setting
Dialing mode parameter is corresponding dialing mode parameter.
2. a kind of POS machine Dialing Method according to claim 1, which is characterized in that the dtmf dialing includes following step
It is rapid:
Dtmf signal duration parameters are obtained, are dialled according to the dtmf signal duration parameters;
If dialing is failed, the dtmf signal duration parameters are adjusted, are dialled again, until dialing number is more than
Preset value stops dialing;
If dial-up success, current dtmf signal duration parameters are saved.
3. a kind of POS machine Dialing Method according to claim 2, which is characterized in that the step: if dialing is failed,
The dtmf signal duration parameters are adjusted, are dialled again, until dialing number is more than preset value, after stopping dialing
It further comprises the steps of: and resets dialing number, and prompt to break down.
4. a kind of POS machine Dialing Method according to claim 1, which is characterized in that the pulse dialing includes following step
It is rapid:
Pulse dialing duty cycle parameters are obtained, pulse dialing is carried out;
If dialing is failed, the pulse dialing duty cycle parameters are adjusted, are dialled again, until dialing number is more than default
Value stops dialing;
If dial-up success, current PRF duty cycle dial parameter is saved.
5. a kind of POS machine Dialing Method according to claim 1, which is characterized in that if the step dialing mode
Parameter is not set, then carries out dtmf dialing and/or pulse dialing is attempted, and after connection, setting dialing mode parameter is corresponding
Dialing mode parameter specifically:
It is dialled using dtmf dialing;
If the number that dials is less than preset value, dial-up sets dtmf dialing for the dialing mode parameter and corresponds to parameter;
If the number that dials is greater than preset value still access failure, pulse dialing is used;
If the number that dials is less than preset value, dial-up sets pulse dialing for the dialing mode parameter and corresponds to parameter;
If the number that dials is greater than preset value still access failure, prompt to break down.
6. a kind of POS machine dialing mechanism is suitable for a kind of POS machine Dialing Method described in any one of claim 1 to 5, special
Sign is, comprising:
Dialing mode conditioning unit is attempted for carrying out dtmf dialing and/or pulse dialing, and after connection, setting dialing mode is joined
Number is corresponding dialing mode parameter;
Dtmf dialing device and/or pulse dialing device, the dtmf dialing device are dialled for carrying out dtmf dialing, the pulse
Number device is for carrying out pulse dialing.
7. a kind of POS machine dialing mechanism according to claim 6, which is characterized in that the dtmf dialing device includes
DTMF parameter set unit, dtmf dialing counting unit and dtmf dialing unit, the DTMF parameter set unit is for adjusting
Dtmf dialing parameter, the dtmf dialing counting unit is for counting dialing number, and the dtmf dialing unit is for being dialled
Number.
8. a kind of POS machine dialing mechanism according to claim 6, which is characterized in that the pulse dialing device includes arteries and veins
Parameter set unit, pulse dialing counting unit and pulse dialing unit are rushed, the pulse parameter setting unit is for adjusting arteries and veins
Dialing parameters are rushed, the pulse dialing counting unit is for counting dialing number, and the pulse dialing unit is for dialling.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811607092.4A CN109561194B (en) | 2018-12-27 | 2018-12-27 | POS machine dialing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811607092.4A CN109561194B (en) | 2018-12-27 | 2018-12-27 | POS machine dialing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109561194A true CN109561194A (en) | 2019-04-02 |
CN109561194B CN109561194B (en) | 2021-08-06 |
Family
ID=65871534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811607092.4A Active CN109561194B (en) | 2018-12-27 | 2018-12-27 | POS machine dialing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109561194B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03132240A (en) * | 1989-10-18 | 1991-06-05 | Toshiba Corp | Telephone set |
US5369697A (en) * | 1993-04-30 | 1994-11-29 | Boston Technology, Inc. | Method and apparatus for automatically switching between pulse code and DTMF signals generated by a telephone |
CN2253549Y (en) * | 1995-04-06 | 1997-04-30 | 余新 | Dialing controller for power-free telephone imformation-giving |
CA2186794A1 (en) * | 1995-11-20 | 1997-05-21 | Lucent Technologies, Inc. | Automatic dialing mode selection |
WO1997021297A1 (en) * | 1994-10-05 | 1997-06-12 | Teleliaison Inc. | Telecommunication system and method enabling a user to get access to automated call processing from a central station operating on pulse dialling mode |
CN1209245A (en) * | 1995-12-22 | 1999-02-24 | 汤姆森消费电子有限公司 | Automatic subscriber callback system |
CN1228659A (en) * | 1998-03-05 | 1999-09-15 | 智合科技股份有限公司 | Telephone dial display device |
CN1325585A (en) * | 1998-08-28 | 2001-12-05 | 汤姆森许可公司 | Automatic detection of phone system for dial-up modem connections |
WO2009075664A1 (en) * | 2007-12-13 | 2009-06-18 | Thomson Licensing | Automatic switching of dialing modes in a telecommunications device |
CN101605357A (en) * | 2009-07-01 | 2009-12-16 | 杭州华三通信技术有限公司 | The method of Wireless Communication Equipment accessing public switched telephone network and Wireless Communication Equipment |
CN202121653U (en) * | 2011-06-24 | 2012-01-18 | 启碁科技股份有限公司 | Connection switching apparatus and telephone apparatus |
CN106910326A (en) * | 2015-12-22 | 2017-06-30 | 霍尼韦尔国际公司 | Warning device calibration method and system |
-
2018
- 2018-12-27 CN CN201811607092.4A patent/CN109561194B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03132240A (en) * | 1989-10-18 | 1991-06-05 | Toshiba Corp | Telephone set |
US5369697A (en) * | 1993-04-30 | 1994-11-29 | Boston Technology, Inc. | Method and apparatus for automatically switching between pulse code and DTMF signals generated by a telephone |
WO1997021297A1 (en) * | 1994-10-05 | 1997-06-12 | Teleliaison Inc. | Telecommunication system and method enabling a user to get access to automated call processing from a central station operating on pulse dialling mode |
CN2253549Y (en) * | 1995-04-06 | 1997-04-30 | 余新 | Dialing controller for power-free telephone imformation-giving |
CA2186794A1 (en) * | 1995-11-20 | 1997-05-21 | Lucent Technologies, Inc. | Automatic dialing mode selection |
CN1209245A (en) * | 1995-12-22 | 1999-02-24 | 汤姆森消费电子有限公司 | Automatic subscriber callback system |
CN1228659A (en) * | 1998-03-05 | 1999-09-15 | 智合科技股份有限公司 | Telephone dial display device |
CN1325585A (en) * | 1998-08-28 | 2001-12-05 | 汤姆森许可公司 | Automatic detection of phone system for dial-up modem connections |
WO2009075664A1 (en) * | 2007-12-13 | 2009-06-18 | Thomson Licensing | Automatic switching of dialing modes in a telecommunications device |
CN101605357A (en) * | 2009-07-01 | 2009-12-16 | 杭州华三通信技术有限公司 | The method of Wireless Communication Equipment accessing public switched telephone network and Wireless Communication Equipment |
CN202121653U (en) * | 2011-06-24 | 2012-01-18 | 启碁科技股份有限公司 | Connection switching apparatus and telephone apparatus |
CN106910326A (en) * | 2015-12-22 | 2017-06-30 | 霍尼韦尔国际公司 | Warning device calibration method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109561194B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108633106B (en) | Random access and indicating means, device after a kind of random access backoff | |
EP3188553B1 (en) | Network access method and mobile terminal | |
DE60034930T2 (en) | TIME-SLOTED REST MODE FOR PARTICIPANT STATIONS IN DOUBLE-UP MODE | |
CN105979573A (en) | Device and network of handling power saving | |
CN106454821A (en) | VSIM (virtual subscriber identity module) authentication method and apparatus | |
EP2190254A1 (en) | Private network communication terminal and method for realizing private network communication | |
CN102158930B (en) | Method and equipment for accessing MTC (Multimedia Telephone Communication) equipment | |
CN110392391A (en) | Cell falling-back method and terminal device | |
CN103139671B (en) | The method of data synchronization and optical line terminal of Ethernet passive optical network equipment | |
EP2521417B1 (en) | Method and device for counting resident time span ratio in dual network of dual mode single standby terminal user | |
CN104853409B (en) | A kind of method for network access and mobile communication terminal | |
CN109788576A (en) | Accidental access method, device and equipment | |
WO2016180226A1 (en) | Network searching method, apparatus and computer-readable storage medium | |
CN109286976A (en) | A kind of multi-frequency radio repeater automatic tracking method and equipment | |
CN109561194A (en) | A kind of POS machine Dialing Method and device | |
CN102014457B (en) | Mobile communication system, and automatic network-selecting method for mobile terminal | |
CN106454973A (en) | Method and device for switching AP (Access Point) in Wi-Fi network | |
CN100527627C (en) | PLL loop bandwidth switching circuit and method for wireless communication system | |
CN110719243B (en) | Adaptive demodulation method and device for linear frequency modulation signal | |
CN111741476B (en) | Automatic channel avoidance anti-interference transmission method | |
CN110362151B (en) | Image inter-frame frequency conversion method capable of self-adaptive adjustment and storage device | |
CN107508122A (en) | A kind of control method and device of MOPA lasers | |
CN103826214B (en) | Intelligent fee counting method and server | |
CN2300472Y (en) | Digital fully automatic submerged arc welding rectifier remote controller | |
CN107872841B (en) | GSM cell synchronization method and device under LTE + WCDMA dual-card LTE packet switching and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |