WO2014154041A1 - Communication method and system, server and client - Google Patents

Communication method and system, server and client Download PDF

Info

Publication number
WO2014154041A1
WO2014154041A1 PCT/CN2014/070728 CN2014070728W WO2014154041A1 WO 2014154041 A1 WO2014154041 A1 WO 2014154041A1 CN 2014070728 W CN2014070728 W CN 2014070728W WO 2014154041 A1 WO2014154041 A1 WO 2014154041A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
client
geographical location
server
information
Prior art date
Application number
PCT/CN2014/070728
Other languages
French (fr)
Chinese (zh)
Inventor
刘刚
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2014154041A1 publication Critical patent/WO2014154041A1/en

Links

Classifications

    • 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
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present invention relates to the field of information technology, and in particular, to a communication method, system, server, and client. Background technique
  • Instant messaging is an Internet-based way to exchange messages in real time.
  • Instant messaging allows two or more people to use the network to instantly deliver text messages, files, pictures, etc., and supports voice and video communication.
  • the group function in instant messaging allows multiple people to communicate online at the same time. By fixing a group of users together through a fixed group identity, users can directly communicate with each other without time and geographical restrictions.
  • instant messaging is mainly implemented through instant messaging platforms such as group, WeChat, and Weibo.
  • instant messaging platforms such as group, WeChat, and Weibo.
  • the client since the message published by the client in the existing instant messaging platform is not related to the geographical location of the client, the client cannot obtain the message within the specified geographical location in real time through the existing instant messaging mode; and the existing instant messaging The platform requires the user to apply for registration and identity authentication before the message is published, so that when the user interacts with the information, the registration information and the identity information are at risk of being leaked, resulting in low security of the existing instant messaging method.
  • the user after entering a specific location (such as a large shopping mall), the user only wants to communicate with other users in the specified geographic location (for example, to exchange information with other users in the mall, such as discount information). , the latest product information, etc.), but do not want to expose the user's own real name or screen name in this temporary communication (ie, the user wants to communicate anonymously).
  • the current instant messaging platform
  • the invention provides a communication method, a system, a server and a client, and realizes real-time communication based on geographical location, and at the same time, improves the security of the existing instant communication method.
  • the present invention provides a communication method, including: receiving, by a server, a message sent by a client; the server acquiring geographic location information of the message, and associating the message with geographic location information of the message
  • the method is saved in a database, where the geographical location information of the message is a location where the first client sends the message; the server receives a message acquisition request sent by the second client, where the message obtaining request includes Describe the geographical location of the second client configuration;
  • the server sends the message to the second client to cause the second client to display the message.
  • a second aspect of the present invention provides another communication method, including: a first client sending a message to a server, so that the server acquires geographic location information of the message, and the location information of the message and the message And being stored in the database in an association manner, where the geographical location information of the message is a location where the first client sends the message;
  • the second client sends a message acquisition request to the server, where the message acquisition request includes a geographical location range configured by the second client; if the geographic location information of the message is within the geographic location range, The second client receives the message sent by the server and displays the message.
  • a third aspect of the present invention provides a server, including:
  • a receiving unit configured to receive a message sent by the first client;
  • An obtaining unit configured to acquire geographic location information of the message received by the receiving unit, where the geographic location information of the message is a location where the first client sends the message, and a saving unit, where And the receiving unit is further configured to receive the message acquiring request sent by the second client, where the message received by the receiving unit and the geographic location information of the message obtained by the acquiring unit are stored in an association manner, where The message acquisition request includes a geographical location range of the second client configuration;
  • a fourth aspect of the present invention provides a client, including: a sending unit, configured to send a message obtaining request to a server, where the message obtaining request includes a configured geographical location range, and a receiving unit, configured to receive the sent from the server a message sent from another client to the server and stored by the server in association with the geographic location information of the other client, and the message is only for the other client
  • the location information of the terminal is sent by the server when the geographical location is within the geographical range; the display unit is configured to display the message received by the receiving unit.
  • a fifth aspect of the present invention provides a communication system, comprising the server provided by the above third aspect and at least one client provided by the above fourth aspect.
  • the communication method, system, server and client provided by the invention and the existing instant messaging platform (where the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform requires the user to perform information interaction
  • the server first receives the message sent by the first client, and then the server obtains the geographical location information of the message, and The message and the geographical location information of the message are stored in the database in an associated manner, and finally the server receives the message acquisition request sent by the second client, if the geographic location information of the message is configured in the message acquisition request Within the geographical location, the server sends the message to the second client, thereby associating the message published by the client with the geographical location of the client, thereby solving the problem that the client cannot be real-time through the existing instant messaging mode.
  • FIG. 1 is a flowchart of a communication method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of still another communication method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of another server according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a client according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a communication system according to an embodiment of the present invention. detailed description
  • a first embodiment of the present invention provides a communication method. As shown in FIG. 1, the method includes: 101.
  • a server receives a message sent by a first client.
  • the message may be a text, a picture, a video, or the like, which is not limited in this embodiment.
  • the server acquires geographic location information of the message, and saves the geographic location information of the message and the message in an associated manner in a database.
  • the location information of the message is the location where the first client sends the message, and the location information of the message may be the longitude and latitude of the first client, that is, the first client sends The longitude and latitude of the location at which the message was made.
  • the geographic location information can be carried by the message in any format.
  • the server can analyze and obtain the geographic location information of the message in any manner. The invention is not limited thereto.
  • the server receives a message acquisition request sent by the second client.
  • the message obtaining request includes a geographical location range configured by the second client.
  • the geographical location of the second client is a geographic location that is based on the location of the second client, and the geographic location may be a geometric shape formed by the current geographic location of the client. For example, if the geographic location is a circle, the client may use the current geographic location, that is, the center of the circle, and the radius of the circle, as the range of the geographic location, which is not limited in this embodiment.
  • the server sends the message to the second client.
  • the server may calculate the distance between the location of the message and the current location of the second client according to the longitude and latitude corresponding to the message sent by the first client and the longitude and latitude of the current location of the second client.
  • the distance is less than or equal to the preset distance, and the geographic location information of the message is within the geographic location.
  • the server may calculate the message according to the longitude and latitude corresponding to the message sent by the first client and the longitude and latitude corresponding to the center of the circle.
  • the distance between the location and the current location of the second client, if the macro is less than or equal to the preset radius length, the message is within the geographic location.
  • the server sends the message to the second client to cause the second client to display the message.
  • the second client may specifically display the specific content of the message, the content of the other client's comment on the message, and the like, which is not limited in this embodiment.
  • the second client can also display the message abbreviatedly, for example, only the summary information corresponding to the message is displayed, and then the second client can further specifically display the specific content of the message, the comment content for the message, etc. according to the user's selection. .
  • the second client can perform further operations on the displayed message, such as replying to the message, sending a private message to the device that sent the message, and the like.
  • the reply to the message will be stored with the message in association with the server and may be visible to all other clients.
  • Second customer The terminal may also choose to send a private message that is invisible to other clients to the first client, which may be implemented, for example, by the server establishing a private session between the first client and the second client.
  • the second client may also obtain geographic layer information, where the geographic layer information may specifically include map information related to the traffic route, the building, the street, and the like, so that the second client can display the information more intuitively on the map. Fan news.
  • geographic layer information may specifically include map information related to the traffic route, the building, the street, and the like, so that the second client can display the information more intuitively on the map. Fan news.
  • the message published by the client is not related to the geographical location of the client, and the existing instant messaging platform requires the user to perform identity authentication before the information is exchanged.
  • the geographical location is associated with the problem, and the problem that the client cannot obtain the message in the specified geographic location in real time through the existing instant messaging mode is solved, and the real-time communication based on the geographical location is realized, and at the same time, there is no application registration in the embodiment of the present invention.
  • the process of identity authentication so as to avoid the leakage of registration information and identity information when users interact with information, and improve the security of instant messaging.
  • the second embodiment of the present invention provides another communication method. As shown in FIG. 2, the method includes: 201.
  • a server receives a message sent by a first client.
  • the message may be specifically a text, a picture, a video, etc., which is not limited in this embodiment.
  • the server acquires geographic location information of the message, and saves the message and the geographic location information of the message in an associated manner in a database.
  • the location information of the message is the location where the first client sends the message, and the location information of the message may be the longitude and latitude of the first client, that is, the first client sends The longitude and latitude of the location at which the message was made.
  • the server can also obtain the release time information of the message, and then according to the cancellation
  • the geographical location information of the information and the release time information of the message generate an identifier of the message
  • the server saves the identifier of the message and the message in an associated manner in the database.
  • the identifier of the message may further include a category of the message, and the category of the message may include a newly-published message, a reply to the existing message, a news-type message, a help-type message, and the like, which are not limited in this embodiment. It can be seen that, in this embodiment, different clients of the message can be distinguished by different identifiers of the message, instead of distinguishing different clients by using the registration information and the identity information of the user, thereby ensuring the communication process. safety.
  • the server receives a message acquisition request sent by the second client.
  • the message obtaining request includes a geographical location range configured by the second client.
  • the geographical location of the second client is a geographical location that is a reference point of the location of the second client, and the geographic location may be a geometric shape formed by the current geographic location of the client, for example, if The geographic location is a circle, and the client can use the current geographic location, that is, the center of the circle, and the radius of the circle.
  • the server sends the message to the second client.
  • the server sends the message to the second client to cause the second client to display the message.
  • the second client may specifically display the specific content of the message, the content of the other client's comment on the message, and the like, which is not limited in this embodiment.
  • the second client can also display the message abbreviatedly, for example, only the summary information corresponding to the message is displayed, and then the second client can further specifically display the specific content of the message, the comment content for the message, etc. according to the user's selection. .
  • the second client can perform further operations on the displayed message, such as replying to the message, sending a private message to the device that sent the message, and the like. Wherein, a reply to the message will be stored with the message in association with the server and may be visible to all other clients.
  • the second client may also choose to send a private message that is not visible to other clients to the first client, which may be implemented, for example, by the server establishing a private session between the first client and the second client.
  • the server obtains, from the database, a message in the geographic location range.
  • the server may calculate the distance between the location of any one message and the current location of the second client according to the longitude and latitude corresponding to any one of the messages in the database and the longitude and latitude of the current location of the second client, and then obtain the satisfaction.
  • the message whose distance is less than or equal to the preset distance is used as a message within the geographic location.
  • the center of the circle is the current location of the second client
  • the server may calculate any message according to the longitude and latitude corresponding to any message in the database and the longitude and latitude corresponding to the center of the circle.
  • the distance between the location and the current location of the second client is then obtained as a message within the geographic location range with a message having a distance from the center of the circle that is less than or equal to the preset radius.
  • the server determines that the number of messages in the geographical location range is greater than the preset display quantity, the number of preset displays and the like are obtained from messages in the geographical location range in reverse order of the message publishing time. Or, if the server determines that the number of messages in the geographical location range is less than the preset display quantity, sending, to the second client, prompt information, where the prompt information is used to prompt the
  • the second client expands the geographic location range. For example, if the geographic location range is circular, the second client can expand the geographic location by increasing the length of the radius.
  • the display area of the client is limited, so when the message in the geographic location is displayed, the upper limit of the number of displayed messages, that is, the preset display quantity, is usually configured.
  • the number of preset displays can be specific
  • the configuration is not limited by the configuration of the display area of the client and the display requirement of the user.
  • the server may also filter the messages displayed in the geographical location according to the order of the publishing time, thereby ensuring that the message displayed by the client is the latest published message, and , to ensure that the number of messages in the obtained geographical range does not exceed the preset display quantity.
  • the server sends a message in the geographical location to the second client, so that the second client displays the message.
  • the client finds that a certain message is a malicious message, the client reports the alarm information of the identifier carrying the message to the server, and the server determines the number of alarms of the identifier of the message.
  • the number of preset alarms is greater than or equal to the number of preset alarms, the message is deleted from the database, and any message sent by the client corresponding to the message is masked, thereby further improving the security of the communication process.
  • the message published by the client is not related to the geographical location of the client, and the existing instant messaging platform requires the user to perform identity authentication before the information is exchanged.
  • the geographical location is associated with the problem, and the problem that the client cannot obtain the message in the specified geographic location in real time through the existing instant messaging mode is solved, and the real-time communication based on the geographical location is realized, and at the same time, there is no application registration in the embodiment of the present invention.
  • the process of identity authentication so as to avoid the leakage of registration information and identity information when users interact with information, and improve the security of instant messaging.
  • the third embodiment of the present invention provides another communication method. As shown in FIG. 3, the method includes: 301.
  • a client sends a message to a server. Further, the first client sends a message to the server to cause the server to acquire the geographical location information of the message, and save the message and the geographical location information of the message in an associated manner in the database.
  • the message may be specifically a text, a picture, a video, etc., which is not limited in this embodiment.
  • the location information of the message is the location where the first client sends the message, and the location information of the message may be the longitude and latitude corresponding to the first client, that is, the first client sends the message.
  • the longitude and temperature of the location is the location where the first client sends the message.
  • the second client sends a message acquisition request to the server.
  • the message obtaining request includes a geographical location range configured by the second client.
  • the geographic location of the second client is a geographic location that is based on the location of the second client.
  • the geographic location may be a geometric shape centered on the current geographic location of the client. For example, If the geographic location is a circle, the client can use the current geographic location, that is, the center of the circle, and the radius of the circle to be the range of the geographic location. This embodiment is not limited.
  • the second client receives the message sent by the server.
  • the second client displays the message.
  • the second client may specifically display the specific content of the message, the content of the other client's comment on the message, and the like, which is not limited in this embodiment.
  • the second client can also display the message abbreviatedly, for example, displaying the summary information corresponding to the message, and then the second client can further specifically display the specific content corresponding to the message, the comment content for the message, etc. according to the user's selection. .
  • the second client can perform further operations on the displayed message, such as replying to the message. Send a private message to the device that sent the message, and so on. Wherein, a reply to the message will be stored with the message in association with the server and may be visible to all other clients.
  • the second client may also choose to send a private message that is invisible to other people to the first client, which may be implemented, for example, by the server establishing a private session between the first client and the second client.
  • the second client may also obtain geographic layer information, where the geographic layer information may specifically include map information related to the traffic route, the building, the street, and the like, so that the second client can display the information more intuitively on the map. Said the news.
  • the communication method provided by the third embodiment of the present invention and the communication method in the existing instant messaging platform (wherein the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform needs the user to perform Compared with the geographical location of the client, the client can not obtain the message in the specified geographic location in real time through the existing instant messaging mode.
  • the problem is that the location-based instant messaging is implemented.
  • there is no process of applying for registration and identity authentication in the embodiment of the present invention thereby avoiding the problem that the registration information and the identity information are leaked when the user performs information interaction, thereby improving the instant.
  • the security of the communication method is not be used to improve the communication method.
  • a fourth embodiment of the present invention provides another communication method. As shown in FIG. 4, the method includes:
  • the first client sends a message to the server.
  • the first client sends a message to the server to cause the server to acquire the geographical location information of the message, and save the message and the geographical location information of the message in an associated manner in the database.
  • the second client sends a message acquisition request to the server.
  • the message obtaining request includes a geographical location range configured by the second client.
  • the geographic location range of the second client configuration is a geographical location range with the location of the second client as a reference point, and the geographic location range may specifically be a geometric shape formed by the current geographic location of the client, for example, if the geographic location
  • the location range is a circle, and the client can use the current geographic location, that is, the center of the circle, and the length of the radius of the circle, as the range of the geographic location, which is not limited in this embodiment.
  • the server sends the message to the second client.
  • the second client may specifically display the specific content of the message, the content of the other client's comment on the message, and the like, which is not limited in this embodiment.
  • the second client can also display the message in abbreviated manner, for example, display the summary information corresponding to the message, and then the second client can further specifically display the specific content corresponding to the message, the comment content for the message, etc. according to the user's selection. .
  • the second client can perform further operations on the displayed message, such as replying to the message, sending a private message to the device that sent the message, and the like.
  • a reply to the message will be stored with the message in association with the server and may be visible to all other clients.
  • the second client may also choose to send a private message that is invisible to other users to the first client, which may be implemented, for example, by establishing a private session between the first client and the second client.
  • the second client may also obtain geographic layer information, where the geographic layer information may specifically include map information related to the traffic route, the building, the street, and the like, so that the second client can display the information more intuitively on the map. Said the news.
  • the prompt information is used to prompt the client to expand the geographical location range, for example, If the geographical range is circular, the second client can expand the geographic range by increasing the length of the radius.
  • the second client receives a message in the geographic location range sent by the server, where the message in the geographic location range is obtained by the server from the database.
  • the second client displays the message or a message within the geographic location.
  • the second client finds that the message is a malicious message, the second client reports the alarm information of the identifier carrying the message to the server, and the server determines the identifier of the message.
  • the server determines the identifier of the message.
  • the communication method provided by the fourth embodiment of the present invention and the communication method in the existing instant messaging platform (wherein, the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform needs the user to perform Compared with the geographical location of the client, the client can not obtain the message in the specified geographic location in real time through the existing instant messaging mode.
  • the problem is that the location-based instant messaging is implemented.
  • the process of applying for registration and identity authentication does not exist in the embodiment of the present invention, thereby avoiding the problem that the registration information and the identity information are leaked when the user performs information interaction, and the instant is improved.
  • the security of the communication method is provided by the fourth embodiment of the present invention and the communication method in the existing instant messaging platform (wherein, the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform needs the user to perform Compared with the geographical location of the client, the client can not obtain the message in the specified geographic location in real time through the existing instant messaging mode.
  • the problem is that the location
  • an embodiment of the present invention provides a server.
  • the server includes: a receiving unit 51, an obtaining unit 52, a saving unit 53, Transmitting unit 54.
  • the receiving unit 51 can be configured to receive a message sent by the first client.
  • the obtaining unit 52 may be configured to obtain geographic location information of the message received by the receiving unit 51, where the geographic location information of the message is a location where the first client sends the message.
  • the saving unit 53 can be configured to store the received message received by the receiving unit 51 and the geographical location information of the message acquired by the obtaining unit 52 in an associated manner in a database.
  • the receiving unit 51 is further configured to receive a message acquisition request sent by the second client, where the message acquisition request includes a geographical location range configured by the second client.
  • the sending unit 54 may be configured to send, when the geographic location information of the message is within the geographic location range, a message received by the receiving unit 51 to the second client, so that the second client displays the location Said the news.
  • the server includes: a receiving unit 61, a capturing unit 62, The saving unit 63, the transmitting unit 64, the generating unit 65, and the deleting unit 66.
  • the receiving unit 61 can be configured to receive a message sent by the first client.
  • the obtaining unit 62 may be configured to obtain geographical location information of the message received by the receiving unit 61, where the geographic location information of the message is a location where the first client sends the message.
  • Holding unit 63 may be used for the message received by the receiving unit 61 and the acquisition unit 62 acquires the message location information associatively stored in the database.
  • the receiving unit 61 is further configured to receive a message obtaining request sent by the second client, where the message obtaining request includes a geographical location range configured by the second client.
  • the sending unit 64 may be configured to send, when the geographic location information of the message is within the geographic location range, a message received by the receiving unit 61 to the second client, so that the second client displays the location Said the news.
  • the obtaining unit 62 is further configured to obtain, from the database, a message within the geographic location range.
  • the sending unit 64 is further configured to send the message in the geographical location range acquired by the obtaining unit 62 to the second client, so that the second client displays the message.
  • the obtaining unit 62 is further configured to obtain geographic location information of the message and release time information of the message.
  • the identification of the message is generated with the release time information of the message.
  • the saving unit 63 can also be configured to store the message and the identifier of the message in an associated manner in the library.
  • the obtaining unit 62 may be further configured to: if the number of messages in the geographical location range is greater than the preset display quantity, obtain the preset display quantity, etc. from the message in the geographical location range in reverse order of the message publishing time. The amount of news.
  • the sending unit 64 is further configured to send, to the second client, prompt information, where the number of messages in the geographic location range is smaller than the preset display quantity, where the prompt information is used to prompt the second client Expand the geographic location.
  • the receiving unit 61 is further configured to receive the alarm information sent by the second client, where the alarm information carries an identifier of the message.
  • the deleting unit 66 may be configured to delete the message if the number of alarms of the identifier of the message is greater than or equal to the preset number of alarms, and block the message sent by the client corresponding to the message.
  • the server provided by the embodiment of the invention and the server in the existing instant messaging platform (where the client The message published by the terminal is not related to the geographical location of the client, and the existing instant messaging platform requires the user to perform identity authentication before the information is exchanged.
  • the existing instant messaging platform requires the user to perform identity authentication before the information is exchanged.
  • the association is solved, and the problem that the client cannot obtain the message in the specified geographical location in real time through the existing instant messaging mode is solved, and the real-time communication based on the geographical location is realized, and at the same time, the application registration and the body do not exist in the embodiment of the present invention.
  • the process of human authentication thereby avoiding the problem of leakage of registration information and identity information when users interact with information, and improving the security of instant messaging.
  • an embodiment of the present invention provides a client.
  • the client includes: a sending unit 71, a receiving unit 72, and a display. Unit 73.
  • the sending unit 71 may be configured to send a message to the server, so that the server acquires geographical location information of the message, and saves the message and the geographical location information of the message in an associated manner in a database, where the message
  • the geographic location information is the location where the client sent the message.
  • the sending unit 71 is further configured to send a message acquisition request to the server, where the message acquisition request includes a configured geographic location range.
  • the receiving unit 72 can be configured to receive a message sent from the server, the message being sent by the other client to the server and stored by the server in association with the geographic location information of the other client. And the message is sent by the server to the client only when the geographical location information of the other client is within the geographical range configured by the client.
  • the display unit 73 can be used to display the message received by the receiving unit 72.
  • the receiving unit 72 is further configured to receive a message in the geographic location range sent by the server, where the message in the geographic location range is obtained by the server from the database.
  • the receiving unit 72 may be further configured to: if the server determines that the number of messages in the geographic location range is less than the preset display quantity, receive the prompt information sent by the server, where the prompt information is used to prompt to expand the geographic location range. .
  • the sending unit 71 is further configured to send the alarm information to the server, so that the server deletes the message that the number of alarms is greater than or equal to the preset number of alarms, and blocks the message sent by the client corresponding to the message, where
  • the alarm information carries the identifier of the message.
  • the message is not related to the geographic location of the client, and the existing instant messaging platform requires the user to authenticate the identity before the information is exchanged.
  • the client By comparing the message posted by the client with the geographic location of the client.
  • the problem that the client can not obtain the message in the specified geographical location in real time through the existing instant messaging mode, and realizes the real-time communication based on the geographical location, and the process of applying for registration and identity authentication does not exist in the embodiment of the present invention.
  • the security of the instant messaging method is improved.
  • the embodiment of the present invention provides a communication system.
  • the system may include the server of the embodiment shown in FIG. 5 and FIG. 6, and at least one client of the embodiment shown in FIG.
  • the structure of the server and the client can be referred to the related description of the above embodiment, and will not be described here.
  • the communication system provided by the embodiment of the present invention is related to the communication system in the existing instant messaging platform (where the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform requires the user to perform information interaction.
  • the client is resolved by the existing instant messaging method by associating the message posted by the client with the geographical location of the client.
  • the method of obtaining the message in the specified geographic location in real time, realizing the geolocation-based instant communication, and the process of applying for registration and identity authentication does not exist in the embodiment of the present invention, thereby avoiding the user interacting with the information.
  • the issue of registration information and identity information disclosure has improved the security of instant messaging.
  • the communication system, the server, and the client provided by the embodiment of the present invention may implement the foregoing method.
  • the communication method, system, server and client provided by the embodiments of the present invention can be applied to the field of information technology, but are not limited thereto.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Disclosed are a communication method and system, a server and a client, which relate to the field of information technology, achieve instant communication based on a geographic location and improve the security of an instant communication manner at the same time. The method comprises: firstly, a server receiving a message sent by a first client; then the server acquiring geographic location information about the message and storing the message and the geographic location information about the message in a database in an association manner; finally, the server receiving a message acquisition request sent by a second client; and if the geographic location information about the message is within the range of a geographic location configured in the message acquisition request, the server sending the message to the second client.

Description

通讯方法、 系统、 服务器及客户端 技术领域  Communication method, system, server and client
本发明涉及信息技术领域, 特别涉及一种通讯方法、 系统、 服务器及客户 。 背景技术  The present invention relates to the field of information technology, and in particular, to a communication method, system, server, and client. Background technique
即时通讯是一种基于互联网的即时交流消息的方式, 即时通讯允许两人或 多人使用网络即时地传递文字信息、 文件、 图片等等, 并支持语音与视频交流。 即时通讯中的群功能可以允许,多人同时在线交流。 通过一个固定的群标识, 将 一组用户固定在一起, 用户可以相互之间直接进行群组交流, 不受时间和地域 的限制。  Instant messaging is an Internet-based way to exchange messages in real time. Instant messaging allows two or more people to use the network to instantly deliver text messages, files, pictures, etc., and supports voice and video communication. The group function in instant messaging allows multiple people to communicate online at the same time. By fixing a group of users together through a fixed group identity, users can directly communicate with each other without time and geographical restrictions.
目前即时通讯主要是通过群、 微信、 微博等即时通讯平台来实现。 然而由 于现有即时通讯平台中客户端发布的消息与客户端所在的地理位置没有相关 性, 造成通过现有即时通讯方式客户端无法实时获取到指定地理位置范围内的 消息; 并且现有即时通讯平台需要用户在发布消息前, 进行申请注册和身份认 证, 从而使得用户在进行信息交互时, 注册信息和身份信息存在泄露的风险, 造成现有即时通讯方式的安全性较低。 此外, 有些情况下, 用户在进入某一特 定场所(例如一大型商场)后仅仅想与指定地理位置范围内的其他用户交流(例 如, 与同在该商场内的其他用户交流信息,比如打折信息、最新产品信息等等), 但又不希望在这种临时性的交流中暴露用户自身的真实姓名或网名 (即, 用户 想要匿名交流)。 显然, 目前的即时通讯平台无法提供这种服务。 发明内容 At present, instant messaging is mainly implemented through instant messaging platforms such as group, WeChat, and Weibo. However, since the message published by the client in the existing instant messaging platform is not related to the geographical location of the client, the client cannot obtain the message within the specified geographical location in real time through the existing instant messaging mode; and the existing instant messaging The platform requires the user to apply for registration and identity authentication before the message is published, so that when the user interacts with the information, the registration information and the identity information are at risk of being leaked, resulting in low security of the existing instant messaging method. In addition, in some cases, after entering a specific location (such as a large shopping mall), the user only wants to communicate with other users in the specified geographic location (for example, to exchange information with other users in the mall, such as discount information). , the latest product information, etc.), but do not want to expose the user's own real name or screen name in this temporary communication (ie, the user wants to communicate anonymously). Obviously, the current instant messaging platform cannot provide such a service. Summary of the invention
本发明提供一种通讯方法、 系统、 服务器及客户端, 实现了基于地理位置 的即时通讯, 同时, 提升了现有即时通讯方式的安全性。  The invention provides a communication method, a system, a server and a client, and realizes real-time communication based on geographical location, and at the same time, improves the security of the existing instant communication method.
本发明实施例采用的技术方案为:  The technical solution adopted by the embodiment of the present invention is:
本发明笫一方面提供一种通讯方法, 包括: 服务器接收笫一客户端发送的消息; 所述服务器获取所述消息的地理位置信息, 并将所述消息和所述消息的地 理位置信息以关联方式保存在数据库中, 所述消息的地理位置信息为所述第一 客户端发送所述消息时所在的位置; 所述服务器接收第二客户端发送的消息获取请求, 所述消息获取请求包括 所述第二客户端配置的地理位置范围;  The present invention provides a communication method, including: receiving, by a server, a message sent by a client; the server acquiring geographic location information of the message, and associating the message with geographic location information of the message The method is saved in a database, where the geographical location information of the message is a location where the first client sends the message; the server receives a message acquisition request sent by the second client, where the message obtaining request includes Describe the geographical location of the second client configuration;
若所述消息的地理位置信息在所述地理位置范围内, 所述服务器将所述消 息发送给所述第二客户端, 以使得所述第二客户端显示所述消息。  If the geographic location information of the message is within the geographic location range, the server sends the message to the second client to cause the second client to display the message.
本发明第二方面提供另一种通讯方法, 包括: 第一客户端向服务器发送消息, 以使得所述服务器获取所述消息的地理位 置信息, 并将所述消息和所述消息的地理位置信息以关联方式保存在数据库中, 所述消息的地理位置信息为所述第一客户端发送所述消息时所在的位置;  A second aspect of the present invention provides another communication method, including: a first client sending a message to a server, so that the server acquires geographic location information of the message, and the location information of the message and the message And being stored in the database in an association manner, where the geographical location information of the message is a location where the first client sends the message;
第二客户端向所述服务器发送消息获取请求, 所述消息获取请求包括所述 第二客户端配置的地理位置范围; 若所述消息的地理位置信息在所述地理位置范围内, 则所述第二客户端接 收所述服务器发送的所述消息, 并显示所述消息。 本发明第三方面提供一种服务器, 包括:  The second client sends a message acquisition request to the server, where the message acquisition request includes a geographical location range configured by the second client; if the geographic location information of the message is within the geographic location range, The second client receives the message sent by the server and displays the message. A third aspect of the present invention provides a server, including:
接收单元, 用于接收第一客户端发送的消息; 获取单元, 用于获取所述接收单元接收的所述消息的地理位置信息, 所述 消息的地理位置信息为所述第一客户端发送所述消息时所在的位置; 保存单元, 用于将所述接收单元接收的所述消息和所述获取单元获取的所 述消息的地理位置信息以关联方式保存在数据库中; 所述接收单元还用于接收第二客户端发送的消息获取请求, 所述消息获取 请求包括所迷第二客户端配置的地理位置范围; a receiving unit, configured to receive a message sent by the first client; An obtaining unit, configured to acquire geographic location information of the message received by the receiving unit, where the geographic location information of the message is a location where the first client sends the message, and a saving unit, where And the receiving unit is further configured to receive the message acquiring request sent by the second client, where the message received by the receiving unit and the geographic location information of the message obtained by the acquiring unit are stored in an association manner, where The message acquisition request includes a geographical location range of the second client configuration;
发送单元用于若所述消息的地理位置信息在所述地理位置范围内, 将所述 接收单元接收的消息发送给所述第二客户端, 以使得所述第二客户端显示所述 消息。  And sending, by the sending unit, the message received by the receiving unit to the second client, if the geographic location information of the message is within the geographical location, so that the second client displays the message.
本发明第四方面提供一种客户端, 包括: 发送单元, 用于向服务器发送消息获取请求, 所述消息获取请求包括配置 的地理位置范围; 接收单元, 用于接收从所述服务器发送来的消息, 所述消息是从另一客户 端向所述服务器发送的且被所述服务器以关联方式与所述另一客户端的地理位 置信息存储在一起, 并且所述消息仅当所述另一客户端的地理位置信息在所述 地理位置范围内时才被所述服务器发送; 显示单元, 用于显示所述接收单元接收的所述消息。  A fourth aspect of the present invention provides a client, including: a sending unit, configured to send a message obtaining request to a server, where the message obtaining request includes a configured geographical location range, and a receiving unit, configured to receive the sent from the server a message sent from another client to the server and stored by the server in association with the geographic location information of the other client, and the message is only for the other client The location information of the terminal is sent by the server when the geographical location is within the geographical range; the display unit is configured to display the message received by the receiving unit.
本发明第五方面提供一种通讯系统, 包括上述第三方面提供的服务器和至 少一个上述第四方面提供的客户端。 本发明提供的通讯方法、 系统、服务器及客户端, 与现有即时通讯平台(其 中客户端发布的消息与客户端所在的地理位置没有相关性, 并且现有即时通讯 平台需要用户在进行信息交互前, 进行身份认证)相比, 本发明中服务器首先 接收第一客户端发送的消息, 然后服务器获取所述消息的地理位置信息, 并将 所述消息和所述消息的地理位置信息以关联方式保存在数据库中, 最后月 务器 接收第二客户端发送的消息获取请求, 若所述消息的地理位置信息在所述消息 获取请求中配置的地理位置范围内, 服务器将所述消息发送给所述第二客户端, 从而通过将客户端发布的消息与客户端所在的地理位置进行关联, 解决了通过 现有即时通讯方式客户端无法实时获取到指定地理位置范围内的消息的问题, 实现了基于地理位置的即时通讯, 同时, 本发明中不存在申请注册和身份认证 的过程, 从而避免出现用户在进行信息交互时, 注册信息和身份信息泄露的问 题, 提升了即时通讯方式的安全性。 附图说明 A fifth aspect of the present invention provides a communication system, comprising the server provided by the above third aspect and at least one client provided by the above fourth aspect. The communication method, system, server and client provided by the invention and the existing instant messaging platform (where the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform requires the user to perform information interaction In the present invention, the server first receives the message sent by the first client, and then the server obtains the geographical location information of the message, and The message and the geographical location information of the message are stored in the database in an associated manner, and finally the server receives the message acquisition request sent by the second client, if the geographic location information of the message is configured in the message acquisition request Within the geographical location, the server sends the message to the second client, thereby associating the message published by the client with the geographical location of the client, thereby solving the problem that the client cannot be real-time through the existing instant messaging mode. The problem of obtaining a message within a specified geographic location enables real-time communication based on geographic location. At the same time, there is no process of applying for registration and identity authentication in the present invention, thereby avoiding registration information and identity when the user interacts with the information. The problem of information leakage has improved the security of instant messaging. DRAWINGS
为了更清楚地说明本发明实施例中的技术方案 , 下面将对实施例或现有技 术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅 仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳 动的前提下, 还可以根据这些附图获得其它的附图。  In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. It is obvious that the drawings in the following description are only the present invention. For some embodiments, other drawings may be obtained from those of ordinary skill in the art without departing from the drawings.
图 1为本发明实施例提供的一种通讯方法流程图;  FIG. 1 is a flowchart of a communication method according to an embodiment of the present invention;
图 2为本发明实施例提供的另一种通讯方法流程图;  2 is a flowchart of another communication method according to an embodiment of the present invention;
图 3为本发明实施例提供的又一种通讯方法流程图;  FIG. 3 is a flowchart of still another communication method according to an embodiment of the present invention;
图 4为本发明实施例提供的又一种通讯方法流程图;  4 is a flowchart of still another communication method according to an embodiment of the present invention;
图 5为本发明实施例提供的一种服务器的结构示意图;  FIG. 5 is a schematic structural diagram of a server according to an embodiment of the present disclosure;
图 6为本发明实施例提供的另一种服务器的结构示意图;  FIG. 6 is a schematic structural diagram of another server according to an embodiment of the present disclosure;
图 7为本发明实施例提供的一种客户端的结构示意图;  FIG. 7 is a schematic structural diagram of a client according to an embodiment of the present disclosure;
图 8为本发明实施例提供的通讯系统结构示意图。 具体实施方式 FIG. 8 is a schematic structural diagram of a communication system according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明的部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其它实施例, _都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only partial embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without creative efforts shall be made available, _ fall within the scope of the present invention.
为使本发明技术方案的优点更加清楚, 下面结合附图和实施例对本发明作 详细说明。  In order to make the advantages of the technical solutions of the present invention clearer, the present invention will be described in detail below with reference to the accompanying drawings and embodiments.
本发明第一实施例提供一种通讯方法, 如图 1所示, 所述方法包括: 101、 服务器接收第一客户端发送的消息。  A first embodiment of the present invention provides a communication method. As shown in FIG. 1, the method includes: 101. A server receives a message sent by a first client.
其中, 所述消息具体可以为文字、 图片、 视频等, 本实施例不做限定。 The message may be a text, a picture, a video, or the like, which is not limited in this embodiment.
102、 服务器获取所述消息的地理位置信息, 并将所述消息和所迷消息的地 理位置信息以关联方式保存在数据库中。 102. The server acquires geographic location information of the message, and saves the geographic location information of the message and the message in an associated manner in a database.
其中, 所述消息的地理位置信息为所述第一客户端发送所述消息时所在的 位置, 消息的地理位置信息具体可以为该第一客户端对应的经度和纬度, 即第 一客户端发送该消息时所在位置的经度和纬度。 该地理位置信息可以以任何格 式被所述消息携带。 而且所述服务器可以以任何方式分析并获取所述消息的地 理位置信息。 本发明对此不做限定。  The location information of the message is the location where the first client sends the message, and the location information of the message may be the longitude and latitude of the first client, that is, the first client sends The longitude and latitude of the location at which the message was made. The geographic location information can be carried by the message in any format. Moreover, the server can analyze and obtain the geographic location information of the message in any manner. The invention is not limited thereto.
103、 服务器接收第二客户端发送的消息获取请求。  103. The server receives a message acquisition request sent by the second client.
其中, 所述消息获取请求包括第二客户端配置的地理位置范围。 所述第二 客户端配置的地理位置范围是以所述第二客户端的位置为参照点的地理位置范 围, 地理位置范围具体可以为以客户端当前地理位置为中心形成的几何图形, 例如, 如果地理位置范围为一个圆形, 则客户端可以通过当前所在的地理位置, 即圆心, 以及配置该圓形的半径长度, 作为所述地理位置范围, 本实施例不做 限定。 The message obtaining request includes a geographical location range configured by the second client. The geographical location of the second client is a geographic location that is based on the location of the second client, and the geographic location may be a geometric shape formed by the current geographic location of the client. For example, if the geographic location is a circle, the client may use the current geographic location, that is, the center of the circle, and the radius of the circle, as the range of the geographic location, which is not limited in this embodiment.
104、 若所述消息的地理位置信息在所述地理位置范围内, 所述服务器将所 述消息发送给所述第二客户端。  104. If the geographic location information of the message is within the geographic location range, the server sends the message to the second client.
具体地, 服务器可以根据第一客户端发送的消息对应的经度和纬度和第二 客户端当前位置的经度和纬度, 计算出所述消息所在位置与第二客户端当前位 置之间的距离, 若所述距离小于或等于预设距离, 则所述消息的地理位置信息 在所述地理位置范围内。 例如, 以地理位置范围为圆形为例, 圆心为第二客户 端当前所在位置, 服务器具体可以根据第一客户端发送的消息对应的经度和纬 度和圓心对应的经度和纬度, 计算出该消息的位置与第二客户端当前位置之间 的距离, 若所^巨离小于或者等于预置半径长度, 则所述消息在所述地理位置 范围内。  Specifically, the server may calculate the distance between the location of the message and the current location of the second client according to the longitude and latitude corresponding to the message sent by the first client and the longitude and latitude of the current location of the second client. The distance is less than or equal to the preset distance, and the geographic location information of the message is within the geographic location. For example, taking the geographical location as a circle as an example, the center of the circle is the current location of the second client, and the server may calculate the message according to the longitude and latitude corresponding to the message sent by the first client and the longitude and latitude corresponding to the center of the circle. The distance between the location and the current location of the second client, if the macro is less than or equal to the preset radius length, the message is within the geographic location.
进一步地, 所述服务器将所述消息发送给所述第二客户端以使得所述第二 客户端显示所述消息。  Further, the server sends the message to the second client to cause the second client to display the message.
其中, 笫二客户端具体可以显示消息的具体内容、 其他客户端对该消息的 评论内容等, 本实施例不做限定。 第二客户端也可以对消息进行缩略显示, 例 如只显示该消息对应的概要信息, 然后第二客户端可以根据用户的选择来进一 步具体显示该消息的具体内容、 针对该消息的评论内容等。  The second client may specifically display the specific content of the message, the content of the other client's comment on the message, and the like, which is not limited in this embodiment. The second client can also display the message abbreviatedly, for example, only the summary information corresponding to the message is displayed, and then the second client can further specifically display the specific content of the message, the comment content for the message, etc. according to the user's selection. .
此外, 笫二客户端可以对所显示的消息进行进一步的操作, 如回复该消息, 对发送该消息的设备发送私人消息等等。 其中, 对于该消息的回复将与该消息 一起被所迷服务器关联存储, 并且可以是对所有其他客户端可见的。 第二客户 端也可以选择向笫一客户端发送其他人不可见的私人消息, 这例如可以通过服 务器建立所述第一客户端与所述第二客户端的私人会话来实现。 In addition, the second client can perform further operations on the displayed message, such as replying to the message, sending a private message to the device that sent the message, and the like. Wherein, the reply to the message will be stored with the message in association with the server and may be visible to all other clients. Second customer The terminal may also choose to send a private message that is invisible to other clients to the first client, which may be implemented, for example, by the server establishing a private session between the first client and the second client.
可选地, 第二客户端还可以获取地理图层信息, 地理图层信息具体可以包 括交通路线、 建筑、 街道等地图显示相关信息, 从而使得第二客户端可以在地 图上更加直观地显示所迷消息。  Optionally, the second client may also obtain geographic layer information, where the geographic layer information may specifically include map information related to the traffic route, the building, the street, and the like, so that the second client can display the information more intuitively on the map. Fan news.
(其中客户端发布的消息与客户端所在的地理位置没有相关性, 并且现有即时 通讯平台需要用户在进行信息交互前, 进行身份认证)相比, 通过将客户端发 布的消息与客户端所在的地理位置进行关联, 解决了通过现有即时通讯方式客 户端无法实时获取到指定地理位置范围内的消息的问题, 实现了基于地理位置 的即时通讯, 同时, 本发明实施例中不存在申请注册和身份认证的过程, 从而 避免出现用户在进行信息交互时, 注册信息和身份信息泄露的问题, 提升了即 时通讯方式的安全性。 (The message published by the client is not related to the geographical location of the client, and the existing instant messaging platform requires the user to perform identity authentication before the information is exchanged.) By comparing the message posted by the client with the client. The geographical location is associated with the problem, and the problem that the client cannot obtain the message in the specified geographic location in real time through the existing instant messaging mode is solved, and the real-time communication based on the geographical location is realized, and at the same time, there is no application registration in the embodiment of the present invention. And the process of identity authentication, so as to avoid the leakage of registration information and identity information when users interact with information, and improve the security of instant messaging.
本发明第二实施例提供另一种通讯方法, 如图 2所示, 所述方法包括: 201、 服务器接收第一客户端发送的消息。  The second embodiment of the present invention provides another communication method. As shown in FIG. 2, the method includes: 201. A server receives a message sent by a first client.
其中, 所述消息具体可以为文字、 图片、 视频等, 本实施例不^限定。 202、 服务器获取所述消息的地理位置信息, 并将所述消息和所述消息的地 理位置信息以关联方式保存在数据库中。  The message may be specifically a text, a picture, a video, etc., which is not limited in this embodiment. 202. The server acquires geographic location information of the message, and saves the message and the geographic location information of the message in an associated manner in a database.
其中, 所述消息的地理位置信息为所述笫一客户端发送所述消息时所在的 位置, 消息的地理位置信息具体可以为该第一客户端对应的经度和纬度, 即第 一客户端发送该消息时所在位置的经度和纬度。  The location information of the message is the location where the first client sends the message, and the location information of the message may be the longitude and latitude of the first client, that is, the first client sends The longitude and latitude of the location at which the message was made.
另外, 所迷服务器还可以获取所述消息的发布时间信息, 然后根据所述消 息的地理位置信息和所述消息的发布时间信息生成所述消息的标识, 最后所述 服务器将所述消息和所述消息的标识以关联方式保存在所述数据库中。 其中, 消息的标识还可以包括消息的类别, 消息的类别具体可以包括新发布的消息、 对已有消息的回复、 新闻类消息、 求助类消息等, 本实施例不做限定。 可以看 出, 本实施例可以通过不同消息的标识, 对消息以^ ^送消息的不同客户端进 行区分, 而不是通过用户的注册信息和身份信息进行不同客户端的区分, 从而 保证了通讯过程的安全性。 In addition, the server can also obtain the release time information of the message, and then according to the cancellation The geographical location information of the information and the release time information of the message generate an identifier of the message, and finally the server saves the identifier of the message and the message in an associated manner in the database. The identifier of the message may further include a category of the message, and the category of the message may include a newly-published message, a reply to the existing message, a news-type message, a help-type message, and the like, which are not limited in this embodiment. It can be seen that, in this embodiment, different clients of the message can be distinguished by different identifiers of the message, instead of distinguishing different clients by using the registration information and the identity information of the user, thereby ensuring the communication process. safety.
203、 服务器接收第二客户端发送的消息获取请求。  203. The server receives a message acquisition request sent by the second client.
其中, 所述消息获取请求包括第二客户端配置的地理位置范围。 所述第二 客户端配置的地理位置范围是以所述第二客户端的位置为参照点的地理位置范 围 , 地理位置范围具体可以为以客户端当前地理位置为中心形成的几何图形, 例如, 如果地理位置范围为一个圆形, 则客户端可以通过当前所在的地理位置, 即圆心, 以及配置该圆形的半径长度, 作为所述地理位置范围, 本实施例不做 限定。  The message obtaining request includes a geographical location range configured by the second client. The geographical location of the second client is a geographical location that is a reference point of the location of the second client, and the geographic location may be a geometric shape formed by the current geographic location of the client, for example, if The geographic location is a circle, and the client can use the current geographic location, that is, the center of the circle, and the radius of the circle.
204a , 若所述消息的地理位置信息在所述地理位置范围内, 所述月艮务器将 所述消息发送给所述第二客户端。  204a. If the geographic location information of the message is within the geographic location range, the server sends the message to the second client.
进一步地, 所述服务器将所述消息发送给所述第二客户端以使得所述第二 客户端显示所述消息。  Further, the server sends the message to the second client to cause the second client to display the message.
其中, 第二客户端具体可以显示消息的具体内容、 其他客户端对该消息的 评论内容等, 本实施例不做限定。 第二客户端也可以对消息进行缩略显示, 例 如只显示该消息对应的概要信息, 然后第二客户端可以根据用户的选择来进一 步具体显示该消息的具体内容、 针对该消息的评论内容等。 此外, 第二客户端可以对所显示的消息进行进一步的操作, 如回复该消息, 对发送该消息的设备发送私人消息等等。 其中, 对于该消息的回复将与该消息 一起被所述服务器关联存储, 并且可以是对所有其他客户端可见的。 第二客户 端也可以选择向笫一客户端发送其他人不可见的私人消息, 这例如可以通过服 务器建立所述笫一客户端与所述第二客户端的私人会话来实现。 The second client may specifically display the specific content of the message, the content of the other client's comment on the message, and the like, which is not limited in this embodiment. The second client can also display the message abbreviatedly, for example, only the summary information corresponding to the message is displayed, and then the second client can further specifically display the specific content of the message, the comment content for the message, etc. according to the user's selection. . In addition, the second client can perform further operations on the displayed message, such as replying to the message, sending a private message to the device that sent the message, and the like. Wherein, a reply to the message will be stored with the message in association with the server and may be visible to all other clients. The second client may also choose to send a private message that is not visible to other clients to the first client, which may be implemented, for example, by the server establishing a private session between the first client and the second client.
204b, 服务器从所述数据库中, 获取所述地理位置范围内的消息。  204b. The server obtains, from the database, a message in the geographic location range.
具体地, 服务器可以根据数据库中任意一条消息对应的经度和纬度和第二 客户端当前位置的经度和纬度, 计算出任意一条消息所在位置与第二客户端当 前位置之间的距离, 然后获取满足所述距离小于或等于预设距离的消息作为在 地理位置范围内的消息。 例如, 以地理位置范围为圆形为例, 圆心为第二客户 端当前所在位置, 服务器具体可以根据数据库中任意一条消息对应的经度和纬 度和圆心对应的经度和纬度, 计算出任意一条消息对应的位置与第二客户端当 前位置之间的距离, 然后获取与圆心距离小于或者等于预置半径长度的消息作 为所述地理位置范围内的消息。  Specifically, the server may calculate the distance between the location of any one message and the current location of the second client according to the longitude and latitude corresponding to any one of the messages in the database and the longitude and latitude of the current location of the second client, and then obtain the satisfaction. The message whose distance is less than or equal to the preset distance is used as a message within the geographic location. For example, taking the geographical location as a circle as an example, the center of the circle is the current location of the second client, and the server may calculate any message according to the longitude and latitude corresponding to any message in the database and the longitude and latitude corresponding to the center of the circle. The distance between the location and the current location of the second client is then obtained as a message within the geographic location range with a message having a distance from the center of the circle that is less than or equal to the preset radius.
进一步地, 若所述服务器判断所述地理位置范围内的消息数量大于预置显 示数量, 则按照消息发布时间的倒序, 从所述地理位置范围内的消息中获取与 所述预置显示数量等量的消息; 或者, 若所述服务器判断所述地理位置范围内 的消息数量小于所述预置显示数量, 则向所述笫二客户端发送提示信息, 所述 提示信息用于提示所述笫二客户端扩大所述地理位置范围, 例如, 地理位置范 围如果为圆形, 则第二客户端可以通过增加半径的长度, 来扩大地理位置范围。  Further, if the server determines that the number of messages in the geographical location range is greater than the preset display quantity, the number of preset displays and the like are obtained from messages in the geographical location range in reverse order of the message publishing time. Or, if the server determines that the number of messages in the geographical location range is less than the preset display quantity, sending, to the second client, prompt information, where the prompt information is used to prompt the The second client expands the geographic location range. For example, if the geographic location range is circular, the second client can expand the geographic location by increasing the length of the radius.
其中, 由于客户端的显示面积有限, 所以通常在显示地理位置范围内的消 息时, 会配置显示消息数量的上限, 即预置显示数量。 预置显示数量具体可以 根据客户端的显示面积和用户的显示需求进行配置, 本实施例不做限定。 当地 理位置范围内的消息数量大于预置显示数量, 服务器也可以按照发布时间的先 后顺序对在地理位置范围内显示的消息进行筛选, 从而保证了客户端显示的消 息为最新发布的消息, 同时, 保证获取到的地理位置范围内的消息数量不超过 预置显示数量。 The display area of the client is limited, so when the message in the geographic location is displayed, the upper limit of the number of displayed messages, that is, the preset display quantity, is usually configured. The number of preset displays can be specific The configuration is not limited by the configuration of the display area of the client and the display requirement of the user. When the number of messages in the geographic location is greater than the preset number of displays, the server may also filter the messages displayed in the geographical location according to the order of the publishing time, thereby ensuring that the message displayed by the client is the latest published message, and , to ensure that the number of messages in the obtained geographical range does not exceed the preset display quantity.
205、 服务器将所述地理位置范围内的消息发送给所述第二客户端, 以使得 所述第二客户端显示所述消息。  205. The server sends a message in the geographical location to the second client, so that the second client displays the message.
需要说明的是, 在本实施例中, 如果客户端发现某一消息为恶意消息时, 客户端会将携带有该消息的标识的告警信息上报给服务器, 当服务器判断该消 息的标识的告警次数大于或等于预设告警次数时, 从数据库中删除该消息, 并 屏蔽该消息对应的客户端发送的任意消息, 从而进一步提升了通讯过程的安全 性。  It should be noted that, in this embodiment, if the client finds that a certain message is a malicious message, the client reports the alarm information of the identifier carrying the message to the server, and the server determines the number of alarms of the identifier of the message. When the number of preset alarms is greater than or equal to the number of preset alarms, the message is deleted from the database, and any message sent by the client corresponding to the message is masked, thereby further improving the security of the communication process.
(其中客户端发布的消息与客户端所在的地理位置没有相关性, 并且现有即时 通讯平台需要用户在进行信息交互前, 进行身份认证)相比, 通过将客户端发 布的消息与客户端所在的地理位置进行关联, 解决了通过现有即时通讯方式客 户端无法实时获取到指定地理位置范围内的消息的问题, 实现了基于地理位置 的即时通讯, 同时, 本发明实施例中不存在申请注册和身份认证的过程, 从而 避免出现用户在进行信息交互时, 注册信息和身份信息泄露的问题, 提升了即 时通讯方式的安全性。 (The message published by the client is not related to the geographical location of the client, and the existing instant messaging platform requires the user to perform identity authentication before the information is exchanged.) By comparing the message posted by the client with the client. The geographical location is associated with the problem, and the problem that the client cannot obtain the message in the specified geographic location in real time through the existing instant messaging mode is solved, and the real-time communication based on the geographical location is realized, and at the same time, there is no application registration in the embodiment of the present invention. And the process of identity authentication, so as to avoid the leakage of registration information and identity information when users interact with information, and improve the security of instant messaging.
本发明笫三实施例提供又一种通讯方法, 如图 3所示, 所述方法包括: 301、 笫一客户端向服务器发送消息。 进一步地, 笫一客户端向服务器发送消息以使得所述服务器获取所述消息 的地理位置信息, 并将所述消息和所述消息的地理位置信息以关联方式保存在 数据库中。 The third embodiment of the present invention provides another communication method. As shown in FIG. 3, the method includes: 301. A client sends a message to a server. Further, the first client sends a message to the server to cause the server to acquire the geographical location information of the message, and save the message and the geographical location information of the message in an associated manner in the database.
其中, 所述消息具体可以为文字、 图片、 视频等, 本实施例不 4故限定。 所 述消息的地理位置信息为所述第一客户端发送所述消息时所在的位置, 消息的 地理位置信息具体可以为该第一客户端对应的经度和纬度, 即第一客户端发送 该消息时所在位置的经度和玮度。  The message may be specifically a text, a picture, a video, etc., which is not limited in this embodiment. The location information of the message is the location where the first client sends the message, and the location information of the message may be the longitude and latitude corresponding to the first client, that is, the first client sends the message. The longitude and temperature of the location.
302、 第二客户端向所迷服务器发送消息获取请求。  302. The second client sends a message acquisition request to the server.
其中, 所述消息获取请求包括所述第二客户端配置的地理位置范围。 所述 第二客户端配置的地理位置范围, 是以所述笫二客户端的位置为参照点的地理 位置范围, 地理位置范围具体可以为以客户端当前地理位置为中心形成的几何 图形, 例如, 如杲地理位置范围为一个圆形, 则客户端可以通过当前所在的地 理位置, 即圆心, 以及配置该圆形的半径长度, 作为所述地理位置范围, 本实 施例不^:限定。  The message obtaining request includes a geographical location range configured by the second client. The geographic location of the second client is a geographic location that is based on the location of the second client. The geographic location may be a geometric shape centered on the current geographic location of the client. For example, If the geographic location is a circle, the client can use the current geographic location, that is, the center of the circle, and the radius of the circle to be the range of the geographic location. This embodiment is not limited.
303、 若所迷消息的地理位置信息在所述地理位置范围内, 则所述第二客户 端接收所述服务器发送的所述消息。  303. If the geographic location information of the message is within the geographic location range, the second client receives the message sent by the server.
304、 第二客户端显示所述消息。  304. The second client displays the message.
其中, 笫二客户端具体可以显示消息的具体内容、 其他客户端对该消息的 评论内容等, 本实施例不做限定。 第二客户端也可以对消息进行缩略显示' 例 如显示该消息对应的概要信息, 然后第二客户端可以根据用户的选择来进一步 具体显示该消息对应的具体内容、 针对该消息的评论内容等。  The second client may specifically display the specific content of the message, the content of the other client's comment on the message, and the like, which is not limited in this embodiment. The second client can also display the message abbreviatedly, for example, displaying the summary information corresponding to the message, and then the second client can further specifically display the specific content corresponding to the message, the comment content for the message, etc. according to the user's selection. .
此外, 第二客户端可以对所显示的消息进行进一步的操作, 如回复该消息, 对发送该消息的设备发送私人消息等等。 其中, 对于该消息的回复将与该消息 一起被所述服务器关联存储, 并且可以是对所有其他客户端可见的。 第二客户 端也可以选择向第一客户端发送其他人不可见的私人消息, 这例如可以通过服 务器建立所述第一客户端与所述第二客户端的私人会话来实现。 In addition, the second client can perform further operations on the displayed message, such as replying to the message. Send a private message to the device that sent the message, and so on. Wherein, a reply to the message will be stored with the message in association with the server and may be visible to all other clients. The second client may also choose to send a private message that is invisible to other people to the first client, which may be implemented, for example, by the server establishing a private session between the first client and the second client.
可选地, 第二客户端还可以获取地理图层信息, 地理图层信息具体可以包 括交通路线、 建筑、 街道等地图显示相关信息, 从而使得第二客户端可以在地 图上更加直观地显示所述消息。  Optionally, the second client may also obtain geographic layer information, where the geographic layer information may specifically include map information related to the traffic route, the building, the street, and the like, so that the second client can display the information more intuitively on the map. Said the news.
本发明第三实施例提供的该通讯方法与现有即时通讯平台中的通讯方法 (其中, 客户端发布的消息与客户端所在的地理位置没有相关性, 并且现有即 时通讯平台需要用户在进行信息交互前, 进行身份认证)相比, 通过将客户端 发布的消息与客户端所在的地理位置进行关联, 解决了通过现有即时通讯方式 客户端无法实时获取到指定地理位置范围内的消息的问题, 实现了基于地理位 置的即时通讯, 同时, 本发明实施例中不存在申请注册和身份认证的过程, 从 而遊免出现用户在进行信息交互时, 注册信息和身份信息泄露的问题, 提升了 即时通讯方式的安全性。  The communication method provided by the third embodiment of the present invention and the communication method in the existing instant messaging platform (wherein the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform needs the user to perform Compared with the geographical location of the client, the client can not obtain the message in the specified geographic location in real time through the existing instant messaging mode. The problem is that the location-based instant messaging is implemented. At the same time, there is no process of applying for registration and identity authentication in the embodiment of the present invention, thereby avoiding the problem that the registration information and the identity information are leaked when the user performs information interaction, thereby improving the instant. The security of the communication method.
本发明第四实施例提供又一种通讯方法, 如图 4所示, 所述方法包括: A fourth embodiment of the present invention provides another communication method. As shown in FIG. 4, the method includes:
401, 第一客户端向服务器发送消息。 401. The first client sends a message to the server.
进一步地, 第一客户端向服务器发送消息以使得所述服务器获取所述消息 的地理位置信息, 并将所述消息和所述消息的地理位置信息以关联方式保存在 数据库中。  Further, the first client sends a message to the server to cause the server to acquire the geographical location information of the message, and save the message and the geographical location information of the message in an associated manner in the database.
402、 第二客户端向所述服务器发送消息获取请求。  402. The second client sends a message acquisition request to the server.
其中, 所述消息获取请求包括所述第二客户端配置的地理位置范围。 所述 第二客户端配置的地理位置范围, 是以所述第二客户端的位置为参照点的地理 位置范围, 地理位置范围具体可以为以客户端当前地理位置为中心形成的几何 图形, 例如, 如果地理位置范围为一个圓形, 则客户端可以通过当前所在的地 理位置, 即圓心, 以及配置该圓形的半径长度, 作为所述地理位置范围, 本实 施例不做限定。 The message obtaining request includes a geographical location range configured by the second client. Said The geographic location range of the second client configuration is a geographical location range with the location of the second client as a reference point, and the geographic location range may specifically be a geometric shape formed by the current geographic location of the client, for example, if the geographic location The location range is a circle, and the client can use the current geographic location, that is, the center of the circle, and the length of the radius of the circle, as the range of the geographic location, which is not limited in this embodiment.
403a , 若所述消息的地理位置信息在所述地理位置范围内, 则所述服务器 向所述第二客户端发送所述消息。  403a. If the geographic location information of the message is within the geographic location range, the server sends the message to the second client.
其中, 笫二客户端具体可以显示消息的具体内容、 其他客户端对该消息的 评论内容等, 本实施例不做限定。 第二客户端也可以对消息进行缩略显示, 例 如显示该消息对应的概要信息, 然后第二客户端可以根据用户的选择来进一步 具体显示该消息对应的具体内容、 针对该消息的评论内容等。  The second client may specifically display the specific content of the message, the content of the other client's comment on the message, and the like, which is not limited in this embodiment. The second client can also display the message in abbreviated manner, for example, display the summary information corresponding to the message, and then the second client can further specifically display the specific content corresponding to the message, the comment content for the message, etc. according to the user's selection. .
此外, 第二客户端可以对所显示的消息进行进一步的操作, 如回复该消息, 对发送该消息的设备发送私人消息等等。 其中, 对于该消息的回复将与该消息 一起被所述服务器关联存储, 并且可以是对所有其他客户端可见的。 第二客户 端也可以选择向第一客户端发送其他人不可见的私人消息, 这例如可以通过 务器建立所述第一客户端与所述第二客户端的私人会话来实现。  In addition, the second client can perform further operations on the displayed message, such as replying to the message, sending a private message to the device that sent the message, and the like. Wherein, a reply to the message will be stored with the message in association with the server and may be visible to all other clients. The second client may also choose to send a private message that is invisible to other users to the first client, which may be implemented, for example, by establishing a private session between the first client and the second client.
可选地, 第二客户端还可以获取地理图层信息, 地理图层信息具体可以包 括交通路线、 建筑、 街道等地图显示相关信息, 从而使得第二客户端可以在地 图上更加直观地显示所述消息。  Optionally, the second client may also obtain geographic layer information, where the geographic layer information may specifically include map information related to the traffic route, the building, the street, and the like, so that the second client can display the information more intuitively on the map. Said the news.
403b, 若所迷服务器判断所述地理位置范围内的消息数量小于预置显示数 量, 则所述服务器向所述第二客户端发送提示信息。  403b: If the server determines that the number of messages in the geographic location range is less than the preset display quantity, the server sends the prompt information to the second client.
其中, 所述提示信息用于提示所述客户端扩大所述地理位置范围, 例如, 地理位置范围如果为圆形, 则笫二客户端可以通过增加半径的长度, 来扩大地 理位置范围。 The prompt information is used to prompt the client to expand the geographical location range, for example, If the geographical range is circular, the second client can expand the geographic range by increasing the length of the radius.
404、 所述第二客户端接收所述服务器发送的所述地理位置范围内的消息, 所述地理位置范围内的消息为所述 il 务器从所述数据库中获取的。  404. The second client receives a message in the geographic location range sent by the server, where the message in the geographic location range is obtained by the server from the database.
405、 第二客户端显示所述消息或者所述地理位置范围内的消息。  405. The second client displays the message or a message within the geographic location.
应当注意, 在本实施例中, 如果第二客户端发现某一消息为恶意消息时, 第二客户端会将携带有该消息的标识的告警信息上报给服务器, 当服务器判断 该消息的标识的告警次数大于或等于预设告警次数时, 从数据库中删除该消息, 并屏蔽该消息对应的客户端发送的任意消息, 从而进一步提升了通讯过程的安 全性。  It should be noted that, in this embodiment, if the second client finds that the message is a malicious message, the second client reports the alarm information of the identifier carrying the message to the server, and the server determines the identifier of the message. When the number of alarms is greater than or equal to the preset number of alarms, the message is deleted from the database, and any message sent by the client corresponding to the message is masked, thereby further improving the security of the communication process.
本发明第四实施例提供的该通讯方法与现有即时通讯平台中的通讯方法 (其中, 客户端发布的消息与客户端所在的地理位置没有相关性, 并且现有即 时通讯平台需要用户在进行信息交互前, 进行身份认证)相比, 通过将客户端 发布的消息与客户端所在的地理位置进行关联, 解决了通过现有即时通讯方式 客户端无法实时获取到指定地理位置范围内的消息的问题, 实现了基于地理位 置的即时通讯, 同时, 本发明实施例中不存在申请注册和身份认证的过程, 从 而避免出现用户在进行信息交互时, 注册信息和身份信息泄露的问题, 提升了 即时通讯方式的安全性。  The communication method provided by the fourth embodiment of the present invention and the communication method in the existing instant messaging platform (wherein, the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform needs the user to perform Compared with the geographical location of the client, the client can not obtain the message in the specified geographic location in real time through the existing instant messaging mode. The problem is that the location-based instant messaging is implemented. At the same time, the process of applying for registration and identity authentication does not exist in the embodiment of the present invention, thereby avoiding the problem that the registration information and the identity information are leaked when the user performs information interaction, and the instant is improved. The security of the communication method.
进一步地, 作为对图 1所示方法实施例的实现, 本发明的一个实施例提供了 一种服务器, 如图 5所示, 所迷服务器包括: 接收单元 51、 获取单元 52、 保存单 元 53、 发送单元 54。  Further, as an implementation of the method embodiment shown in FIG. 1, an embodiment of the present invention provides a server. As shown in FIG. 5, the server includes: a receiving unit 51, an obtaining unit 52, a saving unit 53, Transmitting unit 54.
接收单元 51可以用于接收第一客户端发送的消息。 获取单元 52可以用于获取所述接收单元 51接收的所述消息的地理位置信 息, 所述消息的地理位置信息为所述笫一客户端发送所迷消息时所在的位置。 The receiving unit 51 can be configured to receive a message sent by the first client. The obtaining unit 52 may be configured to obtain geographic location information of the message received by the receiving unit 51, where the geographic location information of the message is a location where the first client sends the message.
保存单元 53可以用于将所述接收单元 51接收的所迷消息和所述获取单元 52 获取的所述消息的地理位置信息以关联方式保存在数据库中。  The saving unit 53 can be configured to store the received message received by the receiving unit 51 and the geographical location information of the message acquired by the obtaining unit 52 in an associated manner in a database.
接收单元 51还可以用于接收第二客户端发送的消息获取请求, 所述消息获 取清求包括所述第二客户端配置的地理位置范围。  The receiving unit 51 is further configured to receive a message acquisition request sent by the second client, where the message acquisition request includes a geographical location range configured by the second client.
发送单元 54可以用于若所述消息的地理位置信息在所述地理位置范围内, 将所述接收单元 51接收的消息发送给所述第二客户端, 以使得所述第二客户端 显示所述消息。  The sending unit 54 may be configured to send, when the geographic location information of the message is within the geographic location range, a message received by the receiving unit 51 to the second client, so that the second client displays the location Said the news.
再进一步地, 作为对图 2所示方法实施例的实现, 本发明的另一实施例提供 了另一种服务器, 如图 6所示, 所述服务器包括: 接收单元 61、 荻取单元 62、 保 存单元 63、 发送单元 64、 生成单元 65、 删除单元 66。  Further, as an implementation of the method embodiment shown in FIG. 2, another embodiment of the present invention provides another server. As shown in FIG. 6, the server includes: a receiving unit 61, a capturing unit 62, The saving unit 63, the transmitting unit 64, the generating unit 65, and the deleting unit 66.
接收单元 61可以用于接收第一客户端发送的消息。  The receiving unit 61 can be configured to receive a message sent by the first client.
获取单元 62可以用于获取所述接收单元 61接收的所述消息的地理位置信 息, 所述消息的地理位置信息为所述第一客户端发送所述消息时所在的位置。  The obtaining unit 62 may be configured to obtain geographical location information of the message received by the receiving unit 61, where the geographic location information of the message is a location where the first client sends the message.
保存单元 63可以用于将所述接收单元 61接收的所述消息和所述获取单元 62 获取的所述消息的地理位置信息以关联方式保存在数据库中。 Holding unit 63 may be used for the message received by the receiving unit 61 and the acquisition unit 62 acquires the message location information associatively stored in the database.
接收单元 61还可以用于接收笫二客户端发送的消息获取请求, 所述消息获 取请求包括所述笫二客户端配置的地理位置范围。  The receiving unit 61 is further configured to receive a message obtaining request sent by the second client, where the message obtaining request includes a geographical location range configured by the second client.
发送单元 64可以用于若所述消息的地理位置信息在所述地理位置范围内, 将所述接收单元 61接收的消息发送给所述第二客户端, 以使得所述第二客户端 显示所述消息。 获取单元 62还可以用于从所述数据库中, 获取所述地理位置范围内的消息。 发送单元 64还可以用于将所述获取单元 62获取的所述地理位置范围内的消 息发送给所述第二客户端, 以使得所述第二客户端显示所迷消息。 The sending unit 64 may be configured to send, when the geographic location information of the message is within the geographic location range, a message received by the receiving unit 61 to the second client, so that the second client displays the location Said the news. The obtaining unit 62 is further configured to obtain, from the database, a message within the geographic location range. The sending unit 64 is further configured to send the message in the geographical location range acquired by the obtaining unit 62 to the second client, so that the second client displays the message.
获取单元 62还可以用于获取所述消息的地理位置信息和所述消息的发布时 间信息。 The obtaining unit 62 is further configured to obtain geographic location information of the message and release time information of the message.
Figure imgf000017_0001
Figure imgf000017_0001
和所述消息的发布时间信息生成所述消息的标识。 The identification of the message is generated with the release time information of the message.
保存单元 63还可以用于将所述消息和所述消息的标识以关联方式保存在所 . 述 t据库中。  The saving unit 63 can also be configured to store the message and the identifier of the message in an associated manner in the library.
获取单元 62还可以用于若所述地理位置范围内的消息数量大于预置显示数 量, 则按照消息发布时间的倒序, 从所述地理位置范围内的消息中获取与所述 预置显示数量等量的消息。  The obtaining unit 62 may be further configured to: if the number of messages in the geographical location range is greater than the preset display quantity, obtain the preset display quantity, etc. from the message in the geographical location range in reverse order of the message publishing time. The amount of news.
发送单元 64还可以用于若所述地理位置范围内的消息数量小于所述预置显 示数量, 则向所述第二客户端发送提示信息, 所述提示信息用于提示所述笫二 客户端扩大所述地理位置范围。  The sending unit 64 is further configured to send, to the second client, prompt information, where the number of messages in the geographic location range is smaller than the preset display quantity, where the prompt information is used to prompt the second client Expand the geographic location.
接收单元 61还可以用于接收所述笫二客户端发送的告警信息, 所述告警信 息携带有消息的标识。  The receiving unit 61 is further configured to receive the alarm information sent by the second client, where the alarm information carries an identifier of the message.
删除单元 66可以用于若所述消息的标识的告警次数大于或等于预设告警次 数, 则删除所述消息, 并且屏蔽所述消息对应的客户端发送的消息。  The deleting unit 66 may be configured to delete the message if the number of alarms of the identifier of the message is greater than or equal to the preset number of alarms, and block the message sent by the client corresponding to the message.
需要说明的是, 本发明实施例提供的服务器所涉及各功能模块的其他相应 描述, 可以参考图 1和图 2中对应的描述, 本发明实施例此处将不再资述。  It should be noted that other corresponding descriptions of the functional modules involved in the server provided by the embodiment of the present invention may be referred to the corresponding descriptions in FIG. 1 and FIG. 2, and the embodiments of the present invention will not be described herein.
本发明实施例提供的服务器与现有即时通讯平台中的服务器(其中, 客户 端发布的消息与客户端所在的地理位置没有相关性, 并且现有即时通讯平台需 要用户在进行信息交互前, 进行身份认证)相比, 通过将客户端发布的消息与 客户端所在的地理位置进行关联, 解决了通过现有即时通讯方式客户端无法实 时获取到指定地理位置范围内的消息的问题, 实现了基于地理位置的即时通讯, 同时, 本发明实施例中不存在申请注册和身 ^人证的过程, 从而避免出现用户 在进行信息交互时, 注册信息和身份信息泄露的问题, 提升了即时通讯方式的 安全性。 The server provided by the embodiment of the invention and the server in the existing instant messaging platform (where the client The message published by the terminal is not related to the geographical location of the client, and the existing instant messaging platform requires the user to perform identity authentication before the information is exchanged. Compared with the geographical location of the client by the client. The association is solved, and the problem that the client cannot obtain the message in the specified geographical location in real time through the existing instant messaging mode is solved, and the real-time communication based on the geographical location is realized, and at the same time, the application registration and the body do not exist in the embodiment of the present invention. The process of human authentication, thereby avoiding the problem of leakage of registration information and identity information when users interact with information, and improving the security of instant messaging.
再进一步地, 作为对图 3和图 4所示方法实施例的实现, 本发明实施例提供 一种客户端, 如图 7所示, 所述客户端包括: 发送单元 71、 接收单元 72、 显示单 元 73。  Further, as an implementation of the method embodiment shown in FIG. 3 and FIG. 4, an embodiment of the present invention provides a client. As shown in FIG. 7, the client includes: a sending unit 71, a receiving unit 72, and a display. Unit 73.
发送单元 71可以用于向服务器发送消息, 以使得所述服务器获取所述消息 的地理位置信息, 并将所述消息和所述消息的地理位置信息以关联方式保存在 数据库中, 所述消息的地理位置信息为该客户端发送所述消息时所在的位置。  The sending unit 71 may be configured to send a message to the server, so that the server acquires geographical location information of the message, and saves the message and the geographical location information of the message in an associated manner in a database, where the message The geographic location information is the location where the client sent the message.
发送单元 71还可以用于向所述服务器发送消息获取请求, 所述消息获取清 求包括配置的地理位置范围。  The sending unit 71 is further configured to send a message acquisition request to the server, where the message acquisition request includes a configured geographic location range.
接收单元 72可以用于接收从所述服务器发送的消息, 该消息是另一客户端 向所述服务器发送的且被所述服务器以关联方式与该另一客户端的地理位置信 息存储在一起。 并且只有在该另一客户端的地理位置信息在所述客户端配置的 地理位置范围内时, 该消息才会被所述服务器向所 户端发送。  The receiving unit 72 can be configured to receive a message sent from the server, the message being sent by the other client to the server and stored by the server in association with the geographic location information of the other client. And the message is sent by the server to the client only when the geographical location information of the other client is within the geographical range configured by the client.
显示单元 73可以用于显示所述接收单元 72接收的所述消息。  The display unit 73 can be used to display the message received by the receiving unit 72.
接收单元 72还可以用于接收所述服务器发送的所述地理位置范围内的消 息, 所述地理位置范围内的消息为所述服务器从所述数据库中获取的。 接收单元 72还可以用于若所述服务器判断所迷地理位置范围内的消息数量 小于预置显示数量, 则接收所述服务器发送的提示信息, 所述提示信息用于提 示扩大所述地理位置范围。 The receiving unit 72 is further configured to receive a message in the geographic location range sent by the server, where the message in the geographic location range is obtained by the server from the database. The receiving unit 72 may be further configured to: if the server determines that the number of messages in the geographic location range is less than the preset display quantity, receive the prompt information sent by the server, where the prompt information is used to prompt to expand the geographic location range. .
发送单元 71还可以用于向所述服务器发送告警信息, 以使得所述服务器删 除告警次数大于或等于预设告警次数的消息, 并且屏蔽所迷消息对应的客户端 发送的消息, 其中, 所述告警信息携带有所述消息的标识。  The sending unit 71 is further configured to send the alarm information to the server, so that the server deletes the message that the number of alarms is greater than or equal to the preset number of alarms, and blocks the message sent by the client corresponding to the message, where The alarm information carries the identifier of the message.
需要说明的是, 本发明实施例提供的客户端所涉及各功能模块的其他相应 描述, 可以参考图 3和图 4中对应的描述, 本发明实施例此处将不再赘迷。 的消息与客户端所在的地理位置没有相关性, 并且现有即时通讯平台需要用户 在进行信息交互前, 进行身份认证)相比, 通过将客户端发布的消息与客户端 所在的地理位置进行关联, 解决了通过现有即时通讯方式客户端无法实时获取 到指定地理位置范围内的消息的问题, 实现了基于地理位置的即时通讯, 同时, 本发明实施例中不存在申请注册和身份认证的过程, 从而避免出现用户在进行 信息交互时, 注册信息和身份信息泄露的问题, 提升了即时通讯方式的安全性。  It should be noted that other corresponding descriptions of the functional modules involved in the client provided by the embodiment of the present invention may be referred to the corresponding descriptions in FIG. 3 and FIG. 4, and the embodiments of the present invention are not obscured here. The message is not related to the geographic location of the client, and the existing instant messaging platform requires the user to authenticate the identity before the information is exchanged. By comparing the message posted by the client with the geographic location of the client. The problem that the client can not obtain the message in the specified geographical location in real time through the existing instant messaging mode, and realizes the real-time communication based on the geographical location, and the process of applying for registration and identity authentication does not exist in the embodiment of the present invention. In order to avoid the leakage of registration information and identity information when the user interacts with the information, the security of the instant messaging method is improved.
再进一步地, 本发明实施例提供一种通讯系统, 如图 8所示, 该系统可以包 括图 5和图 6所示实施例的服务器, 以及至少一个图 7所示实施例的客户端, 该服 务器和客户端的结构可参见上述实施例的相关描述, 在此不再赞述。  Further, the embodiment of the present invention provides a communication system. As shown in FIG. 8, the system may include the server of the embodiment shown in FIG. 5 and FIG. 6, and at least one client of the embodiment shown in FIG. The structure of the server and the client can be referred to the related description of the above embodiment, and will not be described here.
本发明实施例提供的通讯系统, 与现有即时通讯平台中的通讯系统(其中, 客户端发布的消息与客户端所在的地理位置没有相关性, 并且现有即时通讯平 台需要用户在进行信息交互前, 进行身份认证)相比, 通过将客户端发布的消 息与客户端所在的地理位置进行关联, 解决了通过现有即时通讯方式客户端无 法实时获取到指定地理位置范围内的消息的问题, 实现了基于地理位置的即时 通讯, 同时, 本发明实施例中不存在申请注册和身份认证的过程, 从而避免出 现用户在进行信息交互时, 注册信息和身份信息泄露的问题, 提升了即时通讯 方式的安全性。 The communication system provided by the embodiment of the present invention is related to the communication system in the existing instant messaging platform (where the message published by the client has no correlation with the geographical location of the client, and the existing instant messaging platform requires the user to perform information interaction. Before the authentication, the client is resolved by the existing instant messaging method by associating the message posted by the client with the geographical location of the client. The method of obtaining the message in the specified geographic location in real time, realizing the geolocation-based instant communication, and the process of applying for registration and identity authentication does not exist in the embodiment of the present invention, thereby avoiding the user interacting with the information. The issue of registration information and identity information disclosure has improved the security of instant messaging.
本发明实施例提供的通讯系统、 服务器及客户端可以实现上述提供的方法 实施例, 具体功能实现请参见方法实施例中的说明, 在此不再赘述。 本发明实 施例提供的通讯方法、 系统、 服务器及客户端可以适用于信息技术领域, 但不 仅限于此。  The communication system, the server, and the client provided by the embodiment of the present invention may implement the foregoing method. For the specific function implementation, refer to the description in the method embodiment, and details are not described herein. The communication method, system, server and client provided by the embodiments of the present invention can be applied to the field of information technology, but are not limited thereto.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存储 i己忆体 ( Random Access Memory, RAM ) 等。  A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限于 此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围 应该以权利要求的保护范围为准。  The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any change or replacement that can be easily conceived by those skilled in the art within the technical scope of the present invention is All should be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权 利 要 求 书 claims
1、 一种由服务器实现的通讯方法, 包括: 1. A communication method implemented by the server, including:
接收第一客户端发送的消息; Receive the message sent by the first client;
获取所述消息的地理位置信息, 并将所述消息和所述消息的地理位置信息 以关联方式保存在数据库中, 所述消息的地理位置信息为所述第一客户端发送 '所述消息时所在的位置; Obtain the geographical location information of the message, and store the message and the geographical location information of the message in a database in an associated manner. The geographical location information of the message is when the first client sends the message. location;
接收第二客户端发送的消息获取请求 , 所述消息获取请求包括所述第二客 户端配置的地理位置范围; Receive a message acquisition request sent by the second client, where the message acquisition request includes the geographical location range configured by the second client;
若所述消息的地理位置信息在所述地理位置范围内, 则将所述消息发送给 所述第二客户端, 以使得所迷第二客户端显示所述消息。 If the geographical location information of the message is within the geographical location range, the message is sent to the second client, so that the second client displays the message.
2、 根据权利要求 1所述的通讯方法, 其特征在于, 所述第二客户端配置的 所述地理位置范围是以所述第二客户端的位置为参照点的地理位置范围。 2. The communication method according to claim 1, wherein the geographical location range configured by the second client is a geographical location range with the location of the second client as a reference point.
3、 根据权利要求 2所述的通讯方法, 其特征在于, 在接收第二客户端发送 的消息获取请求之后, 还包括: 3. The communication method according to claim 2, characterized in that, after receiving the message acquisition request sent by the second client, it further includes:
从所述数据库中获取所述地理位置范围内的消息; Obtain messages within the geographical location from the database;
将所述地理位置范围内的消息发送给所述第二客户端, 以 4吏'得所述第二客 户端显示所述消息。 Send the message within the geographical location range to the second client, so that the second client displays the message.
4、 根据权利要求 3所述的通讯方法, 其特征在于, 所述服务器获取所述消 息的地理位置信息并将所述消息和所述消息的地理位置信息以关联方式保存在 数据库中的步骤包括: 4. The communication method according to claim 3, wherein the step of the server obtaining the geographical location information of the message and storing the message and the geographical location information of the message in a database in an associated manner includes: :
获取所述消息的地理位置信息和所述消息的发布时间信息;. Obtain the geographical location information of the message and the release time information of the message;.
根据所迷消息的地理位置信息和所述消息的发布时间信息生成所述消息的 标识; 将所述消息和所述消息的标识保存在所述数据库中。 Generate an identification of the message based on the geographical location information of the message and the release time information of the message; The message and the identification of the message are saved in the database.
5、 根据权利要求 4所述的通讯方法, 其特征在于, 在从所述数据库中获取 所述地理位置范围内的消息的步骤之后, 还包括: 5. The communication method according to claim 4, characterized in that, after the step of obtaining the messages within the geographical location from the database, it further includes:
若判断所述地理位置范围内的消息数量大于预置显示数量, 则按照消息发 布时间的倒序, 从所述地理位置范围内的消息中获取与所述预置显示数量等量 的消息; 或者 If it is determined that the number of messages within the geographical location range is greater than the preset display quantity, then according to the reverse order of the message release time, messages equal to the preset display quantity are obtained from the messages within the geographical location range; or
若判断所述地理位置范围内的消息数量小于所述预置显示数量, 則向所述 第二客户端发送提示信息, 所述提示信息用于提示所述第二客户端扩大所述地 理位置范围。 If it is determined that the number of messages within the geographical location range is less than the preset display number, prompt information is sent to the second client, and the prompt information is used to prompt the second client to expand the geographical location range. .
6、 根据权利要求 1所述的方法, 其特征在于, 接收所述第二客户端针对所 接收的消息的回复。 6. The method according to claim 1, characterized by: receiving a reply from the second client to the received message.
7、 根据权利要求 1所述的方法, 其特征在于, 响应于所述第二客户端对所 接收的消息的操作, 在所述笫二客户端与所述笫一客户端之间建立私人会话, 所述第二客户端通过所述私人会话与所述第一客户端直接进行通信。 7. The method of claim 1, wherein in response to the second client's operation on the received message, a private session is established between the second client and the first client. , the second client directly communicates with the first client through the private session.
8、 根据权利要求 5所述的方法, 其特征在于, 还包括: 8. The method according to claim 5, further comprising:
接收所述第二客户端发送的告警信息, 所述告警信息携带有消息的标识; 若判断所述消息的标识的告警次数大于或等于预设告警次数, 则删除所述 消息, 并且屏蔽所述消息对应的客户端发送的消息。 Receive the alarm information sent by the second client, and the alarm information carries the identifier of the message; if it is determined that the number of alarms of the identifier of the message is greater than or equal to the preset number of alarms, then delete the message and block the message. The message sent by the client corresponding to the message.
9、 一种通讯方法, 包括: 9. A communication method, including:
第一客户端向服务器发送消息, 以使得所述服务器获取所述消息的地理位 置信息, 并将所述消息和所述消息的地理位置信息以关联方式保存在数据库中, 所述消息的地理位置信息为所述笫一客户端发送所述消息时所在的位置; 第二客户端向所述服务器发送消息获取请求, 所迷消息获取请求包括所述 第二客户端配置的地理位置范围; The first client sends a message to the server, so that the server obtains the geographical location information of the message, and stores the message and the geographical location information of the message in a database in an associated manner. The geographical location of the message The information is the location of the first client when sending the message; The second client sends a message acquisition request to the server, where the message acquisition request includes the geographical location range configured by the second client;
若所述消息的地理位置信息在所述地理位置范围内, 则所迷第二客户端接 收所述服务器发送的所述消息, 并显示所述消息。 If the geographical location information of the message is within the geographical location range, the second client receives the message sent by the server and displays the message.
10、 根据权利要求 9所述的通讯方法, 其特征在于, 所述第二客户端配置的 地理位置范围, 是以所述笫二客户端的位置为参照点的地理位置范围。 10. The communication method according to claim 9, characterized in that the geographical location range configured by the second client is the geographical location range with the location of the second client as a reference point.
11、 根据权利要求 10所述的通讯方法, 其特征在于, 在所述第二客户端向 所述服务器发送消息获取请求的步骤之后, 还包括: 11. The communication method according to claim 10, characterized in that, after the second client sends a message acquisition request to the server, it further includes:
所述第二客户端接收所述服务器发送的所述地理位置范围内的消息, 所述 地理位置范围内的消息为所述服务器从所述数据库中获取的。 The second client receives the message within the geographical location range sent by the server, and the message within the geographical location range is obtained by the server from the database.
12、 根据权利要求 11所述的通讯方法, 其特征在于, 在所述第二客户端接 收所述服务器发送的所述地理位置范围内的消息的步驟之前 > 还包括: 12. The communication method according to claim 11, characterized in that, before the second client receives the message within the geographical location range sent by the server, it further includes:
若所述服务器判断所述地理位置范围内的消息数量小于预置显示数量, 则 所述第二客户端接收所述服务器发送的提示信息, 所述提示信息用于提示所述 客户端扩大所述地理位置范围。 If the server determines that the number of messages within the geographical location is less than the preset display number, the second client receives the prompt information sent by the server, and the prompt information is used to prompt the client to expand the Geographical location range.
13、 根据权利要求 9所述的方法, 其特征在于, 所述第二客户端针对所接收 的消息进行回复, 并向所 务器发送该回复。 13. The method according to claim 9, characterized in that the second client replies to the received message and sends the reply to the server.
14、 根据权利要求 9所述的方法, 其特征在于, 响应于所述第二客户端对所 接收的消息的操作, 所述服务器在所述第二客户端与所述第一客户端之间建立 私人会话, 所述第二客户端通过所述私人会话与所述第一客户端直接进行通信。 14. The method according to claim 9, characterized in that, in response to the second client's operation on the received message, the server is between the second client and the first client. A private session is established, and the second client directly communicates with the first client through the private session.
15、 根据权利要求 12所述的方法, 其特征在于, 在所述第二客户端接收所 述服务器发送的所述地理位置范围内的消息的步骤之后还包括: 所述第二客户端向所述服务器发送告警信息, 以使得所述服务器删除告警 次数大于或等于预设告警次数的消息, 并且屏蔽所述消息对应的客户端发送的 消息, 其中, 所述告警信息携带有所述消息的标识。 15. The method according to claim 12, characterized in that, after the step of the second client receiving the message within the geographical location range sent by the server, it further includes: The second client sends alarm information to the server, so that the server deletes messages whose number of alarms is greater than or equal to the preset number of alarms, and blocks messages sent by the client corresponding to the messages, wherein, the alarm The information carries the identity of the message.
16、 一种服务器, 包括: 16. A server, including:
接收单元, 用于接收第一客户端发送的消息; A receiving unit, configured to receive messages sent by the first client;
获取单元, 用于获取所述接收单元接收的所述消息的地理位置信息, 所迷 消息的地理位置信息为所述第一客户端发送所述消息时所在的位置; An acquisition unit, configured to acquire the geographical location information of the message received by the receiving unit, where the geographical location information of the message is the location of the first client when sending the message;
保存单元 , 用于将所述接收单元接收的所述消息和所述获取单元获取的所 述消息的地理位置信息以关联方式保存在数据库中; A saving unit, configured to save the message received by the receiving unit and the geographical location information of the message obtained by the obtaining unit in a database in an associated manner;
所述接收单元, 还用于接收第二客户端发送的消息获取请求, 所述消息获 取请求包括所述笫二客户端配置的地理位置范围; The receiving unit is also configured to receive a message acquisition request sent by the second client, where the message acquisition request includes the geographical location range configured by the second client;
发送单元> 用于若所述消息的地理位置信息在所述地理位置范围内, 将所 述接收单元接收的消息发送给所述第二客户端, 以使得所述第二客户端显示所 述消息。 Sending unit> is used to send the message received by the receiving unit to the second client if the geographical location information of the message is within the geographical location range, so that the second client displays the message .
17、 根据权利要求 16所述的服务器, 其特征在于, 所述第二客户端配置的 地理位置范围是以所述第二客户端的位置为参照点的地理位置范围。 17. The server according to claim 16, wherein the geographical location range configured by the second client is the geographical location range with the location of the second client as a reference point.
18、 根据权利要求 17所述的服务器, 其特征在于, 18. The server according to claim 17, characterized in that,
所述获取单元还用于从所述数据库中, 获取所述地理位置范围内的消息; 所述发送单元还用于将所述获取单元获取的所述地理位置范围内的消息发 送给所述第二客户端, 以使得所述第二客户端显示所述消息。 The obtaining unit is also used to obtain the messages within the geographical location range from the database; the sending unit is also used to send the messages within the geographical location range obtained by the obtaining unit to the third and two clients, so that the second client displays the message.
19、 根据权利要求 18所述的服务器, 其特征在于, 19. The server according to claim 18, characterized in that,
所述获取单元用于获取所述消息的地理位置信息和所述消息的发布时间信 息; The obtaining unit is used to obtain the geographical location information of the message and the release time information of the message. interest;
所述服务器还包括: The server also includes:
生成单元, 用于根据所迷获取单元获取的所述消息的地理位置信息和所迷 消息的发布时间信息生成所述消息的标识; A generating unit, configured to generate an identification of the message based on the geographical location information of the message and the release time information of the message obtained by the acquisition unit;
所述保存单元用于将所述消息和所述消息的标识以关联方式保存在所述数 据库中。 The saving unit is used to save the message and the identifier of the message in the database in an associated manner.
20、 才艮据权利要求 19所述的服务器, 其特征在于, 20. The server according to claim 19, characterized in that,
所述荻取单元还用于若所述地理位置范围内的消息数量大于预置显示数 量, 则按照消息发布时间的倒序, 从所述地理位置范围内的消息中获取与所述 预置显示数量等量的消息; The retrieval unit is also configured to, if the number of messages within the geographical location range is greater than the preset display quantity, obtain the preset display quantity from the messages within the geographical location range in reverse order of the message publishing time. equal amounts of news;
所述发送单元还用于若所述地理位置范围内的消息数量小于所述预置显示 数量, 则向所述第二客户端发送提示信息, 所述提示信息用于提示所述第二客 户端扩大所述地理位置范围。 The sending unit is also configured to send prompt information to the second client if the number of messages within the geographical location is less than the preset display number, and the prompt information is used to prompt the second client. Expand the geographical location described.
21、 根据权利要求 20所述的服务器, 其特征在于, 21. The server according to claim 20, characterized in that,
所述接收单元还用于接收所述第二客户端发送的告警信息, 所迷告警信息 携带有消息的标识; The receiving unit is also configured to receive alarm information sent by the second client, where the alarm information carries an identifier of the message;
所述服务器还包括: The server also includes:
删除单元, 用于若所述消息的标识的告警次数大于或等于预设告警次数, 则删除所述消息, 并且屏蔽所述消息对应的客户端发送的消息。 A deletion unit, configured to delete the message if the number of alarms identified by the message is greater than or equal to the preset number of alarms, and block messages sent by the client corresponding to the message.
22、 一种客户端, 包括: 22. A client, including:
发送单元, 用于向服务器发送消息获取请求, 所述消息获取请求包括配置 的地理位置范围; 接收单元, 用于接收从所述服务器发送来的消息, 所述消息是从另一客户 端向所述服务器发送的且被所述服务器以关联方式与所述另一客户端的地理位 置信息存储在一起, 并且所述消息仅当所述另一客户端的地理位置信息在所述 地理位置范围内时才被所述服务器发送; A sending unit, configured to send a message acquisition request to the server, where the message acquisition request includes the configured geographical location range; A receiving unit, configured to receive a message sent from the server, where the message is sent from another client to the server and is stored by the server in an associated manner with the geographical location information of the other client. together, and the message is sent by the server only when the geographical location information of the other client is within the geographical location range;
显示单元, 用于显示所述接收单元接收的所述消息。 A display unit, configured to display the message received by the receiving unit.
23、 根据权利要求 22所述的客户端, 其特征在于, 所述地理位置范围是以 客户端的位置为参照点的地理位置范围。 23. The client according to claim 22, wherein the geographical location range is a geographical location range with the location of the client as a reference point.
24、 根据权利要求 23所述的客户端, 其特征在于, 24. The client according to claim 23, characterized in that,
所述接收单元还用于接收所述服务器发送的所述地理位置范围内的消息, 所述地理位置范围内的消息为所述服务器从所述数据库中获取的。 The receiving unit is also configured to receive messages within the geographical location range sent by the server, where the messages within the geographical location range are obtained by the server from the database.
25、 根据权利要求 24所述的客户端, 其特征在于, 25. The client according to claim 24, characterized in that,
所述接收单元还用于若所述服务器判断所述地理位置范围内的消息数量小 于预置显示数量, 则接收所述服务器发送的提示信息, 所述提示信息用于提示 扩大所述地理位置范围。 The receiving unit is also configured to receive prompt information sent by the server if the server determines that the number of messages within the geographical location range is less than a preset display number, and the prompt information is used to prompt the expansion of the geographical location range. .
26、 根据权利要求 25所述的客户端, 其特征在于, 26. The client according to claim 25, characterized in that,
所述发送单元还用于向所述服务器发送告警信息, 以使得所述 1良务器删除 告警次数大于或等于预设告警次数的消息 , 并且屏蔽所述消息对应的客户端发 送的消息, 其中, 所述告警信息携带有所述消息的标识。 The sending unit is also used to send alarm information to the server, so that the server deletes messages whose number of alarms is greater than or equal to the preset number of alarms, and blocks messages sent by the client corresponding to the messages, where , the alarm information carries the identifier of the message.
27、 一种通讯系统, 包括如权利要求 16-21任一项所述的服务器, 以及至少 一个如权利要求 22-26任一项所述的客户端。 27. A communication system, including the server according to any one of claims 16-21, and at least one client according to any one of claims 22-26.
PCT/CN2014/070728 2013-03-28 2014-01-16 Communication method and system, server and client WO2014154041A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310105060.5 2013-03-28
CN201310105060.5A CN104079471B (en) 2013-03-28 2013-03-28 The means of communication, system, server and client

Publications (1)

Publication Number Publication Date
WO2014154041A1 true WO2014154041A1 (en) 2014-10-02

Family

ID=51600524

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/070728 WO2014154041A1 (en) 2013-03-28 2014-01-16 Communication method and system, server and client

Country Status (2)

Country Link
CN (1) CN104079471B (en)
WO (1) WO2014154041A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019510289A (en) * 2016-01-19 2019-04-11 アリババ グループ ホウルディング リミテッド Service processing method and apparatus

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104602203B (en) * 2014-12-29 2018-07-06 北京奇虎科技有限公司 A kind of information reception, sending method and device
CN104853312A (en) * 2015-02-09 2015-08-19 西安瀚阳科技有限公司 Location-based message leaving and replying method
JP2018516517A (en) 2015-04-10 2018-06-21 呉松珀WU, Songpo Interactive method, cloud server, broadcast apparatus and system based on geographical location information
CN104935662A (en) * 2015-06-18 2015-09-23 重庆优跑科技发展有限公司 Demand publishing method and system based on geographical location
CN105897917B (en) * 2016-05-26 2019-08-30 腾讯科技(深圳)有限公司 Multi-medium data sharing method and device
CN106028075B (en) * 2016-06-21 2018-09-11 腾讯科技(深圳)有限公司 Barrage display methods and device
CN109391542A (en) * 2018-12-13 2019-02-26 许兴磊 A kind of instant communication method and communication terminal
CN114124862B (en) * 2020-08-31 2023-07-04 上海云鱼智能科技有限公司 Method, device, server, client, terminal and storage medium for acquiring user information according to ultrashort ID

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100056183A1 (en) * 2008-08-28 2010-03-04 Aol Llc Methods and system for providing location-based communication services
CN101924996A (en) * 2010-09-21 2010-12-22 北京开心人信息技术有限公司 Topic grouping method and system based on geographic position information
CN102387094A (en) * 2011-10-24 2012-03-21 Tcl集团股份有限公司 SNS (social network service) establishment method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100056183A1 (en) * 2008-08-28 2010-03-04 Aol Llc Methods and system for providing location-based communication services
CN101924996A (en) * 2010-09-21 2010-12-22 北京开心人信息技术有限公司 Topic grouping method and system based on geographic position information
CN102387094A (en) * 2011-10-24 2012-03-21 Tcl集团股份有限公司 SNS (social network service) establishment method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019510289A (en) * 2016-01-19 2019-04-11 アリババ グループ ホウルディング リミテッド Service processing method and apparatus
US11057492B2 (en) 2016-01-19 2021-07-06 Advanced New Technologies Co., Ltd. Selective information sharing between users of a social network
US11381660B2 (en) 2016-01-19 2022-07-05 Advanced New Technologies Co., Ltd. Selective information sharing between users of a social network

Also Published As

Publication number Publication date
CN104079471B (en) 2015-09-09
CN104079471A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
WO2014154041A1 (en) Communication method and system, server and client
US10834529B2 (en) Location-based discovery of network members
US10142783B2 (en) Adaptive location sharing based on proximity
EP2824590B1 (en) Content sharing method, terminal, server, and system, and computer storage medium
US9705841B2 (en) Private mobile messaging and data communications apparatus and method of managing organizational messaging
JP5893752B2 (en) Mobile ad hoc networking
US20150281382A1 (en) Group creating and joining method, client, server , and system
JP2015507295A (en) User search method, user search system, and user search device in a social network
US10334397B2 (en) Interaction tracking and organizing system
US9615222B2 (en) System and method for simplifying mobile device account creation and verification
WO2017032076A1 (en) Method and apparatus for creating circle of friends, and communications method and apparatus based on circles of friends
US7813325B2 (en) Location information communication
JP6517182B2 (en) Identifier synchronization system, advertisement delivery system, and program
US10945052B2 (en) Gathering unique information from dispersed users
US9560158B2 (en) Social networking using local area networks
WO2014169498A1 (en) Method and system for third-party service platform login
US9491130B1 (en) System and method for providing location based one-to-one communication
FR3028646A1 (en) METHOD FOR SECURING A TRANSACTION BETWEEN A MOBILE TERMINAL AND A SERVER OF A SERVICE PROVIDER VIA A PLATFORM
US10003662B1 (en) Adaptable broker for location based second degree social networking
KR20170030941A (en) Server for providing location service, server for providing local network and provider device
US10380664B2 (en) Creation and use of public and private groups in a location sharing application
CN113645320B (en) Incidence relation establishing method, data interaction method and device
TWI591981B (en) Information intercepting system and method thereof
WO2015014281A1 (en) Method and apparatus for displaying living service information
KR101782912B1 (en) Method and system for providing clean advertisement

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14774369

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/02/2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14774369

Country of ref document: EP

Kind code of ref document: A1