CN104954492B - Instant communication method, the distribution server, user terminal and instant communicating system - Google Patents

Instant communication method, the distribution server, user terminal and instant communicating system Download PDF

Info

Publication number
CN104954492B
CN104954492B CN201510377031.3A CN201510377031A CN104954492B CN 104954492 B CN104954492 B CN 104954492B CN 201510377031 A CN201510377031 A CN 201510377031A CN 104954492 B CN104954492 B CN 104954492B
Authority
CN
China
Prior art keywords
user terminal
message
distribution server
geographical location
receiving
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.)
Active
Application number
CN201510377031.3A
Other languages
Chinese (zh)
Other versions
CN104954492A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510377031.3A priority Critical patent/CN104954492B/en
Publication of CN104954492A publication Critical patent/CN104954492A/en
Application granted granted Critical
Publication of CN104954492B publication Critical patent/CN104954492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Abstract

The embodiment of the invention discloses instant communication method, the distribution server, user terminal and instant communicating systems.Wherein, which comprises receive the message that the first user terminal is sent;According to geographical location, the second user terminal for receiving the message is determined;The message is pushed into the second user terminal.Technical solution provided in an embodiment of the present invention may be implemented the quick of information between any common netizen in certain area coverage and exchange and share.

Description

Instant communication method, the distribution server, user terminal and instant communicating system
Technical field
The present embodiments relate to Internet technical field more particularly to instant communication method, the distribution server, user's ends End and instant communicating system.
Background technique
Instant messaging (Instant Messaging, IM) service is that one kind can allow user to establish certain on network The real-time communication service of private chat room.Most IM service provides the characteristic of status information-display data contact person list, Can whether contact person be online and talk with contact person.IM software welcome on the internet at present includes Tencent QQ, Baidu Hi, Fetion, credulity, Ali Wang Wang etc..
Usual IM service can issue message when someone on user's call list (similar telephone directory) connects IM service Notify user, user that can start to be communicated in real time through internet with this person accordingly.Other than text, in bandwidth Under the premise of abundance, most of IM service in fact also provides the ability of video communication.Real-time communication is maximum with Email Difference is not having to waiting, not need every two minutes just by primary " transmission and reception ", as long as two people are online simultaneously, Text, archives, sound, image can be transmitted to other side, as long as there is network, no matter other side is in ends of the earth sea as mediaphone Angle or both sides every how far all will not influence two people and communicate.
But existing IM is serviced due to being limited by friend relation, group relation, so that the range that information is propagated has one Fixed limitation.
Summary of the invention
The embodiment of the present invention provides instant communication method, the distribution server, user terminal and instant communicating system, to realize The quick of information exchanges and shares between any common netizen in certain area coverage.
On the one hand, the embodiment of the invention provides a kind of instant communication methods, this method comprises:
Receive the message of the first user terminal transmission;
According to geographical location, the second user terminal for receiving the message is determined;
The message is pushed into the second user terminal.
On the other hand, the embodiment of the invention also provides another instant communication methods, this method comprises:
First message is sent to the distribution server, to indicate the distribution server according to the determining reception in geographical location The second user terminal of first message and the first message is pushed into the second user terminal;
The message that the distribution server issues is received, wherein the received message of institute is that the distribution server is receiving After the second message that third user terminal is sent, the second message that is pushed according to geographical location.
In another aspect, the embodiment of the invention also provides a kind of the distribution server, which includes:
Message reception units, for receiving the message of the first user terminal transmission;
Terminal determination unit, for determining the second user terminal for receiving the message according to geographical location;
Message push unit, for the message to be pushed to the second user terminal.
In another aspect, the embodiment of the invention also provides a kind of user terminal, as the first user terminal, comprising:
Message sending unit, for sending first message to the distribution server, to indicate the distribution server base area Reason position determines the second user terminal for receiving the first message and the first message is pushed to the second user Terminal;
Message reception units, the message issued for receiving the distribution server, wherein the received message of institute is described The distribution server disappears after the second message for receiving the transmission of third user terminal according to described second that geographical location is pushed Breath.
In another aspect, the embodiment of the invention also provides a kind of instant communicating system, the system include the distribution server and Multiple user terminals;Wherein, the distribution server, is used for:
Receive the message that the first user terminal is sent in the multiple user terminal;
According to geographical location, the second user terminal that the message is received in the multiple user terminal is determined;
The message is pushed into the second user terminal.
Technical solution provided in an embodiment of the present invention provides a kind of instant communication method based on geographical location, can Realize that the quick of information exchanges and share between any common netizen in certain area coverage.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for instant communication method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of instant communication method provided by Embodiment 2 of the present invention;
Fig. 3 is the flow diagram for another instant communication method that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the distribution server that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram for the user terminal that the embodiment of the present invention five provides;
Fig. 6 is the configuration diagram for the instant communicating system that the embodiment of the present invention six provides;
Fig. 7 is a kind of flow diagram for instant communication method that the embodiment of the present invention seven provides;
Fig. 8 is the schematic diagram of instant messaging between a kind of mobile phone that the embodiment of the present invention seven provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, Many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be pacified again Row.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing.Institute Stating processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is a kind of flow diagram for instant communication method that the embodiment of the present invention one provides.The present embodiment is applied to Instant communicating system as shown in Figure 6.Method provided in this embodiment can be held by the distribution server in instant communicating system Row is applicable to the case where instant messaging service is provided between user terminal each in the system.
Referring to Fig. 1, instant communication method provided in this embodiment specifically includes following operation:
Operation 110 receives the message that the first user terminal is sent.
Wherein, the first user terminal is any user terminal in instant communicating system.Transmitted message can be all Such as any type of message of text, picture, voice, video.The message, which can be, occurs earthquake, vehicle in the first user location Under the scenes of emergency events such as misfortune, the first user uses the first user terminal, described to corresponding to transmitted by the distribution server The message of emergency event.In addition, the message can also be a resident in the first user as certain cell, it is desirable to externally publication Under scene about the notification event of the cell-related information, the first user uses the first user terminal, to the distribution server institute The message corresponding to the notification event sent.Certainly, which can also be under any other scene, and the first user makes With the first user terminal, to message transmitted by the distribution server, the present embodiment is not especially limited this.
It operates 120, according to geographical location, determines the second user terminal for receiving the message.
The message is pushed to second user terminal by operation 130.
For existing instant messaging mode, only have friend relation between user in advance, or belongs to same preparatory Group created could use respective terminal to be communicated.Therefore, which has great limitation to transmission of news Property.Especially, after the emergency events such as natural and man-made calamities occur for some place, user is badly in need of seeking help other people, and user uses and has Immediate communication tool, be only capable of notifying the event to give the fixation crowd for oneself having particular kind of relationship, and the part population has very much Ten thousand li may be separated by with user, event can not be reached in time, scene occurs.
For this purpose, present embodiments providing a kind of instant communication method based on geographical location.Receiving the first user end The message sent is held, and after getting the geographical location that each user terminal in instant communicating system is currently located, it can be real-time Message to determine the second user terminal for receiving the message in the system, and then is pushed to second according to geographical location by ground User terminal.
Specifically, may also include that the first user terminal of acquisition and second user terminal are current before executing operation 120 The geographical location at place.It illustratively, can be in such a way that user terminal reports, to passively receive in instant communicating system The geographical location being currently located that each user terminal is sent in real time.Certainly, the transmission of the first user terminal can also received After message, before executing operation 120, initiatively each user terminal into instant communicating system initiates geographical location acquisition Request, receives the geographical location being currently located that each user terminal is returned based on the acquisition request later.
Preferably, the first user terminal while sending message, send out by the geographical location that can be together currently located itself Give the distribution server;Correspondingly, the distribution server while receiving message, can synchronize and receive the first user terminal and work as The geographical location at preceding place.
In a kind of specific embodiment of the present embodiment, it can be advised by the distribution server using the setting being stored in advance Then, the geographical location being currently located according to the first user terminal specifically pushes away the message that the first user terminal is sent to determine Which user terminal in instant communicating system given.Illustratively, a distance threshold can be preset, operation 120 is specific It include: each user end searched at a distance from the geographical location that the first user terminal is currently located less than the distance threshold End;The each user terminal that will be found is determined as receiving the second user terminal of the message.The corresponding scheme of the example, Message can be pushed in instant communicating system at a distance from the geographical location that the first user terminal is currently located be less than it is described away from Each user terminal from threshold value.
In another specific embodiment of the present embodiment, the first user terminal can be based in real time by the distribution server Which user terminal is the message that first user terminal is sent specifically is pushed to determine by the specified territorial scope of dynamic.Show Example property, the distribution server also receives the pushing away corresponding with the message of the first user terminal transmission before executing operation 120 Send region.Wherein, the geographical location that should be currently located comprising the first user terminal of received push region namely first use The geographical location that family terminal is currently located is located in the push region.Correspondingly, operation 120 can include: search current geographic Position is located at each user terminal in the push region of the first user terminal transmission;The each user terminal that will be found, really It is set to the second user terminal for receiving the message.
It should be noted that the range for the push region that the first user terminal is sent is not answered excessive, can specifically have much It can be preassigned by the distribution server.Illustratively, the geographical position that the distribution server can be currently located according to the first user terminal It sets, includes the human-computer interaction interface of each push region in the geographical location to the transmission of the first user terminal;Receive first The user that user terminal returns selected target on human-computer interaction interface pushes region.For example, the first user terminal is current The geographical location at place is " north latitude * * degree, east longitude * * degree ", which is located at " mansion * * in the area * * of the city * * ", then the distribution server It may include having " mansion * * ", " area * * ", " city * * " this 3 push regions in the human-computer interaction interface issued, receive first later What user terminal returned pushes target push region " mansion * * " selected in region from described 3.
In another specific embodiment of the present embodiment, operation 120 can include: the first user terminal of concern is current The user terminal of the affiliated region in the geographical location at place is determined as receiving the second user terminal of the message.
Technical solution provided in this embodiment, the distribution server is after the message for receiving the transmission of the first user terminal, energy It is enough according to geographical location, rather than the friend relation being pre-created, to determine the second user terminal for receiving message, and then by message Push to second user terminal.Therefore, it can be realized the quick friendship of information between any common netizen in certain area coverage It flows and shares.
Embodiment two
The present embodiment on the basis of the above embodiment 1, " according to geographical location, will determine the second user for receiving message The operation 120 of terminal " advanced optimizes are as follows:
Search each use for being less than preset distance threshold at a distance from the geographical location that the first user terminal is currently located Family terminal;
If the quantity of the user terminal found is greater than preset amount threshold, reduce the distance threshold, again It searches and is less than the distance threshold by this after reducing operation at a distance from the geographical location that the first user terminal is currently located Each user terminal;
After the user terminal quantity that finds is less than the amount threshold, each use that the last time finds is determined Family terminal is to receive the second user terminal of message.
Fig. 2 is a kind of flow diagram of instant communication method provided by Embodiment 2 of the present invention.It is provided in this embodiment Method is still executed by the distribution server.Referring to fig. 2, instant communication method provided in this embodiment specifically includes following operation:
Operation 210 receives the message that the first user terminal is sent;Execute operation 220;
Operation 220, lookup are each less than distance threshold at a distance from the geographical location that the first user terminal is currently located User terminal;Execute operation 230;
Whether the quantity for the user terminal that operation 230, judgement are found is greater than preset amount threshold;
If it is, executing operation 240;Otherwise, operation 250 is executed.
Operation 240 reduces the distance threshold;It returns and executes operation 220.
Operation 250 determines that each user terminal that this is searched is the second user terminal for receiving message;
The message is pushed to second user terminal by operation 260.
In the present embodiment, the initial value of distance threshold can be preset by the distribution server.Later, in implementation procedure In, if it is judged that the quantity of the user terminal found is greater than preset amount threshold, then it can reduce distance threshold.Wherein, Reduction amount can still be set by the distribution server, and the amount reduced every time can be identical, can also be different.It should be noted that executing After the complete operation that the message is pushed to second user terminal, distance threshold should be updated to preset initial value.
For example, the initial value of distance threshold can be 1000 meters, after having executed first time search operation, if it is judged that this The quantity of the secondary user terminal found is greater than preset amount threshold, then distance threshold is reduced 200 meters namely new distance Threshold value becomes 800 meters;Then, after having executed second of search operation, if it is judged that this user terminal found Preset amount threshold is still greater than in quantity, then distance threshold is reduced 200 meters namely new distance threshold again becomes 600 meters; And so on, until making the quantity of the user terminal found be less than or equal to preset amount threshold.
Technical solution provided in this embodiment can set the terminal for receiving message by dynamically adjusting distance threshold Standby quantity is controlled, and is unlikely to it excessively, thus the congestion for causing data to transmit.
On the basis of the above-mentioned technical solution provided by embodiment one and embodiment two, it is provided in an embodiment of the present invention by The instant communication method that the distribution server executes, further includes:
The chat group created request to target area of the first user terminal initiation is received, wherein target area includes first The geographical location that user terminal is currently located;
Correspond to the chat group of target area according to the request creation;
After what any user terminal was sent in receiving chat group corresponds to group's message of chat group, by group messaging Each user terminal into chat group.
Specifically, corresponding to the chat group of target area according to the request creation, comprising: search geographical location and be located at mesh All user terminals found are constructed as a chat group by each user terminal for marking region.
Illustratively, after corresponding to the chat group of target area according to the request creation, further includes:
Receive target terminal user initiation checks request to group's message;Wherein, target terminal user be except Other users terminal in the chat group except each user terminal;
To checking that request carries out password authentification, after being proved to be successful, by group messaging to target terminal user, wherein institute Password is stated to be specified by the user terminal for initiating chat group created request.
Embodiment three
Fig. 3 is the flow diagram for another instant communication method that the embodiment of the present invention three provides.The present embodiment should For instant communicating system as shown in Figure 6.Method provided in this embodiment, by any user terminal in instant communicating system (being set as the first user terminal) executes, and is applicable to the user terminal and passes through other use in the distribution server and instant communicating system The case where instant messaging is carried out between the terminal of family.Method provided in this embodiment can be with any embodiment of that present invention offer by dividing It sends out the instant communication method that server is realized and cooperates execution.Referring to Fig. 3, instant communication method provided in this embodiment is specifically included Following operation:
Operation 310 sends first message to the distribution server, is received with indicating that the distribution server is determined according to geographical location The second user terminal of first message and first message is pushed into second user terminal;
Operation 320 receives the message that the distribution server issues, wherein the received message of institute is that the distribution server is receiving After the second message that third user terminal is sent, the second message that is pushed according to geographical location.
Wherein, second user terminal and third user terminal can be the same user terminal, be also possible to different user Terminal.
Illustratively, instant communication method provided in this embodiment further include: the first user terminal is by the first user terminal The geographical location being currently located, is reported to the distribution server.In this way, the distribution server can be enabled according to the first user end The geographical location being currently located is held, specifically the message that the first user terminal is sent is pushed in instant communicating system to determine Which user terminal.
Illustratively, after receiving the message that issues of the distribution server, further includes: the first user terminal will receive Second message shows the geographical location that the third user terminal marked on map is currently located;Alternatively, will receive Second message is shown in the form of chatroom.For the example, it is preferred that the first user terminal can be different data in advance The different display icon of the message arrangement of type.Data type can be text type, picture type, sound-type or video class Type.Wherein, for the message of picture type, show that icon can directly be the thumbnail of the picture;For video type Message, display icon can be the thumbnail of first frame picture in video.First user terminal after receiving second message, The geographical location that the third user terminal that the corresponding display icon displaying of the message is marked on map was currently located before this Place;Later, after getting to the trigger action of display icon, show or play the corresponding complete message of the display icon.
Illustratively, instant communication method provided in this embodiment further include: the first user terminal is in the distribution server The region for reporting the first user of interest.In this way, the distribution server can be enabled according to the region, to determine specifically The message that one user terminal is sent is pushed to which user terminal in instant communicating system.
On the basis of above-mentioned all technical solutions provided in this embodiment, further includes:
First user terminal initiates the chat group created request to target area to the distribution server, with instruction distribution service Device corresponds to the chat group of target area according to the request creation, and wherein target area includes that the first user terminal is currently located Geographical location;
First user terminal sends the group's message for corresponding to the chat group to the distribution server, to indicate the distribution server By each user terminal of the group messaging into the chat group.
Technical solution provided in this embodiment enables user terminal to be determined with the distribution server according to geographical location Other users terminal carries out instant messaging, to realize the quick of information between any common netizen in certain area coverage It exchanges and shares.
Example IV
Fig. 4 is the structural schematic diagram for the distribution server that the embodiment of the present invention four provides.Referring to fig. 4, the distribution server 40 specific structure is as follows:
Message reception units 410, for receiving the message of the first user terminal transmission;
Terminal determination unit 420, for determining the second user terminal for receiving the message according to geographical location;
Message push unit 430, for the message to be pushed to the second user terminal.
Illustratively, the distribution server provided in this embodiment further include:
Geographical location acquiring unit 400, for, according to geographical location, determining in the terminal determination unit 420 and receiving institute Before the second user terminal for stating message, the geography that first user terminal and the second user terminal are currently located is obtained Position.
As a kind of specific embodiment of the present embodiment, the terminal determination unit 420 is specifically used for:
It searches each less than preset distance threshold at a distance from the geographical location that first user terminal is currently located A user terminal;
The each user terminal that will be found is determined as receiving the second user terminal of the message.
As another specific embodiment of the present embodiment, the terminal determination unit 420 is specifically used for:
It searches each less than preset distance threshold at a distance from the geographical location that first user terminal is currently located A user terminal;
If the quantity of the user terminal found is greater than preset amount threshold, reduce the distance threshold, again Search with the geographical location that first user terminal is currently located at a distance from be less than by this reduce operate after apart from threshold Each user terminal of value;
After the user terminal quantity that finds is less than the amount threshold, each use that the last time finds is determined Family terminal is to receive the second user terminal of the message.
As another specific embodiment of the present embodiment, the terminal determination unit 420 is specifically used for: will pay close attention to The user terminal for the affiliated region in geographical location that first user terminal is currently located, is determined as receiving the second of the message User terminal.
Based on the above technical solution, the distribution server further include:
Request reception unit (not shown), the chat group to target area initiated for receiving first user terminal Request to create, wherein the target area includes the geographical location that first user terminal is currently located;
Chat group's creating unit (not shown), for corresponding to the chat of the target area according to the request creation Group;
Group messaging unit (not shown), for the correspondence that any user terminal is sent in receiving the chat group After group's message of the chat group, by each user terminal of the group messaging into the chat group.
Illustratively, the distribution server further include:
It checks request reception unit (not shown), is corresponded to for being created in the chat group creating unit according to the request After the chat group of the target area, receive target terminal user initiation checks request to group's message;Its In, the target terminal user is the other users terminal in addition to each user terminal in the chat group;
The group messaging unit (not shown), is also used to: to it is described check request carry out password authentification, verifying at After function, the group messaging is given to the target terminal user, wherein the password is by initiating the chat group created request User terminal it is specified.
The instant communication method provided by any embodiment of the invention executed by the distribution server can be performed in the said goods, Have the corresponding functional module of execution method and beneficial effect.
Embodiment five
Fig. 5 is the structural schematic diagram for the user terminal that the embodiment of the present invention five provides.Referring to Fig. 5, which makees For the first user terminal, specific structure is as follows:
Message sending unit 510, for the distribution server send first message, with indicate the distribution server according to Geographical location determines the second user terminal for receiving the first message and the first message is pushed to described second and uses Family terminal;
Message reception units 520, the message issued for receiving the distribution server, wherein the received message of institute is institute The distribution server is stated after the second message for receiving the transmission of third user terminal, described second pushed according to geographical location Message.
Illustratively, the first user terminal provided in this embodiment further include:
Geographical location reporting unit 500, the geographical location for first user terminal to be currently located, is reported to institute State the distribution server.
Illustratively, the first user terminal provided in this embodiment further include:
Message display unit 530, the second message for receiving the message reception units 520 are shown in map The geographical location that the third user terminal marked is currently located;Alternatively, by the second message received with chatroom Form be shown.
Illustratively, the first user terminal provided in this embodiment further include:
Pay close attention to region reporting unit 505, the region for reporting first user of interest to the distribution server.
Based on the above technical solution, the first user terminal provided in this embodiment further include:
Request transmitting unit (not shown), for initiating to ask the chat group creation of target area to the distribution server It asks, the chat group of the target area is corresponded to indicate the distribution server according to the request creation, wherein the mesh Mark region includes the geographical location that first user terminal is currently located;
Group messaging unit (not shown) disappears for sending to the distribution server corresponding to the group of the chat group Breath, to indicate each user terminal of the distribution server by the group messaging into the chat group.
The instant messaging side provided by any embodiment of the invention executed by the first user terminal can be performed in the said goods Method has the corresponding functional module of execution method and beneficial effect.
Embodiment six
Fig. 6 is the configuration diagram for the instant communicating system that the embodiment of the present invention six provides.Referring to Fig. 6, the instant messaging System includes: the distribution server and multiple user terminals (user terminal 1, user terminal 2, user terminal 3 ... user terminal N) Composition.Wherein, each user terminal connect with the distribution server and (is preferably wirelessly connected), can be with distribution based on the connection Server carries out data communication.Wherein, user terminal be the terminal device with positioning function, such as can be smart phone, The mobile terminals such as tablet computer.
Wherein, the distribution server is used for:
Receive the message that the first user terminal is sent in the multiple user terminal;
According to geographical location, the second user terminal that the message is received in the multiple user terminal is determined;
The message is pushed into second user terminal.
Illustratively, the distribution server is also used to: according to geographical location, determining that the second user for receiving the message is whole Before end, the geographical location that each user terminal is currently located in the multiple user terminal is obtained.
As a kind of specific embodiment, the distribution server is specifically used for:
It searches in the multiple user terminal and is less than at a distance from the geographical location that first user terminal is currently located Each user terminal of preset distance threshold;
The each user terminal that will be found is determined as receiving the second user terminal of the message.
As another specific embodiment, the distribution server is specifically used for:
It searches in the multiple user terminal and is less than at a distance from the geographical location that first user terminal is currently located Each user terminal of preset distance threshold;
If the quantity of the user terminal found is greater than preset amount threshold, reduce the distance threshold, again It searches in the multiple user terminal, is less than at a distance from the geographical location that first user terminal is currently located and passes through this Each user terminal of distance threshold after reducing operation;
After the user terminal quantity that finds is less than the amount threshold, each use that the last time finds is determined Family terminal is to receive the second user terminal of the message.
As another specific embodiment, the distribution server is specifically used for:
The affiliated region in geographical location that first user terminal is currently located will be paid close attention in the multiple user terminal User terminal is determined as receiving the second user terminal of the message.
Based on the above technical solution, the distribution server, also particularly useful for:
The chat group created request to target area that first user terminal is initiated is received, wherein the target area The geographical location being currently located comprising first user terminal;
The chat group for corresponding to the target area in the multiple user terminal is created according to the request;
After what any user terminal was sent in receiving the chat group corresponds to group's message of the chat group, by institute State each user terminal of the group messaging into the chat group.
Technical solution provided in this embodiment, so that any user terminal in instant communicating system, can take with distribution Business device carries out instant messaging according to the other users terminal that geographical location determines, to realize any in certain area coverage The quick of information exchanges and shares between common netizen.
Embodiment seven
Fig. 7 is a kind of flow diagram for instant communication method that the embodiment of the present invention seven provides.The present embodiment is above-mentioned On the basis of all embodiments, a preferred embodiment is provided.The present embodiment can be using in instant communicating system shown in fig. 6.Its In, each terminal in the system can be the mobile terminal for being equipped with map client, and it is mobile whole that the distribution server, which can be, End provides the server device of Map Services.Certainly, the distribution server can also be other objects for being different from the server device Manage equipment.Referring to Fig. 7, this method specifically includes following operation:
The 710, first user terminal of operation sends the geographical location that message and the terminal are currently located to the distribution server.
Operation 720, the distribution server determine the second user terminal for receiving the message according to geographical location.
Specifically, operation 720 includes:
1) it searches each less than preset distance threshold at a distance from the geographical location that the first user terminal is currently located User terminal;If the quantity of the user terminal found is greater than preset amount threshold, reduce the distance threshold, again It searches and is less than the distance threshold by this after reducing operation at a distance from the geographical location that the first user terminal is currently located Each user terminal;After the user terminal quantity found is less than the amount threshold, determine what the last time found Each user terminal is the second user terminal for receiving the message;
2) user terminal that will pay close attention to the affiliated region in geographical location that the first user terminal is currently located is determined as receiving institute State the second user terminal of message.
Operation 730, the distribution server push to the geographical location that the message and the first user terminal are currently located Second user terminal.
The message received is shown by operation 740, second user terminal.
Specifically, operation 740 includes: the first user that second user terminal is marked the message display on map The geographical location that terminal is currently located;Alternatively, the message received is shown in the form of chatroom.
Technical solution provided in this embodiment is illustrated to be clearer, is now illustrated.Fig. 8 is the embodiment of the present invention The schematic diagram of instant messaging between a kind of seven mobile phones provided.Referring to Fig. 8:
1, it after the first smart phone receives the trigger action to message send button 800 " send ", obtains and is sent out in message The message for sending the text type inputted in 800 left side input frame of button or addition picture (also or video) type, to distribution The geographical location that server sends the message obtained and the mobile phone is currently located;
2, the distribution server determines all mobile phones for receiving the message according to geographical location, is the first intelligence in the citing It can mobile phone and the second smart phone;
3.1, the geographical location that the message and the first smart phone are currently located is pushed to first by the distribution server Smart phone;
3.2, the geographical location that the message and the first smart phone are currently located is pushed to second by the distribution server Smart phone;
Later, the display icon of message after receiving the message, is shown the first intelligence in map by the first smart phone The geographical location that mobile phone is currently located;Second smart phone after receiving the message, by the display icon of message with chatroom Form shown.Display icon is clicked, corresponding message can be shown or play.
Also, for the first smart phone, the interface of message icon is shown further include: 801 " room of the first switching push button Between ", after receiving to the clicking operation of the first switching push button 801, the message received is shown in the form of chatroom Show;For the second smart phone, the interface of message icon is shown further include: the second switching push button 802 " map " is receiving To after the clicking operation to the second switching push button 802, the message received is shown in map.
For existing IM class product: due to being limited by friend relation, group relation, information spread scope is restricted; For map class product: the mostly of display are fixed, biggish POI information, and common netizen can not be based on map publishing information.This The technical solution that embodiment provides, can allow other of netizen and surrounding netizen, businessman, community fast to be linked up, shared information.Than Each netizen in such as a cell, a village fixed range can release news at any time, other netizens in range are equal It can receive immediately.For another example, when encountering emergency event (earthquake, traffic accident etc.), netizen at the scene can issue letter immediately It ceases on map, neighbouring netizen and the netizen for paying close attention to this area can receive.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (16)

