WO2011120318A1 - 双音多频信号发送方法及装置 - Google Patents

双音多频信号发送方法及装置 Download PDF

Info

Publication number
WO2011120318A1
WO2011120318A1 PCT/CN2010/080120 CN2010080120W WO2011120318A1 WO 2011120318 A1 WO2011120318 A1 WO 2011120318A1 CN 2010080120 W CN2010080120 W CN 2010080120W WO 2011120318 A1 WO2011120318 A1 WO 2011120318A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
queue
dtmf
characters
cached
Prior art date
Application number
PCT/CN2010/080120
Other languages
English (en)
French (fr)
Inventor
周钱生
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to KR1020127024688A priority Critical patent/KR101407369B1/ko
Priority to US13/635,467 priority patent/US20130012169A1/en
Priority to EP10848776.0A priority patent/EP2538647A4/en
Publication of WO2011120318A1 publication Critical patent/WO2011120318A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/08Telephonic communication systems specially adapted for combination with other electrical systems specially adapted for optional reception of entertainment or informative matter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
    • H04M11/066Telephone sets adapted for data transmision
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/12Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal
    • H04M7/1205Arrangements for interconnection between switching centres for working between exchanges having different types of switching equipment, e.g. power-driven and step by step or decimal and non-decimal where the types of switching equipement comprises PSTN/ISDN equipment and switching equipment of networks other than PSTN/ISDN, e.g. Internet Protocol networks
    • H04M7/1295Details of dual tone multiple frequency signalling

