WO2014154049A1 - 一种基于双音多频的定位信息收发方法和装置 - Google Patents
一种基于双音多频的定位信息收发方法和装置 Download PDFInfo
- Publication number
- WO2014154049A1 WO2014154049A1 PCT/CN2014/071297 CN2014071297W WO2014154049A1 WO 2014154049 A1 WO2014154049 A1 WO 2014154049A1 CN 2014071297 W CN2014071297 W CN 2014071297W WO 2014154049 A1 WO2014154049 A1 WO 2014154049A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- combination
- high frequency
- low frequency
- terminal
- positioning information
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/20—Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
Definitions
- the present invention relates to a positioning information transmission technology, and in particular, to a method and apparatus for transmitting and receiving positioning information based on Dual Tone Multi-Frequency (DTMF).
- DTMF Dual Tone Multi-Frequency
- WIFI positioning is also possible.
- Softbank a mobile network operator in Japan boarded the actual location of a large number of WIFI hotspots it belongs to on the server to support the implementation of WIFI positioning.
- In-call positioning is a common application method in the fields of child monitoring and elderly monitoring. This method of triggering passive positioning through other functions can provide good protection for children or the elderly when they encounter bad people, and can send their position in a way that does not alarm the field personnel.
- the embodiment of the present invention mainly provides a method and a device for transmitting and receiving positioning information based on DTMF, which avoids the problem that a transmission trace is left in the mobile phone when the positioning information is sent by using a multimedia message or a short message, and the solution described in the embodiment of the present invention can
- the transmission of the positioning information is guaranteed to be completed only by the service function of the call itself, and the transmission of the positioning information is not affected by the other functions being turned off.
- a DTMF-based positioning information sending method is provided by the embodiment of the present invention, where the method includes:
- the location of the location is initiated, and the location information is encoded into a DTMF signal and then sent to the second terminal.
- the first terminal initiates positioning of itself as:
- the first terminal When the first terminal determines that the second terminal is a user in the address book that allows the location to be directly located, the first terminal directly initiates the location location; or, when the first terminal detects that the button is long pressed, initiates the location location.
- the positioning information is encoded into a DTMF signal and sent to the second terminal: the four letters A, B, C, and D respectively represent east longitude, west longitude, north latitude, and south longitude, with A, B, C, Each of the three data in the back 9 digits of D represents a value, and the data is in decimal format.
- the first three digits represent the degree value, the middle three digits represent the fractional value, and the last three digits represent the seconds value;
- the 20-bit length data combined according to the above format represents the positioning information, and the positioning information is
- the letters and numbers are encoded as DTMF signals in accordance with DTMF encoding rules, and the DTMF signals are superimposed on the voice signal in a communication channel and transmitted to the second terminal.
- the encoding the letters and numbers in the positioning information according to the DTMF encoding rule as
- the DTMF signal is:
- Encode 1 as a combination of low frequency 697 Hz and high frequency 1209 Hz; encode 2 as a combination of low frequency 697 Hz and high frequency 1336 Hz; encode 3 as a combination of low frequency 697 Hz and high frequency 1477 Hz; encode 4 as low frequency 770 Hz and high frequency 1209 Hz Combine; encode 5 as a combination of low frequency 770 Hz and high frequency 1336 Hz; encode 6 as a combination of low frequency 770 Hz and high frequency 1477 Hz; encode 7 as a combination of low frequency 852 Hz and high frequency 1209 Hz; encode 8 as low frequency 852 Hz and high frequency a combination of 1336 Hz; encode 9 as a combination of low frequency 852 Hz and high frequency 1477 Hz; encode 0 as a combination of low frequency 941 Hz and high frequency 1336 Hz;
- A is coded as a combination of low frequency 697 Hz and high frequency 1633 Hz; B is coded as a combination of low frequency 770 Hz and high frequency 1633 Hz; C is coded as a combination of low frequency 852 Hz and high frequency 1633 Hz; D is coded as low frequency 941 Hz and high frequency 1633 Hz combination.
- the method further includes:
- the first terminal sends the location information to the second terminal by SMS, and/or MMS, and/or email.
- a method for receiving positioning information based on DTMF includes:
- the second terminal decodes the received DTMF signal, and when the DTMF signal is determined to be positioning information, the positioning information is saved.
- the second terminal decodes the received DTMF signal, and determines that the DTMF signal is positioning information, including: Decoding the received DTMF signal into a combination of a high frequency and a low frequency signal, and parsing the combination of the high frequency and low frequency signals into letters or numbers according to a DTMF decoding rule; when the parsed signal is A, recording is east longitude When the parsed signal is B, it is recorded as the west longitude; when the parsed signal is C, it is recorded as south latitude; when the parsed signal is D, it is recorded as north latitude; continue to receive the remaining DTMF signal and the letters
- Each of the last 9 bits of data is parsed into a value according to the decimal analysis rule, and the value represented by the first three bits of data is recorded as a degree value, and the value represented by the middle three bits of data is recorded as a fractional value.
- the value represented by the three-digit data is recorded as the second value.
- the DTMF signal is parsed into letters or numbers according to a DTMF decoding rule, and includes:
- the combination of the low frequency 697 Hz and the high frequency 1209 Hz is interpreted as 1; the combination of the low frequency 697 Hz and the high frequency 1336 Hz is interpreted as 2; the combination of the low frequency 697 Hz and the high frequency 1477 Hz is interpreted as 3; the combination of the low frequency 770 Hz and the high frequency 1209 Hz is interpreted as 4; resolve the combination of low frequency 770Hz and high frequency 1336Hz to 5; combine the combination of low frequency 770Hz and high frequency 1477Hz into 6; combine the combination of low frequency 852Hz and high frequency 1209Hz into 7; combine low frequency 852Hz and high frequency 1336Hz The resolution is 8; the combination of the low frequency 852 Hz and the high frequency 1477 Hz is interpreted as 9; the combination of the low frequency 941 Hz and the high frequency 1336 Hz is interpreted as 0;
- the combination of the low frequency 697 Hz and the high frequency 1633 Hz is interpreted as A; the combination of the low frequency 770 Hz and the high frequency 1633 Hz is interpreted as B; the combination of the low frequency 852 Hz and the high frequency 1633 Hz is interpreted as C; and the combination of the low frequency 941 Hz and the high frequency 1633 Hz is interpreted as D.
- the method further includes: the second terminal provides an option for the user to view the map or forward the information operation on the interface; when the second terminal detects that the user selects the forwarding device
- the positioning information is described, the positioning information is edited into a short message, and/or a multimedia message, and/or an email is sent to other terminals.
- a DTMF-based positioning information transmitting apparatus provided by an embodiment of the present invention, the apparatus The method includes: a positioning module, a DTMF encoder, and a positioning information sending module, where the positioning module is configured to initiate positioning of the first terminal after the first terminal establishes a call with the second terminal;
- the DTMF encoder is configured to perform DTMF encoding on the positioning information
- the positioning information sending module is configured to send the encoded DTMF signal to the second terminal.
- the positioning module is further configured to: directly initiate location location when determining that the second terminal is a user that allows location location to be directly initiated in the address book; or, when detecting that the button is long pressed, initiate location location .
- the device further includes: a first message editing module and a first message sending module; when the positioning is completed, but the call has ended,
- the first message editing module is configured to edit the location information into a short message, and/or a multimedia message, and/or an email;
- the first message sending module is configured to send the short message, and/or multimedia message, and/or email to the second terminal.
- the DTMF-based positioning information receiving apparatus includes: a DTMF decoder and a positioning information saving module;
- the DTMF decoder is configured to decode the received DTMF signal, and after determining that the received DTMF signal is the positioning information, send the positioning information to the positioning information saving module; the positioning information saving module is used to save the location Positioning information.
- the device further includes: a second message editing module and a second message sending module, wherein the second message editing module is configured to: when receiving the user forwarding the positioning information instruction, edit the positioning information into a short message, and/or a multimedia message, And/or email;
- the second message sending module is configured to send the location information edited as a short message, and/or a multimedia message, and/or an email to other terminals.
- a method for transmitting and receiving positioning information based on dual-tone multi-frequency DTMF is provided in an embodiment of the present invention, The method includes:
- the first terminal After the first terminal establishes a call with the second terminal, it initiates positioning of its own location. When the positioning is completed during the call, the positioning information is encoded into a DTMF signal and sent to the second terminal.
- the second terminal decodes the received DTMF signal, and when the DTMF signal is determined to be positioning information, the positioning information is saved.
- the method includes:
- the user selects to directly initiate location location after establishing a call to a certain specific user in the first terminal phone book according to the need; or, when a long press of a button is selected, the location location is initiated.
- the positioning information is encoded into a DTMF signal and sent to the second terminal: the four letters A, B, C, and D respectively represent east longitude, west longitude, north latitude, and south longitude, with A, B, C, Each of the three data in the following 9 digits represents a value.
- the data is encoded in decimal format. The first three digits represent the degree value, the middle three digits represent the fractional value, and the last three digits represent the seconds value.
- the formatted 20-bit data represents positioning information, and the letters and numbers in the positioning information are encoded into DTMF signals according to DTMF encoding rules, and the DTMF signals are superimposed on the voice signals in the communication channel and sent to the first Two terminals.
- the letters and numbers in the positioning information are coded as DTMF signals according to the DTMF encoding rule:
- Encode 1 as a combination of low frequency 697 Hz and high frequency 1209 Hz; encode 2 as a combination of low frequency 697 Hz and high frequency 1336 Hz; encode 3 as a combination of low frequency 697 Hz and high frequency 1477 Hz; encode 4 as low frequency 770 Hz and high frequency 1209 Hz Combine; encode 5 as a combination of low frequency 770 Hz and high frequency 1336 Hz; encode 6 as a combination of low frequency 770 Hz and high frequency 1477 Hz; encode 7 as a combination of low frequency 852 Hz and high frequency 1209 Hz; encode 8 as low frequency 852 Hz and high frequency a combination of 1336 Hz; encode 9 as a combination of low frequency 852 Hz and high frequency 1477 Hz; encode 0 as a combination of low frequency 941 Hz and high frequency 1336 Hz; A is coded as a combination of low frequency 697 Hz and high frequency 1633 Hz; B is coded as a combination of low frequency 770 Hz and high frequency 1633 Hz
- the second terminal decodes the received DTMF signal, and determines that the DTMF signal is positioning information, including:
- Each of the last 9 bits of data is parsed into a value according to the decimal analysis rule, and the value represented by the first three bits of data is recorded as a degree value, and the value represented by the middle three bits of data is recorded as a fractional value. The value represented by the three-digit data is recorded as the second value.
- the parsing the DTMF signal into a letter or a number according to a DTMF decoding rule includes:
- the combination of the low frequency 697 Hz and the high frequency 1209 Hz is interpreted as 1; the combination of the low frequency 697 Hz and the high frequency 1336 Hz is interpreted as 2; the combination of the low frequency 697 Hz and the high frequency 1477 Hz is interpreted as 3; the combination of the low frequency 770 Hz and the high frequency 1209 Hz is interpreted as 4; resolve the combination of low frequency 770Hz and high frequency 1336Hz to 5; combine the combination of low frequency 770Hz and high frequency 1477Hz into 6; combine the combination of low frequency 852Hz and high frequency 1209Hz into 7; combine low frequency 852Hz and high frequency 1336Hz The resolution is 8; the combination of the low frequency 852 Hz and the high frequency 1477 Hz is interpreted as 9; the combination of the low frequency 941 Hz and the high frequency 1336 Hz is interpreted as 0;
- the combination of the low frequency 697 Hz and the high frequency 1633 Hz is interpreted as A; the combination of the low frequency 770 Hz and the high frequency 1633 Hz is interpreted as B; the combination of the low frequency 852 Hz and the high frequency 1633 Hz is interpreted as C; and the combination of the low frequency 941 Hz and the high frequency 1633 Hz is interpreted as D.
- the first terminal sends the location information to the second terminal by using a short message, and/or a multimedia message, and/or an email.
- the method further includes: the second terminal provides an option for the user to view the map or forward the information operation on the interface; when the second terminal detects that the user selects the forwarding device
- the positioning information is described, the positioning information is edited into a short message, and/or a multimedia message, and/or an email is sent to other terminals.
- the embodiment of the present invention provides a method and a device for transmitting and receiving positioning information based on DTMF.
- the first terminal After the first terminal establishes a call with the second terminal, the first terminal initiates positioning of the location, and encodes the positioning information into a DTMF signal and sends the information to the second terminal.
- the second terminal can obtain the positioning information by decoding the received DTMF signal; thus, the security and stability of the positioning information transmission can be improved, and the terminal can successfully succeed in the case of no data traffic or WIFI.
- the positioning information is sent to the other party.
- the method in the embodiment of the present invention can further make the transmission of the positioning information more concealed. After the transmission is completed, the transmission trace cannot be queried in the information transmission record, which can be very good for the user. Protection. DRAWINGS
- FIG. 1 is a schematic flowchart of a DTMF-based positioning information sending method according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a DTMF-based positioning information receiving method according to an embodiment of the present invention
- FIG. 3 is a diagram showing an example of processing after a second terminal receives positioning information based on DTMF according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram of a DTMF-based positioning information sending apparatus according to an embodiment of the present disclosure
- FIG. 5 is a schematic structural diagram of a DTMF-based positioning information receiving apparatus according to an embodiment of the present disclosure
- FIG. 6 is a schematic flowchart of a method for transmitting and receiving positioning information based on DTMF according to an embodiment of the present invention. detailed description
- DTMF technology is a major method of transmitting voice over a voice channel in a voice call. It was invented by Bell Labs and can be used to transmit signaling over an analog voice channel. It represents a number by superposition of two frequency signals in the time domain. As shown in Table 1, it is a digital diagram represented by the frequency superposition of DTMF.
- DTMF superimposes a higher frequency signal and a lower frequency signal to represent numbers, letters or symbols. This feature makes it easy to distinguish and identify information sent via DTMF even if it is mixed in speech.
- the location of the first terminal is initiated, and the location information is encoded as a DTMF signal and sent to the second terminal; the second terminal decodes the received DTMF signal, and determines When the DTMF signal is positioning information, the positioning information is saved.
- a first embodiment of the present invention implements a DTMF-based positioning information sending method.
- the method is shown in Figure 1.
- the method mainly includes the following steps: Step 101: After the first terminal establishes a call with the second terminal, the location of the location is initiated by the first terminal.
- the first terminal and the second terminal are only used to distinguish different terminals, and are not used for limitation.
- the first terminal sets a visualized interface, so that the user can set the location positioning of the user by triggering the mechanism, and the user can set a position directly with the certain person after establishing the call.
- the user can set the location of the user who saves the name as the father or the mother in the phone book to directly initiate the location of the user after establishing the call.
- the number of users in the phone book that can be set to directly initiate the positioning is not performed.
- the user can also set the position of the user to automatically initiate a position when the button on the first terminal is pressed during the call.
- the user can set the button to automatically press the button when the volume is adjusted during the call.
- Positioning of its own position in this way, when the user encounters an emergency situation, long press the button for adjusting the sound during the call, the first terminal automatically initiates the positioning of the user's location area; the user can also set and press other buttons as needed. For example: * key, # key, number key, etc. Positioning itself trigger position, where no restrictions;
- Step 102 The first terminal encodes the location information into a DTMF signal and sends the message to the second terminal. After the user triggers the location location of the user in the manner described in step 101, if the location is completed before the call ends, Performing DTMF encoding on the positioning information, and then transmitting the encoded DTMF signal to the second terminal after being superimposed with the voice signal in the communication channel during the call;
- the DTMF signal is essentially a combination of two simultaneously transmitted signal frequencies. As can be seen from Table 1, each symbol is uniquely determined by a high frequency signal and a low frequency signal, and the frequency combination can be superimposed and transmitted in the call voice, second.
- the terminal can restore the number or symbol it represents by identifying such a frequency combination from the frequency domain;
- the four letters are used to indicate east longitude, west longitude, north latitude and south longitude.
- the length of the positioning information is the letter A indicating the east longitude or the west longitude or the indication north or south.
- the length of the latitude letter or 0, plus the length of the 9-bit data after the two letters, is a total of 20 bits of data.
- every three digits of the following 9-bit data of the letters A, B, C, and D represent a value
- the three-bit data is encoded in a decimal format to represent the positioning information by 20-bit data combined according to the above format.
- a decimal format For example, Tokyo 35 degrees 5 minutes 6 seconds, north latitude 120 degrees 10 minutes 8 seconds can uniquely determine the geographical location of the target, and this set of information is expressed by DTMF code: A035005006C120010008 form.
- the location information indicates more than one format.
- the positioning information of the above format is DTMF-encoded, that is, the letters and numbers are respectively encoded into corresponding low-frequency and high-frequency signals.
- the letters and numbers in the foregoing positioning information are encoded into DTMF signals according to DTMF encoding rules:
- Encode 1 as a combination of low frequency 697 Hz and high frequency 1209 Hz; encode 2 as a combination of low frequency 697 Hz and high frequency 1336 Hz; encode 3 as a combination of low frequency 697 Hz and high frequency 1477 Hz; encode 4 as low frequency 770 Hz and high frequency 1209 Hz Combine; encode 5 as a combination of low frequency 770 Hz and high frequency 1336 Hz; encode 6 as a combination of low frequency 770 Hz and high frequency 1477 Hz; encode 7 as a combination of low frequency 852 Hz and high frequency 1209 Hz; encode 8 as low frequency 852 Hz and high frequency a combination of 1336 Hz; encode 9 as a combination of low frequency 852 Hz and high frequency 1477 Hz; encode 0 as a combination of low frequency 941 Hz and high frequency 1336 Hz;
- A is coded as a combination of low frequency 697 Hz and high frequency 1633 Hz; B is coded as a combination of low frequency 770 Hz and high frequency 1633 Hz; C is coded as a combination of low frequency 852 Hz and high frequency 1633 Hz; D is coded as low frequency 941 Hz and high frequency 1633 Hz Combination
- the DTMF signal is And superimposed with the voice signal in the communication channel and then sent to the second terminal.
- the method further includes: if the location of the location is completed, the two parties have finished the call, and the first terminal sends the location information to the second terminal by using a short message, a multimedia message or an email, where the short message, the multimedia message, the email can be used.
- a short message a multimedia message or an email
- the short message the multimedia message, the email can be used.
- One of the ways to transmit you can also use any of the above methods in combination. In this way, the positioning information can be accurately and quickly sent out when the talk time is too short and it is not enough to complete the positioning during the call time.
- Embodiment 2 of the present invention provides a DTMF-based positioning information receiving method.
- the method flow diagram is shown in FIG. 2, and the method includes the following steps:
- Step 201 The second terminal decodes the received DTMF signal.
- the second terminal is a terminal capable of decoding the received DTMF signal into positioning information
- the received DTMF signal is decoded, and the DTMF signal is determined as positioning information, including: the second terminal continuously performs frequency domain processing on the received voice signal during the call, if the DTMF signal is received. First parsing the DTMF signal into a corresponding frequency combination, that is, a combination of a high frequency signal and a low frequency signal, and then parsing the combination of the high frequency and low frequency signals into letters or numbers according to a DTMF decoding rule;
- the parsing the DTMF signal into a letter or a number according to a DTMF encoding rule includes:
- the combination of the low frequency 697 Hz and the high frequency 1209 Hz is interpreted as 1; the combination of the low frequency 697 Hz and the high frequency 1336 Hz is interpreted as 2; the combination of the low frequency 697 Hz and the high frequency 1477 Hz is interpreted as 3; the combination of the low frequency 770 Hz and the high frequency 1209 Hz is interpreted as 4; resolve the combination of low frequency 770Hz and high frequency 1336Hz to 5; combine the combination of low frequency 770Hz and high frequency 1477Hz into 6; combine the combination of low frequency 852Hz and high frequency 1209Hz into 7; combine low frequency 852Hz and high frequency 1336Hz Analyzed to 8; the combination of low frequency 852Hz and high frequency 1477Hz is resolved to 9; low frequency 941Hz and high frequency The combination of 1336Hz is resolved to 0; in addition,
- the parsed DTMF signal is continuously judged. If the resolved frequency combination corresponds to one of A, B, C, and D, it is recorded as latitude and longitude information, specifically, when parsed signal When it is A, it is recorded as east longitude; when the parsed signal is B, it is recorded as west longitude; when the parsed signal is C, it is recorded as south latitude; when the parsed signal is D, it is recorded as north latitude;
- Step 202 When the second terminal determines that the DTMF signal is positioning information, save the positioning information.
- the second terminal After successfully parsing the DTMF signal and determining that it is the positioning information, the second terminal saves the received information;
- the second terminal can further perform the operation on the positioning information, including: the user selects to enter the corresponding application according to the application menu set by the second terminal;
- the pop-up of the application menu may be popped before the call ends or after the call ends, or before and after the call ends;
- the user can view the map and forward the information by selecting an option in the application menu.
- the second terminal automatically calls the map stored inside the terminal or on the network side, and marks the latitude and longitude information in the corresponding position of the map. , so that the user can clearly see the location information of the other party; additionally, after viewing the map, the user can also select a function of saving or forwarding the map image;
- the second terminal edits the information, and then sends the edited positioning information to other terminal users.
- FIG. 3 it is an example of processing after receiving the DTMF-based positioning information by the second terminal in the embodiment of the present invention
- FIG. 3 (1) is a call recording screen after receiving the positioning information by using DTMF during the call.
- the screen also adds the location information of the other party, and provides a menu for the user to select whether to enter the map view, or directly forward the location information;
- the screen shown in FIG. 3 ( 2 ) is entered.
- the second terminal calls the map stored in the terminal or on the network side, and the latitude and longitude information is marked on the corresponding position of the map, so that the user can clearly Seeing the location information of the other party, the specific location of the first terminal user is indicated by 301 in FIG. 3 ( 2 ).
- the interface can also provide functions such as saving pictures, forwarding pictures, and the like;
- the second terminal adds the map image to the information for editing, and then the user sends the edited information to other terminal users;
- the subsequent location information of the corresponding call can be viewed through the call record.
- the positioning result can be directly called in the call record.
- the third embodiment of the present invention provides a DTMF-based positioning information sending apparatus, which is located in the first terminal.
- the apparatus includes: a positioning module 41, a DTMF encoder 42 and positioning information. a sending module 43; wherein The positioning module 41 is configured to initiate positioning of the first terminal after the first terminal establishes a call with the second terminal;
- the DTMF encoder 42 is configured to perform DTMF encoding on the positioning information
- the positioning information sending module 43 is configured to send the encoded DTMF signal to the second terminal.
- the DTMF encoder 42 performs DTMF encoding on the positioning information as: A, B, C, and D letters respectively indicate east longitude, west longitude, north latitude, and south latitude, with A, B, C, and D behind 9
- Each three digits of the bit data represents a value, the data is encoded in a decimal manner, the first three digits represent the degree value, the middle three digits represent the fractional value, and the last three digits represent the seconds value;
- the data of 20 bits in length represents positioning information, and the letters and numbers in the positioning information are encoded into DTMF signals according to DTMF encoding rules.
- the encoding the letters and numbers in the positioning information into DTMF signals according to the DTMF encoding rule is:
- Encode 1 as a combination of low frequency 697 Hz and high frequency 1209 Hz
- encode 2 as a combination of low frequency 697 Hz and high frequency 1336 Hz
- encode 3 as a combination of low frequency 697 Hz and high frequency 1477 Hz
- encode 4 as low frequency 770 Hz and high frequency 1209 Hz
- encode 5 as a combination of low frequency 770 Hz and high frequency 1336 Hz
- encode 6 as a combination of low frequency 770 Hz and high frequency 1477 Hz
- encode 7 as a combination of low frequency 852 Hz and high frequency 1209 Hz
- encode 8 as low frequency 852 Hz and high frequency Combination of 1336 Hz
- encode 9 as a combination of low frequency 852 Hz and high frequency 1477 Hz
- encode 0 as a combination of low frequency 941 Hz and high frequency 1336 Hz
- A is coded as a combination of low frequency 697 Hz and high frequency 1633 Hz; B is coded as a combination of low frequency 770 Hz and high frequency 1633 Hz; C is coded as a combination of low frequency 852 Hz and high frequency 1633 Hz; D is coded as low frequency 941 Hz and high frequency 1633 Hz combination.
- the positioning module 41 is further configured to directly initiate location positioning when determining that the second terminal is a user in the address book that allows direct location location to be initiated; or, when the button is detected When a long press is pressed, the location is initiated.
- the device further includes: a first message editing module 44 and a first message sending module 45; when the positioning is completed, but the call has ended, the shell 'J,
- the first message editing module 44 is configured to edit the location information into a short message, and/or a multimedia message, and/or an email;
- the first message sending module 45 is configured to send the positioning information edited as a short message, and/or a multimedia message, and/or an email to the second terminal.
- the fourth embodiment of the present invention provides a DTMF-based positioning information receiving device, which is located in the second terminal, as shown in FIG. 5, the device includes: a DTMF decoder 51, a positioning information saving module 52; among them,
- the DTMF decoder 51 is configured to decode the received DTMF signal, and after determining that the received DTMF signal is the positioning information, send the positioning information to the positioning information saving module 52;
- the location information saving module 52 is configured to save the location information.
- the DTMF decoder 51 decodes the received DTMF signal, including: decoding the received DTMF signal into a combination of a high frequency and a low frequency signal, and the high frequency and low frequency signals according to a DTMF decoding rule.
- the combination is parsed into letters or numbers; when the parsed signal is A, it is recorded as east longitude; when the parsed signal is B, it is recorded as west longitude; when the parsed signal is C, it is recorded as south latitude; When the signal is D, it is recorded as north latitude; continue to receive the remaining DTMF signal and parse each three digits of the 9-bit data into a value according to the decimal resolution rule, and record the value represented by the first three digits of data. For the degree value, the value represented by the middle three digits of data is recorded as a fractional value, and the value represented by the last three digits of data is recorded as a second value.
- the parsing the DTMF signal into a letter or a number according to a DTMF decoding rule includes: The combination of the low frequency 697 Hz and the high frequency 1209 Hz is interpreted as 1; the combination of the low frequency 697 Hz and the high frequency 1336 Hz is interpreted as 2; the combination of the low frequency 697 Hz and the high frequency 1477 Hz is interpreted as 3; the combination of the low frequency 770 Hz and the high frequency 1209 Hz is interpreted as 4; resolve the combination of low frequency 770Hz and high frequency 1336Hz to 5; combine the combination of low frequency 770Hz and high frequency 1477Hz into 6; combine the combination of low frequency 852Hz and high frequency 1209Hz into 7; combine low frequency 852Hz and high frequency 1336Hz The resolution is 8; the combination of the low frequency 852 Hz and the high frequency 1477 Hz is interpreted as 9; the combination of the low frequency 941 Hz and the high frequency 1336 Hz is interpreted as 0;
- the positioning information receiving apparatus further includes: a second message editing module 53 and a second message sending module 54, a map module 55, wherein
- the second message editing module 53 is configured to: when receiving the user forwarding location information instruction, edit the location information into at least one of a short message, a multimedia message, or an email;
- the second message sending module 54 is configured to send the location information edited as a short message, and/or a multimedia message, and/or an email to other terminals;
- the map module 55 is configured to, after receiving the user viewing the map instruction, invoke the local or network side map, and display the latitude and longitude information on the corresponding position of the map to be displayed to the user.
- the map image may be saved when the user selects to save the map image; or when the user selects the image forwarding instruction, the image is forwarded.
- the specific forwarding mode is: when the map module 55 detects that the user selects the forwarding picture instruction, the map picture is sent to the second message editing module 53, and the second message editing module 53 is called to perform the message editing operation. After the editing is completed, the second mode is passed.
- the message sending module 54 sends the message to other user terminals.
- Embodiment 5 A fifth embodiment of the present invention provides a method for transmitting and receiving positioning information based on dual-tone multi-frequency DTMF. The specific process is shown in FIG. 6. The method includes the following steps:
- Step 601 After the first terminal establishes a call with the second terminal, the first terminal locates the location of the location, and the first terminal encodes the location information into a DTMF signal and sends the message to the second terminal.
- the first terminal After the first terminal establishes a call with the second terminal, the first terminal determines that the second terminal is a user in the address book that directly initiates location location, and directly initiates location location. Or, when the first terminal detects that the button is long pressed, the location is initiated.
- the encoding information is encoded into a DTMF signal and sent to the second terminal: the four letters A, B, C, and D respectively represent east longitude, west longitude, north latitude, and south longitude, followed by A, B, C, and D.
- Each of the 9-bit data represents a value.
- the data is encoded in decimal format. The first three digits represent the degree value, the middle three digits represent the fractional value, and the last three digits represent the seconds value.
- the data of length 20 bits represents positioning information, and the letters and numbers in the positioning information are encoded into DTMF signals according to DTMF encoding rules, and the DTMF signals are superimposed on the voice signals in the communication channel and sent to the second terminal. .
- the encoding the letters and numbers in the positioning information into DTMF signals according to the DTMF encoding rule is:
- Encode 1 as a combination of low frequency 697 Hz and high frequency 1209 Hz; encode 2 as a combination of low frequency 697 Hz and high frequency 1336 Hz; encode 3 as a combination of low frequency 697 Hz and high frequency 1477 Hz; encode 4 as low frequency 770 Hz and high frequency 1209 Hz Combine; encode 5 as a combination of low frequency 770 Hz and high frequency 1336 Hz; encode 6 as a combination of low frequency 770 Hz and high frequency 1477 Hz; encode 7 as a combination of low frequency 852 Hz and high frequency 1209 Hz; encode 8 as low frequency 852 Hz and high frequency a combination of 1336 Hz; encode 9 as a combination of low frequency 852 Hz and high frequency 1477 Hz; encode 0 as a combination of low frequency 941 Hz and high frequency 1336 Hz;
- the fifth embodiment of the present invention further provides a method for transmitting and receiving positioning information, which can combine the method for transmitting and receiving positioning information by using the DTMF method with the existing method for transmitting positioning information, during the call time. If it is too short to complete the positioning, the positioning information can still be sent accurately and quickly.
- the method specifically includes: if the location of the location is completed, but the two parties have finished the call, the first terminal may send the location information to the second terminal by using a short message, and/or a multimedia message, and/or an email.
- Step 602 The second terminal decodes the received DTMF signal, and determines that the DTMF signal is the positioning information, and saves the positioning information.
- the second terminal decodes the received DTMF signal, and determines that the DTMF signal is location information, including:
- Each of the last 9 bits of data is parsed into a value according to the decimal analysis rule, and the value represented by the first three bits of data is recorded as a degree value, and the value represented by the middle three bits of data is recorded as a fractional value. The value represented by the three-digit data is recorded as the second value.
- the parsing the DTMF signal into a letter or a number according to a DTMF decoding rule includes:
- the combination of low frequency 770 Hz and high frequency 1209 Hz is resolved to 4; the combination of low frequency 770 Hz and high frequency 1336 Hz is interpreted as 5; the combination of low frequency 770 Hz and high frequency 1477 Hz is interpreted as 6; the combination of low frequency 852 Hz and high frequency 1209 Hz is analyzed as 7
- the combination of the low frequency 852 Hz and the high frequency 1336 Hz is interpreted as 8; the combination of the low frequency 852 Hz and the high frequency 1477 Hz is interpreted as 9; the combination of the low frequency 941 Hz and the high frequency 1336 Hz is interpreted as 0;
- the method further includes: the second terminal provides an option for the user to view the map or forward the information on the interface; when the second terminal detects that the user selects to forward the positioning When the information is used, the positioning information is edited as a short message, and/or a multimedia message, and/or an email is sent to other terminals.
- the user may also select to view the map or forward the information through the corresponding option in the second terminal application menu.
- the first terminal invokes a map stored in the terminal or on the network side, and displays the latitude and longitude information on the corresponding position of the map for display; after viewing the map image, the user may select to save or forward the image;
- the second terminal edits the picture into a multimedia message and/or mail and sends it to other terminals.
- the second terminal edits the location information into one or more of a short message, a multimedia message, or a mail, and then sends the location information to other terminal users.
- the present invention After the first terminal establishes a call with the second terminal, the present invention initiates location positioning of itself, and encodes the positioning information into a DTMF signal and sends the DTMF signal to the second terminal, and the second terminal decodes the received DTMF signal.
- the positioning information can improve the security and stability of the positioning information transmission, and ensure that the terminal can successfully succeed in the absence of data traffic or WIFI.
- the positioning information of the present invention is sent to the other party; and the method of the present invention can also make the transmission of the positioning information more concealed. After the transmission is completed, the transmission trace cannot be queried in the information transmission record, which can be very good for the user. Protective effects.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种基于双音多频(DTMF)的定位信息收发方法,第一终端与第二终端建立通话后,发起对自身的位置定位;第一终端将定位信息编码为DTMF信号发送给第二终端;第二终端对接收到的DTMF信号进行解码;第二终端确定所述DTMF信号为定位信息时,保存所述定位信息;本发明同时还公开了一种基于DTMF的定位信息收发装置,通过本发明的方案,在没有数据流量或WIFI的情况下,终端也能够成功的将自己的定位信息发送给对方,能够提高定位信息发送的安全性和稳定性;另外,本发明所述方法还能使定位信息的发送更加隐蔽,传输完毕后,在信息发送记录中无法查询出发送痕迹,这对使用者能够起到非常好的保护作用。
Description
一种基于双音多频的定位信息收发方法和装置 技术领域
本发明涉及定位信息传输技术, 尤其涉及一种基于双音多频(DTMF, Dual Tone Multi-Frequency ) 的定位信息收发方法和装置。 背景技术
随着移动终端越来越普及, 手机定位技术的应用场景也越来越广泛。 目前, 国内在手机领域常用的定位技术有 GPS定位、 小区定位, 在一些发 达国家, 还可以进行 WIFI定位。 例如, 日本软银( softbank, 日本的一家 移动网络运营商)就将其所属的大量 WIFI 热点的实际位置在服务器上登 陆, 用于支持 WIFI定位的实施。
在实际应用中, 手机定位技术的发展给用户提供了众多新的功能和应 用场景。 在软银目前的儿童机上, 已经实现了多种与定位相关的新功能, 其中十分实用的一个功能是: 当儿童长按手机上的拨出键时, 手机就会自 动拨打电话给预设好的亲人, 并同时启动对自身所处位置的定位, 定位结 束后自动的将自身的位置信息通过彩信发送到预设好的亲人所使用的手机 上。 这个功能受到了市场上广泛欢迎。
通话中定位是在儿童监护、 老人监控等领域常见的应用方法。 这种通 过其它功能的操作触发被动定位的方式在儿童或老人遇到坏人时能够起到 良好的保护效果, 同时能以尽量不惊动现场人员的方式将自己的位置发送 出去。
但是这种方式在一些场景下也有一定的缺点。 首先, 发送彩信等业务 必须依靠数据流量或者连接到 WIFI热点上才能进行, 而数据流量和 WIFI 业务在目前的智能手机上可以方便的人为关闭或者开启, WIFI也并不能保
证每时每刻都有能够连接的热点。 在这种情况下, 如果犯罪分子有意识的 关闭数据流量和 WIFI业务, 儿童机通过 GPS定位获得的结果就不能有效 的发送给自己亲人。
其次, 以信息发送定位结果的方式会在手机中留下发送痕迹, 这是容 易被发现的, 在一些极端的情况下, 这种定位发送痕迹很可能会使犯罪分 子产生更换地点, 甚至一些十分极端的想法, 反而会对儿童的保护产生更 加不利的影响。 发明内容
本发明实施例主要提供一种基于 DTMF的定位信息收发方法和装置, 避免通过彩信、 短信等方式发送定位信息时会在手机中留下发送痕迹的问 题, 同时, 本发明实施例所述方案能够保证定位信息的发送仅仅依靠通话 本身的业务功能来完成, 不会由于其他功能关闭而对定位信息的发送产生 影响。
本发明实施例的技术方案是这样实现的:
本发明实施例提供的一种基于 DTMF的定位信息发送方法, 所述方法 包括:
第一终端与第二终端建立通话后, 发起对自身的位置定位, 并将定位 信息编码为 DTMF信号后发送给第二终端。
上述方案中, 所述第一终端发起对自身的位置定位为:
所述第一终端确定所述第二终端为通讯录中允许直接发起位置定位的 用户时, 直接发起位置定位; 或者, 所述第一终端检测到按键被长按时, 发起位置定位。
上述方案中, 所述将定位信息编码为 DTMF信号发送给第二终端为: 以 A、 B、 C、 D四个字母分别表示东经、 西经、 北纬和南纬, 以 A、 B、 C、 D后面 9位数据中每三位数据代表一个数值, 数据采用 10进制方式
进行编码, 前三位数据代表度数值, 中间三位数据代表分数值, 后三位数 据代表秒数值; 以依照上述格式组合而成的长度为 20位的数据表示定位信 息, 将定位信息中的字母和数字按照 DTMF编码规则编码为 DTMF信号, 并在通信信道中将所述 DTMF信号叠加在语音信号里发送给第二终端。
较佳的, 所述将定位信息中的字母和数字按照 DTMF编码规则编码为
DTMF信号为:
将 1编码为低频 697Hz和高频 1209Hz的组合;将 2编码为低频 697Hz 和高频 1336Hz的组合; 将 3编码为低频 697Hz和高频 1477Hz的组合; 将 4编码为低频 770Hz和高频 1209Hz的组合;将 5编码为低频 770Hz和高频 1336Hz的组合; 将 6编码为低频 770Hz和高频 1477Hz的组合; 将 7编码 为低频 852Hz和高频 1209Hz的组合;将 8编码为低频 852Hz和高频 1336Hz 的组合; 将 9编码为低频 852Hz和高频 1477Hz的组合; 将 0编码为低频 941Hz和高频 1336Hz的组合; 另夕卜,
将 A编码为低频 697Hz和高频 1633Hz的组合;将 B编码为低频 770Hz 和高频 1633Hz的组合; 将 C编码为低频 852Hz和高频 1633Hz的组合; 将 D编码为低频 941Hz和高频 1633Hz的组合。
上述方案中, 所述方法还包括:
当定位完成、 但通话已经结束时, 所述第一终端将定位信息以短信、 和 /或彩信、 和 /或电子邮件发送给第二终端。
本发明实施例提供的一种基于 DTMF的定位信息接收方法, 所述方法 包括:
第二终端对接收到的 DTMF信号进行解码, 确定所述 DTMF信号为定位 信息时, 保存所述定位信息。
上述方案中, 所述第二终端对接收到的 DTMF信号进行解码, 确定所 述 DTMF信号为定位信息, 包括:
将接收到的 DTMF信号解码为一个高频和一个低频信号的组合, 按 DTMF解码规则将所述高频和低频信号的组合解析为字母或者数字;当解析 到的信号为 A时, 记录为东经; 当解析到的信号为 B时, 记录为西经; 当解 析到的信号为 C时, 记录为南纬; 解析到的信号为 D时, 记录为北纬; 继续 接收剩余的 DTMF信号并将字母后 9位数据中每三位数据按照 10进制解析规 则解析为一个数值, 将前三位数据所代表的数值记录为度数值, 将中间三 位数据所代表的数值记录为分数值, 将后三位数据所代表的数值记录为秒 数值。
较佳的, 所述按 DTMF解码规则将所述 DTMF信号解析为字母或者数 字, 包括:
将低频 697Hz和高频 1209Hz的组合解析为 1 ; 将低频 697Hz和高频 1336Hz的组合解析为 2; 将低频 697Hz和高频 1477Hz的组合解析为 3 ; 将 低频 770Hz和高频 1209Hz的组合解析为 4; 将低频 770Hz和高频 1336Hz 的组合解析为 5;将低频 770Hz和高频 1477Hz的组合解析为 6;将低频 852Hz 和高频 1209Hz的组合解析为 7; 将低频 852Hz和高频 1336Hz的组合解析 为 8; 将低频 852Hz和高频 1477Hz的组合解析为 9; 将低频 941Hz和高频 1336Hz的组合解析为 0; 另外,
将低频 697Hz和高频 1633Hz的组合解析为 A; 将低频 770Hz和高频 1633Hz的组合解析为 B; 将低频 852Hz和高频 1633Hz的组合解析为 C; 将低 频 941Hz和高频 1633Hz的组合解析为 D。
上述方案中, 所述第二终端保存所述定位信息之后, 所述方法还包括: 第二终端在界面上为用户提供查看地图或者转发信息操作的选项; 当第二终端检测到用户选择转发所述定位信息时, 将所述定位信息编 辑为短信、 和 /或彩信、 和 /或电子邮件发送给其他终端。
本发明实施例提供的一种基于 DTMF的定位信息发送装置, 所述装置
包括: 定位模块、 DTMF编码器、 定位信息发送模块; 其中, 所述定位模块, 用于在第一终端与第二终端建立通话后, 发起对第一 终端的位置定位;
所述 DTMF编码器, 用于对定位信息进行 DTMF编码;
所述定位信息发送模块,用于将编码后的 DTMF信号发送给第二终端。 上述装置中, 所述定位模块还用于, 在确定所述第二终端为通讯录中 允许直接发起位置定位的用户时, 直接发起位置定位; 或者, 在检测到按 键被长按时, 发起位置定位。
上述装置还包括: 第一消息编辑模块和第一消息发送模块; 当定位完 成、 但通话已经结束时,
所述第一消息编辑模块, 用于将定位信息编辑为短信、 和 /或彩信、 和 / 或电子邮件;
所述第一消息发送模块, 用于将所述短信、 和 /或彩信、 和 /或电子邮件 发送到第二终端。
本发明实施例提供的一种基于 DTMF的定位信息接收装置, 所述装置 包括: DTMF解码器、 定位信息保存模块; 其中,
所述 DTMF解码器, 用于对接收到的 DTMF信号进行解码, 在确定接 收到的 DTMF信号为定位信息后, 将定位信息发送给定位信息保存模块; 所述定位信息保存模块, 用于保存所述定位信息。
上述装置还包括: 第二消息编辑模块和第二消息发送模块, 其中, 所述第二消息编辑模块, 用于接收到用户转发定位信息指令时, 将定 位信息编辑为短信、 和 /或彩信、 和 /或电子邮件;
所述第二消息发送模块, 用于将编辑为短信、 和 /或彩信、 和 /或电子邮 件的定位信息发送给其他终端。
本发明实施例提供的一种基于双音多频 DTMF的定位信息收发方法,
所述方法包括:
第一终端与第二终端建立通话后, 发起对自身位置定位, 当通话过程 中完成定位时, 将定位信息编码为 DTMF信号发送给第二终端;
第二终端对接收到的 DTMF信号进行解码, 确定所述 DTMF信号为定位 信息时, 保存所述定位信息。
上述方案中, 所述第一终端与第二终端建立通话后, 发起对自身位置 定位之前, 所述方法包括:
用户根据需要选择对第一终端电话簿中某几个特定用户建立通话后直 接发起位置定位; 或者, 选择长按某个按键时发起位置定位。
上述方案中, 所述将定位信息编码为 DTMF信号发送给第二终端为: 以 A、 B、 C、 D四个字母分别表示东经、 西经、 北纬和南纬, 以 A、 B、 C、 D后面 9位数据中每三位数据代表一个数值, 数据采用 10进制方式 进行编码, 前三位数据代表度数值, 中间三位数据代表分数值, 后三位数 据代表秒数值; 以依照上述格式组合而成的长度为 20位的数据表示定位信 息, 将定位信息中的字母和数字按照 DTMF编码规则编码为 DTMF信号, 并在通信信道中将所述 DTMF信号叠加在语音信号里发送给第二终端。
上述方案中, 所述将定位信息中的字母和数字按照 DTMF编码规则编 码为 DTMF信号为:
将 1编码为低频 697Hz和高频 1209Hz的组合;将 2编码为低频 697Hz 和高频 1336Hz的组合; 将 3编码为低频 697Hz和高频 1477Hz的组合; 将 4编码为低频 770Hz和高频 1209Hz的组合;将 5编码为低频 770Hz和高频 1336Hz的组合; 将 6编码为低频 770Hz和高频 1477Hz的组合; 将 7编码 为低频 852Hz和高频 1209Hz的组合;将 8编码为低频 852Hz和高频 1336Hz 的组合; 将 9编码为低频 852Hz和高频 1477Hz的组合; 将 0编码为低频 941Hz和高频 1336Hz的组合; 另夕卜,
将 A编码为低频 697Hz和高频 1633Hz的组合;将 B编码为低频 770Hz 和高频 1633Hz的组合; 将 C编码为低频 852Hz和高频 1633Hz的组合; 将 D编码为低频 941Hz和高频 1633Hz的组合。
上述方案中, 所述第二终端对接收到的 DTMF信号进行解码, 确定所 述 DTMF信号为定位信息, 包括:
将接收到的 DTMF信号解码为一个高频和一个低频信号的组合, 按 DTMF解码规则将所述高频和低频信号的组合解析为字母或者数字;当解析 到的信号为 A时, 记录为东经; 当解析到的信号为 B时, 记录为西经; 当解 析到的信号为 C时, 记录为南纬; 解析到的信号为 D时, 记录为北纬; 继续 接收剩余的 DTMF信号并将字母后 9位数据中每三位数据按照 10进制解析规 则解析为一个数值, 将前三位数据所代表的数值记录为度数值, 将中间三 位数据所代表的数值记录为分数值, 将后三位数据所代表的数值记录为秒 数值。
上述方案中, 所述按 DTMF解码规则将所述 DTMF信号解析为字母或者 数字, 包括:
将低频 697Hz和高频 1209Hz的组合解析为 1 ; 将低频 697Hz和高频 1336Hz的组合解析为 2; 将低频 697Hz和高频 1477Hz的组合解析为 3 ; 将 低频 770Hz和高频 1209Hz的组合解析为 4; 将低频 770Hz和高频 1336Hz 的组合解析为 5;将低频 770Hz和高频 1477Hz的组合解析为 6;将低频 852Hz 和高频 1209Hz的组合解析为 7; 将低频 852Hz和高频 1336Hz的组合解析 为 8; 将低频 852Hz和高频 1477Hz的组合解析为 9; 将低频 941Hz和高频 1336Hz的组合解析为 0; 另外,
将低频 697Hz和高频 1633Hz的组合解析为 A; 将低频 770Hz和高频 1633Hz的组合解析为 B; 将低频 852Hz和高频 1633Hz的组合解析为 C; 将低 频 941Hz和高频 1633Hz的组合解析为 D。
上述方案中, 当定位完成、 但通话已经结束时, 所述第一终端将定位 信息以短信、 和 /或彩信、 和 /或电子邮件发送给第二终端。
上述方案中, 所述第二终端保存所述定位信息后, 所述方法还包括: 第二终端在界面上为用户提供查看地图或者转发信息操作的选项; 当第二终端检测到用户选择转发所述定位信息时, 将所述定位信息编 辑为短信、 和 /或彩信、 和 /或电子邮件发送给其他终端。
本发明实施例提供了一种基于 DTMF的定位信息收发方法和装置, 第 一终端与第二终端建立通话后, 发起对自身的位置定位, 并将定位信息编 码为 DTMF信号发送给第二终端; 而第二终端对接收到的 DTMF信号进行 解码则可得到定位信息; 如此, 能够提高定位信息传输的安全性和稳定性, 保证在没有数据流量或 WIFI的情况下,终端也能够成功的将自己的定位信 息发送给对方; 另外, 本发明实施例所述方法还能使定位信息的传输更加 隐蔽, 传输完毕后, 在信息发送记录中无法查询出发送痕迹, 这对使用者 能够起到非常好的保护作用。 附图说明
图 1为本发明实施例提供的基于 DTMF的定位信息发送方法的流程示 意图;
图 2为本发明实施例提供的基于 DTMF的定位信息接收方法的流程示 意图;
图 3为本发明实施例中第二终端在接收到基于 DTMF的定位信息后的 处理示例图;
图 4为本发明实施例提供的一种基于 DTMF的定位信息发送装置的结 构示意图;
图 5为本发明实施例提供的一种基于 DTMF的定位信息接收装置的结 构示意图;
图 6为本发明实施例提供的一种基于 DTMF的定位信息收发方法的流 程示意图。 具体实施方式
DTMF技术是一种在语音通话中的语音信道用音调来传输数字的主要 方法, 它是由贝尔实验室发明的, 可以用来在模拟话音信道传输信令。 它 通过两个频率信号在时间域的叠加来表示一个数字。 如表 1所示, 是 DTMF 的频率叠加所表示的数字示意图。
表 1
DTMF以一个频率较高的信号和一个频率较低的信号进行叠加来表示 数字、字母或者符号, 这一特征使得通过 DTMF发送的信息即使混杂在语音 中也很容易被区分、 识别出来。
本发明实施例中, 第一终端与第二终端建立通话后, 发起对自身的位 置定位, 将定位信息编码为 DTMF信号发送给第二终端; 第二终端对接收 到的 DTMF信号进行解码, 确定所述 DTMF信号为定位信息时, 保存所述 定位信息。
下面通过附图及具体对本发明实施例做进一步的详细说明。
实施例一
本发明实施例一实现一种基于 DTMF的定位信息发送方法, 该方法流 程图如图 1所示, 该方法主要包括以下几个步骤:
步骤 101 : 第一终端与第二终端建立通话后, 发起对自身的位置定位; 这里, 所述第一终端、 第二终端仅为区分不同终端, 而不用于限制; 其中, 第一终端为一用于发起对自身的位置定位, 并能将定位信息发送给 第二终端的终端;
具体的, 在这一步骤中, 第一终端设置可视化界面使得用户可以对以 何种机制触发对自身的位置定位进行设置, 用户可以设置与某几个人在建 立通话之后, 直接发起对自身的位置的定位, 例如, 用户可以设置与电话 簿中保存名称为爸爸、 妈妈的用户在建立通话之后直接发起对自身的位置 定位, 这里, 对可以设置为直接发起定位的电话簿中的用户数量不做限制; 或者, 用户也可以设置在通话过程中长按第一终端上某个按键时自动 发起对自身的位置定位, 例如, 用户可以设置在通话过程中长按调节音量 的按键时, 自动发起对自身的位置定位, 这样, 当用户遇到紧急情况时, 拨打电话过程中长按调节声音的按键, 第一终端即自动发起对用户位置区 域的定位; 用户也可以根据需要设置长按其它按键, 例如: *号键、 #号键、 数字键等等来触发对自身位置的定位, 这里不作限制;
步骤 102: 第一终端将定位信息编码为 DTMF信号发送给第二终端; 当用户通过步骤 101 所述方式在通话过程中触发对自身的位置定位以 后, 如果在通话结束前, 已完成定位, 则对定位信息进行 DTMF编码, 之 后将编码后的 DTMF信号在通话过程中与通信信道中的语音信号叠加后发 送给第二终端;
DTMF信号本质上是两个同时发出的信号频率的组合, 由表 1可知, 每个符号由一个高频信号和一个低频信号唯一确定, 并且该频率组合可以 叠加在通话语音中被传输, 第二终端通过从频率域识别这种频率组合即可 还原出其所代表的数字或符号;
DTMF能够表示的信号一共有 16个, 其中 A、 B、 C、 D是普通手机传
输时用不到的, 本发明实施例一利用这四个字母分别表示东经, 西经, 北 纬和南纬。 通常, 只需要一组经度信息和一组纬度信息就可以唯一确定目 标位置信息, 因此, 在本发明实施例一中定位信息的长度为指示东经或者 西经的字母 A或 加上指示北纬或者南纬的字母 或0, 再加上两个字 母后面的 9位数据的长度, 一共是 20位数据。 其中, 以字母 A、 B、 C、 D 后面 9位数据中每三位代表一个数值, 所述三位数据以 10进制格式进行编 码, 以依照上述格式组合而成的 20位数据表示定位信息。 例如, 东京 35 度 5分 6秒, 北纬 120度 10分 8秒可以唯一确定目标的地理位置, 而这组 信息通过 DTMF编码后表示为: A035005006C120010008的形式。 当然, 定位信息表示的格式不只一种, 这里仅仅提供一个可行方式作为示例; 之后, 将上述格式的定位信息进行 DTMF编码, 即, 将其中的字母和 数字分别编码为对应的低频和高频信号的组合;
具体的, 将上述定位信息中的字母和数字按照 DTMF编码规则编码为 DTMF信号为:
将 1编码为低频 697Hz和高频 1209Hz的组合;将 2编码为低频 697Hz 和高频 1336Hz的组合; 将 3编码为低频 697Hz和高频 1477Hz的组合; 将 4编码为低频 770Hz和高频 1209Hz的组合;将 5编码为低频 770Hz和高频 1336Hz的组合; 将 6编码为低频 770Hz和高频 1477Hz的组合; 将 7编码 为低频 852Hz和高频 1209Hz的组合;将 8编码为低频 852Hz和高频 1336Hz 的组合; 将 9编码为低频 852Hz和高频 1477Hz的组合; 将 0编码为低频 941Hz和高频 1336Hz的组合; 另夕卜,
将 A编码为低频 697Hz和高频 1633Hz的组合;将 B编码为低频 770Hz 和高频 1633Hz的组合; 将 C编码为低频 852Hz和高频 1633Hz的组合; 将 D编码为低频 941Hz和高频 1633Hz的组合;
按照上述方法将定位信息编码为 DTMF信号之后, 将所述 DTMF信号
与通信信道中的语音信号叠加之后发送给第二终端。
该方法还包括: 如果对自身的位置定位完成时, 双方通话已经结束, 第一终端把定位信息以短信、 彩信或者电子邮件的方式发送到第二终端, 这里可以采用短信、 彩信、 电子邮件的其中一种方式传送, 也可以将上述 方式的任意几种结合使用。 这样, 能够在通话时间过短, 不足以在通话时 间内完成定位时, 仍能将定位信息准确、 快速发送出去。
实施例二
本发明实施例二提供了一种基于 DTMF的定位信息接收方法,该方法流 程图如图 2所示, 该方法包括以下几个步骤:
步骤 201 : 第二终端对接收到的 DTMF信号进行解码;
这里, 第二终端是一能够将接收到的 DTMF信号解码为定位信息的终 端;
在这一步骤中, 对接收到的 DTMF信号进行解码, 确定所述 DTMF信 号为定位信息, 包括: 第二终端在通话过程中不断对接收到的语音信号进 行频率域处理, 如果接收到 DTMF信号, 首先将所述 DTMF信号解析为对 应的频率组合, 即一个高频信号和一个低频信号的组合, 之后按 DTMF解 码规则将所述高频和低频信号的组合解析为字母或者数字;
具体的, 所述按 DTMF编码规则将所述 DTMF信号解析为字母或者数 字, 包括:
将低频 697Hz和高频 1209Hz的组合解析为 1 ; 将低频 697Hz和高频 1336Hz的组合解析为 2; 将低频 697Hz和高频 1477Hz的组合解析为 3 ; 将 低频 770Hz和高频 1209Hz的组合解析为 4; 将低频 770Hz和高频 1336Hz 的组合解析为 5;将低频 770Hz和高频 1477Hz的组合解析为 6;将低频 852Hz 和高频 1209Hz的组合解析为 7; 将低频 852Hz和高频 1336Hz的组合解析 为 8; 将低频 852Hz和高频 1477Hz的组合解析为 9; 将低频 941Hz和高频
1336Hz的组合解析为 0; 另外,
将低频 697Hz和高频 1633Hz的组合解析为 A; 将低频 770Hz和高频 1633Hz的组合解析为 B; 将低频 852Hz和高频 1633Hz的组合解析为 C; 将低 频 941 Hz和高频 1633Hz的组合解析为 D;
在解析过程中, 不断对解析到的 DTMF信号进行判断, 如果所解析到 的频率组合对应的是 A、 B、 C、 D其中之一, 则记录为经纬度信息, 具体 的, 当解析到的信号为 A时, 记录为东经; 当解析到的信号为 B时, 记录 为西经; 当解析到的信号为 C时, 记录为南纬; 解析到的信号为 D时, 记 录为北纬;
继续接收剩余的 DTMF信号并按照约定的协议格式进行解析; 即, 将 字母 A、 B、 C、 D后面 9位数据每三位按照 10进制格式解析为一个数值, 其中, 前三位数据表示度数值, 中间三位数据表示分数值, 后三位数据表 示秒数值, 例如, 将 B120027008D059012035解析为: 西经 120度 27分 8 秒, 南纬 59度 12分 35秒。 如果接收到的信号不是经纬度信息, 第二终端 则丟弃该信息;
步骤 202: 第二终端确定所述 DTMF信号为定位信息时, 保存所述定位 信息;
在成功解析出 DTMF信号, 并确定其为定位信息之后, 第二终端保存接 收到的信息;
第二终端在保存接收到的定位信息之后, 能够对所述定位信息执行进 一步操作, 包括: 用户根据第二终端所设置的应用菜单, 选择进入相应的 应用;
具体的, 应用菜单的弹出可以在通话结束之前或通话结束之后, 也可 以在通话结束之前和之后都弹出;
用户可以通过选择应用菜单中的选项, 进行查看地图和转发信息操作, 当用户选择查看地图时, 第二终端自动调用存储在终端内部或网络侧的地 图, 并将经纬度信息标注在地图的对应位置, 使用户能够清楚看到对方的 位置信息; 附加的, 用户在查看地图之后, 还可以选择对地图图片进行保 存或者转发图片等功能;
当用户选择直接转发该定位信息时, 第二终端对信息进行编辑, 之后 将编辑好的定位信息发送给其他终端用户。
如图 3所示, 是本发明实施例中第二终端在接收到基于 DTMF的定位信 息后的处理示例图, 图 3 ( 1 )是在通话中通过 DTMF接收到定位信息之后的 通话记录画面, 画面中除了正常的姓名、 号码、 通话时长信息之外, 还加 入了对方的位置信息, 并提供菜单供用户选择是否进入地图查看, 或直接 转发该位置信息;
如果用户选择进入地图查看, 则进入图 3 ( 2 ) 所示的画面, 这里, 第 二终端调用存储在终端内部或网络侧的地图, 并将经纬度信息标注在地图 的对应位置, 使用户能够清楚看到对方的位置信息, 在图 3 ( 2 ) 中以 301标 示出第一终端用户所处的具体位置。 此外, 该界面还可以提供保存图片, 转发图片等功能;
如果用户选择转发该地图时, 第二终端将地图图片添加到信息中进行 编辑, 之后用户将编辑好的信息发送给其他终端用户;
用户退出相应处理后, 后续还可以通过通话记录查看对应通话中的定 位信息, 如图 3 ( 3 )所示, 定位结果可以直接在通话记录中调用查看。
实施例三
为了实现上述方法, 本发明实施例三提供了一种基于 DTMF的定位信 息发送装置, 位于上述第一终端中, 如图 4所示, 该装置包括: 定位模块 41、 DTMF编码器 42以及定位信息发送模块 43; 其中,
所述定位模块 41, 配置为在第一终端与第二终端建立通话后, 发起对 第一终端位置定位;
所述 DTMF编码器 42, 配置为对定位信息进行 DTMF编码;
所述定位信息发送模块 43, 配置为将编码后的 DTMF信号发送给第二 终端。
具体的, 所述 DTMF编码器 42对定位信息进行 DTMF编码为: 以 A、 B、 C、 D四个字母分别表示东经、 西经、 北纬和南纬, 以 A、 B、 C、 D后 面 9位数据中每三位数据代表一个数值, 数据采用 10进制方式进行编码, 前三位数据代表度数值, 中间三位数据代表分数值, 后三位数据代表秒数 值; 以依照上述格式组合而成的长度为 20位的数据表示定位信息, 将定位 信息中的字母和数字按照 DTMF编码规则编码为 DTMF信号。
进一步的, 所述将定位信息中的字母和数字按照 DTMF编码规则编码 为 DTMF信号为:
将 1编码为低频 697Hz和高频 1209Hz的组合;将 2编码为低频 697Hz 和高频 1336Hz的组合; 将 3编码为低频 697Hz和高频 1477Hz的组合; 将 4编码为低频 770Hz和高频 1209Hz的组合;将 5编码为低频 770Hz和高频 1336Hz的组合; 将 6编码为低频 770Hz和高频 1477Hz的组合; 将 7编码 为低频 852Hz和高频 1209Hz的组合;将 8编码为低频 852Hz和高频 1336Hz 的组合; 将 9编码为低频 852Hz和高频 1477Hz的组合; 将 0编码为低频 941Hz和高频 1336Hz的组合; 另外,
将 A编码为低频 697Hz和高频 1633Hz的组合;将 B编码为低频 770Hz 和高频 1633Hz的组合; 将 C编码为低频 852Hz和高频 1633Hz的组合; 将 D编码为低频 941Hz和高频 1633Hz的组合。
另外, 所述定位模块 41还配置为, 在确定所述第二终端为通讯录中允 许直接发起位置定位的用户时, 直接发起位置定位; 或者, 在检测到按键
被长按时, 发起位置定位。
上述装置还包括: 第一消息编辑模块 44和第一消息发送模块 45; 当定 位完成、 但通话已经结束时, 贝 'J,
所述第一消息编辑模块 44,配置为将定位信息编辑为短信、和 /或彩信、 和 /或电子邮件;
所述第一消息发送模块 45, 配置为将编辑为短信、 和 /或彩信、 和 /或电 子邮件的定位信息发送给第二终端。
实施例四
为了实现上述方法, 本发明实施例四提供了一种基于 DTMF的定位信 息接收装置, 位于上述第二终端中, 如图 5所示, 该装置包括: DTMF解 码器 51、 定位信息保存模块 52; 其中,
所述 DTMF解码器 51, 配置为对接收到的 DTMF信号进行解码,在确 定接收到的 DTMF信号为定位信息后, 将定位信息发送给定位信息保存模 块 52;
所述定位信息保存模块 52, 配置为保存所述定位信息。
具体的, 所述 DTMF解码器 51对接收到的 DTMF信号进行解码, 包括: 将接收到的 DTMF信号解码为一个高频和一个低频信号的组合, 按 DTMF解 码规则将所述高频和低频信号的组合解析为字母或者数字; 当解析到的信 号为 A时, 记录为东经; 当解析到的信号为 B时, 记录为西经; 当解析到的 信号为 C时, 记录为南纬; 解析到的信号为 D时, 记录为北纬; 继续接收剩 余的 DTMF信号并将字母后 9位数据中每三位数据按照 10进制解析规则解析 为一个数值, 将前三位数据所代表的数值记录为度数值, 将中间三位数据 所代表的数值记录为分数值, 将后三位数据所代表的数值记录为秒数值。
具体的, 所述按 DTMF解码规则将所述 DTMF信号解析为字母或者数 字, 包括:
将低频 697Hz和高频 1209Hz的组合解析为 1 ; 将低频 697Hz和高频 1336Hz的组合解析为 2; 将低频 697Hz和高频 1477Hz的组合解析为 3 ; 将 低频 770Hz和高频 1209Hz的组合解析为 4; 将低频 770Hz和高频 1336Hz 的组合解析为 5;将低频 770Hz和高频 1477Hz的组合解析为 6;将低频 852Hz 和高频 1209Hz的组合解析为 7; 将低频 852Hz和高频 1336Hz的组合解析 为 8; 将低频 852Hz和高频 1477Hz的组合解析为 9; 将低频 941Hz和高频 1336Hz的组合解析为 0; 另外,
将低频 697Hz和高频 1633Hz的组合解析为 A; 将低频 770Hz和高频 1633Hz的组合解析为 B; 将低频 852Hz和高频 1633Hz的组合解析为 C; 将低 频 941 Hz和高频 1633Hz的组合解析为 D。
另外, 所述定位信息接收装置还包括: 第二消息编辑模块 53和第二消 息发送模块 54, 地图模块 55, 其中,
所述第二消息编辑模块 53, 配置为接收到用户转发定位信息指令时, 将定位信息编辑为短信、 彩信或者电子邮件其中至少一种;
所述第二消息发送模块 54, 配置为将编辑为短信、 和 /或彩信、 和 /或电 子邮件的定位信息发送给其他终端;
所述地图模块 55, 配置为接收到用户查看地图指令之后, 调用本地或 者网络侧地图, 并将经纬度信息标注在地图的对应位置显示给用户。
更进一步, 地图模块 55调用地图为用户显示位置信息之后, 还可以在 检测到用户选择对地图图片进行保存时, 保存所述地图图片; 或者, 检测 到用户选择转发图片指令时, 对图片进行转发, 具体转发方式为: 地图模 块 55检测到用户选择转发图片指令时, 将地图图片发送给第二消息编辑模 块 53, 并调用第二消息编辑模块 53执行消息编辑操作, 编辑完成之后, 通 过第二消息发送模块 54将所述消息发送到其他用户终端。
实施例五
本发明实施例五提供了一种基于双音多频 DTMF 的定位信息收发方 法, 其具体流程如图 6所示, 该方法包括以下步骤:
步骤 601 : 第一终端与第二终端建立通话后, 发起对自身位置定位, 第 一终端将定位信息编码为 DTMF信号发送给第二终端;
其中, 所述第一终端与第二终端建立通话后, 发起对自身位置定位之 前, 所述第一终端确定所述第二终端为通讯录中允许直接发起位置定位的 用户时, 直接发起位置定位; 或者, 所述第一终端检测到按键被长按时, 发起位置定位。
其中, 所述将定位信息编码为 DTMF信号发送给第二终端为: 以 A、 B、 C、 D四个字母分别表示东经、 西经、 北纬和南纬, 以 A、 B、 C、 D后面 9位数据中每三位数据代表一个数值, 数据采用 10进制方式 进行编码, 前三位数据代表度数值, 中间三位数据代表分数值, 后三位数 据代表秒数值; 以依照上述格式组合而成的长度为 20位的数据表示定位信 息, 将定位信息中的字母和数字按照 DTMF编码规则编码为 DTMF信号, 并在通信信道中将所述 DTMF信号叠加在语音信号里发送给第二终端。
具体的, 所述将定位信息中的字母和数字按照 DTMF编码规则编码为 DTMF信号为:
将 1编码为低频 697Hz和高频 1209Hz的组合;将 2编码为低频 697Hz 和高频 1336Hz的组合; 将 3编码为低频 697Hz和高频 1477Hz的组合; 将 4编码为低频 770Hz和高频 1209Hz的组合;将 5编码为低频 770Hz和高频 1336Hz的组合; 将 6编码为低频 770Hz和高频 1477Hz的组合; 将 7编码 为低频 852Hz和高频 1209Hz的组合;将 8编码为低频 852Hz和高频 1336Hz 的组合; 将 9编码为低频 852Hz和高频 1477Hz的组合; 将 0编码为低频 941Hz和高频 1336Hz的组合; 另夕卜,
将 A编码为低频 697Hz和高频 1633Hz的组合;将 B编码为低频 770Hz
和高频 1633Hz的组合; 将 C编码为低频 852Hz和高频 1633Hz的组合; 将 D编码为低频 941Hz和高频 1633Hz的组合。
如果在定位完成时通话已经结束, 本发明实施例五还提供了一种定位 信息收发方法, 能够将上述通过 DTMF方式收发定位信息的方法与现有的 发送定位信息的方式结合使用, 在通话时间过短, 不足以完成定位时, 仍 能将定位信息准确、 快速发送出去;
该方法具体包括: 如果自身位置定位完成、 但双方通话已经结束时, 第一终端可以把定位信息以短信、 和 /或彩信、 和 /或电子邮件的方式发送到 第二终端。
步骤 602: 第二终端对接收到的 DTMF信号进行解码, 确定所述 DTMF 信号为定位信息时, 保存所述定位信息。
其中,所述第二终端对接收到的 DTMF信号进行解码,确定所述 DTMF 信号为定位信息, 包括:
将接收到的 DTMF信号解码为一个高频和一个低频信号的组合, 按 DTMF解码规则将所述高频和低频信号的组合解析为字母或者数字;当解析 到的信号为 A时, 记录为东经; 当解析到的信号为 B时, 记录为西经; 当解 析到的信号为 C时, 记录为南纬; 解析到的信号为 D时, 记录为北纬; 继续 接收剩余的 DTMF信号并将字母后 9位数据中每三位数据按照 10进制解析规 则解析为一个数值, 将前三位数据所代表的数值记录为度数值, 将中间三 位数据所代表的数值记录为分数值, 将后三位数据所代表的数值记录为秒 数值。
具体的, 所述按 DTMF解码规则将所述 DTMF信号解析为字母或者数 字, 包括:
将低频 697Hz和高频 1209Hz的组合解析为 1 ; 将低频 697Hz和高频 1336Hz的组合解析为 2; 将低频 697Hz和高频 1477Hz的组合解析为 3 ; 将
低频 770Hz和高频 1209Hz的组合解析为 4; 将低频 770Hz和高频 1336Hz 的组合解析为 5;将低频 770Hz和高频 1477Hz的组合解析为 6;将低频 852Hz 和高频 1209Hz的组合解析为 7; 将低频 852Hz和高频 1336Hz的组合解析 为 8; 将低频 852Hz和高频 1477Hz的组合解析为 9; 将低频 941Hz和高频 1336Hz的组合解析为 0; 另外,
将低频 697Hz和高频 1633Hz的组合解析为 A; 将低频 770Hz和高频 1633Hz的组合解析为 B; 将低频 852Hz和高频 1633Hz的组合解析为 C; 将低 频 941 Hz和高频 1633Hz的组合解析为 D。
进一步的, 所述第二终端保存所述定位信息后, 该方法还包括: 第二终端在界面上为用户提供查看地图或者转发信息操作的选项; 当第二终端检测到用户选择转发所述定位信息时, 将所述定位信息编 辑为短信、 和 /或彩信、 和 /或电子邮件发送给其他终端。
进一步的, 所述第二终端保存所述定位信息之后, 用户还可以通过第 二终端应用菜单中相应选项, 选择查看地图或者转发信息操作。
当用户选择查看地图时, 第一终端调用存储在终端内部或网络侧的地 图, 并将经纬度信息标注在地图的对应位置进行显示; 用户查看地图图片 之后, 可以选择对图片进行保存或者转发图片; 当用户选择转发所述图片 时, 第二终端将所述图片编辑为彩信和 /或 mail后发送给其他终端。
当用户选择转发该定位信息时, 第二终端将所述定位信息编辑为短信、 彩信或者 mail的其中一种或几种后发送给其他终端用户。 工业实用性
本发明通过第一终端与第二终端建立通话后, 发起对自身的位置定位, 并将定位信息编码为 DTMF信号发送给第二终端, 而第二终端对接收到的 DTMF信号进行解码则可得到定位信息, 能够提高定位信息传输的安全性 和稳定性, 保证在没有数据流量或 WIFI的情况下, 终端也能够成功的将自
己的定位信息发送给对方; 并且, 本发明所述方法还能使定位信息的传输 更加隐蔽, 传输完毕后, 在信息发送记录中无法查询出发送痕迹, 这对使 用者能够起到非常好的保护作用。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。
Claims
1、 一种基于双音多频 DTMF的定位信息发送方法, 所述方法包括: 第一终端与第二终端建立通话后, 发起对自身的位置定位, 并将定位 信息编码为 DTMF信号后发送给第二终端。
2、 根据权利要求 1所述的定位信息发送方法, 其中, 所述第一终端发 起对自身的位置定位为:
所述第一终端确定所述第二终端为通讯录中允许直接发起位置定位的 用户时, 直接发起位置定位; 或者, 所述第一终端检测到按键被长按时, 发起位置定位。
3、 根据权利要求 1所述的定位信息发送方法, 其中, 所述将定位信息 编码为 DTMF信号发送给第二终端为:
以 A、 B、 C、 D四个字母分别表示东经、 西经、 北纬和南纬, 以 A、 B、 C、 D后面 9位数据中每三位数据代表一个数值, 数据采用 10进制方式 进行编码, 前三位数据代表度数值, 中间三位数据代表分数值, 后三位数 据代表秒数值; 以依照上述格式组合而成的长度为 20位的数据表示定位信 息, 将定位信息中的字母和数字按照 DTMF编码规则编码为 DTMF信号, 并在通信信道中将所述 DTMF信号叠加在语音信号里发送给第二终端。
4、 根据权利要求 3所述的定位信息发送方法, 其中, 所述将定位信息 中的字母和数字按照 DTMF编码规则编码为 DTMF信号为:
将 1编码为低频 697Hz和高频 1209Hz的组合;将 2编码为低频 697Hz 和高频 1336Hz的组合; 将 3编码为低频 697Hz和高频 1477Hz的组合; 将 4编码为低频 770Hz和高频 1209Hz的组合;将 5编码为低频 770Hz和高频 1336Hz的组合; 将 6编码为低频 770Hz和高频 1477Hz的组合; 将 7编码 为低频 852Hz和高频 1209Hz的组合;将 8编码为低频 852Hz和高频 1336Hz 的组合; 将 9编码为低频 852Hz和高频 1477Hz的组合; 将 0编码为低频
941Hz和高频 1336Hz的组合; 另夕卜,
将 A编码为低频 697Hz和高频 1633Hz的组合;将 B编码为低频 770Hz 和高频 1633Hz的组合; 将 C编码为低频 852Hz和高频 1633Hz的组合; 将 D编码为低频 941Hz和高频 1633Hz的组合。
5、根据权利要求 1所述的定位信息发送方法, 其中, 所述方法还包括: 当定位完成、 但通话已经结束时, 所述第一终端将定位信息以短信、 和 /或彩信、 和 /或电子邮件发送给第二终端。
6、 一种基于 DTMF的定位信息接收方法, 所述方法包括:
第二终端对接收到的 DTMF信号进行解码, 确定所述 DTMF信号为定位 信息时, 保存所述定位信息。
7、 根据权利要求 6所述的定位信息接收方法, 其中, 所述第二终端对 接收到的 DTMF信号进行解码, 确定所述 DTMF信号为定位信息, 包括: 将接收到的 DTMF信号解码为一个高频和一个低频信号的组合, 按 DTMF解码规则将所述高频和低频信号的组合解析为字母或者数字;当解析 到的信号为 A时, 记录为东经; 当解析到的信号为 B时, 记录为西经; 当解 析到的信号为 C时, 记录为南纬; 解析到的信号为 D时, 记录为北纬; 继续 接收剩余的 DTMF信号并将字母后 9位数据中每三位数据按照 10进制解析规 则解析为一个数值, 将前三位数据所代表的数值记录为度数值, 将中间三 位数据所代表的数值记录为分数值, 将后三位数据所代表的数值记录为秒 数值。
8、 根据权利要求 7所述的定位信息接收方法, 其中, 所述按 DTMF解码 规则将所述 DTMF信号解析为字母或者数字, 包括:
将低频 697Hz和高频 1209Hz的组合解析为 1 ; 将低频 697Hz和高频 1336Hz的组合解析为 2; 将低频 697Hz和高频 1477Hz的组合解析为 3 ; 将 低频 770Hz和高频 1209Hz的组合解析为 4; 将低频 770Hz和高频 1336Hz
的组合解析为 5;将低频 770Hz和高频 1477Hz的组合解析为 6;将低频 852Hz 和高频 1209Hz的组合解析为 7; 将低频 852Hz和高频 1336Hz的组合解析 为 8; 将低频 852Hz和高频 1477Hz的组合解析为 9; 将低频 941Hz和高频 1336Hz的组合解析为 0; 另外,
将低频 697Hz和高频 1633Hz的组合解析为 A; 将低频 770Hz和高频 1633Hz的组合解析为 B; 将低频 852Hz和高频 1633Hz的组合解析为 C; 将低 频 941 Hz和高频 1633Hz的组合解析为 D。
9、 根据权利要求 6至 8中任一项所述的定位信息接收方法, 其中, 所 述第二终端保存所述定位信息之后, 所述方法还包括:
第二终端在界面上为用户提供查看地图或者转发信息操作的选项; 当第二终端检测到用户选择转发所述定位信息时, 将所述定位信息编 辑为短信、 和 /或彩信、 和 /或电子邮件发送给其他终端。
10、 一种基于 DTMF的定位信息发送装置, 所述装置包括: 定位模块、 DTMF编码器、 定位信息发送模块; 其中,
所述定位模块, 配置为在第一终端与第二终端建立通话后, 发起对第 一终端的位置定位;
所述 DTMF编码器, 配置为对定位信息进行 DTMF编码;
所述定位信息发送模块, 配置为将编码后的 DTMF信号发送给第二终 端。
11、 根据权利要求 10所述的定位信息发送装置, 其中, 所述定位模块 还配置为, 在确定所述第二终端为通讯录中允许直接发起位置定位的用户 时, 直接发起位置定位; 或者, 在检测到按键被长按时, 发起位置定位。
12、 根据权利要求 10所述的定位信息发送装置, 其中, 所述装置还包 括: 第一消息编辑模块和第一消息发送模块; 当定位完成、 但通话已经结 束时,
所述第一消息编辑模块, 配置为将定位信息编辑为短信、 和 /或彩信、 和 /或电子邮件;
所述第一消息发送模块, 配置为将所述短信、 和 /或彩信、 和 /或电子邮 件发送到第二终端。
13、 一种基于 DTMF的定位信息接收装置, 所述装置包括: DTMF解 码器、 定位信息保存模块; 其中
所述 DTMF解码器, 配置为对接收到的 DTMF信号进行解码, 在确定 接收到的 DTMF信号为定位信息后,将定位信息发送给定位信息保存模块; 所述定位信息保存模块, 配置为保存所述定位信息。
14、 根据权利要求 13所述的定位信息接收装置, 其中, 所述装置还包 括: 第二消息编辑模块和第二消息发送模块, 其中,
所述第二消息编辑模块, 配置为接收到用户转发定位信息指令时, 将 定位信息编辑为短信、 和 /或彩信、 和 /或电子邮件;
所述第二消息发送模块, 配置为将编辑为短信、 和 /或彩信、 和 /或电子 邮件的定位信息发送给其他终端。
15、 一种基于双音多频 DTMF的定位信息收发方法, 所述方法包括: 第一终端与第二终端建立通话后, 发起对自身位置定位, 第一终端将 定位信息编码为 DTMF信号发送给第二终端;
第二终端对接收到的 DTMF信号进行解码, 确定所述 DTMF信号为定位 信息时, 保存所述定位信息。
16、 根据权利要求 15所述的方法, 其中, 所述第一终端与第二终端建 立通话后, 发起对自身位置定位之前, 所述方法包括:
所述第一终端确定所述第二终端为通讯录中允许直接发起位置定位的 用户时, 直接发起位置定位; 或者, 所述第一终端检测到按键被长按时, 发起位置定位。
17、根据权利要求 15所述的方法,其中,所述将定位信息编码为 DTMF 信号发送给第二终端为:
以 A、 B、 C、 D四个字母分别表示东经、 西经、 北纬和南纬, 以 A、 B、 C、 D后面 9位数据中每三位数据代表一个数值, 数据采用 10进制方式 进行编码, 前三位数据代表度数值, 中间三位数据代表分数值, 后三位数 据代表秒数值; 以依照上述格式组合而成的长度为 20位的数据表示定位信 息, 将定位信息中的字母和数字按照 DTMF编码规则编码为 DTMF信号, 并在通信信道中将所述 DTMF信号叠加在语音信号里发送给第二终端。
18、 根据权利要求 17所述的方法, 其中, 所述将定位信息中的字母和 数字按照 DTMF编码规则编码为 DTMF信号为:
将 1编码为低频 697Hz和高频 1209Hz的组合;将 2编码为低频 697Hz 和高频 1336Hz的组合; 将 3编码为低频 697Hz和高频 1477Hz的组合; 将 4编码为低频 770Hz和高频 1209Hz的组合;将 5编码为低频 770Hz和高频 1336Hz的组合; 将 6编码为低频 770Hz和高频 1477Hz的组合; 将 7编码 为低频 852Hz和高频 1209Hz的组合;将 8编码为低频 852Hz和高频 1336Hz 的组合; 将 9编码为低频 852Hz和高频 1477Hz的组合; 将 0编码为低频 941Hz和高频 1336Hz的组合; 另夕卜,
将 A编码为低频 697Hz和高频 1633Hz的组合;将 B编码为低频 770Hz 和高频 1633Hz的组合; 将 C编码为低频 852Hz和高频 1633Hz的组合; 将 D编码为低频 941Hz和高频 1633Hz的组合。
19、 根据权利要求 15 所述的方法, 其中, 所述第二终端对接收到的 DTMF信号进行解码, 确定所述 DTMF信号为定位信息, 包括:
将接收到的 DTMF信号解码为一个高频和一个低频信号的组合, 按 DTMF解码规则将所述高频和低频信号的组合解析为字母或者数字;当解析 到的信号为 A时, 记录为东经; 当解析到的信号为 B时, 记录为西经; 当解
析到的信号为 C时, 记录为南纬; 解析到的信号为 D时, 记录为北纬; 继续 接收剩余的 DTMF信号并将字母后 9位数据中每三位数据按照 10进制解析规 则解析为一个数值, 将前三位数据所代表的数值记录为度数值, 将中间三 位数据所代表的数值记录为分数值, 将后三位数据所代表的数值记录为秒 数值。
20、 根据权利要求 19所述的方法, 其中, 所述按 DTMF解码规则将所述 DTMF信号解析为字母或者数字, 包括:
将低频 697Hz和高频 1209Hz的组合解析为 1 ; 将低频 697Hz和高频 1336Hz的组合解析为 2; 将低频 697Hz和高频 1477Hz的组合解析为 3 ; 将 低频 770Hz和高频 1209Hz的组合解析为 4; 将低频 770Hz和高频 1336Hz 的组合解析为 5;将低频 770Hz和高频 1477Hz的组合解析为 6;将低频 852Hz 和高频 1209Hz的组合解析为 7; 将低频 852Hz和高频 1336Hz的组合解析 为 8; 将低频 852Hz和高频 1477Hz的组合解析为 9; 将低频 941Hz和高频 1336Hz的组合解析为 0; 另外,
将低频 697Hz和高频 1633Hz的组合解析为 A ; 将低频 770Hz和高频
1633Hz的组合解析为 B; 将低频 852Hz和高频 1633Hz的组合解析为 C; 将低 频 941 Hz和高频 1633Hz的组合解析为 D。
21、 根据权利要求 15所述的方法, 其中, 所述方法还包括:
当定位完成、 但通话已经结束时, 所述第一终端将定位信息以短信、 和 /或彩信、 和 /或电子邮件发送给第二终端。
22、 根据权利要求 15所述的方法, 其中, 所述第二终端保存所述定位 信息后, 所述方法还包括:
第二终端在界面上为用户提供查看地图或者转发信息操作的选项; 当第二终端检测到用户选择转发所述定位信息时, 将所述定位信息编 辑为短信、 和 /或彩信、 和 /或电子邮件发送给其他终端。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310410944.1A CN104427469A (zh) | 2013-09-10 | 2013-09-10 | 一种基于双音多频的定位信息收发方法和装置 |
CN201310410944.1 | 2013-09-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014154049A1 true WO2014154049A1 (zh) | 2014-10-02 |
Family
ID=51622437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/071297 WO2014154049A1 (zh) | 2013-09-10 | 2014-01-23 | 一种基于双音多频的定位信息收发方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104427469A (zh) |
WO (1) | WO2014154049A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015184926A1 (zh) * | 2014-11-21 | 2015-12-10 | 中兴通讯股份有限公司 | 数据传输控制方法、接收端、发送端及系统 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105263129A (zh) * | 2015-08-31 | 2016-01-20 | 小米科技有限责任公司 | 数据传输方法和装置 |
CN106507307A (zh) * | 2016-11-24 | 2017-03-15 | 维沃移动通信有限公司 | 一种发送信息、获取信息的方法、通话端及通信对端 |
CN109936818B (zh) * | 2019-04-29 | 2021-03-19 | 新华三技术有限公司 | 一种定位方法、装置和存储介质 |
CN111970634A (zh) * | 2020-08-24 | 2020-11-20 | 深圳位置网科技有限公司 | 一种紧急情况下利用手机语音信道的传输定位方法及系统 |
CN114866952A (zh) * | 2022-06-08 | 2022-08-05 | 中国电信股份有限公司 | 一种定位方法、装置、电子设备及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1290105A (zh) * | 1999-09-24 | 2001-04-04 | 广东粤京安移动资讯有限公司 | Gsm/cdma-gps防盗车载终端及无线电话 |
CN102937719A (zh) * | 2012-11-15 | 2013-02-20 | 浙江工业大学 | 外出老人的定位方法及其定位系统 |
CN103391510A (zh) * | 2013-07-04 | 2013-11-13 | 北京车音网科技有限公司 | 定位方法、装置及系统 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7127229B2 (en) * | 2001-09-04 | 2006-10-24 | Uniden Corporation | Emergency report cellular phone, cellular connection switching method and GPS positioning method |
US8306513B2 (en) * | 2010-10-04 | 2012-11-06 | Research In Motion Limited | System and method to detect PBX-mobility call failure |
CN102355625B (zh) * | 2011-08-01 | 2015-01-07 | 惠州Tcl移动通信有限公司 | 位置信息的发送、接收方法及其移动通信终端 |
-
2013
- 2013-09-10 CN CN201310410944.1A patent/CN104427469A/zh active Pending
-
2014
- 2014-01-23 WO PCT/CN2014/071297 patent/WO2014154049A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1290105A (zh) * | 1999-09-24 | 2001-04-04 | 广东粤京安移动资讯有限公司 | Gsm/cdma-gps防盗车载终端及无线电话 |
CN102937719A (zh) * | 2012-11-15 | 2013-02-20 | 浙江工业大学 | 外出老人的定位方法及其定位系统 |
CN103391510A (zh) * | 2013-07-04 | 2013-11-13 | 北京车音网科技有限公司 | 定位方法、装置及系统 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015184926A1 (zh) * | 2014-11-21 | 2015-12-10 | 中兴通讯股份有限公司 | 数据传输控制方法、接收端、发送端及系统 |
CN105680982A (zh) * | 2014-11-21 | 2016-06-15 | 中兴通讯股份有限公司 | 数据传输控制方法、接收端、发送端及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN104427469A (zh) | 2015-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014154049A1 (zh) | 一种基于双音多频的定位信息收发方法和装置 | |
CN104883466B (zh) | 一种基于手机app的多媒体报警方法 | |
CN102932238B (zh) | 群组消息的提醒方法和设备 | |
JP2000253111A (ja) | 無線携帯端末 | |
US8909517B2 (en) | Voice-coded in-band data for interactive calls | |
CN102299988B (zh) | 一种电话录音的实现方法和装置 | |
WO2014029228A1 (zh) | 基于双音多频的信息处理方法及系统、接收终端 | |
US8242902B2 (en) | Urgent message transmission system and method | |
CN101383867A (zh) | 移动通信终端及其日程表管理方法 | |
CN104184889A (zh) | 一种穿戴设备、基于穿戴设备的电话拨打方法 | |
KR20050088397A (ko) | 음성 호출 경보를 제공하는 방법 및 장치 | |
WO2019119863A1 (zh) | 呼叫处理方法及设备 | |
KR100678086B1 (ko) | 이동 단말에서의 멀티미디어 메시지를 이용한 멀티미디어설정 장치 및 방법 | |
WO2014082478A1 (zh) | 一种远程实现闹钟功能的方法及终端 | |
CN202979285U (zh) | 个人位置服务终端 | |
CN106559588B (zh) | 一种文本信息上传的方法及装置 | |
CN106302083B (zh) | 即时通讯方法和服务器 | |
TW200523875A (en) | Method of speech transformation | |
WO2012071808A1 (zh) | 一种在通话过程中传送文本信息的方法及装置 | |
WO2014205914A1 (zh) | 终端的主、被叫方法和主、被叫终端及通信方法、系统 | |
CN105407223A (zh) | 移动通信终端的自身位置播报方法及移动通信终端 | |
KR100647870B1 (ko) | 위치정보 제공이 가능한 이동통신 단말기와 위치정보제공서버 및 위치정보 제공방법 | |
CN110636460A (zh) | 一种基于语音通话的信息传输方法 | |
CN206075486U (zh) | 一种迷你型挂式安全防护器 | |
CN106170035A (zh) | 一种信息的传输方法、传输装置、终端以及接听设备 |
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: 14774511 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14774511 Country of ref document: EP Kind code of ref document: A1 |