1. a kind of instant communication method, which is characterized in that be applied to the distribution server, comprising:
Receive the message of the first user terminal transmission;
According to geographical location, the second user terminal for receiving the message is determined;
The message is pushed into the second user terminal;
Wherein, described according to geographical location, determine the second user terminal for receiving the message, comprising:
The user terminal for the affiliated region in geographical location that first user terminal is currently located will be paid close attention to, is determined as described in reception The second user terminal of message.
2. the method according to claim 1, wherein according to geographical location, determines and receive the of the message Before two user terminals, further includes:
Obtain first user terminal and geographical location that the second user terminal is currently located.
3. according to the method described in claim 2, it is characterized in that, determining according to geographical location and receiving the second of the message User terminal, comprising:
Search each use for being less than preset distance threshold at a distance from the geographical location that first user terminal is currently located Family terminal;
The each user terminal that will be found is determined as receiving the second user terminal of the message.
4. according to the method described in claim 2, it is characterized in that, determining according to geographical location and receiving the second of the message User terminal, comprising:
Search each use for being less than preset distance threshold at a distance from the geographical location that first user terminal is currently located Family terminal;
If the quantity of the user terminal found is greater than preset amount threshold, reduces the distance threshold, search again Reduce the distance threshold after operating by this with being less than at a distance from the geographical location that first user terminal is currently located Each user terminal;
After the user terminal quantity found is less than the amount threshold, determine that each user that the last time finds is whole End is the second user terminal for receiving the message.
5. method according to any of claims 1-4, which is characterized in that further include:
The chat group created request to target area that first user terminal is initiated is received, wherein the target area includes The geographical location that first user terminal is currently located;
Correspond to the chat group of the target area according to the request creation;
After what any user terminal was sent in receiving the chat group corresponds to group's message of the chat group, by the group Message is sent to each user terminal in the chat group.
6. according to the method described in claim 5, it is characterized in that, corresponding to the target area according to request creation Chat group after, further includes:
Receive target terminal user initiation checks request to group's message;Wherein, the target terminal user be except Other users terminal in the chat group except each user terminal;
Check that request carries out password authentification to described, it is after being proved to be successful, the group messaging is whole to the target user End, wherein the password is specified by the user terminal for initiating the chat group created request.
7. a kind of instant communication method, which is characterized in that be applied to the first user terminal, comprising:
First message is sent to the distribution server, receives described first to indicate that the distribution server is determined according to geographical location The second user terminal of message and the first message is pushed into the second user terminal;
The message that the distribution server issues is received, wherein the received message of institute is that the distribution server is receiving third After the second message that user terminal is sent, the second message that is pushed according to geographical location;
The method also includes:
The region for reporting first user of interest to the distribution server;
Wherein, the message for receiving the distribution server and issuing, comprising:
The message that the distribution server issues is received, the received message of institute is to report described first to the distribution server Behind user terminal region of interest, the distribution server is according to first user terminal region of interest and described The second message that the geographical location that three user terminals are currently located is pushed.
8. the method according to the description of claim 7 is characterized in that further include:
The geographical location that first user terminal is currently located, is reported to the distribution server.
9. the method according to the description of claim 7 is characterized in that after receiving the message that the distribution server issues, Further include:
The second message received is shown into the geographical location that the third user terminal marked on map is currently located Place;Alternatively, the second message received is shown in the form of chatroom.
10. the method according to any one of claim 7-9, which is characterized in that further include:
The chat group created request to target area is initiated to the distribution server, to indicate the distribution server according to institute The chat group that request creation corresponds to the target area is stated, wherein the target area includes that first user terminal is current The geographical location at place;
The group's message for corresponding to the chat group is sent, to the distribution server to indicate the distribution server by the group Message is sent to each user terminal in the chat group.
11. a kind of the distribution server characterized by comprising
Message reception units, for receiving the message of the first user terminal transmission;
Terminal determination unit, for determining the second user terminal for receiving the message according to geographical location;
Message push unit, for the message to be pushed to the second user terminal;
Wherein, the terminal determination unit is specifically used for:
The user terminal for the affiliated region in geographical location that first user terminal is currently located will be paid close attention to, is determined as described in reception The second user terminal of message.
12. the distribution server according to claim 11, which is characterized in that further include:
Geographical location acquiring unit receives the of the message for according to geographical location, determining in the terminal determination unit Before two user terminals, the geographical location that first user terminal and the second user terminal are currently located is obtained.
13. the distribution server according to claim 12, which is characterized in that the terminal determination unit is specifically used for:
Search each use for being less than preset distance threshold at a distance from the geographical location that first user terminal is currently located Family terminal;
If the quantity of the user terminal found is greater than preset amount threshold, reduces the distance threshold, search again Reduce the distance threshold after operating by this with being less than at a distance from the geographical location that first user terminal is currently located Each user terminal;
After the user terminal quantity found is less than the amount threshold, determine that each user that the last time finds is whole End is the second user terminal for receiving the message.
14. a kind of user terminal, as the first user terminal characterized by comprising
Message sending unit, for sending first message to the distribution server, to indicate the distribution server according to geographical position It sets and determines the second user terminal for receiving the first message and the first message is pushed into the second user terminal;
Message reception units, the message issued for receiving the distribution server, wherein the received message of institute is the distribution Server is after the second message for receiving the transmission of third user terminal, the second message that is pushed according to geographical location;
First user terminal further include:
Pay close attention to region reporting unit, the region for reporting first user of interest to the distribution server;
Wherein, the message reception units are specifically used for:
Receive the message that the distribution server issues, wherein the received message of institute be reported to the distribution server it is described Behind first user terminal region of interest, the distribution server is according to first user terminal region of interest and institute State the second message that the geographical location that third user terminal is currently located is pushed.
15. the first user terminal according to claim 14, which is characterized in that further include:
Message display unit, the second message for receiving the message reception units show the institute marked on map State the geographical location that third user terminal is currently located;Alternatively, the second message received is carried out in the form of chatroom It shows.
16. a kind of instant communicating system, which is characterized in that including the distribution server and multiple user terminals;Wherein, the distribution Server is used for:
Receive the message that the first user terminal is sent in the multiple user terminal;
According to geographical location, the second user terminal that the message is received in the multiple user terminal is determined;
The message is pushed into the second user terminal;
Wherein, the distribution server is specifically used for:
The user terminal for the affiliated region in geographical location that first user terminal is currently located will be paid close attention to, is determined as described in reception The second user terminal of message.
CN201510377031.3A 2015-06-30 2015-06-30 Instant communication method, the distribution server, user terminal and instant communicating system Active CN104954492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510377031.3A CN104954492B (en) 2015-06-30 2015-06-30 Instant communication method, the distribution server, user terminal and instant communicating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510377031.3A CN104954492B (en) 2015-06-30 2015-06-30 Instant communication method, the distribution server, user terminal and instant communicating system