Definitions

  • the invention relates to the technical field of signal processing, in particular to a dual tone multi-frequency with buffer control function
  • the phone recharge service service When using the phone recharge service service to recharge other mobile phones, it is generally necessary to input the mobile phone number to be recharged, and if the value is to be recharged at this time
  • the mobile phone number is stored in the address book (for example: business card holder) of the mobile phone that is using the phone recharge service, and the user cannot directly call the mobile phone number to be recharged in the business card holder and directly send it to the network, and can only hang up first. After recording the mobile phone number saved in the business card holder, then dial the recharge service phone again, and enter the mobile phone number to be recharged during the call.
  • the phone recharge card When using the phone recharge card to recharge the phone, if you choose the phone recharge service, you will be asked to enter the recharge card password during the recharge process. Currently, it is usually a 17-digit recharge card password. When the 17-digit recharge card password is input, it is found that one of the digits is incorrectly input due to a mistake, but since the DTMF character is sent to the network side immediately, it is no longer possible to correct the wrong content. The only way is to After hang up, dial the recharge service phone again, and input the 17-digit recharge card password more carefully. If you input the error again, the user still needs to hang up and re-enter the input operation.
  • the present invention provides a method and an apparatus for transmitting a dual tone multi-frequency signal, which are used to solve the problem of inconvenient modification and low operation efficiency in the prior art DTMF signal input process.
  • a method for transmitting a dual tone multi-frequency signal comprising: receiving an input instruction of an input DTMF character sent by a network side, acquiring a DTMF character to be sent and buffering it into a character queue; when receiving a character modification command, modifying according to a character
  • the character modification indication information carried in the command is used to modify the cached character queue.
  • the buffer is sent to the network side according to the order of the DTMF characters in the character queue. The DTMF character in the character queue.
  • the obtaining the DTMF character to be sent includes: acquiring a DTMF character input by the user or pre-stored;
  • the acquiring the DTMF characters to be sent and buffering them into the character queue includes: acquiring the DTMF characters to be sent by the user one by one, and sequentially storing them in the character queue in the buffer according to the obtained order; or
  • the pre-stored character string is obtained from the storage device as a DTMF character to be sent and cached in the character queue according to the storage order of the string.
  • the character modification indication information carried in the character modification command includes: deleting a selected character in the character queue, changing a selected character in the character queue, or inserting a specified character in the character queue.
  • the method includes: parsing the received character modification command, and parsing the character modification indication information carried therein into a change Determining a character position of the selected character in the character queue when the selected character in the character queue is described; deleting the selected character in the character queue at the determined character position, and The character specified in the character modification indication information is stored at the determined character position.
  • the method includes: parsing the received character modification command, and parsing the character modification indication information carried in the Determining a position to be inserted of the specified character in the character queue when the specified character is inserted into the character queue; moving the position of the other character located at the position to be inserted and the position behind the character queue backward a character position, and inserting the specified character at the position to be inserted.
  • the method further includes: reading the cached DTMF characters from the cached character queue and displaying the same to the user; receiving the confirmation command sent by the user, The step of transmitting the DTMF characters in the cached character queue to the network side in sequence according to the order of the DTMF characters in the character queue is performed.
  • the method further includes: checking, according to a legal character set supported by the DTMF signal, the validity of the DTMF characters in the cached character queue; if the cached DTMF If the characters are characters in the legal character set supported by the DTMF signal, it is confirmed that the DTMF characters in the character queue are legal; if it is detected that there are illegal characters other than the legal character set supported by the DTMF signal in the buffered DTMF characters, Prompt the user to modify the checked illegal characters.
  • a dual-tone multi-frequency signal transmitting device comprising:
  • a cache module configured to: when receiving an input instruction of inputting a DTMF character sent by the network side, obtain a DTMF character to be sent and cache the character in the character queue;
  • a modification module configured to modify the cached character queue according to the character modification indication information carried in the character modification command when receiving the character modification command;
  • a determining module configured to determine whether all DTMF characters to be sent are buffered; and a sending module, configured to: when the determining module determines that all DTMF characters to be sent are buffered, follow the order of the DTMF characters in the character queue Sending the cached DTMF characters in the character queue to the network side.
  • the cache module is specifically configured to: when receiving an input instruction of inputting a DTMF character sent by the network side, acquiring the DTMF characters to be sent by the user one by one, and sequentially storing the characters in the buffer according to the acquired order In the queue, the pre-stored character string is obtained from the storage device as a DTMF character to be sent and cached in the character queue according to the storage order of the string.
  • the modifying module specifically includes:
  • the parsing unit is configured to parse the received character modification command, and parse out the character modification indication information carried therein;
  • An execution unit configured to: when the character modification indication information carried in the character modification command is parsed to delete the selected character in the character queue, determine that the selected character is in the character queue Position, delete the selected character in the character queue, and move the position of the deleted character after the position of the selected character in the character queue forward by one character position; if the character modification command is parsed
  • the character modification indication information carried in the character string is to change the selected character at the determined character position in the character queue in the character queue, and store the character specified in the character modification indication information in determining If the character modification indication information carried in the character modification command is parsed, when the specified character is inserted into the character queue, the position of the specified character to be inserted in the character queue is determined to be located. The position of the character to be inserted and the position of the other position in the character queue is moved backward by one character position, and the specified character is inserted at the position to be inserted.
  • the device further includes: a display module, configured to: after the determining module determines that all DTMF characters to be sent have been cached, read the cached DTMF characters from the cached character queue and display the same to the user, and receive the user When the acknowledgement command is sent, the sending module is notified to perform the step of transmitting the buffered DTMF character to the network side.
  • a display module configured to: after the determining module determines that all DTMF characters to be sent have been cached, read the cached DTMF characters from the cached character queue and display the same to the user, and receive the user When the acknowledgement command is sent, the sending module is notified to perform the step of transmitting the buffered DTMF character to the network side.
  • the device further includes: an checking module, configured to: before the sending module sends the buffered DTMF characters in the character queue to the network side, check the cached character queue according to a legal character set supported by the DTMF signal The validity of the DTMF character; if the buffered DTMF character is a character in the legal character set supported by the DTMF signal, it is confirmed that the DTMF character in the character queue is legal, and the transmitting module is notified to perform the DTMF that sends the buffer to the network side. The step of characters; if it is found that there are illegal characters other than the legal character set supported by the DTMF signal in the cached DTMF characters, the user is prompted to modify the checked illegal characters.
  • an checking module configured to: before the sending module sends the buffered DTMF characters in the character queue to the network side, check the cached character queue according to a legal character set supported by the DTMF signal The validity of the DTMF character; if the buffered DTMF character is a character
  • the method and device for transmitting a dual-tone multi-frequency signal when receiving an input instruction of inputting a DTMF character sent by a network side, acquiring a DTMF character to be sent input by a user or pre-stored and buffering it into a character queue; When a character modification command is received, based on the character The character modification instruction information carried in the command is modified to modify the cached character queue. When it is determined that all DTMF characters to be sent have been cached, the cache is sent to the network side according to the order of the DTMF characters in the character queue. The DTMF character in the character queue.
  • the technical solution solves the problem that the DTMF character editing is inconvenient in the service use process in the prior art, improves the operability of the service and the accuracy of the character input, facilitates the user operation, and is convenient for the user to use in the business process.
  • Editing the DTMF characters to be sent improves the user experience of using interactive control services.
  • the pre-stored character string can be extracted as the DTMF character to be sent to the network side, which avoids the problem that the user hangs up to obtain information, which is further convenient for the user to use.
  • FIG. 1 is a schematic flowchart of a method for transmitting a DTMF signal according to a first embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a method for transmitting a DTMF signal according to a second embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a device for transmitting a DTMF signal according to an embodiment of the present invention.
  • the DTMF signal can be sent only during the call, and the DTMF signal transmission method is performed on the input DTMF character when the erroneous input is inconvenient and the operation efficiency is low.
  • the cache is sent to the network side when the input is completed and confirmed correctly. When an error is entered during the input process, it can be changed in time without having to hang up and then re-operate.
  • the DTMF signal sending method provided by the first embodiment of the present invention is shown in Figure 1.
  • the execution steps are as follows:
  • Step 101 Receive an input instruction of inputting a DTMF character sent by the network side.
  • the network side needs to use The user inputs the required information, such as the password of the recharge card, the telephone number, the bank account number, etc., at this time, the user inputs the above information according to the input instruction of the network side.
  • the required information such as the password of the recharge card, the telephone number, the bank account number, etc.
  • Step 102 Obtain the DTMF characters to be sent and cache them in the character queue.
  • the DTMF characters to be sent may be the DTMF characters obtained by the user. Specifically, the DTMF characters to be sent by the user are obtained one by one according to the user input, and are sequentially stored in the character queue in the buffer according to the obtained order.
  • the DTMF character to be sent may also be obtained by acquiring a pre-stored DTMF character.
  • the pre-stored character string is obtained from the storage device as a DTMF character to be sent and cached in the character queue according to the storage order of the character string.
  • Buffers are generally divided into volatile and non-volatile.
  • Memory is generally a volatile buffer
  • FLASH storage devices are generally non-volatile buffers.
  • the above character queues cached during a call are generally cached in memory.
  • the pre-stored character strings during non-calling are generally stored in the non-volatile buffer of the terminal, such as a FLASH storage device.
  • the phone number stored in the contacts is a string stored in a non-volatile buffer. This form of storage is fully qualified for checking the correctness.
  • the character string saved to the FLASH storage device during the non-call process can be directly obtained, and read from the storage of the FLASH storage device to the memory for operation.
  • Step 103 Whether the character modification instruction is received, if the character modification instruction is received, step 104 is performed; if the character modification instruction is not received, step 105 is performed.
  • the character modification command carries the character modification indication information, and the character modification indication information may include: deleting the selected character in the character queue, changing the selected character in the character queue, or inserting the specified character in the character queue.
  • Step 104 Modify the cached character queue according to the character modification indication information carried in the character modification command.
  • Step 105 Determine whether all the DTMF characters to be sent have been buffered. If all the DTMF characters to be sent have been buffered, go to step 106. If all the DTMF characters to be sent are not buffered, go to step 102.
  • Step 106 Send the DTMF characters in the cached character queue to the network side according to the order of the DTMF characters in the character queue.
  • the DTMF characters in the character queue cached in the buffer are scanned one by one, and the purpose of transmitting all the DTMF characters in the buffered character queue one by one to the network side according to the storage order is realized.
  • the above step 104 modifies the cached character queue according to the different character modification indication information carried in the received character modification command. Specifically, the following processes may be included:
  • the position of the confirmation character 4 in the character queue Q is the fifth character
  • the position of the confirmation character 7 in the character queue Q is the fifth character
  • Character Queue Q already exists in character queue Q.
  • the procedure for inserting character 4 between character 3 and character 5 in character queue Q is as follows:
  • the specified character 4 is buffered to the fifth position in the character queue Q, and the character queue Q becomes 0123456.
  • the DTMF signal sending method provided by the second embodiment of the present invention has a flow as shown in FIG. 2, and the execution steps are as follows:
  • Step 201 Receive an input instruction of inputting a DTMF character sent by the network side.
  • step 101 Same as step 101, and will not be described here.
  • Step 202 Acquire DTMF characters to be sent and cache them in the character queue.
  • step 102 Same as step 102, and details are not described herein again.
  • Step 203 Whether a character modification instruction is received, if yes, execute step 204; otherwise, execute step 205.
  • step 103 Same as step 103, and will not be described here.
  • Step 204 Modify the cached character queue according to the character modification indication information carried in the character modification command.
  • step 104 Same as step 104, and details are not described herein again.
  • Step 205 Determine whether all DTMF characters to be sent have been buffered. If not, return to step 202; if yes, go to step 206.
  • step 105 Same as step 105, and will not be described here.
  • Step 206 Read the cached DTMF characters from the cached character queue and display them to the user. Because the DTMF characters to be sent are cached in the character queue during the service operation (for example, during a call), the characters in the cached character queue can be passed through the user equipment before being sent to the network side. The display screen is echoed back to the user so that the user can confirm it correctly. The user can perform correctness check and error input correction through the terminal's editable environment, such as a dialing interface.
  • Step 207 Whether a user confirmation command is received, and if yes, step 209 is performed; otherwise, step 208 is performed.
  • Step 208 Whether the character modification instruction is received, and if yes, returning to step 204, if neither the user confirmation command nor the character modification command is received after the set time, step 212 is performed.
  • Step 209 Check the validity of the DTMF character in the cached character queue according to the legal character set supported by the DTMF signal. If it is legal, go to step 211. If it is not legal, go to step 210.
  • the legal character set supported by the AT command +VTS for transmitting the DTMF signal is limited, and the legal character set supported by the command is 0-9, #, *, AD. . Therefore, before sending DTMF characters in the buffered character queue, the DTMF characters to be sent are checked for legality to avoid errors during transmission.
  • the process of checking the legality is mainly to scan the DTMF characters in the character queue cached in the buffer one by one to see if it is within the legal character set supported by +VTS.
  • step 210 is performed. If the cached DTMF characters are characters in the legal character set supported by the DTMF signal, then the DTMF characters in the character queue are valid. At this time, step 211 can be performed to perform the step of sending DTMF characters to the network side.
  • Step 210 Prompt the user to modify the checked illegal characters, and return to step 208.
  • characters not supported by the AT command standard protocol appear in the DTMF characters in the cached character queue, that is, characters other than the legal character set, the user needs to be prompted to modify, and the process returns to step 208.
  • Step 211 Send the DTMF characters in the cached character queue to the network side in the order of the DTMF characters in the character queue.
  • Step 212 End the current process.
  • the step 206-step 207 displays the cached DTMF characters to the user confirmation process, and the execution sequence of the process of checking the validity of the DTMF characters in the cached character queue is interchangeable with the step 209. That is, after step 205 is performed and it is determined that all DTMF characters to be transmitted have been cached, step 209 is performed, and after step 209 is performed, step 206 is performed, and after step 207 is executed and the user confirmation command is received, step 211 is performed.
  • the DTMF signal sending method is provided, and a DTMF signal sending device may be constructed.
  • the device may be disposed in a terminal device. As shown in FIG. 3, the device includes: a cache module 10, a modifying module 20, and a determining module. 30 and transmitting module 40.
  • the cache module 10 is configured to: when receiving an input instruction of inputting a DTMF character sent by the network side, acquire a DTMF character to be sent input by the user or pre-stored and cache the character in the character queue.
  • the cache module 10 is configured to: when receiving an input instruction of inputting a DTMF character sent by the network side, acquire the DTMF characters to be sent by the user one by one, and store them in the buffer sequentially according to the acquired order. In the character queue; or obtain a pre-stored string from the storage device as the DTMF character to be sent and cached in the character queue according to the storage order of the string.
  • the modifying module 20 is configured to: when receiving the character modification command, modify the cached character queue according to the character modification indication information carried in the character modification command.
  • the modifying module 20 may specifically include: a parsing unit 201 and an executing unit.
  • the parsing unit 201 is configured to parse the received character modification command, and parse out the character modification indication information carried therein.
  • the executing unit 202 is configured to: if the character modification indication information carried in the character modification command is parsed to delete the selected character in the character queue, determine a position of the selected character in the character queue, and delete The selected character in the character queue, and the position of the other characters after the deleted selected character in the character queue is sequentially moved forward by one character position; If the character modification indication information carried in the character modification command is parsed, the selected character in the character queue except at the determined character position in the character queue is changed, and the character modification indication information is specified.
  • the character is stored in the determined character position; if the character modification indication information carried in the character modification command is parsed to insert a specified character in the character queue, determining the specified character in the character queue At the position to be inserted, the position of the other characters located at the position to be inserted and the position thereof in the character queue is moved backward by one character position, and the specified character is inserted at the position to be inserted.
  • the determining module 30 is configured to determine whether all DTMF characters to be sent have been cached.
  • the sending module 40 is configured to, when the determining module 30 determines that all DTMF characters to be sent are buffered, send the DTMF characters in the cached character queue to the network side in the order of the DTMF characters in the character queue.
  • the DTMF signal transmitting apparatus further includes:
  • the display module 50 is configured to: after the determining module 30 determines that all DTMF characters to be sent have been cached, read the cached DTMF characters from the cached character queue and display them to the user, and notify the sending module when receiving the confirmation command sent by the user. 40 Perform the step of sending the cached DTMF characters to the network side.
  • the DTMF signal transmitting apparatus further includes:
  • the checking module 60 is configured to check the validity of the DTMF characters in the cached character queue according to the legal character set supported by the DTMF signal before the sending module sends the DTMF characters in the buffered character queue to the network side; if the DTMF is cached If the characters are characters in the legal character set supported by the DTMF signal, the DTMF characters in the character queue are confirmed to be valid, and the sending module 40 is notified to perform the step of transmitting the buffered DTMF characters to the network side; if it is found that the cached DTMF characters are present Other illegal characters other than the legal character set supported by the DTMF signal prompt the user to modify the checked illegal characters.
  • the embodiment of the present invention provides the method and device for transmitting the dual-tone multi-frequency signal.
  • the DTMF characters to be sent are cached in the character queue, and the modification, deletion, and insertion of the DTMF characters to be sent may also be implemented during the call. Operation, after the input is confirmed to be correct, the transmission is performed, which avoids the problem that the prior art is inconvenient to modify during the DTMF signal transmission and must be re-entered. The correctness of DTMF character transmission is improved, which is convenient for the user to operate, and is convenient for the user to edit the DTMF characters to be sent during the service use, thereby improving the user experience of using the interactive control service.
  • the pre-stored character string can also be extracted as the DTMF character to be sent to the network side, which prevents the user from hanging up to obtain information, which further facilitates the user to use.
  • the user can be further conveniently displayed to confirm the correctness of the user, further improving the accuracy and further reducing the repetitive operation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Description

