CN104185147A - Mobile terminal geographic information exchange method based on short messages - Google Patents

Mobile terminal geographic information exchange method based on short messages Download PDF

Info

Publication number
CN104185147A
CN104185147A CN201410459459.8A CN201410459459A CN104185147A CN 104185147 A CN104185147 A CN 104185147A CN 201410459459 A CN201410459459 A CN 201410459459A CN 104185147 A CN104185147 A CN 104185147A
Authority
CN
China
Prior art keywords
note
mobile terminal
recipient
program
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410459459.8A
Other languages
Chinese (zh)
Other versions
CN104185147B (en
Inventor
张小国
王庆
张也
徐美娇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN201410459459.8A priority Critical patent/CN104185147B/en
Publication of CN104185147A publication Critical patent/CN104185147A/en
Application granted granted Critical
Publication of CN104185147B publication Critical patent/CN104185147B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Provided is a mobile terminal geographic information exchange method based on short messages. When geographic information of a signal position is exchanged, a sender mobile terminal is used for coding a shared geographic position according to the $GPRMC message rule in NMEA 0183 telegraph text, and the shared geographic position is sent to a receiver mobile terminal through a short message Agent; when the data size of geographic information to be exchanged is large, the information is uploaded to a public file server through the sender mobile terminal, a URI is recorded, and the URL with a specific message header $GPURL added is sent to the receiver mobile terminal; the short message in a specific format is intercepted and analyzed through an Agent of the receiver mobile terminal, and if the short message is real-time position information, the short message is directly analyzed; if the short message is the URL, an application program is informed of the link with an HTTP link address to download a position file; a receiver sends $GPOK or $GPFAIL messages to a sender to remind the sender whether receiving and analyzing are successful.

Description

A kind of mobile terminal geography information switching method based on note
Technical field
The present invention relates to a kind of mobile terminal geography information switching method based on note, is the shared method of exchange position information between mobile device, belongs to mobile communication and Geographical Information Sciences field.
Background technology
" LBS " English full name is Location Based Services, and it comprises two layers of meaning: be first the geographical position of determining mobile terminal or user place; Next is to provide the various information service relevant to position.Therefore can say that " LBS " is exactly will be by the Internet or wireless network, complete location and service two large functions, realize mutually sharing and public announcement of location information of mobile terminal.
In fields such as geographical mapping, land investigation and social networks, between mobile terminal, often need to intercourse geographical location information separately.As automobile friend can inform mutually by mobile phone oneself position, the head of a family can know own child's current location at any time by the position sharing function of mobile phone in child's hand, guarantee child's safety.
Conventional geographical location information switching method need to be set up the server with fixing IP conventionally, realize position information share by intermediary server, special like this server brings extra economic expense, and the ability to work of system is subject to the impact of the network bandwidth and server computational power.
Geographical location information switching method can also realize by the direct tcp/ip communication mode between mobile terminal, mobile terminal can be intercepted on fixed port, if another one equipment is known IP address and the port numbers of this equipment, can directly pass through so TCP/IP network information transfer positional information.But the IP that obtains current device on mobile terminal is strongly professional with IP address and the port numbers of input another one equipment, and if the object of exchange is more, this pattern need to input IP address and port more, just more loaded down with trivial details, therefore this pattern is feasible hardly to domestic consumer.
Summary of the invention
Goal of the invention of the present invention is, for the problem of above-mentioned existence, a kind of method that pushes positional information in wireless carrier network based on note is provided, under this pattern, as long as different mobile terminal is known the other side's cell-phone number, just can exchange easily single or multiple geographical location information, user does not need to be concerned about the network ip address of the other side's mobile phone, even mobile phone is not opened data, services and can be realized, and therefore uses threshold low, promotes future good.
For solving the problems of the technologies described above, the invention provides a kind of mobile terminal geography information switching method based on note, can not change on the basis of prior wireless network equipment, realize between mobile terminal position information share easily.Wherein transmit leg and recipient's mobile terminal all must comprise following three modules or program:
(1) note Agent program: this program is in intermediate layer, prepackage, interception has the note of $ GPRMC, $ GPURL, $ GPOK, $ GPFAIL heading, and resolve above-mentioned message, provide interface to allow user's geographic information application program dynamic registration, and analysis result is sent to the geographic information application program of registering by interprocess communication; The striding course communication that receives geographic information application program returns results, and result is sent to target device; The interface of application program registration associated geographical is provided.
(2) geographic information application program: this program is by user writing, program is note Agent case distribution object by interprocess communication dynamic registration after startup, be responsible for geographical sharing, be responsible for sharing reception and the application of geography information, be responsible for the upload and download of long-range geographical message file, but actual note message coding, note send, note is resolved all and is responsible for by note Agent program.
(3) conventional note program: this program is mobile phone pre-installed applications while dispatching from the factory, be responsible for the transmission of conventional note, receive and storage, first notes all in this patent all can be tackled by note Agent, if a note is not tackled by note Agent, will be taken as normal short message by conventional note routine processes.
Specific implementation is as follows:
1) mobile terminal is by wireless carrier network note sharing positional information, all built-in interceptions and send the note Agent program of note of transmit leg and recipient, and the application program that geography information is shared in support that user writes is installed; Note Agent program provides interprocess communication interface, and allowing user's geographic information application program registration is event notification applications; After user's geographic information application program starts, register to note Agent by interprocess communication, become the event notice object of note Agent;
2) support to share single or multiple geography information position between different mobile terminal, and before each sharing positional information, generate the integer transaction number of a unique coding by the mode increasing progressively;
3) if share single positional information, the positional information (being generally longitude and latitude) that the geographic information application program of sender mobile terminal will be shared, the other side's cell-phone number, transaction number adopts interprocess communication to send to note Agent program, note Agent program adopts the single positional information receiving after the $ GPRMC form coding in NMEA (National Marine Electronics Association) 0183 message, and with the telephone number of this equipment, transaction number and the exclusive or check code regenerating are replaced the check code before expansion, form transmission text,
4) if what share is that multiple positional informations are (as a land investigation figure spot, an even shape file), first the geographic information application program of sender mobile terminal uploads to public HTTP geography information file server by positional information in modes such as HTTP, obtain the rear telephone number adding method, apparatus of URL (Uniform resource locator) of network file, transaction number, send to note Agent by interprocess communication, note Agent program is added heading $ GPURL to URL, and the telephone number of additional this equipment, transaction number and exclusive or check coding,
5) note Agent sends to recipient mobile terminal by note form by wireless carrier network by the text after coding;
6) note that the note Agent in recipient's mobile terminal tackles this specific format, if do not possess the note of $ GPRMC, $ GPURL, $ GPOK, these specific format headings of $ GPFAIL, abandon processing, the note program of being pre-installed by mobile phone is according to conventional note processing;
7) if the note Agent program of recipient's mobile terminal finds that heading is the note of $ GPRMC, parse geographical location information, transmit leg cell-phone number, transaction number, inform the geographic information application program that is registered as before this case distribution object by interprocess communication;
8) if recipient's mobile terminal note Agent program finds that heading is the note of $ GPURL, parse long-range shelves URL, transmit leg cell-phone number, transaction number, inform the geographic information application program that is registered as before this case distribution object by interprocess communication;
9) the geographic information application program of recipient's mobile terminal receives behind the geographical position, cell-phone number, transaction number that the communication of recipient's mobile terminal note Agent program striding course sends, and judges that whether geography information is legal;
10) if the geographic information application program of recipient's mobile terminal judges that geography information is legal, by interprocess communication, successful information is sent to the note Agent program of recipient's mobile terminal together with transmit leg cell-phone number and transaction number, this note Agent program generates message and the exclusive or check code with the also additional recipient's telephone number of $ GPOK heading, transaction number, and this message is sent to sender mobile terminal by note;
11) if the geographic information application program of recipient's mobile terminal judges that geography information is illegal, by interprocess communication, failure information is sent to recipient's mobile terminal note Agent program together with transmit leg cell-phone number and transaction number, this note Agent program generates message and the exclusive or check code with the also additional recipient's telephone number of $ GPFAIL heading, transaction number, and this message is sent to sender mobile terminal by note;
12) the geographic information application program of recipient's mobile terminal receives after the geography information file URL, transmit leg cell-phone number, transaction number that the communication of recipient's mobile terminal note Agent program striding course sends, and AutoLink public documents server is downloaded the geography information file that this URL formulates;
13) if successfully downloading, the geographic information application program of recipient's mobile terminal obtains the geography information file that corresponding URL is corresponding, by interprocess communication, successful information is sent to the note Agent program of recipient's mobile terminal together with transmit leg mobile phone and transaction number, this note Agent program generates message and the exclusive or check code with the also additional recipient's telephone number of $ GPOK heading, transaction number, and this message is sent to sender mobile terminal by note;
14) if cannot downloading, the geographic information application program of recipient's mobile terminal obtains the geography information file that corresponding URL is corresponding, by interprocess communication, failure information is sent to recipient's mobile terminal note Agent program together with transmit leg cell-phone number and transaction number, this note Agent program generates message and the exclusive or check code with the also additional recipient's telephone number of $ GPFAIL heading, transaction number, and this message is sent to sender mobile terminal by note;
15) after the $ GPOK/ $ GPFAIL note side of being sent out mobile terminal interception receives, resolve reception result and transaction number, inform that this sharing information of geographic information application program is successfully or failure;
16) $ GPRMC, $ GPURL, $ GPOK, $ GPFAIL message also can complete coding&decoding in user's geographic information application program, and note Agent program is only responsible for message interception and message repeating;
17) message which specific format note Agent tackles can be informed by interprocess communication by geographic information application program;
18) note Agent is that application program has retained the interface that sends note by interprocess communication mode, interface parameters comprises: send number, send message, these parameters are all obtained and inform note Agent program by analytic message by geographic information application program.
Advantage of the present invention and beneficial effect: provided by the inventionly realize the convenient propelling movement of geographical location information and shared method between mobile terminal based on note, when work, do not need to input the IP address information of the other side's mobile terminal, mobile terminal does not even need to open data, services, just can realize easily the position information share between different mobile terminal.
Embodiment
Below in conjunction with accompanying drawing, the present invention will be further described.
As Fig. 1, in transmit leg and recipient's mobile terminal, all must comprise following three modules or program no matter in the present invention be:
1) note Agent program: this program is in intermediate layer, prepackage, interception has the note of $ GPRMC, $ GPURL, $ GPOK, $ GPFAIL heading, and resolve above-mentioned message, provide interface to allow user's geographic information application program dynamic registration, and analysis result is sent to the geographic information application program of registering by interprocess communication; The striding course communication that receives geographic information application program returns results, and result is sent to target device; The interface of application program registration associated geographical is provided.
2) geographic information application program: this program is by user writing, program is note Agent case distribution object by interprocess communication dynamic registration after startup, be responsible for geographical sharing, be responsible for sharing reception and the application of geography information, be responsible for the upload and download of long-range geographical message file, but actual note message coding, note send, note is resolved all and is responsible for by note Agent program.
3) conventional note program: this program is mobile phone pre-installed applications while dispatching from the factory, be responsible for the transmission of conventional note, receive and storage, first notes all in this patent all can be tackled by note Agent, if a note is not tackled by note Agent, will be taken as normal short message by conventional note routine processes.
Substance of the present invention is: 1) in the time of the single location geographic information of exchange, sender mobile terminal adopts $ GPRMC message rule in NMEA 0183 text to encode to the geographical position of sharing, and is sent to recipient's mobile terminal by note Agent;
2) in the time that exchange geographic information data amount is larger, information is uploaded to public documents server by sender mobile terminal, and record URL, and additional URL special packet head $ GPURL is sent to recipient's mobile terminal;
3) Agent of recipient's mobile terminal is by note the parsing of this specific format of interception;
4) if real-time position information, directly parsing;
5) if URL, notification application link download location, HTTP chained address file;
6) recipient sends GPOK or GPFAIL message to transmit leg, and whether prompting transmit leg receives and successfully resolved.
While realizing the inventive method, mobile terminal has been installed and has been tackled (the Inter-process communication that communicates by letter with support striding course with parsing specific format note, be called for short IPC) note Agent, can be at Android, on the mobile-terminal platforms such as Windows Phone, realize.
Specific embodiment:
(1), by Fig. 2,4, wherein in Fig. 2, the corresponding numeral of arrow is carried out the order of flow process, when mobile terminal push or share be single positional information time:
Suppose that the geography information that will send is: longitude is that east longitude 112 is spent 12.345 points, north latitude 32 is spent 37.765 points, suppose that again sender mobile terminal phone number is 1391234xxxx, August 10 2013 satellite fix resolving time 12:39:19 UTC, recipient's phone number is 1999876xxxx.
The geographic information application program of sender mobile terminal adopts the method (or utilizing current clock information) increasing progressively, and generates a unique transaction number, is assumed to be 778899;
The geographic information application program of sender mobile terminal is communicated by letter by striding course, as the mode of socket communication sends to positional information, recipient's cell-phone number, transaction number the note Agent of sender mobile terminal;
The note Agent of sender mobile terminal adopts the $ GPRMC message format of NMEA 0183 that positional information is encapsulated as to text message, and expands telephone number, the transaction number of this this mobile terminal of COM Continuation of Message, adds exclusive or check code, obtains following message:
$GPRMC,123919,A,3237.765,N,11212.345,E,,,20130810,,,1391234xxxx,778899*28<CR><LF>
In above-mentioned message, standard $ GPRMC is expanded, " 1391234xxxx, 778899 " represent the transmit leg telephone number and the transaction number that insert, provide recipient's mobile terminal to send it back the destination address of feedforward information; The * of afterbody is special sign, the 28th, and after character ' $ ' and the exclusive or check of the front message of character ' * ', tail symbol <CR><LFGreatT.Gr eaT.GT represents new line.
The mobile terminal note Agent of transmit leg sends to recipient's mobile terminal by short message channel, and by wireless carrier network, is received by recipient's mobile terminal;
The built-in note Agent that possesses the special message format function of intercepting position note of recipient's mobile terminal, adopts KMP algorithm (Cnut---Mo Lisi---Alexandre Desplat algorithm) automatically to detect the note receiving;
If recipient's note Agent does not find to mate the headings such as $ GPRMC, $ GPURL, $ GPOK, $ GPFAIL, this note is left intact, built-in note program can receive according to normal short message, store, remind user;
If recipient's note Agent has detected $ GPRMC heading, Agent can read this message automatically, (east longitude 112 is spent 12.345 points to resolve positional information according to NMEA 0183 message format, north latitude 32 is spent 37.765 points), transmit leg telephone number information (1391234xxxx), affairs numberings (778899) etc., and send to recipient's geographic information application program by interprocess communication.
Whether recipient's geographic information application program successfully obtains positional information, can do concise and to the point checking, for example judge location in rational region etc., notifies recipient Agent to send GPOK message to transmit leg; If authentication failed, notifies recipient Agent to send $ GPFAIL message to transmit leg.
Herein, the concrete form of $ GPOK message is:
$GPOK,1999876xxxx,778899*3F<CR><LF>
Equally, 1999876xxxx represents mobile terminal recipient's telephone number, the 778899th, transaction number, 3F is exclusive or check result, the * of afterbody is special sign, 3F is character ' after $ ' and the exclusive or check of the front message of character ' * ', tail symbol <CR><LFGreatT.Gr eaT.GT represents new line;
If the position receiving does not meet user's demand (if not in fixed area), the $ GPFAIL message sending has following form:
$GPFAIL,1999876xxxx,778899*39<CR><LF>
Wherein, 1999876xxxx represents mobile terminal recipient's telephone number, the 778899th, transaction number, 3F is exclusive or check result, the * of afterbody is special sign, the 39th, after character ' $ ' and the exclusive or check of the front message of character ' * ', tail symbol <CR><LFGreatT.Gr eaT.GT represents new line;
The note Agent of sender mobile terminal intercepts after the $ GPOK/ $ GPFAIL message sending by note, parse the telephone number 1999876xxxx (being geography information recipient in essence) that sends this note, and transaction number 778899, inform the geographic information application program of dynamic registration by striding course communication.
(2), by Fig. 3,5, wherein in Fig. 3, the corresponding numeral of arrow is carried out the order of flow process, when mobile terminal share be multiple positional informations or positional information file time
Geographic information application program is encoded multiple positional informations of required transmission or positional information file according to ESRI shape file format, and issue the note Agent program of sender mobile terminal by interprocess communication, suppose that transmit leg phone number is 1391234xxxx herein, the local document of the geography information storage of transmitting (is assumed to be gps.shp, gps.dbf), recipient's phone number is 1999876xxxx, and the unique transaction number generating according to current mobile terminal clock is 998877.
The public documents server address (being assumed to be http://somewhere.xxx.xxx/somedir) of specifying in advance according to user is based on http protocol upload file gps.shp, and gps.dbf obtains this and upload the URL of shelves, is assumed to be
http://somewhere.xxx.xxx/somedir/gps.shp
http://somewhere.xxx.xxx/somedir/gps.dbf
The geographic information application program of sender mobile terminal informs that by interprocess communication the note Agent of this equipment will transmit network file name corresponding to multiple positions (two network addresss above), the other side's cell-phone number (1999876xxxx), transaction number (998877).
The note Agent of sender mobile terminal adds current device cell-phone number, after above-mentioned information coding, obtains following GPURL form message:
$GPURL,http://somewhere.xxx.xxx/somedir/gps.shp,http://somewhere.xxx.xxx/somedir/gps.dbf,1391234xxxx,998877*7B<CR><LF>
Wherein, first three items is respectively heading, shape file path on the webserver, file dbf file path on the webserver, what " 1391234xxxx " represented is transmit leg cell-phone number, the 998877th, and transaction number, the * of afterbody is special sign, 7B is character ' after $ ' and the exclusive or check of the front message of character ' * ', tail symbol <CR><LFGreatT.Gr eaT.GT represents new line;
Note Agent sends to recipient's mobile terminal (1999876xxxx) by the message that has added $ GPURL heading by short message channel, by wireless carrier network, is received by recipient's mobile terminal;
The built-in note Agent that possesses the special message format function of intercepting position note of recipient's mobile terminal, adopts KMP algorithm (Cnut---Mo Lisi---Alexandre Desplat algorithm) automatically to detect the note receiving;
If if the note Agent of recipient's mobile terminal does not find to mate the headings such as $ GPRMC, $ GPURL, $ GPOK, $ GPFAIL, this note is left intact, built-in note program can receive according to normal short message, store, remind user;
If the note Agent of recipient's mobile terminal has detected $ GPURL heading, Agent can read this message automatically, obtain downloading the URL of shape document, and by interprocess communication, URL being sent to that program of geographic information application of registering to oneself, the geographic information application program of recipient's mobile terminal is downloaded shape file according to this URL automatically.
After the geographic information application program success download file of recipient's mobile terminal, notify the note Agent of recipient's mobile terminal to send the result of downloading success or failure by interprocess communication, notify the note Agent of recipient's mobile terminal to send $ GPOK message to sender mobile terminal; If failed download, notifies the note Agent of recipient's mobile terminal to send $ GPFAIL message to sender mobile terminal.
Herein, the concrete form of $ GPOK message is:
$GPOK,1999876xxxx,998877*3F<CR><LF>
Equally, 1999876xxxx represents the telephone number of recipient's mobile terminal, the 778899th, transaction number, 3F is exclusive or check result, the * of afterbody is special sign, 3F is character ' after $ ' and the exclusive or check of the front message of character ' * ', tail symbol <CR><LFGreatT.Gr eaT.GT represents new line;
If the position receiving does not meet user's demand (if not in fixed area), the $ GPFAIL message sending has following form:
$GPFAIL,1999876xxxx,778899*39<CR><LF>
Wherein, 1999876xxxx represents the telephone number of recipient's mobile terminal, the 998877th, transaction number, 3F is exclusive or check result, the * of afterbody is special sign, the 39th, character ' after $ ' and the exclusive or check of the front message of character ' * ', tail symbol <CR><LFGreatT.Gr eaT.GT represents new line;
The note Agent of sender mobile terminal intercepts by after note $ GPOK/ $ GPFAIL message, parse the telephone number 1999876xxxx (being recipient's mobile terminal number in essence) that sends this note, and transaction number 998877, inform the geographic information application program of dynamic registration by striding course communication.
Brief description of the drawings
Fig. 1 is the method and system composition that geography information shared device provided by the invention is processed normal short message;
Fig. 2 is simple position information sharing method provided by the invention and system composition;
Fig. 3 is larger data amount geography information method for pushing provided by the invention and system composition;
Fig. 4 is flow process when mobile terminal is shared single geographical location information in the present invention;
Fig. 5 is flow process when mobile terminal is shared big data quantity geographical location information in the present invention.

Claims (1)

1. the mobile terminal geography information switching method based on note, it is characterized in that: do not changing on the basis of prior wireless network equipment, tackle the note Agent program of specific messaging format and the geographic information application program that user writes according to specification by installation, realize between mobile terminal position information share easily;
Transmit leg and recipient's mobile terminal all must comprise following three modules or program:
(1) note Agent program: this program is in intermediate layer, prepackage, interception has the note of $ GPRMC, $ GPURL, $ GPOK, $ GPFAIL heading, and resolve above-mentioned message, provide interface to allow user's geographic information application program dynamic registration, and analysis result is sent to the geographic information application program of registering by interprocess communication, the striding course communication that receives geographic information application program returns results, and result is sent to target device, the interface of application program registration associated geographical is provided;
(2) geographic information application program: this program is by user writing, program is note Agent case distribution object by interprocess communication dynamic registration after startup, be responsible for geographical sharing, be responsible for sharing reception and the application of geography information, be responsible for the upload and download of long-range geographical message file, but actual note message coding, note send, note is resolved all and is responsible for by note Agent program;
(3) conventional note program: this program is mobile phone pre-installed applications while dispatching from the factory, be responsible for the transmission of conventional note, receive and storage, first all notes all can be tackled by note Agent, if a note is not tackled by note Agent, will be taken as normal short message by conventional note routine processes;
In the time of the single location geographic information of exchange, sender mobile terminal adopts $ GPRMC message rule in NMEA 0183 text to encode to the geographical position of sharing, and is sent to recipient's mobile terminal by note Agent;
In the time that exchange geographic information data amount is larger, information is uploaded to public documents server by sender mobile terminal, and record URL, and additional URL special packet head $ GPURL is sent to recipient's mobile terminal;
The Agent of recipient's mobile terminal is by note the parsing of this specific format of interception;
If real-time position information is directly resolved;
If URL, notification application link download location, HTTP chained address file;
Recipient sends GPOK or GPFAIL message to transmit leg, and whether prompting transmit leg receives and successfully resolved;
Concrete grammar is as follows:
1) mobile terminal is by wireless carrier network note sharing positional information, all built-in interceptions and send the note Agent program of note of transmit leg and recipient, and the application program that geography information is shared in support that user writes is installed; Note Agent program provides interprocess communication interface, and allowing user's geographic information application program registration is event notification applications; After user's geographic information application program starts, register to note Agent by interprocess communication, become the event notice object of note Agent;
2) support to share single or multiple geography information position between different mobile terminal, and before each sharing positional information, generate the integer transaction number of a unique coding by the mode increasing progressively;
3) if share single positional information, longitude and latitude positional information, the other side's cell-phone number, transaction number that the geographic information application program of sender mobile terminal will be shared adopt interprocess communication to send to note Agent program, note Agent program adopts the single positional information receiving after the $ GPRMC form coding in NMEA 0183 message, and replace the check code before expansion with telephone number, the transaction number of this equipment and the exclusive or check code regenerating, form transmission text;
4) if what share is multiple positional informations, first the geographic information application program of sender mobile terminal uploads to public HTTP geography information file server by positional information in modes such as HTTP, obtain adding telephone number, the transaction number to method, apparatus after the URL of network file, send to note Agent by interprocess communication, note Agent program is added heading $ GPURL to URL, and the telephone number of additional this equipment, transaction number and exclusive or check coding;
5) note Agent sends to recipient mobile terminal by note form by wireless carrier network by the text after coding;
6) note that the note Agent in recipient's mobile terminal tackles this specific format, if do not possess the note of $ GPRMC, $ GPURL, $ GPOK, these specific format headings of $ GPFAIL, abandon processing, the note program of being pre-installed by mobile phone is according to conventional note processing;
7) if the note Agent program of recipient's mobile terminal finds that heading is the note of $ GPRMC, parse geographical location information, transmit leg cell-phone number, transaction number, inform the geographic information application program that is registered as before this case distribution object by interprocess communication;
8) if recipient's mobile terminal note Agent program finds that heading is the note of $ GPURL, parse telefile URL, transmit leg cell-phone number, transaction number, inform the geographic information application program that is registered as before this case distribution object by interprocess communication;
9) the geographic information application program of recipient's mobile terminal receives behind the geographical position, cell-phone number, transaction number that the communication of recipient's mobile terminal note Agent program striding course sends, and judges that whether geography information is legal;
10) if the geographic information application program of recipient's mobile terminal judges that geography information is legal, by interprocess communication, successful information is sent to the note Agent program of recipient's mobile terminal together with transmit leg cell-phone number and transaction number, this note Agent program generates message and the exclusive or check code with the also additional recipient's telephone number of $ GPOK heading, transaction number, and this message is sent to sender mobile terminal by note;
11) if the geographic information application program of recipient's mobile terminal judges that geography information is illegal, by interprocess communication, failure information is sent to recipient's mobile terminal note Agent program together with transmit leg cell-phone number and transaction number, this note Agent program generates message and the exclusive or check code with the also additional recipient's telephone number of $ GPFAIL heading, transaction number, and this message is sent to sender mobile terminal by note;
12) the geographic information application program of recipient's mobile terminal receives after the geography information file URL, transmit leg cell-phone number, transaction number that the communication of recipient's mobile terminal note Agent program striding course sends, and AutoLink public documents server is downloaded the geography information file that this URL formulates;
13) if successfully downloading, the geographic information application program of described recipient's mobile terminal obtains the geography information file that corresponding URL is corresponding, by interprocess communication, successful information is sent to the note Agent program of recipient's mobile terminal together with transmit leg mobile phone and transaction number, this note Agent program generates message and the exclusive or check code with the also additional recipient's telephone number of $ GPOK heading, transaction number, and this message is sent to sender mobile terminal by note;
14) if cannot downloading, the geographic information application program of described recipient's mobile terminal obtains the geography information file that corresponding URL is corresponding, by interprocess communication, failure information is sent to recipient's mobile terminal note Agent program together with transmit leg cell-phone number and transaction number, this note Agent program generates message and the exclusive or check code with the also additional recipient's telephone number of $ GPFAIL heading, transaction number, and this message is sent to sender mobile terminal by note;
15) after the $ GPOK/ $ GPFAIL note side of being sent out mobile terminal interception receives, resolve reception result and transaction number, inform that this sharing information of geographic information application program is successfully or failure;
16) $ GPRMC, $ GPURL, $ GPOK, $ GPFAIL message also can complete coding&decoding in user's geographic information application program, and note Agent program is only responsible for message interception and message repeating;
17) message which specific format note Agent tackles can be informed by interprocess communication by geographic information application program;
18) note Agent is that application program has retained the interface that sends note by interprocess communication mode, interface parameters comprises: send number, send message, these parameters are all obtained and inform note Agent program by analytic message by geographic information application program.
CN201410459459.8A 2014-09-10 2014-09-10 A kind of mobile terminal geography information exchange method based on short message Expired - Fee Related CN104185147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410459459.8A CN104185147B (en) 2014-09-10 2014-09-10 A kind of mobile terminal geography information exchange method based on short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410459459.8A CN104185147B (en) 2014-09-10 2014-09-10 A kind of mobile terminal geography information exchange method based on short message