Publications (2)

Publication Number Publication Date
CN104954492A CN104954492A (en) 2015-09-30
CN104954492B true CN104954492B (en) 2019-02-15

Family

ID=54168834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510377031.3A Active CN104954492B (en) 2015-06-30 2015-06-30 Instant communication method, the distribution server, user terminal and instant communicating system

Country Status (1)

Country Link
CN (1) CN104954492B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5735969B2 (en) 2009-09-30 2015-06-17 エバン ブイ チュラプコ, System and method for analyzing social graph data for determining connections within a community
US9578043B2 (en) 2015-03-20 2017-02-21 Ashif Mawji Calculating a trust score
CN106708353B (en) * 2015-11-16 2021-06-04 钉钉控股(开曼)有限公司 Instant messaging method, client and electronic equipment
US20170235792A1 (en) * 2016-02-17 2017-08-17 Www.Trustscience.Com Inc. Searching for entities based on trust score and geography
CN106506336A (en) * 2016-11-14 2017-03-15 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information
CN109873850A (en) * 2017-12-05 2019-06-11 天津三星电子有限公司 A kind of information-pushing method, server and mobile client
CN109391542A (en) * 2018-12-13 2019-02-26 许兴磊 A kind of instant communication method and communication terminal
CN110557506B (en) * 2019-08-30 2022-03-25 维沃移动通信有限公司 Electric quantity distribution method and device
CN112583703B (en) * 2021-02-02 2022-10-21 上海云鱼智能科技有限公司 Event group chat method, device, server, client and terminal for security concern object
CN112688862B (en) * 2021-02-02 2022-11-01 上海云鱼智能科技有限公司 Event group chat creating method and device based on geographic position

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247561A (en) * 2008-03-21 2008-08-20 宇龙计算机通信科技(深圳)有限公司 Method and device for searching mobile terminal user position
CN101873524A (en) * 2009-04-23 2010-10-27 华为技术有限公司 Area triggering positioning method, positioning server and positioning terminal
CN102884816A (en) * 2011-12-30 2013-01-16 华为技术有限公司 Help-seeking method, apparatus, and system based on location-based service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247561A (en) * 2008-03-21 2008-08-20 宇龙计算机通信科技(深圳)有限公司 Method and device for searching mobile terminal user position
CN101873524A (en) * 2009-04-23 2010-10-27 华为技术有限公司 Area triggering positioning method, positioning server and positioning terminal
CN102884816A (en) * 2011-12-30 2013-01-16 华为技术有限公司 Help-seeking method, apparatus, and system based on location-based service