双音多频信号发送方法及装置 技术领域
本发明涉及信号处理技术领域, 尤指一种带緩冲控制功能的双音多频
( Dual Tone Multi Frequency, DTMF )信号发送方法及装置。 背景技术
现有通信终端 (例如: 手机) 的使用中, 常常会遇到下述问题: 例如: 在使用电话充值服务业务为其他手机充值时, 一般需要输入待 充值的手机号码, 而此时如果待充值的手机号码存储在正在使用电话充值 业务的手机的通讯录(例如: 名片夹) 中, 则用户不能直接调用名片夹中 的待充值的手机号码并直接发送到网络端, 只能是先挂机, 将保存在名片 夹中的手机号码记录下来后, 然后再次拨打充值服务电话, 并在通话过程 中输入要充值的手机号码。 在输入电话号码的过程中, 由于 DTMF字符是 即时向网络侧发送的, 即输入一个字符发送一个字符, 当某个字符输入错 误时, 由于该字符已被发送至网络侧, 因此, 不能对错误内容进行更正, 只能挂机后重新拨打充值服务电话再次输入。
又例如: 在使用电话充值卡给手机充值时, 如果选择电话充值服务, 则在充值过程中一般会要求输入充值卡密码,目前一般是 17位充值卡密码。 而在输入 17位充值卡密码时, 发现其中某一位由于失误而错误输入, 但是 由于 DTMF字符是即时向网络侧发送的, 这时已经不能对错误的内容进行 更正, 唯一的办法也只能挂机后重新拨打充值服务电话, 并更加小心翼翼 地输入 17位充值卡密码, 如果再次输入错误, 则用户仍需挂机重新进行输 入操作。
从上述例举的场景中可以看出: 在类似于电话充值等交互式的控制业 务中, 在业务使用过程, 无法获取并使用终端中存储的信息。 且在业务使 用过程, 经常需要发送一串 DTMF字符 (如手机号码, 银行账号, 充值卡 密码等), 而目前的 DTMF字符都釆用即时发送的方式, 在输入一个字符后 就立即发送至网络侧, 在发现内容错误输入后, 由于内容已经被即时发送 至网络侧而没有办法进行更正, 导致这次输入只能以失败告终。 当需要输 入的 DTMF字符位数增多时, 输入过程中出现输入错误的概率就会明显增 大, 而错误输入的字符不便修改, 给用户使用带来极大的不便, 使 DTMF 信号输入操作效率低, 且频繁的重复操作也导致系统资源和网络资源的浪 费。 发明内容
有鉴于此, 本发明提供一种双音多频信号发送方法及装置, 用以解决 现有技术中存在 DTMF信号输入过程中修改不便, 操作效率低的问题。
为解决上述技术问题, 本发明的技术方案是这样实现的:
一种双音多频信号发送方法, 包括: 接收到网络侧发送的输入 DTMF 字符的输入指令时, 获取待发送的 DTMF字符并緩存至字符队列中; 当接 收到字符修改命令时, 根据字符修改命令中携带的字符修改指示信息, 对 緩存的所述字符队列进行修改; 当判断出已緩存全部待发送的 DTMF字符 时, 按照 DTMF字符在所述字符队列中的顺序, 向网络侧发送緩存的所述 字符队列中的 DTMF字符。
所述获取待发送的 DTMF 字符包括: 获取用户输入的或预先存储的 DTMF字符;
所述获取待发送的 DTMF字符并緩存至字符队列中, 具体包括: 逐一 获取用户输入的待发送的 DTMF字符, 并按照获取的顺序依次存储到緩冲 区中的所述字符队列中; 或者, 从存储设备中获取预先存储的字符串作为 待发送的 DTMF字符并按照字符串的存储顺序緩存至字符队列中。 所述字符修改命令中携带的字符修改指示信息包括: 删除所述字符队 列中的选定字符、 更改所述字符队列中的选定字符、 或在所述字符队列中 插入指定字符。
所述根据字符修改命令中携带的字符修改指示信息, 对緩存的所述字 符队列进行修改, 具体包括: 对接收到的字符修改命令进行解析, 若解析 出其中携带的字符修改指示信息为删除所述字符队列中的选定字符时, 确 定所述选定字符在所述字符队列中所处的位置; 删除字符队列中的选定字 符, 并将删除的选定字符所处位置之后的其他字符在所述字符队列中的位 置依次向前移动一个字符位置。
所述根据字符修改命令中携带的字符修改指示信息, 对緩存的所述字 符队列进行修改, 具体包括: 对接收到的字符修改命令进行解析, 若解析 出其中携带的字符修改指示信息为更改所述字符队列中的选定字符时, 确 定所述选定字符在所述字符队列中所处的字符位置; 删除所述字符队列中 位于确定出的字符位置处的所述选定字符, 并将所述字符修改指示信息中 指定的字符存储在确定出的所述字符位置处。
所述根据字符修改命令中携带的字符修改指示信息, 对緩存的所述字 符队列进行修改, 具体包括: 对接收到的字符修改命令进行解析, 若解析 出其中携带的字符修改指示信息为在所述字符队列中插入指定字符时, 确 定所述指定字符在所述字符队列中的待插入位置; 将位于所述待插入位置 及其后面位置的其他字符在所述字符队列中的位置向后移动一个字符位 置, 并在所述待插入位置处插入所述指定字符。
所述向网络侧发送緩存的所述字符队列中的 DTMF字符之前,还包括: 从緩存的所述字符队列中读取緩存的 DTMF字符并显示给用户; 接收到用 户发送的确认指令时, 再执行按照 DTMF字符在所述字符队列中的顺序, 依次向网络侧发送緩存的所述字符队列中的 DTMF字符的步骤。 所述向网络侧发送緩存的所述字符队列中的 DTMF字符之前,还包括: 根据 DTMF信号支持的合法字符集, 检查緩存的所述字符队列中的 DTMF 字符的合法性; 若所緩存的 DTMF字符均为 DTMF信号支持的合法字符集 中的字符, 则确认所述字符队列中的 DTMF字符合法; 若检查到所緩存的 DTMF字符中存在 DTMF信号支持的合法字符集之外的其他非法字符, 则 提示用户对检查到的非法字符进行修改。
一种双音多频信号发送装置, 包括:
緩存模块, 用于接收到网络侧发送的输入 DTMF字符的输入指令时, 获取待发送的 DTMF字符并緩存至字符队列中;
修改模块, 用于当接收到字符修改命令时, 根据字符修改命令中携带 的字符修改指示信息, 对緩存的所述字符队列进行修改;
判断模块, 用于判断出是否已緩存全部待发送的 DTMF字符; 发送模块, 用于当所述判断模块判断出已緩存全部待发送的 DTMF字 符时, 按照 DTMF字符在所述字符队列中的顺序, 向网络侧发送緩存的所 述字符队列中的 DTMF字符。
所述緩存模块, 具体用于: 接收到网络侧发送的输入 DTMF字符的输 入指令时, 逐一获取用户输入的待发送的 DTMF字符, 并按照获取的顺序 依次存储到緩冲区中的所述字符队列中; 或者, 从存储设备中获取预先存 储的字符串作为待发送的 DTMF字符并按照字符串的存储顺序緩存至字符 队列中。
所述修改模块, 具体包括:
解析单元, 用于对接收到的字符修改命令进行解析, 解析出其中携带 的字符修改指示信息;
执行单元, 用于若解析出字符修改命令中携带的字符修改指示信息为 删除所述字符队列中的选定字符时, 确定所述选定字符在所述字符队列中 所处的位置, 删除字符队列中的选定字符, 并将删除的选定字符所处位置 之后的其他字符在所述字符队列中的位置依次向前移动一个字符位置; 若 解析出字符修改命令中携带的字符修改指示信息为更改所述字符队列中的 所述字符队列中位于确定出的字符位置处的所述选定字符, 并将所述字符 修改指示信息中指定的字符存储在确定出的所述字符位置处; 若解析出字 符修改命令中携带的字符修改指示信息为在所述字符队列中插入指定字符 时, 确定所述指定字符在所述字符队列中的待插入位置, 将位于所述待插 入位置及其后面位置的其他字符在所述字符队列中的位置向后移动一个字 符位置, 并在所述待插入位置处插入所述指定字符。
所述装置还包括: 显示模块, 用于当所述判断模块判断出已緩存全部 待发送的 DTMF字符之后, 从緩存的所述字符队列中读取緩存的 DTMF字 符并显示给用户, 接收到用户发送的确认指令时通知所述发送模块执行向 网络侧发送緩存的 DTMF字符的步骤。
所述装置还包括: 检查模块, 用于在所述发送模块向网络侧发送緩存 的所述字符队列中的 DTMF字符之前,根据 DTMF信号支持的合法字符集, 检查緩存的所述字符队列中的 DTMF字符的合法性; 若所緩存的 DTMF字 符均为 DTMF信号支持的合法字符集中的字符, 则确认所述字符队列中的 DTMF字符合法, 并通知所述发送模块执行向网络侧发送緩存的 DTMF字 符的步骤; 若检查到所緩存的 DTMF字符中存在 DTMF信号支持的合法字 符集之外的其他非法字符, 则提示用户对检查到的非法字符进行修改。
本发明有益效果如下:
本发明实施例提供的双音多频信号发送方法及装置, 接收到网络侧发 送的输入 DTMF字符的输入指令时, 获取用户输入的或预先存储的待发送 的 DTMF字符并緩存至字符队列中; 当接收到字符修改命令时, 根据字符 修改命令中携带的字符修改指示信息, 对緩存的所述字符队列进行修改; 当判断出已緩存全部待发送的 DTMF字符时, 按照 DTMF字符在所述字符 队列中的顺序, 向网络侧发送緩存的所述字符队列中的 DTMF字符。 该技 术方案解决了现有技术中存在的业务使用过程中 DTMF字符编辑修改不方 便的问题, 提高了业务的可操作性和字符输入的准确性, 方便了用户操作, 便于用户在业务使用过程中对待发送的 DTMF字符进行编辑操作, 提高了 用户使用交互式控制业务的体验效果。 同时, 可以提取预先存储的字符串 作为待发送的 DTMF字符发送给网络侧, 避免了用户挂机获取信息操作麻 烦的问题, 进一步方便了用户使用。 附图说明
图 1为本发明实施例一中 DTMF信号发送方法的流程示意图; 图 2为本发明实施例二中 DTMF信号发送方法的流程示意图; 图 3为本发明实施例中 DTMF信号发送装置的结构示意图。 具体实施方式
针对现有技术中, DTMF信号只有在通话过程中才能发送, 而发送过 程中存在错误输入时修改不便, 操作效率低的问题, 本发明实施例提供一 种 DTMF信号发送方法, 对输入的 DTMF字符进行緩存, 当输入完成并确 认正确后再发送至网络侧, 在输入过程中输入错误时, 可以及时更改, 而 不必挂机后重新操作。
实施例一
本发明实施例一提供的 DTMF信号发送方法, 其流程如图 1所示, 执 行步骤如下:
步骤 101 : 接收到网络侧发送的输入 DTMF字符的输入指令。
在用户启动类似于电话充值等交互式的控制业务之后, 网络侧需要用 户输入所需的信息, 例如充值卡的密码、 电话号码、 银行账号等, 此时用 户根据网络侧的输入指令, 输入上述信息。
步骤 102: 获取待发送的 DTMF字符并緩存至字符队列中。
获取待发送的 DTMF字符可以是获取用户输入的 DTMF字符,具体为, 根据用户输入, 逐一获取用户输入的待发送的 DTMF字符, 并按照获取的 顺序依次存储到緩冲区中的字符队列中。
获取待发送的 DTMF字符也可以是获取预先存储的 DTMF字符, 具体 为, 从存储设备中获取预先存储的字符串作为待发送的 DTMF字符并按照 字符串的存储顺序緩存至字符队列中。
緩冲区一般分为易失和非易失两种, 内存一般是易失的緩冲区, 而 FLASH存储设备一般是非易失的緩冲区。
例如: 上述在通话过程中緩存的字符队列一般是緩存在内存中的。 而 在非通话过程中预先存储的字符串, 一般是存储在终端的非易失的緩冲区 内, 如 FLASH存储设备等。 例如存储在名片夹中的电话号码就属于在非易 失的緩冲区中保存的字符串, 这种存储形式完全具备检查正确性的条件。 在通话过程中,可以直接获取在非通话过程中保存到 FLASH存储设备中的 字符串, 从 FLASH存储设备的存储中读取至内存进行操作。
步骤 103: 是否接收到字符修改指令, 若接收到字符修改指令, 执行步 骤 104; 若未接收到字符修改指令, 执行步骤 105。
字符修改命令中携带有字符修改指示信息, 字符修改指示信息可以包 括: 删除字符队列中的选定字符、 更改字符队列中的选定字符、 或在字符 队列中插入指定字符等。
步骤 104: 根据字符修改命令中携带的字符修改指示信息,对緩存的字 符队列进行修改。
接收到字符修改指令后, 根据其中携带字符修改指示信息的不同, 执 行不同的修改操作, 例如: 删除字符队列中选定的字符、 更改字符队列中 选定的字符、 或在字符队列中插入指定字符等操作。
步骤 105: 判断是否已緩存全部待发送的 DTMF字符, 若已緩存全部 待发送的 DTMF字符,执行步骤 106, 若未緩存全部待发送的 DTMF字符, 执行步骤 102。
在获取到并緩存一个 DTMF字符后, 判断该字符是否为结束字符, 若 是,则说明字符队列中已緩存了全部的待发送的 DTMF字符,执行步骤 106; 若不是, 则还没有緩存全部的待发送的 DTMF字符, 返回步骤 102。 步骤 106: 按照 DTMF字符在字符队列中的顺序, 向网络侧发送緩存 的字符队列中的 DTMF字符。
对緩冲区中緩存的字符队列中的 DTMF字符进行逐个扫描, 实现按照 存储顺序向网络侧逐一发送緩存的字符队列中的所有 DTMF字符的目的。
在对緩存的字符队列中的 DTMF字符进行发送时, 可以釆用 AT命令 实现, 例如: 针对其中的某个字符为 X, 釆用命令 AT+VTS= "X" 实现发 送字符 X到网络侧 ,对緩冲的字符队列中的 DTMF字符逐个使用上述命令, 直到緩存的字符队列中的 DTMF字符全部发送完毕。
上述步骤 104根据接收到的字符修改命令中携带的不同的字符修改指 示信息, 对緩存的字符队列进行修改。 具体可以包括下列过程:
首先, 对接收到的字符修改命令进行解析;
然后, 根据解析出的字符修改指示信息的不同, 执行不同的操作过程, 以下以删除、 更改和插入三种情况为例进行说明。
( 1 )若解析出字符修改命令中携带的字符修改指示信息为删除字符队 列中的选定字符时, 确定选定字符在字符队列中所处的位置, 然后删除字 符队列中的选定字符, 并将删除的选定字符所处位置之后的其他字符在字 符队列中的位置依次向前移动一个字符位置。 例如: 字符队列 Q中已经存在字符 0123456, 现在要将队列中的字符 4 (选定字符)进行删除的操作步骤如下:
确认字符 4在字符队列 Q中的位置为第五个字符;
将第五个字符位置处的字符删除, 字符队列 Q变成 0123 56;
将第五个字符位置之后的其他字符(字符 56 )依次向前移动一个字符 位置, 则字符队列 Q变成 012356。
( 2 )若解析出字符修改命令中携带的字符修改指示信息为更改字符队 列中的选定字符时, 确定选定字符在字符队列中所处的字符位置; 然后删 除字符队列中位于确定出的字符位置处的选定字符, 并将字符修改指示信 息中指定的字符存储在确定出的字符位置处。
例如: 字符队列 Q 中已经存在字符 0123756, 现要将队列中的字符 7 (选定字符) 更改成字符 4的操作步骤如下:
确认字符 7在字符队列 Q中的位置为第五个字符;
将字符队列 Q中第五个字符位置处的字符 7删除, 则该字符队列 Q变 成 0123 56;
将指定的字符 4插入到字符队列 Q中的第五个位置处, 该字符队列 Q 变成 0123456。
( 3 )若解析出字符修改命令中携带的字符修改指示信息为在字符队列 中插入指定字符时, 确定指定字符在字符队列中的待插入位置; 然后将位 于待插入位置及其后面位置的其他字符在字符队列中的位置向后移动一个 字符位置, 在待插入位置处插入指定字符。
例如: 字符队列 Q中已经存在字符 012356, 现要在字符队列 Q中的字 符 3和字符 5之间插入字符 4的操作步骤如下:
确认字符 4在字符队列 Q中的待插入位置为第五个位置处;
将第五个位置及其后面位置的字符依次向后移动一个字符位置, 字符 队列 Q变成 0123 56;
将指定字符 4緩存到在字符队列 Q中的第五个位置, 字符队列 Q变成 0123456。
实施例二
本发明实施例二提供的 DTMF信号发送方法, 其流程如图 2所示, 执 行步骤如下:
步骤 201: 接收到网络侧发送的输入 DTMF字符的输入指令。
同步骤 101 , 此处不再赘述。
步骤 202: 获取待发送的 DTMF字符并緩存至字符队列中。
同步骤 102, 此处不再赘述。
步骤 203: 是否接收到字符修改指令, 若是, 执行步骤 204; 否则, 执 行步骤 205。
同步骤 103 , 此处不再赘述。
步骤 204: 根据字符修改命令中携带的字符修改指示信息,对緩存的所 述字符队列进行修改。
同步骤 104, 此处不再赘述。
步骤 205: 判断是否已緩存全部待发送的 DTMF字符, 若否, 返回步 骤 202; 若是, 执行步骤 206。
同步骤 105 , 此处不再赘述。
步骤 206: 从緩存的字符队列中读取緩存的 DTMF字符并显示给用户。 由于本申请中在业务操作过程中 (例如通话过程中), 将待发送的 DTMF 字符緩存在字符队列中, 因此, 可以在向网络侧发送至之前, 将緩 存的字符队列中的字符通过用户设备的显示屏幕回显给用户, 以便用户确 认其正确与否。 用户可以通过终端的可编辑环境, 例如拨号界面等, 进行 正确性检查和错误输入的纠正。 步骤 207: 是否接收到用户确认指令, 若是, 则执行步骤 209; 否则, 执行步骤 208。
步骤 208: 是否接收到字符修改指令, 若是, 返回执行步骤 204, 若在 设定的时间后既没有接收到用户确认指令也没有接收到字符修改指令, 则 执行步骤 212。
步骤 209: 根据 DTMF信号支持的合法字符集, 检查緩存的字符队列 中的 DTMF字符的合法性, 如果合法, 执行步骤 211 ; 如果不合法, 执行 步骤 210。
较佳的 , 在 AT命令标准协议中 , 对发送 DTMF信号的 AT命令 +VTS 支持的合法字符集进行了限制, 协议中规定该命令所支持的合法字符集为 0-9, #, *, A-D。 因此, 在发送緩存的字符队列中的 DTMF字符之前, 要 对待发送的 DTMF字符进行合法性检查, 避免发送过程中出错。
进行合法性检查的过程主要是逐个扫描緩冲区中緩存的字符队列中的 DTMF字符, 查看是否在 +VTS所支持的合法字符集范围内。
若检查到所緩存的 DTMF字符中存在 DTMF信号支持的合法字符集之 外的其他非法字符, 则执行步骤 210。 若所緩存的 DTMF字符均为 DTMF 信号支持的合法字符集中的字符, 则确认字符队列中的 DTMF字符合法。 此时可以执行步骤 211进行向网络侧发送 DTMF字符的步骤了。
步骤 210:提示用户对检查到的非法字符进行修改,返回执行步骤 208。 当緩存的字符队列中的 DTMF字符中出现 AT命令标准协议中不支持 的字符时, 即有合法字符集之外的字符, 则需要提示用户修改, 并返回执 行步骤 208。
步骤 211 : 按照 DTMF字符在所述字符队列中的顺序, 依次向网络侧 发送緩存的所述字符队列中的 DTMF字符。
步骤 212: 结束当前流程。 上述实施例二中, 步骤 206-步骤 207将緩存的 DTMF字符显示给用户 确认的过程, 与步骤 209检查緩存的字符队列中的 DTMF字符的合法性过 程的执行顺序可以互换。 即在执行完步骤 205且判断已緩存全部待发送的 DTMF字符之后, 执行步骤 209 , 并在执行步骤 209之后执行步骤 206, 在 执行步骤 207并接收到用户确认指令后再执行步骤 211。
根据本发明实施例提供上述 DTMF 信号发送方法, 可以构建一种 DTMF信号发送装置, 该装置可设置在终端设备中, 如图 3所示, 该装置 包括: 緩存模块 10、 修改模块 20、 判断模块 30和发送模块 40。
緩存模块 10,用于接收到网络侧发送的输入 DTMF字符的输入指令时, 获取用户输入的或预先存储的待发送的 DTMF字符并緩存至字符队列中。
较佳的,上述緩存模块 10,具体用于:接收到网络侧发送的输入 DTMF 字符的输入指令时, 逐一获取用户输入的待发送的 DTMF字符, 并按照获 取的顺序依次存储到緩冲区中的字符队列中; 或从存储设备中获取预先存 储的字符串作为待发送的 DTMF字符并按照字符串的存储顺序緩存至字符 队列中。
修改模块 20, 用于当接收到字符修改命令时, 根据字符修改命令中携 带的字符修改指示信息, 对緩存的字符队列进行修改。
较佳的, 上述修改模块 20, 具体可以包括: 解析单元 201和执行单元
202。
解析单元 201 , 用于对接收到的字符修改命令进行解析, 解析出其中携 带的字符修改指示信息。
执行单元 202 ,用于若解析出字符修改命令中携带的字符修改指示信息 为删除所述字符队列中的选定字符时, 确定所述选定字符在所述字符队列 中所处的位置, 删除字符队列中的选定字符, 并将删除的选定字符所处位 置之后的其他字符在所述字符队列中的位置依次向前移动一个字符位置; 若解析出字符修改命令中携带的字符修改指示信息为更改所述字符队列中 除所述字符队列中位于确定出的字符位置处的所述选定字符, 并将所述字 符修改指示信息中指定的字符存储在确定出的所述字符位置处; 若解析出 字符修改命令中携带的字符修改指示信息为在所述字符队列中插入指定字 符时, 确定所述指定字符在所述字符队列中的待插入位置, 将位于所述待 插入位置及其后面位置的其他字符在所述字符队列中的位置向后移动一个 字符位置, 并在所述待插入位置处插入所述指定字符。
判断模块 30 , 用于判断出是否已緩存全部待发送的 DTMF字符。
发送模块 40, 用于当判断模块 30判断出已緩存全部待发送的 DTMF 字符时, 按照 DTMF字符在所述字符队列中的顺序, 依次向网络侧发送緩 存的字符队列中的 DTMF字符。
较佳的, 上述 DTMF信号发送装置还包括:
显示模块 50, 用于当判断模块 30判断出已緩存全部待发送的 DTMF 字符之后, 从緩存的字符队列中读取緩存的 DTMF字符并显示给用户, 接 收到用户发送的确认指令时通知发送模块 40 执行向网络侧发送緩存的 DTMF字符的步骤。
较佳的, 上述 DTMF信号发送装置还包括:
检查模块 60 , 用于在发送模块向网络侧发送緩存的字符队列中的 DTMF字符之前, 根据 DTMF信号支持的合法字符集, 检查緩存的字符队 列中的 DTMF字符的合法性;若所緩存的 DTMF字符均为 DTMF信号支持 的合法字符集中的字符, 则确认字符队列中的 DTMF字符合法, 并通知发 送模块 40执行向网络侧发送緩存的 DTMF字符的步骤;若检查到所緩存的 DTMF字符中存在 DTMF信号支持的合法字符集之外的其他非法字符, 则 提示用户对检查到的非法字符进行修改。 本发明实施例提供上述双音多频信号发送方法及装置, 通过将待发送 的 DTMF字符緩存在字符队列中, 在通话过程中, 也可以实现对待发送的 DTMF 字符的修改、 删除和插入等编辑操作, 待确认输入正确之后再进行 发送, 避免了现有技术中在 DTMF信号发送过程中修改不便, 必须重新输 入的问题。 提高了 DTMF字符发送的正确性, 方便了用户操作, 便于用户 在业务使用过程中对待发送的 DTMF字符进行编辑操作, 提高了用户使用 交互式控制业务的体验效果。
本申请中还可以提取预先存储的字符串作为待发送的 DTMF字符发送 给网络侧, 避免了用户挂机获取信息, 进一步方便了用户使用。 同时, 由 于对待发送的 DTMF字符,可以进一步方便的回显给用户进行正确性确认, 进一步提高了准确率, 进一步减少了重复操作。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。

