CN109561194B - POS machine dialing method and device - Google Patents

POS machine dialing method and device Download PDF

Info

Publication number
CN109561194B
CN109561194B CN201811607092.4A CN201811607092A CN109561194B CN 109561194 B CN109561194 B CN 109561194B CN 201811607092 A CN201811607092 A CN 201811607092A CN 109561194 B CN109561194 B CN 109561194B
Authority
CN
China
Prior art keywords
dialing
dtmf
pulse
parameter
mode
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
CN201811607092.4A
Other languages
Chinese (zh)
Other versions
CN109561194A (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 Xinguodu Tech Co Ltd
Original Assignee
Shenzhen Xinguodu Tech 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 Xinguodu Tech Co Ltd filed Critical Shenzhen Xinguodu Tech Co Ltd
Priority to CN201811607092.4A priority Critical patent/CN109561194B/en
Publication of CN109561194A publication Critical patent/CN109561194A/en
Application granted granted Critical
Publication of CN109561194B publication Critical patent/CN109561194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/30Devices which can set up and transmit only one digit at a time
    • H04M1/50Devices which can set up and transmit only one digit at a time by generating or selecting currents of predetermined frequencies or combinations of frequencies
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07GREGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS
    • G07G1/00Cash registers
    • G07G1/12Cash registers electronically operated
    • G07G1/14Systems 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 POS machine dialing method and a device, which relate to the technical field of networks, wherein the method comprises the steps of identifying dialing mode parameters; according to the dialing mode parameters, carrying out DTMF dialing or pulse dialing; if the dialing mode parameter is not set, DTMF dialing and/or pulse dialing attempt is carried out, after the dialing mode parameter is connected, the dialing mode parameter is set to be the corresponding dialing mode parameter.

Description

POS machine dialing method and device
Technical Field
The invention relates to the technical field of networks, in particular to a dialing method and device of a POS machine.
Background
A point of sale (pos) machine is a multifunctional point of sale terminal, which is generally deployed in various shopping malls, hotels, gas stations, deposit points, and the like, and is accessed to a bank background system through various communication modes. PSTN dial-up access is a more common way for POS to access bank backend systems. For a POS machine which accesses a bank system by using a PSTN line, the POS machine comprises a DTMF dialing mode and a pulse dialing mode, and telephone switching network environments of different users are different, so that the applicable dialing modes are different, the dialing mode needs to be set during initial use, and the difficulty of setting the dialing mode is higher for the users.
In addition, since the network conditions are different, the applicable dialing parameters are different, and if the dialing parameters are set by the user, the use threshold of the user is increased.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, the invention aims to provide a POS machine dialing method without setting a dialing mode by a user.
Therefore, the second purpose of the invention is to provide a POS machine dialing device for setting the dialing mode by a wireless user.
The technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a method comprising the steps of:
identifying a dialing mode parameter;
according to the dialing mode parameters, carrying out DTMF dialing or pulse dialing;
if the dialing mode parameter is not set, DTMF dialing and/or pulse dialing attempt is carried out, and after the DTMF dialing and/or pulse dialing attempt is connected, the dialing mode parameter is set to be the corresponding dialing mode parameter.
Further, the DTMF dialing includes the following steps:
obtaining DTMF signal duration parameters, and dialing according to the DTMF signal duration parameters;
if the dialing is not successful, adjusting the DTMF signal duration parameter, dialing again until the dialing times exceed a preset value, and stopping dialing;
if the dialing is successful, saving the current DTMF signal duration parameter.
Further, the steps of: if the dialing is not successful, adjusting the DTMF signal duration parameter, dialing again until the dialing times exceed a preset value, and stopping dialing, and then, the method further comprises the following steps: and clearing the dialing times and prompting the occurrence of faults.
Further, the pulse dialing includes the steps of:
acquiring pulse dialing duty ratio parameters, and performing pulse dialing;
if the dialing is not successful, adjusting the pulse dialing duty ratio parameter, dialing again until the dialing times exceed a preset value, and stopping dialing;
and if the dialing is successful, saving the current pulse dialing duty ratio parameter.
Further, if the dialing mode parameter is not set, a DTMF dialing and/or pulse dialing attempt is performed, and after the dial mode parameter is set to the corresponding dialing mode parameter, specifically:
dialing by using DTMF dialing;
if the dialing times are smaller than a preset value, dialing connection is carried out, and the dialing mode parameter is set to be a DTMF dialing corresponding parameter;
if the dialing times are larger than the preset value and are not connected, pulse dialing is used;
if the dialing times are smaller than a preset value, dialing connection is carried out, and the dialing mode parameter is set as a pulse dialing corresponding parameter;
if the dialing times are larger than the preset value and are not connected, a fault is prompted.
In a second aspect, the present invention provides a POS machine dialing apparatus, including:
a dialing mode coordinating device, which is used for carrying out DTMF dialing and/or pulse dialing attempt, and setting dialing mode parameters as corresponding dialing mode parameters after connection;
the system comprises a DTMF dialing device and/or a pulse dialing device, wherein the DTMF dialing device is used for conducting DTMF dialing, and the pulse dialing device is used for conducting pulse dialing.
Further, the DTMF dialing device comprises a DTMF parameter setting unit, a DTMF dialing counting unit and a DTMF dialing unit, wherein the DTMF parameter setting unit is used for adjusting DTMF dialing parameters, the DTMF dialing counting unit is used for counting dialing times, and the DTMF dialing unit is used for dialing.
Furthermore, the pulse dialing device comprises a pulse parameter setting unit, a pulse dialing counting unit and a pulse dialing unit, wherein the pulse parameter setting unit is used for adjusting pulse dialing parameters, the pulse dialing counting unit is used for counting dialing times, and the pulse dialing unit is used for dialing.
The invention has the beneficial effects that:
the invention carries out POS dialing by setting the dialing mode parameters, when the dialing mode parameters are not set, DTMF dialing and/or pulse dialing attempt is carried out, and after the dialing mode parameters are connected, the dialing mode parameters are set to be the corresponding dialing mode parameters, so that a user does not need to manually set a dialing mode, and the use of the user is convenient.
Furthermore, the dialing parameter is self-adaptive, so that the user can use the method more conveniently, and the dialing efficiency is improved.
Drawings
FIG. 1 is a flow chart of an embodiment of a POS dialing method of the present invention;
FIG. 2 is a DTMF dialing flowchart of an embodiment of a POS dialing method of the present invention;
FIG. 3 is a pulse dialing flowchart of an embodiment of a POS dialing method of the present invention;
FIG. 4 is a block diagram illustrating the structure of an embodiment of a POS dialing apparatus of the present invention;
FIG. 5 is a schematic block diagram of a DTMF dialing apparatus in an embodiment of a POS dialing apparatus of the present invention;
FIG. 6 is a schematic block diagram of a pulse dialing device in an embodiment of a POS dialing device according to the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
As shown in fig. 1, a method for dialing a POS machine according to the present invention includes the following steps:
s1, identifying the dialing mode parameters;
s2, according to the dialing mode parameter, carrying out DTMF dialing or pulse dialing;
and S3, if the dialing mode parameter is not set, DTMF dialing and/or pulse dialing is tried, and after the DTMF dialing and/or pulse dialing attempt is connected, the dialing mode parameter is set to be the corresponding dialing mode parameter.
When the POS machine dials each time, automatically selecting DTMF dialing or pulse dialing by reading the dialing mode parameters; when the POS machine is accessed to the network for the first time and the dialing mode identification parameter is not set, the POS machine conducts DTMF dialing and/or pulse dialing attempt, after the DTMF dialing and/or pulse dialing attempt is conducted, the dialing mode parameter is set to be the corresponding dialing mode parameter, and dialing can be directly conducted according to the dialing mode parameter when the POS machine is used next time without setting.
As shown in fig. 2, fig. 2 is a DTMF dialing flowchart, and DTMF dialing includes the following steps:
step1, obtaining DTMF signal duration parameters, and dialing according to the DTMF signal duration parameters;
step2, if the dialing is not successful, adjusting the DTMF signal duration parameter, dialing again until the dialing times exceed the preset value, and stopping dialing;
step3, if the dialing is successful, saving the current DTMF signal duration parameter;
step4, clearing the dialing times and indicating the fault.
The method comprises the steps that the DTMF signal duration suitable for each dialing is not necessarily the same because of unstable network conditions caused by line interference or other reasons, in order to improve dialing efficiency, the DTMF signal duration of the last dialing is adopted during each dialing, the DTMF signal duration is adjusted to try again when the dialing is unsuccessful, and the dialing is ended when the dialing times exceed a preset value, so that bandwidth resources are released.
In this embodiment, the preset value of the dialing times is 3 times, the duration time of the DTMF signal is divided into 50ms, 100ms and 250ms, and when the dialing times are not successful for three times, Step4 is entered, the dialing times are cleared, and a fault is prompted.
As shown in fig. 3, fig. 2 is a flow chart of pulse dialing, and the pulse dialing includes the following steps:
procedure1, obtaining pulse dialing duty ratio parameters, and performing pulse dialing;
procedure2, if the dialing is not successful, adjusting the pulse dialing duty ratio parameter, dialing again until the dialing times exceed the preset value, and stopping dialing;
and (8) procedure3, if the dialing is successful, saving the current pulse dialing duty ratio parameter.
In order to improve the dialing efficiency, the pulse dialing duty ratio parameter of the last dialing is adopted during each dialing, when the dialing is unsuccessful, the pulse dialing duty ratio parameter is adjusted to try again, and when the dialing times exceed a preset value, the dialing is finished, and the bandwidth resource is released.
In the embodiment, the preset value of the dialing times is 3 times, the parameters of the pulse dialing duty ratio are set to be 0, 1 and 2, which respectively represent that the number of pulses per second is 10, the duty ratio is 39% -61%, the number of pulses per second is 20, and the duty ratio is 33% -67%.
In this embodiment, when the dialing mode parameter is not set, the specific steps of performing DTMF dialing and/or pulse dialing attempt are as follows:
dialing by using DTMF dialing;
if the dialing times are smaller than a preset value, dialing connection is carried out, and the dialing mode parameter is set to be a DTMF dialing corresponding parameter;
if the dialing times are larger than the preset value and are not connected, pulse dialing is used;
if the dialing times are smaller than a preset value, dialing connection is carried out, and the dialing mode parameter is set as a pulse dialing corresponding parameter;
if the dialing times are larger than the preset value and are not connected, a fault is prompted.
Firstly, a DTMF dialing attempt is carried out, DTMF signal duration time parameters are saved after dialing success is carried out, and dialing mode parameters are set to be corresponding to DTMF dialing parameters;
when the DTMF dialing attempt is unsuccessful, using a pulse dialing attempt, storing pulse dialing duty ratio parameters after dialing through, and setting dialing mode parameters as pulse dialing corresponding parameters; the specific DTMF dialing and pulse dialing steps are consistent with those described above, and are not described again.
As shown in fig. 4, the present invention also discloses a POS dialing apparatus, including:
a dialing mode coordinating device, which is used for carrying out DTMF dialing and/or pulse dialing attempt, and setting dialing mode parameters as corresponding dialing mode parameters after connection;
the system comprises a DTMF dialing device and/or a pulse dialing device, wherein the DTMF dialing device is used for conducting DTMF dialing, and the pulse dialing device is used for conducting pulse dialing.
As shown in fig. 5, specifically, the DTMF dialing apparatus includes a DTMF parameter setting unit, a DTMF dialing counting unit, and a DTMF dialing unit, where the DTMF parameter setting unit is configured to adjust DTMF dialing parameters, the DTMF dialing counting unit is configured to count dialing times, and the DTMF dialing unit is configured to perform dialing.
As shown in fig. 6, specifically, the pulse dialing device includes a pulse parameter setting unit, a pulse dialing counting unit, and a pulse dialing unit, where the pulse parameter setting unit is configured to adjust pulse dialing parameters, the pulse dialing counting unit is configured to count dialing times, and the pulse dialing unit is configured to perform dialing.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A POS machine dialing method is characterized by comprising the following steps:
identifying a dialing mode parameter;
according to the dialing mode parameters, carrying out DTMF dialing or pulse dialing;
if the dialing mode parameter is not set, DTMF dialing and/or pulse dialing attempt is carried out, and after the DTMF dialing and/or pulse dialing attempt is connected, the dialing mode parameter is set to be a corresponding dialing mode parameter;
if the dialing mode parameters are not set, then DTMF dialing and/or pulse dialing is tried, and after the dialing mode parameters are set to be corresponding dialing mode parameters, the method comprises the following steps:
if the dialing mode parameter is not set, a DTMF dialing attempt is carried out, the DTMF signal duration time parameter is stored after the dialing is successful, and the dialing mode parameter is set to be a DTMF dialing corresponding parameter;
when the DTMF dialing attempt is unsuccessful, the pulse dialing attempt is used, the pulse dialing duty ratio parameter is stored after dialing through, and the dialing mode parameter is set as the pulse dialing corresponding parameter.
2. The POS machine dialing method according to claim 1, wherein the DTMF dialing comprises the following steps:
obtaining DTMF signal duration parameters, and dialing according to the DTMF signal duration parameters;
if the dialing is not successful, adjusting the DTMF signal duration parameter, dialing again until the dialing times exceed a preset value, and stopping dialing;
if the dialing is successful, saving the current DTMF signal duration parameter.
3. The POS machine dialing method of claim 2, wherein the steps of: if the dialing is not successful, adjusting the DTMF signal duration parameter, dialing again until the dialing times exceed a preset value, and stopping dialing, and then, the method further comprises the following steps: and clearing the dialing times and prompting the occurrence of faults.
4. The POS machine dialing method according to claim 1, wherein the pulse dialing comprises the following steps:
acquiring pulse dialing duty ratio parameters and performing pulse dialing;
if the dialing is not successful, adjusting the pulse dialing duty ratio parameter, dialing again until the dialing times exceed a preset value, and stopping dialing;
and if the dialing is successful, saving the current pulse dialing duty ratio parameter.
5. The POS machine dialing method according to claim 1, wherein if the dialing mode parameter is not set, then making DTMF dialing attempt, saving DTMF signal duration parameter after dialing success and setting the dialing mode parameter as the corresponding parameter of DTMF dialing; when the DTMF dialing attempt is unsuccessful, the pulse dialing attempt is used, the pulse dialing duty ratio parameter is stored after dialing through, and the dialing mode parameter is set as the pulse dialing corresponding parameter, specifically:
dialing by using DTMF dialing;
if the dialing times are smaller than a preset value, dialing connection is carried out, and the dialing mode parameter is set to be a DTMF dialing corresponding parameter;
if the dialing times are larger than the preset value and are not connected, pulse dialing is used;
if the dialing times are smaller than a preset value, dialing connection is carried out, and the dialing mode parameter is set as a pulse dialing corresponding parameter;
if the dialing times are larger than the preset value and are not connected, a fault is prompted.
6. A POS dialing apparatus adapted for use in a POS dialing method according to any one of claims 1 to 5, comprising:
a dialing mode coordinating device, which is used for carrying out DTMF dialing and/or pulse dialing attempt, and setting dialing mode parameters as corresponding dialing mode parameters after connection;
the system comprises a DTMF dialing device and/or a pulse dialing device, wherein the DTMF dialing device is used for conducting DTMF dialing, and the pulse dialing device is used for conducting pulse dialing.
7. The POS machine dialing device of claim 6, wherein the DTMF dialing device comprises a DTMF parameter setting unit for adjusting DTMF dialing parameters, a DTMF dialing counting unit for counting the number of dialing times, and a DTMF dialing unit for dialing.
8. The POS machine dialing device according to claim 6, wherein the pulse dialing device comprises a pulse parameter setting unit for adjusting pulse dialing parameters, a pulse dialing counting unit for counting the number of times of dialing, and a pulse dialing unit for dialing.
CN201811607092.4A 2018-12-27 2018-12-27 POS machine dialing method and device Active CN109561194B (en)

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 CN109561194A (en) 2019-04-02
CN109561194B true 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
WO2009075664A1 (en) * 2007-12-13 2009-06-18 Thomson Licensing Automatic switching of dialing modes in a telecommunications device
CN106910326A (en) * 2015-12-22 2017-06-30 霍尼韦尔国际公司 Warning device calibration method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03132240A (en) * 1989-10-18 1991-06-05 Toshiba Corp Telephone set
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
CN1126056C (en) * 1995-12-22 2003-10-29 汤姆森消费电子有限公司 Fault detection and modification circuit
CN1094283C (en) * 1998-03-05 2002-11-13 智合科技股份有限公司 Telephone dial display device
US6546091B1 (en) * 1998-08-28 2003-04-08 Thomson Licensing S.A. Automatic detection of phone system settings for dial-up modem connections
CN101605357B (en) * 2009-07-01 2012-07-04 杭州华三通信技术有限公司 Method for accessing public switched telephone network by wireless network device and wireless network device
CN202121653U (en) * 2011-06-24 2012-01-18 启碁科技股份有限公司 Connection switching apparatus and telephone apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
WO2009075664A1 (en) * 2007-12-13 2009-06-18 Thomson Licensing Automatic switching of dialing modes in a telecommunications device
CN106910326A (en) * 2015-12-22 2017-06-30 霍尼韦尔国际公司 Warning device calibration method and system

Also Published As

Publication number Publication date
CN109561194A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN108633106B (en) Random access and indicating means, device after a kind of random access backoff
KR910008751B1 (en) Control device in transceiver
CN109661852A (en) Method and terminal device for random access
EP2190254A1 (en) Private network communication terminal and method for realizing private network communication
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
CN110602790A (en) Data sending method and device
JP6577135B2 (en) Signal processing method and related apparatus
CN111800235A (en) Sending method and device of COT (chip on Table) indication information
CN109617637A (en) A kind of information processing method and device
CN105635017B (en) A kind of transmission method and equipment of targeting signal
CN105960023A (en) Resource competition method and communication device
CN102149110A (en) Terminal performance assessment method and device
CN102869027A (en) Method and device for detecting physical random access channel (PRACH) of multi-antenna base station
CN109150336B (en) Method and device for establishing Zigbee network
CN104541555A (en) Method and apparatus for timing synchronization between cells
CN109561194B (en) POS machine dialing method and device
CN110463234A (en) Transmitted power control method, device, equipment and the storage medium of direct-connected communication
CN104080060A (en) Method of transmitting antitheft short message through mobile terminal
CN101873619A (en) Method and device for adjusting preamble sequence number
CN101019461B (en) Method and system for wireless network connection
CN102710842B (en) Method and device for processing incoming calls of Android platform mobile terminal
CN111741476B (en) Automatic channel avoidance anti-interference transmission method
WO2016177123A1 (en) Small cell interference detection method and apparatus
CN110362151B (en) Image inter-frame frequency conversion method capable of self-adaptive adjustment and storage device
WO2016188455A1 (en) Method and device for reporting measurement report of unauthorized cell

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