CN102740229A - Method and system for issuing position sharing information - Google Patents

Method and system for issuing position sharing information Download PDF

Info

Publication number
CN102740229A
CN102740229A CN201210215137XA CN201210215137A CN102740229A CN 102740229 A CN102740229 A CN 102740229A CN 201210215137X A CN201210215137X A CN 201210215137XA CN 201210215137 A CN201210215137 A CN 201210215137A CN 102740229 A CN102740229 A CN 102740229A
Authority
CN
China
Prior art keywords
sharing information
position sharing
client application
note
data
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
CN201210215137XA
Other languages
Chinese (zh)
Other versions
CN102740229B (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.)
Beijing Shenzhou Taiyue Software Co Ltd
Original Assignee
Beijing Shenzhou Taiyue Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shenzhou Taiyue Software Co Ltd filed Critical Beijing Shenzhou Taiyue Software Co Ltd
Priority to CN201210215137.XA priority Critical patent/CN102740229B/en
Publication of CN102740229A publication Critical patent/CN102740229A/en
Application granted granted Critical
Publication of CN102740229B publication Critical patent/CN102740229B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for issuing position sharing information. The method comprises the following steps that: a server packages the position sharing information according to a preset format, and issues the position sharing information to a mobile terminal through a short message; after receiving the short message comprising the position sharing information, the mobile terminal transmits the data in the short message to a client application loaded in the mobile terminal; the client application resolves the position sharing information in the data according to the preset format; and the client application performs map interface updating according to the position sharing information. By the method and the system, the problems that the issuing of the position sharing information is failed and the terminal consumes too much electricity can be solved.

Description