Publications (2)

Publication Number Publication Date
CN104185147A true CN104185147A (en) 2014-12-03
CN104185147B CN104185147B (en) 2017-07-28

Family

ID=51965824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410459459.8A Expired - Fee Related CN104185147B (en) 2014-09-10 2014-09-10 A kind of mobile terminal geography information exchange method based on short message

Country Status (1)

Country Link
CN (1) CN104185147B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117282A (en) * 2018-07-16 2019-01-01 阿里巴巴集团控股有限公司 A kind of data transmission method, communication part, apparatus and system
CN109634683A (en) * 2018-12-05 2019-04-16 珠海市小源科技有限公司 The configuration of short message operation frame and method for pushing and device based on enterprise expectations
CN111050288A (en) * 2020-01-17 2020-04-21 神州伟智(天津)科技有限公司 Method, system, electronic device and storage medium for pushing location using short message

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003046719A2 (en) * 2001-11-27 2003-06-05 Schlumberger Systemes Implementing sms-based value added service
CN1968076A (en) * 2006-04-28 2007-05-23 华为技术有限公司 Method for data synchronization between devices
CN101277247A (en) * 2007-03-30 2008-10-01 传神联合(北京)信息技术有限公司 Real-time communication system
CN101951348A (en) * 2010-09-17 2011-01-19 北京百纳科创信息技术有限公司 Mail push system and push method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003046719A2 (en) * 2001-11-27 2003-06-05 Schlumberger Systemes Implementing sms-based value added service
CN1968076A (en) * 2006-04-28 2007-05-23 华为技术有限公司 Method for data synchronization between devices
CN101277247A (en) * 2007-03-30 2008-10-01 传神联合(北京)信息技术有限公司 Real-time communication system
CN101951348A (en) * 2010-09-17 2011-01-19 北京百纳科创信息技术有限公司 Mail push system and push method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117282A (en) * 2018-07-16 2019-01-01 阿里巴巴集团控股有限公司 A kind of data transmission method, communication part, apparatus and system
CN109634683A (en) * 2018-12-05 2019-04-16 珠海市小源科技有限公司 The configuration of short message operation frame and method for pushing and device based on enterprise expectations
CN111050288A (en) * 2020-01-17 2020-04-21 神州伟智(天津)科技有限公司 Method, system, electronic device and storage medium for pushing location using short message

