Summary of the invention
For this reason, technical problem to be solved by this invention is: a kind of GPS terminal instant communicating method and realization system thereof and GPS terminal are provided, make the GPS terminal not only can realize positioning function, can also realize instant communication function.
So, the invention provides a kind of GPS terminal instant communicating method, this method comprises:
GPS terminal A sends the logging request that includes communication module IMSI sign indicating number;
After access server receives described landing request information, send include GPS terminal A place service server IP number and the redirect response of port numbers to GPS terminal A;
GPS terminal A sends the logging request that includes communication module IMSI sign indicating number information to the service server at its place;
Whether the information in the described logging request of service server judging at GPS terminal A place satisfies registration conditions, if satisfy, then logins successfully, if do not satisfy, then points out the user to buy service;
After GPS terminal A logined successfully, GPS terminal A can intercom mutually with the service server at its place.
This method also comprises:
After GPS terminal A logins successfully, GPS terminal A sends service request information, the COS of the service server judging solicited message at GPS terminal A place, if service server self can provide this COS, then service server returns corresponding demand for services to GPS terminal A, if this COS service server can not provide self, then service server sends service request to the corresponding business back-level server, the standby service server sends to GPS terminal A by service server after receiving the demand for services that described corresponding service server returns again.
This method also comprises:
After GPS terminal A logined successfully, the service server at GPS terminal A place sent the log-on message of the user ID, current state, session key and the present place service server IP that include GPS terminal A to central server, group's server;
When GPS terminal A includes the information of GPS terminal B in the communication request of the service server transmission at its place, whether the service server at GPS terminal A place inquiry GPS terminal B is on its service server, if on this service server, then GPS terminal A and GPS terminal B carry out mutual instant messaging by this service server, if GPS terminal B is not on the service server at GPS terminal A place, then the service server at GPS terminal A place is forwarded to central server with the request that GPS terminal A sends, the service server at central server inquiry GPS terminal B place, and the request of transmitting GPS terminal A by the service server at GPS terminal B place, GPS terminal B is by the service server at its place, the service server and the GPS terminal A at central server and GPS terminal A place carry out mutual instant messaging.
Wherein, described GPS terminal B is Web user.
Said method also comprises:
After GPS terminal A logined successfully, the service server at GPS terminal A place sent the log-on message of the user ID, current state, session key and the present place service server IP that include GPS terminal A to group's server;
When GPS terminal A includes group server info in the communication request that the service server at its place sends, the service server at GPS terminal A place is transmitted to group server with this request, by group's server mass-sending online user, and upgrading user's current state in the group, the user is by the service server and the mutual instant messaging of GPS terminal A at group's server, GPS terminal A place in the group.
Whether the information in the described logging request of described GPS terminal A place service server judging satisfies registration conditions, comprising:
The service server at GPS terminal A place is according to the user ID of the communication module IMSI sign indicating number correspondence that comprises in the log-on message, inquiry GPS terminal A identity situation and service opening state information, if GPS terminal A identity has registration, and the service release state is an opening state, think that then GPS terminal A registration conditions satisfies, otherwise think that GPS terminal A registration conditions does not satisfy.
The present invention also provides a kind of system of the GPS of realization terminal instant messaging, and this system comprises: the service server and the access server at GPS terminal A, GPS terminal A place.
Wherein, GPS terminal A sends the logging request that includes communication module IMSI sign indicating number, after access server receives described landing request information, transmission includes the redirect response of GPS terminal A place service server IP number and port numbers to GPS terminal A, GPS terminal A sends the logging request that includes communication module IMSI sign indicating number to the service server at its place, whether the information in the described logging request of service server judging at GPS terminal A place satisfies registration conditions, if satisfy, then login successfully, if do not satisfy, then point out the user to buy service, after GPS terminal A was allowed to login, GPS terminal A can intercom mutually with the service server at its place.
Said system also comprises: central server and GPS terminal B, after GPS terminal A logined successfully, the service server at GPS terminal A place sent the log-on message of the user ID, current state, session key and the present place service server IP that include GPS terminal A to central server; When GPS terminal A includes the information of GPS terminal B in the communication request of the service server transmission at its place, whether the service server at GPS terminal A place inquiry GPS terminal B is on its service server, if on this service server, then GPS terminal A and GPS terminal B carry out mutual instant messaging by this service server, if GPS terminal B is not on the service server at GPS terminal A place, then the service server at GPS terminal A place is forwarded to central server with the request that GPS terminal A sends, the service server at central server inquiry GPS terminal B place, and the request of transmitting GPS terminal A by the service server at GPS terminal B place, GPS terminal B is by the service server at its place, the service server and the GPS terminal A at central server and GPS terminal A place carry out mutual instant messaging.
Said system also comprises: user in the group in group's server and the group's server, after GPS terminal A logined successfully, the service server at GPS terminal A place sent the log-on message of the user ID, current state, session key and the present place service server IP that include GPS terminal A to group's server; When GPS terminal A includes group server info in the communication request that the service server at its place sends, the service server at GPS terminal A place is transmitted to group server with this request, by group's server mass-sending online user, and upgrading user's current state in the group, the user is by the service server and the mutual instant messaging of GPS terminal A at group's server, GPS terminal A place in the group.
The present invention also provides a kind of GPS terminal, comprise: the GPS receiving element that is used to receive this GPS terminal position information that GPS (Global Position System) sends, be used for the information that described GPS receiving element receives is handled, and extract the GPS information process unit of this GPS terminal position information, be used to receive the mobile message receiving element of mobile network information, the mobile message processing unit, CPU and the transmitting element that is used for the information that central processing unit for processing is finished is sent, the mobile message processing unit comprises the decrypting device and the judging unit that is used for the information after the deciphering is carried out the COS judgement that is used for the mobile message that receives is decrypted processing, CPU comprises and is used for the regulation and control unit that obtains the information request unit of service and be used for the information of sending from GPS information process unit and mobile message processing unit that receives is handled to the mobile network, if COS is for obtaining information, then regulating and control the unit shows the information of obtaining or plays, if COS is for sharing information, then regulate and control positional information and the GPS terminal self information the unit sent by the GPS information process unit and send to destination server by described transmitting element in the lump, the shared information of obtaining can also be shown or play simultaneously.
The present invention also provides a kind of GPS terminal, this terminal comprises: the GPS receiving element that is used to receive this GPS terminal position information that GPS (Global Position System) sends, be used for the information that described GPS receiving element receives is handled, and extract the GPS information process unit of this GPS terminal position information, be used to receive the mobile message receiving element of mobile network information, the mobile message processing unit, CPU and the transmitting element that is used for the information that central processing unit for processing is finished is sent, the mobile message processing unit comprises the decrypting device and the judging unit that is used for the information after the deciphering is carried out the COS judgement that is used for the mobile message that receives is decrypted processing, CPU comprises and is used for the regulation and control unit that obtains the information request unit of service and be used for the information of sending from GPS information process unit and mobile message processing unit that receives is handled to the mobile network, if COS is for obtaining information, then regulating and control the unit shows the information of obtaining or plays, if COS is for sharing information, then regulate and control positional information and the GPS terminal self information the unit sent by the GPS information process unit and send to destination server by described transmitting element in the lump, the shared information of obtaining can also be shown or play simultaneously.
A kind of GPS terminal instant communicating method of the present invention and realization system and GPS terminal, by the mobile message receiving element and the mobile message processing unit that can intercom mutually with the mobile network in the increase of GPS terminal and increase can handle simultaneously GPS information and with the CPU of mobile network's exchange message, make the GPS terminal realize the intercommunication mutually with service server, make the GPS terminal not only can realize positioning function, can also realize instant communication function.
Further, by in the system that realizes GPS terminal instant messaging, increasing central server and group's server, realized the mutual instant messaging between a plurality of GPS terminals.
Embodiment
Below, describe the present invention in conjunction with the accompanying drawings.
Present embodiment provides a kind of GPS terminal instant communicating method, is illustrated by following three embodiment.
Embodiment one
As shown in Figure 3, present embodiment provides a kind of GPS terminal instant communicating method, and this method comprises:
Step 1, GPS terminal A sends and to include communication module IMSI(International Mobile Subscriber Identification Number, international mobile subscriber identity) logging request of sign indicating number;
After step 2, access server receive described landing request information, send include GPS terminal A place service server IP number and the redirect response of port numbers to GPS terminal A;
Step 3, GPS terminal A sends the logging request that includes communication module IMSI sign indicating number information to the service server at its place;
Step 4, whether the information in the described logging request of service server judging at GPS terminal A place satisfies registration conditions, if satisfy, then login successfully, if do not satisfy, then point out the user to buy service, for example point out the user website registration or open the service of purchase by 400 phones;
Here, whether the information in the described logging request of described GPS terminal A place service server judging satisfies registration conditions, comprising:
The service server at GPS terminal A place is according to the user ID of the communication module IMSI sign indicating number correspondence that comprises in the log-on message, inquiry GPS terminal A identity situation and service opening state information, if GPS terminal A identity has registration, and the service release state is an opening state, think that then GPS terminal A registration conditions satisfies, otherwise think that GPS terminal A registration conditions does not satisfy.
Step 5, after GPS terminal A logined successfully, GPS terminal A can intercom mutually with the service server at its place.Here, the service server at GPS terminal A and its place can be given the other side by photos and sending messages each other, and it is that example is illustrated that present embodiment sends service request information to its place service server earlier with GPS terminal A, step as described below:
Step 6, after GPS terminal A logined successfully, GPS terminal A sent service request information;
Step 7, the COS of the service server judging solicited message at its place of GPS terminal A;
Step 8, if service server self can provide this COS, then service server returns corresponding demand for services to GPS terminal A;
Step 9, if this COS service server can not provide self, then service server sends service request to the corresponding business back-level server;
Step 10, business support server are returned corresponding demand for services according to COS; Here, the business support server also needs to judge with COS whether self has corresponding demand for services, if have, then directly the service server to GPS terminal A place returns demand for services, if do not have, then further send service request to its peripheral business support server, the business support server of described periphery comprises: medium or file transfer server, main oracle database, from the oracle database, network memory (NAS) multimedia resource storage server, GIS(Geographic Information System, GIS-Geographic Information System) server and content management server etc.
Step 11, the service server at GPS terminal A place is transmitted corresponding demand for services to GPS terminal A.
Service server for GPS terminal A place sends the information requirement request to GPS terminal A, and its communication process and above-mentioned steps are similar, and this is a common practise at communication technical field, is not described in detail at this.
So far, GPS terminal A realized with the mobile network in server, for example instant messaging of service server.
Embodiment two
As shown in Figure 4, present embodiment provides a kind of GPS terminal instant communicating method, and this method comprises:
Step 1, GPS terminal A sends the logging request that includes communication module IMSI sign indicating number;
After step 2, access server receive described landing request information, send include GPS terminal A place service server IP number and the redirect response of port numbers to GPS terminal A;
Step 3, GPS terminal A sends the logging request that includes communication module IMSI sign indicating number information to the service server at its place;
Step 4, whether the information in the described logging request of service server judging at GPS terminal A place satisfies registration conditions, if satisfy, then login successfully, if do not satisfy, then point out the user to buy service, for example point out the user website registration or open the service of purchase by 400 phones;
Here, whether the information in the described logging request of described GPS terminal A place service server judging satisfies registration conditions, comprising:
The service server at GPS terminal A place is according to the user ID of the communication module IMSI sign indicating number correspondence that comprises in the log-on message, inquiry GPS terminal A identity situation and service opening state information, if GPS terminal A identity has registration, and the service release state is an opening state, think that then GPS terminal A registration conditions satisfies, otherwise think that GPS terminal A registration conditions does not satisfy.
Step 5, after GPS terminal A logined successfully, the service server at GPS terminal A place sent the log-on message of the user ID, current state, session key and the present place service server IP that include GPS terminal A to central server;
Step 6, GPS terminal A sends communication request to the service server at its place, and when including the information of GPS terminal B in this request, the service server at GPS terminal A place is inquired about GPS terminal B whether on its service server;
Step 7, on the service server at GPS terminal A place, then GPS terminal A and GPS terminal B carry out mutual instant messaging by this service server as if GPS terminal B;
Step 8, not on the service server at GPS terminal A place, then the service server at GPS terminal A place is forwarded to central server with the request that GPS terminal A sends as if GPS terminal B;
Step 9, the service server at central server inquiry GPS terminal B place, and the request of transmitting GPS terminal A by the service server at GPS terminal B place;
Step 10, GPS terminal B carries out mutual instant messaging by the service server and the GPS terminal A at service server, central server and the GPS terminal A place at its place.
So far, GPS terminal A realized with the mobile network in server, for example instant messaging of central server.
Embodiment three
As shown in Figure 5, present embodiment provides a kind of GPS terminal instant communicating method, and this method comprises:
Step 1 is identical to step 4 with step 1 described in the embodiment two to step 4, and all the other steps are:
Step 5, after GPS terminal A logined successfully, the service server at GPS terminal A place sent the log-on message of the user ID, current state, session key and the present place service server IP that include GPS terminal A to group's server;
The described current state of present embodiment comprises: states such as terminal is reached the standard grade, WEB reaches the standard grade, terminal is stealthy.
Step 6, GPS terminal A sends communication request to the service server at its place;
Step 7, when including group server info in this request, the service server at GPS terminal A place is transmitted to group server with this request;
Step 8, group's server mass-sending online user, and upgrade user's current state in the group;
Step 9, the user is by the service server and the mutual instant messaging of GPS terminal A at group's server, GPS terminal A place in the group.
So far, GPS terminal A realized with the mobile network in server, for example group server instant messaging.
Certainly, can also merge among embodiment two and the embodiment three, be both to have included central server in the communication system also to include group server, after GPS terminal A logins successfully, GPS terminal A sends communication request to the service server at its place, during as if the information that includes GPS terminal B in the communication request simultaneously and group's server info, the service server at GPS terminal A place sends to GPS terminal A log-on message on central server and the group's server simultaneously, afterwards respectively order carry out step 6 among the embodiment two and after step and embodiment three in step 7 and after step.
Above-mentioned GPS terminal not only can realize instant communication function, also has positioning function.For example, when the GPS terminal need be shared its GPS terminal positional information with the service server at its place, by its instant messaging with service server, can completing place information shared; When a GPS terminal need with another one GPS terminal, when perhaps a plurality of GPS terminals are carried out position information share among the group, by above-mentioned service server, central server, and group's server gets final product sharing of completing place information, when the GPS terminal needs information in mobile network's server, can send the demand for services request to the service server at its place, the service server at its place is if self there is the related service content, can directly return to the GPS terminal to demand for services, if the service server self at its place does not have the related service content, this service server also can further be asked for the related service demand to its peripheral business support server 90, and returns to the GPS terminal.The business support server 90 of described periphery comprises: medium or file transfer server, main oracle database, from oracle database, network memory (NAS) multimedia resource storage server, GIS(Geographic Information System, GIS-Geographic Information System) server and content management server etc.
As shown in Figure 6, the embodiment of the invention also provides a kind of system of the GPS of realization terminal instant messaging, and this system comprises: the service server 30A and the access server 40 at GPS terminal A, GPS terminal A place.
Wherein, GPS terminal A sends the logging request that includes communication module IMSI sign indicating number information, after access server 40 receives described landing request information, transmission includes the redirect response of GPS terminal A place service server IP number and port numbers to GPS terminal A, GPS terminal A sends the logging request that includes communication module IMSI sign indicating number information to the service server 30A at its place, the service server 30A at GPS terminal A place judges whether the information in the described logging request satisfies registration conditions, if satisfy, then login successfully, if do not satisfy, then point out the user to buy service, after GPS terminal A was allowed to login, GPS terminal A can intercom mutually with the service server 30 at its place.
If other GPS terminal communication in GPS terminal A desire and the system, the system of above-mentioned realization GPS terminal instant messaging also should further comprise: central server 50 and GPS terminal B.Here, GPS terminal B can represent a terminal, also represents a plurality of terminals, and its communication means is identical when representing a terminal.
Wherein, the service server 30A at GPS terminal A place sends the log-on message of the user ID, current state, session key and the present place service server IP that include GPS terminal A to central server 50;
When GPS terminal A includes the information of GPS terminal B in the communication request that the service server 30A at its place sends, whether the service server 30A at GPS terminal A place inquiry GPS terminal B is on its service server 30A, if on this service server 30A, then GPS terminal A and GPS terminal B carry out mutual instant messaging by this service server 30A, if GPS terminal B is not on the service server 30A at GPS terminal A place, then the service server 30A at GPS terminal A place is forwarded to central server 50 with the request that GPS terminal A sends, the service server at central server 50 inquiry GPS terminal B places, and the request of transmitting GPS terminal A by the service server 30B at GPS terminal B place, GPS terminal B is by the service server 30B at its place, the service server 30A and the GPS terminal A at central server 50 and GPS terminal A place carry out mutual instant messaging.
Perhaps, if other GPS terminal communication in GPS terminal A desire and the system, the system of above-mentioned realization GPS terminal instant messaging also should further comprise: crowd interior user in group's server 60 and the group's server.
Wherein, after GPS terminal A logined successfully, the service server 30A at GPS terminal A place sent the log-on message of the user ID, current state, session key and the present place service server IP that include GPS terminal A to group's server 60;
When GPS terminal A includes group server info in the communication request that the service server 30A at its place sends, the service server 30A at GPS terminal A place is transmitted to group server 60 with this request, by group's server 60 mass-sending online users, and upgrading user's current state in the group, the user is by the service server 30A and the mutual instant messaging of GPS terminal A at group's server 60, GPS terminal A place in the group.
Can include central server 50, group's server 60 and GPS terminal B simultaneously in the system of realization GPS terminal instant messaging, when the information that includes GPS terminal B in the communication request that the GPS terminal sends simultaneously and group's server info, the service server 30A at GPS terminal A place sends to GPS terminal A log-on message on central server 50 and the group's server 60 simultaneously, afterwards respectively order carry out in the embodiment of the invention step 6 among the embodiment two in a kind of GPS terminal instant communicating method and after step and embodiment three in step 7 and after step.
The described GPS terminal of embodiment of the invention B also can be a kind of Web user, and this Web user is except can not providing the GPS terminal positional information, and all the other functions can realize, for example send expression, picture, Word message etc. mutually with the GPS terminal.
Web user is by the Internet and mobile network's intercommunication, and functionally similar with access server in the system of above-mentioned realization GPS terminal instant messaging 40 is Web cluster server 70, and service server is functionally similar to be Web load equalizer 80.It is Web user sends logging request from information such as user ID or user account to Web cluster server 70; After Web cluster server 70 received described landing request information, transmission included the redirect response of Web user place Web cluster server 70 to Web user; Web user sends the logging request that includes user ID or user account number to the Web at its place cluster server 70; The Web cluster server 70 at Web user place judges whether the information in the described logging request satisfies registration conditions, if satisfy, then login successfully, if do not satisfy, then point out the user to buy service, for example point out the user website registration or open the service of purchase by 400 phones; After Web user logins success, if Web user sends to packets of information on the Web cluster server 70 at its place when containing the GPS terminal information, then the Web cluster server 70 at Web user place sends session keys and these server infos to Web load equalizer 80; Web cluster server inquiry GPS terminal place business server information carries out mutual instant messaging by the service server and the GPS terminal at Web load equalizer 80 and GPS terminal place.
As shown in Figure 7, the embodiment of the invention also provides a kind of GPS terminal 20, comprising: GPS receiving element 21, GPS information process unit 22, mobile message receiving element 23, mobile message processing unit 24, CPU 25 and transmitting element 26.
Wherein, receiving element 21 is used to receive the positional information of this GPS terminal position that GPS (Global Position System) sends, and for example the longitude of GPS terminal position, dimension, speed, time etc. are played the information of positioning action to the GPS terminal.
GPS information process unit 22 is used for the information that described GPS receiving element 21 receives is handled, and extracts the positional information at this GPS terminal place.
Mobile message receiving element 23, be used to receive the information that the mobile network sends, for example demand the information of GPS terminal position, the expression that sends to the GPS terminal, picture, Word message or send to other GPS location information of terminals of GPS terminal etc.Described mobile network can be GPRS network, also can be mobile networks such as WAP network.
Mobile message processing unit 24 comprises: the decrypting device 241 and the judging unit 242 that is used for the information after the deciphering is carried out the COS judgement that are used for the mobile message that receives is decrypted processing.
CPU 25 comprises being used for the regulation and control unit 252 that obtains the information request unit 251 of service and be used for the information of sending from GPS information process unit 22 and mobile message processing unit 24 that receives is handled to the mobile network.
When mobile message processing unit 24 is judged COS when obtaining information, regulation and control unit 25 will be received by mobile message receiving element 23, and the information of crossing through mobile message processing unit 24 decryption processing, promptly the information obtained from the mobile network of GPS terminal shows or plays.Judging COS when mobile message processing unit 24 is when sharing information, positional information and GPS terminal self information that GPS information process unit 24 is sent in regulation and control unit 25 send to destination server by described transmitting element 26 in the lump, and the shared information that also can just obtain simultaneously shows or plays.GPS terminal self information comprises the unique number that is used to discern the GPS terminal, for example communication module IMSI sign indicating number.
As seen, above-mentioned GPS terminal 20 not only has positioning function, can also realize with the mobile network in server carry out the function of instant messaging.
In sum, the described a kind of GPS terminal instant communicating method of present embodiment and realization system and GPS terminal, by the mobile message receiving element and the mobile message processing unit that can intercom mutually with the mobile network in the increase of GPS terminal and increase can handle simultaneously GPS information and with the CPU of mobile network's exchange message, make the GPS terminal realize the intercommunication mutually with service server, make the GPS terminal not only can realize positioning function, can also realize instant communication function.
Further, by in the system that realizes GPS terminal instant messaging, increasing central server and group's server, realized the mutual instant messaging between a plurality of GPS terminals.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.