A kind of method and system that issues the position sharing information
Technical field
The present invention relates to the communications field, particularly a kind of method and system that issues the position sharing information.
Background technology
Along with the development of mobile Internet, and technological progressively the popularizing of LBS (location based services), carry out the also increasing appearance of application of sharing the position based on LBS; How quick; Accurately, share friend location in real time, behavioural information has become the problem that needs in the LBS application.
Said LBS uses: i.e. location based services, and the application that mobile network combines with portable terminal, it is based on mobile positioning technique; The various Additional Services that launch around positional information are provided; For example, through the position is shared with the good friend, promote the interactive social activity of good friend to use.
In the prior art, on the portable terminal, adopt the passage of long-acting ways of connecting as message transmission usually, for example the Internet that provides of mobile network inserts.In such cases, server side can keep being connected with the network of client, and when the sharing information of new position, server sends the data to client with the long-acting connection of position sharing information through having existed.
Adopt long-acting connection to have following problem:
It is excessive that long-acting connected mode is influenced by network condition, interrupts if network exists, and then causes the position sharing information to issue failure.
In some mobile-terminal platforms, for example, Android (peace is tall and erect) platform; When long-acting connection failure; Because establishment is also held a long-acting connection and need in Activity (execution) or Services (service), be realized, but Activity or Services might be discharged owing to insufficient space on the Android platform automatically; Thereby cause long connection failure, and then cause the position sharing information to send to.
Need keep long-acting connection always, need adopt regularly heartbeat to safeguard in application layer and connect, increase and use burden, and cause the terminal power consumption to increase.
Summary of the invention
A kind of method and system that issues the position sharing information provided by the invention issues failure and the too much problem of power consumption to solve the position sharing information.
The invention discloses a kind of method that issues the position sharing information, said method comprises:
Server is pressed predetermined format package position sharing information, through note the position sharing information is handed down to portable terminal;
After portable terminal receives the note that comprises the position sharing information, data in the note are sent to the client application of loading in the portable terminal;
Client application parses the position sharing information in the said data by predetermined format;
Client application is carried out map interface according to the position sharing information and is upgraded.
Wherein, after said portable terminal receives the note that comprises the position sharing information, data in the note are sent to the client application of loading in the portable terminal specifically comprise:
After portable terminal receives note, parse target port;
According to the listening port of client application registration, data in the note are sent to the client application of the listening port of registration for this target port.
Wherein, the said listening port that data in the note are sent to registration specifically comprises for the client application of this target port:
Wake the radio receiver of client application this target port of monitoring of registration when initial up;
Data in the note are sent to said radio receiver.
Wherein, said client application specifically comprises by the position sharing information that predetermined format parses in the said data:
Radio receiver is pressed predetermined format and is resolved data in the note, obtains the position sharing information.
Wherein, said client application is carried out map interface according to the position sharing information and is upgraded and specifically to comprise:
Radio receiver sends to the position sharing information map interface unit of client application;
Participator's location point is drawn according to the position sharing information in the map interface unit.
Wherein, said position sharing information comprises: participator's the pet name and/or geographical position longitude and latitude.
Wherein, said map interface unit is drawn participator's location point according to the position sharing information and is specifically comprised:
The map interface unit is drawn out participator's location point according to the position longitude and latitude at map interface;
Said map interface unit also comprises after drawing participator's location point according to the position sharing information:
The map interface unit is in the other pet name that marks the participator of participator's location point.
The invention also discloses a kind of system that issues the position sharing information, said system comprises: server and portable terminal, and said portable terminal comprises terminal platform module and client application module,
Said server is used for through note the position sharing information being handed down to portable terminal by predetermined format package position sharing information;
Said terminal platform module is used for after receiving the note that comprises the position sharing information, data in the note being sent to client application module;
Said client application module is used for parsing by predetermined format the position sharing information of said data, carries out map interface according to the position sharing information and upgrades.
Wherein, the terminal platform module specifically is used for: after receiving note, parse target port, according to the listening port of client application module registration, data in the note are sent to the client application module of the listening port of registration for this target port.
Wherein, said client application module specifically comprises: radio receiver and map interface unit,
The terminal platform module specifically is used for: wake the radio receiver of this target port of monitoring of registration when initial up, data in the note are sent to said radio receiver.
Radio receiver is used for the position sharing information is sent to the map interface unit;
The map interface unit is used for drawing participator's location point according to the position sharing information.
The beneficial effect of the embodiment of the invention is: issue the position sharing information through using short message channel; Use this position sharing information and carry out the map renewal; Can make the position sharing information issue character with note; When link is connected once more after interrupted communication link, can in time issue the position sharing information, guarantee that the position sharing information in time issues after link is connected; In addition, the reception of note is handled at mobile-terminal platform, and carried out in the client application, and is invisible to the user, guaranteed that with this whole position shares process to user's unaware, avoided the note harassing and wrecking that the user is caused;
Through designated port is monitored, can guarantee to support simultaneously the Push demand of a plurality of application, simultaneously, each uses monitor corresponding with registered port, the confidentiality of data between relative independentability and each that has also guaranteed each application data passage used.
Description of drawings
Fig. 1 is the flow chart that issues the method for position sharing information of the present invention.
Fig. 2 is the flow chart that issues the method embodiment of position sharing information of the present invention.
Fig. 3 is the structure chart that issues the system of position sharing information of the present invention.
Fig. 4 is the structure chart of client application module in the embodiment of the present invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, will combine accompanying drawing that embodiment of the present invention is done to describe in detail further below.
Referring to Fig. 1, be the flow chart that issues the method for position sharing information provided by the invention.
Step S100, server press predetermined format package position sharing information, through note the position sharing information are handed down to portable terminal.
After step S200, portable terminal receive the note that comprises the position sharing information, data in the note are sent to the client application of loading in the portable terminal.
Said client application is installed to portable terminal.
Step S300, client application parses the position sharing information in the said data by predetermined format.
Step S400, client application is carried out map interface according to the position sharing information and is upgraded.
The mobile network is connected to portable terminal through note short message service is provided, and note is connected to the mobile network and sets up a passage that is associated with portable terminal, on this passage, can receive, and sends note (sms), thereby short message service is provided.Short message service is to send binary system or text type note through portable terminals such as mobile phones.The present invention uses this short message channel and issues the position sharing information.
Predetermined format is the consolidation form of arranging between client application and server.For example, comprise data segment in the appointed position sharing information: participator's phone number, the pet name, the longitude of sharing time, geographical position, latitude, use the space region branch between each data segment.Client application by this agreement form, through space region divided data section, parses the person's of enjoying phone number, the pet name, the longitude of sharing time, geographical position, latitude one by one when resolving.This predetermined format is not limited thereto, and can freely define according to application need.
In addition, the present invention adopts Push (push technology), and Push is a kind of based on client server mechanism, by the server technology that information is mail to client initiatively.Compare with traditional Pull (pull technology), both main differences are that Push initiatively sends information by server, and Pull then is by client computer active request information.Pull Technology Need client is initiatively regularly sent out request and is given server, inquires the current new position sharing information that whether has, and compares the Push technology; When new information is arranged; Server push is given client, and Pull also wants the timed sending request when not having new information; Can the waste data traffic, increase repeatedly extra alternately.
Therefore; The present invention issues the position sharing information through using short message channel; Use this position sharing information and carry out the map renewal, can make the position sharing information issue character, when link is connected once more after interrupted communication link with note; Can in time issue the position sharing information, guarantee that the position sharing information in time issues after link is connected; In addition, the reception of note is handled at mobile-terminal platform, and carried out in the client application, and is invisible to the user, guaranteed that with this whole position shares process to user's unaware, avoided the note harassing and wrecking that the user is caused.
In a preferred implementation; Through the registration listening port, promptly registered Push needs, client application is corresponding with designated port; And then the realization note is monitored; Promptly on note connects, information is set and monitors, in a single day the note connection receives data, send the data to the client application of setting up this monitoring.
Said step S200 specifically comprises:
Step S210 after portable terminal receives note, parses target port.
Step S220 according to the listening port of client application registration, sends to the client application of the listening port of registration for this target port with data in the note.
Through designated port is monitored, can guarantee to support simultaneously the Push demand of a plurality of application, simultaneously, each uses monitor corresponding with registered port, the confidentiality of data between relative independentability and each that has also guaranteed each application data passage used.
Further, in the present invention, portable terminal starts the client application that this Push needs automatically after receiving a corresponding note of Push demand with registration, be called Push among the present invention and start.Realize as follows that in an embodiment Push starts.
Said step S220 specifically comprises:
Step S221 wakes the radio receiver of client application this target port of monitoring of registration when initial up.
Step S222 sends to said radio receiver with data in the note.
Said step S300 specifically comprises:
Step S310, radio receiver press predetermined format and resolve data in the note, obtain the position sharing information.
Said step S400 specifically comprises:
Step S410, radio receiver send to the position sharing information map interface unit of client application.
Step S420, participator's location point is drawn according to the position sharing information in the map interface unit.
Preferable, said position sharing information comprises: participator's the pet name and geographical position longitude and latitude.
Said map interface unit is drawn out participator's location point according to the position longitude and latitude at map interface; And in the other pet name that marks the participator of participator's location point.
Embodiment
It is as shown in Figure 2 that the present invention issues the embodiment of method of position sharing information.
In the present embodiment, portable terminal comprises terminal platform and client application.Mobile platform is peace Zhuo Pingtai, and client application is the application that is installed in portable terminal.Client application further comprises: radio receiver and map interface unit.
Step S201, server press predetermined format package position sharing information.
Predetermined format is the consolidation form of arranging between client application and server.In the present embodiment, comprise data segment in the appointed position sharing information: participator's phone number, the pet name, the longitude of sharing time, geographical position, latitude, use the space region branch between each data segment.
Step S202, server press messaging format with position sharing information group bag.
Step S203, the note that server will comprise the position sharing information is handed down to portable terminal.
Through short message channel, the position sharing information that encapsulates is sent to portable terminal with the binary system messaging format.
Step S204, terminal platform receive the note that comprises the position sharing information.
Step S205, terminal platform reply to server and finish receiving.
Step S206, terminal platform parse the target port of the note of reception.
Step S207, terminal platform wake the radio receiver of client application this target port of monitoring of registration when initial up, and data in the note are sent to said radio receiver.
Client application is registered a radio receiver to terminal platform with the static registration mode, is used to be set to the note monitoring of certain designated port.Static registration is to accomplish through in the register-file of client application appointment, writing log-on message; The configuration file that register-file is appointed as terminal platform and client application; When client application is installed; Terminal platform obtains the note monitoring that client application need be registered through reading this register-file, and accomplishes the registration listen requirement of this client application.
After registration was accomplished, in the whole life of terminal platform operation, no matter whether client application was in running status, and terminal platform all can be monitored at any time, and intercepts the note of designated port, and notice is given relevant client application then.
Terminal platform receives note; Parse the destination interface of the note that receives according to the messaging format (the short message service data form adopts the data format definition of international uniform) of standard; Listening port according to the client application registration; Arouse and registered the radio receiver of monitoring this target port, and note data is sent to this radio receiver.
Step S208, radio receiver obtain data in the note.
The interface method that radio receiver uses terminal platform to provide obtains data in the note.
Step S209, radio receiver is replied distribution to terminal platform and is accomplished.
Step S210, radio receiver press predetermined format and resolve data in the note, obtain the position sharing information.
Radio receiver by the agreement form, through space region divided data section, parses the person's of enjoying phone number, the pet name, the longitude of sharing time, geographical position, latitude one by one when resolving.
Step S211, radio receiver sends to the map interface unit with the position sharing information, and participator's location point is drawn according to the position sharing information in the map interface unit.
After radio receiver parses the position sharing information,, notify map interface unit to appointment with the position sharing information that parses through the informing mechanism that terminal platform provides.
After the map interface unit received the position sharing information, according to the longitude of position, latitude was drawn out participator's location point at map interface, and the pet name that receives is plotted in participator's location point top.
Monitor through registration like this, carry out short message port and monitor, receive note, resolve short message content,, accomplish a position sharing information and issue to drawing position data.
A kind of system that issues the position sharing information is as shown in Figure 3.Said system comprises: server 100 and portable terminal 200, said portable terminal 200 comprise terminal platform module 210 and client application module 220.
Server 100 is used for through note the position sharing information being handed down to portable terminal 200 by predetermined format package position sharing information.
Terminal platform module 210 is used for after receiving the note that comprises the position sharing information, data in the note being sent to client application module 220.
Client application module 220 is used for parsing by predetermined format the position sharing information of said data, carries out map interface according to the position sharing information and upgrades.
Preferably; Terminal platform module 210 specifically is used for: after receiving note; Parse target port,, data in the note are sent to the client application module 220 of the listening port of registration for this target port according to the listening port of client application module 220 registrations.
Preferably, client application module 220 specifically comprises: radio receiver 221 and map interface unit 222, concrete structure is as shown in Figure 4.
Terminal platform module 210 specifically is used for: wake the radio receiver 221 of this target port of monitoring of registration when initial up, data in the note are sent to this radio receiver 221.
Radio receiver 221 is used for the position sharing information is sent to map interface unit 222.
Map interface unit 222 is used for drawing participator's location point according to the position sharing information.
Preferably, said position sharing information comprises: participator's the pet name and/or geographical position longitude and latitude.
Said map interface unit specifically is used for: draw out participator's location point according to the position longitude and latitude at map interface; In the other pet name that marks the participator of participator's location point.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All any modifications of within spirit of the present invention and principle, being done, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (10)