Also Published As

Publication number Publication date
CN104954492A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN104954492B (en) Instant communication method, the distribution server, user terminal and instant communicating system
US9794860B2 (en) Geocast-based situation awareness
CN105119800B (en) A kind of means of communication and system of shared navigation information
EP2853102B1 (en) Location-based group generation method, apparatus and system
CN102571618B (en) A kind of method and apparatus of instant messaging
CN103326929B (en) Method and device for transmitting messages
US20060063548A1 (en) Group communication service method, mobile terminal using the same, and group communication service system thereof
CN104427464A (en) Cloud rescue and service system and method based on Beidou short messages
US9813876B2 (en) Enhanced location based services
US20070281724A1 (en) Group communication server
CN102638770A (en) Social network realization method and system
CN101742639A (en) Method and system for sharing multi-terminal position
JP2007104617A (en) Method and system for providing message broadcast service using open api
US20140325385A1 (en) Methods and instant messaging client devices for performing im using menu option
CN101710881A (en) Method and system for realizing private messages in chat room
CN105703918A (en) Position-sharing method, server, mobile terminal, and system
CN102984213A (en) Information sharing method, device and system
CN105553831A (en) Message delivery method and system
US9210117B2 (en) Invitation information push method and system
KR101525583B1 (en) Method for interaction between instant message server and SMS server, and System therefor
KR101543425B1 (en) Method for providing chat service and system therefor
JP6599833B2 (en) SMS distribution apparatus and SMS distribution method
Yun et al. Silent broadcast: Experience of connectionless messaging using Wi-Fi P2P
CN104348702B (en) A kind of instant communication client message flow shifting method and instant communication client
Lohokare et al. An Intelligent cloud ecosystem for disaster response and management leveraging opportunistic IoT mesh networks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant