Summary of the invention
The object of the present invention is to provide a kind of instant message communication method and system, realize the instant messages published method of position-based and timeliness, other users can need initiatively obtain instant message according to oneself, can not see own undesired instant message, and support further to link up between the user.
For addressing the above problem, the invention provides a kind of instant message communication method, comprising:
Issue client terminal sends based on effective instant message in the Preset Time of predeterminated position to server;
Receive client and obtain instant message in the preset range according to predeterminated position from described server.
Further, in said method, described predeterminated position is the current geographical position of user.
Further, in said method, described issue client terminal or reception client are determined the geographical position that the user is current by the GPS navigation system.
Further, in said method, also comprise after described server receives the instant message of issue client terminal described instant message is deposited in the message pool.
Further, in said method, described reception client comprises from the step that described server obtains the described instant message in the preset range according to predeterminated position:
Described reception client sends the searching request of the instant message in the preset range to described server according to predeterminated position;
Described server is retrieved in described message pool and is satisfied the instant message of described searching request and return to described reception client.
Further, in said method, comprise that also described server deletes expired instant message from described message pool.
Further, in said method, also comprise described issue client terminal or receive client sending or receive contacted message by described server.
Further, in said method, described issue client terminal or reception client send or receive contacted message by the mode of literal or audio frequency and video.
Further, in said method, comprise that also described issue client terminal upgrades described instant message.
Further, in said method, comprise that also described issue client terminal prolongs described Preset Time.
Further, in said method, described reception client by in real time or the mode of subscribing to obtain instant message in the preset range.
Further, in said method, described instant message comprises effective time, predeterminated position, message content and message publisher's attribute.
Further, in said method, described message content comprises literal and/or audio frequency and video message.
Further, in said method, described instant message also comprises the attribute of message id and/or News Category.
Further, in said method, described issue client terminal or reception client are carried out communication by a kind of or combination in any in the mode of GPRS, 3G or WiFi and described server.
Further, in said method, the user imports described instant message by keyboard or microphone at described issue client terminal.
According to another side of the present invention, a kind of instant message AC system is provided, comprising: issue client terminal, reception client and server,
Described issue client terminal is used for sending based on effective instant message in the Preset Time of predeterminated position to described server;
Described reception client is used for obtaining instant message in the preset range according to predeterminated position from described server;
Described server is used for receiving instant message from described issue client terminal, transfers immediate news to described reception client.
Further, in said system, described server also deposits a message pool in for described issue client terminal is transferred immediate news.
Further, in said system, described reception client is also for the searching request that sends the instant message in the preset range according to predeterminated position to described server;
Described server also is used for satisfying the instant message of described searching request and returning to described reception client in described message pool retrieval.
Further, in said system, described server also is used for from the expired instant message of described message pool deletion.
Further, in said system, described issue client terminal also is used for sending contacted message or receiving contacted message from described reception client to described reception client by described server;
Described reception client also is used for sending contacted message or receiving contacted message from described issue client terminal to described issue client terminal by described server;
Described server also is used for transmitting described issue client terminal or receiving the contacted message that client sends.
Further, in said system, described issue client terminal or reception client send or receive contacted message by the mode of literal or audio frequency and video.
Further, in said system, described issue client terminal also is used for upgrading described instant message.
Further, in said system, described issue client terminal also is used for prolonging described Preset Time.
Further, in said system, described reception client is also for the instant message that obtains by mode real-time or that subscribe in the preset range.
Further, in said system, described issue client terminal or reception client are carried out communication by a kind of or combination in any in the mode of GPRS, 3G or WiFi and described server.
Further, in said system, the user imports described instant message by keyboard or microphone at described issue client terminal.
Compared with prior art, the present invention sends based on effective instant message in the Preset Time of predeterminated position by issue client terminal and for the instant message published method that the user provides position-based and timeliness, facilitates information interchange and communication between the user to server.
In addition, the present invention obtains instant message preset range in according to predeterminated position from described server by receiving client, and other users can need initiatively obtain instant message according to oneself simultaneously, can not see own undesired instant message.
In addition, described issue client terminal or reception client send or receive contacted message by described server, support further to link up between the user.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Fig. 1 is the flow chart of the instant message communication method of one embodiment of the invention.
As shown in Figure 1, the invention provides a kind of instant message communication method, comprising:
Step S1, issue client terminal sends based on effective instant message in the Preset Time of predeterminated position to server, thereby realize that the user can issue instant messages towards periphery according to predeterminated position, concrete, described predeterminated position can be the position that the message publisher selects in advance, also can be the current geographical position of message publisher, the meaning of described instant message is that message is instant, effective in short time, or even may upgrade at any time, it can be opened to all users, described instant message comprises effective time, predeterminated position, attributes such as message content and message publisher, wherein, the message of described predeterminated position is one of most important attribute, in the time of other user search instant message, can determine the effective range of message by this attribute, be used for embodying the short effective feature of instant message described effective time, effective time is generally with a minute timing, effectively the user need determine to continue actual effect after the timeliness, also can preset the longest duration of instant message, described message content comprises literal and/or audio frequency and video message, accordingly, the user passes through keyboard, microphone or microphone are imported described instant message at described issue client terminal, described instant message also can comprise message id and/or News Category, and described issue client terminal is determined the geographical position that the message publisher is current by the GPS navigation system;
Step S2 deposits described instant message in one message pool in behind the instant message of described server reception issue client terminal;
Step S3, receive client and obtain instant message in the preset range according to predeterminated position from described server, thereby realize that the user can check instant messages in the preset range on every side according to predeterminated position, concrete, described reception client by in real time or the mode of subscribing to obtain instant message in the preset range, described reception client is determined predeterminated position by the GPS navigation system, and step S3 can comprise:
Step S31, described reception client sends the searching request of the instant message in the preset range to described server according to predeterminated position;
Step S32, described server retrieve in described message pool and satisfy the instant message of described searching request and return to described reception client;
Step S4, described issue client terminal or reception client send or receive contacted message by described server, the user is after finding the information that oneself needs, can carry out one to one or the communication of one-to-many with the other user, concrete, described issue client terminal or reception client send or receive contacted message by the mode of literal or audio frequency and video, described issue client terminal or reception client are passed through GPRS, a kind of or combination in any and described server in the mode of 3G or WiFi carry out communication, wherein, issue client terminal namely can send contacted message, also can receive contacted message, equally, receive client and namely can send contacted message, also can receive contacted message;
Step S5, described issue client terminal upgrades described instant message;
Step S6, described issue client terminal prolongs described Preset Time;
Step S7, described server delete expired instant message from described message pool.
Fig. 2 is the instant message map centered by the current geographical position of user of one embodiment of the invention, and Fig. 3 is the principle schematic of the instant message communication method of one embodiment of the invention.
Described issue client terminal and reception client can be positioned on the same terminal equipment, and can show the instant message map centered by user's current geographic position as shown in Figure 2 at the screen master interface of terminal equipment, as shown in Figure 3, user 31 can issue instant message by issue client terminal, literal to other instant messages publisher transmission, audio/video information or renewal instant message, user 31 also can be by receiving client search instant message, check instant message or receive the literal that other instant message publisher sends, audio/video information, server 33 is responsible for storage instant message 32, described instant message 32 comprises the geographical position that the message publisher is current, effective time, message content, attributes such as News Category and message publisher, in addition, server 33 also is responsible for safeguarding instant message, response user's instant message searching request, instant message push between user management or user.
Fig. 4 is the sequential chart of the instant message communication method of one embodiment of the invention, and Fig. 5 is the abstract exploded view of the instant message of one embodiment of the invention, and Fig. 6 is the concrete exploded view of the instant message of one embodiment of the invention.
More specifically, instant message of the present invention contain the current geographical position of message publisher and effective time two special and important attributes, on this basis, instant message also comprises message content, News Category, message publisher, message id and other attached attribute, as shown in Figure 4, the whole process of instant message communication method can be divided into following several stages:
1) user 1 wants at instant message of the geographical position at own place issue, in the hope of linking up with the people who on every side this message is interested in, user 1 incites somebody to action own current geographical position by issue client terminal, the effective time of message (server end can be provided with the longest restriction effective time), message content, the all properties of instant messages such as News Category sends to server, the user can also be as required, at any time the content of updating message, and in the scope of system's permission, the refresh message time, avoid the message expire;
2) server deposits instant message in message queue or the message pool in;
When 3) user 2 wants to search message around own, user 2 sends a searching request by receiving user end to server, searching request comprises predeterminated position that user 2 selects, News Category, message content etc., described predeterminated position can be defaulted as the current geographical position of user 2, and user 2 also can change the center;
4) server is retrieved the instant message that meets the demands and is returned to user 2 in message queue or message pool;
5) instant message that returns at user 2 reception client display server;
6) user 2 clicks and checks the instant message that returns, the abstract exploded view of instant message as shown in Figure 5, wherein, the background patterns of the map-message panel among Fig. 5 is map, the concrete exploded view of instant message as shown in Figure 6, the user can therefrom find the information that needs;
7) if the message of 2 couples of users of user 1 issue is interesting, want further to link up user 2 with user 1, user 2 can send the request of the communication of carrying out literal and/or audio frequency and video to user 1 issue client terminal receiving client, reaches the purpose of message broadcasting;
8) user 2 reception client sends the contacted message of level user's 1 literal and/or audio frequency and video to server with desire;
9) server receives the contacted message of user 2 reception client transmission;
10) server sends to user 1 with the contact details of user 2 reception client transmission;
11) user 1 receives user 2 contact details at issue client terminal;
12) user 1 replys contacted message with literal and/or audio frequency and video to user 2 reception client by server at issue client terminal.
Wherein, step 8)~12) can move in circles, up to reaching purpose, server wants regularly to delete expired message from message queue simultaneously.
Fig. 7 is the initial user interface schematic diagram of the instant message communication method of one embodiment of the invention, and Fig. 8 is the user interface schematic diagram after the user puts out instant message 5 among Fig. 7.
As shown in Figure 7 and Figure 8, the user interface of instant message communication method can comprise map-message panel, filtration and search panel and message issue panel, owing to can comprise issue client terminal on user's the terminal equipment simultaneously and receive client, so the terminal equipment upward filtration the user can exist simultaneously with search panel and message issue panel, above-mentioned three interfaces can be switched mutually when the user needed.
1, map-message panel is the major part of user interface, map-message panel background is map, acquiescence is centered by the predeterminated position that the user selects, to preset setting as the user and be chosen as the current geographical position of user, as shown in Figure 7, map-message panel shows the instant message that satisfies the condition that arranges in filtration and the search panel, exemplary diverse location at map has marked instant message 1~7 respectively among Fig. 7, wherein, the background patterns of the map-message panel among Fig. 7 is map, instant message is the core roles of map-message panel, and instant message has several required attributes, comprising:
1) message id;
2) message publisher;
3) message content (can be brief audio frequency and video and/or literal);
4) News Category;
5) other attached attribute;
In addition, instant message also has two important attributes:
6) effective time, it is very short that an important feature of instant message is exactly effective time, and according to the different messages classification, the effective time of an instant message is presumable has only three to five minutes;
7) predeterminated position, because another important attribute of instant message is exactly very relevant with the position, because what need searching is near message centered by certain position, instant message is presented on the map according to releasing position, wherein, message content, News Category and predeterminated position all are the conditions of filtering and searching for.
After 2 of users open the instant message 5 that a user 1 sends, user interface as shown in Figure 8, user 1 can want to send to user 1 instant message by this interface input, further the mode by literal or audio frequency and video sends to user 1 then, with the further communication of realization with user 1, wherein, the background patterns of the map-message panel among Fig. 8 is map.
2, filter and the search panel is point centered by the current geographical position of user or other predeterminated position, attribute such as message id, message publisher, message content, News Category, effective time, predeterminated position, preset range or other attached attribute with instant message are search condition, instant message is searched for and filtered, result after the search will be presented in following map-message panel, filter and search for panel and can hide at ordinary times, can resurrect at any time when the user need search for.
For example, search condition can be set to: apart from (preset range) News Category in 300 meters of the predeterminated positions or the message content instant message for " taxi ", such Search Results offers the taxi driver, can allow the driver locate the passenger who seeks taxi fast.
And for example, search condition can be set to: in 50 meters in the geographical position at the own place of distance users (preset range) " News Category or message content be " share-car "; and message content comprises the instant message on " 96 square ", can allow like this user find near with people's share-car of going to 96 squares.
The user can moving map, the position was searched for for another example centered by any predeterminated position was set, the user plans to drive to go out, place-centric is set to the destination in advance, and search " in 100 meters (position range) " News Category or message content be the instant message in " parking lot ", checks whether parking stall etc. is arranged.
3, message issue panel is used for issuing instant message, the user can input characters, typing audio frequency and video, specify message classification, wherein, News Category can be selected a plurality of, such as " share-car ", " having a meal " etc., every attribute of instant message can send a message to server after determining, identical with the search panel with filtration, message issue panel can be hidden at ordinary times, and the user can resurrect at any time when needing.
In more detail, concrete application scenarios of the present invention is exemplified below:
1, allow trade company to authenticate, after authenticating, the user of trade company can obtain some privileges, such as issuing the overlength instant message of effective time, such as in whole 8 hours business hours or the longer time in all effective, the message of trade company's issue shows with different colors, trade company can be the state real-time update of oneself, check for the user, such as the restaurant whether have vacant seat parlor, parking lot whether to have vacant position, which new product the market has, which sales promotion gives a discount product etc.
2, allow user's updating message, issue the instant message of share-car such as the user after, the user is ready to continue etc., allows the user to prolong effective time, the user also can upgrade the instant message content, such as " have the classmate together share-car go to the Zhangjiang town to have a meal? two classmates have been arranged ".
3, allow user's subscribe message, receive client and can regularly pull new instant message from server according to the parameter of subscribing to, and show to the user, the taxi driver can with subscribe to condition setting be " apart from oneself 300 meters " News Category or message content be the instant message of " taxi ", with the searching passenger.
4, solve real needs
Taxi such as 1)
Problem: possible taxi just around the corner, but the user does not know whether should go for still in the original place etc., whether taxi is arranged around more not knowing, make a phone call to call a taxi and also not necessarily have car at once, and Shanghai taxi company is so many, is difficult to determine that the taxi of which company is just near user's week.
Settling mode: passenger users is issued one and is obtained the instant messages of hiring a car according to own current geographical position, and News Category or message content are " taxi "; Taxi driver user then arranges " pulling 300 meters is the instant messages of taxi with interior instant message ", when the taxi driver pull in real time see passenger users issue obtain the instant message of hiring a car after, can directly click this instant message in the user interface map of terminal equipment, further link up with passenger users then, just found taxi with the near-zero cost like this.
2) share-car
Problem: come out from subway or bus, think a place of awfully hot door, such as the emporium, the sure a lot of people that get off together go, and can share-car can save some money.Perhaps in meal point, near (CBD) share-car is gone from the central business district have a meal in the dining room.
Settling mode: taxi was waited on one side after user 1 got off, according to oneself position issue one ask share-car instant message on one side, News Category is " share-car ", and XX market, destination is made as predeterminated position; Open the reception client after user 2 gets off and check " share-car " class instant message, further contact by receiving client and user 1 after the information that user 2 finds user 1 to issue.
3) buy in partnership
Problem: some businessmans can provide preferential for the many users of quantity purchase now, if quantity purchase less than, then be without access to preferential, play/game ticket such as some, buy 5 and send one, oneself may only need three in fact, if others also needs three then can together buy.
Settling mode: whether have around the user can be when plan buying seeks by instant message and be ready other user of together buying, this is than asking that in the shop other client is more easy to operate, and can not bother unnecessary people, in the big place of the volume of the flow of passengers, this power that is operable to can be than higher.
4) discount card
Problem: go shopping and want suddenly to do shopping, but do not have the discount card in this shop.
Settling mode: whether the user can seek by the issue instant message has other user to be ready discount card is used, and for the user that discount card is provided, can accumulate integration, so also be good.
5) look for the parking stall
Problem: drive what goes out to be afraid of most now? can not find the parking stall, possible user knows that there is individual parking lot in certain somewhere, wouldn't if just know there has not been the parking stall but the user reaches the there, be pretty troublesome? if it is perhaps the user does not know the where is it parking stall, just more inconvenient.
Settling mode: the user of parking stall provider is by authentication, the classification that can give out information is the instant messages on " parking stall ", validity can be set to 16 hours (whole business hours), message content can be determined form according to News Category, just write how many rooms in addition exactly such as the parking stall, indicate that perhaps the parking stall is well-to-do, anxiety is still full; After the driving user arrives near the destination, can near the News Category the user interface of terminal equipment is searched be the instant message on " parking stall ", determine where stop according to the instant message of searching then, simultaneously, how to walk if the driving user is unclear, can also exchange with businessman, if whether uncertain information is real-time, can also confirm with businessman.
6) look for the restaurant
Problem: with looking for the parking stall similar, the user comes a place and wants to have a meal, and can't determine near where is it restaurant or whether also have the position.
Settling mode: authenticate by businessman, the user of restaurant issues instant message and shows oneself to also have how many rooms as 2 people, 4 people or parlor etc., the user who has dinner brings in by the reception client and searches satisfied restaurant, can also exchange with the restaurant by receiving client, further to determine the position, restaurant, to guarantee that the short time is decided at the higher level but not officially announced to the seat.
7) issue discounting promotional messages
Problem: at the user of trade company, as in big supermarket, a lot of commodity can give a discount or sales promotion, but by traditional printing sales promotion handbook, not only cost is high, not environmental protection, and also the effect of publicity is limited, because not necessarily just can take when the user wants to see, same, taken also and not necessarily can see; And by set up the sales promotion person in the market, allow the sales promotion person pull the throat sales promotion, under the environment of noise and excitement, effectively range of publicity may be only less than 10 meters, if the user is the potential buyer, but do not have by chance specifically then to publicize concerning this user comes not putting in place near the process.
Settling mode: authenticate by businessman, the user of businessman can allow seller issue the instant message of publicity such as sales promotion, new product in its place of business scope, and according to the kind of commodity such as " food ", " kitchen tools ", " family is spun " waits the kind that gives out information, check to make things convenient for the user to click, excavate potential customers, enlarge the effect of publicity, client user can check these information easily when going shopping, need if having, can find the thing of oneself wanting accurately, the user of businessman can change from passive to active like this, and effect can be more obvious.
Can issue relatively shorter or long instant message effective time according to predeterminated position by user of the present invention, the instant message of other user's issues around the user can also check, to obtain the information of oneself wanting or the information of issuing oneself, after the user is interesting to an instant message of other user's issues, can further exchange one to one with other user, reach purpose, the present invention is tie with the predeterminated position of user or trade company, instant message is equivalent to propaganda directed to communicate, instant message is based on the predeterminated position of user or the trade company scope that has certain effect, and message is issued immediately, lost efficacy in short time, the user can initiatively obtain instant message according to demand, can be impassive bothered by rubbish message.
The difference of the present invention and microblogging and email is, microblogging is to allow the user initiatively obtain message, but not this passive message of obtaining of email, the people of user's concern (follow) is the equal of white list in the microblogging, and has only blacklist among the email, understand positive reading for the message user on the microblogging, and do not have to pay close attention to the concept of (follow) among the present invention, the predeterminated position that is converted to user or trade company is basis, allow the user issue instant message, can obtain simultaneously the information of interest of user present position periphery, finishing information interchange between the user with interactive, and then the creation of value.
Fig. 9 is the module diagram of the instant message AC system of one embodiment of the invention.
As shown in Figure 9, the present invention also provides another kind of instant message AC system, comprise issue client terminal 91, receive client 92 and server 93, issue client terminal 91 can be set on user 1 the terminal equipment 94 simultaneously, receive client 92, issue client terminal 91, reception client 92 can be set simultaneously, to satisfy issue instant message and search instant message, to reach the needs that further send contacted message mutually on same user's 2 the terminal equipment 95.
Described issue client terminal 91 is used for sending based on effective instant message in the Preset Time of predeterminated position to described server 93, concrete, described issue client terminal 91 also is used for sending contacted message or receiving contacted message from described reception client 92 to described reception client 92 by described server 93, described issue client terminal 91 also is used for upgrading described instant message, described issue client terminal 91 also is used for prolonging described Preset Time, and the user imports described instant message by keyboard or microphone at described issue client terminal.
Described reception client 92 is used for obtaining instant message in the preset range according to predeterminated position from described server 93, concrete, described reception client 92 also is used for sending to described server 93 according to predeterminated position the searching request of the instant message in the preset range, described reception client 92 also is used for sending contacted message or receiving contacted message from described issue client terminal 91 to described issue client terminal 91 by described server 93, and described reception client 92 is also for the instant message that obtains by mode real-time or that subscribe in the preset range.
Wherein, described issue client terminal 91 or reception client 92 send or receive contacted message by the mode of literal or audio frequency and video, and described issue client terminal 91 or reception client 92 are carried out communication by a kind of or combination in any in the mode of GPRS, 3G or WiFi and described server 93.
Described server 93 is used for receiving instant message from described issue client terminal 91, transfer immediate news to described reception client 92, concrete, described server 93 also deposits a message pool in for described issue client terminal 91 is transferred immediate news, described server 93 also is used for satisfying the instant message of described searching request and returning to described reception client 92 in described message pool retrieval, described server 93 also is used for from the expired instant message of described message pool deletion, and described server 93 also is used for transmitting described issue client terminal 91 or receiving the contacted message that client 92 sends.
The present invention sends based on effective instant message in the Preset Time of predeterminated position by issue client terminal and for the instant message published method that the user provides position-based and timeliness, facilitates information interchange and communication between the user to server.
In addition, the present invention obtains instant message preset range in according to predeterminated position from described server by receiving client, and other users can need initiatively obtain instant message according to oneself simultaneously, can not see own undesired instant message.
In addition, described issue client terminal or reception client send or receive contacted message by described server, support further to link up between the user.
Each embodiment adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed system of embodiment, because corresponding with the embodiment disclosed method, so description is fairly simple, relevant part partly illustrates referring to method and gets final product.
The professional can also further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software clearly is described, composition and the step of each example described in general manner according to function in the above description.These functions still are that software mode is carried out with hardware actually, depend on application-specific and the design constraint of technical scheme.The professional and technical personnel can specifically should be used for using distinct methods to realize described function to each, but this realization should not thought and exceeds scope of the present invention.
Obviously, those skilled in the art can carry out various changes and modification to invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these revise and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these change and modification.