1. a method that issues the position sharing information is characterized in that, said method comprises:
Server is pressed predetermined format package position sharing information, through note the position sharing information is handed down to portable terminal;
After portable terminal receives the note that comprises the position sharing information, data in the note are sent to the client application of loading in the portable terminal;
Client application parses the position sharing information in the said data by predetermined format;
Client application is carried out map interface according to the position sharing information and is upgraded.
2. method according to claim 1 is characterized in that,
After said portable terminal receives the note that comprises the position sharing information, data in the note are sent to the client application of loading in the portable terminal specifically comprise:
After portable terminal receives note, parse target port;
According to the listening port of client application registration, data in the note are sent to the client application of the listening port of registration for this target port.
3. method according to claim 2 is characterized in that,
The said listening port that data in the note are sent to registration specifically comprises for the client application of this target port:
Wake the radio receiver of client application this target port of monitoring of registration when initial up;
Data in the note are sent to said radio receiver.
4. method according to claim 3 is characterized in that,
Said client application specifically comprises by the position sharing information that predetermined format parses in the said data:
Radio receiver is pressed predetermined format and is resolved data in the note, obtains the position sharing information.
5. method according to claim 4 is characterized in that,
Said client application is carried out the map interface renewal according to the position sharing information and is specifically comprised:
Radio receiver sends to the position sharing information map interface unit of client application;
Participator's location point is drawn according to the position sharing information in the map interface unit.
6. method according to claim 5 is characterized in that,
Said position sharing information comprises: participator's the pet name and/or geographical position longitude and latitude.
7. method according to claim 6 is characterized in that,
Said map interface unit is drawn participator's location point according to the position sharing information and is specifically comprised:
The map interface unit is drawn out participator's location point according to the position longitude and latitude at map interface;
Said map interface unit also comprises after drawing participator's location point according to the position sharing information:
The map interface unit is in the other pet name that marks the participator of participator's location point.
8. a system that issues the position sharing information is characterized in that, said system comprises: server and portable terminal, and said portable terminal comprises terminal platform module and client application module,
Said server is used for through note the position sharing information being handed down to portable terminal by predetermined format package position sharing information;
Said terminal platform module is used for after receiving the note that comprises the position sharing information, data in the note being sent to client application module;
Said client application module is used for parsing by predetermined format the position sharing information of said data, carries out map interface according to the position sharing information and upgrades.
9. system according to claim 8 is characterized in that,
The terminal platform module specifically is used for: after receiving note, parse target port, according to the listening port of client application module registration, data in the note are sent to the client application module of the listening port of registration for this target port.
10. system according to claim 9 is characterized in that,
Said client application module specifically comprises: radio receiver and map interface unit,
The terminal platform module specifically is used for: wake the radio receiver of this target port of monitoring of registration when initial up, data in the note are sent to said radio receiver.
Radio receiver is used for the position sharing information is sent to the map interface unit;
The map interface unit is used for drawing participator's location point according to the position sharing information.
CN201210215137.XA 2012-06-26 2012-06-26 Method and system for issuing position sharing information Active CN102740229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210215137.XA CN102740229B (en) 2012-06-26 2012-06-26 Method and system for issuing position sharing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210215137.XA CN102740229B (en) 2012-06-26 2012-06-26 Method and system for issuing position sharing information

Publications (2)

Publication Number Publication Date
CN102740229A true CN102740229A (en) 2012-10-17
CN102740229B CN102740229B (en) 2015-02-04

Family

ID=46994847

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210215137.XA Active CN102740229B (en) 2012-06-26 2012-06-26 Method and system for issuing position sharing information

Country Status (1)

Country Link
CN (1) CN102740229B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104296770A (en) * 2014-10-14 2015-01-21 广东翼卡车联网服务有限公司 Method and system for transmitting position information received by social software via terminal and terminal
CN105262829A (en) * 2015-10-30 2016-01-20 腾讯科技(深圳)有限公司 Method and system for monitoring geographic position

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070078595A1 (en) * 2005-09-23 2007-04-05 Song Kyeong Sub System and method for sharing position information using mobile communication system
CN101848428A (en) * 2009-03-28 2010-09-29 华为技术有限公司 Method and device for providing position information
CN102223602A (en) * 2011-06-20 2011-10-19 深圳市同洲电子股份有限公司 Method, terminals and system for sharing position information

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070078595A1 (en) * 2005-09-23 2007-04-05 Song Kyeong Sub System and method for sharing position information using mobile communication system
CN101848428A (en) * 2009-03-28 2010-09-29 华为技术有限公司 Method and device for providing position information
CN102223602A (en) * 2011-06-20 2011-10-19 深圳市同洲电子股份有限公司 Method, terminals and system for sharing position information

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104296770A (en) * 2014-10-14 2015-01-21 广东翼卡车联网服务有限公司 Method and system for transmitting position information received by social software via terminal and terminal
CN105262829A (en) * 2015-10-30 2016-01-20 腾讯科技(深圳)有限公司 Method and system for monitoring geographic position
CN105262829B (en) * 2015-10-30 2020-05-26 腾讯科技(深圳)有限公司 Geographical position monitoring method and system