Claims

权利要求书
1、 一种双音多频 DTMF信号发送方法, 其特征在于, 包括: 接收到网络侧发送的输入 DTMF 字符的输入指令时, 获取待发送的 DTMF字符并緩存至字符队列中;
当接收到字符修改命令时, 根据字符修改命令中携带的字符修改指示 信息, 对緩存的所述字符队列进行修改;
当判断出已緩存全部待发送的 DTMF字符时, 按照 DTMF字符在所述 字符队列中的顺序, 向网络侧发送緩存的所述字符队列中的 DTMF字符。
2、 如权利要求 1所述的方法, 其特征在于, 所述获取待发送的 DTMF 字符包括: 获取用户输入的或预先存储的 DTMF字符;
所述获取待发送的 DTMF字符并緩存至字符队列中, 具体包括: 逐一获取用户输入的待发送的 DTMF字符, 并按照获取的顺序依次存 储到緩冲区中的所述字符队列中; 或者,
从存储设备中获取预先存储的字符串作为待发送的 DTMF字符并按照 字符串的存储顺序緩存至字符队列中。
3、 如权利要求 1所述的方法, 其特征在于, 所述字符修改命令中携带 的字符修改指示信息包括: 删除所述字符队列中的选定字符、 更改所述字 符队列中的选定字符、 或在所述字符队列中插入指定字符。
4、 如权利要求 3所述的方法, 其特征在于, 所述根据字符修改命令中 携带的字符修改指示信息, 对緩存的所述字符队列进行修改, 具体包括: 对接收到的字符修改命令进行解析, 若解析出其中携带的字符修改指 示信息为删除所述字符队列中的选定字符时, 确定所述选定字符在所述字 符队列中所处的位置;
删除字符队列中的选定字符, 并将删除的选定字符所处位置之后的其 他字符在所述字符队列中的位置依次向前移动一个字符位置。
5、 如权利要求 3所述的方法, 其特征在于, 所述根据字符修改命令中 携带的字符修改指示信息, 对緩存的所述字符队列进行修改, 具体包括: 对接收到的字符修改命令进行解析, 若解析出其中携带的字符修改指 示信息为更改所述字符队列中的选定字符时, 确定所述选定字符在所述字 符队列中所处的字符位置;
删除所述字符队列中位于确定出的字符位置处的所述选定字符, 并将 所述字符修改指示信息中指定的字符存储在确定出的所述字符位置处。
6、 如权利要求 3所述的方法, 其特征在于, 所述根据字符修改命令中 携带的字符修改指示信息, 对緩存的所述字符队列进行修改, 具体包括: 对接收到的字符修改命令进行解析, 若解析出其中携带的字符修改指 示信息为在所述字符队列中插入指定字符时, 确定所述指定字符在所述字 符队列中的待插入位置;
将位于所述待插入位置及其后面位置的其他字符在所述字符队列中的 位置向后移动一个字符位置, 并在所述待插入位置处插入所述指定字符。
7、 如权利要求 1所述的方法, 其特征在于, 所述向网络侧发送緩存的 所述字符队列中的 DTMF字符之前, 还包括:
从緩存的所述字符队列中读取緩存的 DTMF字符并显示给用户; 接收到用户发送的确认指令时, 再执行按照 DTMF字符在所述字符队 列中的顺序, 依次向网络侧发送緩存的所述字符队列中的 DTMF字符的步 骤。
8、 如权利要求 1至 7任一所述的方法, 其特征在于, 所述向网络侧发 送緩存的所述字符队列中的 DTMF字符之前, 还包括:
根据 DTMF 信号支持的合法字符集, 检查緩存的所述字符队列中的 DTMF字符的合法性;
若所緩存的 DTMF字符均为 DTMF信号支持的合法字符集中的字符, 则确认所述字符队列中的 DTMF字符合法;
若检查到所緩存的 DTMF字符中存在 DTMF信号支持的合法字符集之 外的其他非法字符, 则提示用户对检查到的非法字符进行修改。
9、 一种双音多频信号发送装置, 其特征在于, 包括:
緩存模块, 用于接收到网络侧发送的输入 DTMF字符的输入指令时, 获取待发送的 DTMF字符并緩存至字符队列中;
修改模块, 用于当接收到字符修改命令时, 根据字符修改命令中携带 的字符修改指示信息, 对緩存的所述字符队列进行修改;
判断模块, 用于判断出是否已緩存全部待发送的 DTMF字符; 发送模块, 用于当所述判断模块判断出已緩存全部待发送的 DTMF字 符时, 按照 DTMF字符在所述字符队列中的顺序, 向网络侧发送緩存的所 述字符队列中的 DTMF字符。
10、 如权利要求 9所述的装置, 其特征在于, 所述緩存模块, 具体用 于:
接收到网络侧发送的输入 DTMF字符的输入指令时, 逐一获取用户输 入的待发送的 DTMF字符, 并按照获取的顺序依次存储到緩冲区中的所述 字符队列中; 或者,
从存储设备中获取预先存储的字符串作为待发送的 DTMF字符并按照 字符串的存储顺序緩存至字符队列中。
11、 如权利要求 9 所述的装置, 其特征在于, 所述修改模块, 具体包 括:
解析单元, 用于对接收到的字符修改命令进行解析, 解析出其中携带 的字符修改指示信息;
执行单元, 用于若解析出字符修改命令中携带的字符修改指示信息为 删除所述字符队列中的选定字符时, 确定所述选定字符在所述字符队列中 所处的位置, 删除字符队列中的选定字符, 并将删除的选定字符所处位置 之后的其他字符在所述字符队列中的位置依次向前移动一个字符位置; 若 解析出字符修改命令中携带的字符修改指示信息为更改所述字符队列中的 所述字符队列中位于确定出的字符位置处的所述选定字符, 并将所述字符 修改指示信息中指定的字符存储在确定出的所述字符位置处; 若解析出字 符修改命令中携带的字符修改指示信息为在所述字符队列中插入指定字符 时, 确定所述指定字符在所述字符队列中的待插入位置, 将位于所述待插 入位置及其后面位置的其他字符在所述字符队列中的位置向后移动一个字 符位置, 并在所述待插入位置处插入所述指定字符。
12、 如权利要求 9所述的装置, 其特征在于, 所述装置还包括: 显示模块, 用于当所述判断模块判断出已緩存全部待发送的 DTMF字 符之后, 从緩存的所述字符队列中读取緩存的 DTMF字符并显示给用户, 接收到用户发送的确认指令时通知所述发送模块执行向网络侧发送緩存的 DTMF字符的步骤。
13、 如权利要求 9至 12任一所述的装置, 其特征在于, 所述装置还包 括:
检查模块, 用于在所述发送模块向网络侧发送緩存的所述字符队列中 的 DTMF字符之前, 根据 DTMF信号支持的合法字符集, 检查緩存的所述 字符队列中的 DTMF字符的合法性; 若所緩存的 DTMF字符均为 DTMF 信号支持的合法字符集中的字符, 则确认所述字符队列中的 DTMF字符合 法, 并通知所述发送模块执行向网络侧发送緩存的 DTMF字符的步骤; 若 检查到所緩存的 DTMF字符中存在 DTMF信号支持的合法字符集之外的其 他非法字符, 则提示用户对检查到的非法字符进行修改。
PCT/CN2010/080120 2010-04-01 2010-12-22 双音多频信号发送方法及装置 WO2011120318A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020127024688A KR101407369B1 (ko) 2010-04-01 2010-12-22 듀얼 톤 다중 주파수 신호 송신 방법 및 장치
US13/635,467 US20130012169A1 (en) 2010-04-01 2010-12-22 Dual Tone Multi-Frequency Signal Transmission Method and Device
EP10848776.0A EP2538647A4 (en) 2010-04-01 2010-12-22 METHOD AND DEVICE FOR DOUBLE-TONE MULTI-FREQUENCY SIGNAL TRANSMISSION

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010142002.6 2010-04-01
CN201010142002A CN101848286A (zh) 2010-04-01 2010-04-01 双音多频信号发送方法及装置