Also Published As

Publication number Publication date
CN104185147B (en) 2017-07-28

Similar Documents

Publication Publication Date Title
US9173077B2 (en) Method in a UE, a network node and a client node in a wireless communications network
US8649314B2 (en) Peer-to-peer mobile data transfer method and device
EP1488658B1 (en) Geographical location information exchange between terminals
WO2012154317A1 (en) Automated reply messages among end user communication devices
Choy et al. Application of satellite navigation system for emergency warning and alerting
US20130157622A1 (en) Systems and methods for providing mobile handset position to software applications
CN107105414A (en) A kind of income system and method for Big Dipper RDSS short messages and SMS
RU2007139323A (en) OPTIMUM CHOICE OF A COMMUNICATION NETWORK IN THE PLACE OF THE TERMINAL LOCATION
CN101861726B (en) Emergency information distribution system, emergency information distribution method, transmission server, and mobile terminal
US20130303107A1 (en) Location Determination of a Roaming Subscriber Device Using SMS for Emergency Purposes
CN111211879A (en) Beidou message transmission method and airborne Beidou system
Croft On forensics: A silent SMS attack
CN104185147A (en) Mobile terminal geographic information exchange method based on short messages
CN101115224A (en) Short message branching method and system for IMS network
US20090318110A1 (en) Method and apparatus for transmission of emergency messages
US9049585B1 (en) Method of providing additional information to emergency services about emergency locator beacons
CN103688558A (en) Interface between 3gpp networks and 3gpp2 networks for wap text messaging
EP2945401A1 (en) Method and system for transmitting at least one discovery message for device to device communication, user equipment adapted for transmitting at least one discovery message for device to device communication, program and computer program product
US9066321B1 (en) Proxy-based establishment of a communication session
CN102625268A (en) System and method for realizing two-way short message communication between Beidou terminal and mobile phone
CN101287162B (en) Generating method, device for message signature, message signing system
CN102143446B (en) Processing method and device of user customized information during message interconnecting process
JP2008219797A (en) Server, system and method for providing position information, and mobile communication terminal
JP5318341B2 (en) Messaging system
KR100587717B1 (en) Service system of location information used short message and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170728

Termination date: 20210910

CF01 Termination of patent right due to non-payment of annual fee