CN101964942B - Method for adding position information in mobile terminal and mobile terminal - Google Patents
Method for adding position information in mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN101964942B CN101964942B CN2010102790957A CN201010279095A CN101964942B CN 101964942 B CN101964942 B CN 101964942B CN 2010102790957 A CN2010102790957 A CN 2010102790957A CN 201010279095 A CN201010279095 A CN 201010279095A CN 101964942 B CN101964942 B CN 101964942B
- Authority
- CN
- China
- Prior art keywords
- message
- coordinate information
- mobile terminal
- character string
- location coordinate
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to the field of mobile terminals, and discloses a method for adding position information in the mobile terminal and the mobile terminal. The method for adding the position information in the mobile terminal and the mobile terminal can flexibly provide the current position information for a user through various type of messages (such as short message service (SMS), a multi-media message (MMS) or an instant message (IM)), provide the convenience for the user, lead the mobile terminal to increase the new function of adding positioning information in the message and have the advantages of simple operation and easy implementation by obtaining position coordinate information of the mobile terminal through a positioning function module, adding the position coordinate information into a position character string which is newly increased in a message structure body, forming the message with the position coordinate information, and sending to a receiving party.
Description
Technical field
The present invention relates to field of mobile terminals, in particular a kind of mobile terminal adds method and the mobile terminal of positional information.
Background technology
Along with the development of mobile communication technology and the raising of people's living standard, the use of mobile communication terminal is more and more universal.A lot of mobile communication terminals all provide some positioning services relevant application program, as GPS location, navigation etc.But the mobile communication terminal of prior art does not have the function that adds locating information in message, can not provide current positional information to the user neatly.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, above-mentioned defect for prior art, the method and the mobile terminal that provide a kind of mobile terminal to add positional information, a kind of method of the point of addition information that (comprises multimedia message, short message, instant message etc.) in the various types of messages of mobile terminal is provided, it can provide current positional information to the user neatly, provide users with the convenient, and mobile terminal has been increased add the new function of locating information in message.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of mobile terminal adds the method for positional information, wherein, comprises step:
A, obtain the location coordinate information of mobile terminal by localization function module;
B, described location coordinate information is joined in the newly-increased positional information character string of mobile terminal message structure, and the message formed with location coordinate information is sent to the recipient.
Described mobile terminal adds the method for positional information, wherein, also comprises step before described steps A:
A, newly increase the character string of implantation site information in the message structure body of mobile terminal.
Described mobile terminal adds the method for positional information, wherein, also comprises step:
C, recipient receive the described message with location coordinate information, and in the detect-message structure, whether newly-increased positional information character string has location coordinate information;
D, while in detecting the message structure body, in newly-increased positional information character string, location coordinate information being arranged, to the user, pointed out.
Described mobile terminal adds the method for positional information, and wherein, described step D also comprises: and resolve described location coordinate information to recipient's electronic chart.
Described mobile terminal adds the method for positional information, and wherein, described message comprises: short message, Multimedia Message, instant message.
A kind of mobile terminal, wherein, comprise;
Localization function module, for obtaining the location coordinate information of mobile terminal;
Coordinate information adds module, for described location coordinate information being joined to the newly-increased positional information character string of mobile terminal message structure, and form the message with location coordinate information;
Sending module, for being sent to the recipient by formation with the message of location coordinate information.
Described mobile terminal wherein, also comprises:
Character string increases module newly, newly increases the character string of implantation site information for the message structure body at mobile terminal.
Described mobile terminal, wherein, it also comprises:
Receive and detection module, for receiving the described message with location coordinate information, and in the detect-message structure, whether newly-increased positional information character string has location coordinate information;
Reminding module, when in detecting the newly-increased positional information character string of message structure body, location coordinate information being arranged, pointed out to the user.
Described mobile terminal, wherein, it also comprises:
Parsing module, when in detecting the newly-increased positional information character string of message structure body, location coordinate information being arranged, resolve described location coordinate information to corresponding electronic chart.
Described mobile terminal, wherein, described message comprises: short message, Multimedia Message, instant message.
Mobile terminal provided by the present invention adds method and the mobile terminal of positional information, owing to having adopted by localization function module, obtains the mobile terminal locations coordinate information; Described location coordinate information is joined in the newly-increased positional information character string of mobile terminal message structure, and the message formed with location coordinate information is sent to the recipient, can pass through neatly various types of messages (as short message (SMS), Multimedia Message (MMS) or instant message (IM)) provide current positional information to the user, provide users with the convenient, and mobile terminal has been increased add the new function of locating information in message, and have simple to operately, realize to be easy to advantage.
The accompanying drawing explanation
Fig. 1 is the method flow diagram that the mobile terminal of the embodiment of the present invention adds positional information;
Fig. 2 is the mobile terminal theory diagram of the embodiment of the present invention.
Embodiment
The invention provides method and mobile terminal that a kind of mobile terminal adds positional information, clearer, clear and definite for making purpose of the present invention, technical scheme and advantage, referring to accompanying drawing, developing simultaneously, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
A kind of mobile terminal that the embodiment of the present invention provides adds the method for positional information, as shown in Figure 1, comprises the following steps:
Step S110, newly increase the character string of implantation site information in the message structure body of mobile terminal.
Various types of messages on mobile terminal is as short message (SMS), Multimedia Message (MMS) or instant message (IM) are normally with the form preservation of a message structure body (structure) on the application layer of mobile phone, and wherein each element comprises other attributes of message content and this message.
The inventive method is implemented in the message structure body and adds a new character string element, and the positional information when indicating the transmission of this message, take the C language as example, and the message structure body is:
struct{
…
// above clipped means original element in the message structure body
Char Position[MAX_LENGTH]; // this character string is preserved location coordinate information
}xxMessage;
The user can select whether in this message, to add positional information before sending SMS message, if be not added in above-mentioned character string Position for empty.
Step S120, by localization function module, obtain the mobile terminal locations coordinate information.
Step S130, described location coordinate information is joined in the newly-increased positional information character string of mobile terminal message structure, and the message formed with location coordinate information is sent to the recipient.
As mentioned above, as the user selects to add positional information, can obtain location coordinate information by the localization function module in mobile phone.And, by location coordinate information, as 3256.55N, 1133.43E, join in above-mentioned Position character string element, then sends to the recipient.
Wherein, described message comprises: short message, Multimedia Message, instant message.This message with location coordinate information can send by short message, Multimedia Message, instant message.
Step S140, recipient receive the described message with location coordinate information, and in the detect-message structure, whether newly-increased positional information character string has location coordinate information.
Step S150, while in detecting the message structure body, in newly-increased positional information character string, location coordinate information being arranged, to the user, pointed out.
For example, after recipient user's mobile phone is received short message, check in message structure, whether Position character string element is empty, as in the character string element, had coordinate information, can be pointed out to the user, or with special icon, such short message be identified in inbox.
Step S160, resolve described location coordinate information to recipient's electronic chart.
Because the longitude and latitude coordinate is clear not and directly perceived for the user, for display position information more directly perceived, the application programs such as the coordinate data returned and electronic chart can be associated, be about to coordinate and pass to the electronic chart application program, application program is labeled in current location on map according to coordinate.
Therefore, a kind of mobile terminal that the embodiment of the present invention provides adds the method for positional information, by adding a new character string element for adding positional information in the message structure body, increased the amount of information of message, and provide new function and experience for the user, and the not operation of more complexity for the user is technical simply effective and feasible.
Mobile terminal based on above-described embodiment adds the method for positional information, the embodiment of the present invention also provides a kind of mobile terminal, wherein, the mobile terminal of the present embodiment, except realizing the functions such as common editor, reception and transmission various types of messages, also will be processed (add coordinate information or be set to sky) to the Position field in the message structure according to user's setting, and in the message that receives of judgement in structure the Position element whether have coordinate information.
As described in Figure 2, when as the localization message transmit leg, the mobile terminal of the embodiment of the present invention comprises:
For example, can realize by technology such as (including but not limited to) GPS, Cell-ID or WiFi location, can be determined by the concrete configuration of mobile phone.
Coordinate information adds module 220, for described location coordinate information being joined to the newly-increased positional information character string of mobile terminal message structure, and form the message with location coordinate information;
Sending module 230, for being sent to the recipient by formation with the message of location coordinate information.Wherein, described message comprises: short message, Multimedia Message, instant message.This message with location coordinate information can send by short message, Multimedia Message, instant message, and the present invention has multiple send mode flexibly.
Character string increases module 240 newly, newly increases the character string of implantation site information for the message structure body at mobile terminal.
When the mobile terminal of embodiment, during as the recipient, as described in Figure 2, it also comprises:
Receive and detection module 250, for receiving the described message with location coordinate information, and in the detect-message structure, whether newly-increased positional information character string has location coordinate information;
Reminding module 260, when in detecting the newly-increased positional information character string of message structure body, location coordinate information being arranged, pointed out to the user.
Parsing module 270, when in detecting the newly-increased positional information character string of message structure body, location coordinate information being arranged, resolve described location coordinate information to corresponding electronic chart.
In sum, mobile terminal provided by the present invention adds method and the mobile terminal of positional information, owing to having adopted by localization function module, obtains the mobile terminal locations coordinate information; Described location coordinate information is joined in the newly-increased positional information character string of mobile terminal message structure, and the message formed with location coordinate information is sent to the recipient, can pass through neatly various types of messages (as short message (SMS), Multimedia Message (MMS) or instant message (IM)) provide current positional information to the user, provide users with the convenient, and mobile terminal has been increased add the new function of locating information in message, and have simple to operately, realize to be easy to advantage
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection range of claims of the present invention.
Claims (2)
1. a mobile terminal adds the method for positional information, it is characterized in that, comprises step:
A, obtain the location coordinate information of mobile terminal by localization function module;
B, described location coordinate information is joined in the newly-increased positional information character string of mobile terminal message structure, and the message formed with location coordinate information is sent to the recipient;
Also comprised step before described steps A:
A, newly increase the character string of implantation site information in the message structure body of mobile terminal;
Also comprise step:
C, recipient receive the described message with location coordinate information, and in the detect-message structure, whether newly-increased positional information character string has location coordinate information;
D, while in detecting the message structure body, in newly-increased positional information character string, location coordinate information being arranged, to the user, pointed out;
In inbox, with special icon, to described band, the message with location coordinate information is identified;
Described step D also comprises: resolve described location coordinate information to recipient's electronic chart;
Described message comprises: short message, Multimedia Message, instant message;
Message on described mobile terminal is to preserve with the form of a message structure body structure on application layer;
Add a new character string element in the message structure body, whether the positional information when indicating the transmission of this message, added positional information according to user's selection before sending message in this message, as character string Position as described in not adding for empty; As selected to add positional information, by localization function module, obtain location coordinate information, and location coordinate information is joined in Position character string element, then send to the recipient;
After the recipient receives message, check in message structure, whether Position character string element is empty, as in the character string element, had coordinate information, to the user, is pointed out or with special icon, such message is identified in inbox.
2. a mobile terminal, is characterized in that, comprises;
Localization function module, for obtaining the location coordinate information of mobile terminal;
Coordinate information adds module, for described location coordinate information being joined to the newly-increased positional information character string of mobile terminal message structure, and form the message with location coordinate information;
Sending module, for being sent to the recipient by formation with the message of location coordinate information;
Also comprise:
Character string increases module newly, newly increases the character string of implantation site information for the message structure body at mobile terminal;
It also comprises:
Receive and detection module, for receiving the described message with location coordinate information, and in the detect-message structure, whether newly-increased positional information character string has location coordinate information;
Reminding module, when in detecting the newly-increased positional information character string of message structure body, location coordinate information being arranged, pointed out to the user;
In inbox, with special icon, to described band, the message with location coordinate information is identified described mobile terminal;
Parsing module, when in detecting the newly-increased positional information character string of message structure body, location coordinate information being arranged, resolve described location coordinate information to corresponding electronic chart;
Described message comprises: short message, Multimedia Message, instant message;
Message on described mobile terminal is to preserve with the form of a message structure body structure on application layer;
Add a new character string element in the message structure body, whether the positional information when indicating the transmission of this message, added positional information according to user's selection before sending message in this message, as character string Position as described in not adding for empty; As selected to add positional information, by localization function module, obtain location coordinate information, and location coordinate information is joined in Position character string element, then send to the recipient;
After the recipient receives message, check in message structure, whether Position character string element is empty, as in the character string element, had coordinate information, to the user, is pointed out or with special icon, such message is identified in inbox.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102790957A CN101964942B (en) | 2010-09-09 | 2010-09-09 | Method for adding position information in mobile terminal and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010102790957A CN101964942B (en) | 2010-09-09 | 2010-09-09 | Method for adding position information in mobile terminal and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101964942A CN101964942A (en) | 2011-02-02 |
CN101964942B true CN101964942B (en) | 2013-12-11 |
Family
ID=43517631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010102790957A Expired - Fee Related CN101964942B (en) | 2010-09-09 | 2010-09-09 | Method for adding position information in mobile terminal and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101964942B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102404685A (en) * | 2011-11-08 | 2012-04-04 | 惠州Tcl移动通信有限公司 | Sending method and sharing method of location information and mobile communication terminal |
TWI469102B (en) * | 2011-11-29 | 2015-01-11 | Chun Chia Tai | Method for describing characteristics of drawn objects by a text string |
GB201408408D0 (en) * | 2014-05-12 | 2014-06-25 | Tomlinson Martin | Method and apparatus for time limited messages in packet communications |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291490A (en) * | 2008-05-30 | 2008-10-22 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal, method and system thereof for short message sending, receiving and displaying |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6993318B2 (en) * | 2002-08-05 | 2006-01-31 | Technocom Corporation | System and method for network assisted calibration in a wireless network |
-
2010
- 2010-09-09 CN CN2010102790957A patent/CN101964942B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101291490A (en) * | 2008-05-30 | 2008-10-22 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal, method and system thereof for short message sending, receiving and displaying |
Also Published As
Publication number | Publication date |
---|---|
CN101964942A (en) | 2011-02-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11627435B2 (en) | Sending location information from within a communication application | |
US9386409B2 (en) | LBS-based prompt information output method and system, and storage medium | |
US9020542B2 (en) | Systems and methods for user-initiated location-based services through messaging | |
CN102131144A (en) | Method, system and mobile terminal for displaying contact | |
CN101291490A (en) | Mobile terminal, method and system thereof for short message sending, receiving and displaying | |
CA2641300C (en) | Sending location information from within a communication application | |
CN103327451A (en) | Mobile phone location system, mobile phone location method and mobile phone | |
CN103220310A (en) | Calling card exchange method and terminal and calling card server used for calling card exchange | |
TW201146057A (en) | Apparatuses and methods for reporting positioning information and assistance data | |
CN103152247A (en) | Mail sending method and mail sending device | |
WO2013189363A2 (en) | Method for sending/receiving information by both parties in call state and mobile terminal | |
CN101964942B (en) | Method for adding position information in mobile terminal and mobile terminal | |
CN104869049A (en) | Terminal information sending method and system thereof | |
US9204248B2 (en) | Communication terminal and information transmission processing method therefor | |
CN101965725B (en) | Web browser to cellular radio handset provides the method for URL(uniform resource locator), cellular radio handset, system and computer program | |
CN102694748B (en) | The method and system of position tracking are carried out by JICQ | |
CN104853312A (en) | Location-based message leaving and replying method | |
TWI274892B (en) | Position data exchange systems, mobile communication devices, and methods | |
KR20170065722A (en) | Method for calling service which can share location data each other with sharing map through sending and receiving location data in real-time | |
CN104219370B (en) | Carry out the method and mobile terminal of short message reading process | |
CN104270407B (en) | The method shared position is realized based on Big Dipper short message | |
US20120005288A1 (en) | Mobile terminal, mail return method, and server | |
CN105891848A (en) | Beidou based interactive position indicating beacon obtaining and SOS information sending method | |
CN101945330A (en) | Mobile terminal-based positioning method and mobile terminal | |
CN105827500A (en) | Method of instant communication and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20131211 |