Publications (1)

Publication Number Publication Date
WO2011120318A1 true WO2011120318A1 (zh) 2011-10-06

Family

ID=42772739

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/080120 WO2011120318A1 (zh) 2010-04-01 2010-12-22 双音多频信号发送方法及装置

Country Status (5)

Country Link
US (1) US20130012169A1 (zh)
EP (1) EP2538647A4 (zh)
KR (1) KR101407369B1 (zh)
CN (1) CN101848286A (zh)
WO (1) WO2011120318A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848286A (zh) * 2010-04-01 2010-09-29 中兴通讯股份有限公司 双音多频信号发送方法及装置
CN102420915A (zh) * 2011-10-20 2012-04-18 中兴通讯股份有限公司 一种发送双音多频信号的方法及装置
CN103248741B (zh) * 2012-02-07 2016-05-04 宇龙计算机通信科技(深圳)有限公司 终端和拨号控制方法
CN103809767A (zh) * 2012-11-06 2014-05-21 中国移动通信集团公司 字符输入处理方法、装置及移动终端
CN103401980A (zh) * 2013-07-16 2013-11-20 广东欧珀移动通信有限公司 一种通信终端的拨号缓存方法
CN106161708B (zh) * 2015-03-31 2019-08-27 Tcl集团股份有限公司 双音多频信息发送、接收方法及发送、接收装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06209276A (ja) * 1992-09-21 1994-07-26 Casio Comput Co Ltd 電子機器及びデータ通信システム
CN1133996A (zh) * 1995-01-06 1996-10-23 富士通株式会社 在字间插入特定字符码的装置和方法
JPH09205664A (ja) * 1996-01-26 1997-08-05 Kokusai Electric Co Ltd トーンダイヤラ及び電話機及び選択呼出受信機
CN1164805A (zh) * 1997-04-18 1997-11-12 孙士奇 一种向文字信息寻呼台传送寻呼信息的方法及其装置
CN1404293A (zh) * 2001-09-06 2003-03-19 中国电信集团公司 固定电话网的信息提供系统
CN101848286A (zh) * 2010-04-01 2010-09-29 中兴通讯股份有限公司 双音多频信号发送方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09501546A (ja) * 1993-05-07 1997-02-10 エロネックス・テクノロジーズ・インコーポレーテッド コンピュータ電話インターフェイス
GB2304217A (en) * 1995-08-11 1997-03-12 Gen Information Systems Ltd Transmitting selection data
BR9806979A (pt) * 1997-11-22 2000-03-14 Samsung Electronics Co Ltda Sistema ótico catadióptrico, captador ótico e unidade de disco ótico empregando o mesmo, e disco ótico
US7020488B1 (en) * 2000-07-19 2006-03-28 Embedded Systems Products Inc. Communications unit, system and methods for providing multiple access to a wireless transceiver
GB0808448D0 (en) * 2008-05-09 2008-06-18 Elync Ltd Secure communication system and method of operating the same
US8782556B2 (en) * 2010-02-12 2014-07-15 Microsoft Corporation User-centric soft keyboard predictive technologies

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06209276A (ja) * 1992-09-21 1994-07-26 Casio Comput Co Ltd 電子機器及びデータ通信システム
CN1133996A (zh) * 1995-01-06 1996-10-23 富士通株式会社 在字间插入特定字符码的装置和方法
JPH09205664A (ja) * 1996-01-26 1997-08-05 Kokusai Electric Co Ltd トーンダイヤラ及び電話機及び選択呼出受信機
CN1164805A (zh) * 1997-04-18 1997-11-12 孙士奇 一种向文字信息寻呼台传送寻呼信息的方法及其装置
CN1404293A (zh) * 2001-09-06 2003-03-19 中国电信集团公司 固定电话网的信息提供系统
CN101848286A (zh) * 2010-04-01 2010-09-29 中兴通讯股份有限公司 双音多频信号发送方法及装置