Also Published As

Publication number Publication date
CN102740229B (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN101945325B (en) A kind of friend's cognitive method based on architecture
KR101991145B1 (en) Low energy beacon encoding
EP3379777B1 (en) Methods and apparatuses for use in forwarding short messages for mobile communication devices
CN101291348B (en) Prompt method for wireless channel awaking
CN102761864A (en) Data transmission method, system and device
HK1067472A1 (en) System and method of managing information distribution to mobile stations
CN103975610A (en) Method and apparatus for optimizing CBS service in a multiple SIM environment
KR20140064898A (en) Location-based group generation method, apparatus and system
CN102238498A (en) Method and system for interacting short messages based on Beidou satellite mobile communication system
CN107135672A (en) Application installation package acquisition methods, information broadcast method, mobile device and base station
US8792882B2 (en) Method and apparatus for non-native short message service communications
CN109983792A (en) A kind of data processing method, apparatus and system
EP3226591B1 (en) Call transfer method and terminal
US8670706B2 (en) System and method for optimizing satellite network utilization
CN102185701A (en) Method and system for realizing group information interaction
CN102740229A (en) Method and system for issuing position sharing information
JP2004112135A (en) Method for serving communication, communication service supporting apparatus used therefor and mobile communication terminal
CN103781124A (en) Mobile original data transmission method and user equipment
CN102802131A (en) Server and message pushing method
CN114143729B (en) Apparatus, method and computer readable storage medium for data transceiving with IoT devices
CN103415015A (en) Positioning method and device
KR101013015B1 (en) Mobile device, pattern file update method, and communication system
CN104521254A (en) Generating service request message to obtain wireless services using a minimal set of services that are designated for a roaming condition
CN101835115A (en) System and method for realizing function of short message chat room
KR100759804B1 (en) Relay apparatus, mobile terminal for server and the method using the same

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
CP02 Change in the address of a patent holder

Address after: Room 818, 8 / F, 34 Haidian Street, Haidian District, Beijing 100080

Patentee after: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd.

Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A Room 601

Patentee before: BEIJING ULTRAPOWER SOFTWARE Co.,Ltd.

CP02 Change in the address of a patent holder