Also Published As

Publication number Publication date
EP2538647A4 (en) 2013-07-31
KR101407369B1 (ko) 2014-06-13
EP2538647A1 (en) 2012-12-26
CN101848286A (zh) 2010-09-29
KR20120127654A (ko) 2012-11-22
US20130012169A1 (en) 2013-01-10

Similar Documents

Publication Publication Date Title
WO2011120318A1 (zh) 双音多频信号发送方法及装置
US8238922B2 (en) Location-based address normalization
KR101595762B1 (ko) 휴대 단말기의 원격 제어 방법 및 이를 위한 시스템
US20080261657A1 (en) Plug-In Device for Enabling Mobile Telephone to Execute Applications
KR20130130659A (ko) 데이터 전송 방법 및 장치
CN105187384A (zh) 飞行控制方法及装置、电子设备
US20050278177A1 (en) Techniques for interaction with sound-enabled system or service
CN106454541A (zh) 呼叫方法、装置及系统
WO2023226717A1 (zh) 文件传输方法、文件传输装置、服务器及存储介质
CN111738733B (zh) 疑帐作业的处理方法及装置
US20050090282A1 (en) Mobile terminal and method of managing data reception using the mobile terminal
KR101411929B1 (ko) 고객 전화번호 업데이트 장비 및 방법
CN210380947U (zh) 一种分布式通话装置
KR101936596B1 (ko) 데이터 망을 이용한 ars 서비스 제공 방법 및 시스템
US20060019704A1 (en) Integrating wireless telephone with external call processor
WO2018040515A1 (zh) 一种支持语音重传的方法及装置
CN117177215B (zh) 一种国际漫入被叫的接续方法及系统
JP4393925B2 (ja) 固定電話機およびその識別番号付加方法
CN111556187A (zh) 拨号错误回退处理方法及装置、设备、可读存储介质
CN105141791B (zh) 一种双通手机的信息分享方法及系统
KR100434358B1 (ko) 인터넷 전화기의 유알엘 등록 방법
KR20030043856A (ko) 발신자 이미지 표시 휴대전화기 및 그를 이용한 발신자이미지표시 시스템
JP2020141265A (ja) 自動交換機サービス自動試験システム、電話端末の自動交換機サービス自動試験方法、電話端末に接続される外部制御装置、端末制御方法及びプログラム
CN110602290A (zh) 一种分布式通话装置、拨打电话的方法及存储介质
KR100606011B1 (ko) 휴대용 단말기의 콘텐트 관리방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10848776

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13635467

Country of ref document: US

Ref document number: 2010848776

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 8068/CHENP/2012

Country of ref document: IN

ENP Entry into the national phase

Ref document number: 20127024688

Country of ref document: KR

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE